Re: NO Flash - TFAT file system integration
- From: alexquisi@xxxxxxxxxxxx
- Date: 10 Jul 2006 14:33:51 -0700
Hi Henrik,
thanks a lot for your answers.
Henrik Viklund wrote:
Geez, Alexander! That's a LOT of questions! Next time, try splitting
them up into a couple of post, and I think you'll have better luck
getting them answered. Just to answer a few of your questions:
jejeje, I thought about it but I thought that I could get a "why are
you creating separated threads to ask about the same topic!" ;-)
In the meantime, I tested integrating the Hive-based registry and it
seems to be working fine.
I also plugged some USB memory sticks and I saw that the applet in the
control panel shows wrong Capacity values also. It is this a known
error in this applet or am I missing something? I just want to know
that this behavior is "normal" because if it somehow is overlapping
with the kernel or boot loader areas then in the future I could meet
bugs very hard to track...
I can't modify the mapping because in MIPS architecture the vector
reset is fixed. So, I have to flash the Boot loader there...I have
another board with less flash memory, that is the reason I would like
to use this part as storage too.
Question: that is my current state. Is it Ok what I did?
The only thing you might want to try is to remove the "AutoLoad"
section. "AutoLoad" entry in Storage Manager is usually only used to
load stand-alone (monolitic) drivers. Since you put the block driver
under "BuiltIn" the block driver is allready automatically loaded by
device.exe at startup. Since you have specified the block driver guid
IClass the storage manager will be notified when the driver loads and
it in turn will set up everything else that is defined by its Profile.
Great, I will give it a try.
Q: is there a way that I can include in the storage area the upper 3 MBNo, at least not without using multiple partitions. What you can do is
(4)?
shift things around in the flash to creata a large continous flash file
system area.
Ok, anyway I think that I will need to use multiple partitions if I add
the BinFS. I'm still blocked understanding this part. I don't see what
are the adventages to use the BinFS file system.
Now I'm checking some registry settings that could be useful. For
example:
[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\MSFlash]
"Name"="MSFLASH for FASL FLASH"
"Folder"="NOR Flash"
;Automatically Mounts each detected partition (if FSD driver is
available)
; "AutoMount"=dword:1
;Automatically partitions the store with largest creatable
partition (???)
; "AutoPart"=dword:1
;Formats the store automatically
; "AutoFormat"=dword:1
As far as I know, with them I can do the formating and/or handling of
partition (?) after (the first) booting, so I would avoid to do it
manually (as I did it above).
Q: Am I right? It would be very useful in mass production.
Yes.
Great. But I have to define in advance the partitions and the
corresponding file system for them. Would it be done (in my case) in
the registry file creating new profiles (reusing the same FMD block
driver) giving the corresponding 'MemBase' and 'MemLen' for each area?
If that is the case, then I don't see (clearly) the adventage of
integrating the BOOTPART library in the boot loader. Maybe to allow the
end user to create subpartition or for defining the partitions without
the puzzle in the registry (?)...
For the 'HIVE BOOT SECTION' tag, I don't get the concept of using itWhen using hive based registry, you need to load it from some sort of
for "starting drivers in the first boot phase...". May anybody explain
me that, please?
persistant storage, right? Since you need information from the registry
on where to find the registry hive, what block driver and partition
driver etc. to load, you can't store that information in the hive based
part of the registry, because it has not yet been loaded. So, what the
HIVE BOOT SECTION tag denotes is that this part of the registry won't
be part of the hive, but will be present at startup, before actually
having loaded the registry hive.
Thanks! It is clear now and as I stated above, it seems to be working.
Henrik Viklund
http://www.addlogic.se
.
- References:
- NO Flash - TFAT file system integration
- From: alexquisi
- Re: NO Flash - TFAT file system integration
- From: Henrik Viklund
- NO Flash - TFAT file system integration
- Prev by Date: Re: LAN91C and XSCALE
- Next by Date: Re: DMA to SPI on PXA27x
- Previous by thread: Re: NO Flash - TFAT file system integration
- Next by thread: Internet Explorer cache - how does it work? How is it synchronized?
- Index(es):
Relevant Pages
|