Uboot firmimg.bin ppc
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 220.127.116.11 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.
- 18.104.22.168 kernel in flash
- 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.
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.
Note: When the raw copy data command 'dd' is issued you may find your shell/terminal window locks up. If so, just start a new one, log in, navigate back to /mnt/share or wherever and carry on with the code.
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/mtdblock0 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:
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.