Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Howto install BIOSboot on Compact Flash

523 views
Skip to first unread message

Ethan Parker

unread,
Aug 27, 2008, 11:27:57 AM8/27/08
to
How can I install BIOS bootloader on a Compact Flash in order to boot
WinCE 6.0 from a x86 based board ?
All the documents I found in MSDN are talking about Floppy Disk.

TIA

Luca Calligaris

unread,
Aug 28, 2008, 2:18:12 AM8/28/08
to
if you read carefully the docs they states: "[biosloader] loads a .bin image
from any device for which the BIOS exposes Interrupt 13h support and views
as a storage device. This includes floppy disk, hard disk, CompactFlash
card, and Disk-on-Chip."

MS provides a DOS floppy disk image which contains all the stuff that you
need to prepare the storage media (fdisk, format, etc): follow the
instructions in http://msdn.microsoft.com/en-us/library/ms902367.aspx

--

Luca Calligaris
www.eurotech.it

"Ethan Parker" <micr...@microsoft.com> ha scritto nel messaggio
news:eys74lFC...@TK2MSFTNGP04.phx.gbl...

Mauricio Sousa (Connec Brasil)

unread,
Aug 28, 2008, 7:33:50 AM8/28/08
to
Ethan,

You can prepare a floppy disk with bootdisk.144 or setupdisk.144 like
Luca told you, other ways.

1) You can prepare a bootable PenDrive with "HP USB Disk Storage
Format Tool" and put into pendrive a DOS system and after copy to
pendrive the contents of setup disk path (\WINCE500\PUBLIC\COMMON\OAK
\CSP\X86\BIOSLOADER\DISKIMAGES\SETUPDISK), ah, one thing to do before
the copy the contents, you must open boot.ini file and change the
"BinFile=eboot.bix" parameter to "BinFile=nk.bin" (nk.bin file is the
name of your image) after boot your device with pendrive. In this
moment, your device is with DOS system, now you must install the
bootsector in the device storage (Compact Flash, Disk On Module, etc)
with the command "mkdisk.bat c:" (c: is the root of your storage, if
your system map your storage with another letter you must change this
parameter), after you must copy the following files to storage device
(c:) boot.ini, splash.bmx and nk.bin.

Follow a article to help you understand more about this procedure
(www.dmp.com.tw/tech/os-wince/Boot_Windows_CE_from_DOM.pdf)

I hope to be helping
Mauricio de Sousa Coelho

Mauricio Sousa (Connec Brasil)

unread,
Sep 1, 2008, 10:15:51 AM9/1/08
to
Just to clean the explanation

1) Create a bootable Pendrive with DOS system using any tool to do
that (Ex.:HP USB Disk Storage Format Tool)

2) Go to the setup disk path (\WINCE500\PUBLIC\COMMON\OAK\CSP
\X86\BIOSLOADER\DISKIMAGES\SETUPDISK) and change "BinFile=eboot.bix"
parameter to "BinFile=nk.bin" in the boot.ini file. Would be good if
you make a copy of the boot.ini file before.

3) Copy the contents of setup disk path to pendrive.

4) Boot your device with the pendrive.

5) Install the Windows CE bootsector in the device storage(CF, DOM,


etc) with the command "mkdisk.bat c:" (c: is the root of your storage,
if your system map your storage with another letter you must change
this parameter)

6) copy the follow files to the storage device (CF, DOM, etc):
boot.ini (updated) , splash.bmx(logo) and nk.bin(image).

7) remove the pendrive of your device and reboot it

OBSERVATIONS:
1) About item 5: you can see the mkdisk.bat file to understand better
this process
2) About item 6: splash.bmx is a bitmap (.bmp) compressed by
bincompress tool that appears in the Windows CE loading.

I hope to be help

Mauricio de Sousa Coelho
LG Electronic
R&D Latin America Lab
Windows Mobile Team

Ethan Parker

unread,
Sep 2, 2008, 1:16:24 PM9/2/08
to
Mauricio Sousa (Connec Brasil) ha scritto:

Thanks all for help.
Nothing of you said works.
I am using WinCE 6.0 R2 so setup disk path (point 2) is quite different.
However I tried in many other ways also reading from
http://msdn.microsoft.com/en-us/library/ms902367.aspx
but unsuccesfully.
The command mkdisk does not exist in my WinXP system.

There is any other way or step-by-step working document to do that?
I have to use a Compact Flash as boot disk with WinCE 6

TIA

kosic....@gmail.com

unread,
Sep 11, 2008, 5:12:28 AM9/11/08
to
On 2 sep., 19:16, Ethan Parker <platbuil...@microsoft.com> wrote:
> Mauricio Sousa (Connec Brasil) ha scritto:
>
>
>
> > Just to clean the explanation
>
> > 1) Create a bootable Pendrive with DOS system using anytoolto do
> > that (Ex.:HPUSB Disk Storage FormatTool)
>
> > 2) Go to the setup disk path (\WINCE500\PUBLIC\COMMON\OAK\CSP
> > \X86\BIOSLOADER\DISKIMAGES\SETUPDISK) and change "BinFile=eboot.bix"
> > parameter to "BinFile=nk.bin" in theboot.ini file. Would be good if
> > you make a copy of theboot.ini file before.

>
> > 3) Copy the contents of setup disk path to pendrive.
>
> > 4)Bootyour device with the pendrive.

>
> > 5) Install the Windows CE bootsector in the device storage(CF, DOM,
> > etc) with the command "mkdisk.bat c:" (c: is the root of your storage,
> > if your system map your storage with another letter you must change
> > this parameter)
>
> > 6) copy the follow files to the storage device (CF, DOM, etc):
> >boot.ini (updated) , splash.bmx(logo) andnk.bin(image).
>
> > 7) remove the pendrive of your device and reboot it
>
> > OBSERVATIONS:
> > 1) About item 5: you can see the mkdisk.bat file to understand better
> > this process
> > 2) About item 6: splash.bmx is a bitmap (.bmp) compressed by
> > bincompresstoolthat appears in the Windows CE loading.

>
> > I hope to be help
>
> Thanks all for help.
> Nothing of you said works.
> I am using WinCE 6.0 R2 so setup disk path (point 2) is quite different.
> However I tried in many other ways also reading fromhttp://msdn.microsoft.com/en-us/library/ms902367.aspx

> but unsuccesfully.
> The command mkdisk does not exist in my WinXP system.
>
> There is any other way or step-by-step working document to do that?
> I have to use a Compact Flash asbootdisk with WinCE 6
>
> TIA

You can try this. It worked for me in WinCE 5.

1. Create a bootable Pendrive with DOS system using any tool to do


that (Ex.:HP USB Disk Storage Format Tool)

2. Boot device with USB key

3. Create new primary DOS partition on CF card with fdisk

4. Format CF card and transfer system (example: "format d: /s"). Do it
even if Microsoft says not to do it.

5. Copy files from $WINCEROOT\PUBLIC\COMMON\OAK\CSP\X86\DOS\BOOTDISK,
nk.bin and himem.sys to CF card. If this ruins the boot sector repeat
step 3. and try copying to bootable USB. Then copy these files to CF
in DOS mode directly on the device.

5. Setup autoexec.bat and config.sys so that config loads the himem
and autoexec executes "loadcepc /v nk.bin". Of course you can type
this yourself instead of letting autoexec do this.

Hope this helps and good luck

0 new messages