<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom"><title>ukl's blog</title><link href="https://blog.kleine-koenig.org/ukl/" rel="alternate"></link><link href="https://blog.kleine-koenig.org/ukl/feeds/all.atom.xml" rel="self"></link><id>https://blog.kleine-koenig.org/ukl/</id><updated>2017-10-02T12:15:00+02:00</updated><entry><title>IPv6 in my home network</title><link href="https://blog.kleine-koenig.org/ukl/ipv6-in-my-home-network.html" rel="alternate"></link><published>2017-09-17T12:15:00+02:00</published><updated>2017-10-02T12:15:00+02:00</updated><author><name></name></author><id>tag:blog.kleine-koenig.org,2017-09-17:/ukl/ipv6-in-my-home-network.html</id><summary type="html">&lt;p&gt;I am lucky and get both IPv4 (without CGNAT) and IPv6 from my provider.
Recently after upgrading my desk router (that is an Netgear WNDR3800 that
serves the network on my desk) from OpenWRT to latest LEDE I looked into what
can be improved in the IPv6 setup for both …&lt;/p&gt;</summary><content type="html">&lt;p&gt;I am lucky and get both IPv4 (without CGNAT) and IPv6 from my provider.
Recently after upgrading my desk router (that is an Netgear WNDR3800 that
serves the network on my desk) from OpenWRT to latest LEDE I looked into what
can be improved in the IPv6 setup for both my home network (served by a
FRITZ!Box) and my desk network.&lt;/p&gt;
&lt;p&gt;Unfortunately I was unable to improve the situation compared to what I already
had before.&lt;/p&gt;
&lt;h2&gt;Things that work&lt;/h2&gt;
&lt;p&gt;Making IPv6 work in general was easy, just a few clicks in the configuration of the FRITZ!Box and it mostly worked. After that I have:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;IPv6 connectivity in the home net&lt;/li&gt;
&lt;li&gt;IPv6 connectivity in the desk net&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;Things that don't work&lt;/h2&gt;
&lt;p&gt;There are a few things however that I'd like to have, that are not that easy it
seems:&lt;/p&gt;
&lt;h3&gt;ULA for both nets&lt;/h3&gt;
&lt;p&gt;I let the two routers announce an ULA prefix each. Unfortunately I was unable
to make the LEDE box announce its net on the wan interface for clients in the
home net. So the hosts in the desk net know how to reach the hosts in the home
net but not the other way round which makes it quite pointless. (It works fine
as long as the FRITZ!Box announces a global net, but I'd like to have local
communication work independent of the global connectivity.)&lt;/p&gt;
&lt;p&gt;To fix this I'd need something like &lt;code&gt;radvd&lt;/code&gt; on my LEDE router, but that isn't
provided by LEDE (or OpenWRT) any more as &lt;code&gt;odhcpd&lt;/code&gt; is supposed to be used which
AFAICT is unable to send RAs on the wan interface though. Ok, probably I could
install &lt;code&gt;bird&lt;/code&gt;, but that seems a bit oversized. I created an &lt;a href="https://forum.lede-project.org/t/sending-ipv6-router-advertisments-to-wan-interface-about-ula-prefix/6577/1"&gt;entry in the LEDE
forum&lt;/a&gt;
but without any reply up to now.&lt;/p&gt;
&lt;p&gt;Alternatively (but less pretty) I could setup an IPv6 route in the FRITZ!Box,
but that only works with a newer firmware and as this router is owned by my
provider I cannot update it.&lt;/p&gt;
&lt;h3&gt;Firewalling&lt;/h3&gt;
&lt;p&gt;The FRITZ!Box has a firewall that is not very configurable. I can punch a hole
in it for hosts with a given interface-ID, but that only works for hosts in the
home net, not the machines in the delegated subnet behind the LEDE router. In
fact I think the FRITZ!Box should delegate firewalling for a delegated net also
to the router of that subnet.&lt;/p&gt;
&lt;p&gt;So having a global address on the machines on my desk doesn't allow me to reach
them from the internet.&lt;/p&gt;
&lt;p&gt;Update: according to the German changelog firmware 6.83 seems to include that
feature. Cheers AVM. Now waiting for my provider to update ...&lt;/p&gt;</content><category term="IPv6"></category></entry><entry><title>Installing Debian Stretch on a Turris Omnia</title><link href="https://blog.kleine-koenig.org/ukl/installing-debian-stretch-on-a-turris-omnia.html" rel="alternate"></link><published>2016-11-08T21:56:00+01:00</published><updated>2016-11-17T10:36:00+01:00</updated><author><name></name></author><id>tag:blog.kleine-koenig.org,2016-11-08:/ukl/installing-debian-stretch-on-a-turris-omnia.html</id><summary type="html">&lt;p&gt;Recently I got "my" Turris Omnia and it didn't take long to replace the
original firmware with Debian.&lt;/p&gt;
&lt;p&gt;If you want to reproduce, here is what you have to do:&lt;/p&gt;
&lt;p&gt;Open the case of the Turris Omnia, connect the hacker pack (or an RS232-to-TTL
adapter) to access the U-Boot prompt …&lt;/p&gt;</summary><content type="html">&lt;p&gt;Recently I got "my" Turris Omnia and it didn't take long to replace the
original firmware with Debian.&lt;/p&gt;
&lt;p&gt;If you want to reproduce, here is what you have to do:&lt;/p&gt;
&lt;p&gt;Open the case of the Turris Omnia, connect the hacker pack (or an RS232-to-TTL
adapter) to access the U-Boot prompt (see &lt;a href="https://www.youtube.com/watch?v=LVhzU5dzZCI"&gt;Turris Omnia: How to use the "Hacker
pack"&lt;/a&gt;). Then download the
installer and device tree:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;span class="gp"&gt;#&lt;/span&gt; &lt;span class="nb"&gt;cd&lt;/span&gt; /srv/tftp
&lt;span class="gp"&gt;#&lt;/span&gt; wget https://d-i.debian.org/daily-images/armhf/daily/netboot/vmlinuz
&lt;span class="gp"&gt;#&lt;/span&gt; wget https://d-i.debian.org/daily-images/armhf/daily/netboot/initrd.gz
&lt;span class="gp"&gt;#&lt;/span&gt; wget https://www.kleine-koenig.org/tmp/armada-385-turris-omnia.dtb
&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;(The latter is not included yet in Debian, but I'm working on that.)&lt;/p&gt;
&lt;p&gt;and after connecting the Turris Omnia's WAN to a dhcp managed network start it
in U-Boot:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;span class="go"&gt;dhcp&lt;/span&gt;
&lt;span class="go"&gt;setenv serverip 192.168.1.17&lt;/span&gt;
&lt;span class="go"&gt;tftpboot 0x01000000 vmlinuz&lt;/span&gt;
&lt;span class="go"&gt;tftpboot 0x02000000 armada-385-turris-omnia.dtb&lt;/span&gt;
&lt;span class="go"&gt;tftpboot 0x03000000 initrd.gz&lt;/span&gt;
&lt;span class="go"&gt;bootz 0x01000000 0x03000000:$filesize 0x02000000&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;With &lt;code&gt;192.168.1.17&lt;/code&gt; being the IPv4 of the machine you have the tftp server
running.&lt;/p&gt;
&lt;p&gt;I suggest to use btrfs as rootfs because that works well with U-Boot.
Before finishing the installation put the dtb in the rootfs as /boot/dtb.&lt;/p&gt;
&lt;p&gt;To then boot into Debian do in U-Boot:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;span class="go"&gt;setenv mmcboot=btrload mmc 0 0x01000000 boot/vmlinuz\; btrload mmc 0 0x02000000 boot/dtb\; btrload mmc 0 0x03000000 boot/initrd.img\; bootz 0x01000000 0x03000000:$filesize 0x02000000&lt;/span&gt;
&lt;span class="go"&gt;setenv bootargs console=ttyS0,115200 rootfstype=btrfs rootdelay=2 root=/dev/mmcblk0p1 rootflags=commit=5 rw&lt;/span&gt;
&lt;span class="go"&gt;saveenv&lt;/span&gt;
&lt;span class="go"&gt;boot&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;Known issues:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;rtc doesn't work (workaround: &lt;code&gt;mw 0xf10184a0 0xfd4d4cfa&lt;/code&gt; in U-Boot)&lt;/li&gt;
&lt;li&gt;SFP and switch don't work, MAC addresses are random&lt;/li&gt;
&lt;li&gt;wifi fails to probe&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;If you have problems, don't hesitate to contact me.&lt;/p&gt;
&lt;p&gt;Also check the &lt;a href="https://wiki.debian.org/InstallingDebianOn/TurrisOmnia"&gt;Debian Wiki&lt;/a&gt; for further details.&lt;/p&gt;</content><category term="Debian"></category><category term="TurrisOmnia"></category></entry><entry><title>Fixing Debian bug #794266</title><link href="https://blog.kleine-koenig.org/ukl/fixing-debian-bug-794266.html" rel="alternate"></link><published>2016-08-01T23:13:00+02:00</published><updated>2016-08-01T23:13:00+02:00</updated><author><name></name></author><id>tag:blog.kleine-koenig.org,2016-08-01:/ukl/fixing-debian-bug-794266.html</id><summary type="html">&lt;p&gt;After finally being able to fix
&lt;a href="https://bugs.debian.org/794266"&gt;Debian bug #794266&lt;/a&gt; I want to thank those who
made this possible:&lt;/p&gt;
&lt;p&gt;Some time ago my colleague Bjørn offered an
&lt;a href="http://www.acmesystems.it/arietta"&gt;Arietta G25&lt;/a&gt; to me. After Jochen, another
colleague, helped me to solder pin headers on it, this machine served as host
computer for my …&lt;/p&gt;</summary><content type="html">&lt;p&gt;After finally being able to fix
&lt;a href="https://bugs.debian.org/794266"&gt;Debian bug #794266&lt;/a&gt; I want to thank those who
made this possible:&lt;/p&gt;
&lt;p&gt;Some time ago my colleague Bjørn offered an
&lt;a href="http://www.acmesystems.it/arietta"&gt;Arietta G25&lt;/a&gt; to me. After Jochen, another
colleague, helped me to solder pin headers on it, this machine served as host
computer for my tests.&lt;/p&gt;
&lt;p&gt;As I didn't have a machine with the relevant RTC chip, I contacted Seiko
Instruments and they provided me a few chips including oscillators. It was
again Jochen who then created a break-out board from these components that I
could wire to my Arietta board.&lt;/p&gt;
&lt;p&gt;Finally Wolfram Sang's &lt;a href="https://lkml.org/lkml/2015/2/27/350"&gt;i2ctransfer&lt;/a&gt;
helped me a lot to access and so understand the chip. It's has not landed in
i2c-tools.git, but I hope this will change soon given that this is a really
useful tool.&lt;/p&gt;
&lt;p&gt;A big thank you to all who helped me. It was fun and would have been less so
without your efforts! &lt;/p&gt;</content><category term="i2c"></category><category term="hardware"></category></entry><entry><title>Christoph Hellwig vs VMware</title><link href="https://blog.kleine-koenig.org/ukl/christoph-hellwig-vs-vmware.html" rel="alternate"></link><published>2016-02-23T09:20:00+01:00</published><updated>2016-02-23T09:20:00+01:00</updated><author><name></name></author><id>tag:blog.kleine-koenig.org,2016-02-23:/ukl/christoph-hellwig-vs-vmware.html</id><summary type="html">&lt;p&gt;On Thursday the lawsuit about GPL compliance of VMware's ESXi products starts.
I support Christoph's position and share his view that VMware's product is in
conflict with the GPL.&lt;/p&gt;
&lt;p&gt;Read more on &lt;a href="https://sfconservancy.org/copyleft-compliance/vmware-lawsuit-faq.html"&gt;the software freedom conservancy's FAQ about the case&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;I keep my fingers crossed!&lt;/p&gt;</summary><content type="html">&lt;p&gt;On Thursday the lawsuit about GPL compliance of VMware's ESXi products starts.
I support Christoph's position and share his view that VMware's product is in
conflict with the GPL.&lt;/p&gt;
&lt;p&gt;Read more on &lt;a href="https://sfconservancy.org/copyleft-compliance/vmware-lawsuit-faq.html"&gt;the software freedom conservancy's FAQ about the case&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;I keep my fingers crossed!&lt;/p&gt;</content></entry><entry><title>Let's encrypt</title><link href="https://blog.kleine-koenig.org/ukl/lets-encrypt.html" rel="alternate"></link><published>2015-12-04T09:30:00+01:00</published><updated>2015-12-04T09:30:00+01:00</updated><author><name></name></author><id>tag:blog.kleine-koenig.org,2015-12-04:/ukl/lets-encrypt.html</id><summary type="html">&lt;p&gt;&lt;a href="https://letsencrypt.org"&gt;Let's encrypt&lt;/a&gt; entered &lt;a href="https://letsencrypt.org//2015/12/03/entering-public-beta.html"&gt;public
beta&lt;/a&gt; and there
is a Debian package in experimental for their client available.&lt;/p&gt;
&lt;p&gt;After some reading and testing I came up with the following commandline to give
me what I want:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;letsencrypt --manual --config-dir $HOME/letsencrypt/etc \
--work-dir $HOME/letsencrypt/var --logs-dir $HOME/letsencrypt/logs \
--server …&lt;/pre&gt;&lt;/div&gt;</summary><content type="html">&lt;p&gt;&lt;a href="https://letsencrypt.org"&gt;Let's encrypt&lt;/a&gt; entered &lt;a href="https://letsencrypt.org//2015/12/03/entering-public-beta.html"&gt;public
beta&lt;/a&gt; and there
is a Debian package in experimental for their client available.&lt;/p&gt;
&lt;p&gt;After some reading and testing I came up with the following commandline to give
me what I want:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;letsencrypt --manual --config-dir $HOME/letsencrypt/etc \
--work-dir $HOME/letsencrypt/var --logs-dir $HOME/letsencrypt/logs \
--server https://acme-v01.api.letsencrypt.org/directory \
--domains kleine-koenig.org,www.kleine-koenig.org,blog.kleine-koenig.org,lists.kleine-koenig.org,cgi.kleine-koenig.org,wiki.kleine-koenig.org,caldav.kleine-koenig.org,mail.kleine-koenig.org \
certonly
&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;So now you can read this message via https and probably don't be bothered by
your browser for an invalid certificate any more. Hurray!&lt;/p&gt;</content><category term="SSL"></category></entry><entry><title>Alternative Firmware for a squeezebox</title><link href="https://blog.kleine-koenig.org/ukl/alternative-firmware-for-a-squeezebox.html" rel="alternate"></link><published>2015-02-08T12:52:00+01:00</published><updated>2015-02-08T12:52:00+01:00</updated><author><name></name></author><id>tag:blog.kleine-koenig.org,2015-02-08:/ukl/alternative-firmware-for-a-squeezebox.html</id><summary type="html">&lt;p&gt;My Squeezebox Radio does its duty most of the time. Unfortunately it depends on
a single central service run by Logitech. Well, from time to time this service
doesn't work which makes me wish for an alternative firmware that doesn't
depend on such a service. Moreover it doesn't feel too …&lt;/p&gt;</summary><content type="html">&lt;p&gt;My Squeezebox Radio does its duty most of the time. Unfortunately it depends on
a single central service run by Logitech. Well, from time to time this service
doesn't work which makes me wish for an alternative firmware that doesn't
depend on such a service. Moreover it doesn't feel too good that I can login to
mysqueezebox.com, press "Remote Control" and can control the box from there.&lt;/p&gt;
&lt;p&gt;So here is my wish list for the alternative firmware:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;free and open source&lt;/li&gt;
&lt;li&gt;local configuration without a central server&lt;/li&gt;
&lt;li&gt;optionally controllable by http directly on the box&lt;/li&gt;
&lt;li&gt;support DLNA to play music available in the local network&lt;/li&gt;
&lt;li&gt;and last not least it should of course still play streams from the internet&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;As a starter I ported &lt;a href="http://www.barebox.org"&gt;barebox&lt;/a&gt; to the Squeezebox.
Currently only second stage loadable for the vendor supplied Redboot and apart
from the UART no devices working yet. But still ...&lt;/p&gt;
&lt;p&gt;Until I get further with porting a recent bootloader and Linux to it, feel free
to contact me if you have a link to a free internet radio firmware.&lt;/p&gt;</content><category term="Barebox"></category><category term="Squeezebox"></category></entry><entry><title>Installing Debian Jessie on a Netgear ReadyNAS 104</title><link href="https://blog.kleine-koenig.org/ukl/installing-debian-jessie-on-a-netgear-readynas-104.html" rel="alternate"></link><published>2014-11-20T09:12:00+01:00</published><updated>2016-01-27T12:03:00+01:00</updated><author><name></name></author><id>tag:blog.kleine-koenig.org,2014-11-20:/ukl/installing-debian-jessie-on-a-netgear-readynas-104.html</id><summary type="html">&lt;p&gt;The Netgear ReadyNAS 104 comes shipped with U-Boot. To access its "shell"
remove the small quadratic sticker at the backside to reveal the UART pins
(3V3, pinout available at &lt;a href="http://natisbad.org/NAS2/index.html#hw-serial"&gt;Arnaud's NAS page&lt;/a&gt;[1]) and
connect a matching adapter. Also connect a network cable to the lower jack.&lt;/p&gt;
&lt;p&gt;Then on a …&lt;/p&gt;</summary><content type="html">&lt;p&gt;The Netgear ReadyNAS 104 comes shipped with U-Boot. To access its "shell"
remove the small quadratic sticker at the backside to reveal the UART pins
(3V3, pinout available at &lt;a href="http://natisbad.org/NAS2/index.html#hw-serial"&gt;Arnaud's NAS page&lt;/a&gt;[1]) and
connect a matching adapter. Also connect a network cable to the lower jack.&lt;/p&gt;
&lt;p&gt;Then on a different machine in the same network setup a tftp server (e.g.
&lt;code&gt;apt-get install tftpd-hpa&lt;/code&gt;). &lt;del&gt;As of today the latest beta netboot installer
(Beta 2) doesn't work any more because the kernel in jessie was updated since
the installer was released.  So pick up the armhf netboot installer from the
&lt;a href="http://d-i.debian.org/daily-images/armhf/daily/netboot/"&gt;daily snapshots&lt;/a&gt;. You
need
&lt;a href="http://d-i.debian.org/daily-images/armhf/daily/netboot/initrd.gz"&gt;initrd.gz&lt;/a&gt;
and &lt;a href="http://d-i.debian.org/daily-images/armhf/daily/netboot/vmlinuz"&gt;vmlinuz&lt;/a&gt;.
Furthermore
&lt;a href="http://d-i.debian.org/daily-images/armhf/daily/device-tree/armada-370-netgear-rn104.dtb"&gt;armada-370-netgear-rn104.dtb&lt;/a&gt;.&lt;/del&gt;&lt;/p&gt;
&lt;p&gt;Update: As jessie is released now, download the following images:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="http://ftp.debian.org/debian/dists/jessie/main/installer-armhf/current/images/netboot/initrd.gz"&gt;initrd.gz&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://ftp.debian.org/debian/dists/jessie/main/installer-armhf/current/images/netboot/vmlinuz"&gt;vmlinuz&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://ftp.debian.org/debian/dists/jessie/main/installer-armhf/current/images/device-tree/armada-370-netgear-rn104.dtb"&gt;armada-370-netgear-rn104.dtb&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;To make the installer ready to boot do:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;span class="gp"&gt;#&lt;/span&gt; apt-get install u-boot-tools
&lt;span class="gp"&gt;$&lt;/span&gt; cat vmlinuz armada-370-netgear-rn104.dtb &amp;gt; vmlinuz-rn104
&lt;span class="gp"&gt;$&lt;/span&gt; mkimage -A arm -O linux -T multi -C none -a 0x04000000 -e 0x04000000 -n &lt;span class="s2"&gt;&amp;quot;Debian Jessie armhf installer&amp;quot;&lt;/span&gt; -d vmlinuz-rn104:initrd.gz uImage-installer-rn104
&lt;span class="gp"&gt;#&lt;/span&gt; cp uImage-installer-rn104 /srv/tftp
&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;Then on the U-Boot shell setup networking and start the installer by issuing the following commands:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;dhcp
&lt;span class="nb"&gt;setenv &lt;/span&gt;serverip 192.168.1.17
tftp uImage-installer-rn104
bootm &lt;span class="nv"&gt;$load_addr&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;With &lt;code&gt;192.168.1.17&lt;/code&gt; being the IPv4 of the machine you set up the tftp server
above, adapt accordingly to your setup.&lt;/p&gt;
&lt;p&gt;While in U-Boot the default ethernet device is the lower jack, the installer is
only able to use the upper, so replug the ethernet cable to the upper
receptacle.&lt;/p&gt;
&lt;p&gt;Go through the installation, and before rebooting do the following:
Select "Change debconf priority" and set it to "low". Then "Download installer components" and check "mtd-modules-3.16.0-4-armmp-di". After that "Execute a shell" and do:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;span class="gp"&gt;#&lt;/span&gt; &lt;span class="nb"&gt;echo&lt;/span&gt; &lt;span class="s2"&gt;&amp;quot;The following is dangerous, see Note below!&amp;quot;&lt;/span&gt;
&lt;span class="gp"&gt;#&lt;/span&gt; depmod -a 
&lt;span class="gp"&gt;#&lt;/span&gt; modprobe pxa3xx_nand
&lt;span class="gp"&gt;#&lt;/span&gt; mount --bind /proc /target/proc
&lt;span class="gp"&gt;#&lt;/span&gt; chroot /target
&lt;span class="gp"&gt;#&lt;/span&gt; cat &amp;gt;&amp;gt; /etc/flash-kernel/db &amp;lt;&amp;lt; EOF
&lt;span class="go"&gt;Machine: NETGEAR ReadyNAS 104&lt;/span&gt;
&lt;span class="go"&gt;DTB-Id: armada-370-netgear-rn104.dtb&lt;/span&gt;
&lt;span class="go"&gt;DTB-Append: yes&lt;/span&gt;
&lt;span class="go"&gt;Mtd-Kernel: uImage&lt;/span&gt;
&lt;span class="go"&gt;Mtd-Initrd: minirootfs&lt;/span&gt;
&lt;span class="go"&gt;U-Boot-Kernel-Address: 0x04000000&lt;/span&gt;
&lt;span class="go"&gt;U-Boot-Initrd-Address: 0x05000000&lt;/span&gt;
&lt;span class="go"&gt;Required-Packages: u-boot-tools&lt;/span&gt;
&lt;span class="go"&gt;EOF&lt;/span&gt;
&lt;span class="gp"&gt;#&lt;/span&gt; flash-kernel
&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;You then need to adapt the u-boot environment to pass the right root parameter
to Linux. Alternatively add &lt;code&gt;Bootloader-Sets-Incorrect-Root: yes&lt;/code&gt; to
&lt;code&gt;/etc/flash-kernel/db&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;Note: flash-kernel as of now (flash-kernel 3.35+deb8u2 and also 3.56) doesn't
handle bad blocks correctly. This might damage your flash beyond repair!
So maybe better don't setup flash-kernel as suggested above. Use at your own
risk.&lt;/p&gt;
&lt;p&gt;[1] Note this page is about a ReadyNAS 102, the pinout is identical though.&lt;/p&gt;</content><category term="Debian"></category><category term="ReadyNAS104"></category></entry></feed>