summaryrefslogtreecommitdiff
path: root/include
Commit message (Collapse)AuthorAgeLines
* 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: Environment emmc boot fixJose Miguel Sanchez Sanabria2018-07-06-1/+3
| | | | Signed-off-by: Jose Miguel Sanchez Sanabria <jsanabria@iseebcn.com>
* IGEP0146: Add Support for PeripherialsJose Miguel Sanchez Sanabria2018-06-19-10/+191
| | | | | | | | | | | 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-1/+0
| | | | Signed-off-by: Jose Miguel Sanchez Sanabria <jsanabria@iseebcn.com>
* IGEP0146: Initial commitJose Miguel Sanchez Sanabria2018-06-12-0/+126
| | | | | | | | | 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-5/+20
| | | | | | | 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-1/+28
| | | | | | | | | | | 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-2/+8
|
* Added default MAC supportJose Miguel Sanchez Sanabria2018-02-05-26/+26
| | | | | | Added multiple USB support Added Marvell PHY Led fix Added auto-loading Environment
* Added env variablesManel Caro2018-01-26-3/+301
|
* Environment supportJose Miguel Sanchez Sanabria2018-01-23-0/+1
|
* Added support for:Jose Miguel Sanchez Sanabria2018-01-23-2/+67
| | | | | | | | | * 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-0/+17
|
* Added support to igep0046Jose Miguel Sanchez Sanabria2018-01-12-0/+77
|
* 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-9409-3 Add base board support for android and android things.zhang sanshan2017-07-10-312/+1791
| | | | | | | | | | | | | | | | | | * 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-0/+1
| | | | | | | | | | | | | * 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-0/+185
| | | | | | | | | 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-0/+13
| | | | | | | | | | | | 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-9376 [Android IMX] uboot: enable lock&unlockzhang sanshan2017-06-21-0/+79
| | | | | | | | | | | | | | | | 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-13/+43
| | | | | | | | | * 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-14768 fec: Change CONFIG_ETHPRIME name to align with DM ETHYe Li2017-05-08-0/+92
| | | | | | | | | | The DM Ethernet driver requests the "ethprime" to align with DTB name or start with "eth" with seq number as index. So previous name "FEC" can't work as prime. Must change it to the "eth0" for first ethernet device, or "eth1" for second one. Signed-off-by: Ye Li <ye.li@nxp.com>
* MXSCM-292-2 mx6sxscm: convert to enable OF_CONTROL and DM driversJuan Gutierrez2017-04-28-15/+7
| | | | | | | | | | | | | Update mx6sxscm boards code and build configurations to enable OF_CONTROL and DM drivers. 1. Update GPIO codes for adding gpio request 2. Update PMIC and LDO by-pass codes for DM PMIC 3. Add lpddr2 512MB size and eMMC options tolocal Kconfig 4. Update license with NXP 2017 5. Add defconfigs for EVB boards Signed-off-by: Juan Gutierrez <juan.gutierrez@nxp.com>
* MXSCM-292-1 mx6sxscm: add mx6sxscm boards codeJuan Gutierrez2017-04-28-0/+111
| | | | | | | Move the scm mx6sxscm board generic support code from v2016.03 as the base for converting to use DTB OF_CONTROL Signed-off-by: Juan Gutierrez <juan.gutierrez@nxp.com>
* MXSCM-291 mx6dqscm: set runtime fdt_file and other fixesJuan Gutierrez2017-04-28-3/+17
| | | | | | | | 1. set fdt_file according to board_rev which is set at runtime 2. Add macros for proper delimitation for different board builds 3. Fix and add proper iomux configuration Signed-off-by: Juan Gutierrez <juan.gutierrez@nxp.com>
* MXSCM-290-2 mx6dqscm: convert to enable OF_CONTROL and DM driversJuan Gutierrez2017-04-28-96/+42
| | | | | | | | | | | | | | | Update mx6dqscm boards code and build configurations to enable OF_CONTROL and DM drivers. 1. Update GPIO codes for adding gpio request 2. Enable USB DM driver 3. Update PMIC and LDO by-pass codes for DM PMIC 4. Add spinor boot support 5. Add lpddr2 modes, sizes and boards on local Kconfig 6. Update license with NXP 2017 7. Add defconfigs for qwks boards Signed-off-by: Juan Gutierrez <juan.gutierrez@nxp.com>
* MXSCM-290-1 mx6dqscm: add mx6dqscm boards codeJuan Gutierrez2017-04-28-0/+621
| | | | | | | Move the scm mx6dqscm board generic support code from v2016.03 as the base for converting to use DTB OF_CONTROL. Signed-off-by: Juan Gutierrez <juan.gutierrez@nxp.com>
* MLK-14628 epdc: Fix configs issueYe Li2017-04-06-14/+8
| | | | | | | | | In Kconfig, the CONFIG_MXC_EPDC depends on CONFIG_LCD. We can't only set the CONFIG_MXC_EPDC in defconfig and set CONFIG_LCD in header file. This will cause the both two configs are not selected. So in fact the epdc codes are not compiled. Signed-off-by: Ye Li <ye.li@nxp.com>
* MLK-13499 imx6sll: add epdc splash screen supportRobby Cai2017-04-06-8/+19
| | | | | | | | | add splash screen feature for epdc. it's tested on imx6sll arm2 board and evk board. Signed-off-by: Robby Cai <robby.cai@nxp.com> (cherry picked from commit c85c6f2a0f08dfc6c2859fe969b2021ab32b9370) Signed-off-by: Ye Li <ye.li@nxp.com>
* MLK-14620 env_sata: Fix build warningYe Li2017-04-05-0/+2
| | | | | | | | | | | | | | | | | Fix below build warning by declaring sata_get_dev the in the part.h common/env_sata.c: In function 'saveenv': common/env_sata.c:70:9: warning: implicit declaration of function 'sata_get_dev' [-Wimplicit-function-declaration] sata = sata_get_dev(env_sata); ^ common/env_sata.c:70:7: warning: assignment makes pointer from integer without a cast [-Wint-conversion] sata = sata_get_dev(env_sata); ^ common/env_sata.c: In function 'env_relocate_spec': common/env_sata.c:116:7: warning: assignment makes pointer from integer without a cast [-Wint-conversion] sata = sata_get_dev(env_sata); Signed-off-by: Ye Li <ye.li@nxp.com>
* MLK-14606 mx6/7: Modify ENV offset to 896KYe Li2017-04-05-28/+28
| | | | | | | Since the u-boot size increases after using OF_CONTROL to including DTB, we have to adjust ENV_OFFSET to 896K for SD/eMMC/FLASH/SATA. Signed-off-by: Ye Li <ye.li@nxp.com>
* MLK-14506-2 HAB: Disable CAAM driver for SoC using DCPYe Li2017-04-05-0/+2
| | | | | | | The MX6SL, SLL and ULL have DCP to replace CAAM in SoC. We have to disable the CAAM driver for them. Signed-off-by: Ye Li <ye.li@nxp.com>
* MLK-14506-1 HAB: Change CSF size to 0x4000Ye Li2017-04-05-8/+2
| | | | | | | Modify the CONFIG_CSF_SIZE to 0x4000 to align with v2016.03. Also remove the duplicated setting for CSF size. Signed-off-by: Ye Li <ye.li@nxp.com>
* MLK-13130: configs: mx6qarm2: android lpddr2 pop supportAdrian Alonso2017-04-05-1/+81
| | | | | | | Add Android support for mx6qarm2 lpddr2 pop target Signed-off-by: Adrian Alonso <adrian.alonso@nxp.com> (cherry picked from commit 6356f2b420f3571493755f6b3a307a66a539b60c)
* MA-9263-3 [Android] Partition: enable GPT partition on imx devicesSanshan Zhang2017-04-05-0/+3
| | | | | | | | | | | | | 1. pass androidboot.storage_type to android, 'init' use it to parse different init.freescale.storage.rc. 2. store new ptable with gpt partition. 3. we use the last LBA as backup gpt table, there is many warning log when boot, change print to debug Change-Id: I84070735e9d4c2741b0e240bc1c61b357dabc5b8 Signed-off-by: Sanshan Zhang <sanshan.zhang@nxp.com> (cherry picked from commit da0ce2787256a323371641b0764266d386d767a5) Signed-off-by: Ye Li <ye.li@nxp.com>
* MA-9213 imx: mx7ulp-evk: Add android supportSanshan Zhang2017-04-05-0/+59
| | | | | | | | | | | Add android features on i.MX7ULP EVK board. Implement the code to get boot device and the serial number on mx7ulp. TODO: will add the code which check misc partition after porting BCB. Change-Id: I9d06fecba303fa4dfdcaf73da1b6246444697bba Signed-off-by: Sanshan Zhang <sanshan.zhang@nxp.com> (cherry picked from commit 4c60cba3a017b921aebb84dd1268c898e549c99a) Signed-off-by: Ye Li <ye.li@nxp.com>
* MLK-12527-3 android: Add board support to enable android fastbootYe Li2017-04-05-5/+375
| | | | | | | | | | | | Add board level support for android fastboot feature. Each board has a android specified header file for defining android related configuraitons. And add build targets for their android uboot images building. For mx6qsabreauto, mx6sabresd and mx7dsabresd, we enable the android fastboot exclusive with DFU. Signed-off-by: Ye Li <ye.li@nxp.com> (cherry picked from commit 43fe988af28c5e51fb23aa846e04bc9698256926)
* MLK-12527-2 android: Add FSL android fastboot supportYe Li2017-04-05-0/+196
| | | | | | | | | | | | | | | | | | | | | | Integrate the FSL android fastboot features into community's fastboot. 1. Use USB gadget g_dnl driver 2. Integrate the FSL SD/SATA/NAND flash operations, since the GPT and EFI partitions are not support by i.MX. 3. Add FDT support to community's android image. 4. Add a new boot command "boota" for android image boot. The boota implements to load ramdisk and fdt to their loading addresses specified in boot.img header, while bootm won't do it for android image. 5. Support the authentication of boot.img at the "load_addr" for both SD and NAND. 6. We use new configuration CONFIG_FSL_FASTBOOT for Freescale's fastboot with relevant header file "fsl_fastboot.h". While disabling the configuration, the community fastboot is used. 7. Overwrite the cmdline in boot.img by using bootargs saved in local environment. 8. Add recovery and reboot-bootloader support. Signed-off-by: Ye Li <ye.li@nxp.com> (cherry picked from commit 23d63ff185929fff5e392efc853d69b606ba081a)
* MLK-12527-1 mxc_keyb: Add MXC keyboard driverYe Li2017-04-05-0/+201
| | | | | | | | | | | | | | | The i.MX6SL EVK needs this driver in android fastboot support. Add this driver to u-boot. To use the driver, user must define: CONFIG_MXC_KPD Enable the driver CONFIG_MXC_KEYMAPPING Key mapping matrix CONFIG_MXC_KPD_COLMAX The column size of key mapping matrix CONFIG_MXC_KPD_ROWMAX The row size of the key mapping matrix Signed-off-by: Ye Li <ye.li@nxp.com> (cherry picked from commit 5096e572667ff41217deb4ba9b1bd15e93fa6b59)
* MLK-14484-3 mx7ulp_arm2: Convert to use OF_CONTROLYe Li2017-04-05-38/+1
| | | | | | | | | | Add the 10x10 ARM2 and 14x14 ARM2 DTS files. Also convert the board codes to use OF_CONTROL and DM drivers. Since the DTS files only have UART and SD1 supported. So we only enable the DM for these two modules. QSPI and USB are still kept in non-DM fashion. Signed-off-by: Ye Li <ye.li@nxp.com>
* MLK-14484-2 mx7ulp_arm2: Add 10x10 and 14x14 ARM2 codesYe Li2017-04-05-0/+278
| | | | | | | | | | | | | Copy the mx7ulp ARM2 codes from v2016.03 as the base for using OF_CONTROL and DM drivers. The 14x14 ARM2 LPDDR3 script is v1.5: - IMX7ULP1_LPDDR3_320MHz_512MB_32bit_V1.5.inc The 10x10 ARM2 LPDDR2 script is v1.1: - IMX7ULP1_LPDDR2_320MHz_1GB_32bit_V1.1.inc Signed-off-by: Ye Li <ye.li@nxp.com>
* MLK-14445-11 mx7ulp_evk: Add mfgtool environmentYe Li2017-04-05-0/+14
| | | | | | Add environment variables for mfgtool. Signed-off-by: Ye Li <ye.li@nxp.com>
* MLK-14445-10 mx7ulp_evk: Enable OCOTP fuseYe Li2017-04-05-0/+4
| | | | | | Add the OCOTP driver and fuse command configurations. Signed-off-by: Ye Li <ye.li@nxp.com>
* MLK-14445-8 mx7ulp_evk: Add dynamical MMC device detectionYe Li2017-04-05-2/+0
| | | | | | | Add board_late_mmc_env_init to support MMC device detection for environment variables. Signed-off-by: Ye Li <ye.li@nxp.com>
* MLK-13547 configs: mx7ulp_evk: enable ethernet boot supportPeter Chen2017-04-05-0/+1
| | | | | | | | | | Since we can use USB ethernet instead of local ethernet, add ethernet support for it. To use USB ethernet function at u-boot, just plug in Micro-AB cable at USBOTG1 port with USB2Ethernet adapter connected. Signed-off-by: Peter Chen <peter.chen@nxp.com> (cherry picked from commit 60ffddf87cf6b8502c5d5fc6540364adfd66ebb3) Signed-off-by: Ye Li <ye.li@nxp.com>
* MLK-13929-6 mx7ulp_evk: Enable the MIPI DSI splashscreenYe Li2017-04-05-0/+16
| | | | | | | | Enable and setup board level codes for MIPI DSI splashscreen on EVK board. User needs set env variable"panel=HX8363_WVGA" for displaying. Signed-off-by: Ye Li <ye.li@nxp.com> (cherry picked from commit 49cb68f5c17e42f9290336e1252ace6ac7d0b5ce)
* MLK-13929-1 video: Add MIPI DSI host controller driver for i.MX7ULPYe Li2017-04-05-0/+88
| | | | | | | | | | | | | | | | Add the host driver base from kernel for MIPI DSI controller on i.MX7ULP. The controller provides a DPI-2 interface for LCDIF video stream, and a APB interface for packet transmission. The driver provides APIs to register a MIPI panel device and its driver. The panel driver can use the write packet function provided by the host driver to send control packets to panel device via APB interface. MIPI DSI has its PHY and dedicated PLL. The driver will setup them when enabling the DSI host. Signed-off-by: Ye Li <ye.li@nxp.com> (cherry picked from commit e02115dd1c5d36ec06eabcb5a0b8e09aaf0f29a0)