<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<font face="Times New Roman, Times, serif"><big>Hello,<br>
<br>
in uboot i have setting the bootargs variable:</big><br>
<br>
=> bootargs debug console=ttyPSC0,115200 root=/dev/ram<br>
=> saveenv<br>
<br>
<big>If I'm not wrong, the right sequence of commands should be the
following:</big></font><br>
<pre wrap="">$ make ARCH=powerpc mpc5200_defconfig
$ make ARCH=powerpc menuconfig
.. [customizations]...
$ make ARCH=powerpc CROSS_COMPILE=powerpc-linux-gnu- cuImage.lite5200b
<big><big><font face="Times New Roman, Times, serif">and this is the output:</font></big></big>
..
CHK include/linux/version.h
CHK include/linux/utsrelease.h
CALL scripts/checksyscalls.sh
CHK include/linux/compile.h
CALL arch/powerpc/kernel/systbl_chk.sh
WRAP arch/powerpc/boot/cuImage.lite5200b
DTC: dts->dtb on file
"/home/ftosetto/linux-2.6.25.2-lite5200/arch/powerpc/boot/dts/lite5200b.dts"
Image Name: Linux-2.6.25.2
Created: Mon May 12 10:29:40 2008
Image Type: PowerPC Linux Kernel Image (gzip compressed)
Data Size: 1518744 Bytes = 1483.15 kB = 1.45 MB
Load Address: 0x00400000
Entry Point: 0x00400550
<big><big><font face="Times New Roman, Times, serif">At this point I've loaded the cuImage and rootfs.uimage on the board:</font></big></big>
</pre>
=> usb start<br>
=> usb scan<br>
=> fatload usb 0 0x03000000 cuImage.lite5200b<br>
=> fatload usb 0 0x04000000 rootfs.uimage<br>
=> bootm 0x03000000 0x04000000<br>
<br>
<big>but it still hangs after this:<br>
<br>
</big>## Booting image at 03000000
... <br>
Image Name:
Linux-2.6.25.2 <br>
Created: 2008-05-12 7:39:07
UTC <br>
Image Type: PowerPC Linux Kernel Image (gzip
compressed) <br>
Data Size: 1589091 Bytes = 1.5
MB <br>
Load Address:
00400000 <br>
Entry Point:
00400550 <br>
Verifying Checksum ...
OK <br>
Uncompressing Kernel Image ...
OK <br>
## Loading RAMDisk Image at 04000000
... <br>
Image Name: RamDisk Image
RadioNav <br>
Created: 2007-10-24 15:48:39
UTC <br>
Image Type: PowerPC Linux RAMDisk Image (gzip
compressed) <br>
Data Size: 1839123 Bytes = 1.8
MB <br>
Load Address:
00000000 <br>
Entry Point:
00000000 <br>
Verifying Checksum ...
OK <br>
Loading Ramdisk to 0fd89000, end 0ff4a013 ...
OK <br>
Memory <- <0x0 0x10000000>
(256MB) <br>
CPU clock-frequency <- 0xbcd3d80
(198MHz) <br>
CPU timebase-frequency <- 0x1f78a40
(33MHz) <br>
CPU bus-frequency <- 0x7de2900
(132MHz) <br>
<br>
zImage starting: loaded at 0x00400000 (sp:
0x0ff4a958) <br>
Allocating 0x34d42c bytes for kernel
... <br>
gunzipping (0x00000000 <- 0x0040d000:0x007510f0)...done 0x32d150
bytes <br>
Using loader supplied ramdisk at
0xfd89000-0xff4a013 <br>
initrd head:
0x1f8b0808 <br>
<br>
Linux/PowerPC load: debug console=ttyPSC0,115200 root=/dev/ram<br>
Finalizing device tree... flat tree at 0x75e300<br>
<br>
<big>Where is the problem? The problem is the my rootfs.uimage?</big><br>
<br>
<big>Do you have any idea?<br>
Best regards,
<br>
Fabio</big><br>
<br>
Grant Likely ha scritto:
<blockquote
cite="mid:fa686aa40805090820s66801309j161adfcbc360fc42@mail.gmail.com"
type="cite">
<pre wrap="">On Fri, May 9, 2008 at 9:02 AM, Fabri <a class="moz-txt-link-rfc2396E" href="mailto:rider4ever@gmail.com"><rider4ever@gmail.com></a> wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Thanks for the patches, now some more rows are printed after RamDisk loading:
Verifying Checksum ... OK
Loading Ramdisk to 0fe68000, end 0ff49bf2 ... OK
Memory <- <0x0 0x10000000> (256MB)
CPU clock-frequency <- 0xbcd3d80 (198MHz)
CPU timebase-frequency <- 0x1f78a40 (33MHz)
CPU bus-frequency <- 0x7de2900 (132MHz)
zImage starting: loaded at 0x00400000 (sp: 0x0ff4a958)
Allocating 0x32d410 bytes for kernel ...
gunzipping (0x00000000 <- 0x0040d000:0x00730fd4)...done 0x30d150 bytes
Using loader supplied ramdisk at 0xfe68000-0xff49bf2
initrd head: 0x1f8b0808
Linux/PowerPC load:
</pre>
</blockquote>
<pre wrap=""><!----> ^^^^^^^^^^^^^^^^^^
Doesn't look like you are passing a kernel parameters line. The
kernel probably is booting, but doesn't know where to output the
console. Try adding "console=ttyPSC0,115200".
Cheers,
g.
</pre>
<pre wrap=""><!---->
</pre>
</blockquote>
<br>
</body>
</html>