Foonas-em:TFTPBoot-ts109

From foonas
Jump to: navigation, search

Server Configuration and Image

Configure a tftp server on your platform of choice using 192.168.11.149 as its IP address. You should also have serial port access to the device so that you can issue commands to U-Boot. The root directory for your tftp server must contain the files you need to boot your TS-109 with, in this case uImage_2.6.25.1.

Download the latest firmware.

Using a Serial Port Connection

Using the serial port app of your choice (e.g. minicom), establish a connection to your TS-109 and power it up. You will see the usual:

         __  __                      _ _
        |  \/  | __ _ _ ____   _____| | |
        | |\/| |/ _` | '__\ \ / / _ \ | |
        | |  | | (_| | |   \ V /  __/ | |
        |_|  |_|\__,_|_|    \_/ \___|_|_|
 _   _     ____              _
| | | |   | __ )  ___   ___ | |_
| | | |___|  _ \ / _ \ / _ \| __|
| |_| |___| |_) | (_) | (_) | |_
 \___/    |____/ \___/ \___/ \__|  ** LOADER **  

 QNAP SYSTEMS, INC.

 ** MARVELL BOARD: RD-88F5182-NAS-2 LE

U-Boot 1.1.1 (Aug  1 2007 - 16:47:15) Marvell version: 1.11.2

DRAM CS[0] base 0x00000000   size 128MB
DRAM Total size 128MB
[8192kB@ff000000] [0kB@f8000000] ## Unknown FLASH at f8000000: Size = 0x00000000 = 0 MB
Flash:  8 MB
Addresses 20M - 0M are saved for the U-Boot usage.
Mem malloc Initialization (20M - 16M): Done

Soc: 88F5182 A2
CPU: ARM926 (Rev 0) running @ 500Mhz
Orion 1 streaming disabled
SysClock = 166Mhz , TClock = 166Mhz

USB 0: host mode
USB 1: host mode
PCI 0: PCI Express Root Complex Interface
PCI 1: Conventional PCI, speed = 33000000
Net:   egiga0
Hit any key to stop autoboot:  3
                                         

When you see the last line above stop the boot process by pressing any key twice or so.

You should see the UBoot prompt then:

Marvell>> 

You then must pass the correct boot parameters to UBoot, tftp the image into your TS-109, and boot it, by entering each of these commands at the UBoot prompt:

setenv bootargs console=ttyS0,115200 rw
tftp 00800000 uImage_2.6.25.1
bootm 00800000

If successful you will see something like this:

Marvell>> setenv bootargs console=ttyS0,115200 rw
Marvell>>  tftp 00800000 uImage_2.6.25.1
Using egiga0 device
TFTP from server 192.168.2.53; our IP address is 192.168.2.59
Filename 'uImage_2.6.25.1'.
Load address: 0x800000
Loading: #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         ######################
done
Bytes transferred = 5433200 (52e770 hex)
Marvell>> bootm 00800000
## Booting image at 00800000 ...
   Image Name:   Linux-2.6.25.1
   Created:      2008-04-25  19:13:23 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    5433136 Bytes =  5.2 MB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
OK

Starting kernel ...
    ______ _____ _____ __   __  _____  ______
   |   ___|     |     |   \|  |/  _  \|   ___|
  _|   ___|  -  |  -  |       |   _   |\   \
 | |__|   |_____|_____|__|\___|__| |__|_\   \
 |___________________________________________|

foonas-em for ts109 - http://foonas.org

ts109 login:

You have now booted with a foonas-em image. You should be able to log in with username "root" and password "hydr0g3n" over your existing serial port connection or telnet it via its DHCP assigned address. Should DHCP fail it will default to the IP address of 192.168.11.150.

Personal tools