** Changed in: linux (Ubuntu Xenial)
Assignee: (unassigned) => Andy Whitcroft (apw)
** Also affects: linux-hwe-edge (Ubuntu)
Importance: Undecided
Status: New
** No longer affects: linux (Ubuntu Xenial)
** Changed in: linux-hwe-edge (Ubuntu Xenial)
Assignee: (unassigned) => Andy Whitcroft (apw)
** Changed in: flash-kernel (Ubuntu Xenial)
Assignee: (unassigned) => dann frazier (dannf)
** Changed in: flash-kernel (Ubuntu Xenial)
Status: Triaged => In Progress
** Description changed:
- When building an upstream kernel using "make deb-pkg" and not any of the
- Ubuntu-specific kernel build methods (such as debian/rules binary-
- headers binary-generic), the resulting linux-image deb package includes
- a gzip-compressed kernel image (copied from Image.gz, not Image). When
- such a deb package is installed on an arm64 system (such as McDivitt)
- and flash-kernel is run, it always calls "mkimage" with "-C none", which
- results in a uImage that can't boot.
+ [Impact]
+ Ubuntu kernels >= hwe-y (4.8) will no longer boot on xgene/uboot systems. The
image size appears to have outgrown the defined firmware region, and u-boot
will error out with a checksum mismatch error. A solution for this is to start
shipping a compressed kernel (Image.gz target). flash-kernel needs updating to
detect a compressed kernel and set the appropriate uImage compression flag.
Similarly, d-i needs updating because it does it's own uImage generation.
- The attached patch adds a check to the mkimage_kernel() function in
- /usr/share/flash-kernel/functions to determine whether the kernel image
- is gzip-compressed or not, and calls "mkimage" with the appropriate "-C
- gzip" or "-C none" option. I have tested this patch on McDivitt, with
- both standard Ubuntu 3.13.0-37 and upstream 3.18-rc1 kernels, and it
- works for me.
+ [Test Case]
+ Boot an hwe-y kernel on an xgene/uboot system (APM Mustang, HP ProLiant m400).
+
+ [Regression Risk]
+ The necessary code is in place and in-use for yakkety, and no issues have
been discovered there. The SRU involves clean cherry-picks of that code for d-i
& f-k. The kernel side needs to be modified to pull in the correct version of
flash-kernel for xenial.
** Changed in: debian-installer (Ubuntu Xenial)
Assignee: (unassigned) => dann frazier (dannf)
** Changed in: debian-installer (Ubuntu Xenial)
Status: Triaged => Fix Committed
** Changed in: debian-installer (Ubuntu Xenial)
Importance: Undecided => High
** Changed in: debian-installer (Ubuntu)
Importance: Undecided => High
** Changed in: flash-kernel (Ubuntu)
Importance: Undecided => High
** Changed in: flash-kernel (Ubuntu Xenial)
Importance: Undecided => High
** Changed in: flash-kernel (Ubuntu)
Assignee: (unassigned) => dann frazier (dannf)
** Changed in: debian-installer (Ubuntu)
Assignee: (unassigned) => dann frazier (dannf)
** Changed in: linux (Ubuntu)
Importance: Undecided => High
** Changed in: linux-hwe-edge (Ubuntu Xenial)
Importance: Undecided => High
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1384955
Title:
support compressed kernels on arm64
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/debian-installer/+bug/1384955/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs