[U-Boot] Regarding NAND flash support in IMX31
R Arun Kumar
paiarunk at gmail.com
Fri Oct 16 13:02:42 CEST 2009
Hai,
After rechecking all the nand related code, I found that the register
address definition is not proper in imx31_regs.h (there is one #if 0, which
needs to be made #if 1) and found that the *addpart *and *nand -a *and *erase
*are been working. But the file copy been not working, Any help
The log
*============================================
U-Boot 2.0.0-rc9 (Oct 16 2009 - 15:30:39)
Board: Phytec phyCORE-i.MX31
NAND device: Manufacturer ID: 0xec, Chip ID: 0xda (Samsung NAND 256MiB 3,3V
8-bi
t)
Scanning device for bad blocks
got MAC address from EEPROM: 00:08:EE:01:86:71
mx31 cpu clock: 513MHz
ipg clock : 64133247Hz
Malloc space: 0x87b00000 -> 0x87f00000 (size 4 MB)
Stack space : 0x87af8000 -> 0x87b00000 (size 32 kB)
envfs: wrong magic on /dev/env0
no valid environment found on /dev/env0. Using default environment
running /env/bin/init...
Hit any key to stop autoboot: 5
type update_kernel nand|nor [<imagename>] to update kernel into flash
type update_root nand|nor [<imagename>] to update rootfs into flash
uboot:/
uboot:/ devinfo
devices:
|----cs0
|----mem
|----nor0
| |----self0
| `----env0
|----nand0
| |----nand0.uboot
| | `----nand0.uboot.bb
| |----nand0.ubootenv
| | `----nand0.ubootenv.bb
| |----nand0.kernel
| | `----nand0.kernel.bb
| `----nand0.root
| | `----nand0.root.bb
|----eth0
|----phy0
|----ram0
|----defaultenv
|----filesystem: /
|----filesystem: /dev
drivers:
imx_serial
partition
smc911x
miiphy
nand_device
imx_nand
cfi_flash
mem
ram
rom
nand_bb
ramfs
devfs
uboot:/ erase /dev/nand0.kernel.bb
uboot:/ tftp uImage /dev/nand0.kernel.bb
phy0: Link is up - 100/Full
TFTP from server 192.168.50.247; our IP address is 192.168.50.182
Filename 'uImage'.
Loading: #write: No space left on device
uboot:/
============================================
*
R Arun Kumar
More information about the U-Boot
mailing list