Re: Mount as Root
- From: "Luc Cool" <luc__cool@xxxxxxxxxxx>
- Date: Tue, 02 Jan 2007 10:00:29 GMT
Hi,
the loadcepc.exe is a developer tool. For shipping units, you should use the
BIOS bootloader or the ROM bootloader.
If you use loadcepc, you need a additional dos license for your unit's (or a
free dos version).
The BIOS bootloader uses the bios int10 and int13 to get the CE image from
disk.
The ROM bootloader goes a step further and replaces the BIOS startup code.
This means you have to do all the board initialisation yourself. This is not
a easy job on a PC platform. It should allow a faster boot period.
I see no reason why you would use TFAT for the image partition. During
normal use, you will only read the image file during bootup, so even in case
of a power failure during this, nothing will be corrupt.
I guess I would generate a separate fat partition for the image and the bios
bootloader. This partition has to stay hidden for the CE OS. This way, there
is not much change that users will overwrite the OS files.
There are a lot of other possible scenarios. It is up to you to decide your
needs.
regards,
Luc
"B.R.Liao" <benru.liao@xxxxxxxxx> wrote in message
news:1167675972.774925.286140@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Thank you I can do it now.
But I have another question.
The CEPC, Is it the only way to load CEPC by loadcepc.exe ?
FAT hard disk with DOS 6.22, through autoexec.bat to load CEPC.
Can I load cepc directly? And Can I use TFAT ?
How should I config my OS design workspace?
Luc Cool ¼g¹D¡G
Hi,create
if you got mount as root working, than the partition 'mounted as root'
appears in the root of your system.
(under My Device) In my case, I can find NK.BIN there as well. If you
a new file there, it will be stored on that partition so, it will befind
persistent.
You must select "ROM-only" as internal file system. The "RAM and ROM file
system" doesn't work.
I have the following environment settings:
PRJ_ENABLE_FSMOUNTASROOT = 1
PRJ_BOOTDEVICE_ATAPI = 1
PRJ_ENABLE_FSREGHIVE = 1
You might search for their appearance in the registry. That way you can
out which specific registry settings are needed to get it working.
The basic settings work on a CEPC device. The first partition of the first
ide device is mapped under the root.
regards,
Luc
"B.R.Liao" <benru.liao@xxxxxxxxx> wrote in message
news:1167536612.057207.36780@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
My IDE is PB5.0.
By default, We know the nk.bin would be mapped to \windows and it is
read only.
If you add a flash storage (or ATAPI) support, you could find a "\Hard
Disk" or "\xxx Flash" in your root directory.
But all the other directory is in the "RAM File Storage", so after
reboot everything I installed in to \program files or \windows, they
are gone.
I had tried "hive-based" registry, bt it can keep registry data only.
I know I have to turn on the "Mount As Root" option, but it is seems
not work.
Because I turned it on only.
How many other settings that I have to do it?
Need help thanks.
.
- Follow-Ups:
- Re: Mount as Root
- From: B.R.Liao
- Re: Mount as Root
- References:
- Re: Mount as Root
- From: B.R.Liao
- Re: Mount as Root
- Prev by Date: ceddk DMA functions (DMA abstraction)
- Next by Date: GPE and 4bpp in WinCE 5.00
- Previous by thread: Re: Mount as Root
- Next by thread: Re: Mount as Root
- Index(es):
Relevant Pages
|