* initrd problems on CLLF860T, please help.
@ 2001-02-14 19:00 Zheng, Haifei
2001-02-14 19:28 ` Page table -> SDR1 Sébastien Côté
` (2 more replies)
0 siblings, 3 replies; 5+ messages in thread
From: Zheng, Haifei @ 2001-02-14 19:00 UTC (permalink / raw)
To: 'linuxppc-embedded@lists.linuxppc.org'
Cc: 'greyham@research.canon.com.au'
Hi there,
We are trying to boot our CLLF860T board with an initrd. We are using Monta
Vista Hard Hat (kernel 2.2.14) and we built out own ramdisk image. ( I know
there is an example ramdisk.image.gz from Hard Hat but haven't found it) and
we are getting the following boot messages:
Load menu: press 123456789T key : <?> : T
target IP address : 0A14140A
target file name : current-initrd
address bias : 0
Starting tftp download:
inetARP(): OK
.1.2.4.8.16.32.64.128.256.512.1024.2048.4096.8192.16384
load_tftp(): OK
1359955 data bytes, 17216 S-records, 2657 tftp blocks, 0 repeated blocks
start address = 00200000
load_tftp_toMem(): OK
Transferring control to downloaded program
loaded at: 00200000 0020C580
relocated to: 00180000 0018C580
board data at: 001801C8 001801E4
relocated to: 00200100 0020011C
zimage at: 00207000 0026CB2E
initrd at: 0026CB2E 00285258
avail ram: 00286000 01000000
Linux/PPC load: root=/dev/ram
misc.c
Uncompressing Linux...done.
Now booting the kernel
Linux version 2.2.14 (root@shark) (gcc version 2.95.2 19991030 (2.95.3
prereleas
e/franzo)) #541 Wed Feb 14 09:57:22 PST 2001
m8xx_setup.c:92: Boot arguments: root=/dev/ram
initrd memory block starts: c026cb2e ends c0285258
time_init: decrementer frequency = 180000000/60
Calibrating delay loop... 47.82 BogoMIPS
Memory: 15028k available (748k kernel code, 464k data, 40k init)
[c0000000,c1000
000]
Dentry hash table entries: 2048 (order 2, 16k)
Buffer cache hash table entries: 16384 (order 4, 64k)
Page cache hash table entries: 4096 (order 2, 16k)
POSIX conformance testing by UNIFIX
Linux NET4.0 for Linux 2.2
Based upon Swansea University Computer Society NET3.039
NET4: Unix domain sockets 1.0 for Linux NET4.0.
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP
TCP: Hash tables configured (ehash 16384 bhash 16384)
Initializing RT netlink socket
Starting kswapd v 1.5
CPM UART driver version 0.03
ttyS00 at 0x0280 is a SMC
ttyS01 at 0x0380 is a SMC
ttyS02 at 0x0100 is a SCC
ttyS03 at 0x0200 is a SCC
pty: 256 Unix98 ptys configured
RAM disk driver initialized: 16 RAM disks of 4096K size
loop: registered device at major 7
eth0: CPM ENET Version 0.2, 00:10:ec:00:1a:0f
CONFIG_RPXCLASSIC
The FEC Ethernet specific entries in the device structure...
eth1: FEC ENET Version 0.2, 00:10:ec:80:1a:0f
fec: Phy @ 0x0, type LXT971 (0x001378e2)
fec: link up, 100 Mbps, full-duplex, auto complete
PPP: version 2.3.7 (demand dialling)
TCP compression code copyright 1989 Regents of the University of California
PPP line discipline registered.
Sending BOOTP requests.... OK
IP-Config: Got BOOTP answer from 10.20.20.10, my address is 10.20.20.11
RAMDISK: Compressed image found at block 0
VFS: Mounted root (romfs filesystem).
Freeing unused kernel memory: 40k int
Kernel panic: No init found. Try passing init= option to kernel.
Rebooting in 180 seconds..
Any help will be high appreciated.
Haifei
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 5+ messages in thread* Page table -> SDR1
2001-02-14 19:00 initrd problems on CLLF860T, please help Zheng, Haifei
@ 2001-02-14 19:28 ` Sébastien Côté
2001-02-14 21:17 ` initrd problems on CLLF860T, please help Dan Malek
2001-03-26 8:33 ` Jari Nguyen Trung Thanh
2 siblings, 0 replies; 5+ messages in thread
From: Sébastien Côté @ 2001-02-14 19:28 UTC (permalink / raw)
To: linuxppc-embedded
Hello again,
Can someone explain me how the base address for the page table is set ?
Looking at hashtable.S, it should be set to 0x180000 and be 256 kB long.
However, when SDR1 is set in turn_on_mmu (head.S), they use _SDR1 to set
the value but I couldn't find anywhere where _SDR1 is set!
Also, when I check the value in the register SRD1, the HTABORG part (bits
0-15) show 0xE so this isn't 0x180000. Finally, the value of HTABMASK
(bits 23-31) doesn't correcpond to what is recommended in the PowerPC book
from Motorola for 32 MB of RAM and a 256 kB page table.
To me, it seems like the page table isn't set up correctly but since I
don't really understand how it is done, maybe I'm wrong. I would also be
very surprised to get that far (jumping to the first instruction of init)
without page table. A little help about this would be very appreciated.
Sébastien Côté
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: initrd problems on CLLF860T, please help.
2001-02-14 19:00 initrd problems on CLLF860T, please help Zheng, Haifei
2001-02-14 19:28 ` Page table -> SDR1 Sébastien Côté
@ 2001-02-14 21:17 ` Dan Malek
2001-02-15 23:28 ` Graham Stoney
2001-03-26 8:33 ` Jari Nguyen Trung Thanh
2 siblings, 1 reply; 5+ messages in thread
From: Dan Malek @ 2001-02-14 21:17 UTC (permalink / raw)
To: Zheng, Haifei
Cc: 'linuxppc-embedded@lists.linuxppc.org',
'greyham@research.canon.com.au'
"Zheng, Haifei" wrote:
> Kernel panic: No init found. Try passing init= option to kernel.
Well, this kind of tells you something, doesn't it? Either you
don't have an init program of some type (even /bin/sh), or you don't
have enough shared libraries on the ram disk and the program can't
be loaded properly (although you often get messages about not able
to load some .so).
To start up /bin/sh, which is a good thing to try initially, you
need the entire glibc RPM from the CDK and libtermcap.so. You also
need that funky sym link:
/opt/hardhat/devkit/ppc/8xx/powerpc-hardhat-linux -> /
in the target filesystem.
-- Dan
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: initrd problems on CLLF860T, please help.
2001-02-14 21:17 ` initrd problems on CLLF860T, please help Dan Malek
@ 2001-02-15 23:28 ` Graham Stoney
0 siblings, 0 replies; 5+ messages in thread
From: Graham Stoney @ 2001-02-15 23:28 UTC (permalink / raw)
To: Dan Malek; +Cc: Zheng, Haifei, 'linuxppc-embedded@lists.linuxppc.org'
On Wed, Feb 14, 2001 at 04:17:16PM -0500, Dan Malek wrote:
> Well, this kind of tells you something, doesn't it?
This one comes up pretty often, so I've added a mention of it in the HOWTO
(including a link to Joe's cool ldd script) at:
http://penguinppc.org/usr/embedded/howto/PowerPC-Embedded-HOWTO-20.html
Regards,
Graham
--
Graham Stoney
Assistant Technology Manager
Canon Information Systems Research Australia
Ph: +61 2 9805 2909 Fax: +61 2 9805 2929
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: initrd problems on CLLF860T, please help.
2001-02-14 19:00 initrd problems on CLLF860T, please help Zheng, Haifei
2001-02-14 19:28 ` Page table -> SDR1 Sébastien Côté
2001-02-14 21:17 ` initrd problems on CLLF860T, please help Dan Malek
@ 2001-03-26 8:33 ` Jari Nguyen Trung Thanh
2 siblings, 0 replies; 5+ messages in thread
From: Jari Nguyen Trung Thanh @ 2001-03-26 8:33 UTC (permalink / raw)
To: Zheng, Haifei, linuxppc-embedded; +Cc: greyham
pls make sure you have the link in
/opt/hardhat/devkit/ppc/8xx/powerpc-hardhat-
linux -> /
you can check it in the past mailling list
hope this help,
Jari
----- Original Message -----
From: "Zheng, Haifei" <haifei.zheng@intel.com>
To: <linuxppc-embedded@lists.linuxppc.org>
Cc: <greyham@research.canon.com.au>
Sent: Thursday, February 15, 2001 3:00 AM
Subject: initrd problems on CLLF860T, please help.
>
> Hi there,
>
> We are trying to boot our CLLF860T board with an initrd. We are using
Monta
> Vista Hard Hat (kernel 2.2.14) and we built out own ramdisk image. ( I
know
> there is an example ramdisk.image.gz from Hard Hat but haven't found it)
and
> we are getting the following boot messages:
>
> Load menu: press 123456789T key : <?> : T
> target IP address : 0A14140A
> target file name : current-initrd
> address bias : 0
> Starting tftp download:
> inetARP(): OK
> .1.2.4.8.16.32.64.128.256.512.1024.2048.4096.8192.16384
> load_tftp(): OK
> 1359955 data bytes, 17216 S-records, 2657 tftp blocks, 0 repeated blocks
> start address = 00200000
> load_tftp_toMem(): OK
> Transferring control to downloaded program
> loaded at: 00200000 0020C580
> relocated to: 00180000 0018C580
> board data at: 001801C8 001801E4
> relocated to: 00200100 0020011C
> zimage at: 00207000 0026CB2E
> initrd at: 0026CB2E 00285258
> avail ram: 00286000 01000000
>
> Linux/PPC load: root=/dev/ram
> misc.c
> Uncompressing Linux...done.
> Now booting the kernel
> Linux version 2.2.14 (root@shark) (gcc version 2.95.2 19991030 (2.95.3
> prereleas
> e/franzo)) #541 Wed Feb 14 09:57:22 PST 2001
> m8xx_setup.c:92: Boot arguments: root=/dev/ram
> initrd memory block starts: c026cb2e ends c0285258
> time_init: decrementer frequency = 180000000/60
> Calibrating delay loop... 47.82 BogoMIPS
> Memory: 15028k available (748k kernel code, 464k data, 40k init)
> [c0000000,c1000
> 000]
> Dentry hash table entries: 2048 (order 2, 16k)
> Buffer cache hash table entries: 16384 (order 4, 64k)
> Page cache hash table entries: 4096 (order 2, 16k)
> POSIX conformance testing by UNIFIX
> Linux NET4.0 for Linux 2.2
> Based upon Swansea University Computer Society NET3.039
> NET4: Unix domain sockets 1.0 for Linux NET4.0.
> NET4: Linux TCP/IP 1.0 for NET4.0
> IP Protocols: ICMP, UDP, TCP
> TCP: Hash tables configured (ehash 16384 bhash 16384)
> Initializing RT netlink socket
> Starting kswapd v 1.5
> CPM UART driver version 0.03
> ttyS00 at 0x0280 is a SMC
> ttyS01 at 0x0380 is a SMC
> ttyS02 at 0x0100 is a SCC
> ttyS03 at 0x0200 is a SCC
> pty: 256 Unix98 ptys configured
> RAM disk driver initialized: 16 RAM disks of 4096K size
> loop: registered device at major 7
> eth0: CPM ENET Version 0.2, 00:10:ec:00:1a:0f
> CONFIG_RPXCLASSIC
> The FEC Ethernet specific entries in the device structure...
> eth1: FEC ENET Version 0.2, 00:10:ec:80:1a:0f
> fec: Phy @ 0x0, type LXT971 (0x001378e2)
> fec: link up, 100 Mbps, full-duplex, auto complete
> PPP: version 2.3.7 (demand dialling)
> TCP compression code copyright 1989 Regents of the University of
California
> PPP line discipline registered.
> Sending BOOTP requests.... OK
> IP-Config: Got BOOTP answer from 10.20.20.10, my address is 10.20.20.11
> RAMDISK: Compressed image found at block 0
> VFS: Mounted root (romfs filesystem).
> Freeing unused kernel memory: 40k int
> Kernel panic: No init found. Try passing init= option to kernel.
> Rebooting in 180 seconds..
>
> Any help will be high appreciated.
>
> Haifei
>
>
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2001-03-26 8:33 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-02-14 19:00 initrd problems on CLLF860T, please help Zheng, Haifei
2001-02-14 19:28 ` Page table -> SDR1 Sébastien Côté
2001-02-14 21:17 ` initrd problems on CLLF860T, please help Dan Malek
2001-02-15 23:28 ` Graham Stoney
2001-03-26 8:33 ` Jari Nguyen Trung Thanh
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).