Some partitions are sparse (DATAFS, FACTORYFS), but the largest
partition, UMS, needs to be non-sparse. DATAFS partition also expects
some special images with a magic header (or something), simply trying
to flash a sparse or non-sparse image to it gives an error from device
bootloader:
```
[ ... ]
erase completed(from 73728 to 90111).
.
mmc_pwrite: partition[6] written successfully.
...set_nps_update_start: set nps start flag successfully.
process_packet: id=102, data=0
process_packet: id=102, data=2
process_packet: id=102, data=3
pda completed: id=11, size=31457280, final=0
Invalid Magic Code! 0x 0
[ ... ]
```
Therefore set UMS as default rootfs partition and create non-sparse
images.
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8877>
Changes since v6.12.63 are:
* Rebase on top of 6.18.33
* Sync manta with mainline (@lat3st, @alexmrqt)
* Add bluetooth support to manta (@lat3st, @alexmrqt)
* Fix manta magnetometer with mainline dts (@alexmrqt)
* Fix hang on suspend/display off on galaxy pros (@eisenbahnfan)
* Add support for max77888 and use it on galaxy pros (@eisenbahnfan)
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8634>
Notable changes are that we switch to zstd module compression, and
enable MODULE_DECOMPRESS=y to let kernel handle decompression, as
busybox modprobe cannot handle zstd.
Also switch non /boot filesystem types to modules, and disable
MODULE_FORCE_UNLOAD as it is not really a good idea for non-testing
devices.
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7921>
If $modules is empty, then `modprobe -a` is run which gives an error
with full modprobe (i.e. not busybox variant):
[pmOS-rd]: modprobe: ERROR: missing parameters. See -h.
Add a check and return early to avoid potentially printing the error
to users.
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7916>
Changes are roughly:
- Rebase on-top of 6.12.63
- Disable not-needed ARM_ERRATA_643719
- Set ARM_ERRATA_798181=y and ARM_ERRATA_814220=y
- Modify config to make kernel and initramfs smaller:
- Change some option to modules
- Unset debug options, instead move them to new kernel fragment
exynos_debug.config
- Make all filesystems in initramfs built-in
- Compress modules with xz
- Also change some options to make pmbootstrap kconfig check happy
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7663>
Changes are roughly:
- Rebase on-top of 6.12.62
- Add isa1200 driver (from exynos4), and use it on manta (@lat3st)
- Add camera flash for manta (@lat3st)
- Improve manta audio driver to decrease CPU load (@alexmrqt)
- Fix wacom w9000 pen being always active unless inserted (@eisenbahnfan)
- Drop a pm_domain hack, and instead make exynos5 subcmu driver wait
for pm_domain to probe first (@eisenbahnfan)
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7582>
Notable changes since 6.12.36 are roughly:
- Add support for n1awifi (@Eisenbahnfan)
- Add more features for n2a and v1a (@Eisenbahnfan)
- Fix wacom w9000 pen always being active until re-inserted (@Eisenbahnfan)
- Change ARM_EXYNOS_BUS_DEVFREQ to module (@Eisenbahnfan)
- Add sound support, and other improvements, for manta (@Alexmrqt)
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7207>
Some notable changes are:
- Add qcom mdm9x15 modem dts nodes for midas (@jack_kekzoz)
- Add hack with possibility to power cycle ehci usb controller
- Split p4note into wifi and lte variants (@viciouss)
- Add Imagis ISA1200 haptic driver (@viciouss)
- Drop custom initramfs from kernel. Was only needed by 4210 and
they can use u-boot now.
- Add wacom9000 stylus driver (by @eisenbahnfan, taken from exynos5 kernel)
- .. and some general cleanup to make dtbs_check happy
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7152>
Some notable changes since 6.10.1 are:
- Add support for konawifi (@jack_kekzoz)
- Drop initramfs that we carried in kernel (only exynos4210 devices
needed it, and those can now use u-boot)
- Update config to make kernel a bit smaller (disable some options,
make others modules), and enable options to make pmbootstrap kconfig
happy
- Add ctx->panel.prepare_prev_first to ea8061 panel driver, to fix
issue where panel is all black
Co-developed-by: @knuxify <knuxify@gmail.com>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6921>
The close-to-mainline u-boot fork can then load linux from boot
partition.
One downside is that it will no longer be possible to flash through
pmbootstrap, since there is no support for flashing arbritrary targets
to arbritrary partitions with pmbootstrap, yet.
Therefore, users will need to manually flash
/usr/share/u-boot/trats/u-boot.bin to the KERNEL partition for i9100
to work after these changes.
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6921>
The downstream port of i9100 does not use u-boot-samsung-i9100, so it
is essentially dead code. Furthermore, this u-boot is ancient, based
on 2012.04-rc1, with backported patches to get ext4 support. It is
hence not really suitable for use with postmarketos.
[ci:skip-build]: build fails.
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6847
screen_width and screen_height are only needed for
dev_touchscreen_calibration calculation. We do not need to set
dev_touchscreen_calibration though, as we already ship a custom
90-sec_touchscreen.rules file with the same calibration.
Suggested-by: @sicelo
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6745
Tested on odroid-xu4 and samsung-n2awifi.
Changes include:
- Add driver for Wacom W9000-series touchscreen pens (@Eisenbahnfan)
- Fixes and enhancements for the Galaxy Tab Pros, {n2a,v1a}wifi (@Eisenbahnfan):
- penabled touchscreen on V1A WiFi
- DVFS for memory
- fix sensors sometimes not starting on V1A WiFi
- fix display lags due to frequency changes
- fix cpus stuck on low frequency level
- Re-implement support for allocating a non-coherent DMA region (@Eisenbahnfan)
- Add driver for the AMS as3668 led, and enable it on manta (@LaT3St)
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6756
[ci:skip-build]: already built successfully in CI
Hopefully these can be merged in the repo we track, but let's add them
to pmaports in the meanwhile.
Fixes issue where allocated, but non-set memory is used, which gives
unpredictable behaviour.
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6746
[ci:skip-build]: already built successfully in CI
It lets us move the variables in cmdline.txt to
deviceinfo_kernel_cmdline. We can thereafter drop the cmdline.txt file
entirely.
By setting deviceinfo_generate_cmdline_txt we tell boot-deploy to
generate /boot/cmdline.txt from deviceinfo_kernel_cmdline. boot-deploy
can then also add information about partition UUIDs to the cmdline,
which helps postmarketos-initramfs find the correct partitions.
Fixes: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/issues/3716
Part-of: https://gitlab.postmarketos.org/postmarketos/pmaports/-/merge_requests/6630
[ci:skip-build]: already built successfully in CI
It lets us move the variables in cmdline.txt to
deviceinfo_kernel_cmdline. We can thereafter drop the cmdline.txt file
entirely.
By setting deviceinfo_generate_cmdline_txt we tell boot-deploy to
generate /boot/cmdline.txt from deviceinfo_kernel_cmdline. boot-deploy
can then also add information about partition UUIDs to the cmdline,
which helps postmarketos-initramfs find the correct partitions.
Part-of: https://gitlab.postmarketos.org/postmarketos/pmaports/-/merge_requests/6630
It lets us move the variables in cmdline.txt to
deviceinfo_kernel_cmdline. We can thereafter drop the cmdline.txt file
entirely.
By setting deviceinfo_generate_cmdline_txt we tell boot-deploy to
generate /boot/cmdline.txt from deviceinfo_kernel_cmdline. boot-deploy
can then also add information about partition UUIDs to the cmdline,
which helps postmarketos-initramfs find the correct partitions.
Part-of: https://gitlab.postmarketos.org/postmarketos/pmaports/-/merge_requests/6630
It lets us move the variables in cmdline.txt to
deviceinfo_kernel_cmdline. We can thereafter drop the cmdline.txt file
entirely.
By setting deviceinfo_generate_cmdline_txt we tell boot-deploy to
generate /boot/cmdline.txt from deviceinfo_kernel_cmdline. boot-deploy
can then also add information about partition UUIDs to the cmdline,
which helps postmarketos-initramfs find the correct partitions.
Part-of: https://gitlab.postmarketos.org/postmarketos/pmaports/-/merge_requests/6630
It lets us move the variables in cmdline.txt to
deviceinfo_kernel_cmdline. We can thereafter drop the cmdline.txt file
entirely.
By setting deviceinfo_generate_cmdline_txt we tell boot-deploy to
generate /boot/cmdline.txt from deviceinfo_kernel_cmdline. boot-deploy
can then also add information about partition UUIDs to the cmdline,
which helps postmarketos-initramfs find the correct partitions.
Part-of: https://gitlab.postmarketos.org/postmarketos/pmaports/-/merge_requests/6630
It lets us move the variables in cmdline.txt to
deviceinfo_kernel_cmdline. We can thereafter drop the cmdline.txt file
entirely.
By setting deviceinfo_generate_cmdline_txt we tell boot-deploy to
generate /boot/cmdline.txt from deviceinfo_kernel_cmdline. boot-deploy
can then also add information about partition UUIDs to the cmdline,
which helps postmarketos-initramfs find the correct partitions.
Part-of: https://gitlab.postmarketos.org/postmarketos/pmaports/-/merge_requests/6630
PostmarketOS now uses ncm instead of rndis, so update script accordingly.
Unfortunately usb networking does not work even after this change when
I test on dream2lte, so this needs further debugging.
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6706
[ci:skip-build]: already built successfully in CI
If a custom bl1 is used on sdcard, then it should be embedded at
0x200 (512). If a GPT filesystem is used, then the GPT header uses
roughly the first 0x500 bytes, and hence bl1 overwrites part of the
GPT header in that configuration.
Change to msdos partition type so that the filesystem works fine
whether or not we use stock bl1 or custom one.
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6442
This will be the last 6.6.x update, next update will be based on the
6.12 lts.
* Support for exynos5420-samsung-v1awifi is added thanks to
@Eisenbahnfan
* Several: fixes for usb and charging for Exynos 5250
devices (manta in particular) has been added thanks to @Alexmrqt
Tested on exynos5250-google-snow, exnyos5420-samsung-klimtlte and
exynos5422-odroid-xu4.
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6432
[ci:skip-build]: already built successfully in CI
It is needed by udev, which is in initfs-extra. If libkmod and its
dependencies are put in the first initfs then the boot.img size
increases by roughly 2 MB, which is a problem for devices with small
boot partitions.
Fixes: postmarketOS/pmaports#3510
[ci:skip-build]: already built successfully in CI (riscv64 failed
because of know qemu CI issue)
Two main changes apart from rebase and config sync:
- Fix broken usb networking by making CONFIG_USB_CDC_COMPOSITE
builtin (by @eisenbahnfan)
- Add mainline support for exynos5420-n2awifi (by @eisenbahnfan)
[ci:skip-build]: already built successfully in CI
To make boot.img smaller. With changes in postmarketos/pmaports#5544
we get a boot.img larger than the boot partition (8 MB). With these
changes we are down to around 7.8 MB, and hence have some margin
again.
Noteable config changes:
* Disable max14577/max77836 stuff, is not used by any Exynos 4 devices
* Disable tps65090 driver and a few SND_SOC options that are only used by Exynos 5 devices
The one we switch to has version 5.90.100.43, while original one has
version 5.90.100.41 (can be checked with: `strings bcmdhd_sta.bin |
tail -n1`). The p4wifi tablet is also using the same blob (but
downloaded from elsewhere).
I believe the blob originates from the msm version of galaxy s2, with
codename "skyrocket". It seems to be the newest blob for brcm4330b1
available. The linux-firmware repo only has a blob for brcm4330b2,
which does not work for i9100.
Unfortunately even with latest available firmware blob mainline linux
still prints errors like:
[ 593.513854] ieee80211 phy1: brcmf_proto_bcdc_query_dcmd: brcmf_proto_bcdc_msg failed w/status -110
[ 593.513926] ieee80211 phy1: brcmf_cfg80211_dump_station: BRCMF_C_GET_ASSOCLIST failed, err=-110
a few times per minute.
Tested on:
* odroid-xu4
* samsung-klimtlte
* samsung-manta
Only regression I spotted is that usb networking no longer works on
samsung-klimtlte and samsung-manta (but wifi works fine, so still
possible to login to the device).
The boot partition on the device is 8.0 MB, while built boot.img is
8.8 MB. Fix by decreasing initramfs size by depending on
postmarketos-initramfs-minimal. Problems were likely introduced by
postmarketOS/pmaports!5000.
[ci:skip-build] already built successfully in CI
The boot partition on the device is 8.0 MB, while built boot.img
is 8.7 MB. Fix by decreasing initramfs size by depending on
postmarketos-initramfs-minimal. Problems were likely introduced by
postmarketOS/pmaports!5000.
Based on device PIT the boot partition is 28 MB, while built boot.img
is 31 MB. Fix by decreasing initramfs size by depending on
postmarketos-initramfs-minimal. Problems were likely introduced by
postmarketOS/pmaports!5000.
Based on device PIT the boot partition is 28 MB, while built boot.img
is 31 MB. Fix by decreasing initramfs size by depending on
postmarketos-initramfs-minimal. Problems were likely introduced by
postmarketOS/pmaports!5000.
.. when using mainline kernel. The boot partition on the device is
only 8 MB, while built boot.img is 11 MB. Fix by decreasing initramfs
size by depending on postmarketos-initramfs-minimal. Problems were
likely introduced by postmarketOS/pmaports!5000.
.. when using mainline kernel. The boot partition on the device is
only 8 MB, while built boot.img is 11 MB. Fix by decreasing initramfs
size by depending on postmarketos-initramfs-minimal. Problems were
likely introduced by postmarketOS/pmaports!5000.
Based on device PIT the boot partition is 40 MB, while built boot.img
is 41 MB. Fix by decreasing initramfs size by depending on
postmarketos-initramfs-minimal. Problems were likely introduced by
postmarketOS/pmaports!5000.
Based on device PIT the boot partition is 40 MB, while built boot.img
is 41 MB. Fix by decreasing initramfs size by depending on
postmarketos-initramfs-minimal. Problems were likely introduced by
postmarketOS/pmaports!5000.
Based on device PIT the boot partition is 10 MB, while built boot.img
is 12 MB. Fix by decreasing initramfs size by depending on
postmarketos-initramfs-minimal. Problems were likely introduced by
postmarketOS/pmaports!5000.