[U-Boot-Users] Questions of uImage on sbc8260 board

duo dong duodong_zheng at yahoo.com
Wed Dec 8 00:15:46 CET 2004


Thanks for you and Wolfgong's help.
Now I can just skip the msg of real time clock.

I made some changes of config file and the linux
starts booting without FLASH error msgs.

1. NFS 
> > VFS: Cannot open root device "" or 00:00 <<--??
> > Please append a correct "root=" boot option <<--??
> > Kernel panic: VFS: Unable to mount root fs on
> 00:00
> You need to specify a valid boot line to tell the
> kernel to use NFS for 
> the root file system.

Do I have to use NFS to boot ? My server has problem
and I'm using serial port only now. Is there another
way to avoid using server? If I can, what steps I
should follow?

2. I'm trying to use ramdisk because the server is off
and get errors. The kernel is build with reamdisk and
loaded into RAM. 

The envs are as:
=> printenv
bootdelay=5
ethaddr=00:a0:1e:a8:7b:cb
loads_echo=1
do_echo=1
ipaddr=10.0.0.99
serverip=10.0.0.2
netmask=255.0.0.0
hostname=SBC8260
rootpath=/opt/ELDK/ppc_82xx
bootcmd=bootp
filesize=1E661A
bootargs=boot=/dev/ram rw
stdin=serial
stdout=serial
stderr=serial
ver=U-Boot 1.0.2 (Nov 27 2004 - 10:55:29)
baudrate=57600


3. => bootm
## Booting image at 00400000 ...
   Image Name:   Linux Multiboot-Image
   Created:      2004-12-07  18:20:37 UTC
   Image Type:   PowerPC Linux Multi-File Image (gzip
compressed)
   Data Size:    1992154 Bytes =  1.9 MB
   Load Address: 00000000
   Entry Point:  00000000
   Contents:
   Image 0:   591944 Bytes = 578.1 kB
   Image 1:  1400198 Bytes =  1.3 MB
   Verifying Checksum ... OK
   Uncompressing Multi-File Image ... OK
## Current stack ends at 0x03F75B60 => set upper limit
to 0x00800000
## cmdline at 0x007FFF00 ... 0x007FFF10
bd address  = 0x03F75FB4
memstart    = 0x00000000
memsize     = 0x04000000
flashstart  = 0x40000000
flashsize   = 0x00400000
flashoffset = 0x00025000
sramstart   = 0x00000000
sramsize    = 0x00000000
immr_base   = 0xF0000000
bootflags   = 0x00000001
vco         =    264 MHz
sccfreq     =     66 MHz
brgfreq     =     66 MHz
intfreq     =    198 MHz
cpmfreq     =    132 MHz
busfreq     =     33 MHz
ethaddr     = 00:A0:1E:A8:7B:CB
IP addr     = 10.0.0.99
baudrate    =  57600 bps
## initrd at 0x00490894 ... 0x005E6619
(len=1400198=0x155D86)
   Loading Ramdisk to 03e1f000, end 03f74d86 ... OK
## Transferring control to Linux (at address 00000000)
...
Memory BAT mapping: BAT2=64Mb, BAT3=0Mb, residual: 0Mb
Linux version 2.4.24-pre2 (root at localhost.localdomain)
(gcc version 3.2.2 20030217 (Yellow Dog Linux 3.0
3.2.2-
2a_1)) #1 Sun Dec 5 14:04:57 EST 2004
On node 0 totalpages: 16384
zone(0): 16384 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Kernel command line: boot=/dev/ram rw
Calibrating delay loop... 131.89 BogoMIPS
Memory: 61928k available (1028k kernel code, 376k
data, 56k init, 0k highmem)
Dentry cache hash table entries: 8192 (order: 4, 65536
bytes)
Inode cache hash table entries: 4096 (order: 3, 32768
bytes)
Mount cache hash table entries: 512 (order: 0, 4096
bytes)
Buffer cache hash table entries: 4096 (order: 2, 16384
bytes)
Page-cache hash table entries: 16384 (order: 4, 65536
bytes)
POSIX conformance testing by UNIFIX
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society
NET3.039
Initializing RT netlink socket
Starting kswapd
CPM UART driver version 0.01
ttyS0 on SMC1 at 0x0000, BRG7
ttyS1 on SMC2 at 0x0040, BRG8
ttyS2 on SCC1 at 0x8000, BRG1
ttyS3 on SCC2 at 0x8100, BRG2
pty: 256 Unix98 ptys configured
eth0: FCC2 ENET Version 0.4, 00:A0:1E:A8:7B:CC
RAMDISK driver initialized: 16 RAM disks of 4096K size
1024 blocksize
loop: loaded (max 8 devices)
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 4096 bind
8192)
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
RAMDISK: Compressed image found at block 0
crc error<6>Freeing initrd memory: 1367k freed <<--??
VFS: Cannot open root device "" or 00:00 <<--
Please append a correct "root=" boot option
Kernel panic: VFS: Unable to mount root fs on 00:00
<<--
 <0>Rebooting in 180 seconds..

4. I did not rebuild the ramdisk image, just use the
one from SELF. Do I need rebuild it?

Thanks again,

dd

--- Richard Danter <richard.danter at ntlworld.com>
wrote:

> duo dong wrote:
> > 
> > Warning: real time clock seems stuck! <<-- ???
> 
> This is normal for the sbc8260 and sbc8260ATM -
> there is no real-time 
> clock chip on board. Don't worry about it.
> 
> > 
> > 
> > CFI: Found no TQM8260 Bank 0 device at location
> zero
> > <<--??
> > 
> > TQM8260: No supported flash chips found! <<-- ??
> 
> Your using a build for the wrong board. There is a
> working build for the 
> SBC8260 which should work for the ATM version.
> 
> > 
> > VFS: Cannot open root device "" or 00:00 <<--??
> > Please append a correct "root=" boot option <<--??
> > Kernel panic: VFS: Unable to mount root fs on
> 00:00
> > <<--??
> 
> You need to specify a valid boot line to tell the
> kernel to use NFS for 
> the root file system.
> 
> 
> > 
> > The uImage is build by using TQM8260_config.
> > 
> > Q1. Can the uImage build by using TQM8260_config
> can
> > be used on sbc8260 board? If can not, which config
> I
> > should use?
> 
> Use the sbc8260_config. You may need to edit the
> sbc8260.h file for you 
> clock settings, etc.
> 
> > 
> > Q2. I marked several places above by "<<--??". Any
> one
> > see those before? If you do, please let me know
> how to
> > fix them.
> 
> See comments above.
> 
> If you need more help then let me know. I don't have
> an SBC8260ATM to 
> hand today, but I can get one.
> 
> Rich
> 
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 




More information about the U-Boot mailing list