[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [microblaze-uclinux] Spartan 3, uClinux problems
- To: microblaze-uclinux@xxxxxxxxxxxxxx
- Subject: Re: [microblaze-uclinux] Spartan 3, uClinux problems
- From: "Lancer Evo" <peppeunz@xxxxxxxxx>
- Date: Thu, 22 Mar 2007 11:46:14 +0100
- Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=S/KGPsiJdF6olTcYMYVVSW2XIWHKht0vsZBzoIVnAmjr5dy8JBcMe74JWO2peQTNGUShthL6OMio+56N62/bLw6j8+18efuER3bsLVU+nZqVjrlgs2xIUvJBXQP6xlzUmC6n7DR9un11HlWfmzlW5xGptOIK6Jz3PD+JLgCrSjo=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=gqbRQC+Qy58BHIzx6I5SFsduHuVAjWZn3rAcbmlZHB6nii4syqi657a0tPBN9yD1QGKlZifVaPwG3r8R7wVyxITSGm5d7kJDmCbGQxuIY0yKcdyeQdO+81qemfavc6HR2bSEzBpO6wnD/OBoPbjf8ZzjoTHSEGd3as2kB3i2RKA=
- Reply-to: microblaze-uclinux@xxxxxxxxxxxxxx
- Sender: owner-microblaze-uclinux@xxxxxxxxxxxxxx
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/