lacie 5 big network v.1 please support for fvdw

Re: lacie 5 big network v.1 please support for fvdw

Postby fvdw » Mon Oct 21, 2013 10:17 pm

thanks for testing tatae
pity, still not running, tomorrow a trial with a even more smaller kernel, I think I should target to something less then 2 MB
but now its time to go to sleep, tomorrow a working day is waiting.

There is a way to run the standalone kernel and using your serial connector.
That is write it to sda6 of the hdd inside and then boot. U-boot will load that kernel from that partition and maybe you serial console gives info on were it stops.
After that you will have to restore the "normal" kernel again to sda6 to get your 5big1 running again.
I can imagine that this might be too much to ask ;)
fvdw
Site Admin - expert
 
Posts: 13471
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Re: lacie 5 big network v.1 please support for fvdw

Postby taetae » Tue Oct 22, 2013 6:01 am

if you help me and I hand the controls we can do all the walking I'm not even using because I need the multi disc so that I work all then launch commands I'm here to do the testing, and work your support with my potential (ps allotment for work on Oct. 29)
taetae
Donator VIP
Donator VIP
 
Posts: 438
Joined: Mon Aug 26, 2013 9:02 am

Re: lacie 5 big network v.1 please support for fvdw

Postby fvdw » Tue Oct 22, 2013 9:02 pm

lets first try this new smaller standalone kernel (heavily) stripped
You do not have the required permissions to view the files attached to this post.
fvdw
Site Admin - expert
 
Posts: 13471
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Re: lacie 5 big network v.1 please support for fvdw

Postby taetae » Tue Oct 22, 2013 9:44 pm

25 standalone :


Code: Select all
provided by fvdw
waiting for u-boot..
starting u-boot net console click on window and press enter



Marvell>> setenv ipaddr ${ipaddr}
setenv ipaddr ${ipaddr}
Marvell>> setenv serverip ${serverip}
setenv serverip ${serverip}
Marvell>> setenv bootargs console=ttyS0,115200 netconsole=6666@${ipaddr}/,6666@$
{serverip}/
setenv bootargs console=ttyS0,115200 netconsole=6666@${ipaddr}/,6666@${serverip}
/
Marvell>> tftpboot 0x800000 UIMAGE-26394-NWSP2CL-5BIG1-25-standalone
tftpboot 0x800000 UIMAGE-26394-NWSP2CL-5BIG1-25-standalone
Using egiga0 device
TFTP from server 192.168.1.12; our IP address is 192.168.1.252
Filename 'UIMAGE-26394-NWSP2CL-5BIG1-25-standalone'.
Load address: 0x800000
Loading: #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         ###########################################
done
Bytes transferred = 2214240 (21c960 hex)
Marvell>> bootm
bootm
## Booting image at 00800000 ...
   Image Name:   Linux-2.6.39.4
   Created:      2013-10-22  20:58:08 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    2214176 Bytes =  2.1 MB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
taetae
Donator VIP
Donator VIP
 
Posts: 438
Joined: Mon Aug 26, 2013 9:02 am

Re: lacie 5 big network v.1 please support for fvdw

Postby fvdw » Tue Oct 22, 2013 10:48 pm

:fuming maybe still too big, a last trial with reducing the size kernel 26, if that doesn't run then there must be something else why the kernel won't run in standalone mode. To be honest it is very unlikely that it is the size of the kernel because this device has 128 MB of ram and a kernel may be 9extracted) 8 MB of size.
But try please this kernel 26 as last trial with small kernel

If it fails then I want to ask you to try again standalone kernel standalone 21.
But before setting up netconsole and uploading the kernel we do something different we are going to rest the ide interface of the board.
perform an ide reset command in the u-boot console
Code: Select all
marvell>> ide reset

I noticed that when loading the normal kernel form partition 6 we can see in your output of the serial console that this ide reset command is performed by u-boot before loading and booting the kernel !
We didn't do that uptill now with the trials of standalone kernel and this might be the reason why it won't load !
So i think it is worth a try

After reseting the ide (sata) interface in u-boot console proceed with the usual commands to set net console, upload the kernel and boot it (kernel 21)

