* Linux 2.4.25 problems after initrd detected
[not found] <20050706020002.F244267CA0@ozlabs.org>
@ 2005-07-06 4:41 ` Russell McGuire
2005-07-06 9:10 ` Wolfgang Denk
0 siblings, 1 reply; 2+ messages in thread
From: Russell McGuire @ 2005-07-06 4:41 UTC (permalink / raw)
To: linuxppc-embedded
Hello all,
I am running ELDK 3.1.1, Linux version 2.4.25, on a MPC8280 CPU, U-boot
1.1.2 to load linux.
This is a new prototype board we are developing; I can include the .config
information in a later post, if anyone needs to know something from it.
I am using the uRamdisk image, from the denx ftp for the initRd image.
I have added a couple lines to the cpuc.c file to add support for the
MPC8280 CPU, I think its only that one file, so perhaps linux is not
detecting the CPU correctly.
Two questions:
1) Does the "Warning: Real time clock stuck" pose any problem to getting the
initrd loaded? Or perhaps interrupts?
2) Does the MTD physical mapping driver have to be enabled for the initrd to
work, I haven't been able to get my driver to successfully complete a
ioremap if I enable it. I am using AMD 32MB flash mapped physically at
0xE0000000 at least in Uboot.
I know the kernel is still marginally alive as I can step into the kernel
debugger over the serial port at this point, if I press control C, its in
the interrupt routines waiting for UART interrupts.
I apologize in advance if I have not provided enough info, as its my first
post.
Russell McGuire
Here is the output, from Uboot.
## Booting image at e0080000 ...
Image Name: Linux-2.4.25
Image Type: PowerPC Linux Kernel Image (gzip compressed)
Data Size: 661411 Bytes = 645.9 kB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
Uncompressing Kernel Image ... OK
## Current stack ends at 0x021339A0 => set upper limit to 0x00800000
## cmdline at 0x007FFF00 ... 0x007FFF10
bd address = 0x02133FB4
memstart = 0x00000000
memsize = 0x02200000
flashstart = 0xE0000000
flashsize = 0x04000000
flashoffset = 0x00036000
sramstart = 0x00000000
sramsize = 0x00000000
immr_base = 0xF0000000
bootflags = 0x00000001
vco = 528 MHz
sccfreq = 132 MHz
brgfreq = 33 MHz
intfreq = 396 MHz
cpmfreq = 264 MHz
busfreq = 66 MHz
ethaddr = EA:53:0E:4B:8A:46
IP addr = 192.168.5.50
baudrate = 115200 bps
## Loading RAMDisk Image at e0200000 ...
Image Name: Simple Embedded Linux Framework
Image Type: PowerPC Linux RAMDisk Image (gzip compressed)
Data Size: 1400198 Bytes = 1.3 MB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
## initrd at 0xE0200040 ... 0xE0355DC5 (len=1400198=0x155D86)
Loading Ramdisk to 01fdd000, end 02132d86 ... OK
## Transferring control to Linux (at address 00000000) ...
Memory BAT mapping: BAT2=32Mb, BAT3=2Mb, residual: 0Mb
Linux version 2.4.25 (root@FedoraCore2) (gcc version 3.3.3 (DENX ELDK 3.1
3.3.3-8)) #94 Tue Jul 5 18:59:08 PDT 2005
On node 0 totalpages: 8704
zone(0): 8704 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Kernel command line: root=/dev/ram rw
Warning: real time clock seems stuck!
Calibrating delay loop... 263.78 BogoMIPS
Memory: 31472k available (1128k kernel code, 372k 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: 1024 (order: 0, 4096 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
JFFS2 version 2.2. (C) 2001-2003 Red Hat, Inc.
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
eth0: FCC2 ENET Version 0.4, EA:53:0E:4B:8A:47
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP
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.
RAMDISK: Compressed image found at block 0
Freeing initrd memory: 1367k freed
VFS: Mounted root (ext2 filesystem).
Freeing unused kernel memory: 56k init
<-- No more output, unless control C is pressed and "sometimes" it will
enter into the KGDB.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Linux 2.4.25 problems after initrd detected
2005-07-06 4:41 ` Linux 2.4.25 problems after initrd detected Russell McGuire
@ 2005-07-06 9:10 ` Wolfgang Denk
0 siblings, 0 replies; 2+ messages in thread
From: Wolfgang Denk @ 2005-07-06 9:10 UTC (permalink / raw)
To: Russell McGuire; +Cc: linuxppc-embedded
In message <20050706004122.GA42545@mail19d.g19.rapidsite.net> you wrote:
>
> Two questions:
> 1) Does the "Warning: Real time clock stuck" pose any problem to getting the
> initrd loaded? Or perhaps interrupts?
It should not affect thte opration of the ramdisk, but it's obviously
something you should fix.
> 2) Does the MTD physical mapping driver have to be enabled for the initrd to
> work, I haven't been able to get my driver to successfully complete a
> ioremap if I enable it. I am using AMD 32MB flash mapped physically at
> 0xE0000000 at least in Uboot.
Ramdisk and MTD have nothingin common. You don;t need MTD to use a ramdisk
> I know the kernel is still marginally alive as I can step into the kernel
> debugger over the serial port at this point, if I press control C, its in
> the interrupt routines waiting for UART interrupts.
>
> I apologize in advance if I have not provided enough info, as its my first
> post.
Well, the most important thing you missed to tell us is what exactly
your problem is.
> Here is the output, from Uboot.
....
> Kernel command line: root=/dev/ram rw
...
> VFS: Mounted root (ext2 filesystem).
> Freeing unused kernel memory: 56k init
>
> <-- No more output, unless control C is pressed and "sometimes" it will
So what? You did not pass any "console=ttyS0,$(baudrate)" or somilar
boot argument, so where is your console expected to show up?
Can you ping the system? Our standard ramdisk images have telnet and
FTP enabled. Can you telnet into the system?
Did you try booting with root file system mounted over NFS? This is
MUCH easier to debug.
Best regards,
Wolfgang Denk
--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd@denx.de
I wish Captain Vimes were here. He wouldn't have known what to do
either, but he's got a much better vocabulary to be baffled in.
- Terry Pratchett, _Guards! Guards!_
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-07-06 9:12 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20050706020002.F244267CA0@ozlabs.org>
2005-07-06 4:41 ` Linux 2.4.25 problems after initrd detected Russell McGuire
2005-07-06 9:10 ` Wolfgang Denk
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).