Skip to content

main/linux-postmarketos-qcom: update to kernel v5.2

Administrator requested to merge qcom-5.2-kernel into master

Update to the 5.2 kernel plus my patches for the Nexus 5 display that will also work for other msm8974-based systems: https://github.com/masneyb/linux/commits/v5.2-nexus5-display. There's currently 24 extra patches on top of 5.2:

  • The first 9 patches after the 5.2 commit are currently in 5.3rc1 and were back ported to 5.2. All of these patches have 'Commit XXX upstream.' messages in the commit message.
  • The next 9 patches are for ocmem support and some msm display fixes. I expect that these will be merged upstream for 5.4rc1.
  • The remaining 6 patches are still not suitable to send upstream.

Note: I was not able to test this kernel package, however I have tested the kernel itself with my local kernel build script. When I run pmbootstrap.py install --no-fde, I see the following error:

(012674) [22:20:43] (rootfs_lg-hammerhead) % apk --no-progress add -u --virtual .pmbootstrap mkinitfs /mnt/pmbootstrap-packages/armv7/device-lg-hammerhead-2-r5.apk /mnt/pmbootstrap-packages/armv7/device-lg-hammerhead-nonfree-firmware-2-r5.apk mesa libxv libxvmc
(1/136) Purging kbd-openrc (2.0.4-r3)
(2/136) Installing libxv (1.0.11-r2)
(3/136) Installing libxvmc (1.0.11-r0)
(4/136) Installing mesa (9999-r7)
ERROR: mesa-9999-r7: trying to overwrite usr/share/drirc.d/00-mesa-defaults.conf owned by mesa-freedreno-19.1.0_git20190620-r8.
(5/136) Upgrading .pmbootstrap (20190721.021909 -> 20190721.022044)
(6/136) Purging bc (1.07.1-r1)
(7/136) Purging bind-tools (9.14.1-r1)
(8/136) Purging bison (3.3.2-r0)
(9/136) Purging bluez-btmon (5.50-r3)
(10/136) Purging bluez-deprecated (5.50-r3)
(11/136) Purging coreutils (8.31-r0)
Executing coreutils-8.31-r0.post-deinstall
(12/136) Purging curl (7.65.1-r0)
(13/136) Purging dtc (1.5.0-r0)
(14/136) Purging flex (2.6.4-r2)
(15/136) Purging gcc (8.3.0-r0)
(16/136) Purging i2c-tools (4.1-r0)
(17/136) Purging kbd (2.0.4-r3)
(18/136) Purging kmscube (0_git20181211-r0)
(19/136) Purging linux-firmware (20190322-r1)
(20/136) Purging make (4.2.1-r2)
(21/136) Purging musl-dev (1.1.23-r0)
(22/136) Purging ncurses-dev (6.1_p20190518-r0)
(23/136) Purging openssl-dev (1.1.1c-r0)
(24/136) Purging pm-utils (1.4.1-r1)
(25/136) Purging strace (4.26-r0)
(26/136) Purging terminus-font (4.47-r0)
(27/136) Purging wireless-tools (30_pre9-r1)
(28/136) Purging mesa-freedreno (19.1.0_git20190620-r8)
(29/136) Purging mesa-freedreno-dri-freedreno (19.1.0_git20190620-r8)
(30/136) Purging bind-libs (9.14.1-r1)
(31/136) Purging krb5-libs (1.17-r0)
(32/136) Purging protobuf-c (1.3.2-r0)
(33/136) Purging m4 (1.4.18-r1)
(34/136) Purging libacl (2.2.52-r6)
(35/136) Purging libattr (2.4.48-r0)
(36/136) Purging binutils (2.32-r0)
(37/136) Purging isl (0.18-r0)
(38/136) Purging libgomp (8.3.0-r0)
(39/136) Purging libatomic (8.3.0-r0)
(40/136) Purging mpc1 (1.1.0-r0)
(41/136) Purging mpfr3 (3.1.5-r1)
(42/136) Purging kbd-misc (2.0.4-r3)
(43/136) Purging mesa-egl (9999-r7)
(44/136) Purging mesa-gles (9999-r7)
(45/136) Purging mesa-gbm (9999-r7)
(46/136) Purging linux-firmware-yamaha (20190322-r1)
(47/136) Purging linux-firmware-yam (20190322-r1)
(48/136) Purging linux-firmware-vxge (20190322-r1)
(49/136) Purging linux-firmware-vicam (20190322-r1)
(50/136) Purging linux-firmware-ueagle-atm (20190322-r1)
(51/136) Purging linux-firmware-ttusb-budget (20190322-r1)
(52/136) Purging linux-firmware-tigon (20190322-r1)
(53/136) Purging linux-firmware-ti-keystone (20190322-r1)
(54/136) Purging linux-firmware-ti-connectivity (20190322-r1)
(55/136) Purging linux-firmware-tehuti (20190322-r1)
(56/136) Purging linux-firmware-sxg (20190322-r1)
(57/136) Purging linux-firmware-sun (20190322-r1)
(58/136) Purging linux-firmware-slicoss (20190322-r1)
(59/136) Purging linux-firmware-sb16 (20190322-r1)
(60/136) Purging linux-firmware-rtw88 (20190322-r1)
(61/136) Purging linux-firmware-rtlwifi (20190322-r1)
(62/136) Purging linux-firmware-rtl_nic (20190322-r1)
(63/136) Purging linux-firmware-rtl_bt (20190322-r1)
(64/136) Purging linux-firmware-rtl8192e (20190322-r1)
(65/136) Purging linux-firmware-rsi (20190322-r1)
(66/136) Purging linux-firmware-rockchip (20190322-r1)
(67/136) Purging linux-firmware-radeon (20190322-r1)
(68/136) Purging linux-firmware-r128 (20190322-r1)
(69/136) Purging linux-firmware-qlogic (20190322-r1)
(70/136) Purging linux-firmware-qed (20190322-r1)
(71/136) Purging linux-firmware-qca (20190322-r1)
(72/136) Purging linux-firmware-ositech (20190322-r1)
(73/136) Purging linux-firmware-nvidia (20190322-r1)
(74/136) Purging linux-firmware-netronome (20190322-r1)
(75/136) Purging linux-firmware-myricom (20190322-r1)
(76/136) Purging linux-firmware-mwlwifi (20190322-r1)
(77/136) Purging linux-firmware-mwl8k (20190322-r1)
(78/136) Purging linux-firmware-mrvl (20190322-r1)
(79/136) Purging linux-firmware-moxa (20190322-r1)
(80/136) Purging linux-firmware-microchip (20190322-r1)
(81/136) Purging linux-firmware-mellanox (20190322-r1)
(82/136) Purging linux-firmware-mediatek (20190322-r1)
(83/136) Purging linux-firmware-matrox (20190322-r1)
(84/136) Purging linux-firmware-liquidio (20190322-r1)
(85/136) Purging linux-firmware-libertas (20190322-r1)
(86/136) Purging linux-firmware-korg (20190322-r1)
(87/136) Purging linux-firmware-keyspan_pda (20190322-r1)
(88/136) Purging linux-firmware-keyspan (20190322-r1)
(89/136) Purging linux-firmware-kaweth (20190322-r1)
(90/136) Purging linux-firmware-isci (20190322-r1)
(91/136) Purging linux-firmware-intel (20190322-r1)
(92/136) Purging linux-firmware-imx (20190322-r1)
(93/136) Purging linux-firmware-i915 (20190322-r1)
(94/136) Purging linux-firmware-go7007 (20190322-r1)
(95/136) Purging linux-firmware-ess (20190322-r1)
(96/136) Purging linux-firmware-ene-ub6250 (20190322-r1)
(97/136) Purging linux-firmware-emi62 (20190322-r1)
(98/136) Purging linux-firmware-emi26 (20190322-r1)
(99/136) Purging linux-firmware-edgeport (20190322-r1)
(100/136) Purging linux-firmware-e100 (20190322-r1)
(101/136) Purging linux-firmware-dsp56k (20190322-r1)
(102/136) Purging linux-firmware-dpaa2 (20190322-r1)
(103/136) Purging linux-firmware-dabusb (20190322-r1)
(104/136) Purging linux-firmware-cxgb4 (20190322-r1)
(105/136) Purging linux-firmware-cxgb3 (20190322-r1)
(106/136) Purging linux-firmware-cpia2 (20190322-r1)
(107/136) Purging linux-firmware-cis (20190322-r1)
(108/136) Purging linux-firmware-cavium (20190322-r1)
(109/136) Purging linux-firmware-cadence (20190322-r1)
(110/136) Purging linux-firmware-bnx2x (20190322-r1)
(111/136) Purging linux-firmware-bnx2 (20190322-r1)
(112/136) Purging linux-firmware-av7110 (20190322-r1)
(113/136) Purging linux-firmware-atusb (20190322-r1)
(114/136) Purging linux-firmware-atmel (20190322-r1)
(115/136) Purging linux-firmware-ath9k_htc (20190322-r1)
(116/136) Purging linux-firmware-ath6k (20190322-r1)
(117/136) Purging linux-firmware-ath10k (20190322-r1)
(118/136) Purging linux-firmware-ar3k (20190322-r1)
(119/136) Purging linux-firmware-amdgpu (20190322-r1)
(120/136) Purging linux-firmware-amd-ucode (20190322-r1)
(121/136) Purging linux-firmware-amd (20190322-r1)
(122/136) Purging linux-firmware-advansys (20190322-r1)
(123/136) Purging linux-firmware-adaptec (20190322-r1)
(124/136) Purging linux-firmware-acenic (20190322-r1)
(125/136) Purging linux-firmware-3com (20190322-r1)
(126/136) Purging linux-firmware-other (20190322-r1)
(127/136) Purging pkgconf (1.6.1-r1)
(128/136) Purging fstrm (0.5.0-r0)
(129/136) Purging libxml2 (2.9.9-r2)
(130/136) Purging krb5-conf (1.0-r1)
(131/136) Purging keyutils-libs (1.6-r1)
(132/136) Purging libverto (0.3.1-r0)
(133/136) Purging protobuf (3.8.0-r0)
(134/136) Purging wayland-libs-client (1.17.0-r0)
(135/136) Purging wayland-libs-server (1.17.0-r0)
(136/136) Purging gmp (6.1.2-r1)
Executing busybox-1.30.1-r2.trigger
Executing fontconfig-2.13.1-r1.trigger
Executing mkfontscale-1.2.1-r1.trigger
1 error; 343 MiB in 184 packages
(012674) [22:20:47] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
(012674) [22:20:47] NOTE: The failed command's output is above the ^^^ line in the log file: /home/masneyb/.local/var/pmbootstrap/log.txt
(012674) [22:20:47] ERROR: Command failed: (rootfs_lg-hammerhead) % apk --no-progress add -u --virtual .pmbootstrap mkinitfs /mnt/pmbootstrap-packages/armv7/device-lg-hammerhead-2-r5.apk /mnt/pmbootstrap-packages/armv7/device-lg-hammerhead-nonfree-firmware-2-r5.apk mesa libxv libxvmc
(012674) [22:20:47] See also: <https://postmarketos.org/troubleshooting>
(012674) [22:20:47] Traceback (most recent call last):
  File "/home/masneyb/data/pmbootstrap/pmb/__init__.py", line 63, in main
    getattr(frontend, args.action)(args)
  File "/home/masneyb/data/pmbootstrap/pmb/helpers/frontend.py", line 195, in install
    pmb.install.install(args)
  File "/home/masneyb/data/pmbootstrap/pmb/install/_install.py", line 484, in install
    pmb.chroot.apk.upgrade(args, suffix)
  File "/home/masneyb/data/pmbootstrap/pmb/chroot/apk.py", line 247, in upgrade
    install(args, packages, suffix)
  File "/home/masneyb/data/pmbootstrap/pmb/chroot/apk.py", line 234, in install
    pmb.chroot.root(args, ["apk", "--no-progress"] + command, suffix)
  File "/home/masneyb/data/pmbootstrap/pmb/chroot/root.py", line 91, in root
    output_return, check, kill_as_root)
  File "/home/masneyb/data/pmbootstrap/pmb/helpers/run_core.py", line 301, in core
    raise RuntimeError("Command failed: " + log_message)
RuntimeError: Command failed: (rootfs_lg-hammerhead) % apk --no-progress add -u --virtual .pmbootstrap mkinitfs /mnt/pmbootstrap-packages/armv7/device-lg-hammerhead-2-r5.apk /mnt/pmbootstrap-packages/armv7/device-lg-hammerhead-nonfree-firmware-2-r5.apk mesa libxv libxvmc

I have the latest pmaports and pmboostrap and made sure to zap everything.

Merge request reports

Loading