RAMDISK Problem
hello,
As suggested, i downloaded the "simple-ramdisk.PPCBoot" from ftp site and also went thru the dplg.pdf file to know more about PPCBoot.
Iam working on MPC8260ADS and trying to boot linux-2.4.1 in a standalone mode without NFS support.
I loaded both kernel image which was booting earlier with NFS system and newly downloaded ramdisk at address 100000 and 200000 respectively. And i also updated the bootargs environment variable as
---
setenv bootargs root=/dev/ram ip=10.1.40.176:10.1.40.175:10.1.1.1:255.255.0.0:10.1.40.175::off
---
where,
target ip = 10.1.40.176
server ip = 10.1.40.175
gateway ip = 10.1.1.1
netmask = 255.255.0.0
host name = 10.1.40.175
I have checked ip addresses for correctness.
After all this, i gave bootm 100000 200000 command.
Output:
After loading kernel image and ramdisk image, it is hanging!!!
--- Messages ---
## Booting Linux kernel at 10100000 ...
Image Name: Linux-2.4.1
Image Type: PowerPC Linux Kernel Image (gzip compressed)
Data Size: 400259 Bytes = 390 kB = 0 MB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
Uncompressing Kernel Image ... OK## Loading RAMDisk Image at 10200000 ...
Image Name: Simple Ramdisk Image
Image Type: PowerPC Linux RAMDisk Image (gzip compressed) Data Size: 507630 Bytes = 495 kB = 0 MB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
Loading Ramdisk to 00ed4000, end 00f5eab4 ... OK
[After this, no messages]
--- Messages ---
I am stuck at this point and don't know what could be the reason. Can somebody help me?
thanks in advance,
with rgds,
kamal
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
Quoted 3 lines · In message <[email protected]> you wrote:
Iam working on MPC8260ADS and trying to boot linux-2.4.1 in a standalone mode without NFS support.
2.4 1. is very old. Did you make sure that the "clocks_in_mhz" variable is set in your PPCBoot environment?
Quoted 1 line
I loaded both kernel image which was booting earlier with NFS system and
I understand the NFS based kernel was working on your system?
Quoted 11 lines
newly downloaded ramdisk at address 100000 and 200000 respectively. And i also updated the bootargs environment variable as
---
setenv bootargs root=/dev/ram ip=10.1.40.176:10.1.40.175:10.1.1.1:255.255.0.0:10.1.40.175::off
---where,
target ip = 10.1.40.176
server ip = 10.1.40.175
gateway ip = 10.1.1.1
You should not configure a gateway address when you need none.
Quoted 2 lines
netmask = 255.255.0.0
host name = 10.1.40.175
This is an IP address, but not a host name.
[Not that teither of these would cause the boot to fail.]
Quoted 4 lines
Verifying Checksum ... OK
Loading Ramdisk to00ed4000, end00f5eab4... OK[After this, no messages]
If your NFS based kernel was working correctly, you should at least see the same boot messages until it tires to mount the root filesystem.
Quoted 2 lines
I am stuck at this point and don't know what could be the reason. Can somebody help me?
Attach a debugger (BDI2000) and check where it's hanging.
As a poor man's solution, try to find out if a post-mortem dump of the log_buf area contains some information: grep the System.map file in your kernel directory for the virtual address of "log_buf" and subtract 0xC0000000 to get the physical address; when you board hangs press the reset button and use PPCBoot's "md" command to print a memory dump of this area.
Best regards,
Wolfgang Denk
--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: [email protected] Put your Nose to the Grindstone!
-- Amalgamated Plastic Surgeons and Toolmakers, Ltd.
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/