summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeLines
* IGEP0046QDL: Added LED sequence to comply for ISEE Test LED CodeJose Miguel Sanchez Sanabria2019-01-24-5/+18
| | | | Signed-off-by: Jose Miguel Sanchez Sanabria <jsanabria@iseebcn.com>
* IGEP0046: igep eeprom struct + mac address management to linuxJose Miguel Sanchez Sanabria2018-11-23-47/+88
| | | | Signed-off-by: Jose Miguel Sanchez Sanabria <jsanabria@iseebcn.com>
* IGEP0046DL: Fixing bug netboot was not included in the u-boot environmentCarlos Alonso2018-10-31-1/+1
| | | | Signed-off-by: Carlos Alonso <calonso@iseebcn.com>
* IGEP0046: Add Video args to bootargsJose Miguel Sanchez Sanabria2018-10-11-6/+10
| | | | Signed-off-by: Jose Miguel Sanchez Sanabria <jsanabria@iseebcn.com>
* IGEP0046DL/Q Boot Algorithm:Jose Miguel Sanchez Sanabria2018-09-20-15/+26
| | | | | | | | | Added video args for kernel support when trying to use a display Changed a bit the boot algorith so that bootdir is by default empty and mmcpart is by default 1 this will change when booting a firmware because uEnv.txt is now responsible for indicating that zimage and dtb are in p2 (mmcpart=2) of folder /boot/ (bootdir) Signed-off-by: Jose Miguel Sanchez Sanabria <jsanabria@iseebcn.com>
* igep0146: Serial boot environment support - TO DO RAMDISKJose Miguel Sanchez Sanabria2018-07-24-0/+2
| | | | Signed-off-by: Jose Miguel Sanchez Sanabria <jsanabria@iseebcn.com>
* igep0146: SPL DRAM supportJose Miguel Sanchez Sanabria2018-07-23-4/+73
| | | | Signed-off-by: Jose Miguel Sanchez Sanabria <jsanabria@iseebcn.com>
* igep0146: Fix spl defconfigJose Miguel Sanchez Sanabria2018-07-23-1/+1
| | | | Signed-off-by: Jose Miguel Sanchez Sanabria <jsanabria@iseebcn.com>
* Disabled config auto local version:Jose Miguel Sanchez Sanabria2018-07-16-0/+6
| | | | | | igep0046dl igep0046q igep0146 Signed-off-by: Jose Miguel Sanchez Sanabria <jsanabria@iseebcn.com>
* IGEP0146: Environment emmc boot fixJose Miguel Sanchez Sanabria2018-07-06-1/+3
| | | | Signed-off-by: Jose Miguel Sanchez Sanabria <jsanabria@iseebcn.com>
* IGEP0146: Ethernet Clock ReworkJose Miguel Sanchez Sanabria2018-07-05-18/+23
| | | | | | IMXUL now provides 50 MHz clock to LAN8720AI Signed-off-by: Jose Miguel Sanchez Sanabria <jsanabria@iseebcn.com>
* IGEP0146: Fixed Unstable MMC BUG: SWUBIMX17-33Jose Miguel Sanchez Sanabria2018-06-28-11/+15
| | | | | | | | Define separated MUX for PAD CLK of USDHC controllers Redefine pullups and DSE resistance of other PADs of USDHC controllers Key point was to reduce the DSE resistance from 80 ohms to 48 ohms and to put CLK line at 100K pulldown Signed-off-by: Jose Miguel Sanchez Sanabria <jsanabria@iseebcn.com>
* IGEP0146: Add Support for PeripherialsJose Miguel Sanchez Sanabria2018-06-19-528/+841
| | | | | | | | | | | SD I2C eMMC Tuned DRAM E²PROM Ethernet Fix using Hysteresis in MUX along with other pad control options Signed-off-by: Jose Miguel Sanchez Sanabria <jsanabria@iseebcn.com>
* IGEP0146: Use 512M RamJose Miguel Sanchez Sanabria2018-06-12-2/+1
| | | | Signed-off-by: Jose Miguel Sanchez Sanabria <jsanabria@iseebcn.com>
* IGEP0146: Initial commitJose Miguel Sanchez Sanabria2018-06-12-1/+946
| | | | | | | | | Structure folders defconfig initial ram config only UART will be configured for basic printf Signed-off-by: Jose Miguel Sanchez Sanabria <jsanabria@iseebcn.com>
* igep0046: DL,2GJose Miguel Sanchez Sanabria2018-05-24-9/+462
| | | | | | | SPL support: Falcon by default Falcon support: Ramdisk configurable in defconfig Signed-off-by: Jose Miguel Sanchez Sanabria <jsanabria@iseebcn.com>
* Update igep0046.hCarlos Alonso2018-05-09-1/+1
|
* Add initial support iMX6Q for igep0046 defconfigJose Miguel Sanchez Sanabria2018-02-15-24/+220
| | | | | | | | | | | Add RAM support iMX6Q Updated default .dtb file defconfig eeprom clean up I2C SCL low bus lock fix Add Audio Reset Changed I2C MUX - no pullups Signed-off-by: Jose Miguel Sanchez Sanabria <jsanabria@iseebcn.com>
* Ethernet fixed to 100 MbpsJose Miguel Sanchez Sanabria2018-02-07-24/+69
|
* Added default MAC supportJose Miguel Sanchez Sanabria2018-02-05-152/+135
| | | | | | Added multiple USB support Added Marvell PHY Led fix Added auto-loading Environment
* Added env variablesManel Caro2018-01-26-3/+301
|
* Remove old configuration fileManel Caro2018-01-26-12/+0
| | | | Signed-off-by: Manel Caro <mcaro@iseebcn.com>
* Rename config file according to other igep boardsManel Caro2018-01-26-0/+16
| | | | Signed-off-by: Manel Caro <mcaro@iseebcn.com>
* fix load mac address functionManel Caro2018-01-26-15/+18
| | | | Signed-off-by: Manel Caro <mcaro@iseebcn.com>
* Environment supportJose Miguel Sanchez Sanabria2018-01-23-2/+3
|
* Added support for:Jose Miguel Sanchez Sanabria2018-01-23-154/+811
| | | | | | | | | * MMC * Ethernet * Eeprom * USB OTG * USB Host * DRAM Samsung 4 Gb
* Added support for I2C bus 0 1 2, and PMIC PF0100Jose Miguel Sanchez Sanabria2018-01-15-5/+216
|
* Added support to igep0046Jose Miguel Sanchez Sanabria2018-01-12-0/+356
|
* MA-9763 Include init.${ro.hardware}.${ro.boot.soc_type}.rc based uboot's ↵rel_imx_4.9.x_1.0.0_gaimx_v2017.03_4.9.11_1.0.0_gaguoyin.chen2017-09-14-0/+38
| | | | | | | | | | | soc_type Append androidboot.soc_type based on the imx soc type, only add imx6/7 support. Change-Id: I3ae18bff42b434eb77728a7db70dd3baf6d7e0a6 Signed-off-by: guoyin.chen <guoyin.chen@nxp.com> Signed-off-by: Richard Liu <xuegang.liu@nxp.com>
* MA-9554[Android_6DL_SD]RTC: Sometimes the RTC reset to the initial time 1970 ↵n7.1.2_2.0.0-gaZhang Bo2017-09-07-0/+12
| | | | | | | | | | | | | | after softare reboot the first time. 40% RTC timer is default disabled after power off and bootup again. it will be enabled in kernel rtc driver init. But rtc time is shorter than system clock, so rtc time cannot update to system clock in rtc_hctosys(), and the sysfs file /sys/class/rtc/rtc0/hctosys cat result is 0. Android AlarmManagerService cannot work normally when hctosys is 0. Enable RTC in u-boot so the time in RTC timer is longer than system clock. Change-Id: Ie8b1c1b36e5ab48031efe44dd06468ac35ca3d3b Signed-off-by: Zhang Bo <bo.zhang@nxp.com>
* MLK-16069 imx6slevk: Workaround to limit the u-boot in low 512MB memoryYe Li2017-07-25-0/+11
| | | | | | | | | | | | | | | On i.MX6SLEVK board, the LPDDR2 chip(CS1) is not reset before accessing. And due to MMDC limitation, the script we get from IC team is only doing CS0 reset but skipping CS1 reset, the reason is that doing CS1 reset might cause CS0 can NOT be accessed any longer. Because of this HW issue, we found the high 512MB memory needs more time to be stable. Since the u-boot relocates itself to highest address after booting, so this will cause issue. To work around it, we just limit the u-boot running at low 512MB memory. Signed-off-by: Ye Li <ye.li@nxp.com> (cherry picked from commit 5fc93379dc3576ee9dc00f108bc18d8d6059d9c3)
* MA-9387 [Android] fastboot: fastboot gpt.img for sd card in androidzhang sanshan2017-07-19-5/+107
| | | | | | | | | we set gpt image in the last lba for sd boot. complete the gpt header, gpt entry and protective MBR according the last lba gpt rule. Change-Id: Icc356a66f82ad359c0243245ab9fdfaea3bccd4f Signed-off-by: zhang sanshan <sanshan.zhang@nxp.com>
* MLK-15341 mx6qpsabresd: add PHY AR8031 hw resetFugang Duan2017-07-12-10/+22
| | | | | | | | | | | | | | | Currently mx6qpsabresd board file only add PHY AR8031 gpio reset in non-DM driver, then net DM driver PHY cannot work after stress reboot test. So also add gpio reset for DM driver. RGMII and PHY work at VDDIO 1.8V has better timing and to align the IO voltage with kernel, also set the IO voltage to 1.8V. Since i.MX6QP tx_clk can loop from SOC internal, no need to set PHY output 125Mhz clock that can save power. Signed-off-by: Fugang Duan <fugang.duan@nxp.com> Reviewed-by: Ye Li <ye.li@nxp.com>
* MA-9822 Device has to be booted manually to recovery mode to apply the OTA ↵zhang sanshan2017-07-11-4/+4
| | | | | | | | | | | | update when booting from NAND uboot can't get the correct misc info. nand_info[0] is the info of mtd in v2016 or more older version. nand_info[0] hold the pointer of mtd info in v2017. Change-Id: I6b336efeafeed1e0f4e3224f738e72b83f1e09df Signed-off-by: zhang sanshan <sanshan.zhang@nxp.com>
* MA-9857 [Android] uboot change CONFIG_NAND_BOOTzhang sanshan2017-07-10-17/+17
| | | | | | | | | | | NAND macro has been changed to CONFIG_NAND_BOOT in uboot2017. Conflicts: include/configs/pico-imx6dl.h include/configs/pico-imx6dl_android_things.h Change-Id: I61dd03c0eed8a65100212607447a41bde431cc04 Signed-off-by: zhang sanshan <sanshan.zhang@nxp.com>
* MA-9789 [fastboot]System doesn't enter fastboot mode automatically while ↵zhang sanshan2017-07-10-1/+1
| | | | | | | | | there is no valid gpt partition add command "fastboot 0" Change-Id: Ibad6dcab5213d815ac968034aeef5ff5a0be3b1b Signed-off-by: zhang sanshan <sanshan.zhang@nxp.com>
* MA-9409-3 Add base board support for android and android things.zhang sanshan2017-07-10-445/+6461
| | | | | | | | | | | | | | | | | | * add board support for android and android things. mx6ul_nxpu_iopb, pico-6ul, pico-imx7d, aquila-6ul reorganize the Kconfig, and fix the redefine issue. * add android configure into configure-while * add a common file mx_android_common.h it will be included by android and android things. defconfig only include ANDROID_THINGS_SUPPORT or ANDROID_SUPPORT * move partition_table_valid into f_fastboot.c. it's a common code. * add invalidate_dcache_range in fixed order. It will have salt invalid issue if we do not add it in order * add display for pico-7d. Change-Id: I6f8a4876c2f8bbd098034d1e3f53033109300bca Signed-off-by: zhang sanshan <sanshan.zhang@nxp.com>
* MA-9409-2 fix some issue for android and android thingszhang sanshan2017-07-10-33/+300
| | | | | | | | | | | | | * Add CONFIG_SYSTEM_RAMDISK_SUPPORT to support system's ramdisk * Normal boot: cmdline to bypass ramdisk in boot.img, but use Recovery boot: Use the ramdisk in boot.img * commandline is larger than 512, system can't bootup sometime for commandline issue. * support fastboot getvar. * Support "fastboot erase" command for emmc device. TODO: uboot community have api to operate flash, we can unify this part * support "fastboot flash" even on damaged gpt Change-Id: I080c25d6569d6cab56ff025601cd3b8df21cf3dd
* MA-9409-1 enable avb on android things.zhang sanshan2017-07-10-10/+9367
| | | | | | | | | Fix issue for API changed from v2017. porting below patch from v2016. commit 44834fd12f60a090e3d10ab6f84a75460894d49d Change-Id: Ifaf0b86dd29648f9150646f00f54502676df9013 Signed-off-by: zhang sanshan <sanshan.zhang@nxp.com>
* MA-9702-2 [Android] Enable booti for android arm64.sanshan zhang2017-07-10-6/+57
| | | | | | | | | | | | boot_addr_start for booti should be the addr of Image rather than boot.img, so need read Image into hdr->kernel_addr. change the offset for bootloader. booti do not call android_image_get_kernel to init android env. booti can't load boot.img, so it can't init android env. init android env through android_image_get_kernel. Change-Id: Ifb990ee9c5710ce7bd5fa9a0d4221dcb0e52d341 Signed-off-by: sanshan zhang <sanshan.zhang@nxp.com>
* MA-9382 [Android] uboot: enable BCB&BOOTCTR&LOCK_UNLOCKzhang sanshan2017-06-21-5/+50
| | | | | | | | | Add configure for bcb & bootctr & lock_unlock for android. change CONFIG_SYS_BOOT_NAND to CONFIG_NAND_BOOT correct macro ANDROID_FASTBOOT_NAND_PARTS. Change-Id: Iec2190ee940260d770de904889d8d352572a80b5 Signed-off-by: zhang sanshan <sanshan.zhang@nxp.com>
* MA-9382 [Android]uboot: fix compiler issue and command line issue.zhang sanshan2017-06-21-39/+23
| | | | | | | | Fix compile error when enable CONFIG_NAND_BOOT. Fix data abort issue in uboot. Change-Id: If41a7fafa40a2c851882c723a201ac5cdf31284f Signed-off-by: zhang sanshan <sanshan.zhang@nxp.com>
* MA-9376 [Android IMX] uboot: enable lock&unlockzhang sanshan2017-06-21-47/+1817
| | | | | | | | | | | | | | | | Fix compile error for api change. Porting below patches from v2015.o4: MA-7875 Enable CAAM for i.MX6 MA-7875-1 Support fastboot lock&unlock in u-boot MA-7875-2 Support fastboot lock/unlock in i.MX6 platform MA-7875-3 Support fastboot lock/unlock in i.MX6UL MA-8425 fastboot: return OKAY in fastboot erase MA-8418 fix return value check for get_device_and_partition MA-8622 - [brillo] fix uboot compile warnings and code style warnings Change-Id: I2370c3e5851cc1f92aaa93c200e6c079f7929af2 Signed-off-by: zhang sanshan <sanshan.zhang@nxp.com>
* MA-9375 [Android IMX] uboot: enable BCB and bootctrlzhang sanshan2017-06-21-838/+1154
| | | | | | | | | * Add API to read\write MISC partition. * get the boot mode from BCB command when boot up. * get the boot up tactics from bootctrl. Change-Id: Icbba6340e10983dddc1b04804ecc012a3a3c57d0 Signed-off-by: zhang sanshan <sanshan.zhang@nxp.com>
* MLK-15127 mx7dsdb: fix epdc en gpio usagePeng Fan2017-06-21-0/+1
| | | | | | | | Request gpio before use it, otherwise it will fail to drive the gpio when gpio_direction_output. Signed-off-by: Peng Fan <peng.fan@nxp.com> Reviewed-by: Ye Li <ye.li@nxp.com>
* MLK-15108 mx7d_12x12_lpddr3_arm2: Fix PMIC setting issueYe Li2017-06-20-1/+1
| | | | | | | | | Fix the SW2MODE setting problem in power_init_board, which causes issue when wakeup source is set in kernel for LPSR. Signed-off-by: Ye Li <ye.li@nxp.com> Reviewed-by: Bai Ping <ping.bai@nxp.com> (cherry picked from commit 35e62eb779ffcc5af32a6fff615549e536bf6cf4)
* MLK-13723 imx7d: restore epdc QoS setting after exit the lpsr modeRobby Cai2017-06-20-0/+58
| | | | | | | | | | without this patch, the QoS setting will be lost after exit LPSR mode. The patch moves the QoS setting into DDR setting group (in plugin mode), thus when exit LPSR mode, QoS setting will be restored as well as DDR setting. Signed-off-by: Robby Cai <robby.cai@nxp.com> (cherry picked from commit 0b217456375bace3fbe9a72c7e92a46dc1907277) (cherry picked from commit 75790929c674eea2f867b86a7734127d4cd45dfc)
* MLK-15087 mx7ulp_evk: Add m4 boot defconfigYe Li2017-06-20-0/+44
| | | | | | | | | Add back the defconfig to boot M4 in single mode, because some customers are using the defconfig during development. Signed-off-by: Ye Li <ye.li@nxp.com> Acked-by: Peng Fan <peng.fan@nxp.com> (cherry picked from commit 8d4daa7703af842a56e9ea7aefe7f3d3a36580b8)
* MLK-15086 arm: Add firmware_image section to objcopy flagsYe Li2017-06-20-0/+4
| | | | | | | | | The u-boot limits the needed sections in .bin by set -j parameter in objcopy. Need to add the firmware_image section for M4 image. Signed-off-by: Ye Li <ye.li@nxp.com> Reviewed-by: Peng Fan <peng.fan@nxp.com> (cherry picked from commit 709839a52af39f1b4640ae3c72475fc01b1b37d5)
* MLK-14994 mx7ulp: Update M4 image header version checkYe Li2017-06-20-1/+1
| | | | | | | | | The latest M4 image uses the version 0x41 not 0x40, have to update it when checking M4 image. Otherwise M4 image won't be loaded. Signed-off-by: Ye Li <ye.li@nxp.com> Reviewed-by: Peng Fan <peng.fan@nxp.com> (cherry picked from commit 4f421455c850226b9acec9a43b3997995929872e)