This is the mail archive of the ecos-patches@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: JFFS2 support for RedBoot.


David Woodhouse said:
> On Fri, 2003-11-28 at 21:44 +0100, Roland CaÃ?ebohm wrote:
>> Hello,
>> this looks very interesting to me, could you tell me which size does such
>> RedBoot have now?
>
> Starting with a fairly standard FR-V ROM RedBoot, it adds roughly 50K.
>  $ frv-elf-size install/bin/redboot.elf
>    text    data     bss     dec     hex filename
>  175892       0   38728  214620   3465c install/bin/redboot.elf
>
>  $ ecosconfig add memalloc io fileio error linux_compat jffs2
>  $ echo cdl_option CYGOPT_FS_JFFS2_WRITE { user_value 0 }  | ecosconfig import /dev/stdin
>  $ echo cdl_component CYGNUM_IO_FLASH_BLOCK_CFG_FIS_1 { user_value 1 } | ecosconfig import
> /dev/stdin

Why not make these option [values] implied when building in a
RedBoot environment?

>  $ ecosconfig tree ; make CC="ccache frv-elf-gcc"
>  $ frv-elf-size install/bin/redboot.elf
>    text    data     bss     dec     hex filename
>  225104       0   44788  269892   41e44 install/bin/redboot.elf

Other than that, it looks good (very nice so far)




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]