Re: BIOS Bootloader - Help required

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



"Nithin U.K" <NithinUK@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:CA3DFCD9-1C2A-42F1-9667-4851F9D9E2CF@xxxxxxxxxxxxxxxx
> Hi,
> Thanks for replying. Yes, I have setup the boot.ini file. I have set
> the
> primary BIN file name to nk.bin as shown below.
>
> #
> # Boot settings
> #
> # Primary BIN file name
> BinFile=nk.bin
>
> Is this correct? Or do I have to make anymore changes?

You're right, The debug output will help us to identify the problem.

> One more question, Can I change my debug result to use any other COM port
> other than COM1?

By editing the debug.c file of the Biosloader, you can redirect debug output
to another COM port.
#define IoPortBase ( (PUCHAR) COM1_BASE )
And the void OEMInitDebugSerial(void) function set up the port baud rate,
and so on.

After modification, you have to recompile it.
Beware, modification of the source code MUST NOT be done in the PUBLIC
directory, you have to DUPLICATE the biosloader sources files to you BSP,and
then apply changes to the newly files.

Nicolas


--
Nicolas BESSON
ADENEO (ADESET)
Windows Embedded Consultant
nbesson AT adeneo DOT adetelgroup DOT com

Tel : +33 (0)4.72.18.08.40


> Kindly reply.
>
> "Nicolas BESSON" wrote:
>
>> Have you correctly setup the boot.ini file ?
>>
>> --
>> Nicolas BESSON
>> ADENEO (ADESET)
>> Windows Embedded Consultant
>> nbesson AT adeneo DOT adetelgroup DOT com
>>
>> Tel : +33 (0)4.72.18.08.40
>>
>> "Nithin U.K" <Nithin U.K@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
>> news:E629EACB-53E3-4B15-8649-607B4BFEB22A@xxxxxxxxxxxxxxxx
>> > Hi! Iam new to WinCE. Iam using PB for WinCE 5.0. Iam trying to run my
>> > OS
>> > image (nk.bin) on target device power-on. My target device is a Pentium
>> > II
>> > machine with 10GB HDD and 128MB RAM. I used setupdisk.144 to install
>> > WinCE
>> > Boot loader on my target device.
>> >
>> > As directed in the help docs, I
>> > 1) setup FAT16 partition
>> > 2) formatted disk
>> > 3) mkdisk C:
>> >
>> > I copied my OS image (nk.bin) to the target device over serial port. I
>> > also
>> > copied boot.ini, eboot.bix, splash.bmx from the floppy to target
>> > device.
>> > Then, I removed floppy disk from the drive and booted my target system.
>> > The
>> > message I get on the target deveice is:
>> >
>> > Microsoft Windows CE BIOS Bootloader
>> > Version 2.2 (Built Mar 13 2004)
>> >
>> > and the system just hangs. I cannot check the debug result because my
>> > COM1
>> > is giving some problem. Am I going wrong anywhere? Is there a way to
>> > make
>> > the
>> > Bootloader to direct the debug result to any other serial port?
>> >
>>
>>
>>


.



Relevant Pages

  • Re: Cant open Serial port
    ... serial port is opened, then start the debug output again when it closes. ... are you actually loading a serial driver ... After boot, I find my test program, double click it to run. ...
    (microsoft.public.windowsce.platbuilder)
  • [PATCH 09/12] i386/x86_64: EHCI usb debug port early printk support.
    ... With legacy free systems serial ports have stopped being an option ... to get early boot traces and other debug information out of a machine. ... EHCI USB controllers provide a relatively simple debug interface ... When the special feature of the EHCI is not enabled the port ...
    (Linux-Kernel)
  • How Boot from USB
    ... I connected my Target device to my developing station by Ethernet and Modem ... Then I compiled my Image in Debug & Release mode. ... I typed LOADCEPC nk.bin. ... “PB Debugger The Kernel Debugger is waiting to connect with target.” ...
    (microsoft.public.windowsce.platbuilder)
  • Re: BIOS Bootloader - Help required
    ... No debug result is coming at the COM2. ... >> Nicolas BESSON ... >> Windows Embedded Consultant ... >> nbesson AT adeneo DOT adetelgroup DOT com ...
    (microsoft.public.windowsce.platbuilder)
  • Re: Serial driver changes from v5 to v7
    ... Better to have a "robust" printcap entry. ... I didn't mean that you are the only one who can debug a serial port ...
    (comp.unix.bsd.freebsd.misc)