summaryrefslogtreecommitdiff
path: root/include
Commit message (Collapse)AuthorAgeLines
...
* ENGR00174536-2 MX6Q_SABRE[SD/Lite]: change bootcmd to bootiZhang Jiejing2012-02-27-32/+13
| | | | | | change boot command and recovery command to booti. Signed-off-by: Zhang Jiejing <jiejing.zhang@freescale.com>
* ENGR00174536-1 booti: add booti command support.Zhang Jiejing2012-02-27-0/+110
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Support booti command which can boot from a boot.img boot.img is a zImage + ramdisk.img + bootargs + boot addr which include these info can be used to avoid mis match between kernel and ramdisk, also can avoid commit to chagne default bootargs. For example: > booti mmc1 command will read the boot.img from 1M offset, and then parser the bootargs and ramdisk then do the boot from that zImage. > booti mmc1 recovery will going to read the recovery's partition no and offset and boot from recovery image. this recovery image also a zImage + ramdisk bootargs: if uboot have define a env var 'bootargs', booti command will use this bootargs as kernel cmdline if you want use boot.img 's bootargs, just type: > setenv bootargs in uboot to clear the bootargs in uboot env. our default uboot env will be NULL in config file. also, android use boot.img to support OTA. Signed-off-by: Zhang Jiejing <jiejing.zhang@freescale.com>
* ENGR00139213: Add read and change voltage support for mx6Terry Lv2012-02-16-0/+97
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | dd read and change voltage support for mx6. For help, pls type "help regul" Detail command info: regul list - List all regulators' name regul show all - Display all regulators' voltage regul show core - Show core voltage in mV regul show periph - Show peripheral voltage in mV regul show <regulator name> - Show regulator's voltage in mV regul set core <voltage value> - Set core voltage in mV regul set periph <voltage value> - Set periph voltage in mV regul set <regulator name> <voltage value> - Set regulator's voltage in mV Example: MX6Q ARM2 U-Boot > regul list Name Voltage vddpu vddcore vddsoc vdd2p5 vdd1p1 vdd3p0 MX6Q ARM2 U-Boot > regul show all Name Voltage vddpu 1100000 vddcore 1100000 vddsoc 1200000 vdd2p5 2400000 vdd1p1 1100000 vdd3p0 3000000 MX6Q ARM2 U-Boot > regul show periph Name Voltage periph: 1100000 MX6Q ARM2 U-Boot > regul show core Name Voltage core: 1100000 MX6Q ARM2 U-Boot > regul set core 1100000 Set voltage succeed! Name Voltage core: 1100000 Signed-off-by: Terry Lv <r65388@freescale.com>
* ENGR00174326 MX6Q_SABRESD: add android related function and config.Zhang Jiejing2012-02-15-1/+387
| | | | | | | | | | enable mfg profile. enable recovery mode. mx6q_sabresd board's usb otg have HW issue, disable it in android profile. Signed-off-by: Zhang Jiejing <jiejing.zhang@freescale.com>
* ENGR00174407 imx6dl: add MFG tool supportLily Zhang2012-02-14-0/+305
| | | | | | Add MFG tool support in imx6dl U-boot Signed-off-by: Lily Zhang <r58066@freescale.com>
* ENGR00174230: Move partition command from nand to sata in mx6Terry Lv2012-02-13-16/+24
| | | | | | | Move partition command from nand to sata in mx6 for nand don't need these partition command. Signed-off-by: Terry Lv <r65388@freescale.com>
* ENGR00174104-3: Fix mx6 iram boot configs' issueTerry Lv2012-02-13-28/+2
| | | | | | | | Two issues are fixed: 1. Enlarge malloc size to 10K. 2. Too many configs in sabresd's iram config, remove redundent configs. Signed-off-by: Terry Lv <r65388@freescale.com>
* ENGR00174104-2: Add mx6dl iram boot configTerry Lv2012-02-13-0/+168
| | | | | | Add mx6dl iram boot config. Signed-off-by: Terry Lv <r65388@freescale.com>
* ENGR00174221 imx6dl remove unnecessary configs for NANDAllen Xu2012-02-10-4/+0
| | | | | | | CONFIG_DOS_PARTITION, CONFIG_CMD_FAT, CONFIG_CMD_EXT2 are only for MMC and SATA, remove from NAND config segment Signed-off-by: Allen Xu <allen.xu@freescale.com>
* ENGR00174155-3 i.mx6sdl: enable i.mx6solo config by defaultJason Liu2012-02-10-1/+1
| | | | | | remove arm_freq=800 from default env thus keep 1GHz for kernel Signed-off-by: Jason Liu <r64343@freescale.com>
* ENGR00174155-2 i.mx6sdl: enable i.mx6solo config by defaultrel_imx_3.0.15_12.02.01imx_v2009.08_12.02.01Jason Liu2012-02-09-1/+2
| | | | | | enable i.mx6solo config by default Signed-off-by: Jason Liu <r64343@freescale.com>
* ENGR00174155: i.mx6sdl: add 32bit DDR support on ARM2 boardJason Liu2012-02-09-0/+5
| | | | | | | | | | | The 32bit DDR script got from the following link: http://compass.freescale.net/livelink/livelink/225194568/ MX6DL_init_DDR3_400MHZ_32bit_1.0.inc.txt?func=doc.Fetch&nodeid=225194568 The DDR hw connection on the ARM2 board is 64bit wire, but we can make it use as 32bit, the side effect is that DDR access size will reduce to the half Signed-off-by: Jason Liu <r64343@freescale.com>
* ENGR00173966-4: ARM2: add initial support for i.mx6sdlJason Liu2012-02-07-0/+316
| | | | | | | | | | | | | | | | | This patch add the initial support for i.mx6dl ARM2 board -SD/MMC basic -DDR 400Mhz, -FEC,basic Due to i.mx6dl shares the same board with i.mx6q on ARM2, the most common code should be the same as the i.mx6q ARM2 So, no need to create one seperate board file for i.mx6dl. But We can't simply resue anything from the board file since the i.mx6dl iomux is changed and thus we have to deal with the difference between i.mx6q and i.mx6dl for the pad setting part. Signed-off-by: Jason Liu <r64343@freescale.com>
* ENGR00173966-1: i.mx6dl: add the iomux head fileJason Liu2012-02-07-0/+3717
| | | | | | | | | | | Checkpatch will throw some warnings in iomux-mx6dl.h file as: WARNING: line over 80 characters But for the readable, I intend not to fix these warnings, and linux/uboot upstream also has so many such kind of cases Acked-by: Lily Zhang <r58066@freescale.com> Signed-off-by: Jason Liu <r64343@freescale.com>
* ENGR00173659 MX6Q_UART Change Phyisical to Virtural Port MappingEric Sun2012-02-03-12/+12
| | | | | | | For ARM2 and Sabreauto, change TTY0 to TTY3 (which is physical UART4) For SabreSD, Change TTY3 to TTY0 (which is physical UART1) Signed-off-by: Eric Sun <jian.sun@freescale.com>
* ENGR00172343 Add suport for i.MX 6Q Sabre Smart DeviceNancy Chen2012-01-24-0/+539
| | | | | | | | Add suport for i.MX 6Quad SABRE Smart Device. Signed-off-by: Nancy Chen <Nancy.Chen@freescale.com> Signed-off-by: Tony Lin <tony.lin@freescale.com> Signed-off-by: Frank Li <Frank.Li@freescale.com>
* ENGR00172541 Delete bootcmd_base from the MX6 Sabre-lite configMahesh Mahadevan2012-01-23-4/+2
| | | | | | | Update the config to delete bootcmd_base from the default env settings for Sabre-lite Signed-off-by: Mahesh Mahadevan <r9aadq@freescale.com>
* ENGR00171968 mx6q sabrelite: fixup the sabrelite default bootargs typoXinyu Chen2012-01-13-1/+1
| | | | | | change default console to ttymxc1 Signed-off-by: Xinyu Chen <xinyu.chen@freescale.com>
* ENGR00171872 Android: update sabrelite default config fix a typo.Zhang Jiejing2012-01-12-1/+1
| | | | | | Fix a typo in default config. Signed-off-by: Zhang Jiejing <jiejing.zhang@freescale.com>
* ENGR00171633 MX6Q: config: android: update default config.Zhang Jiejing2012-01-12-10/+10
| | | | | | | | | | 1. C macro don't eval, so the rd_loadaddr will be (CONFIG_LOADADDR + 0x300000) rather then number, will cause uboot can't boot, change this to a number which make default boot env correct. 2. update android mx6q saberlite config to align lastest code status. Signed-off-by: Zhang Jiejing <jiejing.zhang@freescale.com>
* ENGR00171115 add fec support in mx6q sabreauto boardHake Huang2011-12-31-1/+2
| | | | | | | | | | Add fec support for sabreauto board Need hardware rework: 1. Add R450 10.0k 2. Remove R1105 1k 3. short Pin 1,2 of u516, will impact CAN1 Signed-off-by: Hake Huang <b20222@freescale.com>
* ENGR00171008 MX6Q/MFGTOOL : disable the workaround for MFGTOOLHuang Shijie2011-12-28-0/+2
| | | | | | Disable the uboot workaround. It will crash the MFGTOOL. Signed-off-by: Huang Shijie <b32955@freescale.com>
* ENGR00170876 Android: align boot commands with user guide.Zhang Jiejing2011-12-23-3/+3
| | | | | | Align latest boot command with user guide. Signed-off-by: Zhang Jiejing <jiejing.zhang@freescale.com>
* ENGR00170644: Enlarge mmc read size to 4M in default envTerry Lv2011-12-20-4/+4
| | | | | | | For uImage's size of mx6q is larger than 3M, we enlarge mmc read size to 4M in default env. Signed-off-by: Terry Lv <r65388@freescale.com>
* ENGR00170372 mx6q sabrelite: make TF card as default boot mediaXinyu Chen2011-12-15-2/+2
| | | | | | | As we want TF to be default boot media. Then SD slot can be used by WIFI dongle. Signed-off-by: Xinyu Chen <xinyu.chen@freescale.com>
* ENGR00170299-3 Android: add android board configure file.Zhang Jiejing2011-12-15-0/+315
| | | | | | add android mx6q sabrelite configure file. Signed-off-by: Zhang Jiejing <jiejing.zhang@freescale.com>
* ENGR00170299-1 Android: add support fastboot functionZhang Jiejing2011-12-15-1/+562
| | | | | | add support for otg in MX6Q uboot to enable fastboot function. Signed-off-by: Zhang Jiejing <jiejing.zhang@freescale.com>
* ENGR00169919 MX6Q ARM2 U-Boot : Support Pop CPU BoardEric Sun2011-12-13-0/+356
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add support for MX6Q ARM2 LPDDR2 POP CPU Board. Change thing include - TEXT_BASE - RAM address and size - Initialization DCD - MMU related code Use mx6q_arm2_lpddr2pop_config as the build config. After u-boot.bin is generated, set the board to serial download mode, use sb loader to run the bootloader. There is one line in the original DDR initialization script setmem /32 0x00B00000 = 0x1 however this address can not be accessed by DCD. A try to add it later in "dram_init" block the boot up. Waiting for IC team to give an explanation on it. Hold temperorily The MMU Change can be concluded as the following - Cacheable and Uncacheable SDRAM allocation changes to Phys Virtual Size Property ---------- ---------- -------- ---------- 0x10000000 0x10000000 256M cacheable 0x80000000 0x20000000 16M uncacheable 0x81000000 0x21000000 240M cacheable - TEXT_BASE change to 0x10800000, which reserves 8MB of memory at the start of SDRAM. This address makes sure that the text section of U-boot have the same Physical and Virtural address, thus the PC don't need to change when MMU is enabled. Also the text section is all allocated in cacheable memory, which may increase excecution performance. - Since this SDRAM allocation avoid overlap in physical memory between cacheable and uncacheable memory, the implementation of __ioremap can be ignored Signed-off-by: Eric Sun <jian.sun@freescale.com>
* ENGR00169741 UBOOT : DDR3 initialization based on the MX6Q ARDPrabhu Sundararaj2011-12-12-2/+2
| | | | | | | Fix for DDR3 initialization based on the MX6Q ARD. This will reflect 2GB of RAM onboard. Signed-off-by: Prabhu Sundararaj <prabhu.sundararaj@freescale.com>
* ENGR00163513 MX6Q-UBOOT : Add download_mode cmdEric Sun2011-11-30-0/+9
| | | | | | | | | | | | | Add "download_mode" command to U-Boot. It will force a system reset and let boot running in "boot from serial rom" mode, which can be used by manufacturing tool. The command will triggle a write to SRC_GPR9 and SRC_GPR10, then triggle a watchdog reset. GPR9 and GPR10 can maintain their value during the reset, the value in it make ROM to start in "boot from serial rom" mode. After that GPR9 and GPR10 are written by their original value for normal boot. Signed-off-by: Eric Sun <jian.sun@freescale.com>
* ENGR00162938 MX5: Add download_mode command in uboot to enter MFG download mode.Zhang Jiejing2011-11-23-0/+10
| | | | | | | | | | | | Add download_mode command in uboot to enter MFG dowload mode , you can try download mode command in uboot and enter download mode. it first set srtc register, then before enter linux, it will clear these register to prevent the up comming watchdog reset will enter mfgtool mode. only add mx53 now. Signed-off-by: Zhang Jiejing <jiejing.zhang@freescale.com>
* ENGR00162709 Add Support for MX6Q Sabre AutoEric Sun2011-11-21-1/+333
| | | | | | | 1. Change RAM size from 2GB to 1GB 2. Default boot from MMC Dev 2 Signed-off-by: Eric Sun <jian.sun@freescale.com>
* ENGR00162437 uboot mc34708 pcba : add spi support on mc34708Robin Gong2011-11-17-0/+39
| | | | | | | | Rev C of pcba will connect mc34708 by spi default, so uboot should support it: 1. add spi support in mx53_pcba 2. move pmic voltage config from board_init to board_late_init 3. support both I2C and SPI on mc34708 in one image Signed-off-by: Robin Gong <B38343@freescale.com>
* ENGR00161852: remove u-boot build warnings for mx6qTerry Lv2011-11-10-0/+1
| | | | | | Remove u-boot build warnings for mx6q. Signed-off-by: Terry Lv <r65388@freescale.com>
* ENGR00161860 Fix build issue when enable NAND in UbootAllen Xu2011-11-10-0/+1
| | | | | | Add the MACRO define CONFIG_APBH_DMA which missed in last commit Signed-off-by: Allen Xu <allen.xu@freescale.com>
* ENGR00161691 Manufacturing update for Sabre-liteMahesh Mahadevan2011-11-08-0/+264
| | | | | | Add support for the manufacturing tool on MX6 Sabre-lite Signed-off-by: Mahesh Mahadevan <r9aadq@freescale.com>
* ENGR00161296 Update the MX6 Sabre-lite environment option in the config fileMahesh Mahadevan2011-11-03-7/+20
| | | | | | | | Allow boot to either SD card through 6q_bootscript. Define clearenv command to restore factory defaults Add upgradeu command to upgrade u-boot if required Signed-off-by: Mahesh Mahadevan <r9aadq@freescale.com>
* ENGR00161254 MX6Q: Add NAND support in UbootAllen Xu2011-11-03-0/+32
| | | | | | | | Add iomux and clock setting in Uboot code to support NAND, due to the conflict between NAND and SD, NAND function is not enabled in default configuration. Signed-off-by: Allen Xu <allen.xu@freescale.com>
* ENGR00161277 Add fuse access capability for MX6 Sabre-liteMahesh Mahadevan2011-11-02-2/+13
| | | | | | Add support to read and program fuses in the MX6 Sabre-lite Signed-off-by: Mahesh Mahadevan <r9aadq@freescale.com>
* ENGR00139215 iMX61 Uboot support blow fuseRyan QIAN2011-11-02-0/+408
| | | | | | | | 1. add force option to blow operation 2. add blown value check 3. add simple validation for zeros returned by 'simple_strtoul' call Signed-off-by: Ryan QIAN <b32804@freescale.com>
* ENGR00161126 Enable Hush parser in MX6Q Sabrelite configMahesh Mahadevan2011-11-01-0/+4
| | | | | | | Enable the Hush parser in the Sabrelite config to parse boot scripts. Signed-off-by: Mahesh Mahadevan <r9aadq@freescale.com>
* ENGR00161133: Add spi-nor support for mx6qTerry Lv2011-11-01-2/+15
| | | | | | Add spi-nor support for mx6q. Signed-off-by: Terry Lv <r65388@freescale.com>
* ENGR00161125 Update MX6Q Sabrelite config to boot from MMC by defaultMahesh Mahadevan2011-10-31-2/+2
| | | | | | Boot from MMC by default and disable DHCP by default on MX6Q Sabrelite Signed-off-by: Mahesh Mahadevan <r9aadq@freescale.com>
* ENGR00161004 MX6Q Uboot Rename sabreauto to arm2 boardAnish Trivedi2011-10-28-14/+26
| | | | | | | | | Sabreauto is an inaccurate name for the Armadillo2 board that this code is actually meant for. So, replaced "sabreauto" in folder names, file names, configs, and code with "arm2". Created a new machine id for ARM2 board. Signed-off-by: Anish Trivedi <anish@freescale.com>
* ENGR00139221 USDHC Add SDXC UHS-I supportAnish Trivedi2011-10-27-3/+47
| | | | | | | Modified MMC library for UHS-I command sequence Added support to USDHC driver for UHS-I Signed-off-by: Anish Trivedi <anish@freescale.com>
* ENGR00160399 Added support for the MX6Q Sabre-lite boardMahesh Mahadevan2011-10-25-47/+301
| | | | | | Includes support for uSDHC read, write, FEC, SPI-NOR etc. Signed-off-by: Mahesh Mahadevan <r9aadq@freescale.com>
* ENGR00160507 Update the IOMUX implementation for MX6Mahesh Mahadevan2011-10-20-6/+5
| | | | | | | The MX6 code incorrectly uses the Hysteresis bit to decide NO_PAD_CTRL operation Signed-off-by: Mahesh Mahadevan <r9aadq@freescale.com>
* ENGR00156930: Update MX35 DDR2 scriptsTerry Lv2011-10-18-12/+37
| | | | | | | | | | Update MX35 DDR2 scripts for that when enabling 256MB, the CSD1 is not stable. 1. Add CSD1 configs to support 256M RAM. 2. Add mx35 TO2 256M RAM configs. 3. Update DDR init code in lowlevel_init.S for external boot. Signed-off-by: Terry Lv <r65388@freescale.com>
* ENGR00139279-2 MX6Q: add mfgtool supportHuang Shijie2011-10-14-0/+268
| | | | | | add the MFGTOOL support for mx6q. Signed-off-by: Huang Shijie <b32955@freescale.com>
* ENGR00159740 Android: Fastboot: enlarge max image size to 148MBZhang Jiejing2011-10-12-5/+5
| | | | | | | enlarge max image size to 148MB from 128MB. since android become bigger. so 128M not enough. Signed-off-by: Zhang Jiejing <jiejing.zhang@freescale.com>