Foonas-em:TFTPBoot-lsppc
From foonas
To boot your PPC Linkstation or Kuro via tftp, first establish that you have a working tftp server and both the foonas-em image (vmlinux.UBoot) and the appropriate .dtb file at the tftp server's root directory location. If you don't have a working tftp server, see this for some reference.
Power up your PPC Linkstation or Kuro, and using the NetCat netconsole, halt the boot process:
U-Boot 1.2.0 (Apr 10 2007 - 19:13:32) LinkStation HG / KuroBox HG
stdin : nc
stdout: nc
stderr: nc
IDE: Bus 0: OK
Device 0: Model: Maxtor 6L200P0 Firm: BAJ41G20 Ser#: L42C0F8G
Type: Hard Disk
Supports 48-bit addressing
Capacity: 194481.0 MB = 189.9 GB (398297088 x 512)
Boot in 08 seconds ('s' to stop)...s
Then issue the following commands:
tftp 800000 vmlinux.UBoot tftp 7f0000 kuroboxHG.dtb setenv bootargs console=ttyS0,57600 root=/dev/ram0 rw bootm 00800000 - 7f0000
Note that you will loose netconsole connectivity in this case. You will still be able to login via telnet as root using the password 'hydr0g3n'.
For reference, this is more or less what you will see:
=> tftp 800000 vmlinux.UBoot
tftp 800000 vmlinux.UBoot
Using RTL8169#0 device
TFTP from server 192.168.11.149; our IP address is 192.168.11.150
Filename 'vmlinux.UBoot'.
Load address: 0x800000
Loading: #################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
##############
done
Bytes transferred = 3397221 (33d665 hex)
=> tftp 7f0000 kuroboxHG.dtb
tftp 7f0000 kuroboxHG.dtb
Using RTL8169#0 device
TFTP from server 192.168.11.149; our IP address is 192.168.11.150
Filename 'kuroboxHG.dtb'.
Load address: 0x7f0000
Loading: #
done
Bytes transferred = 2236 (8bc hex)
=> setenv bootargs console=ttyS0,57600 root=/dev/ram0 rw
setenv bootargs console=ttyS0,57600 root=/dev/ram0 rw
=> bootm 00800000 - 7f0000
bootm 00800000 - 7f0000
## Booting image at 00800000 ...
Image Name: Linux-2.6.23.14
Image Type: PowerPC Linux Kernel Image (gzip compressed)
Data Size: 3397157 Bytes = 3.2 MB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
Uncompressing Kernel Image ... OK
Booting using flat device tree at 7f0000
Loading Device Tree to 007fd000, end 007fd8bb ...
