summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeLines
* ENGR00133579 Uboot ESDHCv3 Remove workaround for DLLAnish Trivedi2010-12-01-9/+46
| | | | | | | | | | On MX50 TO 1.0, DLL did not work in slave mode, so slave override mode was used instead. Removed this workaround, except for TO 1.0. Starting with TO 1.1, the DLL in slave mode is working as expected. Signed-off-by: Anish Trivedi <anish@freescale.com> Signed-off-by: Terry Lv <r65388@freescale.com>
* ENGR00134098-2 MX53: Add fastboot support for android.Sammy He2010-11-26-1/+75
| | | | | | Add fastboot support for mx53 EVK android. Signed-off-by: Sammy He <r62914@freescale.com>
* ENGR00134098-1 MX51: Update fastboot usb init seqSammy He2010-11-26-52/+23
| | | | | | Update fastboot usb init seq, and use defined macro for coding. Signed-off-by: Sammy He <r62914@freescale.com>
* ENGR00133124: Add nand support for mx50 rdpTerry Lv2010-11-18-43/+309
| | | | | | Add nand support for mx50 rdp. Signed-off-by: Terry Lv <r65388@freescale.com>
* ENGR00133551-2 Add fastboot driver support for android.Sammy He2010-11-19-70/+852
| | | | | | | | | | | | | | | | | | | Add fastboot driver support for android. In this commit, basic fastboot command is supported. 1) Reboot board >fastboot reboot 2) Get information of board, e.g, product name >fastboot getvar product 3) Download images in PC and flash to SD card >fastboot flash bootloader u-boot-no-padding.bin >fastboot flash kernel uImage >fastboot flash uramdisk uramdisk.img >fastboot flash system system.img >fastboot flash recovery recovery.img Certainly, SD card must have been formatted as Android user guider doc already. Signed-off-by: Sammy He <r62914@freescale.com>
* ENGR00133551-1 Add freescale usb udc support for i.mx51 platform.Sammy He2010-11-18-1/+1420
| | | | | | | Add imx_udc for usb gadget on i.mx51 platform. Signed-off-by: Hu Hui <b29976@freescale.com> Signed-off-by: Sammy He <r62914@freescale.com>
* ENGR00133689 MX51: set MC13892 charge output voltage as 4.2VLily Zhang2010-11-17-3/+20
| | | | | | | | This patch is to set MC13892 charge regulator output voltage as 4.2V. It fixes a typo error for chip check and makes TO3 VCC and VDDA voltages keep sync with the spec. Signed-off-by: Lily Zhang <r58066@freescale.com>
* ENGR00133756:UBOOT:NAND:Remove the 2G limitation from NAND driverJason Liu2010-11-16-10/+0
| | | | | | | | | | Remove the 2G limitation from NAND driver since currently kernel can support more than 2GB NAND flash now. This commit will make NAND driver rescan the whole NAND to create one BBT and store to the last 4 blocks of the larger than 2GB NAND flash. This commit will have no effect on the NAND which size is not larger than 2GB. Signed-off-by: Jason Liu <r64343@freescale.com>
* ENGR00133743 Change code style of fastboot code to pass review-commits.Sammy He2010-11-17-261/+237
| | | | | | | cmd_fastboot.c and fastboot.h cannot pass review-commits, this patch only change code style to fix the errors, but not fixed all warnings. Signed-off-by: Sammy He <r62914@freescale.com>
* Get common/cmd_fastboot.c and include/fastboot.h from omap uboot git.Tom Rix2010-11-16-0/+2117
| | | | | | | | | | | The code realized common Android USB fastboot protocol. The snapshot can be found of the link: http://dev.omapzoom.org/?p=bootloader/u-boot.git;a=commit; h=9c7c5d8ea2326bf8d2d0bfbe670455fb497eb053 Signed-off-by: Tom Rix <Tom.Rix@windriver.com> Signed-off-by: Moiz Sonasath <m-sonasath@ti.com>
* ENGR00132909 MX53 Uboot: Support for TO2Anish Trivedi2010-11-15-366/+478
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Support new DDR script entitled "Rita_TO2_init_DDR2_CPU2_CMOS_TEST_CAL_v1.inc" for DDR2 boards including MX53 EVK, ARD, and ARM2 CPU2. These new settings did not apply to TO1. Therefore, changed the DCD for these boards to a plugin so that TO1 and TO2 can both be supported using conditional execution of new DDR settings. During bootup on TO2, DDR frequency is required to be below 400 MHz. Therefore, BOOT_CFG2[4] must be set to enable DDR at 333 MHz in ROM on all boards. Uboot determines silicon version and for TO2 boosts the VCC and VDDA voltages to 1.3V, after which the DDR frequency is also increased to 400 MHz. This requirement meant that uboot does not calibrate PLL2 anymore until the voltage is increased. Removed the calibration from lowlevel_init.S and from all mx53 include/configs files. Also required that during config_periph_clk(), only CBCMR register is touched to set source PLL. Other changes to CBCDR were removed. Switching to PLL2 bypass clk during reprogram was also removed. All these changes are required to increase DDR frequency to 400 MHz. DDR2 CPU2 board with TO1 requires the following hw cfgs: JP3 populated, and J8 set to 2-3. For DDR2 CPU2 board with TO2, both these jumpers should be depopulated. ARM2 CPU3 (with DDR3) DDR configurations were not changed. TO1 and TO2 can run well using existing DDR3 script. However, DCD was converted to plugin to align with other boards. Signed-off-by: Anish Trivedi <anish@freescale.com>
* ENGR00133530 plug-in support mfgtools and sb_loaderFrank Li2010-11-09-18/+24
| | | | | | | mfgtools and sb_loader can download plug-in and run plug-in to initilize DRAM. Signed-off-by: Frank Li <frank.li@freescale.com>
* ENGR00133049 Support nand flash for MX28Frank Li2010-11-04-27/+242
| | | | | | | Support nand basic read/write in MX28 u-boot. Signed-off-by: Frank Li <frank.li@freescale.com> Signed-off-by: Terry Lv <r65388@freescale.com>
* ENGR00132965 add MT29F16G08ABACA NAND descriptionLily Zhang2010-10-26-0/+5
| | | | | | Add MT29F16G08ABACA NAND description Signed-off-by: Lily Zhang <r58066@freescale.com>
* ENGR00132957 mfg-tool: should add stop usb operation for mx50 rdpPeter Chen2010-10-26-0/+7
| | | | | | | It should add stop usb operation for mx50 rdp, otherwise, the usb enumeration at kernel will be very slow Signed-off-by: Peter Chen <peter.chen@freescale.com>
* ENGR00132886 mx50-rdp: add mx50 rdp board mfg-tool firmware defconfigPeter Chen2010-10-22-0/+240
| | | | | | Add mx50 rdp board mfg-tool firmware configration Signed-off-by: Peter Chen <peter.chen@freescale.com>
* ENGR00132759 MX53: use 32K CLK as GPT sourceLily Zhang2010-10-19-38/+42
| | | | | | | | | | | | | MT29F16G08MAA NAND flash was failed on MX53 ARD/RevB board, but it's fine in RevA board. After check, it's found that udelay is not accurate on MX53 ARD/RevB board because GPT uses IPG peripheral clock and assume it is 50MHZ. However IPG peripheral clock is not 50MHZ in MX53 ARD/RevB board. So it causes udelay is not accurate. This patch changes GPT clk source as 32K to make udelay accurate. Signed-off-by: Lily Zhang <r58066@freescale.com>
* ENGR00132758 correct NFC_CLK definitionLily Zhang2010-10-19-5/+9
| | | | | | | | This patch is used to fix the issue caused by ENGR00132709. NFC_CLK definition should be used in cmd_clk interface. MXC_NFC_CLK should be used as internal clock name. Signed-off-by: Lily Zhang <r58066@freescale.com>
* ENGR00132727 NAND: remove REG_NFC_ONE_CYCLE callingLily Zhang2010-10-18-2/+0
| | | | | | | Remove REG_NFC_ONE_CYCLE calling from mxc_nand driver. Signed-off-by: Lily Zhang <r58066@freescale.com>
* ENGR00132709 MX53: add "clk nfc" command supportLily Zhang2010-10-18-0/+39
| | | | | | | | Add "clk nfc" command support. Limit NFC MAX clock as 34MHZ to be compatible with some old NAND flashes. Signed-off-by: Lily Zhang <r58066@freescale.com>
* 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>