[U-Boot-Users] boot linux from memory

Xuezhang Dong xdong at broadcom.com
Wed Jan 25 19:15:05 CET 2006


Later on, I moved the image to NOR Flash, and it is OK to boot the image now. 

But I still confused by the compression.
>    Image Type:   ARM Linux Kernel Image (uncompressed)
Does this means the kernel is uncompressed?

Also, in case I want to load an image to memory and run directly, I must use the XIP kernel build in Linux?
I can understand that bootm will recognize the uImage format and load the content to another memory by strip off the header, but in case I want to run it directly, what happened to the 40 bytes header in the uImage format? Is this XIP related again?

Sorry for so many questions, I think I misunderstanding something about booting sequence, thanks in advance for any help.

Regards.
Xuezhang.

-----Original Message-----
From: u-boot-users-admin at lists.sourceforge.net [mailto:u-boot-users-admin at lists.sourceforge.net] On Behalf Of Andreas Schweigstill
Sent: Wednesday, January 25, 2006 2:19 AM
To: u-boot-users at lists.sourceforge.net
Subject: Re: [U-Boot-Users] boot linux from memory

Dear Xuezhang Dong!

Xuezhang Dong schrieb:
> If I try to boot from 06008000, I got following:
> BRCM5001 # bootm 06008000                         
> ## Booting image at 06008000 ...                                
>    Image Name:   Linux-2.6.15                             
>    Image Type:   ARM Linux Kernel Image (uncompressed)
> 
>    Data Size:    655784 Bytes = 640.4 kB
> 
>    Load Address: 06008000                         
>    Entry Point:  06008000                         
>    Verifying Checksum ... OK                            
>    XIP Kernel Image ... OK                          

The compressed image and the Linux kernel to be executed may not overlap. In your configuration both will be at address 0x06008000.
After decompression memory can be reused, so usually the compressed image would be loaded to something like 0x06200000 or 0x06800000.

With best regards
Andreas Schweiigstill


--
Dipl.-Phys. Andreas Schweigstill
Schweigstill IT | Embedded Systems
Schauenburgerstraße 116, D-24118 Kiel, Germany
Phone: (+49) 431 5606-435, Fax: (+49) 431 5606-436
Mobile: (+49) 171 6921973, Web: http://www.schweigstill.de/


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
U-Boot-Users mailing list
U-Boot-Users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/u-boot-users






More information about the U-Boot mailing list