[ECOS] Re: Redboot v2.04, IXP4XX and Flash v2

Gary Thomas gary@mlbassoc.com
Wed Feb 6 13:12:00 GMT 2008


Alexey Shusharin wrote:
> В Срд, 06/02/2008 в 05:33 -0700, Gary Thomas пишет:
>> Alexey Shusharin wrote:
>>> В Срд, 06/02/2008 в 11:52 +0100, Antonello Lombardinilo пишет:
>>>> Alexey Shusharin writes: 
>>>>
>>>>> . ..., 06/02/2008 . 08:51 +0100, Antonello Lombardinilo .....:
>>>>>>> Hi, 
>>>>>>>
>>>>>>> Flash V2 board driver should use "CYG_FLASH_DRIVER" macro to define each
>>>>>>> flash device. Just find this macro. 
>>>>>>>
>>>>>>> grep -R CYG_FLASH_DRIVER ./ 
>>>>>>>
>>>>>>> But are you sure that you need two flash device support?
>>>>>>> What are you going to keep in boot flash (512 KB)? 
>>>>>>>
>>>>>>> Best regards
>>>>>>> Alexey Shusharin 
>>>>>>>
>>>>>> Hi,  
>>>>>>
>>>>>> I would use the boot flash for RedBoot Image, FIS directory and
>>>>>> Redboot config.  
>>>>>>
>>>>>> I'm not sure that I need a two flash device support.
>>>>>> Any other solution is well appreciated.  
>>>>>>
>>>>> Are you going to use FIS on the second flash device? If yes you can keep
>>>>> Redboot config there and don't make access to boot flash device. It's
>>>>> usual way. 
>>>>>
>>>>> Best regards
>>>>> Alexey Shusharin 
>>>>>
>>>>>
>>>> Hi, 
>>>>
>>>> I would to use second flash for zImage, ramdisk and linux jffs2.
>>>> So, if I understood correctly, I want to use FIS on second device. 
>>> You can't use FIS and linux jffs2 together on one chip. Moreover, eCos
>>> doesn't have linux-compatible NAND flash driver.
>> Malarky!  I do this all the time.  The Linux MTD layer understands
>> the FIS layout and will happily work with it to partition your device.
>> JFFS2 can then be used on some/all of the partitions, NAND or NOR.
> 
> Sorry! I really didn't know that it's possible with NAND flash.
> 

I did this [6] years ago for the MOAB, so the NAND support may be a
bit stale, but it's more than feasible.  As for NOR FLASH, it's up
to date and used daily :-)

>>>> In this scenario, why redboot don't make access to boot flash ?
>>>> Where the Redboot image are stored ?
>>> Redboot just runs from boot flash (or loads to ram). In this case you
>>> don't need flash driver.
>>>
>>>> How can update Redboot ?
>>> You can't.
>>>
>>>> There is any board that implement this scenario?
>>> e.g. LPC-E2294
>>> (http://sgs.gomel.by/sg/articles/olpce2294/index.html)

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss



More information about the Ecos-discuss mailing list