summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2012-09-14ENGR00224272: MFG:i.mx6q/ARM2 enable CONFIG_CMD_IMXOTP to fix the build errorJason Liu
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>
2012-09-13ENGR00223788 mx6sl_evk: change boot args to boot from mmc/sdRobby Cai
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>
2012-09-11ENGR00223027 Add support for nand on MFG for IMX6QAlejandro Sierra
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>
2012-09-06ENGR00223236-1 [MX6]Change the temperature range to -40C ~ 125CAnson Huang
Previous temperature range is -25C ~ 125C, according to latest datasheet, change it to -40C to 125C. Fix temperature report error when it is < 0C. Signed-off-by: Anson Huang <b20788@freescale.com>
2012-09-06ENGR00222170: Add mx6sl_evk_android_config for mx6sl evk boardLiGang
- 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>
2012-08-31ENGR00221503-2 imx6: add cpu serial number support.Zhang Jiejing
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>
2012-08-31ENGR00221503-1 cmd_imxotp: refine the help of this command.Zhang Jiejing
This command use index but not addr, it confuse user, add a help how to convert the addr from fuse map to the index. Signed-off-by: Zhang Jiejing <jiejing.zhang@freescale.com>
2012-08-30ENGR00222005 mfgtool can't work on mx6slTony LIU
- 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>
2012-08-29ENGR00219316-2: mx6q sabreauto enable lvds backlight by defaultAdrian Alonso
* Enable lvds backlight by default, configure io_expander A to enable backlight. * As weimnor_d18, spinor_d18, i2c3_sda share the pad MX6Q_PAD_EIM_D18 if wiemnor or spinor is enabled it overrides i2c3 settings and kernel fails to configure io_expander causing read/write errors. * This commit allows a default configuration on control lines behind io_expander A. Signed-off-by: Adrian Alonso <aalonso@freescale.com>
2012-08-29ENGR00219316-1: mx6 sabreauto: enable mxc_gpio supportAdrian Alonso
* 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>
2012-08-28ENGR00221013 MX6 SabreSD:Disable LVDS panel CABC functionLiu Ying
This patch sets CABC_EN0/1 pins to low to disable LVDS panel CABC function. This function will turn backlight automatically according to display content which may cause potential unstable backlight phenomena. Signed-off-by: Liu Ying <Ying.Liu@freescale.com>
2012-08-24ENGR00221332: U_BOOT: remove "boot" and "enable" from configs' nameTerry Lv
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>
2012-08-24ENGR00221135: imx6x: clear PowerDown Enable bit of WDOG1_WMCRRobby Cai
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>
2012-08-22ENGR00221150 Support spi-nor on manufacturing toolAlejandro Sierra
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>
2012-08-21ENGR00220824: mx6sl_evk: mmc: only SD1 supports 8bit on evk board.Ryan QIAN
- configure SD1 to support 8bit on evk Signed-off-by: Ryan QIAN <b32804@freescale.com>
2012-08-21ENGR00180538-1 MFG download burn sd,spi, nand, nor failed.Francisco Munoz
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>
2012-08-20ENGR00217505-8 uboot: MX6Q-ARD: set the default gpmi clock to 20MHzHuang Shijie
Set the default clock to 20MHz. The 11Mhz is too slow. Signed-off-by: Huang Shijie <b32955@freescale.com>
2012-08-20ENGR00217505-7 uboot: gpmi: update the mtd->ecc_stats when reading page failedHuang Shijie
If tell the real correcting infomation to the upper layer of MTD, the torture thread of UBIFS will do the torture test in a very often frequency. This will eat up all the reservation blocks of the UBIFS. So tell the real correcting infomation only when the failure occured, or the corrected times nearly reached the ECC threshold. Signed-off-by: Huang Shijie <b32955@freescale.com>
2012-08-20ENGR00217505-6 uboot: gpmi: set default value for busy_timeoutHuang Shijie
Set 0x500 to the busy_timeout in HW_GPMI_TIMING1. If we do not set this busy_timeout, the gpmi may become unstable. Signed-off-by: Huang Shijie <b32955@freescale.com>
2012-08-20ENGR00217505-5 uboot: gpmi: update the ecc_strength codeHuang Shijie
Rewrite the code for calculate the ecc strength. Use the same code as in the gpmi driver. Signed-off-by: Huang Shijie <b32955@freescale.com>
2012-08-20ENGR00217505-4 uboot: gpmi: replace the gpmi_nfc_reset_block()Huang Shijie
Use the latest gpmi_reset_block(), and remove the old gpmi_nfc_reset_block(). Signed-off-by: Huang Shijie <b32955@freescale.com>
2012-08-20ENGR00217505-3 uboot: gpmi: use the community's nand chip databaseHuang Shijie
Abandon our nand chip database, use the community's database. Signed-off-by: Huang Shijie <b32955@freescale.com>
2012-08-20ENGR00217505-2 uboot: mtd: update nand_get_flash_type()Huang Shijie
update nand_get_flash_type() to the latest code. Also add the support of ONFI nand. Signed-off-by: Huang Shijie <b32955@freescale.com>
2012-08-20ENGR00217505-1 uboot: MX6Q-ARD: add a NAND boot configHuang Shijie
add a new config for NAND boot in the mx6q-ard board. Signed-off-by: Huang Shijie <b32955@freescale.com>
2012-08-20ENGR00220486 Modify ODT values for Solo AIAlejandro Sierra
Modify ODT values for Solo AI. Some Solo boards did not passed the "mtest" from uboot using the previous configuration. Old configuration: MXC_DCD_ITEM(76, MMDC_P0_BASE_ADDR + 0x818, 0x00000007) MXC_DCD_ITEM(77, MMDC_P1_BASE_ADDR + 0x818, 0x00000007) MXC_DCD_ITEM(67, MMDC_P0_BASE_ADDR + 0x818, 0x00000007) MXC_DCD_ITEM(68, MMDC_P1_BASE_ADDR + 0x818, 0x00000007) New configuration: MXC_DCD_ITEM(76, MMDC_P0_BASE_ADDR + 0x818, 0x00011117) MXC_DCD_ITEM(77, MMDC_P1_BASE_ADDR + 0x818, 0x00011117) MXC_DCD_ITEM(67, MMDC_P0_BASE_ADDR + 0x818, 0x00011117) MXC_DCD_ITEM(68, MMDC_P1_BASE_ADDR + 0x818, 0x00011117) Signed-off-by: Alejandro Sierra <b18039@freescale.com>
2012-08-14ENGR00220161: imx6sl: Add MX6SL EVK SupportRobby Cai
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>
2012-08-13ENGR00220164 pfuze:rise VDDARM_IN to 1.425V and work around pfuze1.0Robin Gong
1.Considering pfuze tolerance and IR drop and board ripple, need rise from 1.375V to 1.425V. Only for Sabresd. 2.workaround pfuze1.0 ER1, set all buck regulator except SW1C to PWM mode. now for mx6sl_arm2 and mx6_sabresd. Signed-off-by: Robin Gong <B38343@freescale.com>
2012-08-10ENGR00220076 fix the fastboot usb re-connect issueLiGang
in fastboot mode, if usb cable re-connectted, the fastboot feature will fail. This issue is caused by logic control oversight. Signed-off-by: LiGang <b41990@freescale.com>
2012-08-09ENGR00219854-1 Enable fastboot feature on mx6q-arm2 boardLiGang
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>
2012-08-07ENGR00219636 MX6 UBOOT : Enlarge command line buffer sizeEric Sun
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>
2012-08-03ENGR00218915-2 MX6 SabreSD:Use new 8bit bmp boot logoLiu Ying
This patch changes to use new 8bit 600x400 bmp boot logo. As this boot logo has black background and white words, the user experience will be better. Signed-off-by: Liu Ying <Ying.Liu@freescale.com>
2012-08-03ENGR00218915-1 FSL common:Add new boot logoLiu Ying
This patch adds new boot 8bit 600x400 bmp logo who has black background and white words. Signed-off-by: Liu Ying <Ying.Liu@freescale.com>
2012-08-01ENGR00218972 MX6 Secure Boot, Change to dynamic HAB data authenticationEric Sun
The original secure boot implementation make a consumption that u-boot.bin will not exceed 0x2F000. With this consumption, the hab data is hard coded in linker script file to relative address 0x2F000 without causing any problem. But when this consumption don't hold, the hard coded way will cause memory region overlap and break build. So we need to change to a dynamic way of allocating hab_data. The new implementation put hab data at the next 0x1000 alignment after u-boot data and text section, instead of hard coded to 0x2F000. Similar changes is made to uImage authentication implementation. Changes in U-Boot includes: - in u-boot.lds file, change "__hab_data" to dynamic align to 0x1000 - change authenticate_image implementation, originally the uImage parameters are hard coded, now they are retrived from the "load_addr" and the image_hdr The new secure image layout: U-Boot +-------------------+ DDR_START | | | U-Boot Image | | | +-------------------+ DDR_START + UBOOT_SIZE | PADDING | +-------------------+ align to 0x1000 | CSF Data | - +-------------------+ +-- CSF + Pad, Size : 0x2000 | PADDING | - +-------------------+ uImage +-------------------+ DDR_START | | | uImage | | | +-------------------+ DDR_START + UIMAGE_SIZE | PADDING | +-------------------+ align to 0x1000 | IVT | ---- Size : 0x20 +-------------------+ | CSF Data | - +-------------------+ +-- CSF + Pad, Size : 0x2000 | PADDING | - +-------------------+ Signed-off-by: Eric Sun <jian.sun@freescale.com>
2012-07-31ENGR00218583-5 MX6DL SabreSD Android:Add splashimage uboot varLiu Ying
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>
2012-07-31ENGR00218583-4 MX6Q SabreSD Android:Add splashimage uboot varLiu Ying
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>
2012-07-31ENGR00218583-3 MX6DL SabreSD:Enable splashimage by defaultLiu Ying
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>
2012-07-31ENGR00218583-2 MX6Q SabreSD:Enable splashimage by defaultLiu Ying
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>
2012-07-31ENGR00218583-1 MX6Q/DL SabreSD:Support LVDS1 splashimageLiu Ying
This patch configures iomux gpr3 register to enable LVDS1 via IPU1 DI1 if user chooses to use it. Signed-off-by: Liu Ying <Ying.Liu@freescale.com>
2012-07-30ENGR00218805 imx6: print the silicon revision correctlyJason Liu
The silicon revision is not printed correctly, on ARM2 and sabrelite board, the log is just as the following: CPU: Freescale i.MX6 family TO0.0 at 792 MHz We need print the silicon revision correctly as: CPU: Freescale i.MX6 family TO1.2 at 792 MHz with i.mx6q TO1.2 chip Signed-off-by: Jason Liu <r64343@freescale.com>
2012-07-30ENGR00218465 Android: mx6sl-arm2: fix fastboot crash issueLiGang
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>
2012-07-26ENGR00217401 common: fix build warningXinyu Chen
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>
2012-07-25ENGR00218282 MX6Q: fix linker error when more configure enabled.Zhang Jiejing
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>
2012-07-24ENGR00218067 mx6sl LDO_BYPASS: enable LDO BYPASS in mx6sl by defaultRobin Gong
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>
2012-07-23ENGR00217764 MX6 Secure Boot : Fix NAND BOOT Failure due to secure patchEric Sun
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>
2012-07-19ENGR00217381-02: show sd/mmc clk freq for mmcinfoRyan QIAN
It prints sd clk freq for cmd of mmcinfo, then it is much easier to tell which mode sd/mmc card is running at. Signed-off-by: Ryan QIAN <b32804@freescale.com>
2012-07-19ENGR00217381-01: mx6sl add sd1 and sd2 to support SD3.0Ryan QIAN
enable SD3.0 support on SD1 and SD2 on mx6sl arm2 cpu board. Signed-off-by: Ryan QIAN <b32804@freescale.com>
2012-07-13ENGR00217114-2 MX6 U-Boot, Secure Boot, one code base for MX6Q/DL/SLEric Sun
Move the uImage authentication to an earlier phase, in this way prevent DDR content changed by OS load code, causing authentication failure. Signed-off-by: Eric Sun <jian.sun@freescale.com>
2012-07-13ENGR00217114-1 MX6 U-Boot, Secure Boot, one code base for MX6Q/DL/SLEric Sun
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>
2012-07-13ENGR00216852 MX6SL ARM2, UBoot : Apply V0.93 LPDDR2 ScriptEric Sun
IC Validation team release new LPDDR2 script V0.93 in the following link, "http://compass.freescale.net/livelink/livelink?func=ll&objId=226733834/" Make changes to align to it Signed-off-by: Eric Sun <jian.sun@freescale.com>
2012-07-04ENGR00215197 pfuze MX6SL_ARM2: enable LDO bypass on u-bootRobin Gong
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>