If that won't work as well we need to go in the serial console mode to find the reason why the standalone kernel doesn't load.

ps tomorrow evening I might not be available due to a birthday party. but thursday i will be there again
You do not have the required permissions to view the files attached to this post.
fvdw
Site Admin - expert
 
Posts: 13471
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Re: lacie 5 big network v.1 please support for fvdw

Postby taetae » Wed Oct 23, 2013 8:39 am

26 standalone :
Code: Select all
provided by fvdw
waiting for u-boot..
starting u-boot net console click on window and press enter


Marvell>> setenv ipaddr ${ipaddr}
setenv ipaddr ${ipaddr}
Marvell>> setenv serverip ${serverip}
setenv serverip ${serverip}
Marvell>> setenv bootargs console=ttyS0,115200 netconsole=6666@${ipaddr}/,6666@$
{serverip}/
setenv bootargs console=ttyS0,115200 netconsole=6666@${ipaddr}/,6666@${serverip}
/
Marvell>> tftpboot 0x800000 UIMAGE-26394-NWSP2CL-5BIG1-26-standalone
tftpboot 0x800000 UIMAGE-26394-NWSP2CL-5BIG1-26-standalone
Using egiga0 device
TFTP from server 192.168.1.12; our IP address is 192.168.1.252
Filename 'UIMAGE-26394-NWSP2CL-5BIG1-26-standalone'.
Load address: 0x800000
Loading: #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         ###################################
done
Bytes transferred = 2174324 (212d74 hex)
Marvell>> bootm
bootm
## Booting image at 00800000 ...
   Image Name:   Linux-2.6.39.4
   Created:      2013-10-22  22:32:53 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    2174260 Bytes =  2.1 MB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
taetae
Donator VIP
Donator VIP
 
Posts: 438
Joined: Mon Aug 26, 2013 9:02 am

Re: lacie 5 big network v.1 please support for fvdw

Postby taetae » Wed Oct 23, 2013 8:45 am

sdandalone 21 + ide reset

Code: Select all
provided by fvdw
waiting for u-boot..
starting u-boot net console click on window and press enter


Marvell>> setenv ipaddr ${ipaddr}
setenv ipaddr ${ipaddr}
Marvell>> setenv serverip ${serverip}
setenv serverip ${serverip}
Marvell>> setenv bootargs console=ttyS0,115200 netconsole=6666@${ipaddr}/,6666@$
{serverip}/
setenv bootargs console=ttyS0,115200 netconsole=6666@${ipaddr}/,6666@${serverip}
/
Marvell>> tftpboot 0x800000 UIMAGE-26394-NWSP2CL-5BIG1-21-standalone
tftpboot 0x800000 UIMAGE-26394-NWSP2CL-5BIG1-21-standalone
Using egiga0 device
TFTP from server 192.168.1.12; our IP address is 192.168.1.252
Filename 'UIMAGE-26394-NWSP2CL-5BIG1-21-standalone'.
Load address: 0x800000
Loading: #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #########################
done
Bytes transferred = 3120840 (2f9ec8 hex)

Marvell>> ide reset
ide reset

Reset IDE:
Marvell Serial ATA Adapter
Found adapter at bus 1, device 7 ... Scanning channels
  Device 0: OK
Model: WDC WD20EZRX-00D8PB0                     Firm: 80.00A80 Ser#:      WD-WMC
4M0410979
            Type: Hard Disk
            Supports 48-bit addressing
            Capacity: 1907729.0 MB = 1863.0 GB (-387938128 x 512)
  Device 1: OK
Model: WDC WD20EZRX-00D8PB0                     Firm: 80.00A80 Ser#:      WD-WMC
4M0218180
            Type: Hard Disk
            Supports 48-bit addressing
            Capacity: 1907729.0 MB = 1863.0 GB (-387938128 x 512)
  Device 2: OK
Model: WDC WD20EZRX-00D8PB0                     Firm: 80.00A80 Ser#:      WD-WMC
4M0424246
            Type: Hard Disk
            Supports 48-bit addressing
            Capacity: 1907729.0 MB = 1863.0 GB (-387938128 x 512)
  Device 3: OK
