[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#580714: marked as done (debian-installer: build installer image for Buffalo Linkstation Pro/Live)

Your message dated Mon, 19 Jul 2010 16:17:16 +0000
with message-id <E1Oat1o-0006q8-QQ@franck.debian.org>
and subject line Bug#580714: fixed in debian-installer 20100719
has caused the Debian Bug report #580714,
regarding debian-installer: build installer image for Buffalo Linkstation Pro/Live
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org

580714: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=580714
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: debian-installer
Version: 20100211
Severity: wishlist
Tags: patch

The attached patch adds a target to debian-installer to build a kernel
image and ramdisk for the Linkstation Pro/Live platform, similar to the
Kurobox Pro which is already supported.
Index: installer/build/boot/arm/lspro-config-debian
--- installer/build/boot/arm/lspro-config-debian	(revision 0)
+++ installer/build/boot/arm/lspro-config-debian	(revision 0)
@@ -0,0 +1,51 @@
+# This code is covered by the GNU General Public License (GPLv2 or higher)
+NVRAM=$(which nvram)
+FW_PRINTENV=$(which fw_printenv)
+path=$(mount | grep ext2 | sed -n '/sda1/ {s/\/dev\/sda1 on \(.*\) type.*/\1/; p}')
+if [ -z "$path" ]; then
+	echo "You have to create an ext2 filesystem on /dev/sda1"
+	exit 1
+if [ ! -e $path/uImage.buffalo ]; then
+	echo "You have to download the uImage.buffalo file from the debian-installer for Linkstation Pro/Live, and put it in $path"
+	exit 1
+if [ ! -e $path/initrd.buffalo ]; then
+	echo "You have to download the initrd.buffalo file from the debian-installer for Linkstation Pro/Live, and put it in $path"
+	exit 1
+if [ -n "$NVRAM" ]; then
+	PRINTENV="$NVRAM -c printenv"
+	SETENV="$NVRAM -c set"
+elif [ -n "$FW_PRINTENV" ]; then
+	if [ -z "$(which fw_setenv)" ]; then
+		echo "Program fw_setenv not found, cannot modify U-Boot environment..."
+		exit 1
+	elif [ ! -f /etc/fw_env.config ]; then
+		echo "Configuration file for fw_printenv not found."
+		exit 1
+	else
+		SETENV=$(which fw_setenv)
+	fi
+	echo "No tool found for modifying U-Boot environment..."
+	exit 1
+printf "Saving U-Boot environment to ubootenv.bak... "
+$PRINTENV > ubootenv.bak
+echo "done."
+echo "Changing U-Boot environment... "
+$SETENV bootargs_root "root=/dev/sda2 rw initrd=0x00800040"
+echo "done."
+echo "Please reboot your Linkstation Pro."
Index: installer/build/config/armel/orion5x/netboot.cfg
--- installer/build/config/armel/orion5x/netboot.cfg	(revision 63088)
+++ installer/build/config/armel/orion5x/netboot.cfg	(working copy)
@@ -1,6 +1,6 @@
 MEDIA_TYPE = netboot image
-TARGET = $(TEMP_INITRD) $(TEMP_KERNEL) dns-323 kuroboxpro mv2120 ts209 ts409
+TARGET = $(TEMP_INITRD) $(TEMP_KERNEL) dns-323 kuroboxpro lspro mv2120 ts209 ts409
 TYPE = netboot/network-console
@@ -35,6 +35,22 @@
 	update-manifest $(SOME_DEST)/$(EXTRANAME)/buffalo/kuroboxpro/uImage.buffalo "Linux kernel for Kurobox Pro"
 	update-manifest $(SOME_DEST)/$(EXTRANAME)/buffalo/kuroboxpro/initrd.buffalo "initrd for Kurobox Pro"
+# Buffalo Linkstation Pro/Live
+	mkdir -p $(SOME_DEST)/$(EXTRANAME)/buffalo/lspro
+	mkdir -p $(TEMP)/lspro
+	# Set machine id 1585 (0x0631)
+	devio > $(TEMP)/lspro/kernel 'wl 0xe3a01c06,4' 'wl 0xe3811031,4'
+	cat $(TEMP_KERNEL) >> $(TEMP)/lspro/kernel
+	mkimage -A arm -O linux -T kernel -C none -a 0x00008000 -e 0x00008000 -n "Debian kernel" -d $(TEMP)/lspro/kernel $(TEMP)/lspro/kernel.uboot
+	cp $(TEMP)/lspro/kernel.uboot $(SOME_DEST)/$(EXTRANAME)/buffalo/lspro/uImage.buffalo
+	mkimage -A arm -O linux -T ramdisk -C gzip -a 0x02000000 -e 0x02000000 -n "debian-installer ramdisk" -d $(TEMP_INITRD) $(TEMP)/lspro/initrd.uboot
+	cp $(TEMP)/lspro/initrd.uboot $(SOME_DEST)/$(EXTRANAME)/buffalo/lspro/initrd.buffalo
+	install -m 744 boot/arm/lspro-config-debian $(SOME_DEST)/$(EXTRANAME)/buffalo/lspro/config-debian
+	update-manifest $(SOME_DEST)/$(EXTRANAME)/buffalo/lspro/config-debian "Script to run debian-installer"
+	update-manifest $(SOME_DEST)/$(EXTRANAME)/buffalo/lspro/uImage.buffalo "Linux kernel for Linkstation Pro/Live"
+	update-manifest $(SOME_DEST)/$(EXTRANAME)/buffalo/lspro/initrd.buffalo "initrd for Linkstation Pro/Live"
 # HP Media Vault mv2120
 	mkdir -p $(SOME_DEST)/$(EXTRANAME)/hp/mv2120

--- End Message ---
--- Begin Message ---
Source: debian-installer
Source-Version: 20100719

We believe that the bug you reported is fixed in the latest version of
debian-installer, which is due to be installed in the Debian FTP archive:

debian-installer-images_20100719_amd64.tar.gz byhand
  to main/d/debian-installer/debian-installer_20100719.dsc
  to main/d/debian-installer/debian-installer_20100719.tar.gz
  to main/d/debian-installer/debian-installer_20100719_amd64.deb

A summary of the changes between this version and the previous one is

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 580714@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
Otavio Salvador <otavio@debian.org> (supplier of updated debian-installer package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)

Hash: SHA256

Format: 1.8
Date: Mon, 19 Jul 2010 12:05:17 -0300
Source: debian-installer
Binary: debian-installer
Architecture: source amd64
Version: 20100719
Distribution: unstable
Urgency: low
Maintainer: Debian Install System Team <debian-boot@lists.debian.org>
Changed-By: Otavio Salvador <otavio@debian.org>
 debian-installer - Debian installer
Closes: 572724 580714
 debian-installer (20100719) unstable; urgency=low
   [ Theppitak Karoonboonyanan ]
   * Add needed characters for Thai.
   [ Christian Perrier ]
   * Remove Thai from the list of languages only supported with the
     graphical cdebconf frontend.
   * Activate needed characters for Persian
   [ Frans Pop ]
   * sparc: add components needed to load firmware for netboot images.
   * Update pkg-lists for changes in auto-install (1.7). Main benefit is that
     netcfg will no longer get pulled in on images that shouldn't have it.
   * ia64: add support for loading firmware to images. Closes: #572724.
   * Fix building with alternative LOCALUDEBDIR.
   * Ensure glyphs used in the translated right column of localechooser are
     included in images to avoid incomplete display of the languagelist when
     some translations are dropped through DROP_LANG.
   * Drop auto-install from pkg-lists now that it has been integrated in
     the preseed udebs.
   [ Otavio Salvador ]
   * Switch amd64, i386, hppa, powerpc, mipsel, s390, ia64, mips, sparc to
   [ Martin Michlmayr ]
   * Switch armel to 2.6.32.
   * QNAP: make the check for a valid MAC address more reliable.
   * QNAP: add a check to ensure that the right installer files for the
     user's QNAP model are used.
   * OpenRD-Base and OpenRD-Client can use the same image, so provide
     only one generic image for OpenRD.
   * QNAP: Copy uLinux.conf in case it's not there so we can identify
     the QNAP model.
   * QNAP: recognize Fujitsu Q600 and Q700.
   * Generate an image for GuruPlug.
   * Generate an image for HP t5325 Thin Client (but it requires a
     serial console).
   * Generate an image for QNAP TS-41x.
   * Add a netboot image for SS4000-e.
   * armel: Don't pretend that network-console images are "netboot"
   [ Cyril Brulebois ]
   * Warn if only the 'build' directory has been checked out instead of the
     full source of the 'debian-installer' package.
   * Fix boot splash images to use 640x480. See #571045 for details.
   [ Cyril Brulebois / Frans Pop ]
   * Switch graphical installer from DirectFb to X.Org backend
     - include xserver-xorg udebs for G-I images
     - use console-setup instead of kbd-chooser for G-I images
     - exclude X.Org modules from library reduction
     - stop including libgcc_s.so.1 in G-I images; it's not needed with X.Org
   * Enable graphical installer build targets again. With many thanks to
     Cyril Brulebois, Julien Cristau and others who have contributed to
     implementing the X.Org backend.
   [ Frans Pop ]
   * G-I: include gtk2-engines-udeb through pkg-lists.
   * Add check for incorrect file attributes on device nodes, which can occur
     when using fakeroot after restarting a (failed) build.
   * x86: update info about disabling framebuffer in F8 syslinux help screen.
   [ Aurelien Jarno ]
   * mips/mipsel: re-enable Broadcom SWARM (sb1-bcm91250a) support.
   [ Ryan Tandy ]
   * Create images for Buffalo Linkstation Pro/Live. Closes: #580714
   [ Otavio Salvador ]
   * Move amd64, sparc, mipsel and i386 to linux 2.6.32 (ABI 5).
   [ Samuel Thibault ]
   * hurd-i386: Fix boot menu ramdisk support.
   [ Otavio Salvador ]
   * Move hppa, ia64, powerpc and s390 to linux 2.6.32 (ABI 5).
   [ Jeremie Koenig ]
   * util/get-packages: fix selection of the most recent packages.
   [ Colin Watson ]
   * Support new apt mirror method, available from apt 0.7.26~exp6.
 11c5ca27da31014e0f9965472e2d913d2ea94e5a 3077 debian-installer_20100719.dsc
 029768e0d6f347875d13ddbc2dd1c42e82d70610 1318410 debian-installer_20100719.tar.gz
 0bf692b0cc44ca7e638f6005e9dac83e1e4771ab 829110 debian-installer_20100719_amd64.deb
 5027f9bb969870b6f0110b9ca8a8677d43339f02 169146924 debian-installer-images_20100719_amd64.tar.gz
 096aae3650deee7b8c8b2db51c00aee5faaafb26decdc334bf45e1da6b0a19ed 3077 debian-installer_20100719.dsc
 d8a81b893d8247056da4c17eaa30a3a9a368fa8dbb31ebbcf54a28a8b2a00e32 1318410 debian-installer_20100719.tar.gz
 72cce40f0caea067c728c75e07d4c3d784db59a2c63093cca19c9cf32ecd30eb 829110 debian-installer_20100719_amd64.deb
 0a9dcc503553b6604498c0174e0ea9c0b8c9e97001527828cf5e06c117338abf 169146924 debian-installer-images_20100719_amd64.tar.gz
 b890c7e95160e4700e57320e75fe8711 3077 devel optional debian-installer_20100719.dsc
 9ff667bd4d47f3b4f546d50e94db6b58 1318410 devel optional debian-installer_20100719.tar.gz
 0752b9a24530fcf7b086dad9a8af7e25 829110 devel optional debian-installer_20100719_amd64.deb
 688419591282d687d7e54f681a33b6d0 169146924 raw-installer - debian-installer-images_20100719_amd64.tar.gz

Version: GnuPG v1.4.10 (GNU/Linux)


--- End Message ---

Reply to: