Ok here is the instruction to boot the nas via u-boot terminal in fvdw-sl console.
So power off the nas , startup the fvdw-sl console, start the tftp server and open a u-boot command window using the fvdw-sl console.
Now it will wait for u-boot.
Start the nas and wait for the Marvell>> prompt
before booting the kernel lets see if u-boot can recognize your disk
give on the u-boot command line the command
- Code: Select all
ide reset
It should respond that it found one device
for example something like this
- Code: Select all
Marvell>> ide reset
ide reset
Reset IDE:
Marvell Serial ATA Adapter
Integrated Sata device found
[0 0 0]: Enable DMA mode
Device 0 @ 0 0:
Model: SAMSUNG HD103SI Firm: 1AG01118 Ser#: S1Y5JDWZ626309
Type: Hard Disk
Supports 48-bit addressing
Capacity: 953869.7 MB = 931.5 GB (1953525168 x 512)
Now check if u-boot can read the partition table
- Code: Select all
Marvell>> ide part
It should list if it found a valid partition table (gpt or ms-dos) and list it, for example something like this
- Code: Select all
Marvell>> ide part
ide part
## Testing for valid EFI partition ##
Partition Map for IDE device 0 -- Partition Type: EFI
Part Start LBA End LBA
gpt1 2048 1050623 decimal
gpt2 1050624 2099199 decimal
gpt3 2099200 3147775 decimal
gpt4 3147776 3155967 decimal
gpt5 3155968 4728831 decimal
gpt6 4728832 4745215 decimal
gpt7 4745216 5793791 decimal
gpt8 5793792 1953525134 decimal
Marvell>>
If all that is ok and all partions are there try to boot the kernel with netconsole output. For this we will use the tfp server to boot our kernel present in the tftp directory of the fvdw-sl console.
Give as commands in the u-boot terminal (leave the text as it is below, do not fill in ip addresses, this is the correct syntax))
- Code: Select all
Marvell>> setenv ipaddr ${ipaddr}
the response of the u-boot terminal should be:
- Code: Select all
setenv ipaddr ${ipaddr}
Next enter as command
- Code: Select all
Marvell>> setenv serverip ${serverip}
then
Marvell>> setenv bootargs console=ttyS0,115200 netconsole=6666@${ipaddr}/,6666@${serverip}/edited 31-jul-2013 . Change this to this
- Code: Select all
Marvell>> setenv bootargs console=ttyS0,115200 root=/dev/sda7 netconsole=6666@${ipaddr}/,6666@${serverip}/
then (in this command replace "name-of-uImage-in-tftp-directory" by the actual kernel you want to boot)
- Code: Select all
Marvell>> tftpboot 0x800000 name-of-uImage-in-tftp-directory
This should give as output something like this (example)
- Code: Select all
Marvell>> tftpboot 0x800000 UIMAGE-26394-NWSP2CL-59
tftpboot 0x800000 UIMAGE-26394-NWSP2CL-59
Using egiga0 device
TFTP from server 192.168.1.147; our IP address is 192.168.1.197
Filename 'UIMAGE-26394-NWSP2CL-59'.
Load address: 0x800000
Loading: #################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
##########################
done
Bytes transferred = 3123520 (2fa940 hex)
Now boot the kernel
- Code: Select all
Marvell>> bootm
this will give output that it checks checksum of kernel and then starts it
then boot log will follow after some time, example like this
- Code: Select all
Linux version 2.6.39.4 (root@fvdwsl-nwsp2.local) (gcc version 4.5.4 (GCC) ) #88PREEMPT Tue Feb 19 22:14:37 GMT+1 2013
CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=00053177
CPU: VIVT data cache, VIVT instruction cache
Machine: LaCie Network Space v2
Ignoring unrecognised tag 0x41000403
Memory policy: ECC disabled, Data cache writeback
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 65024
Kernel command line: console=ttyS0,115200 netconsole=6666@192.168.1.252/,6666@192.168.1.44/
PID hash table entries: 1024 (order: 0, 4096 bytes)
Linux version 2.6.39.4 (root@fvdwsl-nwsp2.local) (gcc version 4.5.4 (GCC) ) #88PREEMPT Tue Feb 19 22:14:37 GMT+1 2013
...
<snip>
well hope it is clear enough ;)
ps you can copy output in the u-boot winow (right mouse click on top of window and find you way in the drop down menu that will appear)