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

Bug#464429: marked as done (debian-installer: d-i support for PA Semi's eval boards (powerpc))

Your message dated Sat, 22 Mar 2008 17:32:11 +0000
with message-id <E1Jd7Zj-0005Ug-1K@ries.debian.org>
and subject line Bug#464429: fixed in libdebian-installer 0.57
has caused the Debian Bug report #464429,
regarding debian-installer: d-i support for PA Semi's eval boards (powerpc)
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

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

I was requested by Frans Pop to open a bug report for this when posting 
the patch on debian-boot.

Below patch adds support to PA Semi's eval systems. Let me know if it's
preferred to provide this through the bug system instead.

Bug 463200 is open to request enablement of the platform code in the
generic powerpc64 kernel used on powerpc, that change together with this
will provide out-of-the box installation on these systems.

I'd love it if this got included in Lenny, so please let me know if
there's anything I can help to make this happen.

(Longer-term plans include improving firmware support enough to be able
to use yaboot. Until then, I've provided a simple note to the user on
how to boot the installed system).

I also added kernel selection support for power6-based powerpc systems 
while I was touching that file. It's needed for IBM's new series p 

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: powerpc (ppc64)

Kernel: Linux 2.6.24 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

-- no debconf information
Index: trunk/packages/kernel/linux-kernel-di-powerpc-2.6/modules/powerpc-powerpc64/nic-modules
--- trunk/packages/kernel/linux-kernel-di-powerpc-2.6/modules/powerpc-powerpc64/nic-modules	(revision 51214)
+++ trunk/packages/kernel/linux-kernel-di-powerpc-2.6/modules/powerpc-powerpc64/nic-modules	(working copy)
@@ -1,4 +1,5 @@
 eth1394 ?
Index: trunk/packages/libdebian-installer/src/system/subarch-powerpc-linux.c
--- trunk/packages/libdebian-installer/src/system/subarch-powerpc-linux.c	(revision 51214)
+++ trunk/packages/libdebian-installer/src/system/subarch-powerpc-linux.c	(working copy)
@@ -32,6 +32,7 @@
 static struct map map_platform[] = {
 	{ "PS3", "ps3" },
 	{ "Cell", "cell" },
+	{ "PA Semi", "pasemi" },
 	{ NULL, NULL }
Index: trunk/packages/nobootloader/debian/postinst
--- trunk/packages/nobootloader/debian/postinst	(revision 51214)
+++ trunk/packages/nobootloader/debian/postinst	(working copy)
@@ -163,6 +163,17 @@
 		db_subst nobootloader/confirmation_powerpc_chrp_pegasos OF_BOOT_FILE "${boot}${kernel} root=${rootfs}"
 		db_input high nobootloader/confirmation_powerpc_chrp_pegasos || true
+	powerpc/pasemi)
+		# TODO: Need to figure out if we need to generate the ramdisk
+		# TODO: Is this the right kernel path?
+		# TODO: Need to generate the device name based on actual disk used
+		kernel=vmlinuz
+		initrd=initrd
+		db_subst nobootloader/confirmation_powerpc_pasemi INITRD "sata0.0:/${boot}${initrd}"
+		db_subst nobootloader/confirmation_powerpc_pasemi KERNFILE "sata0.0:/${boot}${kernel}"
+		db_subst nobootloader/confirmation_powerpc_pasemi BOOTARGS "root=$rootfs"
+		db_input high nobootloader/confirmation_powerpc_pasemi || true
+	;;
 	# TODO: figure out whether we're running NeTTrom or ABLE (#345317)
Index: trunk/packages/nobootloader/debian/nobootloader.templates
--- trunk/packages/nobootloader/debian/nobootloader.templates	(revision 51214)
+++ trunk/packages/nobootloader/debian/nobootloader.templates	(working copy)
@@ -37,6 +37,27 @@
+Template: nobootloader/confirmation_powerpc_pasemi
+Type: note
+# :s14:
+_Description: Setting firmware variables for automatic boot
+ Some variables need to be set in CFE in order for your system to boot
+ automatically. At the end of installation, the system will reboot. At the
+ firmware prompt, set the following variables to simplify booting:
+ . 
+  setenv -p bootargs "${BOOTARGS}"
+  setenv -p boot_debian "ramdisk -max=20000000 ${INITRD} ; boot ${KERNFILE}"
+ .
+ You will only need to do this once. This enables you to just issue the command:
+ . 
+  boot_debian
+ .
+ At the CFE prompt. If you prefer to auto-boot on every startup, in addition
+ to the above also do:
+ .
+  setenv -p STARTUP "$boot_debian"
 Template: nobootloader/confirmation_arm_netwinder_nettrom
 Type: note
 # :sl4:
