hi
I have two questions here
first is about TI81XX_PSP_U-boot.pdf, the chapter about creating JFFS2 File-system said:(refer flash layout for individual flash devices and partition creation order for exact number. Use 'cat /proc/partitions' at Linux prompt for the list of partitions)
I can figure out how to get the exact number of the partition. And the command as "cat /proc/partitions" ,i do not know where to use. it can not be used in u-boot.
second problem is that when i flash u-boot and kernel and fs all to nand, but when set the bootargs and bootcmd as below. it didn't come up.
bootargs=console=ttyO2,115200n8 root=/dev/mtdblock 7 rw rootfstype=jffs2 mem=100M earlyprintk
setenv bootargs 'console=ttyO2,115200n8 root=/dev/mtdblock 7 rw rootfstype=jffs2 mem=100M earlyprintk ip=none'
the following the last info when boot failed.
ALSA device list:
#0: TI81XX EVM
#1: TI81XX EVM (HDMI)
TCP cubic registered
NET: Registered protocol family 17
VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
omap_voltage_late_init: Voltage driver support not added
Power Management for TI81XX.
smartreflex-ti816x: ti816x_sr_probe done!
omap_rtc omap_rtc: setting system clock to 2000-01-01 00:00:01 UTC (946684801)
usb 2-1: new high speed USB device using musb-hdrc and address 2
usb 2-1: New USB device found, idVendor=0424, idProduct=2512
usb 2-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
hub 2-1:1.0: USB hub found
hub 2-1:1.0: 2 ports detected
mmc0: error -110 whilst initialising SD card
ata1: SATA link down (SStatus 0 SControl 300)
ata2: SATA link down (SStatus 0 SControl 300)
Root-NFS: no NFS server address
VFS: Unable to mount root fs via NFS, trying floppy.
List of all partitions:
1f00 131072 mtdblock0 (driver?)
1f01 2432 mtdblock1 (driver?)
1f02 128 mtdblock2 (driver?)
1f03 3072 mtdblock3 (driver?)
1f04 4352 mtdblock4 (driver?)
1f05 514304 mtdblock5 (driver?)
No filesystem could mount root, tried: jffs2
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(2,0)
Backtrace:
[<c0048b90>] (dump_backtrace+0x0/0x110) from [<c0376580>] (dump_stack+0x18/0x1c)
r7:c2c15000 r6:c006dac0 r5:c002db04 r4:c04e6b90
[<c0376568>] (dump_stack+0x0/0x1c) from [<c03765e4>] (panic+0x60/0x17c)
[<c0376584>] (panic+0x0/0x17c) from [<c0009254>] (mount_block_root+0x1e0/0x220)
r3:00000000 r2:00000020 r1:c2c25f58 r0:c0427eac
[<c0009074>] (mount_block_root+0x0/0x220) from [<c0009340>] (mount_root+0xac/0xcc)
[<c0009294>] (mount_root+0x0/0xcc) from [<c00094d0>] (prepare_namespace+0x170/0x1d4)
r4:c04e6464
[<c0009360>] (prepare_namespace+0x0/0x1d4) from [<c0008784>] (kernel_init+0x114/0x154)
r5:c0008670 r4:c04e6400
[<c0008670>] (kernel_init+0x0/0x154) from [<c006dac0>] (do_exit+0x0/0x5e4)
r5:c0008670 r4:00000000
so who can help me find the problem? thank you all very much.