Preamble

Here are same hints which making live easier with developing stuff for and at the simpad.

INITRAMFS

  • with the initramfs it should be possible to do nfsroot via pcmcia and that saves write cycles on the internal flash
  • build your initrd as cpio archive
  • build the kernel with INITRAMFS support but don't include it the kernel
 I didn't get it worked this way the bootldr supports initrd
  • start simpad (I am for now using cutecom as Terminalprogramm, it has some adavantages over minicom)
  • interrupt bootldr and type the following to the console
  • load ram 0xC0008000
 now you can upload your kernel via ymodem protocol
  • load ram 0XC0C08000
 upload your initrd to the simpad at other adress
  • set use_initrd 1
  • set initrd_start 0xC0C08000
  • set initrd_size 0x000a6e22
 initrd_size depends on your initrd-file you must provide the size in hex 
 do ls -la initrd take the bytesize and convert it to hex
 this command should do: echo 'obase=16; ibase=10; '$(ls -la initrd | awk '{ print $5 }')' '| bc
  • set rootfstype cpio
  • set linuxargs console=ttySA0 rdinit=/hello
 rdinit defines which program of the initrd should be executed default is /init
  • boot addr 0xC0008000 0
 bootldr now boots the kernel from and the kernel executes the initramfs
This page was last modified 00:26, 24 July 2007. | This page has been accessed 4,523 times. | About OpenSIMpad.org
Designed by Anna Boheim | Powerd by mediawiki