Difference between revisions of "Uboot firmimg.bin ppc"

From NAS-Central Buffalo - The Linkstation Wiki
Jump to: navigation, search
(Installation from Linux)
(Installation from Linux)
 
(3 intermediate revisions by one user not shown)
Line 1: Line 1:
 
{{Articles|Kurobox|LS1|HG}}
 
{{Articles|Kurobox|LS1|HG}}
 +
<div align="center" width="80%" style="border: 1px solid #CC9999; background-color: #FFCCCC; padding: 5px">
 +
{| style="padding: 10px"
 +
|-
 +
|align="center" nowrap |[[Image:Nuvola_apps_important.png|100px]]&nbsp;
 +
|align="left" width="100%"|<center>'''NOTE: <font color="red">YOU MUST HAVE U-BOOT INSTALLED BEFORE CONTINUING WITH THESE INSTRUCTIONS!'''</font color></center>
 +
|}</div>
 +
 +
 
==Why?==
 
==Why?==
 
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.
 
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.
Line 15: Line 23:
  
 
== Installation from Linux ==
 
== Installation from Linux ==
 +
 +
'''Note: You should have uBoot installed before proceeding with installing a new firmimg.bin.  Failure to do so could brick your LinkStation or Kurobox.'''
 +
 
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.
 
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 [http://downloads.nas-central.org/ALL_LS_KB_PPC/Bootloader/UBoot/FirmimgBins/linux-2.4.33.3-list.mg.2-v3/firmimg.bin 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.
 
Download this [http://downloads.nas-central.org/ALL_LS_KB_PPC/Bootloader/UBoot/FirmimgBins/linux-2.4.33.3-list.mg.2-v3/firmimg.bin 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 'dd' command 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.
+
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.
  
 
=== [[LS1]], [[Kurobox]]  ===
 
=== [[LS1]], [[Kurobox]]  ===

Latest revision as of 16:13, 26 January 2008

Nuvola apps important.png 
NOTE: YOU MUST HAVE U-BOOT INSTALLED BEFORE CONTINUING WITH THESE INSTRUCTIONS!


Contents

Why?

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 2.4.33.3 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.

Features

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

Installation from Linux

Note: You should have uBoot installed before proceeding with installing a new firmimg.bin. Failure to do so could brick your LinkStation or Kurobox.

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.

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/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:

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.