Source code of fvdw firmware & console

Source code of fvdw firmware & console

Postby Taurus17 » Mon Jun 08, 2015 7:55 am

Hello everybody,
I would to know where we can find the source code of fvdw firmware and the console.
I would like understand how it works on 5BigNetwork 2.
Thanks.
Taurus17
 
Posts: 3
Joined: Sun Jun 07, 2015 8:28 am

Re: Source code of fvdw firmware & console

Postby fvdw » Mon Jun 08, 2015 1:17 pm

the fvdw-sl firmware
This is based on open source programs like linux, glibc, samba, proftp, et etc...the source codes of those can be obtained from the authors of these pacakages.
Further it has a php bases webinterface, all scripts we use can be found in the firmware
There are some small daemons written in C by ourselvers for those we do not supply the source code.

The fvdw-sl-console (running under windows) is also an program written by ourselves in C, we do not supply the source code of that program.
fvdw
Site Admin - expert
 
Posts: 13471
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Re: Source code of fvdw firmware & console

Postby Taurus17 » Mon Jun 08, 2015 8:11 pm

Ok, thanks for your answer, but how you assemble your firmware ?
and do you konw how to flash the lacie correctly ?
Taurus17
 
Posts: 3
Joined: Sun Jun 07, 2015 8:28 am

Re: Source code of fvdw firmware & console

Postby fvdw » Mon Jun 08, 2015 10:01 pm

Taurus17 wrote:Ok, thanks for your answer, but how you assemble your firmware ?

what do you mean exactly, I don't understand your question ?
and do you know how to flash the lacie correctly ?

Do you mean the boot loader (u-boot). In that case yes I know how to do that.
But why do want to replace and with what version of u-boot. On a 5big2 it makes little sense to flash u-boot as it can handle ms-dos and gpt partitions. So it can boot any disk, also the ones bigger then 2TB. if the boot loader is ok I would leave it as it is, there is no reason to replace it.

If you mean the firmware then there is following.
There are two type of the 5big2, one with nand flash and one with spi flash.
The version with nand flash you get when you have bought a disk less 5big2 from lacie (without any disks), if your 5big2 was delivered by lacie with hard disks inside you probably will have the spi version

If you have the nand version.
Then it has a basic lacie firmware version in flash that can format new disks and install the lacie firmware from flash. When it has done that you can do normal boot this and it runs the firmware from hard disk.

If you have a version with spi flash.
Then it doesn't has lacie firmware in flash and it cannot format disk it must have then lacie firmware on the hard disk to be able to boot.

The fvdw-sl firmware runs on both versions, it is installed on one hard disk and it runs from hard disk.
The fvdw-sl firmware can be installed easily using the fvdw-sl console

If you want to install lacie firmware there are several topics on the forum describing how to do that.
fvdw
Site Admin - expert
 
Posts: 13471
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Re: Source code of fvdw firmware & console

Postby Taurus17 » Tue Jun 09, 2015 4:34 pm

Thanks for your answers.
When I ask how do you assemble the firmware, I mean how do you compil it ? what is the toolchain?
Taurus17
 
Posts: 3
Joined: Sun Jun 07, 2015 8:28 am

Re: Source code of fvdw firmware & console

Postby fvdw » Tue Jun 09, 2015 9:22 pm

The binaries in the firmware are compiled using an own build gcc compiler that runs on the 5big2 or nwsp2. So no toolchain or cross compiling. In the past I used toolchains from codesourcery from 2005 and 2008 but those were not able to compile more recent packages, and, some packages don't like cross compiling (fail) or the process to set them up properly for cross compiling is very complicated.
fvdw
Site Admin - expert
 
Posts: 13471
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands


Return to Lacie 5big Network vs2

Who is online

Users browsing this forum: No registered users and 10 guests