Skip to content
Snippets Groups Projects
  1. Nov 30, 2022
    • Dzmitry's avatar
      starqltechn: automate dualbooting with u-boot · 5bae886b
      Dzmitry authored
      Dual boot PostmarketOS and Android with u-boot! It works by placing an additional u-boot FIT image,
      and a script into overridden initramfs. Mentioned script is used to find and select image to boot.
      User should enable dual-boot explicitly by enabling commented deviceinfo options,
      and placing vendor boot image into device /boot directory, running 'pmbootstrap init' and
      specifying vendor boot image location, if building locally.
      
      deviceinfo_bootimg_override_initramfs:
      - add android_boot_image.itb - u-boot FIT image assembled,
      using extracted kernel and ramdisk from vendor image.
      - add find_image_and_boot.itb - u-boot FIT image with a script
      to find and boot needed image.
      
      Set couple new options:
      - deviceinfo_bootimg_override_header_info_using_vendor_image="true"
      This overrides boot image header values, written in deviceinfo, by
      extracted values from vendor image. This mainly needed to trick trustzone.
      
      - deviceinfo_bootimg_vendor_android_boot_image="vendor_boot.img"
      We're counting on vendor image to be on device's /boot directory in a file
      with that name.
      
      - deviceinfo_bootimg_vendor_device_tree_identifiers="qcom,msm-id\s*=\s*<0x141\s*0x20001>; qcom,board-id\s*=\s*<0x08\s*0x0e>;"
      Identifiers to find a dtb, used by stock bootloader in vendor's boot image file.
      5bae886b
    • Oliver Smith's avatar
      temp/arm-trusted-firmware: fix build on gcc 12 (MR 3681) · 3802b2cd
      Oliver Smith authored
      Apply the same fix as in Alpine:
      https://gitlab.alpinelinux.org/alpine/aports/-/commit/769f9666b663ba06dca63ddbff6eb1af458355f3
      
      [ci:skip-build]: already built successfully in CI
      Unverified
      3802b2cd
  2. Nov 29, 2022
  3. Nov 28, 2022
  4. Nov 27, 2022
  5. Nov 26, 2022
  6. Nov 23, 2022
  7. Nov 22, 2022
  8. Nov 21, 2022
  9. Nov 20, 2022
Loading