Re: Mount as Root by B
B
Wed Jan 03 13:13:17 CST 2007
Did you mean two partions in one hard disk?
One for loadcepc, the other for mount as root?
If Yes and no problem, it is a good idea. thank you.
Can you teach me how to config it?
thank you very much!!
Luc Cool =E5=AF=AB=E9=81=93=EF=BC=9A
> 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 (o=
r 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 c=
ase
> of a power failure during this, nothing will be corrupt.
>
> I guess I would generate a separate fat partition for the image and the b=
ios
> bootloader. This partition has to stay hidden for the CE OS. This way, th=
ere
> 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 yo=
ur
> needs.
>
> regards,
>
> Luc
>
>
> "B.R.Liao" <benru.liao@gmail.com> wrote in message
> news:1167675972.774925.286140@42g2000cwt.googlegroups.com...
> 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 =C2=BCg=C2=B9D=C2=A1G
>
> > Hi,
> >
> > 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
> create
> > a new file there, it will be stored on that partition so, it will be
> > persistent.
> >
> > You must select "ROM-only" as internal file system. The "RAM and ROM fi=
le
> > system" doesn't work.
> >
> > I have the following environment settings:
> >
> > PRJ_ENABLE_FSMOUNTASROOT =3D 1
> > PRJ_BOOTDEVICE_ATAPI =3D 1
> > PRJ_ENABLE_FSREGHIVE =3D 1
> >
> > You might search for their appearance in the registry. That way you can
> find
> > out which specific registry settings are needed to get it working.
> >
> > The basic settings work on a CEPC device. The first partition of the fi=
rst
> > ide device is mapped under the root.
> >
> > regards,
> >
> > Luc
> >
> >
> >
> >
> >
> >
> >
> > "B.R.Liao" <benru.liao@gmail.com> wrote in message
> > news:1167536612.057207.36780@k21g2000cwa.googlegroups.com...
> > >
> > > 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.
> > >