doc:appunti:hardware:lacie_d2_network
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
doc:appunti:hardware:lacie_d2_network [2010/10/26 19:36] – niccolo | doc:appunti:hardware:lacie_d2_network [2014/03/01 06:29] (current) – [Compiling the Linux kernel] niccolo | ||
---|---|---|---|
Line 666: | Line 666: | ||
Here it is the binary and the source code of **{{: | Here it is the binary and the source code of **{{: | ||
+ | |||
+ | ===== The EEPROM ===== | ||
+ | |||
+ | With a proper kernel (2.6.32 with the above patch, or 2.6.37) the EEPROM content is exposed for read and write via the pseudo file **''/ | ||
+ | |||
+ | ^ Offset | ||
+ | | 0 | 6 | Ethernet MAC address. | ||
+ | | 6 | 1 | Power flag.\\ If set to **'' | ||
===== Disassembling the LaCie d2 Network ===== | ===== Disassembling the LaCie d2 Network ===== | ||
Line 815: | Line 823: | ||
===== Compiling the Linux kernel ===== | ===== Compiling the Linux kernel ===== | ||
+ | |||
+ | You can download the custom kernel I compiled (vanilla with patches for LEDs) here: [[http:// | ||
After several tries, I compiled a **2.6.32 kernel** suitable to boot the LaCie from an **ext3 Debian Lenny partition**. No initrd is required to boot (this is fortunate FIXME, because I don't know how to install initrd with U-Boot). Here it is the **[[http:// | After several tries, I compiled a **2.6.32 kernel** suitable to boot the LaCie from an **ext3 Debian Lenny partition**. No initrd is required to boot (this is fortunate FIXME, because I don't know how to install initrd with U-Boot). Here it is the **[[http:// | ||
Line 1070: | Line 1080: | ||
| LaCie Network Space 1 TB | 400 Mhz Marvell 88F6082 Feroceon | | LaCie Network Space 1 TB | 400 Mhz Marvell 88F6082 Feroceon | ||
+ | ===== Backporting minidlna ===== | ||
+ | |||
+ | We run **Debian 6 Squeeze** on our LaCie d2 Network and we want it to be a [[wp> | ||
+ | |||
+ | Into a **[[..: | ||
+ | |||
+ | |||
+ | < | ||
+ | apt-get install build-essential dh-make debhelper dpatch | ||
+ | apt-get install libavcodec-dev libavformat-dev libavutil-dev libexif-dev \ | ||
+ | libflac-dev libid3tag0-dev libogg-dev libsqlite3-dev libvorbis-dev libjpeg-dev | ||
+ | wget http:// | ||
+ | dpkg -i debhelper_9.20120909~bpo60+1_all.deb | ||
+ | </ | ||
+ | |||
+ | Then we downloaded the minidlna sources and compiled the sources: | ||
+ | |||
+ | < | ||
+ | mkdir / | ||
+ | cd / | ||
+ | wget http:// | ||
+ | wget http:// | ||
+ | wget http:// | ||
+ | dpkg-source -x minidlna_1.0.24+dfsg-1.dsc | ||
+ | cd minidlna-1.0.24+dfsg | ||
+ | dpkg-buildpackage -rfakeroot | ||
+ | cd .. | ||
+ | </ | ||
+ | |||
+ | The resulting **{{.: | ||
+ | Configuration file is **''/ | ||
===== Web Links ===== | ===== Web Links ===== | ||
Line 1076: | Line 1117: | ||
* [[http:// | * [[http:// | ||
* [[http:// | * [[http:// | ||
+ | * [[http:// | ||
* [[http:// | * [[http:// | ||
* [[http:// | * [[http:// |
doc/appunti/hardware/lacie_d2_network.1288114608.txt.gz · Last modified: 2010/10/26 19:36 by niccolo