1. 30 Jun, 2019 1 commit
  2. 02 Jun, 2019 1 commit
    • Luca Weiss's avatar
      mkinitfs: Introduce deviceinfo_append_dtb variable (!387) · 693079ab
      Luca Weiss authored
      We don't need to append the dtb to the kernel image in all cases, with
      e.g. the u-boot bootloader we can load the dtb seperately from the
      kernel image. Introduce a new variable deviceinfo_append_dtb, if set to
      "true", append the dtb, otherwise just copy the dtb file to the boot
      Fixes #260
  3. 23 May, 2019 1 commit
    • Martijn Braam's avatar
      main: linux-postmarketos-allwinner: PinePhone updates · d72923dc
      Martijn Braam authored
      - main: postmarketos-mkinitfs: Add /run
        Create the /run directory in the initramfs so that cryptsetup doesn't
        crash on not being able to create /run/cryptsetup for lockfiles
      - device: pine-dontbeevil: Remove workaround for touchscreen
      - main: linux-postmarketos-allwinner: Implemented supplies for touchscreen
        This uses a slightly newer commit from the kernel repo that implements
        requesting a regulator in the touchscreen driver
      - device: pine-dontbeevil: Remove ethernet from initramfs
        This actually makes debugging more complicated since networkmanager wont
        touch the ethernet adapter afterwards and the initramfs can be debugged
        over uart
      - temp/u-boot: sync APKBUILD with upstream and update to 2019.04
      - main: linux-postmarketos-allwinner: Use 20190521 git version
  4. 30 Apr, 2019 1 commit
    • Martin Piatka's avatar
      postmarketos-mkinitfs: Support initramfs compressions other than gzip (!334) · 8caa3706
      Martin Piatka authored
      The postmarketos initramfs is larger than android initramfs. This causes
      problems on some devices like htc-ace that have a very small boot
      partition (4MB in htc-ace). I've been able to make the boot image small
      enough to fit by compressing initramfs using lzma.
      With this change it should be possible to change the compression in
      deviceinfo like this: deviceinfo_initfs_compression='lzma'
      or even deviceinfo_initfs_compression='lzma -9'. When no option is
      specified it defaults to 'gzip -1'.
      I've also added dependencies to compression utilities for all possible
      initramfs compression algorithms.
  5. 27 Feb, 2019 1 commit
    • Zhuowei Zhang's avatar
      main/postmarketos-mkinitfs: support verbose boot (!234) · 7df2c934
      Zhuowei Zhang authored
      Adds a new initfs hook, verbose-initfs, which doesn't do anything on its
      own. Modify postmarketos-mkinitfs to check if this hook is installed and
      if so run `set -x`.
      It's done this way so verbose boot is enabled as early as possible,
      before hooks are loaded.
      Tested on the qemu-aarch64 device.
      - pmboostrap initfs hook_add verbose-initfs
      - pmbootstrap qemu --arch aarch64
      - confirmed that commands are echoed to the console
  6. 05 Feb, 2019 1 commit
  7. 28 Jan, 2019 1 commit
  8. 26 Dec, 2018 1 commit
  9. 27 Nov, 2018 3 commits
  10. 16 Sep, 2018 1 commit
    • Martijn Braam's avatar
      * Added device package for the pine-a64lts · fb23669e
      Martijn Braam authored
      * Added linux-postmarketos-allwinner kernel
      * Added copy of alpines u-boot package with pine-a64lts support
      * Changed postmarketos-mkinitfs to add the plain .dtb file to the boot partition
  11. 14 Aug, 2018 1 commit
  12. 29 Jul, 2018 1 commit
  13. 28 Jul, 2018 1 commit
  14. 15 Jul, 2018 1 commit
    • Oliver Smith's avatar
      s/system partition/rootfs: fix remaining mentions · 3d6da2e4
      Oliver Smith authored
      Follow-up to !1373, where `pmbootstrap flasher flash_system` was
      replaced with `pmbootstrap flasher flash_rootfs`. We still had used
      terms like "system partition" in a lot of places.
      This commit replaces it everywhere, so it's clear that we're talking
      about the pmOS rootfs (which may or may not be installed to Android's
      system partition).
  15. 30 Jun, 2018 1 commit
  16. 21 Jun, 2018 1 commit
  17. 17 Jun, 2018 1 commit
    • Oliver Smith's avatar
      Fix conflict with mkbootimg and android-tools (#1557) · 0921c2ea
      Oliver Smith authored
      Alpine ships `mkbootimg` with the `android-tools` package now. This
      conflicts with the `mkbootimg` fork from osm0sis (see #441).
      * Rename `mkbootimg` to `mkbootimg-osm0sis` (aport and binary name)
      * `mkbootimg-osm0sis`: provides `mkbootimg` now (so we don't need to
        change all the device aports), update version to 2018.05.10
      * Adjust our `mkinitfs` script to call `mkbootimg-osm0sis`
      * Better aport description
      * pkgrel_bump testcase: don't fail on deleted aport
  18. 01 Jun, 2018 1 commit
  19. 24 Apr, 2018 1 commit
    • Oliver Smith's avatar
      msm-fb-refresher: use initfs hook (#1438) · f5d5a9be
      Oliver Smith authored
      The `msm-fb-refresher` updates the screen for msm based devices. It is
      not needed for all devices, so we had some extra code in the initramfs,
      that would only add it when the `deviceinfo_msm_refresher` variable was
      set. However, we are able now to add files to initramfs hooks, so this
      hack can be removed and simplify everything.
      * Remove `deviceinfo_msm_refresher` from all deviceinfos
      * Add sanity check for it
      * Move all `deviceinfo` sanity checks to an extra function
      * `postmarketos-mkinitfs`: remove code for msm refresher
      * `msm-fb-refresher`: add initramfs hook
  20. 03 Apr, 2018 1 commit
    • Oliver Smith's avatar
      pmbootstrap init: kernel selection / remove linux-pmos-lts (#1363) · 63f921fb
      Oliver Smith authored
      * As discussed in IRC/matrix, we're removing `linux-postmarketos-lts`
        for now. The kernel isn't used right now, and we save lots of
        maintenance effort with not updating it every week or so.
      * new config option `"kernel"` with possible values:
        `"downstream", "mainline", "stable"` (downstream is always
      * ask for the kernel during `pmbootstrap init` if the device package
        has kernel subpackages and install it in `_install.py`
      * postmarketos-mkinitfs: display note instead of exit with error when
        the `deviceinfo_dtb` file is missing (because we expect it to be
        missing for downstream kernels)
      * device-sony-amami:
        * add kernel subpackages for downstream, mainline
        * set `deviceinfo_dtb`
      * device-qemu-amd64: add kernel subpackages for stable, lts, mainline
      * test cases and test data for new functions
      * test case that checks all aports for right usage of the feature:
        * don't mix specifying kernels in depends *and* subpackages
        * 1 kernel in depends is maximum
        * kernel subpackages must have a valid name
        * Test if devices packages reference at least one kernel
      * Remove `_build_device_depends_note()` which informs the user that
        `--ignore-depends` can be used with device packages to avoid building
        the kernel. The idea was to make the transition easier after a change
        we did months ago, and now the kernel doesn't always get built before
        building the device package so it's not relevant anymore.
      * pmb/chroot/other.py:
        * Add autoinstall=True to kernel_flavors_installed(). When the flag
          is set, the function makes sure that at least one kernel for the
          device is installed.
        * Remove kernel_flavor_autodetect() function, wherever it was used,
          it has been replaced with kernel_flavors_installed()[0].
      * pmb.helpers.frontend.py: remove code to install at least one kernel,
        kernel_flavors_installed() takes care of that now.
  21. 26 Mar, 2018 1 commit
  22. 05 Mar, 2018 1 commit
    • Daniele Debernardi's avatar
      Implement charging mode (#1285) · f614c9df
      Daniele Debernardi authored
      * Add charging-sdl package
      * Include charging-sdl into the initramfs-extra
      * [initramfs] Detect charging mode and use triggerhappy to start
      charging-sdl when the power key is pressed
  23. 26 Feb, 2018 2 commits
  24. 31 Jan, 2018 1 commit
    • Oliver Smith's avatar
      mkinitfs: Fail on missing depends / better usability in general (#1133) · 6d1af1b8
      Oliver Smith authored
      * Fail if mkbootimg/uboot-tools are not installed, but creating a
        boot.img file / u-boot legacy image was requested via deviceinfo
        (fixes #312)
      * Fail if /boot/dt.img is missing, but we have a qcdt device
      * Fail if the dtb file specified in deviceinfo does not exist
      * Fail if mkbootimg etc. exit with error code
      * Don't try to add the ext4 module into the initramfs. We always
        compile it into the kernel. Instead, kconfig_check makes sure it
        is enabled now. (fixes #1037)
      * Add a note that modprobe warnings can be ignored mostly
  25. 13 Jan, 2018 1 commit
    • rrooij's avatar
      deviceinfo: add blobtools options (#1118) · bf0a5f0a
      rrooij authored
      Add a blobtools option to the deviceinfo file for creating specific
      blobs for the Asus TF101 tablet. This will make it easier to flash
      afterwards with ADB.
  26. 03 Jan, 2018 1 commit
  27. 29 Dec, 2017 1 commit
  28. 23 Dec, 2017 1 commit
    • Daniele Debernardi's avatar
      Feature debug-shell (#1028) · 0c63ff04
      Daniele Debernardi authored
      * Changed usb-shell behavior, it wait for some user action before continue booting
      * Rename usb-shell to debug-shell and changed port to 23
      * Add `20-debug-shell.sh` script to static code analysis
      * Enable eth0 interface in initramfs (qemu)
      * Add additional script to run a shell in order to be able to kill it from a telnet session
  29. 19 Nov, 2017 1 commit
  30. 04 Nov, 2017 1 commit
  31. 22 Oct, 2017 1 commit
  32. 20 Oct, 2017 1 commit
  33. 14 Oct, 2017 1 commit
  34. 04 Oct, 2017 1 commit
    • Martijn Braam's avatar
      Removed a lot of hardcoded modules in mkinitramfs (#691) · a3375bb0
      Martijn Braam authored
      This removes a few globs from the mkinitramfs module copy part. This is an issue
      in linux-postmarketos since it will copy gpu drivers for all possible hardware to the
      This should be done in the deviceinfo variables for the modules instead and is
      already done for the current devices that use module loading. This changes the
      initramfs (uncompressed) from 16 MB to 11 MB just because the qemu graphics
      drivers aren't included.
  35. 02 Oct, 2017 1 commit
  36. 30 Sep, 2017 1 commit
  37. 29 Sep, 2017 1 commit