Index: trunk/packages/console-setup/debian/config.proto
--- trunk/packages/console-setup/debian/config.proto	(revision 51214)
+++ trunk/packages/console-setup/debian/config.proto	(working copy)
@@ -1018,6 +1018,10 @@
+    powerpc/pasemi)
+	default_model=pc105
+	model_priority=medium
+	;;
Index: trunk/packages/partman/partman-partitioning/lib/disk-label.sh
--- trunk/packages/partman/partman-partitioning/lib/disk-label.sh	(revision 51214)
+++ trunk/packages/partman/partman-partitioning/lib/disk-label.sh	(working copy)
@@ -135,6 +135,8 @@
 			echo msdos;;
 			echo amiga;;
+		    pasemi)
+			echo msdos;;
 			echo msdos;;
Index: trunk/packages/base-installer/kernel/powerpc.sh
--- trunk/packages/base-installer/kernel/powerpc.sh	(revision 51214)
+++ trunk/packages/base-installer/kernel/powerpc.sh	(working copy)
@@ -1,13 +1,13 @@
 arch_get_kernel_flavour () {
 	CPU=`grep '^cpu[[:space:]]*:' "$CPUINFO" | head -n1 | cut -d: -f2 | sed 's/^ *//; s/[, ].*//' | tr A-Z a-z`
 	case "$CPU" in
-	    power3|i-star|s-star|power4|power4+|ppc970*|power5|power5+)
+	    power3|i-star|s-star|power4|power4+|ppc970*|power5|power5+|power6|power6x|pa6t)
 		family=powerpc64 ;;
 		family=powerpc ;;
 	case "$SUBARCH" in
-	    powermac*|chrp*)
+	    powermac*|chrp*|pasemi)
 		echo "$family" ;;
 		echo prep ;;

--- End Message ---
--- Begin Message ---
Source: libdebian-installer
Source-Version: 0.57

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

  to pool/main/libd/libdebian-installer/libdebian-installer-extra4-udeb_0.57_amd64.udeb
  to pool/main/libd/libdebian-installer/libdebian-installer-extra4_0.57_amd64.deb
  to pool/main/libd/libdebian-installer/libdebian-installer4-dev_0.57_amd64.deb
  to pool/main/libd/libdebian-installer/libdebian-installer4-udeb_0.57_amd64.udeb
  to pool/main/libd/libdebian-installer/libdebian-installer4_0.57_amd64.deb
  to pool/main/libd/libdebian-installer/libdebian-installer_0.57.dsc
  to pool/main/libd/libdebian-installer/libdebian-installer_0.57.tar.gz

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 464429@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
Martin Michlmayr <tbm@cyrius.com> (supplier of updated libdebian-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: SHA1

Format: 1.7
Date: Sat, 22 Mar 2008 18:13:19 +0100
Source: libdebian-installer
Binary: libdebian-installer4 libdebian-installer4-dev libdebian-installer4-udeb libdebian-installer-extra4 libdebian-installer-extra4-udeb
Architecture: source amd64
Version: 0.57
Distribution: unstable
Urgency: low
Maintainer: Debian Install System Team <debian-boot@lists.debian.org>
Changed-By: Martin Michlmayr <tbm@cyrius.com>
 libdebian-installer-extra4 - Library of some extra debian-installer functions
 libdebian-installer-extra4-udeb - Library of some extra debian-installer functions (udeb)
 libdebian-installer4 - Library of common debian-installer functions
 libdebian-installer4-dev - Library of common debian-installer functions
 libdebian-installer4-udeb - Library of common debian-installer functions (udeb)
Closes: 464429
 libdebian-installer (0.57) unstable; urgency=low
   [ Frans Pop ]
   * Add support for PA Semi's evaluation systems (closes: #464429).
     Thanks to Olof Johansson for the patch.
   [ Martin Michlmayr ]
   * Rename orion to orion5x to allow for support of other Orion
     platforms in the future.
 b427b08d7a30efe9e9c9ddad048f24d9 903 libs optional libdebian-installer_0.57.dsc
 61a44c620dc95b978cb8a55fcc4f49f7 389475 libs optional libdebian-installer_0.57.tar.gz
 c34133f7f988448427576a1afd90f60b 29426 libs optional libdebian-installer4_0.57_amd64.deb
 eba260614c7282abd81d8ff22ffaac69 152698 libdevel optional libdebian-installer4-dev_0.57_amd64.deb
 951a54ed868a63c9fec78babc7733612 22308 debian-installer optional libdebian-installer4-udeb_0.57_amd64.udeb
 5cda38e7abd18e0b933dd9a373f93ea0 11198 libs optional libdebian-installer-extra4_0.57_amd64.deb
 657a9bf5237049d707ecc5b26743c515 3902 debian-installer optional libdebian-installer-extra4-udeb_0.57_amd64.udeb

Version: GnuPG v1.4.6 (GNU/Linux)


--- End Message ---

Reply to: