summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeLines
* ENGR00132617 MX53: add NAND supportLily Zhang2010-10-17-13/+626
| | | | | | | | | | | | | | | | | | | | | | | | | | Add NAND support for MX53 EVK and ARD. Need to use kobs-ng to flash U-Boot on MX53 TO1. Because MX51 TO1 ROM doesn't support bi swap solution and kernel enable bi swap, Must enable "ignore bad block" option when flashing U-Boot. The step is as following: echo 1 > /sys/devices/platform/mxc_nandv2_flash.0/ignorebad kobs-ng init --chip_0_device_path=/dev/mtd2 u-boot.bin echo 0 > /sys/devices/platform/mxc_nandv2_flash.0/ignorebad Since default configuration stores environment into SD card and U-Boot uses get_mmc_env_devno (Read SBMR register) to get MMC/SD slot information, you must insert SD card to bottom SD slot to get/store environment if you are using NAND boot on MX53 EVK. You must config boot dip setting well when doing NAND boot. For example, if you are using NAND 29F32G080AA NAND chip on MX53 EVK, you can set boot dips as the following for NAND boot: SW3: dip 7, 8 on; SW2: dip 3,5 on; SW1: dip 4,7,8 on. Other dips are off. Signed-off-by: Lily Zhang <r58066@freescale.com>
* ENGR00132656 MX53 ARD: Add MFG tool supportLily Zhang2010-10-15-0/+216
| | | | | | | Add default uboot defconfig for MX53 ARD MFG tool Signed-off-by: Lily Zhang <r58066@freescale.com>
* ENGR00132618 MX53 MFG:use serial_mxc as uart driverLily Zhang2010-10-15-2/+2
| | | | | | | Use serial_mxc as uart driver for MX53 MFG. This change is required by ENGR00131779. Signed-off-by: Lily Zhang <r58066@freescale.com>
* ENGR00132526 MX50 RDP Update to latest LPDDR2 scriptAnish Trivedi2010-10-13-21/+52
| | | | | | | | | | | | | | | Update uboot LPDDR2 init code with the following changes from latest script (v04) from Marek Xu: http://compass.freescale.net/doc/220496654/Codex_LPDDR2_266MHz.inc.txt 1. Driver strength changed to 0x00180000 from 0x00200000 2. Memory type value changed to 0x04000000 from 0x02000000 3. New ZQ calibration entries with delay between load PU/PD and clear 4. Register at memory location 0x14000024 changed to 0x0048D005 from 0x0048EB05 Signed-off-by: Anish Trivedi <anish@freescale.com>
* ENGR00132014: nand read and write page may fail in some pagesTerry Lv2010-09-28-30/+33
| | | | | | nand read and write page may fail in some pages. Signed-off-by: Terry Lv <r65388@freescale.com>
* ENGR00131936 MX5X corrent mx53_evk mx51_BBG android default env settingZhang Jiejing2010-09-26-56/+89
| | | | | | | | | | | | | | This change make a bootable default setting of MX53 EVK and MX51 BBG board, the old default setting is too old to boot android system up. Also add the recovery command in the env strings, if you want to boot to recovery mode with mx53_evk, you can just : > run bootcmd_android_recovery This command will boot android into recovery mode. Also fix MX51 can't see UI in recovery mode. Signed-off-by: Zhang Jiejing <jiejing.zhang@freescale.com>
* ENGR00131924: using ext4 as default recovery filesystemZhang Jiejing2010-09-25-3/+3
| | | | | | using ext4 as default recovery filesystem. Signed-off-by: Terry Lv <r65388@freescale.com>
* ENGR00131840 MX53 ARD:use serial_mxc as uart driverLily Zhang2010-09-22-2/+2
| | | | | | | Use serial_mxc as uart driver for MX53 ARD. This change is required by ENGR00131779. Signed-off-by: Lily Zhang <r58066@freescale.com>
* ENGR00131691 MX50 RDP UbootAnish Trivedi2010-09-21-0/+2057
| | | | | | | | | | Add support for building uboot for MX50 reference design platform: 1) LPDDR2 init script (v0.3 from Mike Kjar, dated 9/14) 2) iomux 3) new board file and machine id for RDP 4) Updates for iram boot on RDP Signed-off-by: Anish Trivedi <anish@freescale.com>
* ENGR00131779: Use serial_mxc as uart driver for all platformsTerry Lv2010-09-21-709/+278
| | | | | | Use serial_mxc as uart driver for all platforms. Signed-off-by: Terry Lv <r65388@freescale.com>
* ENGR00131792: Fix mx50 lpddr2 build errorsTerry Lv2010-09-21-8/+14
| | | | | | Fix mx50 lpddr2 build errors. Signed-off-by: Terry Lv <r65388@freescale.com>
* ENGR00131705-4 MX53: fix typo error for recoveryLily Zhang2010-09-21-1/+1
| | | | | | Fix typo error for MX53 recovery mode. Signed-off-by: Lily Zhang <r58066@freescale.com>
* ENGR00131705-3 Import new mach-type header fileLily Zhang2010-09-20-27/+7268
| | | | | | | Import new mach-type header file Signed-off-by: Lily Zhang <r58066@freescale.com> Acked-by: Rob Herring
* ENGR00131705-2 Add MX53 ARD supportLily Zhang2010-09-20-8/+613
| | | | | | | | | | | Add MX53 Automotive Reference Board (ARD) support 1. Add DDR2 initialization script 2. Add external ethernet support 3. Update PIN settings for UART, I2C, SDHC etc Signed-off-by: Anish Trivedi <anish@freescale.com> Signed-off-by: Terry Lv <r65388@freescale.com> Signed-off-by: Lily Zhang <r58066@freescale.com>
* ENGR00131705-1 rename mx53_evk folder as mx53_rdLily Zhang2010-09-20-5/+5
| | | | | | | | Rename the folder "mx53_evk" as "mx53_rd" to put all MX53 board files. Signed-off-by: Terry Lv <r65388@freescale.com> Signed-off-by: Lily Zhang <r58066@freescale.com>
* ENGR00131662: Fix that iram boot don't workTerry Lv2010-09-20-6/+6
| | | | | | | | iram boot don't work. The reason is that ivt plugins copy too much data than that iram can hold. Signed-off-by: Terry Lv <r65388@freescale.com>
* ENGR00131578: Add android recovery mode support for mx53Terry Lv2010-09-20-24/+1049
| | | | | | Add android recovery mode support for mx53. Signed-off-by: Terry Lv <r65388@freescale.com>
* ENGR00127167: Add gpmi nfc and apbh dma support for mx50.Terry Lv2010-09-19-309/+6836
| | | | | | Add gpmi nfc and apbh dma support for mx50. Signed-off-by: Terry Lv <r65388@freescale.com>
* ENGR00131712 UBOOT:add DDR2 support for IMX50Huang Shijie2010-09-19-0/+712
| | | | | | | | | | | | | | add DDR2 support for U-BOOT. The infomation about the init script: Date : Aug-30,2010 Author : Tommy Version: 0.1 please check : http://compass.freescale.net/doc/219931536/Codex_DDR2_266MHz.inc.txt Signed-off-by: Huang Shijie <b32955@freescale.com>
* ENGR00131619 UBOOT: Gcc 4.4.x complains weak inlineZeng Zhaoming2010-09-16-9/+9
| | | | | | | | | | | | new toolchain with gcc 4.4.x get some compile error about: board.c: error: inline function 'red_LED_on' cannot be declared weak error: inline function 'red_LED_off' cannot be declared weak gcc 4.4.x not allow weak symbol be inline, remove inline. Signed-off-by: Zeng Zhaoming <b32542@freescale.com>
* ENGR00127368 UBOOT: Make the android recovery code common for platformsrel_imx_2.6.31_10.09.00Xinyu Chen2010-09-10-326/+210
| | | | | | | | | | | | | | Move the android recovery codes into common/recovery.c. Cut the keypad detecting time. Now we only need detect there's POWER and HOME key pressing at the time scanning keyboard matrix. So user must hold these two keys when bootup to enter recovery mode. This can reduce the uboot boot time with recovery mode configured. Later /cache file checking for recovery command should be merged into the common/recovery.c Signed-off-by: Xinyu Chen <xinyu.chen@freescale.com>
* ENGR00126764 MX50: Set the memroy size to 512M on LPDDR2 boardJason Liu2010-08-27-2/+2
| | | | | | Set the memroy size to 512M on LPDDR2 board Signed-off-by: Jason Liu <r64343@freescale.com>
* ENGR00126566 MX50:Aligned LPDDR2 initialization to the latest scriptJason Liu2010-08-23-2/+2
| | | | | | | Aligned LPDDR2 initialization to the latest script Signed-off-by: Ranjani Vaidyanathan <ra5478@freescale.com> Signed-off-by: Jason Liu <r64343@freescale.com>
* ENGR00126474 UBOOT: update DDR script on MX50 ARM2Jason Liu2010-08-19-73/+32
| | | | | | | | | | | | | | Update DDR script to latest according to the wiki page http://wiki.freescale.net/pages/viewpage.action?pageId=25405083 Latest LPDDR1 (mDDR) init script can work with 200Mhz (updated on 7/13): lpddr1_init_200MHz_size_shrink_MK.inc Latest LPDDR2 init script can work with 266Mhz (shrinked version and updated by Mike on July.7th): lpddr2_init_266MHz_shrinked_tommy_MK.inc Signed-off-by: Jason Liu <r64343@freescale.com>
* ENGR00126079: Add clk command support for mx51Terry Lv2010-08-11-32/+693
| | | | | | Add clk command support for mx51. Signed-off-by: Terry Lv <r65388@freescale.com>
* ENGR00125237: Fix incorrect copyright info.Terry Lv2010-08-04-31/+61
| | | | | | Fix incorrect copyright info. Signed-off-by: Terry Lv <r65388@freescale.com>
* ENGR00125324: Add splash screen code and support for epdcrel-imx-2.6.31-10.08.01rel-imx-2.6.31-10.08.00Terry Lv2010-08-03-0/+1120
| | | | | | Add splash screen code and support for epdc. Signed-off-by: Terry Lv <r65388@freescale.com>
* ENGR00125757 mx28: change the boot mode offset to TO1.2 versionAisheng.Dong2010-07-30-3/+10
| | | | | | The boot mode offset has been changed in TO1.2. Signed-off-by: Aisheng.Dong <b29396@freescale.com>
* ENGR00125735 iMX28 read mac address from fuseFrank Li2010-07-30-0/+268
| | | | | | Read mac address from fuse Signed-off-by: Frank Li <frank.li@freescale.com>
* ENGR00125613 mfg-tool: Add mx50 mfg firmware supportPeter Chen2010-07-27-1/+262
| | | | | | Add mx50 mfg firmware support Signed-off-by: Peter Chen <peter.chen@freescale.com>
* ENGR00125220 MX28: SD(slot0)boot dhcp failedJason Liu2010-07-22-25/+16
| | | | | | | This is caused by fec_pwr_en pin is mis-used which lead to FEC not power on. This commit fix this issue. Signed-off-by:Jason Liu <r64343@freescale.com>
* ENGR00125036 Uboot Add eMMC 4.4 supportAnish Trivedi2010-07-20-12/+193
| | | | | | | Enable DDR mode on ESDHC controller and mmc library Enable 8-bit support in mmc library Signed-off-by: Anish Trivedi <anish@freescale.com>
* ENGR00125174: MX50: change memory configurationsTerry Lv2010-07-16-3/+3
| | | | | | | | | | | | Currently we set mx508 memory as 128M which is not enough for android running. Based on hardware team's input, mDDR boards support 512MB totally, while we only mount half of them. LPDDR2 boards support 512MB. So we will modify mddr configuration as 256M and LPDDR2 as 512M. Signed-off-by: Terry Lv <r65388@freescale.com>
* ENGR00123924: Reconstructure fuse files and add fuse to mx53.Terry Lv2010-07-16-249/+446
| | | | | | | | | | 1. Reconstructure fuse. Move fuse files to common directory. 2. Read mac from fuse in fec. 3. Remove scc and srk command from fuse command. 4. Change fuse to iim. 5. Add fuse for mx53. Signed-off-by: Terry Lv <r65388@freescale.com>
* ENGR00125045 MX53 Uboot: Adjust VDDGP voltageLily Zhang2010-07-14-3/+3
| | | | | | | 1. Adjust VDDGP voltage for 800MHZ as 1.05v. 2. Correct VDDA comments Signed-off-by: Lily Zhang <r58066@freescale.com>
* ENGR00125042 mx35: Fix error in a comment for header filePeter Chen2010-07-12-1/+1
| | | | | | | Fix error in a comment for header file Fix ppp review about error board description Signed-off-by: Peter Chen <peter.chen@freescale.com>
* ENGR00124984 MX53:Add spi_get_cfg function supportJason Liu2010-07-09-0/+32
| | | | | | | | Add spi_get_cfg function due to the function has been made platform specific and moved out of spi driver. This also fix the build break for mx53 uboot Signed-off-by:Jason Liu <r64343@freescale.com>
* ENGR00124627: Dynamic SD slot support for env data.Terry Lv2010-07-08-68/+89
| | | | | | | | MMC init failed when boot with upper SD slot while succesful with lower slot. This patch will fix it. Signed-off-by: Terry Lv <r65388@freescale.com>
* ENGR00124912 MX53: Fix board ID check issueLily Zhang2010-07-08-1/+1
| | | | | | | | Accoring to board identification table, the ADC data register value range between "0xB9E79F - 0xC00000" indicates 21. Signed-off-by: Lily Zhang <r58066@freescale.com>
* ENGR00124951 Uboot cannot initialize MMC cardsAnish Trivedi2010-07-07-6/+4
| | | | | | | | Removed low voltage (1.8V) from supported voltage ranges. Changed SD2_CMD pad setting to enable SD2 r/w in uboot. Loaded env from booted device instead of SD1 always. Signed-off-by: Anish Trivedi <anish@freescale.com>
* ENGR00124954 MX50: init sys by ROM plug-in featureJason Liu2010-07-08-307/+752
| | | | | | | | | | | | | | | Use ROM plug-in feature to init DDR and re-config PLL1 to 800Mhz due to ROM set it to 799Mhz. Plug-in has the following benifit from ROM team comments, 1. DCD size limitation issue, plugin can be the size of OCRAM free space region which is 72KB. 2. Safe environment to re-configure PLL1 (without impacting SDRAM) as the plugin runs from OCRAM. This could get around the issue of some boards running with ARM @ 192MHz due to the incorrect GPIO configuration for Low Power Boot. 3. Ability to have one bootloader binary for both LPDDR1 & LPDDR2 platforms. Signed-off-by: Jason Liu <r64343@freescale.com>
* ENGR00124953 Uboot:Fix the build break for MX51 BBG boardJason Liu2010-07-08-1/+1
| | | | | | Fix the build break for MX51 BBG board Signed-off-by: Jason Liu <r64343@freescale.com>
* ENGR00124359 Add uboot support for MX50Jason Liu2010-07-07-0/+5383
| | | | | | | | | | | | | | Add initial support for MX50 -Support mddr200Mhz, lpddr2266Mhz ARM2 board, -Support boot from SD/MMC, -Support boot from SPI-NOR, -Support FEC, UART, -Support SD/MMC/SPI command within UBOOT Signed-off-by: Anish Trivedi <anish@freescale.com> Signed-off-by: Terry Lv <r65388@freescale.com> Signed-off-by: Jason Liu <r64343@freescale.com>
* ENGR00124908 CSPI: make spi_get_cfg platform specificJason Liu2010-07-07-52/+62
| | | | | | | CSPI: make spi_get_cfg platform specific move the spi_get_cfg out of the cspi/ecspi driver Signed-off-by:Jason Liu <r64343@freescale.com>
* ENGR00124819 Uboot reading/writing sd card failsAnish Trivedi2010-07-01-1/+5
| | | | | | | Updated MMC_PARTITION_SWITCH function to not return failure for partition 0 Signed-off-by: Anish trivedi <anish@freescale.com>
* ENGR00124710 MX53 Uboot: Add MFG tool supportLily Zhang2010-06-28-0/+225
| | | | | | Add MFG tool support for MX53 EVK Signed-off-by: Lily Zhang <r58066@freescale.com>
* ENGR00124652 UBOOT: MX53 env fails to load when booting from 2nd slotAnish Trivedi2010-06-24-0/+12
| | | | | | Added dynamic check for which sd slot used for boot Signed-off-by: Anish Trivedi <anish@freescale.com>
* ENGR00123782 Fix boot partition problem for emmcAnish Trivedi2010-06-24-134/+129
| | | | | | Enable boot partition in BOOT_CONFIG byte of EXT_CSD Signed-off-by: Anish Trivedi <anish@freescale.com>
* ENGR00122651: Add dwc_ahsata supportTerry Lv2010-06-24-46/+1559
| | | | | | Add dwc_ahsata support. Signed-off-by: Terry Lv <r65388@freescale.com>
* ENGR00124391 mx35: update mfg config filePeter Chen2010-06-17-50/+47
| | | | | | | The old config has big env size, and the u-boot.bin will larger than 1MB, the new one will less than 500KB Signed-off-by: Peter Chen <b29397@freescale.com>