答复: flash_rom start and size

YhLu YhLu at tyan.com
Wed Apr 21 11:18:01 CEST 2004


For example, 
1. I only want to let end user to flash normal part [0-384k), and don't let
him touch fallback part [384k, 512k).
2. or I only want to update the payload image in the beginning, [0,64k). 

Regards

Yinghai Lu
-----邮件原件-----
发件人: Li-Ta Lo [mailto:ollie at lanl.gov] 
发送时间: 2004年4月21日 9:09
收件人: YhLu
抄送: LinuxBIOS
主题: Re: flash_rom start and size

On Tue, 2004-04-20 at 20:06, YhLu wrote:
> Ollie or David,
> 
> Can you modify the flash_rom to take start and size command line?
> 
> I mean 
> 
> Flash_rom -start=0k -size=384k xxxx.rom
> 
> And xxxx.rom only to be 384k.
> 

Why do you want to do this ? You should prepare the image
the same size as your flash chip.

There are techinical difficulty doing this. Most flash
parts are block/sector erase and byte program. There is
no general way to start from an abitrary address to any
size.

Ollie

> Regards
> 
> YH
> 



More information about the coreboot mailing list