diff options
author | Lily Zhang <r58066@freescale.com> | 2010-10-14 16:42:19 +0800 |
---|---|---|
committer | Lily Zhang <r58066@freescale.com> | 2010-10-17 18:04:52 +0800 |
commit | 9bbe28258c19c28f8f85c22c932bd119368cfacb (patch) | |
tree | 22fe342bd0594f37082c3d5aada765162773b5cc /lib_ppc | |
parent | d63c74683ab6063e0ca363bebe4f1f4b8197be33 (diff) | |
download | u-boot-imx-9bbe28258c19c28f8f85c22c932bd119368cfacb.zip u-boot-imx-9bbe28258c19c28f8f85c22c932bd119368cfacb.tar.gz u-boot-imx-9bbe28258c19c28f8f85c22c932bd119368cfacb.tar.bz2 |
ENGR00132617 MX53: add NAND support
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>
Diffstat (limited to 'lib_ppc')
0 files changed, 0 insertions, 0 deletions