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

Bug#754093: marked as done (debian-installer: ppc64el support)



Your message dated Thu, 02 Oct 2014 06:48:36 +0000
with message-id <E1XZaBo-0001hd-QB@franck.debian.org>
and subject line Bug#754093: fixed in debian-installer 20141002
has caused the Debian Bug report #754093,
regarding debian-installer: ppc64el 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 owner@bugs.debian.org
immediately.)


-- 
754093: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=754093
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: debian-installer
Severity: normal
Tags: d-i patch
User: debian-powerpc@lists.debian.org
Usertags: ppc64el

Dear Maintainer,

hi, here is a patch from Ubuntu to add support of ppc64el.
I just changed grub-cdrom.cfg to remove any d-i option on the kernel command line.
I added virtio-modules to support VMs with virtio which is good to have for development.
Thank you,

F.


-- 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)
Shell: /bin/sh linked to /bin/dash
diff --git a/build/boot/ppc64el/grub-cdrom.cfg b/build/boot/ppc64el/grub-cdrom.cfg
new file mode 100644
index 0000000..825921a
--- /dev/null
+++ b/build/boot/ppc64el/grub-cdrom.cfg
@@ -0,0 +1,11 @@
+set timeout=-1
+
+menuentry "Install" {
+	linux	${KERNEL} -- quiet
+	initrd	${INITRD}
+}
+
+menuentry "Rescue mode" {
+	linux	${KERNEL} rescue/enable=true -- quiet
+	initrd	${INITRD}
+}
diff --git a/build/config/ppc64el.cfg b/build/config/ppc64el.cfg
new file mode 100644
index 0000000..ecbec94
--- /dev/null
+++ b/build/config/ppc64el.cfg
@@ -0,0 +1,76 @@
+MEDIUM_SUPPORTED = netboot cdrom
+
+MKLIBS = mklibs-copy
+
+KERNELMAJOR = 2.6
+BASEVERSION = 3.14-1
+KERNELVERSION = $(BASEVERSION)-powerpc64le
+KERNEL_FLAVOUR = di
+KERNELNAME = vmlinux
+KERNELIMAGEVERSION = $(KERNELVERSION)
+
+GRUB_CFG_CDROM = boot/ppc64el/grub-cdrom.cfg
+GRUB_CFG_NETBOOT=boot/ppc64el/grub-cdrom.cfg
+
+GRUB_MODULES = linux normal
+GRUB_MODULES_CDROM = iso9660
+
+arch_boot_screens:
+arch_tree:
+
+# Miniature CD image using GRUB, with only an initrd, no udebs or debs.
+.PHONY: arch_miniiso
+arch_miniiso: $(TEMP_INITRD) $(TEMP_KERNEL) $(TREE)
+	-rm -f $(TEMP_CD_TREE)/*
+	mkdir -p $(TEMP_CD_TREE)/boot/grub/powerpc-ieee1275 \
+		 $(TEMP_CD_TREE)/ppc/chrp \
+		 $(TEMP_CD_TREE)/install
+
+	cp $(TEMP_KERNEL) $(TEMP_CD_TREE)/install/vmlinux
+	cp $(TEMP_INITRD) $(TEMP_CD_TREE)/install/initrd.gz
+
+	bootvars-subst \
+		KERNEL /install/vmlinux \
+		INITRD /install/initrd.gz \
+	< $(GRUB_CFG_CDROM) > $(TEMP_CD_TREE)/boot/grub/grub.cfg
+
+	cp -p /usr/lib/grub/powerpc-ieee1275/bootinfo.txt \
+		$(TEMP_CD_TREE)/ppc/
+
+	grub-mkrescue --output=$(TEMP_MINIISO) $(TEMP_CD_TREE)
+
+# genisoimage CD info directory, including GRUB and configuration files.
+.PHONY: arch_cd_info_dir
+arch_cd_info_dir:
+	rm -rf $(TEMP_CD_INFO_DIR)
+	mkdir -p $(TEMP_CD_INFO_DIR)/boot/grub/powerpc-ieee1275 \
+		 $(TEMP_CD_INFO_DIR)/ppc/chrp
+
+	bootvars-subst \
+		KERNEL /install/vmlinux \
+		INITRD /install/initrd.gz \
+	< $(GRUB_CFG_CDROM) > $(TEMP_CD_INFO_DIR)/boot/grub/grub.cfg
+	grub-mkimage -O powerpc-ieee1275 -p '(ieee1275/cdrom)/boot/grub' \
+		-o $(TEMP_CD_INFO_DIR)/boot/grub/powerpc.elf \
+		$(GRUB_MODULES) $(GRUB_MODULES_CDROM)
+	cp -p /usr/lib/grub/powerpc-ieee1275/bootinfo.txt \
+		$(TEMP_CD_INFO_DIR)/ppc/
+
+# Netboot files
+.PHONY: arch_netboot_dir
+arch_netboot_dir:
+	-rm -f $(TEMP_NETBOOT_DIR)
+	mkdir -p $(TEMP_NETBOOT_DIR)/$(NETBOOT_PATH)
+	cp $(TEMP_INITRD) $(TEMP_NETBOOT_DIR)/$(NETBOOT_PATH)
+	cp $(TEMP_KERNEL) $(TEMP_NETBOOT_DIR)/$(NETBOOT_PATH)
+	
+	bootvars-subst \
+		KERNEL $(NETBOOT_PATH)/vmlinux \
+		INITRD $(NETBOOT_PATH)/initrd.gz \
+	< $(GRUB_CFG_NETBOOT) > $(TEMP_NETBOOT_DIR)/$(NETBOOT_PATH)/grub.cfg
+	if [ -n "$(SPLASH_PNG)" ]; then \
+		cp $(SPLASH_PNG) $(TEMP_NETBOOT_DIR)/$(NETBOOT_PATH)/splash.png; \
+	fi
+
+	grub-mknetdir --net-directory=$(TEMP_NETBOOT_DIR) \
+		--subdir=$(NETBOOT_PATH)
diff --git a/build/config/ppc64el/cdrom.cfg b/build/config/ppc64el/cdrom.cfg
new file mode 100644
index 0000000..38547cb
--- /dev/null
+++ b/build/config/ppc64el/cdrom.cfg
@@ -0,0 +1,8 @@
+MEDIA_TYPE = CD-ROM
+
+TARGET = $(INITRD) $(KERNEL) $(DEBIAN_CD_INFO)
+EXTRANAME = $(MEDIUM)/
+
+MANIFEST-KERNEL = "kernel for use with mkisofs to build a CD"
+MANIFEST-INITRD = "initrd for use with mkisofs to build a CD"
+MANIFEST-DEBIAN_CD_INFO = "mkisofs config files for CD"
diff --git a/build/config/ppc64el/netboot.cfg b/build/config/ppc64el/netboot.cfg
new file mode 100644
index 0000000..7c65d91
--- /dev/null
+++ b/build/config/ppc64el/netboot.cfg
@@ -0,0 +1,9 @@
+MEDIA_TYPE = netboot image
+
+NETBOOT_DIR_TARGETS = $(TEMP_INITRD) $(TEMP_KERNEL)
+TARGET = $(NETBOOT_DIR) $(NETBOOT_TAR) $(MINIISO)
+EXTRANAME = $(MEDIUM)/
+
+MANIFEST-NETBOOT_DIR = "boot directory for tftp server"
+MANIFEST-NETBOOT_TAR = "tarball of boot directory"
+MANIFEST-MINIISO = "tiny CD image that boots the netboot installer"
diff --git a/build/pkg-lists/netboot/ppc64el.cfg b/build/pkg-lists/netboot/ppc64el.cfg
new file mode 100644
index 0000000..6df809c
--- /dev/null
+++ b/build/pkg-lists/netboot/ppc64el.cfg
@@ -0,0 +1,29 @@
+input-modules-${kernel:Version}
+console-setup-pc-ekmap
+nic-modules-${kernel:Version}
+#nic-pcmcia-modules-${kernel:Version}
+#pcmcia-modules-${kernel:Version}
+mountmedia
+media-retriever
+usb-storage-modules-${kernel:Version}
+pcmciautils-udeb
+#fb-modules-${kernel:Version}
+usb-modules-${kernel:Version}
+virtio-modules-${kernel:Version}
+
+console-setup-udeb
+kbd-udeb
+bogl-bterm-udeb
+hw-detect
+ethdetect
+netcfg
+
+# brltty
+brltty-udeb
+serial-modules-${kernel:Version}
+usb-serial-modules-${kernel:Version} ?
+uinput-modules-${kernel:Version} ?
+
+# IBM Power hypervisor modules, only available on powerpc64.
+hypervisor-modules-${kernel:Version} ?
+fancontrol-modules-${kernel:Version} ?

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

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.

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

Debian distribution maintenance software
pp.
Cyril Brulebois <kibi@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@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Thu, 02 Oct 2014 08:21:25 +0200
Source: debian-installer
Binary: debian-installer
Architecture: source
Version: 20141002
Distribution: unstable
Urgency: low
Maintainer: Debian Install System Team <debian-boot@lists.debian.org>
Changed-By: Cyril Brulebois <kibi@debian.org>
Description:
 debian-installer - Debian installer
Closes: 751731 754093 756275 758581 759686 761573 762614
Changes:
 debian-installer (20141002) unstable; urgency=low
 .
   [ Samuel Thibault ]
   * Add speech synthesis entries in alternate desktop boot menus.
   * Add keyboard shortcut for Advanced options menu.
 .
   [ Ian Campbell ]
   * Depend on mklibs >= 0.1.40 for ARM EABI fixes relating to the handling
     of__aeabi_* symbols (Closes: #758581).
   * Switch to installing Jessie by default on ARM64.
   * Build netboot mini.iso on ARM64.
   * Build cdrom flavour for ARM64.
 .
   [ Cyril Brulebois ]
   * Deal with even more incompatible changes on the syslinux side by
     adding a syslinux-utils build-dep (Closes: #751731), no thanks to its
     maintainer as far as cooperation is concerned (See: #751724, #759189).
   * Bump linux kernel version from 3.14-2 to 3.16-2.
   * Drop code snippet meant to ensure every checkout would get an updated
     sources.list.udeb (with [trusted=yes]), since that was meant to be
     temporary, and that was almost 2 years ago.
   * Replace ttf-kannada-fonts-udeb with fonts-knda-udeb.
   * Specify -j1 for the submake definition in build/Makefile; that's what
     happens anyway, and warnings go away accordingly.
   * Add fonts-lohit-guru-udeb to gtk images, fixing rendering for Punjabi
     (Closes: #761573).
   * Apply patch from Ron and Chris Kuehl to fix lib location and search
     path for syslinux >= 5. Some constraints include having ldlinux.c32
     in the tftp root, and being able to find some support libraries
     thanks to a defined path (Closes: #756275). Many thanks!
   * Update translation-status for the release.
 .
   [ Frederic Bonnard / Aurelien Jarno ]
   * Add ppc64el support installing sid (Closes: #754093).
 .
   [ Steven Chamberlain ]
   * On kfreebsd and hurd, which use GRUB for PXE booting, request two
     additional modules in the grub-mkimage step: (Closes: #759686)
     - tftp: required since GRUB 2.02 otherwise PXE boot will crash/hang
     - gfxterm_background: required since GRUB 2.02 for the boot splash
       image functionality to be available
     - raise the grub-pc (and indirectly grub-common) build dependency to
       >= 2.02~beta2~ on these architectures, because module
       gfxterm_background did not exist in GRUB 2.00
     - raise the xorriso build dependency to >= 1.3.2-1~ on these
       architectures, for compatibility with grub-mkrescue in GRUB 2.02
 .
   [ Joey Hess ]
   * Remove desktop selection from syslinux; now available in tasksel.
   * remove desktop=xfce preseeding on kfreebsd-* and hurd, since tasksel
     3.27 knows about architecture-specific defaults (Closes: #762614).
 .
   [ Ben Hutchings ]
   * Keep Linux modules.builtin file in the initrd.
   * Update new-kernel-checklist.txt for the last few years' changes.
Checksums-Sha1:
 bd95e4cbe2a01330933cf8ca17cd5a3f7200a560 3430 debian-installer_20141002.dsc
 2624d995c68e576f4343a6f2532a3748cefef104 1352320 debian-installer_20141002.tar.gz
Checksums-Sha256:
 88b6cbf4219ba31d68187ede848bcb11e5abf84ba4e3e4fbf032ab91fee9e9fd 3430 debian-installer_20141002.dsc
 869a9296f91882d055d74d161829ca3d3ff704ac74f1174167c84a18235453a4 1352320 debian-installer_20141002.tar.gz
Files:
 fc71bc246d80f6564e270281150fcbd7 3430 devel optional debian-installer_20141002.dsc
 64b585cbba790e8adb1f91e265fa5f98 1352320 devel optional debian-installer_20141002.tar.gz

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iQIcBAEBAgAGBQJULPIlAAoJEP+RSvDCs1UgFt4P/RBQb+QyZn4vwF12QxDY493r
va9gmyOxJvCiGtY1C8SC1GbWUXd3fmkloztLEs0IryWbI73gl20+cAZompSxLeF5
srhoZ/TeZUdGW2FNkVgesyG4JLC3hizN6serMuu5zekyhB+9Eqeux5XhqoTWURZh
G55V42XAkSSyEh1BlQ4SIii4i5gSLy5qHWmdtFnaNIj6baFEtqkeij7ZUnqElinf
wefeySZ3FE+NyWLgpDGm+pPCv3cpOiVCySC/iTBmF7c3uCsFRkdfJchl6CcCWg88
JstD3LLNySJnWHbk6AduTzD1qFrg21FTN2VVZjQp/M9uk7pIpgDiLeQRVxSYigih
p6AeLdF0TGyZX3+95oRxgz2q7+5c06Blq76FG3hgsh0xG43Fs4bBNyPLlKTUI2FJ
sIFCx7lM8u7E14wJ5cxcgkG+WtjR9XjKxjFhsVOhBe6AHMm1hZyF5y+rew8/JUEl
DdFkvVsdkBlAhYHxN/MontRuZFb5pMyyvJTcvVoebsCkFEHM6v+uHKToMjxmANzg
rgH+pNVCWLJ/jvinSLBeVouzQih9g93zgBD8/8s29tQYxjhnGSRUl21X3Mq/er15
U5RHlbGgin+uQvDezrJ/uex4tJJi3bVYpHIcmRIU7Rtpxf9z3Pd6syOCvDJh105C
HsgNEszUkpwFzZX/apQj
=M4En
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: