Cannot install fvdw-sl. Tried both GPT and DOS partition

Re: Cannot install fvdw-sl. Tried both GPT and DOS partition

Postby mlundemann » Sun Nov 06, 2016 8:32 pm

Yes, after a successfully installing the firmware (by turning off system, chosing "Install fvdw-sl firmware" from the "Action" dropdown menu, selecting "UIMAGE-3142-KIRKWOOD-150-standalone", switching back on the disk when waiting for u-boot and clicking my way in the Telnet interface), I reboot the disk with
Code: Select all
reboot -f
But after that I am not able to see the NAS when running the fvdw-sl assistant.

Choosing "Standalone kernel, load and start" from the dropdown menu, enables me to reload the "UIMAGE-3142-KIRKWOOD-150-standalone kernel", and restart the Telnet client, but I find no boot.log on sda7.

Choosing "External kernel, load and start" (with the disk turned off), I am able to select the "UIMAGE-3142-NWSP2CL-14" (which I copied to the tftp-folder) and the kernel is loaded when I power on the disk. However, I am not able to establish a Telnet connection so I can not explore the system with that kernel loaded.

Does that make any sense?
mlundemann
 
Posts: 15
Joined: Mon Oct 31, 2016 7:45 pm

Re: Cannot install fvdw-sl. Tried both GPT and DOS partition

Postby fvdw » Sun Nov 06, 2016 9:06 pm

Choosing "External kernel, load and start" (with the disk turned off), I am able to select the "UIMAGE-3142-NWSP2CL-14" (which I copied to the tftp-folder) and the kernel is loaded when I power on the disk. However, I am not able to establish a Telnet connection so I can not explore the system with that kernel loaded.


When you do this then you cannot connect with telnet client, the firmware will be loaded and it should get an IP from your DHCP server (normally your router) and you should see your cloudbox on the LAN and access it via the webinterface using the assigned IP or using an ssh client
fvdw
Site Admin - expert
 
Posts: 13472
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Re: Cannot install fvdw-sl. Tried both GPT and DOS partition

Postby mlundemann » Sun Nov 06, 2016 9:16 pm

Hmm.. Still no luck.

After loading UIMAGE-3142-NWSP2CL-14 I am still not able to see the cloudbox in the fvdw-sl assistant, nor in my routers interface of connected devices. :thinking
mlundemann
 
Posts: 15
Joined: Mon Oct 31, 2016 7:45 pm

Re: Cannot install fvdw-sl. Tried both GPT and DOS partition

Postby fvdw » Sun Nov 06, 2016 9:18 pm

now go back to the load the standalone kernel and see if boot.log is available on sda7

If it is not present we are going to boot using the u-boot console that is available in the fvdw-sl console to see what happens when we load a kernel
fvdw
Site Admin - expert
 
Posts: 13472
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Re: Cannot install fvdw-sl. Tried both GPT and DOS partition

Postby mlundemann » Sun Nov 06, 2016 9:33 pm

Okay, re-loading the standalone kernel still doesn't give me any boot.log, when I mount /dev/sda7.

So for the u-boot I guess I need to use "u-boot-3.6.0-2.1-cloudbox-revA-2.1.3-sf.kwb"?

Thank you so much for your help, fvdw. I really appreciate it!
mlundemann
 
Posts: 15
Joined: Mon Oct 31, 2016 7:45 pm

Re: Cannot install fvdw-sl. Tried both GPT and DOS partition

Postby fvdw » Sun Nov 06, 2016 9:36 pm

no problem, I like a challenge ;)
No we are not going to flash u-boot unless you have done this already by putting for instance mainline u-boot in flash. But I assume you did not do that otherwise the fvdw-sl console probably would not work.

Now lets try what happens if we load a kernel via u-boot console and activating netconsole output, this should display detailed information in the u-boot window when the kernel starts

How load the new kernel using u-boot console

I assume the UIMAGE-3142-NWSP2CL-14 kernel is present in the tftp directory of the fvdw-sl console
Switch off the nas, start fvdw-sl console and choose as action, start tftp server after that choose as action u-boot console

Start the nas and wait until u-boot console interrupts the boot and the marvell>> prompt appears

in the u-boot console windwo give these commands
Code: Select all
setenv bootargs console=ttyS0,115200 netconsole=6666@${ipaddr}/,6666@${serverip}/ root=/dev/sda7

