* [U-Boot-Users] how can I run linux without tftp
@ 2005-05-11 6:08 zhonglei
2005-05-11 7:54 ` Wolfgang Denk
0 siblings, 1 reply; 3+ messages in thread
From: zhonglei @ 2005-05-11 6:08 UTC (permalink / raw)
To: u-boot
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 at 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
^ permalink raw reply [flat|nested] 3+ messages in thread
* [U-Boot-Users] how can I run linux without tftp
2005-05-11 6:08 [U-Boot-Users] how can I run linux without tftp zhonglei
@ 2005-05-11 7:54 ` Wolfgang Denk
0 siblings, 0 replies; 3+ messages in thread
From: Wolfgang Denk @ 2005-05-11 7:54 UTC (permalink / raw)
To: u-boot
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
--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
"There was no difference between the behavior of a god and the
operations of pure chance..." - Thomas Pynchon, _Gravity's Rainbow_
^ permalink raw reply [flat|nested] 3+ messages in thread
* [U-Boot-Users] how can I run linux without tftp
[not found] <200505111615.AA27132010@RCS-9000.COM>
@ 2005-05-11 8:57 ` Wolfgang Denk
0 siblings, 0 replies; 3+ messages in thread
From: Wolfgang Denk @ 2005-05-11 8:57 UTC (permalink / raw)
To: u-boot
In message <200505111615.AA27132010@RCS-9000.COM> you wrote:
> Thank you for your answer!
> But how can I do next if I don't have ethernet to give kernel the rootfs and want linux run on my target board?
Use a filesystem on some other device, like a ramdisk image, or a
cramfs or JFFS2 image in flash, or mount a file system on a harddisk
or compact flash card or on a USB memory stick or ... there are many,
many options. I don't know which options are available on your
hardware, though.
This has nothing to do with U-Boot.
Best regards,
Wolfgang Denk
--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
There is a multi-legged creature crawling on your shoulder.
-- Spock, "A Taste of Armageddon", stardate 3193.9
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2005-05-11 8:57 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-05-11 6:08 [U-Boot-Users] how can I run linux without tftp zhonglei
2005-05-11 7:54 ` Wolfgang Denk
[not found] <200505111615.AA27132010@RCS-9000.COM>
2005-05-11 8:57 ` Wolfgang Denk
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.