[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [microblaze-uclinux] Spartan 3, uClinux problems



2007/3/20, John Williams <jwilliams@xxxxxxxxxxxxxx>:
Hi Lancer,

Hi John, and thanks for your patience ;-)

Have you selected the "ROM" model in the kernel configuration (Processor
Type and Featuers -> Memory Model)?

No...I've selected RAM

This should default to leaving the filesystem in flash.  If you look at
drivers/mtd/maps/mb_auto.c - you can see the handling required in an MTD
mapping driver for the CONFIG_MODEL_ROM option.  Basically:

#ifdef CONFIG_MODEL_RAM
         romfs_loc = &_ebss;
#endif
#ifdef CONFIG_MODEL_ROM
         romfs_loc = &__bss_lma;
#endif

We should also fold this change into the generic uclinux.c mapping
driver - I will add a ticket to cover this for a future peatlinux release.


...so I have to select "ROM" model in the kernel configuration, isn't it?

Regards

Lancer
___________________________
microblaze-uclinux mailing list
microblaze-uclinux@xxxxxxxxxxxxxx
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/