Differences
This shows you the differences between the selected revision and the current version of the page.
howto:ffp-reloaded 2008/07/13 22:20 | howto:ffp-reloaded 2017/12/04 19:31 current | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== ffp-reloaded ====== | ====== ffp-reloaded ====== | ||
- | You can boot directly into [[howto:ffp]] and run it without firmware. | + | You can boot directly into [[howto:ffp]] 0.5 and run it without firmware. |
**WARNING**: This is highly experimental. A serial connection may be required to track down problems. | **WARNING**: This is highly experimental. A serial connection may be required to track down problems. | ||
- | ==== Prerequisites ==== | + | You should install the latest busybox package (>= 1.11.1). |
+ | |||
+ | This does **not** work out-of-the-box with RAID. You will have to know what you're doing to get it working. See the [[#RAID Reloaded]] section for some pointers. | ||
+ | |||
+ | For now, the supplied 2.6.25 kernel doesn't work with Rev B1, because the vanilia kernel doesn't support rev B1. However, you can use a 2.6.12 kernel from the [[http://www.inreto.de/dns323/misc/|firmware-reloaded archive in the misc/]] section of fonz's software repository. | ||
- | To boot the ffp kernel using the approach described here, you will need a working [[http://www.inreto.de/dns323/reloaded|reloaded]] module that supports your kernel. The modules included in the ffp-reloaded package (see Installation below) should work with D-Link firmwares up to 1.4 (1.5?) on a DNS-323. | ||
- | You should also install the latest busybox package (>= 1.11.1). | ||
==== Installation ==== | ==== Installation ==== | ||
- | Download and install ffp-reloaded and linux-kernel packages from [[http://www.inreto.de/dns323/ffp-reloaded/|inreto.de]] | + | Download and install ffp-reloaded packages from [[http://www.inreto.de/dns323/ffp-reloaded/|inreto.de]] |
<code> | <code> | ||
telnet bob | telnet bob | ||
- | cd /path/to/downloaded/packages | + | cd /mnt/HD_a2 |
- | funpkg -i ffp-reloaded-0.1-1.tgz linux-kernel-2.6.25.1-1.tgz | + | rsync -avP --delete inreto.de::dns323/ffp-reloaded . |
+ | funpkg -i ffp-reloaded/packages/*.tgz | ||
</code> | </code> | ||
Line 32: | Line 35: | ||
<code> | <code> | ||
cd /mnt/HD_a2 | cd /mnt/HD_a2 | ||
- | ln -s ffp/etc ffp/bin ffp/sbin . | + | ln -s ffp/etc ffp/bin ffp/lib ffp/sbin . |
ln -s ffp usr | ln -s ffp usr | ||
+ | ln -s /proc/mounts ffp/etc/mtab | ||
mkdir -p proc sys | mkdir -p proc sys | ||
+ | </code> | ||
+ | |||
+ | NOTE: if you want to use optware afterwards you need to make sure that you are using the same libraries used with the base fun_plug. If you don't you may get (with xmail, for example) a complaint about a missing symbol in6addr_any. To resolve this, do the following: | ||
+ | |||
+ | <code> | ||
+ | cd /lib | ||
+ | rm /mnt/HD_a2/lib # remove symbolic link created above | ||
+ | tar cf - * | (cd /mnt/HD_a2; tar xvf -) | ||
</code> | </code> | ||
Line 70: | Line 82: | ||
- | ==== Notes ==== | + | ==== RAID Reloaded ==== |
+ | If you don't care about the features in the D-Link firmware, and are confident with using [[http://www.inreto.de/dns323/fun-plug/0.5/|fun-plug 0.5]], you can join the "reloaded" fun using: | ||
- | * The included kernel support kernel-level NFS. | + | * fonz's [[http://www.inreto.de/dns323/misc/|custom 2.6.12 firmware-reloaded kernel]] |
- | * /mnt/HD_a2 doesn't exist anymore after booting into ffp. You might need to adjust some config files (exports, mediatomb, ...) | + | * fun-plug 0.5 installed to ''/mnt/HD_a4'' **or** ''/mnt/HD_b4'' (which correspond to the ``sda4`` and ``sdb4`` partitions) |
+ | * ffp-reloaded from [[http://www.inreto.de/dns323/fun-plug/0.5/extra-packages/ffp-reloaded/|extra-packages]] | ||
+ | * mdadm. You'll need to run the following **after** reloading: | ||
+ | <code> | ||
+ | mdadm -A /dev/md0 /dev/sda2 /dev/sdb2 | ||
+ | </code> | ||
- | ==== Todo ==== | + | Be sure to tweak ''/ffp/boot/boot.sh'' to pass ''-m 526'' to ''reload.sh''. This is necessary when booting the 2.6.12 kernel. Here is my ''boot.sh'': |
- | * There's no fan control yet. | + | <code> |
- | * A start script that selects the proper set of config files for ffp with and without firmware. | + | #!/bin/sh |
+ | set -x | ||
+ | cd /ffp/boot | ||
+ | ./reload.sh -I root=/dev/sdb4 -m 526 | ||
+ | </code> | ||
+ | With this setup, I have my Rev B1 DNS-323 reloading into fun-plug 0.5, with RAID1 enabled, and running the NFS **kernel** server. | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | ==== Notes ==== | ||
+ | |||
+ | * The included kernel support kernel-level NFS. | ||
+ | * /mnt/HD_a2 doesn't exist anymore after booting into ffp. You might need to adjust some config files (exports, mediatomb, ...) | ||
+ | * To boot the ffp kernel using the approach described here, you will need a working [[http://www.inreto.de/dns323/reloaded|reloaded]] module that supports your kernel. The modules included in the ffp-reloaded package should work with D-Link firmwares up to 1.4 (1.5?) on a DNS-323. | ||
+ | * Mijzelf made it work on the NSA-220 [[http://forum.dsmg600.info/viewtopic.php?pid=32398#p32398]] |