c0rnelius
88ed514b89
RTW88: RTL8822/21CU FIXUPS ( #6314 )
...
* patch: misc: rtw88: `rtl8822/21cu fixups`
Backported 6.7.y to 6.1.y.
Included fixups for 6.1, 6.6, 6.7 and added 6.8.
Signed-off-by: Patrick Yavitz <pyavitz@xxxxx.com>
* patch: misc: rtw88: 6.6: removed mbox
Signed-off-by: Patrick Yavitz <pyavitz@xxxxx.com>
* patch: misc: rtw88: `v2 rtl8822/21cu fixups`
Signed-off-by: Patrick Yavitz <pyavitz@xxxxx.com>
---------
Signed-off-by: Patrick Yavitz <pyavitz@xxxxx.com>
Co-authored-by: Patrick Yavitz <pyavitz@xxxxx.com>
2024-03-02 13:14:43 -05:00
Igor Pecovnik
7b61b05867
Debootstrap is again too old for latest releases. Lets ship currently latest with and install it when we build distros that needs it.
2024-03-01 12:45:11 +01:00
Ricardo Pardini
bf1f57faef
artifact-uboot: include BOOTCONFIG in u-boot artifact version hash
...
- HOW did we get this far without this?
- should cause rebuild of all u-boots, hopefully
2024-02-23 11:21:47 +01:00
Gunjan Gupta
2bce64e24d
kernel: add hook to allow modifying kernel headers before packaging
2024-02-21 06:34:43 +05:30
Gunjan Gupta
6f1b675591
Prevent systemd from starting all services on first-boot
2024-02-11 01:20:17 +05:30
Viacheslav Bocharov
d0cfcfa733
Add hook to activate build module for rtl88x2cs driver in kernel config
2024-02-10 15:32:34 +01:00
Viacheslav Bocharov
4e7363f227
Update commit for network driver rtl88x2cs. Re-enable build
2024-02-10 15:32:34 +01:00
Gunjan Gupta
03a9465f00
armbian-bsp-cli: Allow adding contents to preinst, postrm scripts using post_family_tweaks_bsp hook
2024-02-09 19:40:14 +01:00
Darsey Litzenberger
ce33bddb58
Make the colorized build output readable on a light background
...
This fixes the readability of colorized output of compile.sh when
running on a terminal with a light background. It uses the COLORFGBG
environment variable similarly to how the ip(8) command does.
Signed-off-by: Darsey Litzenberger <dlitz@dlitz.net>
2024-02-09 19:38:03 +01:00
Gunjan Gupta
2341940cbe
Fix broken compilation for boards with multiple targets
2024-02-04 16:23:09 +01:00
Ricardo Pardini
86cfcf304a
patching: support 'incremental' Makefile auto-patching, for vendor kernels
...
- without incremental: true:
- we replace the DT Makefile based on *.dts at the DT directory after all patching/copying is done
- overlay target is added if overlays present
- with incremental: true:
- we parse the Makefile, parse the DTs being built, and only add .dts's we have added from 'dt' directory
- overlays target are not added; we assume smth else already added them
2024-02-04 11:24:31 +01:00
Gunjan Gupta
473548220c
uboot: make sure patches work for custom uboot builds too
2024-02-04 11:22:27 +01:00
Gunjan Gupta
218f54dc28
Fix git_ensure_safe_directory function again
...
The command added to check whether the directory is git or not was
having syntax error. Fixed the same. Also it seems adding safe-directory
with local doesn't really work which actually makes sense. hence
reverting to using global instead. Its still safer than before as
we are not adding * and are adding the actual path of the directory
2024-02-03 04:50:42 +05:30
Rafael
94d4c007d1
Feature lvm support ( #6204 )
...
* using the configured volume group name
* added LVM support
* ensuring /boot never on LVM volume, created hook to setup root device
* preparing root device via extension, not assuming any particular partition for root
* using tab spacing
* using global parameter to require a boot partition
* using boot require, moving cryptroot code to extension
* adds crypt image suffix
---------
Co-authored-by: rafael <rvalle@privaz.io>
2024-02-01 20:01:58 +01:00
Igor Pecovnik
07037232a1
Unstable / testing packages sometimes contain hacks that are patching files
2024-02-01 22:01:44 +05:30
Gunjan Gupta
7b81255a5f
Fix compilation within docker-shell
2024-02-01 21:04:23 +05:30
Gunjan Gupta
7bb20d7063
uwe5622: reduce system load
2024-01-31 23:55:58 +05:30
Gunjan Gupta
d9d6524e7f
Add hook to allow forcing uboot update
2024-01-30 12:00:24 +01:00
Igor Pecovnik
6b42f34b73
Add additonal check before running git command
2024-01-26 22:11:14 +01:00
Igor Pecovnik
12910e0d37
Fixes poorly made Git safe.directory workaround
2024-01-26 21:28:05 +01:00
Gunjan Gupta
c47c9372bf
Khadas VIM1S & VIM4 - 5.15 kernel bump ( #6201 )
...
* meson-s4t7: bump u-boot to khadas-vims-u-boot-2019.01-v1.6-release
* Use khadas default bootargs as much as possible
* Add new hook to allow copying code into kernel
* meson-s4t7: legacy: Switch to 5.15 kernel
* meson-s4t7: add kernel-config for 5.15 kernel
* device tree overlays for 5.15 kernel for vim1s and vim4
* restructure packaging of bsp files for vim1s/vim4
* silence vblank warning on boot
* Remove display workaround as it doesn't work with 5.15 kernel
* Remove 5.4 kernel patches
2024-01-26 08:40:11 +01:00
Igor Pecovnik
5383bd3cfa
Upstream wireless RTW88: Both 6.6 and 6.7 got patch integegrated, thus don't apply it for 6.6 and up
2024-01-26 08:34:38 +01:00
amazingfate
d9389553e0
rtw88: remove merged patch for kernel 6.8
2024-01-24 17:43:27 +01:00
Alex Shumsky
eee0d33bbc
partitioning: allow to disable boot partition if bootloader known to support rootfs
2024-01-22 21:18:15 +01:00
Alex Shumsky
86a743ad83
partitioning: do not force image size estimation for (potentially) compressed btrfs rootfs
2024-01-22 21:18:15 +01:00
amazingfate
64094ee20e
fix gitee mirror
2024-01-22 21:17:15 +01:00
Igor Pecovnik
565a33d62d
Add SWITCH to define XZ compression as a parameter and leave defaults as is
2024-01-17 13:08:13 +01:00
Gunjan Gupta
a57329d611
remove remnants of SKIP_BOOTSPLASH
2024-01-17 04:13:40 +05:30
Ricardo Pardini
c8de95ccc7
artifact-uboot.sh: add a fake variable to hash, so all u-boots are rebuilt
2024-01-13 14:44:56 +01:00
Ricardo Pardini
04bde7ac47
config: calculate BOOTSOURCEDIR & friends only _after_ late_family_config hook; fixes #6144
...
- snafu on my part, sorry
- also: add more change-tracking variables; add more calls to change tracking in some key places, for future clarity
2024-01-13 14:44:49 +01:00
Igor Pecovnik
6cd3981805
Re-enable resolv.conf during deboostrap process as network manager seems to break it
2024-01-13 11:48:38 +01:00
Igor Pecovnik
9c75c86a54
Set DNS server if systemd-resolved is in use, change switch to if and check for DISTRIBUTION
2024-01-12 19:34:17 +01:00
Paolo Sabatino
8786526914
rtl8723cs: fix driver compilation on kernel 6.7
2024-01-11 23:38:57 +01:00
Ricardo Pardini
bebf4c7ae0
lib: implement and sprinkle some very basic config var change-tracking across board/family sourcing and several hook calls
2024-01-07 18:58:36 +01:00
Ricardo Pardini
dccf44630f
main-config: arch common: kernel/u-boot config defaulting+overriding via hook instead of pre-setting
...
- common.conf delegating to new `mainline_kernel_decide_version` hooks
- special case handling for v6.7-rc7
- some examples
- late-stage "use rolling branch version"
2024-01-07 18:58:36 +01:00
Ricardo Pardini
ac599c557a
lib/family config: remove resquices of KERNELDIR which is completely unused for a long time
...
- also `MAINLINE_KERNEL_DIR` not needed then
2024-01-07 18:58:36 +01:00
Ricardo Pardini
64b724d1d7
main-config: mark mirror variables readonly; add todo's
2024-01-07 18:58:36 +01:00
Ricardo Pardini
c434c3613c
core: semantic change, KERNELSOURCE must be explicitly 'none' to avoid kernel compilation (not unset)
2024-01-07 18:58:36 +01:00
Igor Pecovnik
32fecdd9cc
Improve sed regex to cover all cases that exists at once. Current solution was broken in Noble
2024-01-05 13:25:24 +01:00
Igor
69d0ec7218
Set dpkg vendor to Armbian in all images ( #6122 )
...
* Set dpkg vendor to Armbian in all images
We already set to Armbian, but we didn't set default link. This fixes it for both, Debian and Ubuntu.
* Adjust post install scripts to set correct link on upgrade
2024-01-03 23:57:39 +05:30
Gunjan Gupta
fbad168eda
Fix rpi image creation broken since to #6087 ( #6123 )
...
* Revert "Don't generate armbian.list if when==image-early"
This reverts commit 0b79ff3a63 .
* Remove armbian.list.disabled file if it exists
2024-01-01 23:19:35 +01:00
amazingfate
afc30e64eb
patching: set commit index length to 12 when rewriting patches
2023-12-30 13:33:56 +01:00
Igor Pecovnik
18ba950f38
Enable support for extensions within USERPATCHES_PATH
2023-12-29 23:37:10 +01:00
Viacheslav Bocharov
0b79ff3a63
Don't generate armbian.list if when==image-early
2023-12-29 09:39:56 +03:00
Ricardo Pardini
65dcd9e264
[cleanup] extensions: flash-kernel: removed (and a few references to it)
...
- thanks to Gunjan for replacing it
2023-12-28 13:52:19 +01:00
Ricardo Pardini
1efe94cc0d
drivers_network: bumps to drivers from upstream repos (by Igor, from AR-2005)
...
Co-authored-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2023-12-27 13:29:37 +01:00
amazingfate
5e49728b2b
add support for building linux-next kernel
2023-12-27 12:11:42 +01:00
Gunjan Gupta
2ea9d98656
xradio: remove upstreamed patch
2023-12-25 12:20:50 +05:30
Gunjan Gupta
03cbbdff7b
driver-harness: fix compilation failure with 6.7 kernel as observed with allwinner kernels
2023-12-24 09:13:08 +01:00
Gunjan Gupta
5f4b0e335b
Do not set upper limit for uwe5622 driver as this can make the driver get lost during upgrade
2023-12-24 09:13:08 +01:00