Contents

WARNING THIS DOCUMENT IS OLD AND MUST BE REWRITTEN!

Which Bootloader?

SIMpad has various boot loaders:

  • original Bootloader (This is the only one you can reflash if you have upgraded to hh.org loader cause the other ones are only updatefiles to this image)
  • bootldr (from iPAQ ported to SIMpad aka hh.org loader)
    • This is now the standard bootloader for Linux based jjfs2 images. All WinCE Images won't work with this loader!

Under normal circumstances the boot loader that comes with SIMpad will do. Changing the bootloader is necessary if you want to download new images with a NE2000 ethernet card, or run a JFFS2 image. The JFFS2 can get confused if parts from an older image are not erased. This limitation goes away with correct padded JFFS2 images.

WARNING

Flashing a boot loader is a delicate task. If it fails the SIMpad is dead and can only be brought to life with a JTAG adapter! See JTAG HOWTO.

What does the boot loader do?

It initializes the CPU and the RAM an then loads either the OS or burns it to flash. It also handles the wakeup after SIMpad has been suspended.

What is the alternative boot loader?

It is called alternative bootloader because it runs in an alternative memory space and the normal bootloader can be downloaded, which would otherwise overlap and fail.

Look at the occupied memory addresses to see which one is running. Normal bootloader starts at 0x8014 and alternative bootloader starts at 0x1f00014.

In the early days of SIMpad Linux the kernel was running at the same address as the boot loader, so the alternative boot loader was necessary to run Linux. Now we use a trick to avoid the overlap. The kernel is gzipped and the unzip code for ARM Linux is position independent. This allows the kernel to be loaded to a different address and the unzip code the puts the kernel to its normal address.

Full HH.org bootloader HOWTO

http://www.handhelds.org/handhelds-faq/bootldr.html

To do

  • Integrate HH.org HOWTO
This page was last modified 07:26, 13 October 2007. | This page has been accessed 13,940 times. | About OpenSIMpad.org
Designed by Anna Boheim | Powerd by mediawiki