Regarding NAND flash support in IMX31 and bootm in ubootv2
Hai,
I have populated ST 64MB chip and found that the nand flash commands work for ST 64MB chip.But the same NAND flash drivers does not work for SAMSUNG flash , Any Help?
Also one more issue is that the linux kernel boot is not seen after the "booting the kernel." , even though the kernel image works fine in old u-boot version 2009-08
Any help Please?
Arun
The log is
==============================
==============================
U-Boot 2.0.0-rc9 (Oct 21 2009 - 09:35:47)
Board: Phytec phyCORE-i.MX31
NAND device: Manufacturer ID: 0x20, Chip ID: 0x76 (ST Micro NAND 64MiB 3,3V 8-bi
t)
Scanning device for bad blocks
got MAC address from EEPROM: 00:08:EE:01:7B:56
mx31 cpu clock: 513MHz
ipg clock : 64133247Hz
Malloc space: 0x80000000 -> 0x80400000 (size 4 MB)
Stack space : 0x86000000 -> 0x86020000 (size 128 kB)
Open /dev/env0 No such file or directory
no valid environment found on /dev/env0. Using default environment running /env/bin/init...
Hit any key to stop autoboot: 2
type update_kernel nand|nor [<imagename>] to update kernel into flash type update_root nand|nor [<imagename>] to update rootfs into flash
uboot:/ devinfo
devices:
|----cs0 |----mem |----nor0 |----nand0 | |----nand0.kernel | | `----nand0.kernel.bb | `----nand0.root | | `----nand0.root.bb |----eth0 |----phy0 |----ram0 |----defaultenv |----filesystem: / |----filesystem: /dev
drivers:imx_serial
partition
smc911x
miiphynand_device
imx_nand
cfi_flash
mem
ram
rom
nand_bb
ramfs
devfs
uboot:/ update_kernel nand
phy0: Link is up - 100/Full
host 192.168.50.247 is alive
protect: Function not implemented
erasing partition /dev/nand0.kernel.bb
flashing uImage to /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: ####################################T #############################
#################################################################
#################################################################
#################################################################
#################################################################
###############################done
Bytes transferred = 1822068 (1bcd74 hex)
uboot:/bootm /dev/nand0.kernel.bb
Verifying Checksum ... OK
Image Name: Linux-2.6.24 Created: 2009-10-20 11:06:36 UTC Data Size: 1822004 Bytes = 1.7 MB
Load Address: 80008000
Entry Point: 80008000
OK
commandline: console=ttymxc0arch_number: 1673
Starting kernel ...
## Transferring control to Linux (at address 80008000) ... Uncompressing Linux............................................................. ............................................................... done, booting the kernel.
==============================================================