boot-time partitions and bootargs for 2.6.14

Robin Gilks robin.gilks at tait.co.nz
Tue Oct 11 13:24:34 EST 2005


Dmytro Bablinyuk wrote:

>> struct map_info physmap_map = {
>>    .name = "fred",
>>    .size = WINDOW_SIZE,
>>    .buswidth = BUSWIDTH,
>>    .phys = WINDOW_ADDR,
>> };
>> and a command line something like:
>> mtdparts=fred:1024k(Linux),4096k(FS),2048k(Unused),512k(U-Boot),512()
>
>
> Thank you Robin,
>
> Yes, I have 'working' jffs2.img (original from board).
> I checked for spaces - it looks ok. It has 'physically_mapped_flash'. 

[snip]

In that case you should have a u-boot line of

mtdparts=physically_mapped_flash:1024k(Linux),4096k(FS),2048k(Unused),512k(U-Boot),512()
not of
mtdparts=1:1024k(Linux),4096k(FS),2048k(Unused),512k(U-Boot),512()

The name is significant (I think!!)

-- 
Robin Gilks
Senior Design Engineer          Phone: (+64)(3) 357 1569
Tait Electronics                Fax  :  (+64)(3) 359 4632
PO Box 1645 Christchurch        Email : robin.gilks at tait.co.nz
New Zealand


=======================================================================
This email, including any attachments, is only for the intended
addressee.  It is subject to copyright, is confidential and may be
the subject of legal or other privilege, none of which is waived or
lost by reason of this transmission.
If the receiver is not the intended addressee, please accept our
apologies, notify us by return, delete all copies and perform no
other act on the email.
Unfortunately, we cannot warrant that the email has not been
 altered or corrupted during transmission.
=======================================================================




More information about the Linuxppc-embedded mailing list