Model: WDC WD20EZRX-00D8PB0                     Firm: 80.00A80 Ser#:      WD-WMC
4M0219436
            Type: Hard Disk
            Supports 48-bit addressing
            Capacity: 1907729.0 MB = 1863.0 GB (-387938128 x 512)
  Device 4: OK
Model: WDC WD5000AADS-00S9B0                    Firm: 01.00A01 Ser#:      WD-WCA
V90478832
            Type: Hard Disk
            Supports 48-bit addressing
            Capacity: 476940.0 MB = 465.7 GB (976773168 x 512)

Marvell>>



single hd system
Code: Select all
Marvell>> ide reset
ide reset

Reset IDE:
Marvell Serial ATA Adapter
Found adapter at bus 1, device 7 ... Scanning channels
  Device 4: OK
Model: WDC WD5000AADS-00S9B0                    Firm: 01.00A01 Ser#:      WD-WCA
V90478832
            Type: Hard Disk
            Supports 48-bit addressing
            Capacity: 476940.0 MB = 465.7 GB (976773168 x 512)
Marvell>>
taetae
Donator VIP
Donator VIP
 
Posts: 438
Joined: Mon Aug 26, 2013 9:02 am

Re: lacie 5 big network v.1 please support for fvdw

Postby Mijzelf » Wed Oct 23, 2013 11:18 am

I looked in the sources of the EdminiV2 u-boot, which will mainly match the 5Big1, and the only action done between
Code: Select all
Verifying Checksum ... OK
and the 2nd OK is disabling the interrupts, and moving the kernel to it's final destionation (0x00008000). So I don't think kernel size has much to do with it.

But. In the u-boot conf in the beginning of this thread I read
Code: Select all
kernel_addr=0x400000
while all tftpboots do
Code: Select all
Marvell>> tftpboot 0x800000 UIMAGE
I wonder if u-boot itself might be around 0x800000, and is party overwritten by uImage? Try another load address. I suggest 0x1000000.
Mijzelf
 
Posts: 255
Joined: Wed Nov 21, 2012 9:12 am

Re: lacie 5 big network v.1 please support for fvdw

Postby taetae » Wed Oct 23, 2013 12:23 pm

ok now I try to address you posted
taetae
Donator VIP
Donator VIP
 
Posts: 438
Joined: Mon Aug 26, 2013 9:02 am

Re: lacie 5 big network v.1 please support for fvdw

Postby taetae » Wed Oct 23, 2013 2:46 pm

test Mijzelf:


Code: Select all
provided by fvdw
waiting for u-boot..
starting u-boot net console click on window and press enter


Marvell>> setenv ipaddr ${ipaddr}
setenv ipaddr ${ipaddr}
Marvell>> setenv serverip ${serverip}
setenv serverip ${serverip}
Marvell>> setenv bootargs console=ttyS0,115200 netconsole=6666@${ipaddr}/,6666@$
{serverip}/
setenv bootargs console=ttyS0,115200 netconsole=6666@${ipaddr}/,6666@${serverip}
/
Marvell>> tftpboot 0x1000000 UIMAGE-26394-NWSP2CL-5BIG1-21-standalone
tftpboot 0x1000000 UIMAGE-26394-NWSP2CL-5BIG1-21-standalone
Using egiga0 device
TFTP from server 192.168.1.12; our IP address is 192.168.1.252
Filename 'UIMAGE-26394-NWSP2CL-5BIG1-21-standalone'.
Load address: 0x1000000
Loading: #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #########################
done
Bytes transferred = 3120840 (2f9ec8 hex)
Marvell>> bootm
bootm
## Booting image at 01000000 ...
   Image Name:   Linux-2.6.39.4
   Created:      2013-10-20   7:51:30 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    3120776 Bytes =  3 MB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
taetae
Donator VIP
Donator VIP
 
Posts: 438
Joined: Mon Aug 26, 2013 9:02 am

PreviousNext

Return to Lacie 5Big Network vs1

Who is online

Users browsing this forum: No registered users and 7 guests