User Tools

Site Tools


doc:appunti:hardware:lacie_d2_network

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
doc:appunti:hardware:lacie_d2_network [2014/02/15 22:48] – [Backporting minidlna] niccolodoc:appunti:hardware:lacie_d2_network [2014/03/01 06:29] (current) – [Compiling the Linux kernel] niccolo
Line 823: 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://www.rigacci.org/pub/Linux/kernel-lacie/]]
  
 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://www.rigacci.org/pub/Linux/kernel-lacie/config-2.6.32-lacie.0.10|config file]]**. 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://www.rigacci.org/pub/Linux/kernel-lacie/config-2.6.32-lacie.0.10|config file]]**.
Line 1082: Line 1084:
 We run **Debian 6 Squeeze** on our LaCie d2 Network and we want it to be a [[wp>Digital_Living_Network_Alliance|DLNA]] server. We choosed [[https://packages.debian.org/search?keywords=minidlna|minidlna]] because it is targeted to embedded systems. The package exists for **Debian 7 Wheezy**, so we have to backport it. We run **Debian 6 Squeeze** on our LaCie d2 Network and we want it to be a [[wp>Digital_Living_Network_Alliance|DLNA]] server. We choosed [[https://packages.debian.org/search?keywords=minidlna|minidlna]] because it is targeted to embedded systems. The package exists for **Debian 7 Wheezy**, so we have to backport it.
  
-Into a Qemu armel virtual machine we installed the packages required for Debian developing and build dependencies, we need also debhelper from backports.+Into a **[[..:prog:qemu_arm|Qemu armel virtual machine]]** we installed the packages required for Debian developing and build dependencies, we need also debhelper from backports.
  
  
Line 1107: Line 1109:
 </code> </code>
  
-The resulting **{{.:lacie:minidlna_1.0.24_dfsg-1_armel.deb|minidlna_1.0.24+dfsg-1_armel.deb}}** package installed fine into the LaCie, just make a ''symlink /run -> /var/run''.+The resulting **{{.:lacie:minidlna_1.0.24_dfsg-1_armel.deb|minidlna_1.0.24+dfsg-1_armel.deb}}** package installed fine into the LaCie, just make a symlink ''/run -> /var/run''
 + 
 +Configuration file is **''/etc/minidlna.conf''**, default share directory is **''/var/lib/minidlna''**, used ports are **8200/TCP** (http and media transfer), **3307/UDP** and **1900/UDP**.
 ===== Web Links ===== ===== Web Links =====
  
doc/appunti/hardware/lacie_d2_network.1392500889.txt.gz · Last modified: 2014/02/15 22:48 by niccolo