Hi, 
I finally tried the mighty davinci git kernel. ;) 
I'm able to make it start on EVM and on my board, that's ok.

unfortunately, I'm having some trouble in taking the rootfs from the SD 
card.

I found that with "ip=dhcp" in the cmdline, it handles correctly the mmc 
slot and recognizes the card inserted into it... 
(well, actually he hangs on starting cron service, but that's another 
tale!) ;)
I see something like that:
...
mmc1: new high speed SD card at address b368
mmcblk0: mmc1:b368 USD   1.85 GiB 
 mmcblk0: p1
...

Instead, without "ip=dhcp", or with "ip=none", it doesn't sees any mmc card 
at all:
....
Root-NFS: No NFS server available, giving up.
VFS: Unable to mount root fs via NFS, trying floppy.
VFS: Cannot open root device "mmcblk0p1" or unknown-block(2,0)
...
( can't stand why he search for a root-nfs too... )

I'm attaching both the boot log, on a DM355EVM board.

Any ideas?
Thanks, bye!
-- 
Andrea Gasparini 
---- ImaVis S.r.l. ----
web: www.imavis.com
(/mnt/lavoro/gigavision/not_svn_works/ubootscripts/) C-Kermit>send 
/mnt/montavista/tests/lsp/2.6.31/linux-davinci/arch/arm/boot/uImage
(/mnt/lavoro/gigavision/not_svn_works/ubootscripts/) C-Kermit>connect
Connecting to /dev/ttyUSB1, speed 115200
 Escape character: Ctrl-\ (ASCII 28, FS): enabled
Type the escape character followed by C to get back,
or followed by ? to see other options.
----------------------------------------------------
## Total Size      = 0x0016a814 = 1484820 Bytes
## Start Addr      = 0x80700000
DM355 EVM # setenv bootargs 'console=ttyS0,115200n8 ip=dhcp root=/dev/mmcblk0p1 
ro'
DM355 EVM # bootm
## Booting image at 80700000 ...
   Image Name:   Linux-2.6.31-rc7-davinci1-06290-
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    1484756 Bytes =  1.4 MB
   Load Address: 80008000
   Entry Point:  80008000
   Verifying Checksum ... OK
OK

Starting kernel ...

Uncompressing 
Linux.................................................................................................
 done, booting the kernel.
Linux version 2.6.31-rc7-davinci1-06290-gdb61e2e (ga...@saturnino) (gcc version 
4.3.3 (Sourcery G++ Lite 2009q1-203) ) #2 PREEMPT Fri Sep 11 14:48:43 CEST 2009
CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177
CPU: VIVT data cache, VIVT instruction cache
Machine: DaVinci DM355 EVM
Memory policy: ECC disabled, Data cache writeback
DaVinci dm355 variant 0x0
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 32512
Kernel command line: console=ttyS0,115200n8 ip=dhcp root=/dev/mmcblk0p1 ro
PID hash table entries: 512 (order: 9, 2048 bytes)
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Memory: 128MB = 128MB total
Memory: 126592KB available (2736K code, 297K data, 124K init, 0K highmem)
SLUB: Genslabs=11, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
NR_IRQS:245
Console: colour dummy device 80x30
Calibrating delay loop... 107.31 BogoMIPS (lpj=536576)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
DaVinci: 104 gpio irqs
NET: Registered protocol family 16
MUX: initialized INT_EDMA_CC
MUX: Setting register INT_EDMA_CC
           INTMUX (0x00000018) = 0x00000000 -> 0x00000004
bio: create slab <bio-0> at 0
dm355evm_msp 1-0025: firmware v.A5, imager as video-in
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 4096 (order: 3, 32768 bytes)
TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
TCP: Hash tables configured (established 4096 bind 4096)
TCP reno registered

NET: Registered protocol family 1
msgmni has been set to 247
io scheduler noop registered
io scheduler anticipatory registered (default)
Serial: 8250/16550 driver, 3 ports, IRQ sharing disabled
serial8250.0: ttyS0 at MMIO 0x1c20000 (irq = 40) is a 16550A
console [ttyS0] enabled
serial8250 serial8250.0: unable to register port at index 1 (IO0 MEM1c20400 
IRQ41): -22
serial8250 serial8250.0: unable to register port at index 2 (IO0 MEM1e06000 
IRQ14): -22
brd: module loaded
dm9000 Ethernet Driver, V1.31
eth0: dm9000a at c8814000,c8818002 IRQ 65 MAC: 00:0e:99:02:c3:aa (eeprom)
console [netcon0] enabled
netconsole: network logging started
i2c /dev entries driver
davinci_mmc davinci_mmc.0: Using DMA, 4-bit mode
davinci_mmc davinci_mmc.1: Using DMA, 4-bit mode
TCP cubic registered
NET: Registered protocol family 17
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
Clocks: disable unused vpss_master
Clocks: disable unused vpss_slave
Clocks: disable unused mjcp
Clocks: disable unused uart1
Clocks: disable unused uart2
Clocks: disable unused asp0
Clocks: disable unused asp1
Clocks: disable unused spi0
Clocks: disable unused spi1
Clocks: disable unused spi2
Clocks: disable unused pwm0
Clocks: disable unused pwm1
Clocks: disable unused pwm2
Clocks: disable unused pwm3
Clocks: disable unused timer1
Clocks: disable unused timer3
Clocks: disable unused rto
Clocks: disable unused usb
mmc1: new high speed SD card at address b368
mmcblk0: mmc1:b368 USD   1.85 GiB 
 mmcblk0: p1
eth0: link down
eth0: link up, 100Mbps, full-duplex, lpa 0x45E1
Sending DHCP requests ., OK
IP-Config: Got DHCP answer from 192.168.1.203, my address is 192.168.1.80
IP-Config: Complete:
     device=eth0, addr=192.168.1.80, mask=255.255.255.0, gw=192.168.1.254,
     host=192.168.1.80, domain=imavis.com, nis-domain=(none),
     bootserver=192.168.1.203, rootserver=192.168.1.203, 
rootpath=/mnt/installer/nfsroot
VFS: Mounted root (ext2 filesystem) readonly on device 179:1.
Freeing init memory: 124K
INIT: version 2.86 booting
Starting the hotplug events dispatcher: udevd.
Synthesizing the initial hotplug events...done.
Waiting for /dev to be fully populated...done.
Activating swap...done.
Checking root file system...fsck from util-linux-ng 2.16
EXT2-fs warning: mounting unchecked fs, running e2fsck is recommended
done.
Cleaning up ifupdown....
Loading kernel modules...done.
Checking file systems...fsck from util-linux-ng 2.16
done.
Setting up networking....
Mounting local filesystems...done.
Activating swapfile swap...done.
Cleaning up temporary files....
Configuring network interfaces...done.
Cleaning up temporary files....
INIT: Entering runlevel: 2
Starting enhanced syslogd: rsyslogd.
Starting periodic command scheduler: cron.
=========================================

TI UBL Version: 1.30
Compiled on Feb 19 2009 at 17:41:40

Booting Catalog Boot Loader
BootMode = NAND
Starting NAND Copy...
:146:NAND_open
Valid MagicNum found.
   DONE
Jumping to entry point at 0x81080000.


U-Boot 1.2.0 (Mar 21 2009 - 05:12:20)

DRAM:  128 MB
NAND:  NAND device: Manufacturer ID: 0x2c, Chip ID: 0xd3 (Micron NAND 1GiB 3,3V 
8-bit)
Bad block table found at page 524224, version 0x01
Bad block table found at page 524160, version 0x01
NAND device: Manufacturer ID: 0x2c, Chip ID: 0xd3 (Micron NAND 1GiB 3,3V 8-bit)
Bad block table found at page 524224, version 0x01
Bad block table found at page 524160, version 0x01
2048 MiB
In:    serial
Out:   serial
Err:   serial
ARM Clock :- 216MHz
DDR Clock :- 171MHz
Hit any key to stop autoboot:  0 
DM355 EVM # loadb
## Ready for binary (kermit) download to 0x80700000 at 115200 bps...

(Back at saturnino)
----------------------------------------------------
(/mnt/lavoro/gigavision/not_svn_works/ubootscripts/) C-Kermit>send 
/mnt/montavista/tests/lsp/2.6.31/linux-davinci/arch/arm/boot/uImage
(/mnt/lavoro/gigavision/not_svn_works/ubootscripts/) C-Kermit>connect
Connecting to /dev/ttyUSB1, speed 115200
 Escape character: Ctrl-\ (ASCII 28, FS): enabled
Type the escape character followed by C to get back,
or followed by ? to see other options.
----------------------------------------------------
## Total Size      = 0x0016a814 = 1484820 Bytes
## Start Addr      = 0x80700000


----------------------------------------------------
(/mnt/lavoro/gigavision/not_svn_works/ubootscripts/) C-Kermit>send 
/mnt/montavista/tests/lsp/2.6.31/linux-davinci/arch/arm/boot/uImage
(/mnt/lavoro/gigavision/not_svn_works/ubootscripts/) C-Kermit>connect
Connecting to /dev/ttyUSB1, speed 115200
 Escape character: Ctrl-\ (ASCII 28, FS): enabled
Type the escape character followed by C to get back,
or followed by ? to see other options.
----------------------------------------------------
## Total Size      = 0x0016a814 = 1484820 Bytes
## Start Addr      = 0x80700000
DM355 EVM # setenv bootargs 'console=ttyS0,115200n8  root=/dev/mmcblk0p1 ro'
DM355 EVM # bootm
## Booting image at 80700000 ...
   Image Name:   Linux-2.6.31-rc7-davinci1-06290-
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    1484756 Bytes =  1.4 MB
   Load Address: 80008000
   Entry Point:  80008000
   Verifying Checksum ... OK
OK

Starting kernel ...

Uncompressing 
Linux.................................................................................................
 done, booting the kernel.
Linux version 2.6.31-rc7-davinci1-06290-gdb61e2e (ga...@saturnino) (gcc version 
4.3.3 (Sourcery G++ Lite 2009q1-203) ) #2 PREEMPT Fri Sep 11 14:48:43 CEST 2009
CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177
CPU: VIVT data cache, VIVT instruction cache
Machine: DaVinci DM355 EVM
Memory policy: ECC disabled, Data cache writeback
DaVinci dm355 variant 0x0
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 32512
Kernel command line: console=ttyS0,115200n8 root=/dev/mmcblk0p1 ro
PID hash table entries: 512 (order: 9, 2048 bytes)
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Memory: 128MB = 128MB total
Memory: 126592KB available (2736K code, 297K data, 124K init, 0K highmem)
SLUB: Genslabs=11, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
NR_IRQS:245
Console: colour dummy device 80x30
Calibrating delay loop... 107.31 BogoMIPS (lpj=536576)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
DaVinci: 104 gpio irqs
NET: Registered protocol family 16
MUX: initialized INT_EDMA_CC
MUX: Setting register INT_EDMA_CC
           INTMUX (0x00000018) = 0x00000000 -> 0x00000004
bio: create slab <bio-0> at 0
dm355evm_msp 1-0025: firmware v.A5, imager as video-in
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 4096 (order: 3, 32768 bytes)
TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
TCP: Hash tables configured (established 4096 bind 4096)
TCP reno registered
NET: Registered protocol family 1
msgmni has been set to 247
io scheduler noop registered
io scheduler anticipatory registered (default)
Serial: 8250/16550 driver, 3 ports, IRQ sharing disabled
serial8250.0: ttyS0 at MMIO 0x1c20000 (irq = 40) is a 16550A
console [ttyS0] enabled
serial8250 serial8250.0: unable to register port at index 1 (IO0 MEM1c20400 
IRQ41): -22
serial8250 serial8250.0: unable to register port at index 2 (IO0 MEM1e06000 
IRQ14): -22
brd: module loaded
dm9000 Ethernet Driver, V1.31
eth0: dm9000a at c8814000,c8818002 IRQ 65 MAC: 00:0e:99:02:c3:aa (eeprom)
console [netcon0] enabled
netconsole: network logging started
i2c /dev entries driver
davinci_mmc davinci_mmc.0: Using DMA, 4-bit mode
davinci_mmc davinci_mmc.1: Using DMA, 4-bit mode
TCP cubic registered
NET: Registered protocol family 17
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
Clocks: disable unused vpss_master
Clocks: disable unused vpss_slave
Clocks: disable unused mjcp
Clocks: disable unused uart1
Clocks: disable unused uart2
Clocks: disable unused asp0
Clocks: disable unused asp1
Clocks: disable unused spi0
Clocks: disable unused spi1
Clocks: disable unused spi2
Clocks: disable unused pwm0
Clocks: disable unused pwm1
Clocks: disable unused pwm2
Clocks: disable unused pwm3
Clocks: disable unused timer1
Clocks: disable unused timer3
Clocks: disable unused rto
Clocks: disable unused usb
Root-NFS: No NFS server available, giving up.
VFS: Unable to mount root fs via NFS, trying floppy.
VFS: Cannot open root device "mmcblk0p1" 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)
Backtrace: 
[<c002b784>] (dump_backtrace+0x0/0x114) from [<c0233e58>] (dump_stack+0x18/0x1c)
 r7:00008001 r6:c7811000 r5:c0021808 r4:c02f44b8
[<c0233e40>] (dump_stack+0x0/0x1c) from [<c0233eb0>] (panic+0x54/0x124)
[<c0233e5c>] (panic+0x0/0x124) from [<c0008f9c>] (mount_block_root+0x1e0/0x220)
 r3:00000001 r2:c7823e98 r1:c7823f60 r0:c0299abd
[<c0008dbc>] (mount_block_root+0x0/0x220) from [<c00090a0>] 
(mount_root+0xc4/0xfc)
 r8:00000000 r7:00000000 r6:00000000 r5:00000000 r4:00200000
[<c0008fdc>] (mount_root+0x0/0xfc) from [<c0009248>] 
(prepare_namespace+0x170/0x1c8)
 r5:c0021808 r4:c02f3f84
[<c00090d8>] (prepare_namespace+0x0/0x1c8) from [<c0008498>] 
(kernel_init+0xe0/0x114)
 r5:00000000 r4:c02f3f60
[<c00083b8>] (kernel_init+0x0/0x114) from [<c003fa98>] (do_exit+0x0/0x65c)
 r5:00000000 r4:00000000



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

Reply via email to