[U-Boot-Users] how can I run linux without tftp

hi I have no ethernet device on my board,so I can only load linux img file via serial port using "loadb" command. But when I downloaded the img successfully and tried to boot the linux , the program stopped as follows: ********************************************************************** => loadb 00100000 ## Ready for binary (kermit) download to 0x00100000 at 115200 bps... ## Total Size = 0x000cb02a = 831530 Bytes ## Start Addr = 0x00100000 => bootm ## Booting image at 00100000 ... Image Name: Linux-2.4.25 Image Type: PowerPC Linux Kernel Image (gz Data Size: 831466 Bytes = 812 kB Load Address: 00000000 Entry Point: 00000000 Verifying Checksum ... OK Uncompressing Kernel Image ... OK Memory BAT mapping: BAT2=32Mb, BAT3=0Mb, residual: 0Mb Linux version 2.4.25 (root@198.87.102.69.netdial.caribe.net) (gcc version 3.2.2 20030217 (Yellow Dog Linux 3.0 3.2.2-2a_1)) #2 Tue May 10 14:19:41 CST 2005 On node 0 totalpages: 8192 zone(0): 8192 pages. zone(1): 0 pages. zone(2): 0 pages. Kernel command line: Calibrating delay loop... 263.78 BogoMIPS Memory: 29876k available (1456k kernel code, 460k data, 76k init, 0k highmem) Dentry cache hash table entries: 4096 (order: 3, 32768 bytes) Inode cache hash table entries: 2048 (order: 2, 16384 bytes) Mount cache hash table entries: 512 (order: 0, 4096 bytes) Buffer cache hash table entries: 1024 (order: 0, 4096 bytes) Page-cache hash table entries: 8192 (order: 3, 32768 bytes) POSIX conformance testing by UNIFIX PCI: Probing PCI hardware PCI: Cannot allocate resource region 0 of device 00:1a.0 Linux NET4.0 for Based upon Swansea University Computer Society NET3.039 Initializing RT netlink socket Starting kswapd Journalled Block Device driver loaded JFFS2 version 2.2. (C) 2001-2003 Red Hat, Inc. pty: 256 Unix98 ptys configured ttyS0 on PSC1 ttyS1 on PSC2 ttyS2 on PSC3 RAMDISK driver initialized: 16 RAM disks of 16384K size 1024 blocksize loop: loaded (max 8 devices) Uniform Multi-Platform E-IDE driver Revision: 7.00beta4-2.4 ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx Port Config is: 0x910 ipb=66MHz, set clock period to 15 GPIO config: 91050004 ATA invalid: 00800000 ATA hostcnf: 03000000 ATA pio1 : 100a0a00 ATA pio2 : 02040600 XLB Arb cnf: 0000a366 mpc5xxx_ide: Setting up IDE interface ide0... ATA DMA task: 5 Probing IDE interface ide0... ide0: Wait for ready failed before probe ! Probe at base[0x55](0x00000055) past the end of the map(0x00000000) Probe at base[0x55](0x00000055) past the end of the map(0x00000000) CFI: Found no Icecube Bank 0 device at location zero Icecube: No supported flash c NET4: Linux TCP/IP 1.0 for NET4.0 eth0: Phy @ 0x0, type GENERIC (0x007f007f) IP Protocols: ICMP, UDP, TCP, IGMP IP: routing cache hash table of 512 buckets, 4Kbytes TCP: Hash tables configured (established 2048 bind 4096) NET4: Unix domain sockets 1.0/SMP for Linux NET4.0. Root-NFS: No NFS server available, giving up. VFS: Unable to mount root fs via NFS, trying floppy. VFS: Cannot open root device "" or 02:00 Please append a correct "root=" boot option Kernel panic: VFS: Unable to mount root fs on 02:00 <0>Rebooting in 180 seconds.. *********************************************************************
Please give me a help! Thanks a lot! Best Regards zhonglei

In message 200505111408.AA28377416@RCS-9000.COM you wrote:
I have no ethernet device on my board,so I can only load linux img file via serial port using "loadb" command. But when I downloaded the img successfully and tried to boot the linux , the program stopped as follows:
...
Kernel command line:
...
VFS: Unable to mount root fs via NFS, trying floppy. VFS: Cannot open root device "" or 02:00 Please append a correct "root=" boot option Kernel panic: VFS: Unable to mount root fs on 02:00
Well, you don't pass any boot arguments to the linux kernel (like where to find a root filesystem), so your kernel quite naturally complains that he cannot find the root file system.
Looks perfectly normal to me.
Best regards,
Wolfgang Denk
participants (2)
-
Wolfgang Denk
-
zhonglei