Uboot firmimg.bin ppc

From NAS-Central Buffalo - The Linkstation Wiki
Revision as of 09:44, 23 January 2008 by Cavesoftqlt (Talk | contribs) (Why?)

Jump to: navigation, search


The stock EM Mode on the ppc-based linkstations does not feature telnet/ftp access like the ppc based kurobox/kurobox HG. That's why a new firmimg.bin was created.

A firmimg.bin essentially is a gzipped vmlinux-kernel and a gzipped initrd merged into one new file with an additional header in front. The so called firmimgtool from http://www.geocities.jp/trstat/firmhack.html was used for disassembly and assembly of the file.

Linuxnotincluded not only ported UBoot to the ppc based Linkstations, he also ported to the ppc linkstations. This port is also a universal one which means that the same kernel works on the LS1/HG/HS, and this was really needed as all three had used different kernels.

Note: If you've just installed U-Boot onto your KuroboxHG, and you're running a 2.6 kernel, you'll find that the method described below for installing the firmimg.bin will not work. In this case you'll need to install it using U-Boot. Instructions on how to do this are coming soon.


  • kernel in flash
  • telnet-access
  • ftp-access
  • fdisk, chroot included
  • mount_disk script added for easier mounting of the hdd partitions.

Installation from Linux

The stock firmwares do not provide telnet/ssh access. If you have serial connection you can use it for installation. But it is much easier to use OpenLink/FreeLink as they provide telnet/ssh access.

Actually you should install UBoot and this firmimg.bin at the same time...then you always can boot to the flash with telnet/ftp access and can setup the hdd from there.

Download this firmimg.bin and transfer it to the standard share of the Linkstation. if you do not have this share anymore or you have a kurobox transfer it somewhere on the box via samba or ftp and cd into that directory instead of /mnt/share.

LS1, Kurobox

For LinkStation 1 / KuroBox standard run:

# cd /mnt/share/
# dd if=firmimg.bin of=/dev/fl1 bs=1k
# cmp firmimg.bin /dev/fl1

HG, HS, Kurobox HG

For LinkStation HG / KuroBox HG run:

# cd /mnt/share/
# dd if=firmimg.bin of=/dev/mtd0 bs=1k
# cmp firmimg.bin /dev/mtd0

then, when you choose to boot to EM Mode you can login via telnet and you will see this screen:

EM Welcome Screen.JPG

Obviously there is no root password, fdisk and chroot is included and a script was added which mounts /dev/hda1 & /mnt/hda3 to /mnt/hda1 & mnt/hda3.