summaryrefslogtreecommitdiff
path: root/include
Commit message (Collapse)AuthorAgeLines
* ENGR00229711 Add weim-nor argument on uboot config Quad/DLAlejandro Sierra2012-10-16-2/+2
| | | | | | | | Missing argument "weim-nor" on uboot configuration to boot from NOR. Quad/DL Signed-off-by: Alejandro Sierra <b18039@freescale.com>
* ENGR00229709 Support 2 processors at Linux bootAlejandro Sierra2012-10-16-7/+7
| | | | | | | Remove argument "nosmp" to support dual processor configuration on Linux. Signed-off-by: Alejandro Sierra <b18039@freescale.com>
* ENGR00229817: i.mx6dl/mx6solo_sabresd_config: fix the build issueJason Liu2012-10-16-0/+4
| | | | | | | | | | | This patch fixed the following build issue: mx6q_sabresd.c:1382: undefined reference to `imx_pwm_config' mx6q_sabresd.c:1383: undefined reference to `imx_pwm_enable' And also removed the extra '_' in the config name. Signed-off-by: Jason Liu <r64343@freescale.com>
* ENGR00229456 Support for 64bit DDR configuration for ARDAlejandro Sierra2012-10-12-16/+8
| | | | | | | Added support for 64bit DDR configuration on DL chip. On ARD platform Signed-off-by: Alejandro Sierra <b18039@freescale.com>
* ENGR00227413 Change configuration file names on AIAlejandro Sierra2012-10-12-0/+0
| | | | | | | Change configuration file names for AI platform. From solo to DL. Signed-off-by: Alejandro Sierra <b18039@freescale.com>
* ENGR00228238 i.mx6/i.mx6dl: sabresd: add solo-ddr32bit supportJason Liu2012-10-11-0/+352
| | | | | | | | This patch adds the solo-ddr32bit config support. The DDR script got from: http://compass.freescale.net/livelink/livelink/227589697/ MX6DL_init_DDR3_400MHz_32bit_For_SD_1.0.inc.txt?func=doc.Fetch&nodeid=227589697 Signed-off-by: Jason Liu <r64343@freescale.com>
* ENGR00223794 MX6 SabreSD:Enable LVDS panel pwm backlightLiu Ying2012-09-27-0/+8
| | | | | | | | | | | | | This patch enables pwm backlight for LVDS panel and stops using gpio backlight to align with kernel to avoid unstable backlight when booting into kernel, as kernel usually uses pwm backlight instead of gpio backlight. Following items are done to support this: 1) Add PWM1 and PWM2 controller base addresses. 2) Change PIN SD1_DAT3 mux from GPIO to PWM1_PWMO. 3) Set default backlight density to 50%. Signed-off-by: Liu Ying <Ying.Liu@freescale.com>
* ENGR00226048 Fix weim nor for mfg toolAlejandro Sierra2012-09-26-3/+2
| | | | | | | | Weim interface share pins with I2C. A define was declared to enable weim pins and disable I2C when mfg tool is used. Signed-off-by: Alejandro Sierra <b18039@freescale.com>
* ENGR00225691 NAND support on i.MX6Solo ARDAlejandro Sierra2012-09-24-0/+628
| | | | | | | | NAND support on i.MX6Solo ARD. Two files were added. mx6solo_sabreauto_nand.h --> bootloader's image mx6solo_sabreauto_nand_mfg.h --> mfg tool bootloader Signed-off-by: Alejandro Sierra <b18039@freescale.com>
* ENGR00225486 Support for spi-nor bootAlejandro Sierra2012-09-21-0/+725
| | | | | | | | | | | Support for spi-nor boot with valid "extra_env_settings". It used to be the same as the SD Card boot, however it couldn't read/write the env settings because the CONFIG_FSL_ENV_IN_MMC was set instead of CONFIG_FSL_ENV_IN_SF. Signed-off-by: Alejandro Sierra <b18039@freescale.com>
* ENGR00224313:i.MX6 general:enable CONFIG_CMD_IMXOTP to fix the build errorimx-android-r13.5-betaimx-android-r13.4-gaEric Sun2012-09-14-0/+60
| | | | | | | | | | | | | | | | | | | | | | | | | | Commit 7942886(ENGR00221503-2 imx6: add cpu serial number support) introduces dependency on "CONFIG_SERIAL_TAG" and "CONFIG_CMD_IMXOTP". On U-boot configuration header files which only defines the first one, build error will be met. --- build error message --- arm_cortexa8/mx6/libmx6.a(generic.o): In function `get_board_serial': arm_cortexa8/mx6/generic.c:1438: undefined reference to `imx_otp_read_one_u32' arm_cortexa8/mx6/generic.c:1439: undefined reference to `imx_otp_read_one_u32' --------------------------- To fix it, add missing "CONFIG_CMD_IMXOTP" macro definition in the config head file. Configs affected are: --------------------------- mx6q_arm2_iram mx6q_sabresd_iram mx6dl_arm2_iram mx6sl_arm2_iram mx6sl_evk_iram Signed-off-by: Eric Sun <jian.sun@freescale.com>
* ENGR00224291:i.MX6Q/ARM2-LPDDR2:enable CONFIG_CMD_IMXOTP to fix the build errorJason Liu2012-09-14-0/+11
| | | | | | | | | Need enable CONFIG_CMD_IMXOTP to fix the build error: arm_cortexa8/mx6/generic.c:1438: undefined reference to `imx_otp_read_one_u32' arm_cortexa8/mx6/generic.c:1439: undefined reference to `imx_otp_read_one_u32' Signed-off-by: Jason Liu <r64343@freescale.com>
* ENGR00224272: MFG:i.mx6q/ARM2 enable CONFIG_CMD_IMXOTP to fix the build errorJason Liu2012-09-14-0/+11
| | | | | | | | | Need enable CONFIG_CMD_IMXOTP to fix the build error: arm_cortexa8/mx6/generic.c:1438: undefined reference to `imx_otp_read_one_u32' arm_cortexa8/mx6/generic.c:1439: undefined reference to `imx_otp_read_one_u32' Signed-off-by: Jason Liu <r64343@freescale.com>
* ENGR00223788 mx6sl_evk: change boot args to boot from mmc/sdRobby Cai2012-09-13-2/+2
| | | | | | | | | default setting is to boot via nfs. By this way, after mfgtool burned the whole image on EVK, the system will probably not load the Linux kernel if the network is not correctly set or not availabe for it. Change to mmc/sd boot to make sure an entire boot process can be completed, in order to easily verify mfgtool. Signed-off-by: Robby Cai <R63905@freescale.com>
* ENGR00223027 Add support for nand on MFG for IMX6QAlejandro Sierra2012-09-11-2/+303
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add support for nand flash on IMX6Q. Modifying partitions number and size. mx6q_sabreauto_nand_boot.h --> Modify the size of partitions used to 3. PARTITION 0 (16M) ------------------------------ | | | uboot | | | ------------------------------ PARTITION 1 (16M) ------------------------------ | | | Kernel | | | ------------------------------ PARTITION 2 (128M) ------------------------------ | | | | | Root file system | | | | | ------------------------------ mx6q_sabreauto_mfg_enable_nand.h --> Enable partitions on manufacturing tool Signed-off-by: Alejandro Sierra <b18039@freescale.com>
* ENGR00222170: Add mx6sl_evk_android_config for mx6sl evk boardLiGang2012-09-06-0/+78
| | | | | | | - mx6sl_evk_android.h is a new file, copied from mx6sl_arm2_android.h - set default sdio port as mmc1 Signed-off-by: LiGang <b41990@freescale.com>
* ENGR00221503-2 imx6: add cpu serial number support.Zhang Jiejing2012-08-31-0/+41
| | | | | | | | add cpu serial number tag, kernel will read this number and put it in /proc/cpuinfo, as 'Serial' part it can be used as a UUID source in software. Signed-off-by: Zhang Jiejing <jiejing.zhang@freescale.com>
* ENGR00222005 mfgtool can't work on mx6slrel_imx_3.0.35_12.09.02Tony LIU2012-08-30-1/+316
| | | | | | | | - for arm2 board, the I2C module is not defined in mfg config - and a new config file for evk board - change some prompt information Signed-off-by: Tony LIU <junjie.liu@freescale.com>
* ENGR00219316-1: mx6 sabreauto: enable mxc_gpio supportAdrian Alonso2012-08-29-9/+20
| | | | | | | | * Enable mxc_gpio support in order to configure steer logic circuits so attached pads can be used by dedicated IP modules I2C3, SPI-NOR, WEIM-NOR. Signed-off-by: Adrian Alonso <aalonso@freescale.com>
* ENGR00221332: U_BOOT: remove "boot" and "enable" from configs' nameTerry Lv2012-08-24-0/+0
| | | | | | | | | | | | | | | | | | | | | Remove "boot" and "enable" from some configs' name. Affacted configs: mx6q_sabreauto_boot_weimnor mx6q_sabreauto_mfg_enable_weimnor mx6solo_sabreauto_boot_weimnor mx6solo_sabreauto_mfg_enable_weimnor mx6q_sabreauto_mfg_enable_spi-nor mx6solo_sabreauto_mfg_enable_spi-nor mx6q_sabreauto_nand_boot Currently, various u-boot are built in nightlybuild, to make it easier, we naming u-boot binary name and config as <soc_name>_<board_type>_<ddr_type>_<boot_device>. Then it is easier to be parsed, also easier to be maintained in nightlybuild and u-boot git. Signed-off-by: Terry Lv <r65388@freescale.com>
* ENGR00221135: imx6x: clear PowerDown Enable bit of WDOG1_WMCRRobby Cai2012-08-24-0/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | | From IC spec: --- The Power down Counter inside WDOG-1 will be enabled out of reset. This counter has a fixed time-out value of 16 seconds, after which it will drive the WDOG-1 signal low. To prevent this, the software must disable this counter by clearing the PDE bit of Watchdog Miscellaneous Control Register (WDOG_WMCR) within 16 seconds of reset de-assertion. Once disabled, this counter cannot be enabled again until the next system reset occurs. This feature is provided to prevent the hanging up of cores after reset, as WDOG-1 is not enabled out of reset. --- NOTE for the last sentence: This feature requires a dedicated WDOG_B pin for it. The fact that changing the IOMUX configuration can alter the WDOG_B functionality (GPIO by default) is not ideal as it defeats the purpose of this feature. But it still takes effect when the muxed pin is configured as WDOG_B within 16 seconds. Clear PDE bit to avoid WDOG_B (aka, WDOG-1) assertion. Tested on MX6SL. May add this for other MX6x. Signed-off-by: Robby Cai <R63905@freescale.com>
* ENGR00221150 Support spi-nor on manufacturing toolimx-android-r13.4-betaAlejandro Sierra2012-08-22-0/+588
| | | | | | | | | | | Two configuration files were included to suppoort spi-nor on the manufacturing tool. Basically these files send the parameter "spi-nor" to the kernel, so the SPI interface can be setup. Files included are: mx6q_sabreauto_mfg_enable_spi-nor.h --> For Quad mx6solo_sabreauto_mfg_enable_spi-nor.h --> For solo Signed-off-by: Alejandro Sierra <b18039@freescale.com>
* ENGR00220824: mx6sl_evk: mmc: only SD1 supports 8bit on evk board.Ryan QIAN2012-08-21-2/+2
| | | | | | - configure SD1 to support 8bit on evk Signed-off-by: Ryan QIAN <b32804@freescale.com>
* ENGR00180538-1 MFG download burn sd,spi, nand, nor failed.Francisco Munoz2012-08-21-8/+1324
| | | | | | | | | | | | | | | | | | | | | Added two new board files for Solo and Quad which allow uboot to be booted from WEIM NOR. Also amended the word “weim-nor” in both mfg configuration files which allow to erase/write u-boot and uImage in Parallel nor using the mfg tool. Lastly just added a label in the regular board files indicating that another config file has to be used in the case of NOR boot. Modified files: Makefile common/env_common.c include/configs/mx6q_sabreauto.h include/configs/mx6q_sabreauto_boot_weimnor.h include/configs/mx6q_sabreauto_mfg_enable_weimnor.h include/configs/mx6solo_sabreauto.h include/configs/mx6solo_sabreauto_boot_weimnor.h include/configs/mx6solo_sabreauto_mfg_enable_weimnor.h Signed-off-by: Francisco Munoz <francisco.munoz@freescale.com>
* ENGR00217505-2 uboot: mtd: update nand_get_flash_type()Huang Shijie2012-08-20-0/+68
| | | | | | | update nand_get_flash_type() to the latest code. Also add the support of ONFI nand. Signed-off-by: Huang Shijie <b32955@freescale.com>
* ENGR00217505-1 uboot: MX6Q-ARD: add a NAND boot configHuang Shijie2012-08-20-0/+271
| | | | | | add a new config for NAND boot in the mx6q-ard board. Signed-off-by: Huang Shijie <b32955@freescale.com>
* ENGR00220161: imx6sl: Add MX6SL EVK SupportRobby Cai2012-08-14-0/+485
| | | | | | | | | Add mx6sl evk board support - copied from ARM2 board support - added a new board revision - removed unused boot device detection Signed-off-by: Robby Cai <R63905@freescale.com>
* ENGR00219854-1 Enable fastboot feature on mx6q-arm2 boardLiGang2012-08-09-7/+7
| | | | | | | | 1. enable fastboot feature on mx6q-arm2 board 2. enlarge fastboot buffer to 320MB 3. correct some usb descriptors Signed-off-by: LiGang <b41990@freescale.com>
* ENGR00219636 MX6 UBOOT : Enlarge command line buffer sizeEric Sun2012-08-07-11/+11
| | | | | | | | | | | | | | | | | | There is a problem that a too long command line parameter in U-Boot console will actually be truncated and not properly truncated to the kernel. The root cause is that the command line in the U-Boot console is read into a buffer --- console_buffer[CONFIG_SYS_CBSIZE]. Currently the CONFIG_SYS_CBSIZE is set as 256. Command line parameter larger than it will not be recorded. On the other hand, max length of boot parameter of linux kernel is set to 1024, which means it can accept parameter size as large as 1024. So we need to align these 2 values. Enlarge CONFIG_SYS_CBSIZE to 1024 as well. Signed-off-by: Eric Sun <jian.sun@freescale.com>
* ENGR00218583-5 MX6DL SabreSD Android:Add splashimage uboot varLiu Ying2012-07-31-1/+4
| | | | | | | | This patch adds splashimage related variables to board configure file so that splashimage can work without touching the uboot variables. Signed-off-by: Liu Ying <Ying.Liu@freescale.com>
* ENGR00218583-4 MX6Q SabreSD Android:Add splashimage uboot varLiu Ying2012-07-31-2/+4
| | | | | | | | This patch adds splashimage related variables to board configure file so that splashimage can work without touching the uboot variables. Signed-off-by: Liu Ying <Ying.Liu@freescale.com>
* ENGR00218583-3 MX6DL SabreSD:Enable splashimage by defaultLiu Ying2012-07-31-0/+1
| | | | | | | This patch adds CONFIG_SPLASH_SCREEN definition to board config file to enable splashimage by default. Signed-off-by: Liu Ying <Ying.Liu@freescale.com>
* ENGR00218583-2 MX6Q SabreSD:Enable splashimage by defaultLiu Ying2012-07-31-0/+1
| | | | | | | This patch adds CONFIG_SPLASH_SCREEN definition to board config file to enable splashimage by default. Signed-off-by: Liu Ying <Ying.Liu@freescale.com>
* ENGR00218465 Android: mx6sl-arm2: fix fastboot crash issueLiGang2012-07-30-8/+19
| | | | | | | | Fix fastboot crash issue on fastmx6sl-arm2 board. Enlarge fastboot buffer size to 320MB for mx6 arm2 board, mx6 sabresd board, thus fastboot could flash system.img up to 320MB Signed-off-by: LiGang <b41990@freescale.com>
* ENGR00217401 common: fix build warningXinyu Chen2012-07-26-0/+2
| | | | | | | | | Fix the build warning in uboot build. Fix bug of incorrect dereference to periph2 clock pre divider. Fix incorrect type of maxpackage size assign, even it's not used at all in fastboot. Signed-off-by: Xinyu Chen <xinyu.chen@freescale.com>
* ENGR00218282 MX6Q: fix linker error when more configure enabled.Zhang Jiejing2012-07-25-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit fix the linker error when enable more function(like CONFIG_NAND, CONFIG_SPASHSCREEN,etc) in uboot ARM2 board, and a possable linker error for other MX6 boards: /home/lambert/share/SATA2/R13.3/prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/ bin/arm-eabi-ld: section .bss [27831000 -> 278666e7] overlaps section .rodata [2782387c -> 278609eb] /home/lambert/share/SATA2/R13.3/prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/ bin/arm-eabi-ld: section .rodata.str1.1 [278609ec -> 27867803] overlaps section .bss [27831000 -> 278666e7] One issue here is: A recent gcc added a new unaligned rodata section called '.rodata.str1.1', which needs to be added the the linker script. Instead of just adding this one section, we use a wildcard ".rodata*" to get all rodata linker section gcc has now and might add in the future. Another issue is: The secure boot feature require __hab_data section in uboot linker script, but it's have a hard coding magic number, but if we enable more code, cause .text section bigger, it will cross the line, so it report the first linker error. This commit disable SECURE_BOOT feature by default for android, and comments if user want to use this feature, it needs change the .lds by there configure. Also, enlarge the magic number that this feature needs to cover if more code is build in. Signed-off-by: Zhang Jiejing <jiejing.zhang@freescale.com>
* ENGR00218067 mx6sl LDO_BYPASS: enable LDO BYPASS in mx6sl by defaultRobin Gong2012-07-24-1/+1
| | | | | | | To validate LDO bypass function fully, enable CONFIG_MX6_INTER_LDO_BYPASS on u-boot and kernel, only for mx6sl. Signed-off-by: Robin Gong <B38343@freescale.com>
* ENGR00217764 MX6 Secure Boot : Fix NAND BOOT Failure due to secure patchEric Sun2012-07-23-3/+12
| | | | | | | | | | | | | | | | | | With the secure boot patch. MX6 NAND Boot is not functional. The root cause is that, the original secure boot patch fills "0xFF' to spacing regions, due to a issue in ROM code, read pages of all "0xff" will be treated as a critical error. Thus prevent the U-Boot from booting normally. The fix adjust image copy size in IVT so that when secure boot is not enabled, no unuseful data is copied by ROM code. Also the secure boot option is default disabled. The end user won't enable it unless they know what they are doing. These prevent the ROM code from copied pages of "0xff" data, and fix the issue. Signed-off-by: Eric Sun <jian.sun@freescale.com>
* ENGR00217114-1 MX6 U-Boot, Secure Boot, one code base for MX6Q/DL/SLEric Sun2012-07-13-0/+4
| | | | | | | | Move the secure boot related implementation code from mx6q_arm2.c to mx6/generic.c. In this way the HAB feature can be shared by all MX6 platforms Signed-off-by: Eric Sun <jian.sun@freescale.com>
* ENGR00215197 pfuze MX6SL_ARM2: enable LDO bypass on u-bootimx-android-r13.5-alphaRobin Gong2012-07-04-0/+13
| | | | | | 1.enable I2C and I2C bus recovery support on mx6sl_arm2 2.enable LDO bypass on u-boot, by configuring 'CONFIG_MX6_INTER_LDO_BYPASS' Signed-off-by: Robin Gong <B38343@freescale.com>
* ENGR00215367 MX6 Platforms, remove "nosmp" in default parametersEric Sun2012-07-03-4/+2
| | | | | | | | nosmp is added in the bootargs originally because of issues in kernel smp implementation. Now these issues are fixed and we can safely remove them Signed-off-by: Eric Sun <jian.sun@freescale.com>
* ENGR00215633 MX6DL LPDDR2 : enable plugin mode of system bootEric Sun2012-07-03-7/+9
| | | | | | | | | | | | | | | | | | | | | For MX6DL LPDDR2 board, in order to use both the 2 channels of the memory, the "PL301_FAST2" must be set to 0x1. However this bit is not accessible using DCD. Plugin mode must be utilized for this purpose. The patch can be verified this way: Enter U-boot console > mw.l 0x80000000 0xC0 10 > mw.l 0x10000000 0xC1 10 > md.l 0x10000000 10 > md.l 0x80000000 10 Before the patch, 0x10000000 and 0x80000000 in fact point to the same memory location. So the last 2 dump will show memory content of both 0x000000C1 After the patch, 0x80000000 ponit to channel 0, 0x10000000 point to channel 1. the last 2 dump will show memory content of 0x000000C0 and 0x000000C1 respectively Signed-off-by: Eric Sun <jian.sun@freescale.com>
* ENGR00214947 MX6 UBOOT : default enable wait mode as default parametersEric Sun2012-06-26-8/+6
| | | | | | | | For historical reasons U-Boot set "enable_wait_mode=off" in default U-Boot parameter. Now wait mode is OK for these platforms so we remove these settings. Signed-off-by: Eric Sun <jian.sun@freescale.com>
* ENGR00213689 - U-Boot: EPDC Splash Screen failing for MX 6DL/SDanny Nold2012-06-14-4/+4
| | | | | | | | | | | Fix a hang and a garbage update to the E Ink panel with the following changes for both MX 6DL/S SabreSD and MX 6DL/S ARM2: - Update the address for the EPDC waveform file to 6MB offset in SD card. - Update the waveform file size to cover the default Pearl panel waveform file. Signed-off-by: Danny Nold <dannynold@freescale.com>
* ENGR00212229 [MX6SL_ARM2]uboot: 8bit MMC cards failed to boot on SD1.Ryan QIAN2012-06-08-4/+4
| | | | | | | | | | | | issue: SD1 connector on ARM2 is an MS-SD combo one which can not make good contact with DAT4~DAT7 of 8bit mmc cards. It is an hw limitation which will cause boot failure from 8bit mmc. solution: disable SD1 8bit mode on MX6SL arm2 board. Signed-off-by: Ryan QIAN <b32804@freescale.com>
* ENGR00212287 - U-Boot EPDC splash screen: Disable EPDC splash by defaultDanny Nold2012-06-04-4/+4
| | | | | | | | | | - EPDC splash screen changed to be disabled by default in the config file for MX6DL_SABRESD and MX6DL_ARM2. If left enabled, the U-Boot image will not boot correctly (hang), since some additional content on the boot device (waveform file) is required for EPDC splash to work correctly. - Fixes U-Boot break introduced with commit for ENGR00212287 Signed-off-by: Danny Nold <dannynold@freescale.com>
* ENGR00211117 - U-Boot: Add EPDC splash screen for MX 6DL/S platformsDanny Nold2012-05-30-10/+63
| | | | | | | | | - EPDC Splash support for MX6DL/S Sabre SD - EPDC Splash support for MX6DL/S ARM2 - Currently, splash screen consists of a simple black border around a white screen. Done this way to save in memory footprint. Signed-off-by: Danny Nold <dannynold@freescale.com>
* ENGR00211038 Fix the PAD_LVE implementationMahesh Mahadevan2012-05-30-1/+1
| | | | | | Fix the PAD_LVE implementation used on MX6SL. Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@freescale.com>
* ENGR00210918-2 cleanup android support, build pass all boardsZhang Jiejing2012-05-29-2/+44
| | | | | | | | | | - move recovery.h to common inlcude place. - move supported_reco_envs to soc related, not board related, - user can change this via configure header, don't needs this in every board file. - pass build for all mx5/mx6 android configs. Signed-off-by: Zhang Jiejing <jiejing.zhang@freescale.com>
* ENGR00210918-1 android: add mx6sl android supportZhang Jiejing2012-05-29-1/+77
| | | | | | | | | | - add android build config for mx6sl_arm2 board. - add gpio support for mx6sl - add boot image support - add android recovery support - add fastboot support, but fastboot cannot transfer file. Signed-off-by Zhang Jiejing <jiejing.zhang@freescale.com>