Hi there:

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?

Thanks!
rui
_______________________________________________
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

Reply via email to