Foonas-em:TFTPBoot-lsmipsel

From foonas

Jump to: navigation, search


To boot your mipsel Linkstation2 tftp with foonas-em, first establish that you have a working tftp server and both the foonas-em image (vmlinuz.gz) 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 Linkstation2, and using the NetCat netconsole, halt the boot process:

U-Boot 1.1.4 LiSt V2 (mips) 1.0.1 (Sep 20 2007 - 00:42:23)
stdin :   nc
stdout:   nc
stderr:   nc
IDE:    Bus 0: OK Bus 1: OK 
  Device 0: Model: SAMSUNG SP1203N  Firm: TL100-30 Ser#: 0SQ02JX00C3140
            Type: Hard Disk
            Supports 48-bit addressing
            Capacity: 114498.5 MB = 111.8 GB (234493056 x 512)
Boot in 07 seconds ('s' to stop)...s

Then issue the following commands:

tftp 82000000 vmlinuz.gz
setenv bootargs netconsole=6666@192.168.11.150/,@192.168.11.149/ root=/dev/ram0 rw 
bootm 82000000

Note that you will loose netconsole connectivity after this (unless your kernel has netconsole enabled in it). You will still be able to login via telnet as root using the password hydr0g3n.

=> tftp 82000000 vmlinuz.gz
tftp 82000000 vmlinuz.gz
Using rc32434_eth device
TFTP from server 192.168.11.149; our IP address is 192.168.11.150
Filename 'vmlinuz.gz'.
Load address: 0x82000000
Loading: #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 ##########
done
Bytes transferred = 3376941 (33872d hex)
=> setenv bootargs netconsole=6666@192.168.11.150/,@192.168.11.149/ root=/dev/ram0 rw 
setenv bootargs netconsole=6666@192.168.11.150/,@192.168.11.149/ root=/dev/ram0 rw 
=> bootm 82000000
bootm 82000000
## Booting image at 82000000 ...
Found gzip-ed image at 0x82000000. Uncompressing ...done
Loading .text @ 0x80100000 (1979552 bytes)
Loading __ex_table @ 0x802e34a0 (6248 bytes)
Loading .rodata @ 0x802e5000 (121152 bytes)
Loading .pci_fixup @ 0x80302940 (1368 bytes)
Loading __ksymtab @ 0x80302e98 (15200 bytes)
Loading __ksymtab_gpl @ 0x803069f8 (3936 bytes)
Loading __ksymtab_strings @ 0x80307958 (44004 bytes)
Loading __param @ 0x8031253c (340 bytes)
Loading .data @ 0x80314000 (74656 bytes)
Loading .data.cacheline_aligned @ 0x80327000 (192 bytes)
Loading .init.text @ 0x80328000 (119316 bytes)
Loading .init.data @ 0x80345218 (6248 bytes)
Loading .init.setup @ 0x80346a80 (732 bytes)
Loading .initcall.init @ 0x80346d5c (392 bytes)
Loading .exit.text @ 0x80346ee4 (2116 bytes)
Loading .init.ramfs @ 0x80348000 (2200231 bytes)
Clearing .bss @ 0x80562000 (97312 bytes)

Starting kernel @ 0x80328000...
Personal tools