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

[microblaze-uclinux] Kernel-from-flash



Hi,

Based on the patches by Andrew Szalai

http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/archive/current/msg00077.html

I've imported support for executing the kernel (and romfs) from flash,
into CVS.

Some points:

Unless you have tricky dual-plane flash devices (I don't), you can't
really use the flash from within Linux with typical MTD driver layer.
As soon as the MTD drivers probe the flash, instructions fetches go into
la-la land and it's all over.  Holding your breath and hoping for cache
hits might work, but not something I'd want to rely on!

I've tweaked the mb_auto and ml401 MTD drivers to support a size ZERO_MB
- this must be selected if you want to run the kernel from flash.  The
RAM probe parts of these mapping drivers are modified to find the ROMFS
where it should be (still in ROM/Flash).

All seems to work nicely - thanks Andrew for doing the work.

Cheers,

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