Format: 1.8 Date: Fri, 26 Jan 2018 22:05:44 +0100 Source: flash-kernel Binary: flash-kernel flash-kernel-installer Architecture: armhf armhf_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: dcf0755aac0deacee5ff2dec61bbc5af3d1f28f7 26504 flash-kernel-installer_3.90ubuntu1_armhf.udeb a30255a9558bcf7d1082745dada73a979773c3dd 5443 flash-kernel_3.90ubuntu1_armhf.buildinfo c89dbb1045fbfc470cd846db61945a8329031d88 36352 flash-kernel_3.90ubuntu1_armhf.deb 82e4e0f4df79bd92996acf7a0d8f552e01e66d4b 30669 flash-kernel_3.90ubuntu1_armhf_translations.tar.gz Checksums-Sha256: 4a9ad11583f1492d669ff59ab43a1dda05813889e6dac44de285223be4a36b89 26504 flash-kernel-installer_3.90ubuntu1_armhf.udeb 8b30eebd0b48289aed5283aa5431efc68dc9c6589a835cdb8fbbdac54ec64f65 5443 flash-kernel_3.90ubuntu1_armhf.buildinfo 72f9cd44170ae2ee1b5aab5f96377c8a07e2989e26aa5987000c6e5f733632d0 36352 flash-kernel_3.90ubuntu1_armhf.deb f570e4a7f70bd362c7889d284aa46ad935921b6a7ea42eae3cab7fbf37dfc4c5 30669 flash-kernel_3.90ubuntu1_armhf_translations.tar.gz Files: 2cd36485d839472c92d1a1489e522039 26504 debian-installer standard flash-kernel-installer_3.90ubuntu1_armhf.udeb 4ace6158f87fd43b1658a568b138aad1 5443 utils optional flash-kernel_3.90ubuntu1_armhf.buildinfo e62f533b22b57278ccce107ec7bc4742 36352 utils optional flash-kernel_3.90ubuntu1_armhf.deb c80d4e473c6d91cb52a98bd9ec5e5200 30669 raw-translations - flash-kernel_3.90ubuntu1_armhf_translations.tar.gz Original-Maintainer: Debian Install System Team