hello,
we have a hardware board with NAND flash memory in it.We want to
build a multi-xip(multiregion) OS image say with two regions NK.BIN
(with kernel and other components required for BinFS file system to
run) and APP.BIN for custom applications and store it in the NAND
flash memory.At boot up we want to retrieve the kernel region alone
from NAND to RAM.i have gone through the threads that discuss how this
should be done but i have a few doubts regarding this

a) After the bootloader extracts kernel region to RAM, kernel starts
executing till binfs is mounted. How does BinFS know about the modules/
files in the other region (ie APP.BIN)stored in the NAND flash so that
it can demand page it. Does OEMRomchain() play any role in this? I
read that BinFS reads the CHAIN to know about this i would greatly
appreciate if someone
could explain more about this.

b) Since the multiregions are stored inside nandflash in rawformat
similar to .nbo how does BinFS recognize the regions?

c) Would XIP.BIN contain the chain info(ie information about the
regions)?

I would really appreciate if someone could help me out.

Re: BinFS and multi-bin region doubt by K

K
Wed Dec 19 14:21:11 PST 2007

You could refer to this provious thread first -
http://groups.google.com/group/microsoft.public.windowsce.platbuilder/browse_thread/thread/5fbecc4345e6a11d/3e0ce54374ad03fb
for some big picture of BINFS.
<kamali.srinivasan@gmail.com> wrote in message
news:1dd5b6f5-f0ae-45d5-8e69-f023d3d7e323@e23g2000prf.googlegroups.com...
> hello,
> we have a hardware board with NAND flash memory in it.We want to
> build a multi-xip(multiregion) OS image say with two regions NK.BIN
> (with kernel and other components required for BinFS file system to
> run) and APP.BIN for custom applications and store it in the NAND
> flash memory.At boot up we want to retrieve the kernel region alone
> from NAND to RAM.i have gone through the threads that discuss how this
> should be done but i have a few doubts regarding this
>
> a) After the bootloader extracts kernel region to RAM, kernel starts
> executing till binfs is mounted. How does BinFS know about the modules/
> files in the other region (ie APP.BIN)stored in the NAND flash so that
> it can demand page it. Does OEMRomchain() play any role in this? I
> read that BinFS reads the CHAIN to know about this i would greatly
> appreciate if someone
> could explain more about this.
>
> b) Since the multiregions are stored inside nandflash in rawformat
> similar to .nbo how does BinFS recognize the regions?
>
> c) Would XIP.BIN contain the chain info(ie information about the
> regions)?
>
> I would really appreciate if someone could help me out.
>



Re: BinFS and multi-bin region doubt by kamali

kamali
Thu Dec 20 07:50:47 PST 2007

hi,
Thanks a lot for your help.i will try as discussed in the link.