Re: Newbie is getting smarter - Trying to boot CEPC from hard drive

From: Peter Beard (peterb(REMOVE_THIS)_at_microbus.com)
Date: 02/10/05


Date: Thu, 10 Feb 2005 08:26:42 -0000

This is where life gets difficult :( according to most people the biosloader
should work without any modification) Unfortunately quite a few people
including myself have had the same problems you are now seeing.

I overcame the problem by rewriting the loader code of the biosloader. One
tool you will need is Norton Disk Edit or something similar. This
application runs in DOS and allows you to view ANY portion of the HDD
including the boot sector.

The bldr code is ok but you need to make sure that AA55 is at the end of the
boot sector. Also CESysgen code is ok. The problem lies in the loader
code... You should remove the decompression code from the loader (you can
play with that later).

The loader code algorithms LDP to CHP are correct you will also need CHP to
LDP. I suggest that you also take a look at the following information
(which by the way is excellent, thanks guys you saved my life) :)

Hale Landis: How It Works:
http://www.ata-atapi.com/hiw.htm

Ralf Brown: DOS Interrupt List:
http://www-2.cs.cmu.edu/afs/cs.cmu.edu/user/ralf/pub/WWW/files.html

Mossywell: Computer Boot Sequence:
http://www.mossywell.com/boot-sequence/

DOS Directory Format:
http://www.uic.edu/classes/eecs/eecs265/ece267_Spring2003/ASSEMBLY/directoryformat.html

Windows CE Binary Image Data Format:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wceosdev5/html/wce50conwindowscebinaryimagedataformatbin.asp

That should keep you busy for a little while :)

NOTE: make sure you format the HDD with FAT16

Regards...

P.

"BryanEverly" <BryanEverly@discussions.microsoft.com> wrote in message
news:1B8C1ECF-ECD3-4148-98BD-2C8F8A9A999B@microsoft.com...
> Hi,
>
> I was able to successfully boot from a floppy using the specialized
> eboot.bin file provided in my 3rd party BSP (VIA EPIA ME6000 micro-ITX
> board)
> and then download an OS image created to my specifications using platform
> builder.
>
> I can use the CEPC booted from that image, access the hard disk, copy
> files
> to it, access the CDROM drive, read files from it, copy files to / from
> the
> floppy disk so I'm pretty sure my OS image is happy (had to add in some
> 3rd
> party device drivers to my workspace to get it all working, but now I can
> use
> the CEPC as a dumb little web browser and can even browse websites on the
> Internet with it).
>
> That said, I have followed the instructions as thoroughly as I can (I'm
> hoping I've just missed something simple and someone can point it out to
> me)
> but have not been able to successfully boot the OS image from the hard
> disk.
> Best as I can determine, the steps were:
>
> 1. Get the C: drive formatted cleanly with no volume name
>
> 2. Use the mkdisk.bat utility on the C: drive to put a bootloader on it.
>
> 2. Get everything working on the CEPC from an image that downloads &
> boots
> using a floppy and eboot.bin
>
> 3. Copy the Nk.bin file from the \Release directory from the successfully
> booted image over to the \Hard Disk directory using the CE explorer
> interface.
>
> 4. Reboot
>
> When I do that, it just hangs after displaying the bootloader message on
> the
> screen (by the way, the first character of that message doesn't show up on
> the screen - pretty odd). The device is locked solid and the keyboard is
> nonresponsive.
>
> I saw another posting stating similar-sounding (to a newbie like me)
> problems, but am not sure if this is the same issue or not.
>
> Anyone who is willing to help me solve this would really make my day.
>
> Thanks in advance,
> Bryan



Relevant Pages

  • Re: Users Are Gone, Cant Login
    ... >disk and go from there. ... Use it to boot to, then fdisk and format. ... >> system with similar user accounts installed on it. ...
    (microsoft.public.windowsxp.general)
  • Re: Newbie is getting smarter - Trying to boot CEPC from hard drive
    ... > One tool you will need is Norton Disk Edit or something similar. ... > including the boot sector. ... > The loader code algorithms LDP to CHP are correct you will also need CHP ...
    (microsoft.public.windowsce.platbuilder)
  • Re: Cant format C:
    ... This should let you format and when it asks for verification of previous OS ... insert the ME disk. ... So I try to boot from the Windows ME disk. ...
    (microsoft.public.windowsxp.configuration_manage)
  • Re: boot problem
    ... Did you partition and formatted the drive on the same HP laptop under XP Pro? ... Boot size specified in TD will have nothing to do with ntldr boot. ... There is no such thing exists like "windows embedded disk". ... Did you partition and format the drive on the target machine to ...
    (microsoft.public.windowsxp.embedded)
  • Re: Boot Problem
    ... Was either disk set up as a Microsoft dynamic disk? ... Do not change the boot sector signature. ... I ensure all OK by swapping over drives. ... installing XP as it insisted there was no drive to install itself on! ...
    (microsoft.public.windowsxp.hardware)