linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Fabio Tosetto <tosettofabio83@libero.it>
To: Grant Likely <grant.likely@secretlab.ca>
Cc: linuxppc-dev@ozlabs.org, Fabri <rider4ever@gmail.com>
Subject: Re: MPC5200b MMC over SPI into PSC6
Date: Mon, 12 May 2008 10:51:16 +0200	[thread overview]
Message-ID: <48280504.1010602@libero.it> (raw)
In-Reply-To: <fa686aa40805090820s66801309j161adfcbc360fc42@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 4762 bytes --]

Hello,

in uboot i have setting the bootargs variable:

=> bootargs debug console=ttyPSC0,115200 root=/dev/ram
=> saveenv

If I'm not wrong, the right sequence of commands should be the following:

$ make ARCH=powerpc mpc5200_defconfig
$ make ARCH=powerpc menuconfig
.. [customizations]...
$ make ARCH=powerpc CROSS_COMPILE=powerpc-linux-gnu- cuImage.lite5200b

and this is the output:
..
  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


At this point I've loaded the cuImage and rootfs.uimage on the board:

=> usb start
=> usb scan
=> fatload usb 0 0x03000000 cuImage.lite5200b
=> fatload usb 0 0x04000000 rootfs.uimage
=> bootm 0x03000000 0x04000000

but it still hangs after this:

## Booting image at 03000000 
...                                               
   Image Name:   
Linux-2.6.25.2                                                
   Created:      2008-05-12   7:39:07 
UTC                                      
   Image Type:   PowerPC Linux Kernel Image (gzip 
compressed)                  
   Data Size:    1589091 Bytes =  1.5 
MB                                       
   Load Address: 
00400000                                                      
   Entry Point:  
00400550                                                      
   Verifying Checksum ... 
OK                                                   
   Uncompressing Kernel Image ... 
OK                                           
## Loading RAMDisk Image at 04000000 
...                                       
   Image Name:   RamDisk Image 
RadioNav                                        
   Created:      2007-10-24  15:48:39 
UTC                                      
   Image Type:   PowerPC Linux RAMDisk Image (gzip 
compressed)                 
   Data Size:    1839123 Bytes =  1.8 
MB                                       
   Load Address: 
00000000                                                      
   Entry Point:  
00000000                                                      
   Verifying Checksum ... 
OK                                                   
   Loading Ramdisk to 0fd89000, end 0ff4a013 ... 
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 0x34d42c bytes for kernel 
...                                       
gunzipping (0x00000000 <- 0x0040d000:0x007510f0)...done 0x32d150 
bytes         
Using loader supplied ramdisk at 
0xfd89000-0xff4a013                           
initrd head: 
0x1f8b0808                                                        
                                                                                

Linux/PowerPC load: debug console=ttyPSC0,115200 root=/dev/ram
Finalizing device tree... flat tree at 0x75e300

Where is the problem? The problem is the my rootfs.uimage?

Do you have any idea?
Best regards,
Fabio

Grant Likely ha scritto:
> On Fri, May 9, 2008 at 9:02 AM, Fabri <rider4ever@gmail.com> wrote:
>   
>> 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:
>>     
>                       ^^^^^^^^^^^^^^^^^^
>
> 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.
>
>   
>
>   


[-- Attachment #2: Type: text/html, Size: 12231 bytes --]

  parent reply	other threads:[~2008-05-12  8:52 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-05 18:12 MPC5200b MMC over SPI into PSC6 Fabio Tosetto
2008-05-06 15:36 ` Grant Likely
2008-05-07 12:49   ` Fabio Tosetto
2008-05-07 16:34     ` Grant Likely
2008-05-08 15:10       ` Fabio Tosetto
2008-05-08 15:32         ` Grant Likely
2008-05-09 13:40           ` Fabri
2008-05-09 13:51             ` Fabri
2008-05-09 14:06               ` Grant Likely
2008-05-09 15:02                 ` Fabri
2008-05-09 15:20                   ` Grant Likely
2008-05-09 20:01                     ` Fabri
2008-05-12  8:51                     ` Fabio Tosetto [this message]
2008-05-22 14:28                     ` Fabri
  -- strict thread matches above, loose matches on Subject: below --
2008-04-16 11:26 MPC5200B " tosettofabio83

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=48280504.1010602@libero.it \
    --to=tosettofabio83@libero.it \
    --cc=grant.likely@secretlab.ca \
    --cc=linuxppc-dev@ozlabs.org \
    --cc=rider4ever@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).