Ricardo Pardini
c5fe25aa17
partitioning: move hook call image_specific_armbian_env_ready() after the end of related manipulations
...
- depending on rootpart/extlinux/boot.ini it might not have run or had any effect
2023-07-04 03:09:07 +05:30
Patrick Yavitz
6e6ed0e88e
patch: misc: rtw88: decrease the log level of tx report
...
Reduce 'failed to get tx report from firmware' dmesg spam.
https://lore.kernel.org/linux-wireless/20210713104524.47101-1-pkshih@realtek.com/
Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2023-07-01 23:44:02 +02:00
Gunjan Gupta
2cae0b9422
artifacts: fix hashing for u-boot and kernel
2023-07-02 02:44:41 +05:30
Ricardo Pardini
bd56746146
python2/python3: symlink python3 as python/python2 if python2 is not found in host
...
- this _might_ allow some u-boots to build on bookworm/sid/etc (python2-less build hosts)
2023-07-01 21:49:08 +02:00
Ricardo Pardini
e6f70a3573
docker: default COLUMNS env var to 160 if unset / not-interactive
2023-07-01 14:55:49 +02:00
Lane Jennison
ad97c1b7ee
rockchip-rk3588 collabora: new branch (by @lanefu)
...
- `bsdextrautils` for kernel 6.4 (only if collabora branch)
- kernel 6.4 major, but skip rtw88 driver patching
2023-07-01 14:50:35 +02:00
Ricardo Pardini
079549b7fb
u-boot: log what the BOOTCONFIG is when building
2023-07-01 14:50:05 +02:00
Ricardo Pardini
ba71419b58
artifact-uboot: hack: add rkbin blob paths to variables hashed (otherwise changes aren't picked up)
...
- this definitely needs re-thinking later, each family might have completely different requirements (eg: meson64's FIPs vs rk's rkbins vs ...)
2023-06-28 21:27:09 +02:00
Ricardo Pardini
3324449fbe
kernel drivers: introduce KERNEL_DRIVERS_SKIP array to allow families to skip certain kernel drivers
...
- move rtw88's skip's from drivers_network.sh to their own family definitions
2023-06-28 21:26:54 +02:00
Ricardo Pardini
8b0fb1537b
meson-{sm1|g12a|g12b}: default, but don't override, ASOUND_STATE; this way board-specific asound.state's are honored
...
- add logging during actual deployment so we know what is happening
2023-06-27 11:39:36 +02:00
Ricardo Pardini
8e4ca7d36a
armbian-kernel: was too hungry in disabling kernel debug, let DEBUG_MISC & SLUB_DEBUG alone
2023-06-26 21:34:43 +02:00
Ricardo Pardini
97dbec7717
armbian-kernel: further insist on disabling kernel debug, since DEBUG_INFO is auto-enabled by DEBUG_INFO_DWARF5 and others
2023-06-26 13:51:46 +02:00
Patrick Yavitz
da0f7467a4
patch/misc/rtw88: wireless-next 2023-06-22
...
This brings the patch set up to 2023-06-22 wireless-next
Drivers tested;
8822CS. 8821CU and 8723DS
Notables;
Not seeing random dmesg spam `rtw_8822cs failed to get tx report from firmware` which I would see on both the CS and CU from time to time.
Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2023-06-26 13:46:40 +02:00
Jens J
42de8b678c
handle kernel.org forks
2023-06-26 13:45:04 +02:00
Igor
e4115ad23b
Disale wireless driver for private kernel
2023-06-20 23:07:22 +02:00
Gunjan Gupta
8278dc5e42
allwinner: Enable crust compilation
2023-06-20 21:36:31 +02:00
Patrick Yavitz
dc9fd25644
drivers_network.sh: driver_rtw88: reflect patching update
...
commit: 5810f041a6
Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2023-06-19 22:06:47 +02:00
Patrick Yavitz
bea8a7cde9
patch: misc: rtw88: temporary workarounds
...
Review patches for information on the subject.
Tested on: BPI-CM4, X96-AIR and Tinkerboard R2
Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2023-06-19 22:06:47 +02:00
Patrick Yavitz
61aee9857c
patch: misc: rtw88: 6.1 / 6.2 / 6.3 / 6.4: backport updates
...
Patch set includes a complete backport of RTW88 as it currently stands, along with extras
Extra:
Patch: RTL8723DS (SDIO)
Patch: _rtw_download_firmware() warn: missing unwind goto?
Hack: SDIO RX Aggregation Limiting
I only have two units available to me with an 8822CS module and in my testing this is only required on the BPI-CM4IO. With out LIMITING the unit will either kernel panic or not be able to send or receive.
This is currently being looked into:
https://lore.kernel.org/linux-wireless/CAFBinCBaXtebixKbjkWKW_WXc5k=NdGNaGUjVE8NCPNxOhsb2g@mail.gmail.com/T/#u
It may be possible to just set LIMITING across all builds, but that to me seems like a poor choice. This requires testing.
Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2023-06-19 22:06:47 +02:00
Michael Beck
fae99241a9
Added "midstream" to the interactive config kernel branch selection. ( #5349 )
...
Co-authored-by: Michael Beck <beck.xt3@gmail.com>
2023-06-19 22:03:07 +02:00
Igor
50a7936cad
Disable RTW88 on midstream kernel as it breaks building
2023-06-16 10:30:21 +02:00
Ricardo Pardini
5ebbe5c4f6
kernel: drop dead code & patches from long-disabled kernel-drivers.sh/drivers_network.sh stuff
...
- this has been dead code (never called) for some 6 months now
- having it there makes it hard to find the actual/real callpoints of non-dead code
2023-06-14 15:55:27 +02:00
Andrew Davis
92aa7b3de2
Use HTTPS for kernel.org sources checkout
...
HTTPS is more secure and less likely to be blocked by firewalls. The
other sources here use HTTPS now, update the kernel to the same.
2023-06-14 15:55:09 +02:00
Ricardo Pardini
b9056190b8
drivers_network rtl8812au: skip removal for odroidxu4/current so it patches OK again
...
```
# Brief detour. Turns out that HardKernel's vendor odroidxu4 kernel already has this driver
# "slipstreamed" into it, complete with a bunch of PDF files and other junk.
# See https://github.com/hardkernel/linux/tree/odroid-5.4.y/drivers/net/wireless/rtl8812au
# If we remove them here, the resulting patch will contain binary diffs which are unsupported by patch(1).
# So if building for the odroidxu4/current, we'll leave the original files in place, and just overwrite
# the possibly-updated source files (not PDFs and such). Thanks, HardKernel.
```
2023-06-14 15:32:14 +02:00
Ricardo Pardini
bfa8947c0d
kernel: wifi driver_uwe5622_allwinner: only ever apply for kernels >= 6.0
...
- case in point, rockchip64-legacy, which is 4.4-something and can't handle this
2023-06-14 05:36:15 +02:00
Igor
1848366170
Revert "docker: use ${SRC} as DOCKER_ARMBIAN_TARGET_PATH instead of hardcoded /armbian"
...
This reverts commit 6dd7067c79 .
2023-06-13 21:59:44 +02:00
Ricardo Pardini
de54b3707f
kernel: wifi driver_rtw88: skip for d1 family, which is lagging in 6.1.0-rcX
2023-06-13 20:20:02 +02:00
Ricardo Pardini
6dd7067c79
docker: use ${SRC} as DOCKER_ARMBIAN_TARGET_PATH instead of hardcoded /armbian
...
- this way host-side and Docker-side `SRC` are now the same path
- messages containing the path to a file will now match across Docker and actual host
2023-06-13 19:32:49 +02:00
Ricardo Pardini
fe36951c9f
patching: auto patchers: bare dts, bare overlays, DT Makefile
2023-06-13 12:29:52 +02:00
Ricardo Pardini
70a64a0415
patching: Patching Summary and Patching Failures tables using Python's Rich
...
- even Rich'er patch output by colorizing certain strings green/yellow/red
- BASE_GIT_TAG now very sneakily also accepts a branch name
- IMPORTANT: this includes: BREAKING CHANGE: patches failing to apply now break the build. fixes #4958
- also break on legacy `process_patch_file()` failure, remove `EXIT_PATCHING_ERROR`
2023-06-13 12:29:52 +02:00
Ricardo Pardini
f724ed130e
export-logs: introduce PASTE_URL to make easy to change paste service used
2023-06-13 12:07:40 +02:00
Ricardo Pardini
c44fbbf07c
pipeline: download-debs: de-hardcode path to compile.sh for downloader
2023-06-12 10:47:01 +02:00
Ricardo Pardini
fd404b46b6
artifact-kernel: log what is the actual ${USERPATCHES_PATH}/kernel/${KERNELPATCHDIR} so people can find it
...
- case in point: some families point `KERNELPATCHDIR` to something like `archive/sunxi-5.15` which makes it harder to find than `sunxi-legacy`
2023-06-12 09:58:27 +02:00
Patrick Yavitz
cddc99ce89
drivers_network.sh: driver_rtw88: simplified function
...
Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2023-06-02 19:38:14 +02:00
Patrick Yavitz
032db0522d
AGAIN: RTW88: SDIO driver via patches for Linux 6.1/6.2/6.3
...
Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2023-06-02 19:38:14 +02:00
Ricardo Pardini
bffcfc4f66
uboot: introduce hook post_config_uboot_target
...
- runs after other configuration changes, but before actually compiling a target
- useful to hack into `.config` for a specific target
2023-06-02 19:33:12 +02:00
Ricardo Pardini
040158b004
distro-agnostic: don't assume armbian.list exists when seding for beta
2023-06-02 19:32:57 +02:00
Ricardo Pardini
1e3d5c3567
prepare-host: check_host_has_enough_disk_space(): don't check if dir does not exist; fixes #5246
2023-06-02 19:32:40 +02:00
Ricardo Pardini
aca22a53c3
repo: split image apt .list deployment into image-early and image-late
...
- split `image` apt .list deployment into `image-early` (after rootfs extract, before building) and `image-late` (after building)
- rationale: having the repo enabled during the image build can cause 'apt upgrade' and others to do inconsistent stuff depending on the (possibly random) state of the repo
2023-06-02 19:32:28 +02:00
Ricardo Pardini
e9d114f0d0
pipeline: repo-reprepro: run clearvanished and check before adding to repo
2023-06-02 19:14:07 +02:00
Ricardo Pardini
6b782d3c26
driver_rtl8723cs: completely (not partially) disable for bcm2711 and d1 families
2023-06-01 18:24:05 +02:00
Vyacheslav Bocharov
0758dfa6bd
This add support for RTW88 SDIO driver via patches for 6.1/6.3 kernel
...
Additional driver support:
Realtek 8822BS SDIO wireless network adapter
Realtek 8822BU USB wireless network adapter
Realtek 8822CS SDIO wireless network adapter
Realtek 8822CU USB wireless network adapter
Realtek 8821CS SDIO wireless network adapter
Realtek 8821CU USB wireless network adapter
Revert "Revert "BPI-CM4 IO: RTW88: `Realtek 8822CS SDIO` `Wireless Support`"":
This reverts commit 672bd5393a .
This restore commit 3f169bcae2 .
Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
Signed-off-by: Vyacheslav Bocharov <adeep@lexina.in>
2023-06-01 08:10:45 +02:00
Vyacheslav Bocharov
672bd5393a
Revert "BPI-CM4 IO: RTW88: Realtek 8822CS SDIO Wireless Support"
...
This reverts commit 3f169bcae2 .
2023-05-26 14:07:04 +02:00
Igor
0449601213
Disable wireless driver for d1 legacy kernel as it breaks compilation
...
Target is not supported
2023-05-26 09:26:24 +02:00
Patrick Yavitz
3f169bcae2
BPI-CM4 IO: RTW88: Realtek 8822CS SDIO Wireless Support
...
Additional driver support:
Realtek 8822BS SDIO wireless network adapter
Realtek 8822BU USB wireless network adapter
Realtek 8822CS SDIO wireless network adapter
Realtek 8822CU USB wireless network adapter
Realtek 8821CS SDIO wireless network adapter
Realtek 8821CU USB wireless network adapter
Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2023-05-26 07:37:28 +02:00
Ricardo Pardini
9d90dcd3d4
drivers_network: uwe5622: park-link-v6.2-only.patch only for 6.2.y
2023-05-26 07:35:05 +02:00
Ricardo Pardini
c825966857
pipeline: targets-compositor: force variable BETA the same for all targets, reading from param/env passed to prepare/gha-matrix step
...
- this way it's consistent across all artifacts and images
- debs-to-repo-download: fix: use DEB_STORAGE instead of hardcoding output/debs (so BETA=yes works)
also:
- fix `Duplicate oci_target` message in mapper-oci-uptodate
2023-05-25 19:30:40 +02:00
Ricardo Pardini
31131fe14e
bsp-cli/BETA: fixes for bsp-cli bootscript hashing; don't normalize bootscript vars; debugging for BETA=yes/no stuff
...
also:
- get rid of comments and `SUBREVISION` and `RC` variables
- better debugging in calculate_hash_for_variables() do_normalize_src_path=yes/no
- tag a few places where output/debs might wrong in face of BETA=yes/no
2023-05-25 19:30:40 +02:00
Igor
cb8b309a91
Disable rtl8723cs for bcm2711 family as its currently broken and as its not needed there anyway
2023-05-25 06:21:11 +02:00
Igor
84a458b861
Reenable wifi
2023-05-25 06:19:21 +02:00