BOOT(8) System Manager's Manual (hpcsh) BOOT(8)

boot
system bootstrapping procedures

Windows CE machines with SuperH CPUs use the hpcboot(8) program to boot NetBSD. Once running, NetBSD can reboot itself if kloader(4) is configured in the kernel.

Unfortunately, NetBSD can't reboot itself at power-up or after crashes. The machine will go through the cold reset and boot into Windows CE. You will have to restart NetBSD manually using hpcboot(8).

Once NetBSD starts, an automatic consistency check of the file systems will be performed, and unless this fails, the system will resume multi-user operations.

On cold reset Windows CE handheld machines attempt to boot the Windows CE operating system from the boot ROM. The boot ROM is usually not rewritable, so you cannot erase or damage Windows CE image.

You can't boot NetBSD directly, skipping Windows CE. The NetBSD bootloader, hpcboot(8), is provided as a Windows CE application program instead. Though the bootloader is an application program, it blows the entire running Windows CE, its data, and its settings away from RAM (but not ROM!) when the kernel boots successfully. If NetBSD is halted the machine will go through the cold reset and will reboot into Windows CE.

Please, refer to the hpcboot(8) manual page.

hpcboot.exe
bootloader program for Windows CE

kloader(4), hpcboot(8)

There is no general way to launch the bootloader automatically, as only a few Windows CE machines provide an “auto run” mechanism.
April 3, 2004 NetBSD 9.4