Hi Rui,
[EMAIL PROTECTED] wrote:
> As I know
> In linux 2.4 I can link the romfs.o with the image.just like that:
>
> uClinux-dist/linux-2.4.x/drivers/block/blkmem.c
>
> +#ifdef CONFIG_BOARD_MBA44
> + {0, 0xc700000, -1},/*{0, 0x100000, -1},*/
> #endif
> ROM file system address is 0xc700000 in the SDRAM,
>
>
> ....
> Then modify :在linux-2.4.x/arch/armnommu/vmlinux-armv.lds.in
> *(got) /* Global Offset table */
> Add:
>
> romfs_data = .;
> romfs.o
> romfs_data_end = .;
>
> Something else need to do in the vendors/$arch/Makefile
> ......
>
> So ,how to add romfs into the image just like the linux 2.4?
You should be able to modify drivers/mtd/maps/uclinux.c to do
something similar.
Regards
Greg
------------------------------------------------------------------------
Greg Ungerer -- Chief Software Dude EMAIL: [EMAIL PROTECTED]
Secure Computing Corporation PHONE: +61 7 3435 2888
825 Stanley St, FAX: +61 7 3891 3630
Woolloongabba, QLD, 4102, Australia WEB: http://www.SnapGear.com
_______________________________________________
uClinux-dev mailing list
[email protected]
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by [email protected]
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev