Commit Graph

11980 Commits

Author SHA1 Message Date
Jannis
ef0598a88e
helios4: Fix pwm patch (#5392) 2023-06-26 20:52:58 +02:00
AGM1968
a2628bea9e
sunxi-6.2 Series Fixes (#5379) 2023-06-26 20:40:47 +02:00
Ricardo Pardini
1c4d394d88 thinkpad-x13s: firmware PR has landed, remove usage of rogue fw fork 2023-06-26 16:29:51 +02:00
Muhammed Efe Çetin
879a97603a Add sata spi image to Orange Pi 5 2023-06-26 16:29:39 +02:00
Ricardo Pardini
6c232a1303 grub: add hooks, fix GRUB font & wallpaper, introduce grub-with-dtb extension
- introduce hooks `grub_early_config`, `grub_pre_install` and `grub_late_config`
  - what we see here is an extension that itself has hooks, that just works
- introduce extension `grub-with-dtb`, which
  - enables `grub` extension
  - requires `BOOT_FDT_FILE` to be set
  - includes `/etc/armbian-grub-with-dtb` with `BOOT_FDT_FILE=` in the bsp-cli
  - includes `/etc/kernel/postinst.d/armbian-grub-with-dtb` in the bsp-cli
     - which reads the above and creates links for `/boot/armbian-dtb-<version>` when deploying deb's
  - adds implementations of the hooks above to
    - replace the distro's `10_linux` with our own `09_linux_with_dtb`
      - which looks for `/boot/armbian-dtb-<version>`
    - forcibly run  `/etc/kernel/postinst.d/armbian-grub-with-dtb` during image build, since bsp-cli is installed after linux-image
- uefi-arm64: enable GRUB wallpaper by setting `UEFI_GRUB_TERMINAL=gfxterm`
- force GRUB_FONT so Ubuntu is not confused and gfxterm (incl wallpaper) finally works
2023-06-26 13:52:29 +02:00
Ricardo Pardini
4a3d64b6c1 thinkpad-x13s: add wip board; use steev's 6.3.y kernel as an uefi-arm64 BRANCH=sc8280xp; force modules & fw in initrd
- add `GRUB_CMDLINE_LINUX_DEFAULT` with `efi=noruntime clk_ignore_unused pd_ignore_unused` so it actually boots
- use `grub-with-dtb` for the (required) DTB usage in grub
- use a customize hook to add a lot of modules & fw into initrd, required for booting
- if on RELEASE=lunar, add Ubuntu's "x13s Concept" PPA and a few packages for battery control/audio
2023-06-26 13:52:15 +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
Ricardo Pardini
017a006acb cleanup-space-final-image: keep qcom and qed firmware (for thinkpad-x13s) 2023-06-26 13:47:00 +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
4be9d86bec Revert "Bookworm xfce (#5369)"
This reverts commit a41e768f53.
2023-06-24 13:15:39 +02:00
Richard Neese
a41e768f53
Bookworm xfce (#5369)
* Remove Old Link Dir Bookworm to Bullseye

* add new bookworm and with new apps dir

* new files for xfce to remove the use of .skel
2023-06-22 20:23:31 +02:00
Richard Neese
b5e9774eda
Adding support for new desktops (#5367) 2023-06-22 20:21:09 +02:00
Richard Neese
fa3a44e232
Fix background path for lightdm login background (#5366) 2023-06-22 20:20:45 +02:00
Igor
8356063d05 Remove deprecated patches 2023-06-22 18:12:03 +02:00
Gunjan Gupta
03acc0fefa config: boards: README.md: Add explaination for CRUSTCONFIG 2023-06-21 09:31:48 +02:00
Igor
e4115ad23b Disale wireless driver for private kernel 2023-06-20 23:07:22 +02:00
Gunjan Gupta
a38742d96e Enable crust for nanopiduo2 2023-06-20 21:36:31 +02:00
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