2BIG2 firmware

Re: 2BIG2 firmware

Postby fvdw » Fri Apr 04, 2014 8:11 pm

if it did came you can adapt the bootloader environment variables like this

Code: Select all
setenv disk_disk ide reset && diskboot $loadaddr 0:6
setenv bootarg console=ttyS0,115200 root=/dev/sda7 ro reset=0
setenv bootcmd dhcp && run netconsole; if run usbload || run disk_disk; then bootm; fi
saveenv


Now the nas should boot without an image on the usb stick
fvdw
Site Admin - expert
 
Posts: 13245
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Re: 2BIG2 firmware

Postby ded_kiev » Fri Apr 04, 2014 9:00 pm

Alas, code "saveenv" can not be executed after the kernel boot ....
Changes were not saved.

134.jpg
You do not have the required permissions to view the files attached to this post.
ded_kiev
Donator VIP
Donator VIP
 
Posts: 36
Joined: Thu Mar 27, 2014 7:10 am
Location: Ukraine

Re: 2BIG2 firmware

Postby fvdw » Fri Apr 04, 2014 9:52 pm

probably my fault we need another syntax to set the new environment variable. Just a minute
fvdw
Site Admin - expert
 
Posts: 13245
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Re: 2BIG2 firmware

Postby fvdw » Fri Apr 04, 2014 9:56 pm

ok this should do it (note the quotes (')

Code: Select all
setenv disk_disk 'ide reset && diskboot $loadaddr 0:6'
setenv bootarg console=ttyS0,115200 root=/dev/sda7 ro reset=0
setenv bootcmd 'dhcp && run netconsole; if run usbload || run disk_disk; then bootm; fi'
saveenv
fvdw
Site Admin - expert
 
Posts: 13245
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Re: 2BIG2 firmware

Postby fvdw » Fri Apr 04, 2014 9:58 pm

I edited above post
fvdw
Site Admin - expert
 
Posts: 13245
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Re: 2BIG2 firmware

Postby fvdw » Fri Apr 04, 2014 10:04 pm

if the above doesn't work try this
Code: Select all
setenv disk_disk 'ide reset && diskboot 0x800000 0:6'
setenv bootarg console=ttyS0,115200 root=/dev/sda7 ro reset=0
setenv bootcmd 'dhcp && run netconsole; if run usbload || run disk_disk; then bootm; fi'
saveenv
fvdw
Site Admin - expert
 
Posts: 13245
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Re: 2BIG2 firmware

Postby ded_kiev » Fri Apr 04, 2014 10:15 pm

It WORKS!! Booting without problems. Thank you very much!

Code: Select all
provided by fvdw
waiting for u-boot..
starting u-boot net console click on window and press enter
 0
DHCP client bound to address 192.168.0.106
(Re)start USB...
USB:   Register 10011 NbrPorts 1
USB EHCI 1.00
scanning bus for devices... 1 USB Device(s) found
       scanning bus for storage devices... 0 Storage Device(s) found

** Invalid boot device **

Reset IDE: Bus 0: OK
  Device 0: Model: WDC WD20EZRX-00D8PB0 Firm: 80.00A80 Ser#:  WD-WMC4M0845292
            Type: Hard Disk
            Supports 48-bit addressing
            Capacity: 1907729.0 MB = 1863.0 GB (-387938128 x 512)
Loading file "/boot/uImage" from ide device 0:1 (hda1)
** File not found /boot/uImage
2big2> setenv disk_disk 'ide reset && diskboot $loadaddr 0:6'
setenv disk_disk 'ide reset && diskboot $loadaddr 0:6'
2big2> setenv bootarg console=ttyS0,115200 root=/dev/sda7 ro reset=0
setenv bootarg console=ttyS0,115200 root=/dev/sda7 ro reset=0
2big2> setenv bootcmd 'dhcp && run netconsole; if run usbload || run disk_disk;
then bootm; fi'
setenv bootcmd 'dhcp && run netconsole; if run usbload || run disk_disk; then bo
otm; fi'
2big2> saveenv
saveenv
Saving Environment to SPI Flash...
SF: Detected MX25L4005 with page size 64 KiB, total 512 KiB
Erasing SPI flash...Writing to SPI flash...done
2big2> reset
reset
resetting ...
 0
DHCP client bound to address 192.168.0.106
(Re)start USB...
USB:   Register 10011 NbrPorts 1
USB EHCI 1.00
scanning bus for devices... 1 USB Device(s) found
       scanning bus for storage devices... 0 Storage Device(s) found

** Invalid boot device **

Reset IDE: Bus 0: OK
  Device 0: Model: WDC WD20EZRX-00D8PB0 Firm: 80.00A80 Ser#:  WD-WMC4M0845292
            Type: Hard Disk
            Supports 48-bit addressing
            Capacity: 1907729.0 MB = 1863.0 GB (-387938128 x 512)

Loading from IDE device 0, partition 6: Name: hda6  Type: U-Boot
   Image Name:   Linux-3.9.5
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    4319672 Bytes = 4.1 MiB
   Load Address: 00008000
   Entry Point:  00008000
## Booting kernel from Legacy Image at 00800000 ...
   Image Name:   Linux-3.9.5
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    4319672 Bytes = 4.1 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
OK

Starting kernel ...

ded_kiev
Donator VIP
Donator VIP
 
Posts: 36
Joined: Thu Mar 27, 2014 7:10 am
Location: Ukraine

Re: 2BIG2 firmware

Postby ded_kiev » Fri Apr 11, 2014 7:25 am

Hello fvdw.

1. At what temperature the cooling system is turn ON? You can add to web-interface the cooling system control (ON-OFFand Temp. Set)?

2. It is possible to add to the web-interface (or as patch) - wdidle3_1_05 utility? It is a tool to disable the auto-parking WD HDD block heads.
http://support.wdc.com/product/download.asp?groupid=609&sid=113&lang=en

Suffice two values​​-"300 sec." And "disable".

Thanks.
ded_kiev
Donator VIP
Donator VIP
 
Posts: 36
Joined: Thu Mar 27, 2014 7:10 am
Location: Ukraine

Re: 2BIG2 firmware

Postby fvdw » Fri Apr 11, 2014 7:03 pm

it starts when disk sda exceeds 45 oC
It will start slow but if tmepratures increase further then speed is increased, it is stopped when temps are below 45 oC
You can see in disk menu what the actual temp of your disk is
what would be the use of having possibility to switch it on or off manually ?
In the webinterface a message will be displayed in case the fan control daemon is not running.
In ps -ef output you should see a line with /usr/sbin/fan-d If that is present the fan control daemon is running

to point 2
answer is "no". That program is a ms-dos program and won't run under linux
fvdw
Site Admin - expert
 
Posts: 13245
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Re: 2BIG2 firmware

Postby ded_kiev » Tue Apr 29, 2014 9:41 pm

fvdw wrote:it starts when disk sda exceeds 45 oC


Possible reduce to 35-40 oC?

fvdw wrote:to point 2
answer is "no". That program is a ms-dos program and won't run under linux


wdidle3 for linux --- http://idle3-tools.sourceforge.net/
ded_kiev
Donator VIP
Donator VIP
 
Posts: 36
Joined: Thu Mar 27, 2014 7:10 am
Location: Ukraine

PreviousNext

Return to Lacie 2Big Network vs2

Who is online

Users browsing this forum: No registered users and 6 guests