Your message dated Fri, 05 Nov 2010 13:47:14 +0000
with message-id <e1pemdo-0000en...@franck.debian.org>
and subject line Bug#593235: fixed in flash-kernel 2.35
has caused the Debian Bug report #593235,
regarding flash-kernel-installer: Please add gta02 support
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 ow...@bugs.debian.org
immediately.)
--
593235: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=593235
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: flash-kernel-installer
Severity: wishlist
Tags: patch
Please add support for the gta02.
-- System Information:
Debian Release: squeeze/sid
APT prefers testing
APT policy: (990, 'testing'), (120, 'unstable'), (105, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.35-rc3+ (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
>From b66179b25fc65dab8dee7cb3b867ca54bc8cee5c Mon Sep 17 00:00:00 2001
From: Thibaut Girka <t...@sitedethib.com>
Date: Sun, 15 Aug 2010 13:39:35 +0200
Subject: [PATCH 4/9] flash-kernel: add s3c24xx/gta02 support
---
packages/flash-kernel/debian/control | 2 +-
.../debian/flash-kernel-installer.isinstallable | 3 +++
.../debian/flash-kernel-installer.postinst | 16 ++++++++++++++++
packages/flash-kernel/flash-kernel | 16 ++++++++++++++++
.../initramfs-tools/hooks/flash_kernel_set_root | 3 +++
5 files changed, 39 insertions(+), 1 deletions(-)
diff --git a/packages/flash-kernel/debian/control
b/packages/flash-kernel/debian/control
index 7d1fc1a..1cc6427 100644
--- a/packages/flash-kernel/debian/control
+++ b/packages/flash-kernel/debian/control
@@ -23,7 +23,7 @@ Section: debian-installer
Priority: standard
XC-Package-Type: udeb
Architecture: arm armel armeb
-XB-Subarchitecture: iop32x ixp4xx kirkwood orion5x
+XB-Subarchitecture: iop32x ixp4xx kirkwood orion5x s3c24xx
Provides: bootable-system
Depends: cdebconf-udeb, installed-base
XB-Installer-Menu-Item: 7300
diff --git a/packages/flash-kernel/debian/flash-kernel-installer.isinstallable
b/packages/flash-kernel/debian/flash-kernel-installer.isinstallable
index fb56721..bd1b2af 100755
--- a/packages/flash-kernel/debian/flash-kernel-installer.isinstallable
+++ b/packages/flash-kernel/debian/flash-kernel-installer.isinstallable
@@ -2,6 +2,9 @@
set -e
case "`archdetect`" in
+ arm*/s3c24xx)
+ exit 0
+ ;;
arm*/iop32x)
exit 0
;;
diff --git a/packages/flash-kernel/debian/flash-kernel-installer.postinst
b/packages/flash-kernel/debian/flash-kernel-installer.postinst
index 164e464..eb7690a 100755
--- a/packages/flash-kernel/debian/flash-kernel-installer.postinst
+++ b/packages/flash-kernel/debian/flash-kernel-installer.postinst
@@ -33,6 +33,9 @@ write_to_flash() {
"GLAN Tank")
return 1
;;
+ "GTA02")
+ return 1
+ ;;
"HP t5325 Thin Client")
return 1
;;
@@ -104,6 +107,19 @@ case "$machine" in
"GLAN Tank")
in-target update-initramfs -u || true
;;
+ "GTA02")
+ in-target update-initramfs -u || true
+ if ! apt-install uboot-mkimage; then
+ error "apt-install uboot-mkimage failed"
+ fi
+ if ! apt-install uboot-envtools; then
+ error "apt-install uboot-envtools failed"
+ fi
+ # Modify u-boot environment
+ rootfs=$(findfs /)
+ bootfs=$(findfs /boot)
+ modify_uboot_env $rootfs $bootfs
+ ;;
"HP t5325 Thin Client")
in-target update-initramfs -u || true
if ! apt-install uboot-mkimage; then
diff --git a/packages/flash-kernel/flash-kernel
b/packages/flash-kernel/flash-kernel
index abf4849..06d29a0 100755
--- a/packages/flash-kernel/flash-kernel
+++ b/packages/flash-kernel/flash-kernel
@@ -85,6 +85,7 @@ fi
if [ "x$1" = "x--supported" ]; then
case "$machine" in
+ "GTA02") exit 0 ;;
"Buffalo Linkstation Pro/Live") exit 0 ;;
"Buffalo/Revogear Kurobox Pro") exit 0 ;;
"D-Link DNS-323") exit 0 ;;
@@ -140,6 +141,21 @@ fi
subarch=$(echo "$kfile" | sed -e 's/.*-//')
case "$machine" in
+ "GTA02")
+ check_subarch "s3c24xx"
+ tmp="$(tempfile)"
+ printf "Generating u-boot image..." >&2
+ gzip -9 -c "$kfile" > "$tmp"
+ mkimage -A arm -O linux -T multi -C gzip -a 0x30008000 \
+ -e 0x30008000 -n "$desc" -d "$tmp":"$ifile"
"$tmp.uboot" >&2 1>/dev/null
+ echo "done." >&2
+ rm -f "$tmp"
+ if [ -e /boot/uImage.bin ]; then
+ echo "Creating backup of /boot/uImage.bin." >&2
+ mv /boot/uImage.bin /boot/uImage.bin.bak
+ fi
+ mv "$tmp.uboot" /boot/uImage.bin
+ ;;
"Buffalo Linkstation Pro/Live" | "Buffalo/Revogear Kurobox Pro")
check_subarch "orion5x"
tmp="$(tempfile)"
diff --git a/packages/flash-kernel/initramfs-tools/hooks/flash_kernel_set_root
b/packages/flash-kernel/initramfs-tools/hooks/flash_kernel_set_root
index 8163f68..abddadd 100755
--- a/packages/flash-kernel/initramfs-tools/hooks/flash_kernel_set_root
+++ b/packages/flash-kernel/initramfs-tools/hooks/flash_kernel_set_root
@@ -23,6 +23,9 @@ pause_error() {
# device?
root_type() {
case "$1" in
+ "GTA02")
+ echo "override"
+ ;;
"Buffalo Linkstation Pro/Live")
echo "override"
;;
--
1.7.1
--- End Message ---
--- Begin Message ---
Source: flash-kernel
Source-Version: 2.35
We believe that the bug you reported is fixed in the latest version of
flash-kernel, which is due to be installed in the Debian FTP archive:
flash-kernel-installer_2.35_armel.udeb
to main/f/flash-kernel/flash-kernel-installer_2.35_armel.udeb
flash-kernel_2.35.dsc
to main/f/flash-kernel/flash-kernel_2.35.dsc
flash-kernel_2.35.tar.gz
to main/f/flash-kernel/flash-kernel_2.35.tar.gz
flash-kernel_2.35_armel.deb
to main/f/flash-kernel/flash-kernel_2.35_armel.deb
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 593...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Martin Michlmayr <t...@cyrius.com> (supplier of updated flash-kernel 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 ftpmas...@debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.8
Date: Fri, 05 Nov 2010 13:28:03 +0000
Source: flash-kernel
Binary: flash-kernel flash-kernel-installer
Architecture: source armel
Version: 2.35
Distribution: unstable
Urgency: low
Maintainer: Debian Install System Team <debian-boot@lists.debian.org>
Changed-By: Martin Michlmayr <t...@cyrius.com>
Description:
flash-kernel - utility to make certain embedded devices bootable
flash-kernel-installer - Make the system bootable (udeb)
Closes: 593235
Changes:
flash-kernel (2.35) unstable; urgency=low
.
* Add support for "GTA02" (Neo FreeRunner). Patch from Thibaut Girka.
Closes: #593235
Checksums-Sha1:
e38c746ec686961079585da339b64ea7b420f213 923 flash-kernel_2.35.dsc
a3b6fc244703c8ab1b826c5d84fd27d937da53f4 41825 flash-kernel_2.35.tar.gz
ae26fa92224f5ba422ec5a611f52de3c679022b2 16550 flash-kernel_2.35_armel.deb
31c1a3a744ed415d848d8dcd8f902973a7540e95 11710
flash-kernel-installer_2.35_armel.udeb
Checksums-Sha256:
1ebfba6924713ed8228ee60fc424087a7246d86c94384ff7ce37187bde83a1ed 923
flash-kernel_2.35.dsc
791098d61190c36a9618382ee1d56851f771c6d2fec86a7c47485a785cb33562 41825
flash-kernel_2.35.tar.gz
ebe823701c063d0445af1e028af76ef27e1995dac7c60c57fb714e5d3ea5f69a 16550
flash-kernel_2.35_armel.deb
3130d807cb389dc078def86e82bbdfc8c5b20b62b052b182bf5f7e00c2cfbbe3 11710
flash-kernel-installer_2.35_armel.udeb
Files:
6702ce6804bc307bda0854a97868fd90 923 utils optional flash-kernel_2.35.dsc
30467cc673a42dfa5cacce849c02c0f1 41825 utils optional flash-kernel_2.35.tar.gz
543ad16a2850de9313df90dd0ca0128d 16550 utils optional
flash-kernel_2.35_armel.deb
8ea9ad5a26059cee7b82b9da34b0dbd4 11710 debian-installer standard
flash-kernel-installer_2.35_armel.udeb
Package-Type: udeb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
iEYEARECAAYFAkzUCD8ACgkQKb5dImj9VJ8vVACgjgP/a9+Jh79FaBCD8r4SzmSC
5lIAn0pJpNsDjbu/jRhXivnzuhXv6dqX
=5LR3
-----END PGP SIGNATURE-----
--- End Message ---