Robert W. Kuhn wrote:
Am Fri, 7 Mar 2008 18:02:30 +0530 schrieb Subbrathnam, Swaminathan:


        There seems to be no HDD connected though the bootargs assumed
that the rootfs is on HDD.


The 'root=/dev/hda1'-option is the same as with kernel 2.6.10?!?!


The enviroment:
DaVinci EVM # printenv
bootdelay=3
bootcmd=setenv setboot setenv bootargs $(bootargs) video=dm64xxfb:output=$(video
std);run setboot;bootm 0x2050000
stdin=serial
stdout=serial
stderr=serial
ethaddr=00:0e:99:02:5c:3e
videostd=pal
bootargs=mem=64m console=ttyS0,115200n8 rw noinitrd ip=172.16.0.2 root=/dev/hda1
ipaddr=172.16.0.2
serverip=172.16.0.1
bootfile=uImage

Robert


The whole output while booting:
Uncompressing Linux.............................................................
................................ done, booting the kernel.
Linux version 2.6.24-davinci1 (...) (gcc version 4.2.1 (CodeSourcery
 Sourcery G++ Lite 2007q3-51)) #2 Fri Mar 7 12:36:21 CET 2008
CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177
Machine: DaVinci EVM
Memory policy: ECC disabled, Data cache writeback
DaVinci DM6446 variant 0x0
CPU0: D VIVT write-back cache
CPU0: I cache: 16384 bytes, associativity 4, 32 byte lines, 128 sets
CPU0: D cache: 8192 bytes, associativity 4, 32 byte lines, 64 sets
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 16256
Kernel command line: mem=64m console=ttyS0,115200n8 rw noinitrd ip=172.16.0.2 ro
ot=/dev/hda1
PID hash table entries: 256 (order: 8, 1024 bytes)
Console: colour dummy device 80x30
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Memory: 64MB = 64MB total
Memory: 61860KB available (2644K code, 239K data, 120K init)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
net_namespace: 64 bytes
NET: Registered protocol family 16
DaVinci: 71 gpio irqs
NET: Registered protocol family 2
Time: timer0_1 clocksource has been installed.
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 2048 (order: 2, 16384 bytes)
TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
TCP: Hash tables configured (established 2048 bind 2048)
TCP reno registered
JFFS2 version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
io scheduler noop registered
io scheduler anticipatory registered (default)
Setting Up Clocks for DM420 OSD
Console: switching to colour frame buffer device 90x30
fb0: dm_osd0_fb frame buffer device
fb1: dm_vid0_fb frame buffer device
fb2: dm_osd1_fb frame buffer device
fb3: dm_vid1_fb frame buffer device
i2c_davinci i2c_davinci.1: timeout waiting for bus ready
..
i2c_davinci i2c_davinci.1: timeout waiting for bus ready
Serial: 8250/16550 driver $Revision: 1.90 $ 2 ports, IRQ sharing disabled
serial8250.0: ttyS0 at MMIO 0x1c20000 (irq = 40) is a 16550A
console [ttyS0] enabled
RAMDISK driver initialized: 1 RAM disks of 32768K size 1024 blocksize
TI DaVinci EMAC: MAC address is deadbeaf
TI DaVinci EMAC Linux version updated 4.0
TI DaVinci EMAC: Installed 1 instances.
console [netcon0] enabled
Linux version 2.6.24-davinci1 (...) (gcc version 4.2.1 (CodeSourcery
 Sourcery G++ Lite 2007q3-51)) #2 Fri Mar 7 12:36:21 CET 2008
CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177
Machine: DaVinci EVM
Memory policy: ECC disabled, Data cache writeback
DaVinci DM6446 variant 0x0
CPU0: D VIVT write-back cache
CPU0: I cache: 16384 bytes, associativity 4, 32 byte lines, 128 sets
CPU0: D cache: 8192 bytes, associativity 4, 32 byte lines, 64 sets
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 16256
Kernel command line: mem=64m console=ttyS0,115200n8 rw noinitrd ip=172.16.0.2 ro
ot=/dev/hda1
PID hash table entries: 256 (order: 8, 1024 bytes)
Console: colour dummy device 80x30
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Memory: 64MB = 64MB total
Memory: 61860KB available (2644K code, 239K data, 120K init)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
net_namespace: 64 bytes
NET: Registered protocol family 16
DaVinci: 71 gpio irqs
NET: Registered protocol family 2
Time: timer0_1 clocksource has been installed.
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 2048 (order: 2, 16384 bytes)
TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
TCP: Hash tables configured (established 2048 bind 2048)
TCP reno registered
JFFS2 version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
io scheduler noop registered
io scheduler anticipatory registered (default)
Setting Up Clocks for DM420 OSD
Console: switching to colour frame buffer device 90x30
fb0: dm_osd0_fb frame buffer device
fb1: dm_vid0_fb frame buffer device
fb2: dm_osd1_fb frame buffer device
fb3: dm_vid1_fb frame buffer device
i2c_davinci i2c_davinci.1: timeout waiting for bus ready
.
i2c_davinci i2c_davinci.1: timeout waiting for bus ready
Serial: 8250/16550 driver $Revision: 1.90 $ 2 ports, IRQ sharing disabled
serial8250.0: ttyS0 at MMIO 0x1c20000 (irq = 40) is a 16550A
console [ttyS0] enabled
RAMDISK driver initialized: 1 RAM disks of 32768K size 1024 blocksize
TI DaVinci EMAC: MAC address is deadbeaf
TI DaVinci EMAC Linux version updated 4.0
TI DaVinci EMAC: Installed 1 instances.
console [netcon0] enabled
netconsole: network logging started
Linux video capture interface: v2.00
i2c /dev entries driver
i2c_davinci i2c_davinci.1: timeout waiting for bus ready
..
i2c_davinci i2c_davinci.1: timeout waiting for bus ready
TLV320AIC23 I2C version 1.8 (10-Feb-2006)
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 50MHz system bus speed for PIO modes; override with idebus=xx
physmap platform flash device: 01000000 at 02000000
physmap-flash.0: Found 1 x16 devices at 0x0 in 16-bit bank
Support for command set 0001 not present
gen_probe: No supported Vendor Command Set found
physmap-flash physmap-flash.0: map_probe failed
mice: PS/2 mouse device common for all mice
TCP cubic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
IP-Config: Guessing netmask 255.255.0.0
IP-Config: Complete:
      device=eth0, addr=172.16.0.2, mask=255.255.0.0, gw=255.255.255.255,
     host=172.16.0.2, domain=, nis-domain=(none),
     bootserver=255.255.255.255, rootserver=255.255.255.255, rootpath=
Root-NFS: No NFS server available, giving up.
VFS: Unable to mount root fs via NFS, trying floppy.
VFS: Cannot open root device "hda1" or unknown-block(2,0)
Please append a correct "root=" boot option; here are the available partitions:
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(2,0)

As the IDE driver is new and nobody here confirmed yet that it is working I would propose to first boot to known working root fs. E.g. NFS. And then try to mount hard disk manually, at best with all debugging info available enabled. If this works, then switching to hard disk root fs will be the second step.

Dirk
_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to