Commit Graph

11962 Commits

Author SHA1 Message Date
Gunjan Gupta
fddd8d1de4 allwinner: add u-boot patches to enable crust on H3 2023-06-20 21:36:31 +02:00
Gunjan Gupta
8278dc5e42 allwinner: Enable crust compilation 2023-06-20 21:36:31 +02:00
hzy
b18b58c902 Regenerate CODEOWNERS 2023-06-20 21:36:13 +02:00
hzy
6f91548c17 Add script to auto-generate CODEOWNERS
This script will read `BOARD_MAINTAINER` from all board configs and generate `CODEOWNERS`
2023-06-20 21:36:13 +02:00
igorpecovnik
61c580b741 Update report 2023-06-20 21:35:00 +02:00
Michał Dziekoński
ff15205fe8 sunxi-6.1 h616 orangepi-zero2: rename cpu scaling patch filename
(reflect kernel this patch applies to)
2023-06-20 21:34:47 +02:00
Michał Dziekoński
b89089ee88 sunxi-6.1 h616 orangepi-zero2: port over LED changes
(see https://github.com/armbian/build/pull/5270)
(original author of the patch for kernel 6.2: AGM1968)
2023-06-20 21:34:47 +02:00
Michał Dziekoński
51158ffa73 sunxi-6.1 h616 orangepi-zero2: port over cpu scaling
(see https://github.com/armbian/build/pull/5247)
(original author of the patch for kernel 6.2: AGM1968)
2023-06-20 21:34:47 +02:00
amazingfate
5ee6d8b11d merge rockchip-rk3588-legacy and rk35xx-legacy 2023-06-20 21:34:31 +02:00
Ricardo Pardini
f555847694 recore: keep stdout clean (replace echo with display_alert) - JSON pipeline requires clean stdout 2023-06-20 14:48:19 +02:00
Patrick Yavitz
f389b75de4 Bump: sunxi/64_common.inc: linux 6.1.34
All patches apply and resolves issue: https://github.com/armbian/build/issues/5357

Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2023-06-20 07:52:06 +02:00
Andrew Davis
09ecdc9ae1 Add initial support for TI SK-AM64B board 2023-06-20 07:43:09 +02:00
Andrew Davis
98ca4df12a Add support for the TI K3 family of devices 2023-06-20 07:43:09 +02:00
Andrew Davis
19ea4b5adb Add Linux kernel current and edge configurations for TI K3 devices 2023-06-20 07:43:09 +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
988c5f762b patch: misc: rtw88: fix action frame transmission fail before association
For combo chips, antennas were controlled by bluetooth only during power on. If WiFi wish to do transmission, notification to the coexistence module are required. Previously we only do this before authentication. To allow transmission before auth, such as management TX, now we start the initiation of coexistence earlier so antennas are shared between WiFi and bluetooth after set_channel(), and frames could then be sent.

Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2023-06-19 22:06:47 +02:00
Patrick Yavitz
7c4874a70b patch: misc: rtw88: backport updates v2
Linux 6.1.34 / 6.3.8
Bits of code from upstream creeped down into LTS and Stable, creating fails and false skips. The offending code has been removed from the patch set.

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
Markus Hoffrogge
5072966b44
armbian-install: use consistent logfile name and align the according /usr/lib folder name (#5340)
* armbian-install: The log file should be named identical to the originally called install script

- the log file should be named as:
  - /var/log/armbian-install.log if script armbian-install was originally called
  - /var/log/nand-sata-install.log
- same for directory /usr/lib/nand-sata-install:
  - rename this directory to /usr/lib/armbian-install
  - create a symbolic link nand-sata-install to this folder for backward compatibility
    in a subsequent commit
- abort script armbian-install with an error message:
  - if file ${EX_LIST} does not exist
  - if dir ${BOOTLOADER} does not exist
- remove the "beta" from the version title of armbian-install

* Add symlink /usr/lib/nand-sata-install to /usr/lib/armbian-install
2023-06-19 22:04:01 +02:00
Michał Dziekoński
b4adb07ced sunxi-6.2 h616 orangepi-zero2: Enable expansion board USB ports 2023-06-19 22:03:40 +02:00
Michal Dziekonski (mdz)
66ba90eade
sunxi-6.1 h616 orangepi-zero2: Enable expansion board USB ports (#5345) 2023-06-19 22:03:18 +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
Elias Bakken
2aec6c23e6
Add support for Recore (#5351)
* Add support for Recore

Signed-off-by: Elias Bakken <elias@iagent.no>

* Add board maintainter to boad config

Signed-off-by: Elias Bakken <elias@iagent.no>

---------

Signed-off-by: Elias Bakken <elias@iagent.no>
2023-06-19 22:02:56 +02:00
c0rnelius
5ae7a4c40e
BananaPi CM4IO: Upstream RTL8822CS bluetooth firmware (#5354)
* BananaPi CM4IO: `Upstream RTL8822CS bluetooth firmware`

* Firmware search paths
/lib/firmware/updates/UTS_RELEASE/
/lib/firmware/updates/
/lib/firmware/UTS_RELEASE/
/lib/firmware/

dmesg | grep RTL
[    8.242830] Bluetooth: hci0: RTL: examining hci_ver=0a hci_rev=000c lmp_ver=0a lmp_subver=8822
[    8.246443] Bluetooth: hci0: RTL: rom_version status=0 version=3
[    8.246447] Bluetooth: hci0: RTL: loading rtl_bt/rtl8822cs_fw.bin
[    8.280073] Bluetooth: hci0: RTL: loading rtl_bt/rtl8822cs_config.bin
[    8.308295] Bluetooth: hci0: RTL: cfg_sz 33, total sz 37069
[    8.695731] Bluetooth: hci0: RTL: fw version 0x05c6d2e3

cat /etc/armbian-release
BOARD=bananapicm4io
BOARD_NAME="Banana Pi CM4IO"
BOARDFAMILY=meson-g12b
BUILD_REPOSITORY_URL=https://github.com/pyavitz/build.git
BUILD_REPOSITORY_COMMIT=e189c104c-dirty
VERSION=23.08.0-trunk
LINUXFAMILY=meson64
ARCH=arm64
IMAGE_TYPE=user-built
BOARD_TYPE=conf
INITRD_ARCH=arm64
KERNEL_IMAGE_TYPE=Image
FORCE_BOOTSCRIPT_UPDATE=
VENDOR=Armbian
REVISION=23.08.0-trunk
BOOTSCRIPT_FORCE_UPDATE="no"
BOOTSCRIPT_DST="boot.cmd"
BRANCH=current

patrick@bananapicm4io:~$ bluetoothctl
Agent registered
[CHG] Controller C4:3C:B0:A3:D0:40 Pairable: yes
[bluetooth]# scan on
Discovery started
[CHG] Controller C4:3C:B0:A3:D0:40 Discovering: yes
[NEW] Device 46:B4:28:9B:FA:0D 46-B4-28-9B-FA-0D
[DEL] Device 46:B4:28:9B:FA:0D 46-B4-28-9B-FA-0D
[NEW] Device 00:1A:7D:DA:71:13 speaker

Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>

* bananapicm4io.conf: `maintenance`

mkdir after the fact

Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>

---------

Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2023-06-19 22:02:43 +02:00
Igor
f9d71174f1
Update report (#5353)
Co-authored-by: igorpecovnik <igorpecovnik@users.noreply.github.com>
2023-06-19 20:08:36 +02:00
hzyitc
e189c104c2
Introduce the BOARD_MAINTAINER in board config (#5159)
* Introduce the `BOARD_MAINTAINER` in board config

Yes, we have documented the maintainers in `armbian/documentation`.
But it seem like that some of them don't maintain anymore.
Use a separated repos make us forget to update it.
So let's document here.

What's more, defining this make us easier to update `.github/CODEOWNERS`

* Set `BOARD_MAINTAINER` accroding to `armbian/documentation`

* Guess `BOARD_MAINTAINER`

Set he/she as board maintiner if he/she:
1. Create the board config
3. Commit at lease 3 times for the board config
3. Commit most for the board config

* Guess `BOARD_MAINTAINER`

Set he/she as board maintiner if he/she:
1. Create the board config
2. The only one to commit for the board config

* Set `BOARD_MAINTAINER` to empty for other boards
* AR-1712 fixing PR from wrong DB
* Fixing maintainers

Signed-off-by: Igor <igor@armbian.com>

* Add variable to missing ones

---------

Signed-off-by: Igor <igor@armbian.com>
Co-authored-by: Rafal-Hacus <68160861+Rafal-Hacus@users.noreply.github.com>
Co-authored-by: Igor <igor@armbian.com>
2023-06-19 17:30:35 +02:00
Andrew Davis
efa936525c Remove deprecated KERNEL_ONLY from README.md
Looks like this got missed when removing KERNEL_ONLY. Having it here
in the first example causes that example to fail, Remove it.
2023-06-18 11:57:46 +02:00
Bochun Bai
2c9dbc66c8 Add pwm-fan support to nanopi r4s 2023-06-18 11:56:34 +02:00
Igor
50a7936cad Disable RTW88 on midstream kernel as it breaks building 2023-06-16 10:30:21 +02:00
Igor
8755d232ff Adjust CB1 u-boot config due to uboot bump 2023-06-15 15:29:59 +02:00
Igor
f6a51cb39a Remove deprecated patches 2023-06-15 13:22:47 +02:00
Igor
b0857b70fd Fix remaining u-boot patch problems
Signed-off-by: Igor <igor@armbian.com>
2023-06-15 13:22:47 +02:00
Igor
d5034b1f1a Fix media kernels from breaking the build 2023-06-15 12:00:17 +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
Igor
791715ce74 Update Nanopi Duo patch, tested for booting 2023-06-14 15:31:33 +02:00
Igor
044445d189 Update Core2, k1plus, opi3lts
3lts tested - does not boot!
2023-06-14 15:31:33 +02:00
Gunjan Gupta
4396c12df7 allwinner: honor BOOTBRANCH and BOOTPATCHDIR set in board configs 2023-06-14 15:31:33 +02:00
Igor
49d8df397c
Merge branch 'bigtreetech-CB1-current-pr' 2023-06-14 05:49:46 +02:00
Igor
5835d2d7ab
Merge branch 'main' into CB1-current-pr 2023-06-14 05:47:50 +02:00
Gunjan Gupta
e7f715091c allwinner: bump current to 6.1.33 2023-06-14 05:36:26 +02:00
Ricardo Pardini
8ad6b1b44d rockchip64 legacy: update .config, no changes 2023-06-14 05:36:15 +02:00
Ricardo Pardini
1383724e44 rockchip64 legacy: rebase+archeology all patches against ayufan's refs/tags/4.4.202-1237-rockchip-ayufan 2023-06-14 05:36:15 +02:00
Ricardo Pardini
fcddac6cab rockchip64 legacy: drop duplicated patch 2023-06-14 05:36:15 +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
Gunjan Gupta
bc46fd509a allwinner: bump u-boot to v2022.10 2023-06-13 20:19:36 +02:00