use the commands exactly as they are given so do not replace the parameters ipaddr and serverip leave them as they are in this command
PS the u-boot console window has a paste option (right click on title bar)
check if now bootargs parameter is set to this string
Code: Select all
printenv bootargs

proceed
Code: Select all
ide reset

when marvell>> prompt returns give command
Code: Select all
tftpboot 0x800000 UIMAGE-3142-NWSP2CL-14

when marvell prompt reurns give command
Code: Select all
bootm

You should see in the u-boot window that the kernel is uploaded and loaded

If the kernel loads it should show you after mention starting kernel detailed output of kernel laoding in the u-boot console window. If the kernel fails before netconsole is activated in the kernel then there will be no output
fvdw
Site Admin - expert
 
Posts: 13472
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Re: Cannot install fvdw-sl. Tried both GPT and DOS partition

Postby mlundemann » Sun Nov 06, 2016 9:46 pm

And this is indeed a challenge (at least I feel that way :hammerhead )

The output looks okay, I think?

Marvell>> setenv bootargs console=ttyS0,115200 netconsole=6666@${ipaddr}/,6666@$
{serverip}/ root=/dev/sda7
setenv bootargs console=ttyS0,115200 netconsole=6666@${ipaddr}/,6666@${serverip}
/ root=/dev/sda7
Marvell>> printenv bootargs
printenv bootargs
bootargs=console=ttyS0,115200 netconsole=6666@192.168.1.252/,6666@192.168.1.201/
root=/dev/sda7
Marvell>> ide reset
tftpboot 0x400000 UIMAGE-3142-NWSP2-14

ide reset

Reset IDE:
Marvell Serial ATA Adapter

Marvell Serial ATA Adapter
Integrated Sata device found
[0 0 0]: Enable DMA mode (5)
Device 0 @ 0 0:
Model: ST2000DM001-1CH164 Firm: CC44 Ser#:
W1E2V391
Type: Hard Disk
Supports 48-bit addressing
Capacity: 1907729.0 MB = 1863.0 GB (3907029168 x 512)
PCIe SATA:ffffffff

Marvell>>
mlundemann
 
Posts: 15
Joined: Mon Oct 31, 2016 7:45 pm

Re: Cannot install fvdw-sl. Tried both GPT and DOS partition

Postby fvdw » Sun Nov 06, 2016 9:50 pm

The output looks okay, I think?

no it is not
do ide reset and then wait until marvell>> prompt comes back
only after that the prompt is back give the command
Code: Select all
tftpboot 0x800000 UIMAGE-3142-NWSP2-14

PS note that I changed the boot address to 0x800000 (I made a mistake in the first version, for cloudbox we need to load it higher up in memory to prevent overwriting u-boot
fvdw
Site Admin - expert
 
Posts: 13472
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Re: Cannot install fvdw-sl. Tried both GPT and DOS partition

Postby mlundemann » Sun Nov 06, 2016 9:54 pm

Ah, okay..

It does not seem to recognise the tftpboot-command? Was that supposed to be in the tftp-folder?

Marvell>> ide reset
ide reset

Reset IDE:
Marvell Serial ATA Adapter

Marvell Serial ATA Adapter
Integrated Sata device found
[0 0 0]: Enable DMA mode (5)
Device 0 @ 0 0:
Model: ST2000DM001-1CH164 Firm: CC44 Ser#:
W1E2V391
Type: Hard Disk
Supports 48-bit addressing
Capacity: 1907729.0 MB = 1863.0 GB (3907029168 x 512)
PCIe SATA:ffffffff

Marvell>> tftpboot 0x800000 UIMAGE-3142-NWSP2-14

tftpboot 0x800000 UIMAGE-3142-NWSP2-14
Unknown command 'tftpboot' - try 'help'
Marvell>>
mlundemann
 
Posts: 15
Joined: Mon Oct 31, 2016 7:45 pm

Re: Cannot install fvdw-sl. Tried both GPT and DOS partition

Postby fvdw » Sun Nov 06, 2016 9:57 pm

:shock: if you type help you get a list of commands check if tftpboot is present (if you used a backspace while typing the command it also will fail)
fvdw
Site Admin - expert
 
Posts: 13472
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

PreviousNext

Return to Lacie cloudbox (white casing)

Who is online

Users browsing this forum: No registered users and 13 guests