Bug#751716: [debian-installer] Patch
On Sun, Jul 13, 2014 at 12:26 PM, Bastien ROUCARIES roucaries.bast...@gmail.com wrote: On Sun, Jul 13, 2014 at 9:39 AM, Ian Campbell i...@hellion.org.uk wrote: On Sun, 2014-07-13 at 00:58 +0200, Bastien ROUCARIES wrote: On Sun, Jul 13, 2014 at 12:14 AM, Martin Michlmayr t...@cyrius.com wrote: * Bastien ROUCARIES roucaries.bast...@gmail.com [2014-07-12 19:05]: Hi UImage is too big to get into mtd :S You said that it it is a trimmed down version ? Any idea to trim more ? I believe we said the initramfs generated by initramfs-tools is trimmed down. How big is the uimage and how much space do you have? 5242880 byte or 5M The kirkwood kernel is just under 2MB, so there's no way the uImage could be 5M. This is enforced at kernel build time see linux/debian/config/armel/defines which has: [kirkwood_image] recommends: uboot-mkimage # SheevaPlug: 4194304 - 8 - 64 = 4194232 # QNAP TS-119/TS-219: 2097152 - 8 - 64 = 2097080 check-size: 2097080 Maybe we are talking about uInitrd/uRamdisk? Yes it is uInitrd BTW it seems that this config need a serial console in order to set ssh password. Do you have pointer about documentation of how to set it without serial. I plan to document dns-320 on the wiki. Take a look at oldsys-preseed. You could just generate a dummy stanza that will do DHCP with a fallback IP address (instead of actually reading the network config from the device). I always thought that this was the default behaviour of the network-console flavour images, is it not? No it is not. It ask for hostaname and password for ssh Bastien Ian. Ping -- To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/cae2spay2bobjrkhczcb5podi4dczsmxplxxqlsd2id6o3qz...@mail.gmail.com
Bug#751716: [debian-installer] Patch
On Sun, Jul 13, 2014 at 9:39 AM, Ian Campbell i...@hellion.org.uk wrote: On Sun, 2014-07-13 at 00:58 +0200, Bastien ROUCARIES wrote: On Sun, Jul 13, 2014 at 12:14 AM, Martin Michlmayr t...@cyrius.com wrote: * Bastien ROUCARIES roucaries.bast...@gmail.com [2014-07-12 19:05]: Hi UImage is too big to get into mtd :S You said that it it is a trimmed down version ? Any idea to trim more ? I believe we said the initramfs generated by initramfs-tools is trimmed down. How big is the uimage and how much space do you have? 5242880 byte or 5M The kirkwood kernel is just under 2MB, so there's no way the uImage could be 5M. This is enforced at kernel build time see linux/debian/config/armel/defines which has: [kirkwood_image] recommends: uboot-mkimage # SheevaPlug: 4194304 - 8 - 64 = 4194232 # QNAP TS-119/TS-219: 2097152 - 8 - 64 = 2097080 check-size: 2097080 Maybe we are talking about uInitrd/uRamdisk? Yes it is uInitrd BTW it seems that this config need a serial console in order to set ssh password. Do you have pointer about documentation of how to set it without serial. I plan to document dns-320 on the wiki. Take a look at oldsys-preseed. You could just generate a dummy stanza that will do DHCP with a fallback IP address (instead of actually reading the network config from the device). I always thought that this was the default behaviour of the network-console flavour images, is it not? No it is not. It ask for hostaname and password for ssh Bastien Ian. -- To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/cae2spaalnev4yexezuse1jjbz_wu+qx_ut+jw3cczh3ycul...@mail.gmail.com
Bug#751716: [debian-installer] Patch
On Wed, Jul 9, 2014 at 9:58 AM, Ian Campbell i...@hellion.org.uk wrote: On Tue, 2014-07-08 at 23:28 +0200, Bastien ROUCARIES wrote: On Tue, Jul 8, 2014 at 9:39 PM, Ian Campbell i...@hellion.org.uk wrote: On Mon, 2014-07-07 at 17:05 +0200, Martin Michlmayr wrote: * Bastien ROUCARIES roucaries.bast...@gmail.com [2014-07-06 22:10]: You combine the kernel and the DTB in $(TEMP)/dns-320/vmlinuz-dns320. But then instead of using this file to generate the kernel.uboot, you use the original kernel. Corrected thank Looks good. I went to apply this but: mkdir -p ./tmp/kirkwood_network-console/dns-320 cat ./tmp/kirkwood_network-console/vmlinuz-3.14-1-kirkwood ./tmp/kirkwood_network-console/lib/kirkwood-dns320.dtb ./tmp/kirkwood_network-console/dns-320/vmlinuz-dns320 mkimage -A arm -O linux -T kernel -C none -e 0x8000 -a 0x8000 -n Debian kernel -d ./tmp/kirkwood_network-console/dns-320/kernel ./tmp/kirkwood_network-console/dns-320/vmlinuz-dns320 /usr/bin/mkimage: Can't open ./tmp/kirkwood_network-console/dns-320/kernel: No such file or directory config/armel/kirkwood/network-console.cfg:9: recipe for target 'dns-320' failed My fault here updated version Thanks, pushed. It should show up in the dailies tomorrow. Hi UImage is too big to get into mtd :S You said that it it is a trimmed down version ? Any idea to trim more ? BTW it seems that this config need a serial console in order to set ssh password. Do you have pointer about documentation of how to set it without serial. I plan to document dns-320 on the wiki. Bastien Ian. -- To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/cae2spaasjnzpe3q8iv8z_2h9udarv8qrgsfoq5ur0ngcbcq...@mail.gmail.com
Bug#751716: [debian-installer] Patch
On Sat, Jul 12, 2014 at 7:05 PM, Bastien ROUCARIES roucaries.bast...@gmail.com wrote: On Wed, Jul 9, 2014 at 9:58 AM, Ian Campbell i...@hellion.org.uk wrote: On Tue, 2014-07-08 at 23:28 +0200, Bastien ROUCARIES wrote: On Tue, Jul 8, 2014 at 9:39 PM, Ian Campbell i...@hellion.org.uk wrote: On Mon, 2014-07-07 at 17:05 +0200, Martin Michlmayr wrote: * Bastien ROUCARIES roucaries.bast...@gmail.com [2014-07-06 22:10]: You combine the kernel and the DTB in $(TEMP)/dns-320/vmlinuz-dns320. But then instead of using this file to generate the kernel.uboot, you use the original kernel. Corrected thank Looks good. I went to apply this but: mkdir -p ./tmp/kirkwood_network-console/dns-320 cat ./tmp/kirkwood_network-console/vmlinuz-3.14-1-kirkwood ./tmp/kirkwood_network-console/lib/kirkwood-dns320.dtb ./tmp/kirkwood_network-console/dns-320/vmlinuz-dns320 mkimage -A arm -O linux -T kernel -C none -e 0x8000 -a 0x8000 -n Debian kernel -d ./tmp/kirkwood_network-console/dns-320/kernel ./tmp/kirkwood_network-console/dns-320/vmlinuz-dns320 /usr/bin/mkimage: Can't open ./tmp/kirkwood_network-console/dns-320/kernel: No such file or directory config/armel/kirkwood/network-console.cfg:9: recipe for target 'dns-320' failed My fault here updated version Thanks, pushed. It should show up in the dailies tomorrow. Hi UImage is too big to get into mtd :S You said that it it is a trimmed down version ? Any idea to trim more ? BTW it seems that this config need a serial console in order to set ssh password. Do you have pointer about documentation of how to set it without serial. I plan to document dns-320 on the wiki. Could you also push the following patch ? The first help me to debug and is the only stuff needed in order to use uboot booting from serial console The second one, will document the limit. BTW it need to include sata_mv module in order to see disk. How can I do ? Bastien Bastien Ian. From b1214924d0914165af5dfde92b8a149495dc0378 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bastien=20ROUCARI=C3=88S?= roucaries.bast...@gmail.com Date: Sat, 12 Jul 2014 19:22:55 +0200 Subject: [PATCH 1/2] Add kernel and initrd to debian installer MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit It help to restore from serial console, when flashing from dlink fail. Signed-off-by: Bastien ROUCARIÈS roucaries.bast...@gmail.com --- build/config/armel/kirkwood/network-console.cfg | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/build/config/armel/kirkwood/network-console.cfg b/build/config/armel/kirkwood/network-console.cfg index 1489ec4..6bf1ef5 100644 --- a/build/config/armel/kirkwood/network-console.cfg +++ b/build/config/armel/kirkwood/network-console.cfg @@ -10,9 +10,13 @@ dns-320: mkdir -p $(TEMP)/dns-320 cat $(TEMP_KERNEL) $(TEMP_DTBS)/kirkwood-dns320.dtb $(TEMP)/dns-320/vmlinuz-dns320 mkimage -A arm -O linux -T kernel -C none -e 0x8000 -a 0x8000 -n Debian kernel -d $(TEMP)/dns-320/vmlinuz-dns320 $(TEMP)/dns-320/kernel.uboot + cp $(TEMP)/dns-320/vmlinuz-dns320 $(TEMP)/dns-320/kernel.uboot $(SOME_DEST)/$(EXTRANAME)/d-link/dns-320/uImage mkimage -A arm -O linux -T ramdisk -C gzip -e 0x00e0 -a 0x00e0 -n debian-installer ramdisk -d $(TEMP_INITRD) $(TEMP)/dns-320/initrd.uboot - mkdns323fw -k $(TEMP)/dns-320/kernel.uboot -i $(TEMP)/dns-320/initrd.uboot -t DNS-320 -o $(SOME_DEST)/$(EXTRANAME)/d-link/dns-320/netboot.img - update-manifest $(SOME_DEST)/$(EXTRANAME)/d-link/dns-320/netboot.img installer image (dlink firmware) for D-Link DNS-320 + cp $(TEMP)/dns-320/vmlinuz-dns320 $(TEMP)/dns-320/initrd.uboot $(SOME_DEST)/$(EXTRANAME)/d-link/dns-320/uInitrd + mkdns323fw -k $(TEMP)/dns-320/kernel.uboot -i $(TEMP)/dns-320/initrd.uboot -t DNS-320 -o $(SOME_DEST)/$(EXTRANAME)/d-link/dns-320/flash-debian + update-manifest $(SOME_DEST)/$(EXTRANAME)/d-link/dns-320/flash-debian installer image (dlink firmware) for D-Link DNS-320 + update-manifest $(SOME_DEST)/$(EXTRANAME)/d-link/dns-320/uImage kernel for D-Link DNS-320 + update-manifest $(SOME_DEST)/$(EXTRANAME)/d-link/dns-320/uInitrd initrd for D-Link DNS-320 # QNAP TS-119, TS-219 and TS-219P -- 2.0.0 From d2a941f53ff7722b450c5e0a578b08b575462228 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bastien=20ROUCARI=C3=88S?= roucaries.bast...@gmail.com Date: Sat, 12 Jul 2014 19:35:19 +0200 Subject: [PATCH 2/2] Fail if dns-320 is too big MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Dns 320 image are less than 5M due to flash constraint Signed-off-by: Bastien ROUCARIÈS roucaries.bast...@gmail.com --- build/config/armel/kirkwood/network-console.cfg | 4 1 file changed, 4 insertions(+) diff --git a/build/config/armel/kirkwood/network-console.cfg b/build/config/armel/kirkwood/network-console.cfg index 6bf1ef5..2d34652 100644 --- a/build/config/armel/kirkwood/network
Bug#751716: [debian-installer] Patch
On Sun, Jul 13, 2014 at 12:14 AM, Martin Michlmayr t...@cyrius.com wrote: * Bastien ROUCARIES roucaries.bast...@gmail.com [2014-07-12 19:05]: Hi UImage is too big to get into mtd :S You said that it it is a trimmed down version ? Any idea to trim more ? I believe we said the initramfs generated by initramfs-tools is trimmed down. How big is the uimage and how much space do you have? 5242880 byte or 5M BTW it seems that this config need a serial console in order to set ssh password. Do you have pointer about documentation of how to set it without serial. I plan to document dns-320 on the wiki. Take a look at oldsys-preseed. You could just generate a dummy stanza that will do DHCP with a fallback IP address (instead of actually reading the network config from the device). Ok will do -- Martin Michlmayr http://www.cyrius.com/ -- To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/cae2spaaxowfvocyydyhyov8entar4dtqw+wn7y6vmr_039h...@mail.gmail.com
Bug#751716: [debian-installer] Patch
On Tue, Jul 8, 2014 at 9:39 PM, Ian Campbell i...@hellion.org.uk wrote: On Mon, 2014-07-07 at 17:05 +0200, Martin Michlmayr wrote: * Bastien ROUCARIES roucaries.bast...@gmail.com [2014-07-06 22:10]: You combine the kernel and the DTB in $(TEMP)/dns-320/vmlinuz-dns320. But then instead of using this file to generate the kernel.uboot, you use the original kernel. Corrected thank Looks good. I went to apply this but: mkdir -p ./tmp/kirkwood_network-console/dns-320 cat ./tmp/kirkwood_network-console/vmlinuz-3.14-1-kirkwood ./tmp/kirkwood_network-console/lib/kirkwood-dns320.dtb ./tmp/kirkwood_network-console/dns-320/vmlinuz-dns320 mkimage -A arm -O linux -T kernel -C none -e 0x8000 -a 0x8000 -n Debian kernel -d ./tmp/kirkwood_network-console/dns-320/kernel ./tmp/kirkwood_network-console/dns-320/vmlinuz-dns320 /usr/bin/mkimage: Can't open ./tmp/kirkwood_network-console/dns-320/kernel: No such file or directory config/armel/kirkwood/network-console.cfg:9: recipe for target 'dns-320' failed My fault here updated version Ian. From afa66cf670632e226ac9a2560fbcfd1b5dc40544 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bastien=20ROUCARI=C3=88S?= roucaries.bast...@gmail.com Date: Sun, 22 Jun 2014 20:08:10 +0200 Subject: [PATCH] Add dns-320 to debian installer list MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Will allow to install debian on dns-320 Signed-off-by: Bastien ROUCARIÈS roucaries.bast...@gmail.com --- build/config/armel/kirkwood/network-console.cfg | 13 - debian/control | 4 ++-- 2 files changed, 14 insertions(+), 3 deletions(-) diff --git a/build/config/armel/kirkwood/network-console.cfg b/build/config/armel/kirkwood/network-console.cfg index 24f8803..1489ec4 100644 --- a/build/config/armel/kirkwood/network-console.cfg +++ b/build/config/armel/kirkwood/network-console.cfg @@ -1,9 +1,20 @@ MEDIA_TYPE = netboot image (SSH) -TARGET = $(TEMP_INITRD) $(TEMP_KERNEL) ts219 ts41x lacie +TARGET = $(TEMP_INITRD) $(TEMP_KERNEL) dns-320 ts219 ts41x lacie EXTRANAME = $(MEDIUM) TYPE = netboot/network-console +# D-Link DNS-320 +dns-320: + mkdir -p $(SOME_DEST)/$(EXTRANAME)/d-link/dns-320 + mkdir -p $(TEMP)/dns-320 + cat $(TEMP_KERNEL) $(TEMP_DTBS)/kirkwood-dns320.dtb $(TEMP)/dns-320/vmlinuz-dns320 + mkimage -A arm -O linux -T kernel -C none -e 0x8000 -a 0x8000 -n Debian kernel -d $(TEMP)/dns-320/vmlinuz-dns320 $(TEMP)/dns-320/kernel.uboot + mkimage -A arm -O linux -T ramdisk -C gzip -e 0x00e0 -a 0x00e0 -n debian-installer ramdisk -d $(TEMP_INITRD) $(TEMP)/dns-320/initrd.uboot + mkdns323fw -k $(TEMP)/dns-320/kernel.uboot -i $(TEMP)/dns-320/initrd.uboot -t DNS-320 -o $(SOME_DEST)/$(EXTRANAME)/d-link/dns-320/netboot.img + update-manifest $(SOME_DEST)/$(EXTRANAME)/d-link/dns-320/netboot.img installer image (dlink firmware) for D-Link DNS-320 + + # QNAP TS-119, TS-219 and TS-219P ts219: mkdir -p $(SOME_DEST)/$(EXTRANAME)/qnap/ts-219 diff --git a/debian/control b/debian/control index 6c9551c..535f33f 100644 --- a/debian/control +++ b/debian/control @@ -82,8 +82,8 @@ Build-Depends: # kernels and add nslu2 boot magic. slugimage (= 0.10+r58-6) [armeb armel], # For building nslu2 firmware images. - dns323-firmware-tools [armel], -# For building firmware images for the D-Link DNS-323. + dns323-firmware-tools (= 0.3-2) [armel], +# For building firmware images for the D-Link DNS-32(0|3). u-boot-tools [armel armhf], # For creating u-boot images # -- 2.0.0
Bug#724891: [debian-installer] debian-installer: Build firmware for the DNS-320/DNS-325
On Wed, Jun 25, 2014 at 9:54 AM, Ian Campbell i...@hellion.org.uk wrote: On Sun, 2014-06-22 at 20:15 +0200, Bastien ROUCARIES wrote: On Tue, Jun 17, 2014 at 9:42 AM, Ian Campbell i...@hellion.org.uk wrote: On Mon, 2014-06-16 at 23:33 +0200, Bastien ROUCARIES wrote: Le 16 juin 2014 20:48, Ian Campbell i...@hellion.org.uk a écrit : I understand what the mkdns323fw stuff is all about, but I'm wondering what the ext2 image is for, how does it fit in? An ext2 image need to solder a rs 232 console. It is a useful but need hardware modification. Mkdns323fw does not need hardware modification. But does the mkdns323fw not work equally well whether or not you've made any hardware modifications? We'd really like to keep the number of images to a minimum unless absolutely necessary. It's simpler for users and maintainers alike if there is only one image per platform to think about/maintain/document/etc. Yes they work equally well. But flashing form dlink firmware is a one way operation. I could not reflash from and thus reinstall from scratch debian if needed. Even if you have soldered an rs232 console? Dlink firmware does not work from rs232 console Perhaps I just don't understand what the ext2 image you are referring to is. I had imaged it was some sort of thing containing the debian installer as a mechanism for injecting it into the system (a kind of backdoor into the factory firmware if you will). no in this case I need uimage and uramdisk in a usb key formated as ext2. uimage and uramdisk are in old uboot format. Do you actually mean a ready made debootstrapped Debian filesystem image? I don't think Debian typically provides the latter, just the tools to produce them. No I mean to create a ext2 image with uimage and uramdisk. Ian. -- To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/CAE2SPAZ2v=w9dxkemukbf9zy-gutvn9j-pmnbbpmjtu-n32...@mail.gmail.com
Bug#751716: [debian-installer] Patch
On Sun, Jun 22, 2014 at 8:35 PM, Martin Michlmayr t...@cyrius.com wrote: * bastien ROUCARIES roucaries.bast...@gmail.com [2014-06-22 20:18]: Package: debian-installer control: tags -1 + patch This is not correct. You're adding a Kirkwood image to the Orion build file. This time I believe it is correct. -- Martin Michlmayr http://www.cyrius.com/ 0001-Add-dns-320-to-debian-installer-list.patch Description: application/download
Bug#724891: [debian-installer] debian-installer: Build firmware for the DNS-320/DNS-325
On Sun, Jul 6, 2014 at 5:08 PM, Ian Campbell i...@hellion.org.uk wrote: On Sun, 2014-07-06 at 14:55 +0200, Bastien ROUCARIES wrote: Dlink firmware does not work from rs232 console I'm afraid I still don't really understand what you mean. Are you using rs232 console to mean with Debian already installed? If so then is the purpose of this ext2 image to be able to relaunch the installer after Debian is already installed in order to reinstall Debian? Yes exactly Is it not possible to do this by cat'ting the relevant files into /dev/mtdblock* as with other similar platforms? Yes it might be possible but not from uboot. Anyway, I think reinstalling Debian is a rather secondary use case and I don't think we need to be supplying (or, more importantly, maintaining) such an image by default. Best just to document how to make a suitable USB key IMHO. Ok I will carry a note. Ian. -- To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/cae2spabuuf-x03pqwqoxhmus-k2_uxykzmpm61o89ahy6rx...@mail.gmail.com
Bug#751716: [debian-installer] Patch
On Sun, Jul 6, 2014 at 10:10 PM, Bastien ROUCARIES roucaries.bast...@gmail.com wrote: On Sun, Jul 6, 2014 at 9:35 PM, Martin Michlmayr t...@cyrius.com wrote: + cat $(TEMP_KERNEL) $(TEMP_DTBS)/kirkwood-dns320.dtb $(TEMP)/dns-320/vmlinuz-dns320 + mkimage -A arm -O linux -T kernel -C none -e 0x8000 -a 0x8000 -n Debian kernel -d $(TEMP)/dns-320/kernel $(TEMP)/dns-320/kernel.uboot You combine the kernel and the DTB in $(TEMP)/dns-320/vmlinuz-dns320. But then instead of using this file to generate the kernel.uboot, you use the original kernel. Corrected thank Otherwise look fine. -- Martin Michlmayr http://www.cyrius.com/ 0001-Add-dns-320-to-debian-installer-list.patch Description: application/download
Bug#751716: [debian-installer] Patch
On Sun, Jul 6, 2014 at 9:35 PM, Martin Michlmayr t...@cyrius.com wrote: + cat $(TEMP_KERNEL) $(TEMP_DTBS)/kirkwood-dns320.dtb $(TEMP)/dns-320/vmlinuz-dns320 + mkimage -A arm -O linux -T kernel -C none -e 0x8000 -a 0x8000 -n Debian kernel -d $(TEMP)/dns-320/kernel $(TEMP)/dns-320/kernel.uboot You combine the kernel and the DTB in $(TEMP)/dns-320/vmlinuz-dns320. But then instead of using this file to generate the kernel.uboot, you use the original kernel. Otherwise look fine. -- Martin Michlmayr http://www.cyrius.com/ 0001-Add-dns-320-to-debian-installer-list.patch Description: application/download
Bug#724891: [debian-installer] debian-installer: Build firmware for the DNS-320/DNS-325
On Tue, Jun 17, 2014 at 9:42 AM, Ian Campbell i...@hellion.org.uk wrote: On Mon, 2014-06-16 at 23:33 +0200, Bastien ROUCARIES wrote: Le 16 juin 2014 20:48, Ian Campbell i...@hellion.org.uk a écrit : I understand what the mkdns323fw stuff is all about, but I'm wondering what the ext2 image is for, how does it fit in? An ext2 image need to solder a rs 232 console. It is a useful but need hardware modification. Mkdns323fw does not need hardware modification. But does the mkdns323fw not work equally well whether or not you've made any hardware modifications? We'd really like to keep the number of images to a minimum unless absolutely necessary. It's simpler for users and maintainers alike if there is only one image per platform to think about/maintain/document/etc. Yes they work equally well. But flashing form dlink firmware is a one way operation. I could not reflash from and thus reinstall from scratch debian if needed. Bastien Ian. -- To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/CAE2SPAaxhpEYRrmHB=wjkinn7a9bmdvcktjmm03toyveq67...@mail.gmail.com
Bug#724891: [debian-installer] debian-installer: Build firmware for the DNS-320/DNS-325
Le 16 juin 2014 20:46, Ian Campbell i...@hellion.org.uk a écrit : On Sun, 2014-06-15 at 19:29 +0200, Bastien ROUCARIES wrote: control: tags -1 + patch Thanks! Just one question: Machine: D-Link DNS-320 NAS (Rev A1) Kernel-Flavors: kirkwood DTB-Id: kirkwood-dns320.dtb DTB-Append-From: 3.12 What was the status before 3.12 (as packaged in Debian), did this platform work without an appended DTB or is 3.12 simply the first version which worked at all? I suspect the latter in which case this line can simply be dropped (DTB-Append-From is intended to support transitions from board-file to DTB driven kernels). This platform work without dtb some times ago. Moreover i tried dtb-append only and i could not boot. Do not know why. Thanks, Ian.
Bug#724891: [debian-installer] debian-installer: Build firmware for the DNS-320/DNS-325
Le 16 juin 2014 20:48, Ian Campbell i...@hellion.org.uk a écrit : On Sun, 2014-06-15 at 21:52 +0200, Bastien ROUCARIES wrote: control: clone -1 -2 control: retitle -2 debian-installer: Build firmware for the DNS-320/DNS-325 control: block -2 by -1 control: block -2 by 751713 Now that flash-kernel is ok could be possible to build a dlink firmware image using ./mkdns323fw -t DNS-320 -k /mnt/boot/uImage-3.14-1-kirkwood -i /mnt/boot/uInitrd-3.14-1-kirkwood -o /tmp/firmware And an ext2 image for installer ? I see Martin has already answered your question. I understand what the mkdns323fw stuff is all about, but I'm wondering what the ext2 image is for, how does it fit in? An ext2 image need to solder a rs 232 console. It is a useful but need hardware modification. Mkdns323fw does not need hardware modification. I think best will be to generate both. Bastien Ian.
Bug#724891: [debian-installer] debian-installer: Build firmware for the DNS-320/DNS-325
control: tags -1 + patch On Tue, Jun 10, 2014 at 1:10 AM, Martin Michlmayr t...@cyrius.com wrote: * Bastien ROUCARIES roucaries.bast...@gmail.com [2014-06-09 23:26]: flash-kernel: deferring update (trigger activated) Processing triggers for flash-kernel (3.19) ... Installing kirkwood-dns320.dtb 3.14-1-kirkwood into /boot flash-kernel: installing version 3.14-1-kirkwood Not enough space in MTD ramdisk (need 8695959 but is actually 5242880). Debian installer sets MODULES=dep, which makes the ramdisk much smaller. Try putting that in /etc/initramfs-tools/initramfs.conf -- Martin Michlmayr http://www.cyrius.com/ with MODULES=dep it work like a charm with the following db: Machine: D-Link DNS-320 NAS (Rev A1) Kernel-Flavors: kirkwood DTB-Id: kirkwood-dns320.dtb DTB-Append-From: 3.12 Mtd-Kernel: uImage Mtd-Initrd: ramdisk U-Boot-Kernel-Address: 0x8000 U-Boot-Initrd-Address: 0xe0 Required-Packages: u-boot-tools Bootloader-Sets-Incorrect-Root: yes -- To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/cae2spaatn5vjsc-ufz3wdtvvmp3ftnuuydhqcsvzy-rxj+0...@mail.gmail.com
Bug#724891: [debian-installer] debian-installer: Build firmware for the DNS-320/DNS-325
control: clone -1 -2 control: retitle -2 debian-installer: Build firmware for the DNS-320/DNS-325 control: block -2 by -1 control: block -2 by 751713 Now that flash-kernel is ok could be possible to build a dlink firmware image using ./mkdns323fw -t DNS-320 -k /mnt/boot/uImage-3.14-1-kirkwood -i /mnt/boot/uInitrd-3.14-1-kirkwood -o /tmp/firmware And an ext2 image for installer ? Please give me some pointer Bastien On Sun, Jun 15, 2014 at 7:29 PM, Bastien ROUCARIES roucaries.bast...@gmail.com wrote: control: tags -1 + patch On Tue, Jun 10, 2014 at 1:10 AM, Martin Michlmayr t...@cyrius.com wrote: * Bastien ROUCARIES roucaries.bast...@gmail.com [2014-06-09 23:26]: flash-kernel: deferring update (trigger activated) Processing triggers for flash-kernel (3.19) ... Installing kirkwood-dns320.dtb 3.14-1-kirkwood into /boot flash-kernel: installing version 3.14-1-kirkwood Not enough space in MTD ramdisk (need 8695959 but is actually 5242880). Debian installer sets MODULES=dep, which makes the ramdisk much smaller. Try putting that in /etc/initramfs-tools/initramfs.conf -- Martin Michlmayr http://www.cyrius.com/ with MODULES=dep it work like a charm with the following db: Machine: D-Link DNS-320 NAS (Rev A1) Kernel-Flavors: kirkwood DTB-Id: kirkwood-dns320.dtb DTB-Append-From: 3.12 Mtd-Kernel: uImage Mtd-Initrd: ramdisk U-Boot-Kernel-Address: 0x8000 U-Boot-Initrd-Address: 0xe0 Required-Packages: u-boot-tools Bootloader-Sets-Incorrect-Root: yes -- To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/CAE2SPAYVYAjBZJNZd8OcE5dKz7CamhvjTGqk50Gf7X=crv4...@mail.gmail.com
Bug#724891: [debian-installer] debian-installer: Build firmware for the DNS-320/DNS-325
On Tue, Jun 10, 2014 at 1:10 AM, Martin Michlmayr t...@cyrius.com wrote: * Bastien ROUCARIES roucaries.bast...@gmail.com [2014-06-09 23:26]: flash-kernel: deferring update (trigger activated) Processing triggers for flash-kernel (3.19) ... Installing kirkwood-dns320.dtb 3.14-1-kirkwood into /boot flash-kernel: installing version 3.14-1-kirkwood Not enough space in MTD ramdisk (need 8695959 but is actually 5242880). Debian installer sets MODULES=dep, which makes the ramdisk much smaller. Try putting that in /etc/initramfs-tools/initramfs.conf Will try thanks -- Martin Michlmayr http://www.cyrius.com/ -- To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/CAE2SPAYXL3kVimvCrK=z-XebYzUuaCWEMOxaQg=acvfkju7...@mail.gmail.com
Bug#751012: [flash-kernel] pending
Package: flash-kernel control: tags -1 + pending -- To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/17533309.73PkP3Z19q@bastien-debian
Bug#751012: [flash-kernel] Flash-kernel should fail with exit 0 under debrootstrap
Package: flash-kernel Severity: important Flash-kernel should detect it run under debrootstrap and fail gracefully/ Install message: Processing triggers for libc-bin (2.18-7) ... Processing triggers for initramfs-tools (0.115) ... update-initramfs: Generating /boot/initrd.img-3.14-1-kirkwood /bin/df: Warning: cannot read table of mounted file systems: No such file or directory warning: failed to read mtab ^Cdpkg: error processing package initramfs-tools (--configure): subprocess installed post-installation script was interrupted Errors were encountered while processing: initramfs-tools E: Sub-process /usr/bin/dpkg returned an error code (1) -- To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/2344114.i3pfLmGcsR@bastien-debian
Bug#751012: [flash-kernel] Flash-kernel should fail with exit 0 under debrootstrap
On Mon, Jun 9, 2014 at 5:21 PM, Karsten Merker mer...@debian.org wrote: On Mon, Jun 09, 2014 at 03:48:11PM +, bastien ROUCARIES wrote: Package: flash-kernel Severity: important Flash-kernel should detect it run under debrootstrap and fail gracefully/ Install message: Processing triggers for libc-bin (2.18-7) ... Processing triggers for initramfs-tools (0.115) ... update-initramfs: Generating /boot/initrd.img-3.14-1-kirkwood /bin/df: Warning: cannot read table of mounted file systems: No such file or directory warning: failed to read mtab ^Cdpkg: error processing package initramfs-tools (--configure): subprocess installed post-installation script was interrupted Errors were encountered while processing: initramfs-tools E: Sub-process /usr/bin/dpkg returned an error code (1) Hello, I am trying to understand which problem exactly you have encountered, but I am a bit confused: you have filed a bug against flash-kernel but in the log you have provided, it is not flash-kernel that shows an error message, but initramfs-tools. I also cannot see in which context that has happened and how it relates to debootstrap - by default debootstrap does neither install a kernel image nor flash-kernel. From your log, it looks like you have manually interrupted the update-initramfs process, resulting in the error message above: No I have not interupted. I have installed te kirkwood kernel and flash-kernel on my chroot. The problem is that flash-kernel is run by initramfs/post-update.d/flash-kernel I have added an exit 0 at the beginning of this file and everything is ok The best think is to exit 0 if we are under a debootstrap. Bastien ^Cdpkg: error processing package initramfs-tools (--configure): ^^ Please explain in more detail what exactly is the bug in flash-kernel that you would like to submit. Regards, Karsten -- Gem. Par. 28 Abs. 4 Bundesdatenschutzgesetz widerspreche ich der Nutzung sowie der Weitergabe meiner personenbezogenen Daten für Zwecke der Werbung sowie der Markt- oder Meinungsforschung. -- To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/cae2spabivd5w4goeycjhcbave-1-ghgpa5nq8c90j8p-_ew...@mail.gmail.com
Bug#751012: [flash-kernel] Flash-kernel should fail with exit 0 under debrootstrap
On Mon, Jun 9, 2014 at 8:19 PM, Ian Campbell ian.james.campb...@gmail.com wrote: On Mon, 2014-06-09 at 17:54 +0200, Bastien ROUCARIES wrote: On Mon, Jun 9, 2014 at 5:21 PM, Karsten Merker mer...@debian.org wrote: On Mon, Jun 09, 2014 at 03:48:11PM +, bastien ROUCARIES wrote: Package: flash-kernel Severity: important Flash-kernel should detect it run under debrootstrap and fail gracefully/ Install message: Processing triggers for libc-bin (2.18-7) ... Processing triggers for initramfs-tools (0.115) ... update-initramfs: Generating /boot/initrd.img-3.14-1-kirkwood /bin/df: Warning: cannot read table of mounted file systems: No such file or directory warning: failed to read mtab ^Cdpkg: error processing package initramfs-tools (--configure): subprocess installed post-installation script was interrupted Errors were encountered while processing: initramfs-tools E: Sub-process /usr/bin/dpkg returned an error code (1) Hello, I am trying to understand which problem exactly you have encountered, but I am a bit confused: you have filed a bug against flash-kernel but in the log you have provided, it is not flash-kernel that shows an error message, but initramfs-tools. I also cannot see in which context that has happened and how it relates to debootstrap - by default debootstrap does neither install a kernel image nor flash-kernel. From your log, it looks like you have manually interrupted the update-initramfs process, resulting in the error message above: No I have not interupted. What is the ^C in the output from? Was it produced verbatim by the process? No it is a left over I have installed te kirkwood kernel and flash-kernel on my chroot. Out of interest, why? Because I wand to add support for dns-320 and thus I am creating an image. The problem is that flash-kernel is run by initramfs/post-update.d/flash-kernel I have added an exit 0 at the beginning of this file and everything is ok The best think is to exit 0 if we are under a debootstrap. If you want to install flash-kernel in a chroot/debootstrap etc then you should set FK_MACHINE=none in the environment or write none to $chroot/etc/flash-kernel/machine, either of which will cause flash-kernel to become a nop. Is it documented somewhere ? Bastien Alternatively if you want f-k to behave as if it was installing on a particular piece of h/w you can use the appropriate DB Machine name, although YMMV if that machine requires writing to specific partitions etc. Ian. -- To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/CAE2SPAbzE909-1zz3vimVz9t2vbPfa7yea1EY=anc_pfgk+...@mail.gmail.com
Bug#751012: [flash-kernel] Flash-kernel should fail with exit 0 under debrootstrap
On Mon, Jun 9, 2014 at 8:08 PM, Karsten Merker mer...@debian.org wrote: On Mon, Jun 09, 2014 at 05:54:35PM +0200, Bastien ROUCARIES wrote: On Mon, Jun 9, 2014 at 5:21 PM, Karsten Merker mer...@debian.org wrote: On Mon, Jun 09, 2014 at 03:48:11PM +, bastien ROUCARIES wrote: Package: flash-kernel Severity: important Flash-kernel should detect it run under debrootstrap and fail gracefully/ Install message: Processing triggers for libc-bin (2.18-7) ... Processing triggers for initramfs-tools (0.115) ... update-initramfs: Generating /boot/initrd.img-3.14-1-kirkwood /bin/df: Warning: cannot read table of mounted file systems: No such file or directory warning: failed to read mtab ^Cdpkg: error processing package initramfs-tools (--configure): subprocess installed post-installation script was interrupted Errors were encountered while processing: initramfs-tools E: Sub-process /usr/bin/dpkg returned an error code (1) Hello, I am trying to understand which problem exactly you have encountered, but I am a bit confused: you have filed a bug against flash-kernel but in the log you have provided, it is not flash-kernel that shows an error message, but initramfs-tools. I also cannot see in which context that has happened and how it relates to debootstrap - by default debootstrap does neither install a kernel image nor flash-kernel. From your log, it looks like you have manually interrupted the update-initramfs process, resulting in the error message above: No I have not interupted. I have installed te kirkwood kernel and flash-kernel on my chroot. Hello, I unfortunately cannot yet reproduce your problem. Due to the kernel version (3.14-1) I assume that you are debootstrapping jessie or sid. I have just debootstrapped a sid/armel chroot that included flash-kernel and linux-image-3.14-1-kirkwood on a sid/armhf system without problems: # debootstrap --arch=armel --include=flash-kernel,linux-image-kirkwood sid armel-sid-chroot http://ftp.de.debian.org/debian I: Retrieving Release I: Retrieving Release.gpg I: Checking Release signature I: Valid Release signature (key id A1BD8E9D78F7FE5C3E65D8AF8B48AD6246925553) [...] I: Configuring linux-image-3.14-1-kirkwood... I: Configuring flash-kernel... I: Configuring libgnutls-openssl27:armel... I: Configuring wget... I: Configuring libcwidget3:armel... I: Configuring aptitude... I: Configuring linux-image-kirkwood... I: Configuring iputils-ping... I: Configuring tasksel... I: Configuring tasksel-data... I: Configuring perl-modules... I: Configuring perl... I: Configuring init-system-helpers... I: Configuring cron... I: Configuring rsyslog... I: Configuring logrotate... I: Configuring libc-bin... I: Configuring initramfs-tools... I: Base system installed successfully. # Just to be sure: On which kind of hardware (kirkwood or non-kirkwood system) and in which Debian release (wheezy, jessie or sid) are you running the debootstrap command and which release are you bootstrapping with debootstrap (jessie or sid)? jessie. Have you created your chroot like I did above, i.e. with the --include parameter, or have you first run debootstrap without it and later on manually installed linux-image-3.14-1-kirkwood and flash-kernel in the already-created chroot? I have first run deboostrap using command line here: http://jamie.lentin.co.uk/devices/dlink-dns325/keeping-original-firmware/ then installed the kernel then installed flash-kernel then installed systemd. It fail during postconfigure of systemd Bastien Please provide a full log of the whole process starting with the invocation of debootstrap up to the point where flash-kernel runs but should not. Regards, Karsten -- Gem. Par. 28 Abs. 4 Bundesdatenschutzgesetz widerspreche ich der Nutzung sowie der Weitergabe meiner personenbezogenen Daten für Zwecke der Werbung sowie der Markt- oder Meinungsforschung. -- To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/CAE2SPAbhAyqWmZDoDu7=OP4hJpA8=tk1b-z3d93o2v4b72d...@mail.gmail.com
Bug#751012: [flash-kernel] Flash-kernel should fail with exit 0 under debrootstrap
On Mon, Jun 9, 2014 at 11:15 PM, Ian Campbell ian.james.campb...@gmail.com wrote: On Mon, 2014-06-09 at 22:49 +0200, Bastien ROUCARIES wrote: On Mon, Jun 9, 2014 at 8:19 PM, Ian Campbell ian.james.campb...@gmail.com wrote: On Mon, 2014-06-09 at 17:54 +0200, Bastien ROUCARIES wrote: On Mon, Jun 9, 2014 at 5:21 PM, Karsten Merker mer...@debian.org wrote: On Mon, Jun 09, 2014 at 03:48:11PM +, bastien ROUCARIES wrote: Package: flash-kernel Severity: important Flash-kernel should detect it run under debrootstrap and fail gracefully/ Install message: Processing triggers for libc-bin (2.18-7) ... Processing triggers for initramfs-tools (0.115) ... update-initramfs: Generating /boot/initrd.img-3.14-1-kirkwood /bin/df: Warning: cannot read table of mounted file systems: No such file or directory warning: failed to read mtab ^Cdpkg: error processing package initramfs-tools (--configure): subprocess installed post-installation script was interrupted Errors were encountered while processing: initramfs-tools E: Sub-process /usr/bin/dpkg returned an error code (1) Hello, I am trying to understand which problem exactly you have encountered, but I am a bit confused: you have filed a bug against flash-kernel but in the log you have provided, it is not flash-kernel that shows an error message, but initramfs-tools. I also cannot see in which context that has happened and how it relates to debootstrap - by default debootstrap does neither install a kernel image nor flash-kernel. From your log, it looks like you have manually interrupted the update-initramfs process, resulting in the error message above: No I have not interupted. What is the ^C in the output from? Was it produced verbatim by the process? No it is a left over From what? I have installed te kirkwood kernel and flash-kernel on my chroot. Out of interest, why? Because I wand to add support for dns-320 and thus I am creating an image. If this is to do with https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=724891 then you don't need to create an image for that AFAIK. Yes it is for it. Itis a chicken and egg problem. I boot from usb key and I have created a usb image The problem is that flash-kernel is run by initramfs/post-update.d/flash-kernel I have added an exit 0 at the beginning of this file and everything is ok The best think is to exit 0 if we are under a debootstrap. If you want to install flash-kernel in a chroot/debootstrap etc then you should set FK_MACHINE=none in the environment or write none to $chroot/etc/flash-kernel/machine, either of which will cause flash-kernel to become a nop. Is it documented somewhere ? Apart from in the flash-kernel changelog, no. Could be mentioned in the man page ? Bastien Ian. -- To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/cae2spabufk1gefhj7l14ovhybsgrpktpf4c9rj6jj3vdj3g...@mail.gmail.com
Bug#724891: [debian-installer] debian-installer: Build firmware for the DNS-320/DNS-325
On Mon, Mar 3, 2014 at 5:49 AM, Ian Campbell i...@hellion.org.uk wrote: On Mon, 2014-03-03 at 03:48 +0100, Cyril Brulebois wrote: Control: reassign -1 flash-kernel Ben Hutchings b...@decadent.org.uk (2014-03-03): On Mon, 2014-03-03 at 02:25 +, Ben Hutchings wrote: I found these pages: http://jamie.lentin.co.uk/devices/dlink-dns325/ Oh, that's exactly what Bastien linked to. Well anyway, I hope I extracted the most useful information below. Certainly, thanks! http://jamie.lentin.co.uk/devices/dlink-dns325/keeping-original-firmware/ They say that these models use a Kirkwood SoC (so the kirkwood kernel and installer flavours should be used) and that they are supported by the standard kernel package in wheezy-backports but not wheezy. Given that the instructions include writing a custom kernel install hook, I would assume that flash-kernel doesn't support these models and therefore this bug should be reassigned to flash-kernel. But there may be other changes needed elsewhere. Punting that to flash-kernel for the time being. Ian will likely know what to do with it. ;) Please can someone with access to the system provide a flash-kernel stanza for the system. After installing the flash-kernel package /usr/share/doc/flash-kernel/README.gz will contain documentation for (most of) the possible stanza entries and /usr/share/flash-kernel/db/all.db will have plenty of examples. For testing a stanza can be added to /etc/flash-kernel/db. From http://jamie.lentin.co.uk/devices/dlink-dns325/keeping-original-firmware/ it looks like you can boot from both NAND and the regular disk/MMC, I'd be inclined to go with installing to NAND by default, which would mean using the Mtd-Kernel/Initrd style of entries. ok the existing mtd partition are too small :S See bellow. How can I do ? I have more space but I need to change partition table and likely change uboot... I have used the following config: Machine: D-Link DNS-320 NAS (Rev A1) Kernel-Flavors: kirkwood DTB-Id: kirkwood-dns320.dtb DTB-Append: Yes Mtd-Kernel: uImage Mtd-Initrd: ramdisk U-Boot-Kernel-Address: 0xa0 U-Boot-Initrd-Address: 0xf0 Required-Packages: u-boot-tools Bootloader-Sets-Incorrect-Root: yes the mdtdinfo is: Count of MTD devices: 6 Present MTD devices:mtd0, mtd1, mtd2, mtd3, mtd4, mtd5 Sysfs interface supported: yes mtd0 Name: u-boot Type: nand Eraseblock size:131072 bytes, 128.0 KiB Amount of eraseblocks: 8 (1048576 bytes, 1024.0 KiB) Minimum input/output unit size: 2048 bytes Sub-page size: 512 bytes OOB size: 64 bytes Character device major/minor: 90:0 Bad blocks are allowed: true Device is writable: false mtd1 Name: uImage Type: nand Eraseblock size:131072 bytes, 128.0 KiB Amount of eraseblocks: 40 (5242880 bytes, 5.0 MiB) Minimum input/output unit size: 2048 bytes Sub-page size: 512 bytes OOB size: 64 bytes Character device major/minor: 90:2 Bad blocks are allowed: true Device is writable: true mtd2 Name: ramdisk Type: nand Eraseblock size:131072 bytes, 128.0 KiB Amount of eraseblocks: 40 (5242880 bytes, 5.0 MiB) Minimum input/output unit size: 2048 bytes Sub-page size: 512 bytes OOB size: 64 bytes Character device major/minor: 90:4 Bad blocks are allowed: true Device is writable: true mtd3 Name: image Type: nand Eraseblock size:131072 bytes, 128.0 KiB Amount of eraseblocks: 816 (106954752 bytes, 102.0 MiB) Minimum input/output unit size: 2048 bytes Sub-page size: 512 bytes OOB size: 64 bytes Character device major/minor: 90:6 Bad blocks are allowed: true Device is writable: true mtd4 Name: mini firmware Type: nand Eraseblock size:131072 bytes, 128.0 KiB Amount of eraseblocks: 80 (10485760 bytes, 10.0 MiB) Minimum input/output unit size: 2048 bytes Sub-page size: 512 bytes OOB size: 64 bytes Character device major/minor: 90:8 Bad blocks are allowed: true Device is writable: true mtd5 Name: config Type: nand Eraseblock size:131072 bytes, 128.0 KiB Amount of eraseblocks: 40 (5242880 bytes, 5.0 MiB) Minimum input/output unit size: 2048 bytes Sub-page size: 512 bytes OOB size: 64 bytes Character device major/minor: 90:10 Bad blocks are allowed:
Bug#724891: [debian-installer] debian-installer: Build firmware for the DNS-320/DNS-325
On Mon, May 19, 2014 at 1:11 PM, Ian Campbell i...@hellion.org.uk wrote: On Mon, 2014-05-19 at 12:32 +0200, Bastien ROUCARIES wrote: On Mon, May 19, 2014 at 9:23 AM, Ian Campbell i...@hellion.org.uk wrote: Control: tags -1 +help On Sat, 2014-05-17 at 19:53 +0200, Bastien ROUCARIES wrote: I can test image if needed. Thanks, but I'm afraid that what is needed right now is for someone to do the work to make it work in the first place. Ok could you give me some pointer ? I think ti is possible to generate an image for the proprietary firmware able to uipgrade to debian I think I already provided some pointers in an earlier mail to the bug. Thanks I now understand. Do you have an idea how to fix the mac adress reset problem ? (the MAC address. D-link ships the NASes with corrupt u-boot configuration, so it assigns a random MAC address on each reboot until you do saveenv) Bastien Ian. -- To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/CAE2SPAYupsqnR_CWnk2QwMvFKf=o88fpxextvfshb2_dfom...@mail.gmail.com
Bug#724891: [debian-installer] debian-installer: Build firmware for the DNS-320/DNS-325
On Mon, May 19, 2014 at 9:23 AM, Ian Campbell i...@hellion.org.uk wrote: Control: tags -1 +help On Sat, 2014-05-17 at 19:53 +0200, Bastien ROUCARIES wrote: I can test image if needed. Thanks, but I'm afraid that what is needed right now is for someone to do the work to make it work in the first place. Ok could you give me some pointer ? I think ti is possible to generate an image for the proprietary firmware able to uipgrade to debian Bastien Ian. -- To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/cae2spaacgrc1cob33e1ptvwfltrwgubnefjytyu-fzhju-1...@mail.gmail.com
Bug#724891: [debian-installer] debian-installer: Build firmware for the DNS-320/DNS-325
On Mon, Mar 3, 2014 at 5:49 AM, Ian Campbell i...@hellion.org.uk wrote: On Mon, 2014-03-03 at 03:48 +0100, Cyril Brulebois wrote: Control: reassign -1 flash-kernel Ben Hutchings b...@decadent.org.uk (2014-03-03): On Mon, 2014-03-03 at 02:25 +, Ben Hutchings wrote: I found these pages: http://jamie.lentin.co.uk/devices/dlink-dns325/ Oh, that's exactly what Bastien linked to. Well anyway, I hope I extracted the most useful information below. Certainly, thanks! http://jamie.lentin.co.uk/devices/dlink-dns325/keeping-original-firmware/ They say that these models use a Kirkwood SoC (so the kirkwood kernel and installer flavours should be used) and that they are supported by the standard kernel package in wheezy-backports but not wheezy. Given that the instructions include writing a custom kernel install hook, I would assume that flash-kernel doesn't support these models and therefore this bug should be reassigned to flash-kernel. But there may be other changes needed elsewhere. Punting that to flash-kernel for the time being. Ian will likely know what to do with it. ;) Please can someone with access to the system provide a flash-kernel stanza for the system. After installing the flash-kernel package /usr/share/doc/flash-kernel/README.gz will contain documentation for (most of) the possible stanza entries and /usr/share/flash-kernel/db/all.db will have plenty of examples. For testing a stanza can be added to /etc/flash-kernel/db. From http://jamie.lentin.co.uk/devices/dlink-dns325/keeping-original-firmware/ it looks like you can boot from both NAND and the regular disk/MMC, I'd be inclined to go with installing to NAND by default, which would mean using the Mtd-Kernel/Initrd style of entries. Ideally things would be setup to work without the need to enter all the u-boot runes referenced on those webpages. I can test image if needed. It plan to always boot by usb for now. It seems that we could upgrade using a http method see http://dns323.kood.org/dns-320#building_a_custom_firmware_rom Bastien Ian. -- To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/cae2spaaoeyi2okt9j2zqnhp0o3yua74zd7gpw-yobbn7lhe...@mail.gmail.com
Bug#724891: [debian-installer] debian-installer: Build firmware for the DNS-320/DNS-325
Package: debian-installer Severity: wishlist Please support the DNS-320 and dns-325 I can support it I own a DNS-320 See http://jamie.lentin.co.uk/devices/dlink-dns325/ DNS-320 run a custom debian system -- To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/2370269.YHloeBkSV3@bastien-debian
Bug#719257: [debian-installer] Could not create btrfs partition
Package: debian-installer Severity: normal partman fail with partman: mkfs.btrfs: error while loading shared libraries: liblzo2.so.2: cannot open shared object file: No such file or directory. missing udeb for liblzo2.so.2 ? Bastien -- To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/201308092003.16713.roucaries.bast...@gmail.com