Format: 1.8 Date: Fri, 26 Jan 2018 22:05:44 +0100 Source: flash-kernel Binary: flash-kernel flash-kernel-installer Architecture: arm64 arm64_translations Version: 3.90ubuntu1 Distribution: bionic-proposed Urgency: medium Maintainer: Launchpad Build Daemon Changed-By: Balint Reczey Description: flash-kernel - utility to make certain embedded devices bootable flash-kernel-installer - Make the system bootable (udeb) Launchpad-Bugs-Fixed: 1743771 Changes: flash-kernel (3.90ubuntu1) bionic; urgency=medium . [ Balint Reczey ] * Merge with Debian (LP: #1743771) - remaining changes: - add "quiet splash" as default options to omap bootscr - re-add support for the FLASH_KERNEL_SKIP env variable, so the image build infrastructure has a chance to skip the automated flash-kernel run during image builds. - bootscr.highbank: allow more space to load larger kernels - Add support for Calxeda Highbank (with bootscr.highbank different from Debian's version) - Re-add support for Marvell ArmadaXP - Fix armadaxp kernel load address - use umount -l in the cleanup function, else we fail while finishing up with the script - add DB entry for "OMAP3 Beagle Board" (funnily thats missing) - add Panda to the list of supported board in the README file - debian/control: Re-add omap and omap4 to the flash-kernel-installer XB-Subarchitecture field. These appear to have been lost somewhere along the way. - Also add omap and omap4 to flash-kernel-installer.isinstallable. - add a diversion for update-initramfs to live-installers post-base-installer.d to avoid update-initramfs runs before flash-kernel is configured - add a check for the diverted update-initramfs to flash-kernel-installer, so it gets reverted before we try to call update-initramfs - make post-base-installer.d/01flash-kernel-diversion actually an executable shell script - switch omap3 and omap4 to uEnv.txt/preEnv.txt (the former holds all active boot commands, the latter holds the kernel commandline only) - enable UUID detection of the currently used root device - if uEnv.txt is defined in the db for an arch, generate preEnv.txt from UBOOT_DEFAULTS and UUID detection data - switch omap3 and omap4 from Bootloader-sets-root: no to yes, we now generate a root=UUID= line on the fly for arches using uEnv.txt/preEnv.txt - introduce bootscript/uEnvtxt.omap - do not move the original uEnvtxt.omap to the target, use a copy instead - initramfs-tools/hooks/flash_kernel_set_root: - make sure that if we dont want to override the bootloader root= option by setting "Bootloader-sets-root: yes", we actually dont do it - Also check for FLASH_KERNEL_SKIP to avoid setting up the root parameter in case flash-kernel will not be used - this is a slightly different approach to fix the bug than the patch attached to the bug. - hide the boot device from udisk's automounting after installation on all systems using uEnv.txt to configure u-boot - make sure we only rename the bootrom partition so udisks hides it, when using mkdosfs for setting the label like we did in jasper (where we cached the contents before doing this) MLO and u-boot.bin are gone - make sure that /dev is bind mounted in /target when running update-initramfs from flash-kernel-installer, else we do not find the boot media (this is only a workaround, actual fixing of the netinst environment is needed to fix this properly) - add support for the grouper architecture - make sure blkid only gives us the UUID and not any other metadata like labels or filesystem - drop the "|| true" from the initramfs building code, if we fail here we actually dont want to attempt to flash that - Do not run flash-kernel inside an LXC container - Accept "generic" as a valid kernel flavor on highbank - Add support for Calxeda ECX-2000 to the machine DB - Add generic-lpae to the XB-Subarchitecture list in debian/control - Update the Highbank entry in DB to use its device-tree model name - Fix the testsuite to work with the new DT model support and add a new test to specifically try to use a DT instead of cpuinfo. - And now fix the quoting error exposed by the fixed testsuite. - debian/flash-kernel-installer.isinstallable: add arm*/generic-lpae - Fix typo in dtb_kver test that made it break all non-dtb platforms. - Add support for EXYNOS5440-based platforms - Added support for HP ProLiant m800 Server Cartridge - Filter the selection of 'latest' usable kernel through the whitelist. - Do not fail if there are no specified Kernel-Flavors for this machine. - HP Moonshot Cartridges: Use $baudrate from u-boot environment as serial console speed - HP Moonshot Cartridges: Enable hardware flow control as required by the HP moonshot chassis - Enable U-Boot environment support for X-Gene platforms - Use filesystem agnostic "load" command instead of assuming ext4 - Add support for HP ProLiant m800 cartridges - Set required boot arguments for HP ProLiant m800 cartridges - Allow us to find DTBs in both the old flat layout and the new vendor subdirectory layout, so we keep backward compatibility - Wandboard: Use /dev/disk/by-path/platform-2198000.usdhc-part1 instead of the hardcoded mmcblk1p1, this should make things work on boards with just a single microSD card in. - make the package postinst respect FLASH_KERNEL_SKIP - Call systemd-detect-virt instead of the Ubuntu specific running-in-container wrapper. - Extend support for the RPi2 to actually install the kernel/initramfs on the fat partition, and provide a uboot boot script based on the one used for Snappy images. - Extend functions to support generating uboot.env images, as an alternative to boot.scr and uEnv.txt, and use this for RPi2 as well. - Adjust the uboot.env.rpi2 to use the one Paolo Pisati has tested, instead of trying to base on the Snappy one, which is failing to boot. - Adjust the size of uboot.env based on empirical results on the rpi2. . - dropped changes, merged in Debian: - make sure the call to abootimg -i does not make the script fail (checking non bootimg devices makes it return 1 even though there is no error, this in turn makes teh whole script fail since we run with "set -e") - determine the latest installer kernel version in the target rootfs instead of assuming the version is the same as the running kernel - flash-plugin-installer: make installable on armhf/generic for highbank - Also update XB-Subarchitecture to use "generic" instead of 'highbank" - Extending Android specific options to cover the Ubuntu Touch use cases (flashing to a specific device and support skipping initrd) - Enabling support for mako (Nexus 4) - Fix get_kfile_suffix() function to deal with flavours with dashes. - Apply patch from Paolo Pisati for appended DTB support - Add basic support for WandBoard Quad. - flash-kernel-installer: make installable on armhf/exynos5 - Add support for APM X-Gene - Add support for installing dtb files in boot partition; activate this for APM X-Gene boards - Add support for HP ProLiant m400 Server Cartridges - Update APM X-Gene config to match upstream device tree filename/model - Add a bootscript specific to X-Gene Mustang boards since they need to pull their dtb from the OS. - db/all.db: add dummy entries as noops when running on VMs - Add U-Boot environment configuration support - Cherry pick from Debian: Succeed but do nothing when run on an unknown machine which was booted via EFI. - Add support for the Raspberry Pi2; thanks to Paolo Pisati - Cherry-pick fixes from Debian to support copying kernel/initrd to destination. - Add Raspberry Pi 3 support - Add support for gzip-compressed kernel images - Adjust rpi2/3 dtb address from 0x100 to 0x02000000 - Add support for QCT APQ8064 CDP; thanks Alfonso Sanchez-Beato. - Check /proc/device-tree/model before /proc/cpuinfo . - dropped obsoleted changes: - add very very ugly temporary workaround to make quantal A3 arm server installs possible (yes, i suck) - re-add a diversion for update-initramfs to live-installers post-base-installer.d to avoid update-initramfs runs before flash-kernel is configured - re-add a check for the diverted update-initramfs to flash-kernel-installer, so it gets reverted before we try to call update-initramfs - drop teh super ugly hack that added a /var/lib/flash-kernel/configured file to actually check if flash-kernel is configured - sigh, not only drop the creation of /var/lib/flash-kernel/configured but also the check for its existance, else we will always exit 0 - make post-base-installer.d/01flash-kernel-diversion executable - flash-kernel-installer.postinst: now that we have a diversion in place there isnt a pre-existing initrd, instead of calling update-initramfs -u we better call update-initramfs -c -k all to create one from scratch - seemingly -k all doesnt want to work with -c, use -k $(uname -r) for now - enable generation of a /etc/default/flash-kernel file from flash-kernel-installer holding a UBOOT_DEFAULTS variable with distro default settings (ro quiet splash) - make /etc/default/flash-kernel a proper conffile - Added support for user defined uboot environment variables * Update tests with new fields: Android-Skip-Initrd, Bootloader-sets-root, DTB-Kernel-Version * Migrate default /etc/default/flash-kernel content to new default without asking via debconf * Look for dtbs in /lib/firmware/$kvers/device-tree/ in find_dtb_file() . [ Alex McWhirter ] * Support Raspberry Pi 2 Model B Rev 1.2 Checksums-Sha1: 5d25ba3545a3fd0cd504e56dfc3ea50601b1c103 26508 flash-kernel-installer_3.90ubuntu1_arm64.udeb 1d5e06474a5d12eed39ce5dd043934a07ccc2385 5497 flash-kernel_3.90ubuntu1_arm64.buildinfo 6ad6ceb453a826db6787943d51acbba17dd04c17 34184 flash-kernel_3.90ubuntu1_arm64.deb 86d1780021f0175e354b4d1d72992f425ed68d83 30661 flash-kernel_3.90ubuntu1_arm64_translations.tar.gz Checksums-Sha256: 515b49bd985e106105aa8b1f00ad56486985b68bde14941fdfad0a4f51cc4fa2 26508 flash-kernel-installer_3.90ubuntu1_arm64.udeb 7a199abf8c80ec466cb0a884de6018973214d6d8c9341d1cbb1d5f7430a0b6c6 5497 flash-kernel_3.90ubuntu1_arm64.buildinfo a33277bf7fc299de5d49f2c3d514f0cae7f2bbd45174e5f638252ebc58448bba 34184 flash-kernel_3.90ubuntu1_arm64.deb b9c0cd510273c51dbcb02d3ae61feca98c230bbcb3e4bcb47d200792ec95fb94 30661 flash-kernel_3.90ubuntu1_arm64_translations.tar.gz Files: 69b843d01eb6d8c7c37a88586d8ac9b6 26508 debian-installer standard flash-kernel-installer_3.90ubuntu1_arm64.udeb 2b97064ca904217b9a95c8d2386a2171 5497 utils optional flash-kernel_3.90ubuntu1_arm64.buildinfo c15e9ad938a4014de663738eeeef1548 34184 utils optional flash-kernel_3.90ubuntu1_arm64.deb 978229fca11a740def5f8ba4f635f03b 30661 raw-translations - flash-kernel_3.90ubuntu1_arm64_translations.tar.gz Original-Maintainer: Debian Install System Team