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

Bug#752408: finish-install: ppc64el support



Package: finish-install
Version: 2.46
Severity: normal
Tags: patch
User: debian-powerpc@lists.debian.org
Usertags: ppc64el


Dear Maintainer,

here is a patch from Ubuntu so that console is handled properly on the ppc64le architecture
in a guest or in the host.


-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: ppc64el (ppc64le)

Kernel: Linux 3.14-1-powerpc64le (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_US.UTF-8)
Shell: /bin/sh linked to /bin/dash
diff -Nru finish-install-2.46/finish-install.d/90console finish-install-2.46/finish-install.d/90console
--- finish-install-2.46/finish-install.d/90console	2011-08-01 01:00:32.000000000 +0000
+++ finish-install-2.46/finish-install.d/90console	2014-06-06 10:11:36.000000000 +0000
@@ -93,7 +93,7 @@
 if [ -e $DT_ROOT/chosen/linux,stdout-path ]; then
 	chosen_dev=$(cat $DT_ROOT/chosen/linux,stdout-path)
 	case $chosen_dev in
-	    /vdevice/vty@30000000)
+	    /vdevice/vty@30000000|/vdevice/vty@71000000)
 		case $(cat ${DT_ROOT}${chosen_dev}/compatible) in
 		    hvterm-protocol)
 			console=hvsi0 ;;
@@ -109,6 +109,12 @@
 		console=hvsi1 ;;
 	    /spider/serial)
 		console=hvc0 ;;
+	    /ibm,opal/consoles/serial@0)
+		console=hvc0 ;;
+	    /ibm,opal/consoles/serial@1)
+		console=hvc1 ;;
+	    /ibm,opal/consoles/serial@2)
+		console=hvc2 ;;
 	    *)
 		exit 0 ;;
 	esac

Reply to: