[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [microblaze-uclinux] Flash Partitions
Hi Mak,
> Hello,
>
> Can it be possible to have multiple kernel images on different Flash
> Partitions, and I can choose one of them at the boot time?
Yes, you can.
>
> Currently there are 4 Flash partitions in my system, namely boot,
> bootenv, config and image. Out of which u-boot will go into boot
> partition, kernel will go into image partition. For initializing the
> platform I have downloaded the img file. In which partition the
> initialization will be written?
There is memory map which you can easily change. It is easy to add or delete or
rename any partition. It is up to you. MTD maps just describe what you chose.
Only one things keep in mind is about U-BOOT if you want to use it. You need
space for u-boot stored in flash and space for U-BOOT variable (boot, bootenv)
-> you shouldn't change sizes of these partitions.
From U-BOOT perspective write printenv and look at find mtdparts variable ->
there is MTD description and this is passed through command line to linux
kernel. Booting different kernel is easy too.
Regards,
Michal
___________________________
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/