Commit Graph

2177 Commits

Author SHA1 Message Date
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
Gunjan Gupta
5f2abfb0a7 allwinner: edge: fix booting on 32-bit devices 2023-07-01 14:40:08 +02:00
Gunjan Gupta
173ed85da3 sunxi64: compilation fix workaround
Disabled ws2812 driver for all sunxi64 boards in edge kernel. As this
driver is used by Bigtreetech CB1 board, the driver is enabled for the
same but edge kernel is kept back at 6.2.16. Once the driver has been
updated, we can revert this commit.
2023-06-29 13:02:26 +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
amazingfate
5ee6d8b11d merge rockchip-rk3588-legacy and rk35xx-legacy 2023-06-20 21:34:31 +02:00
Andrew Davis
19ea4b5adb Add Linux kernel current and edge configurations for TI K3 devices 2023-06-20 07:43:09 +02:00
Igor
5835d2d7ab
Merge branch 'main' into CB1-current-pr 2023-06-14 05:47:50 +02:00
Ricardo Pardini
8ad6b1b44d rockchip64 legacy: update .config, no changes 2023-06-14 05:36:15 +02:00
Ricardo Pardini
de39d73ca9 meson64 edge 6.4: update .config at 6.4-rc5
- enable a bunch of new _MESON and _AMLOGIC stuff
2023-06-13 12:33:47 +02:00
Ricardo Pardini
b6c5eb7554 meson64 edge 6.2: update .config with no changes 2023-06-13 12:33:47 +02:00
Thomas McKahan
03d21cc8ed linux-rk3399-legacy unused, remove 2023-06-12 09:58:13 +02:00
Gunjan Gupta
5ed442cad8 Change stmmac driver to be built as module 2023-06-05 21:06:20 +02:00
Igor
c6e450189f Update config 2023-06-02 21:16:20 +02:00
Igor
315c15f892 Update config, remove readme patch, adjust series 2023-06-02 21:16:20 +02:00
Ricardo Pardini
9c4b3cd89a rk3568-odroid edge: .config, remove ARCH_TEGRA and ARCH_SUNXI, since this is Rockchip kernel 2023-06-02 19:35:55 +02:00
Ricardo Pardini
a3f78e9159 rk3568-odroid edge: update config, no actual changes 2023-06-02 19:35:55 +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
Patrick Yavitz
bb48f6080c Improve Meson64 Support
BPI-CM4:
In accordance with the BSP DTS, set LED gpio to GPIO_ACTIVE_LOW.
Added default-on trigger to led-green
Board now powers off, added reboot node 'meson64-reboot'.

CONFIG_POWER_RESET_MESON64
Isolated RESET ODROID driver and renamed to MESON64 as it can be used in more than ODROIDS.

MESON UART
Series improves support for UART attached Bluetooth modules on Amlogic Meson G12A and newer SoCs. These SoCs also support the "divide XTAL by 2" bit which (greatly) reduces jitter when generating baud rates such as 1500000 (which is used by the Bluetooth part of the RTL8822CS SDIO WiFi and UART Bluetooth combo chip).

Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2023-06-01 06:32:23 +02:00
Alan
9d69bb1da6 Patches: add current(6.1) & edge(6.2) patch for BigTreeTech CB1
Signed-off-by: Alan.Ma from BigTreeTech tech@biqu3d.com
2023-05-30 17:36:29 +08:00
Alan
b8b11f4f7f Add support for BigTreeTech CB1 (Allwinner H616) board 2023-05-29 10:17:56 +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
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
930e363990 starfive/edge: bump 6.1.23 to 6.1.y; rebase to v6.1.30; hammer dma,pwm patches; update .config 2023-05-26 07:25:29 +02:00
amazingfate
f76dc54932 use step_wise as the default thermal governor for rockchip-rk3588 legacy 2023-05-26 07:24:28 +02:00
Ricardo Pardini
93263c4719 rockchip64/edge 6.3.y: update .config - no actual changes 2023-05-24 19:21:31 +02:00
Ricardo Pardini
b8bea3edb9 rockchip-rk3588-legacy: switch to 48-bit virtual address; enable more eBPF/net stuff
- enable more eBPF/net stuff for Cilium
- switch to 48-bit virtual addresses, so we're tcmalloc compatible
  - see https://github.com/cilium/cilium/issues/17467
  - see https://github.com/envoyproxy/envoy/issues/15235#issuecomment-850516622
2023-05-23 16:34:18 +02:00
Muhammed Efe Çetin
214cafb264 Enable INNOLUX_AFJ101_BA2131 panel on rk3588 legacy kernel 2023-05-23 16:33:42 +02:00
Ricardo Pardini
09e82fe25e meson64-edge (6.2.y): rebase & update .config to 6.2.16 (EOL); pick chewitt (add t95z+fixes); rework SPI-NOR dtbs
- `meson64`-`edge` (6.2.y): drop old/unused/pre-armbian-next builddeb patch that was leftover
- `meson64`-`edge` (6.2.y): pick & squash from chewitt's tree; new t95z board and its tm1628 driver, fixes for odroidc2, vim3, gxl/gxm SDIO
- `meson64`-`edge` (6.2.y): reword the `-spi` extra DTBs for the N2(+) into more generic for g12; add VIM3/VIM3L which also have same SPI NOR scheme
- `meson64`-`edge` (6.2.y): update .config to 6.2.16; enable `CONFIG_TM1628`
- `meson64`-`edge` (6.2.y): rebase to 6.2.16 after picking chewitt
2023-05-21 14:01:11 +02:00
Ricardo Pardini
eb4320f424 odroidm1 / rk3568-odroid: recover overlays from 6.1; update .config; fix patch dir name 2023-05-21 13:58:31 +02:00
Igor
f1ab301d38 Bump Allwinner and update associated kernel configs 2023-05-16 19:48:13 +02:00
Igor
8ac568102e Switch Rockchip CURRENT to 6.1.y 2023-05-15 17:12:06 +02:00
Ricardo Pardini
295f95d9f6 rpi4b/legacy: update legacy 5.15 kernel config, no changes 2023-05-14 21:28:58 +02:00
Igor
66c2e769ae Update. Now both boots 2023-05-14 21:28:58 +02:00
Igor
215e3ebd27 Update edge too 2023-05-14 21:28:58 +02:00
Igor
f0236e98f6 Update RPI4 kernel config 2023-05-14 21:28:58 +02:00
Igor
e62ae0fcd0 Enable SECCOMP on Visionfive2 kernel config
This will fix chrony

https://forum.armbian.com/topic/28142-visionfive-2-chrony-doesnt-run-kernel-missing-seccomp
2023-05-05 12:34:52 +02:00
hzy
2e41d350e8 meson: edge: bump to linux-6.3.y 2023-05-05 12:23:46 +02:00
Ricardo Pardini
f860106a2a jetson-nano legacy: give up on this legacy and remove it; fixes #5117 2023-05-01 22:46:43 +02:00
Ricardo Pardini
145ae8472c jetson-nano legacy: try, and fail, to fix this legacy; (does NOT) fixes #5117
- `jetson-nano` `legacy`: kernel config: `CONFIG_SECTION_MISMATCH_WARN_ONLY=y`
- `jetson-nano` `legacy`: add `-mno-outline-atomics` to fix linking
- `jetson-nano` `legacy`: add `xxd` host-dependency
- `jetson-nano` `legacy`: downgrade _a lot_ of gcc errors to allow this legacy to build
2023-05-01 22:46:43 +02:00
Ricardo Pardini
30737fa6f4 rockchip: completely remove legacy branch; fixes #5118
- there's absolutely no point in trying to keep this alive, current/edge are good enough, legacy's abandoned for years and broken
2023-05-01 22:46:43 +02:00
monkaBlyat
22cab870c8 Disable config_ion for better compatibility with modern android containers like redroid 2023-04-24 14:29:27 +02:00
Werner
283258c8ab
sunxi: add support for Wireguard (#5069)
Probably went missing at some point.
2023-04-18 09:04:36 +02:00
Radoslav
88fe8bae61 h3 thermal sensor values fix 2023-04-15 22:47:26 +02:00
Radoslav
24dcf942f5 OrangePi Zero TV Output kernel patch 2023-04-15 22:47:26 +02:00
hzy
53b8a4b173 meson: Enable more SDIO and USB Wifi support 2023-04-12 14:59:52 +02:00
hzy
ac5a84b5f6 meson: Refresh config 2023-04-12 14:59:52 +02:00
hzy
8e9548c3a4 meson: Enable some net modules 2023-04-12 14:59:52 +02:00
Thomas McKahan
7a075070a3 enable mipi-dsi on Rockchip 2023-04-12 14:59:39 +02:00
Pander
9f0f296f45 enabled kernel modules pine64 for CSI and camera drivers 2023-04-08 14:35:35 +02:00
Igor
d1128a6515 Enable CONFIG_EXFAT_FS on remaining kernels 2023-04-06 09:52:59 +02:00
Igor
577d0eaa28 Update sunxi and kernel configs 2023-03-28 15:56:14 +02:00
Paolo Sabatino
5930e5e536 rk322x: move edge kernel to 6.2 2023-03-24 23:14:09 +01:00
Paolo Sabatino
97c3448983 rockchip: put all rockchip 32 bit into uboot/v2022.04 directory 2023-03-24 23:13:42 +01:00
Paolo Sabatino
3f704692a7 rockchip: bump edge kernel to 6.2 2023-03-24 23:12:56 +01:00
Lane Jennison
7be216f4b5 defconfig didnt work use full kernel 2023-03-21 01:04:01 -03:00
Lane Jennison
7869b5488d enable btrfs on midstream kernel 2023-03-21 01:04:01 -03:00
Igor
8a27b4a6da Re-enable CONFIG_ARCH_BCM2835 2023-03-20 11:34:25 -03:00
Igor
87b8ad6ae7 Bump sunxi to latest versions 2023-03-20 13:30:48 +01:00
Paolo Sabatino
989b49ff6b rockchip: enable rtl8723ds kernel module 2023-03-18 21:40:32 +01:00
5b8d86ae5f
Enable kernel Ion system for running Android (#4948)
Signed-off-by: Zhang Rui <rui.crater@gmail.com>
2023-03-14 08:47:01 +01:00
Jianfeng Liu
d3c036be10
toggle rk3588 new legacy kernel (#4888)
* toggle rk3588 new legacy kernel

* enable additional drivers from radxa

* change R8125 builtin

* fix orangepi5 uboot build target
2023-03-12 22:42:04 +01:00
Igor Pečovnik
acf5810cbe
Move Rpi kernels to 6.2, move current to legacy (#4898)
* Update Rpi4 kernels, configs and adjust broken patches

* Re-enable legacy in sources and board config
2023-03-11 19:19:13 +01:00
Lane Jennison
e718d26cae @lanefu's rk3588 midstream; new BRANCH; midstream kernel and monka's config - squashed 2023-03-10 01:30:31 -03:00
Igor Pečovnik
c4d27ab073
Disable broken patch on imx6 platform (#4914)
All boards are without maintainers so not a problem if features are disabled.
2023-03-08 09:06:55 +01:00
Igor Pečovnik
66f09d4567
Move imx edge kernels to 6.2, current to 6.1, current to legacy (#4900) 2023-03-05 17:04:49 +01:00
Igor Pečovnik
ad827fe0a5
Move UEFI legacy to 5.15.y, current to 6.1.y and edge to 6.2.y (#4896) 2023-03-05 17:02:52 +01:00
Igor Pečovnik
a27111be62
Move mvebu edge kernels to 6.2, current to 6.1, current to legacy (#4901) 2023-03-05 16:54:50 +01:00
Igor Pečovnik
f9bf344835
Move Odroid M1 to 6.2.y (#4899) 2023-03-05 15:41:30 +01:00
The-going
b7ab460983
Move sunxi legacy to 5.15.y, current to 6.1.y and edge to 6.2.y (#4890)
* sunxi-6.1: rebase to v6.1.14, reexport patches megous

* sunxi-6.1: rename fixes patches

* sunxi-6.1: reexport armbian patches

* sunxi-6.1: fix the series.conf file to the current state

* sunxi-6.1: switch edge to v6.1.14

* Adjust sunxi to 5.15 / 6.1 / 6.2

- change configs
- adjust broken patches
- disable patch that only changes /readme.md and it has issues

---------

Co-authored-by: Igor Pečovnik <igor@armbian.com>
2023-03-03 22:13:49 +01:00
Julian Sikorski
e7f6405616
Update odroidxu4-current to 5.4.233 (#4894)
* Update odroidxu4-current to 5.4.233
* Add config and .234

---------

Co-authored-by: Igor <igor@armbian.com>
2023-03-03 18:59:45 +01:00
hzyitc
41709dd756
meson: bump current to v6.1 and edge to v6.2 (#4843)
* meson: bump current to v6.1 and edge to v6.2
2023-02-22 09:24:41 +01:00
Igor Pečovnik
26b41a50fa
Merge branch 'main' into AR-1543 2023-02-22 08:12:57 +01:00
amazingfate
6193ec3ebd
use sdk branch for rk35xx legacy 2023-02-22 08:04:09 +01:00
amazingfate
d005dc8574
update rk35xx legacy kernel to 5.10 2023-02-22 08:03:48 +01:00
Ricardo Pardini
9e29827ad9
risc-v/starfive/starfive2/d1: all of RichNeese's Risc-V boards and families - squashed
- `risc-v`: rework RichNeese's boards, reduce families, move tweaks to boards
- `risc-v`/`starfive`: `CONFIG_MOTORCOMM_PHY=m` for the onboard Ethernet
- `risc-v`/`starfive`: use mainline kernel 6.1.y, with StarFive's rebased patches against `v6.1.5`
  - from https://github.com/starfive-tech/linux/commits/visionfive
  - contention point: `1022-soc-sifive-ccache-Add-StarFive-JH71x0-support.patch` which I merged half-assed, need review/fixes?
  - `risc-v`/`starfive`: update kernel config, sans changes
- `risc-v`/`starfive`: switch from `grub` to `extlinux`
- `risc-v`/`starfive`: new `starfive` family with their (vendor) kernel

Co-authored-by: Richard Neese <r.neese@gmail.com>
2023-02-18 07:46:43 -03:00
Ash Hughes
2b896d72fb
meson64: current + edge: bring back fixed version of odroid-reboot driver (Fix reboot on odroid C4 when using UHS-II SD cards) [cherry pick] 2023-02-18 07:46:38 -03:00
SteeManMI
c2ff82b7fe
meson64: current: Enable MGLRU on meson64-current [cherry-pick]
Per PR#4697 this was enabled first on meson64-edge to test.
I am now following up to enable on meson64-current.
2023-02-18 07:46:34 -03:00
Ricardo Pardini
6ceb772a7a
v6.2-rc7: bump edge to v6.2-rc7 for UEFI / meson64 / rk3568-odroid / rockchip-rk3588 2023-02-18 07:46:29 -03:00
Oleg
b9d19da461
add khadas edge2 (#4836)
* add khadas edge2

* fix wifi
2023-02-17 23:06:21 +01:00
Paolo Sabatino
38389e2e73 rockchip: fix missing bluetooth for tinkerboard, add back AUFS driver 2023-02-17 17:05:45 +01:00
Ivan Podogov
d7c5e0c834
Set pcie_aspm to default instead of powersave
This matches the Radxa's BSP change [here](60071e3a4d).
See [here](https://github.com/ThomasKaiser/Knowledge/blob/master/articles/Quick_Preview_of_ROCK_5B.md#suggestions-to-radxa) for details about why this is needed.
2023-02-14 15:07:04 +00:00
Igor Pečovnik
31ee14377c
Split Bananapi M2PRO from M5 (#4826)
This is comming to 6.2 / 6.3
2023-02-12 21:51:59 +01:00
Igor Pečovnik
ce30644a09
Disable Event debugging CONFIG_INPUT_EVBUG (#4828) 2023-02-12 15:21:55 +01:00
Igor Pečovnik
7bf3c297cb
add support for various HID game controllers and waydroid (#4806)
add support for various HID game controllers and waydroid on rk3588 legacy kernel

Co-authored-by: monkaBlyat <54044929+monkaBlyat@users.noreply.github.com>
2023-02-03 18:44:44 +01:00
Oleg
20ee08325f
move kernel media current 6.1 and edge 6.2 (#4781)
* move kernel media current 6.1 and edge 6.2
add board quartz64b

* fix nanopc-t4
2023-02-01 20:24:20 +01:00
hzyitc
133c595539
meson: remove legacy branch (#4769) 2023-02-01 20:23:36 +01:00
catalinii
95267c37b4
Fix CEC for Radxa Rock 3A (#4786)
Co-authored-by: Catalin Toda <catalinii@yahoo.com>
2023-02-01 11:01:57 -08:00
Paolo
79019296d8
rockchip64: consolidation for uwe5622 driver, v6.1 kernel compatibility (#4766) 2023-01-30 17:28:37 +01:00
M. Efe Çetin
411b607e46
Add some Wireless modules to RK3588 legacy kernel (#4759)
* Add some Wireless modules to RK3588 legacy kernel

* Add some Wireless modules to RK3588 legacy kernel

* Add some Wireless modules to RK3588 legacy kernel
2023-01-27 23:19:08 +01:00
M. Efe Çetin
5811543c7f
Enable some Ralink modules for RK3588 (#4736) 2023-01-25 00:37:48 +01:00
Paolo Sabatino
8aa351a999 rk322x: bump current kernel flavour to 6.1 2023-01-24 20:56:18 +01:00
Paolo Sabatino
cb3226dfa3 bump rockchip 32bit to kernel 6.1 2023-01-24 20:56:00 +01:00
Erik
31b5113c75
added support for MediaTek USB drivers (#4727)
* added support for MediaTek USB drivers

* merged most recent pull

* fixed merge

* removed unset comments
2023-01-23 07:18:19 +01:00
Igor Pečovnik
6d38906c8d
Move UWE5622 from kernel patches to misc (#4723)
Todo: Compare and unify with the driver that floats in Rockchip patches
2023-01-22 08:40:12 +01:00
catalinii
fadcb7d915
Fix cec disconnecting after TV restart (#4725)
Co-authored-by: Catalin Toda <catalinii@yahoo.com>
2023-01-22 08:39:48 +01:00
Oleg
eb7b1aa1d1
fix kernel edge for Jetson Nano (#4719) 2023-01-20 18:43:42 +01:00
SteeManMI
fee2f3a4b4
Enable MGLRU on meson64-edge (#4697)
This is already enabled in the rockchip family on edge and per the discussion
here: https://forum.armbian.com/topic/20018-mglru-patches-to-bring-down-kswapd-cpu-usage
I would like to enable it on meson64-edge.  And if that goes smoothly,
I will followup with a PR to enable it on meson64-current also since that is
now on 6.1.

 Changes to be committed:
	modified:   config/kernel/linux-meson64-edge.config
2023-01-15 07:48:12 +01:00
Paolo Sabatino
a3feee9ec9 rk322x: reinstate AUFS, adjust some kernel config options 2023-01-11 23:19:42 +01:00
Paolo Sabatino
23b9770eef rockchip64: fix borked 6.1 kernel configuration 2023-01-11 18:59:04 +01:00
Igor Pečovnik
65d6891e33
Switch Meson64 CURRENT to K6.1 (#4677)
- remove older patches
2023-01-09 16:33:57 +01:00
Igor Pečovnik
f2cdc8478a
meson64 - update kernel config (#4676) 2023-01-09 13:33:29 +01:00
Igor Pečovnik
adac8d4a46
Update Opi Zero 2 legacy kernel (#4642)
* Update Opi Zero 2 Legacy kernel

+ enable images back as those works decently, mainline is too fragile.

* Fix broken patch
2023-01-07 21:00:16 +01:00
Jannis
b619876210
[AR-1313] Move mvebu edge to 6.1 (#4652)
* Initial work on bringing mvebu to 6.0

* Switch mvebu edge to 6.1

* Remove link leftover

* Update kernel config

Co-authored-by: Igor <igor@armbian.com>
2023-01-04 18:37:42 +01:00
m][sko
1df33255c0
rock 5b edge add sd card support, remove tegra and update to Linux rc2 (#4653)
* add sdcard support, remove tegra support and update to rc2

* cleaner tegra config cleanup
2023-01-04 18:37:21 +01:00
Igor Pečovnik
a48f004690
Disable broken kernel function (#4649)
Forgot to save.
2023-01-03 11:15:23 +01:00
Igor
17bbbc6867 Update kernel configs for sunxi family 2023-01-03 12:39:00 +03:00
Azq2
03c414dc6b
CONFIG_DEVFREQ_GOV_*=y for sunxi (#4641) 2023-01-03 01:11:36 +01:00
catalinii
48e45d0c9c
Mainline support for Rock 5B (#4606)
Co-authored-by: root <catalinii@yahoo.com>
2023-01-01 10:01:16 -08:00
Ricardo Pardini
18198b1d7d
orangepi5.wip: initial OrangePi5 support; collab with @efectn (#4582)
* `orangepi5.wip`: initial OrangePi5 support

- OPi5's Xunlong vendor u-boot; override family in board hook
  - using original config from vendor, needs `BOOT_SOC`
- OPi5's kernel patches, all extracted from Xunlong's tree
  - Only enable the DT patch and the Motorcomm PHY patch
  - Other stuff that looks might be useful is grouped in a few other disabled patches
  - Most panel/overlays/etc from Xunlong tree not included
- everything is on top of existing `rockchip-rk3588` family,
  - thus the same crazy half-android rk kernel tree and ancient rk u-boot

Co-authored-by: Muhammed Efe Çetin <efectn@protonmail.com>
Co-authored-by: Ricardo Pardini <ricardo@pardini.net>

* `linux-rockchip-rk3588-legacy`: `.config` updated to 5.10.110; no actual changes

- prepare for merging Xunlong config

* `linux-rockchip-rk3588-legacy`: `.config` Xunlong config, manually merged; preserved previous PR's

- preserved previous PR's changes:
  - 1fdbab346a
  - bf3b8a8fb7
  - 7a3ad3afb2
  - f1952f97f4
  - ab70cb247f
  - 62adba7825
  - ba10622c32
  - cd4da2a77b
  - 7b3325c95e
  - b4945d973c
  - a8473e8143

* `linux-rockchip-rk3588-legacy`: `.config` re-updated to 5.10.110 after Xunlong changes

* OPi5: `rockchip-rk3588-legacy`: add patch to remove chosen > bootargs from `rk3588-linux.dtsi`

* Opi5: add build targets (by Igor)

Co-authored-by: Ricardo Pardini <ricardo@pardini.net>

Co-authored-by: Muhammed Efe Çetin <efectn@protonmail.com>
Co-authored-by: Igor <igor@armbian.com>
2022-12-31 16:55:55 +01:00
Igor
d76643db70
Enable on two others 2022-12-28 09:07:43 +01:00
Barry Lind (SteeManMI)
36484b7d6f In researching a post in the forums, I found that the meson64-edge kernel
config doesn't include rtl8822cs (which apparently some TV boxes use).
This is enabled in most kernel configs:

linux-bcm2711-current.config:CONFIG_RTL8822CS=m
linux-bcm2711-edge.config:CONFIG_RTL8822CS=m
linux-imx6-current.config:CONFIG_RTL8822CS=m
linux-imx6-edge.config:CONFIG_RTL8822CS=m
linux-media-current.config:CONFIG_RTL8822CS=m
linux-media-edge.config:CONFIG_RTL8822CS=m
linux-media-legacy.config:# CONFIG_RTL8822CS is not set
linux-meson64-current.config:CONFIG_RTL8822CS=m
linux-meson64-edge.config:# CONFIG_RTL8822CS is not set
linux-mvebu64-current.config:CONFIG_RTL8822CS=m
linux-mvebu64-edge.config:CONFIG_RTL8822CS=m
linux-mvebu-current.config:CONFIG_RTL8822CS=m
linux-mvebu-edge.config:CONFIG_RTL8822CS=m
linux-odroidxu4-edge.config:CONFIG_RTL8822CS=m
linux-rk322x-current.config:CONFIG_RTL8822CS=m
linux-rk322x-edge.config:CONFIG_RTL8822CS=m
linux-rockchip64-current.config:CONFIG_RTL8822CS=m
linux-rockchip64-edge.config:CONFIG_RTL8822CS=m
linux-rockchip-current.config:CONFIG_RTL8822CS=m
linux-rockchip-edge.config:# CONFIG_RTL8822CS is not set
linux-rockchip-rk3588-legacy.config:# CONFIG_RTL8822CS is not set
linux-sunxi64-current.config:CONFIG_RTL8822CS=m
linux-sunxi64-edge.config:CONFIG_RTL8822CS=m
linux-sunxi64-legacy.config:CONFIG_RTL8822CS=m
linux-sunxi-current.config:CONFIG_RTL8822CS=m
linux-sunxi-edge.config:CONFIG_RTL8822CS=m
linux-sunxi-legacy.config:CONFIG_RTL8822CS=m
linux-uefi-arm64-current.config:CONFIG_RTL8822CS=m
linux-uefi-arm64-edge.config:# CONFIG_RTL8822CS is not set
linux-uefi-riscv64-current.config:# CONFIG_RTL8822CS is not set
linux-uefi-riscv64-edge.config:# CONFIG_RTL8822CS is not set
linux-uefi-x86-current.config:CONFIG_RTL8822CS=m
linux-uefi-x86-edge.config:CONFIG_RTL8822CS=m

This commit enables this for just the meson64-edge kernel as that resolves the
issue I was researching, but I suspect it probably should also be enabled for
rockchip-edge as well, but I don't have any such devices.

On branch rtl8822cs_meson64_edge
Changes to be committed:
	modified:   ../kernel/linux-meson64-edge.config
2022-12-27 16:08:43 -05:00
Oleg
94b921ff2b
fix build kernel media legacy\curren\edge (#4617) 2022-12-27 21:10:15 +01:00
Jamie Starke
2115899f6a
Enable ISCSI_TCP for Rock 5b (#4611)
This support was added for all other boards in https://github.com/armbian/build/pull/2300.
2022-12-24 16:57:52 -08:00
Igor Pečovnik
ce61bd7827
Update kernel configs for Meson64 CURRENT / EDGE (#4585) 2022-12-18 20:49:59 +01:00
The-going
0a4822d2f5
Bump sunxi (#4580)
* Bump sunxi - tested for build

* Add configs

* Bump sunxi - tested for build

* Add configs

* sunxi-6.1: add series.conf file include megous patches

* Switch to initial tag=v6.1

* Add patches fixses

* Switch CURRENT to v5.15.83

Co-authored-by: Igor <igor@armbian.com>
2022-12-17 15:58:45 +01:00
Igor Pečovnik
b9b8912de0
Bump rockchip64 EDGE to 6.1 with disabling few drivers (#4570)
* Bump rockchip64 EDGE to 6.1 with disabling few drivers

Broken fsusb30, uwe5662, lps170, simple panel ...

* Fix Rpi4 from not generating DT
2022-12-14 16:44:53 +01:00
Oleg
276f346ee9
move kernel media to current 6.0 and edge 6.1 (#4566) 2022-12-14 10:17:09 +01:00
Igor Pečovnik
c0001d566b
Bump bcm, imx, mvebu64 and xu4 EDGE to 6.1.y (#4560)
* Bump bcm, imx, mvebu64, xu4 and rockchip to 6.1.y

* Add configs for imx6 and xu4

* Add broadcom kernel config

* Move XU4 edge to mainline kernel as hardkernel branch contain nothing for it

* Move Rockchip64 EDGE to 6.1

* Move rockchip (32 bit) edge to kernel 6.1

* Move rk322x edge kernel to 6.1

Co-authored-by: Paolo Sabatino <paolo.sabatino@gmail.com>
2022-12-14 01:43:31 +01:00
hzyitc
e4bb1fed8f
meson: edge: bump to v6.1 (#4562)
* meson: edge: Bump v6.1
* meson: edge: refresh patches
* meson: edge: refresh config
2022-12-13 14:42:31 +01:00
Nyanmisaka
a8473e8143
Enable ath10k pcie card for rock-5b (#4551)
support for Qualcomm 802.11ac wlan cards.

Signed-off-by: nyanmisaka <nst799610810@gmail.com>

Signed-off-by: nyanmisaka <nst799610810@gmail.com>
2022-12-12 08:15:10 +01:00
Oleg
6762c278b8
fix buils kernel media deb (#4538) 2022-12-07 21:27:42 +01:00
Ivan Podogov
b4945d973c
Use modules for btintel, btbcm, btrtl, btusb (#4541)
Radxa's official guide for the A8 card says these modules should be blacklisted,
but you can't blacklist them unless they're built as modules.
2022-12-07 13:22:08 +01:00
Ivan Podogov
7b3325c95e
Enable RTL8852BU (#4537)
It's enabled in the Radxa config
2022-12-06 21:52:23 +01:00
Igor Pečovnik
0428c18033
Revert bootloader for R4S and Neo3, adjust names (#4510)
* Enable CONFIG_BPF_SYSCALL which might improve Docker support

* Adjust board names

* Move neo3 to previous bootloader too

* Disable 3d support on rock64
2022-11-29 19:47:37 +01:00
blahblahblah303
cd4da2a77b
Adding in kernel module for controller support (#4448) 2022-11-16 18:40:14 +01:00
hzyitc
6328187c1f
meson: legacy: bump to 5.10.155 (#4451) 2022-11-16 18:39:36 +01:00
Paolo
ed2c6d3c67
rockchip: advance edge kernel to v6.0 (#4445) 2022-11-15 20:22:47 +01:00
Paolo
c95f5157f7
rockchip64: fix broken 6.0 drivers, reshape config (#4442) 2022-11-15 20:19:30 +01:00
Paolo
35db7a3995
rk322x: bump kernel to 6.0 (#4443)
* rk322x: advance edge kernel to 6.0

 * accomodate fixes to ssv6051, esp8089 and rtl8723cs drivers, dmc
   driver, mglru patch
 * update libreelec patches to latest bits

* import fix from ssv6051 driver for 64-bit
2022-11-15 20:19:17 +01:00
Oleg
c29e51c708
move kernel media-edge to 6.0.7 (#4405)
* move kernel media-edge to 6.0.7

* fix name
2022-11-12 10:51:25 +01:00
Oleg
738c161307
move kernel media-current to 5.19.17 (#4406)
* move kernel media-current to 5.19.17

* fix name
2022-11-12 10:11:22 +01:00
Igor Pečovnik
2813365dd2
Move known non working rockhip64 boards to previous boot loader (#4392)
* Move known non working rockhip64 boards to previous boot loader

* Auto label trigger this several times in a row
2022-11-07 21:29:00 +01:00
Igor Pečovnik
3e701a857a
Add initial RiscV support (#4387)
* Add initial RISCV support

* Add UEFI edge and current kernel configs

* Cleanup and adjust packages

* Those files were in wrong path

* Fix locations

* Ubuntu images built

* Remove Debian support as its too fragile

* Remove Pinta as it doesn't work under riscv

* Limitation is only for building images

* Remove obsolete switch

* Cleanup major arch config files

* Support for Docker building
2022-11-06 20:33:11 +01:00
Oleg
75a3aa7c9a
kernel station-p2-legacy 4.19.232 (#4374) 2022-11-05 08:17:01 +01:00
Igor Pečovnik
ab5fc1bfcb
Bump sunxi kernels (#4381) 2022-11-05 08:16:26 +01:00
David Manouchehri
ba10622c32
Opportunistically build with kASLR. If it cannot be enabled due to (#4372)
lack of seed, the kernel will simply print a warning and continue.
2022-11-05 07:56:19 +01:00
Oleg
1859928454
kernel station-m3 update (#4375) 2022-11-05 07:55:43 +01:00
Igor Pečovnik
9f7d9ff5c3
Add CSC Odroid M1 with legacy, current and edge kernel (#4368)
* `odroidm1`.wip: hk's `legacy`= 4.19 and `edge`= mainline+tobetter's 5.19 rebased; *requires* `skip_spiboot=true`

- @TODO: family/etc naming is terrible with vendor kernels. Sorry. Fight over it and let me know?
- @TODO: config is very probably incomplete.
- new `boot-rockchip64-vendor.cmd`:
  - does not use fixed load_addr, instead use ramdisk_addr_r for everything
  - load kernel and initrd as late as possible
  - look for overlays twice:
    - once: with prefix and folder
    - twice: without prefix, nor folder; helps with vendor provided overlays like hk's and tobetter's
- wip: edge: tobetter's patchset rebased against 5.19.3
- wip: edge: bump to tobetter's 5.19
- legacy: .config `CONFIG_ARM64_VA_BITS_48=y`
- wip m1: update legacy config from odroid
- odroidm1: container/bpf stuff in legacy config

* Update configs and enable beta build target

* Adjust current kernel

* Update targets

* Remove everything but EDGE kernel

* Cleanup

* Fix

Co-authored-by: Ricardo Pardini <ricardo@pardini.net>
2022-10-30 21:09:16 +01:00
Oleg
2cdfc4bf0b
fix wifi\bt and analog sound for opi800 (#4364) 2022-10-29 10:51:18 +02:00
Igor Pečovnik
63fa7cb0cc
Bump sunxi to latest and remove deprecated patch (#4351) 2022-10-26 18:00:36 +02:00
Vyacheslav
e13d750814
Re-enable RTL8822CS in meson64-edge and for kernel 6.0+ (#4350) 2022-10-26 13:48:13 +02:00
hzyitc
01e5e2ca37
meson: edge: bump v6.0 (#4348)
* meson: edge: Bump v6.0

* meson: edge: refresh patches

* meson: edge: refresh config
2022-10-26 09:33:31 +02:00
Igor Pečovnik
85977f1091
Fixes for Media CURRENT and XU4 edge (#4346) 2022-10-25 21:50:42 +02:00
The-going
bd72c996b7
Bump sunxi to 6.0.y (#4282)
* sunxi-6.0: initial state: add megous patches to series

* sunxi-6.0: Switch to v6.0.1

* wifi: Limit the version 6.0 for Realtek 88x2cs chipsets

* Adjust kernel configs

* Remove not needed patches

* Adjust broken patches

Co-authored-by: Igor <igor@armbian.com>
2022-10-25 20:39:08 +02:00
Igor Pečovnik
f2c2bba069
Bump imx6 edge to 6.0.y (#4339) 2022-10-25 20:38:56 +02:00
Igor Pečovnik
5a82aea458
Bump UEFI edge kernels to 6.0.y (#4340) 2022-10-25 20:38:44 +02:00
Igor Pečovnik
1b12209ded
Bump meson64 edge to 6.0.y (#4341)
* Bump meson64 edge to 6.0.y

* meson64: drop `pwm-gpio` unused patch from 5.19

* meson64: drop `pwm-gpio` unused patch from 6.0

Co-authored-by: Ricardo Pardini <ricardo@pardini.net>
2022-10-25 20:38:31 +02:00
Igor Pečovnik
0ae44fdf5a
Bump mvebu 64 edge to 6.0.y (#4342) 2022-10-25 20:38:20 +02:00
Igor Pečovnik
acc331a143
Bump XU4 edge to 6.0 (#4345)
build test
2022-10-25 20:37:56 +02:00
Igor Pečovnik
32a1b1409f
Bump Rpi EDGE kernel to 6.0.y (#4338)
* Bump rpi to 6.0.y

* Add Kinetic
2022-10-25 17:53:55 +02:00
Igor Pečovnik
a6c02f5e05
Additional fixes for Rockchip64 EDGE kernel (#4343) 2022-10-25 17:53:38 +02:00
Igor Pečovnik
6765f734cc
Bump rockchip64 edge to 6.0.y (#4337)
* Bump rockchip64 edge to 6.0.y

Build test passing

* Update kernel config, enable aufs, disable broken wireless, remove deprecated patch
2022-10-25 11:26:51 +02:00
Igor Pečovnik
e2765ce892
Adjust media edge kernel compilation (#4314) 2022-10-22 00:11:03 +02:00
Igor Pečovnik
0dcb2fdf56
Remove mvebu/mvebu64 legacy kernels (#4292) 2022-10-22 00:10:52 +02:00
Jianfeng Liu
62adba7825
rk3588: enable rtw88 to enable rtl882xce wireless card (#4302) 2022-10-18 20:46:17 +02:00
Igor Pečovnik
3ed6c224f1
Remove deprecated kernels (#4283)
* Remove deprecated Odroid XU4 legacy 4.14.y branch

* Clean deprecated kernels from meson64 family

- legacy kernel 4.9 was removed
- current 5.10 was replaced with 5.19
- edge remains on 5.19 until someone bumps it to 6
- patches between 5.11 and 5.18 were removed, 5.10 will be kept for awhile

* Update configs
2022-10-15 19:32:53 +02:00
brentr
f6f3f1b8b0
Restored Hardware Random Number Generator from legacy (4.4) kernel (#4286)
so boot no longer starves for entropy, delaying for up to 15 seconds
Advances kernel to v5.19.15
2022-10-15 10:46:04 +02:00
Paolo
78bbdf44d0
rockchip64: add ssv6051p wifi driver for current and edge kernel (#4269)
* Add ssv6051p wifi driver for rockchip64 current and edge kernel

 * also reorders and tidies device tree overlays for rk3318-box

* increase ssv6051 sdio bus to 50MHz in the driver
2022-10-12 11:22:33 +02:00
hzyitc
f2a61e9888
meson: edge: bump v5.19 (#4272)
* meson: edge: Bump v5.19

* meson: edge: refresh patches

* meson: edge: refresh config
2022-10-12 11:22:14 +02:00
Igor Pečovnik
a4c952c8cf
Bump versions, adjust kernel configs (#4276) 2022-10-12 11:21:41 +02:00
Oleg
3ff351cc52
move media current 5.19 and edge 6.0 (#4262)
* move media current 5.19 and edge 6.0

* del old patch
2022-10-06 18:07:36 +02:00
Igor Pečovnik
15cab819fe
Add support for Bananapi M5 / M2P (#4251)
* Add initial support for Bananapi M5 / M2P

* Move to a branch that was tested with eMMC
2022-10-04 10:50:00 +02:00
Paolo Sabatino
c5117ff37a rk322x: add esp8089 driver for mainline kernels 2022-10-03 14:34:13 +02:00
Oleg
15da346cf9
add Station M3 rk3588s (#4158) 2022-09-26 18:35:49 +02:00
unifreq
ab70cb247f
rockchip-rk3588-legacy: kernel patch up to 5.10.72 (#4195)
* scripts: fix modpost & lld-version

* rockchip-rk4588-legacy: patch-5.10.69-70

* rockchip-rk3588-legacy: patch-5.10.70-71

* rockchip-rk3588-legacy: patch-5.10.71-72

* drv: usb: gadget: legacy: fix webcam.c compilation errors

    drv: usb: gadget: legacy: fix webcam.c compilation errors
    drivers/usb/gadget/legacy/webcam.c: In function ‘webcam_bind’:
    drivers/usb/gadget/legacy/webcam.c:386:37: error: ‘UVC_NUM_REQUESTS’ undeclared (first use in this function)
      386 |         uvc_opts->uvc_num_request = UVC_NUM_REQUESTS;
          |                                     ^~~~~~~~~~~~~~~~

* Update config

Co-authored-by: Igor <igor@armbian.com>
2022-09-20 21:34:48 +02:00
Igor Pečovnik
c2d29fda3c
Update x86 UEFI kernel configs with latest Ubuntu desktop 22.04 (#4210) 2022-09-20 21:34:35 +02:00
Igor Pečovnik
667aa86309
Disable event debugging on UEFI builds (#4206) 2022-09-20 17:21:02 +02:00
Igor Pečovnik
2f1140edb1
Re-enable Neo3 in the EDGE kernel (#4193) 2022-09-20 08:50:23 +02:00
hzyitc
68b65b989b
meson: clean kernel config (#4196) 2022-09-20 04:02:53 +02:00
Shengyu Qu
f1952f97f4
Enable ath11k pcie card support (#4192) 2022-09-16 06:42:36 +02:00
hzyitc
1ad2e6aeb0
meson: current and legacy: Support HDMI (#4177)
* meson: current: Support HDMI
* meson: legacy: Support HDMI
2022-09-14 16:33:44 +02:00
Igor Pečovnik
e066bf1bf3
Re-enable xradio on sunxi64-current (#4160)
* Re-enable xradio on sunxi64-current

* Fix path
2022-09-07 20:53:59 +02:00
Igor Pečovnik
4b21499534
Bump sunxi kernels to latest (#4157) 2022-09-06 09:39:07 +02:00
Igor Pečovnik
0d6ebeab2e
Kernel config cleanup (#4156)
* Kernel config cleanup

* Add rpi
2022-09-05 11:12:39 +02:00
Warrick W
f6fb1fc1b0
These two modules are required to support the serial uart peripheral. They are loaded by the debian init scripts in the initramfs, but userspace serial console doesn't work until after. This makes for a very difficult experience if replacing init, where the serial console output is entirely missing unless you're able to load these modules. (#4150) 2022-09-03 23:20:08 +02:00
juanesf
7ee2157dbd
Activate sun4i_csi module in linux-sunxi-current. (#4141)
Activating sun4i_csi as a kernel module is required to activate csi0/1 on sun4i-a10, sun7i-a20 and sun8i-r40.
2022-09-01 23:07:48 +02:00
Paolo
cd58683a75
rk322x: device tree tidying up, add cooling maps and ir remote maps (#4126)
* tidy up rk322x dtb for edge, add cooling maps

* tidy up rk322x dtb for current, add cooling maps

* add rk322x tvbox remote keymap for current kernel
2022-09-01 23:07:00 +02:00
juanesf
b887204a44
Activate sun4i_csi module in linux-sunxi-edge (#4142)
Activating sun4i_csi as a kernel module is required to activate csi0/1 on sun4i-a10, sun7i-a20 and sun8i-r40.
2022-09-01 23:06:37 +02:00
Igor Pečovnik
2c6f0c70e6
Re-enable Kernel bootsplash for 5.15.y or higher (#4132)
Tested on Meson64 and Rockchip64

Wasn't that hard after all :)
2022-08-30 07:52:06 +02:00
Igor Pečovnik
2fb3aaaf86
Add patches needed for Pi-KVM on Rpi4 (#4127)
* Add patches needed for Pi-KVM on Rpi4

* Remove patch that does not belong here

* Update config

* Update edge config
2022-08-29 08:43:24 +02:00
hzyitc
7439ebbbeb
meson: edge: bump to mainline v5.18 (#4123)
* meson: edge: switch back to mainline linux-5.18.y

* meson: edge: Upgrade config
2022-08-28 07:59:45 +02:00
Igor Pečovnik
38df56fbf3
Move to tag and remove not needed patches (#4120) 2022-08-27 08:33:30 +02:00
Igor Pečovnik
7a3ad3afb2
Enable Docker up on Rock 5 (#4058)
* Attempt to bring Docker up

* Update txt

* Add few patches
2022-08-26 00:45:10 +02:00
Igor Pečovnik
3bb12e09a6
Bump sunxi to latest version (#4115)
* Bump sunxi

* sunxi-5.19: Delete unnecessary (#4116)

* sunxi-5.15: Delete unnecessary

* sunxi-5.15: fix rebase to v5.15.63

Co-authored-by: The-going <48602507+The-going@users.noreply.github.com>
2022-08-26 00:44:56 +02:00
Oleg
fd3fec26d7
fix build 5.18.19 (#4106) 2022-08-22 15:11:52 +02:00
Igor Pečovnik
9333893d74
Bump sunxi to 5.19.3 (#4100)
* Bump sunxi to 5.19.y

* Bump sunxi (#4103)

* sunxi-5.19: Empty. Patch Adaptation

* sunxi-5.19: Add multiple patches from the megous upstream

Co-authored-by: The-going <48602507+The-going@users.noreply.github.com>
2022-08-21 20:45:11 +02:00
hzyitc
6ba59da07a
meson: bump kernel versions (#4102)
* meson: bump version

bump edge to thirdparty linux-5.18-rc7
bump current to linux-5.15
change legacy back to LTS linux-5.10

* Upgrade kernel config

* meson: edge and current: Enable NTFS3 driver
2022-08-21 20:44:50 +02:00
Igor Pecovnik
7a9991a650 Fix the same in lps170 driver and refresh kernel config 2022-08-21 14:40:58 +02:00
Oleg
6123307c2a
fix buid kernel 5.19.2\5.18.8 (#4088) 2022-08-19 18:10:30 +02:00
Julian Sikorski
63ad684261
Update odroidxu4 current to 5.4.210 and edge to 5.19.0 (#4068)
* Update odroidxu4-current to 5.4.210

* Adjust kernel configs and move EDGE to 5.19.y

Co-authored-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2022-08-13 21:17:19 +02:00
Igor Pečovnik
f06452c091
Enable AUFS, adjust kernel configs (#4054)
* Enable AUFS, adjust kernel configs

* Enable aufs

* rpi
2022-08-09 09:14:53 +02:00
The-going
97c6e5e9dd
sunxi-5.19: Initial state for megous patches (#4048)
* sunxi-5.19: Initial state for megous patches

* Add the ability to do 5.19

* Move to 5.19

- tested both
- removed broken Opi Zero xradio driver https://armbian.atlassian.net/browse/AR-1280

* sunxi-5.19: fix tag for switch

* sunxi-5.19: Initial state for armbian patches

* sunxi-5.19: Add armbian patches to series.conf file

* sanxi-5.19: Add other 2 patches

* sunxi-5.19: Limit to use the 'wireless/xradio' module

Limit the kernel version to less than 5.19 to use
the 'wireless/xradio' module

Co-authored-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2022-08-05 21:23:49 +03:00
Ricardo Pardini
73691a9e24
meson64: edge: rework to kernel 5.19 (#3941)
* meson64-edge/5.19: use `tag:v5.19-rc2`, meson64 kernel config and kernel patches, by @adeepv

* meson64-edge/5.19: we don't need `CONFIG_ARCH_ROCKCHIP=y` for meson64, right?

* meson64-edge/5.19: remove `meson_drv_shutdown` revert patch, instead `CONFIG_DRM_MESON=y` and its dependencies in .config

- this allows other meson64's to shutdown properly, while allowing the N2(+) to reboot without kernel-side hangs

* meson64-edge/5.19: odroidn2(+): remove SD UHS modes patch for ODROID N2(+)

- it works when cold-booted
- but changes voltage to enable
- when rebooted, voltage persists and uboot can't read the SD anymore
- adding the "odroid,reboot" driver+dt that is supposed to fix this, doesn't
- so for now remove it

* meson64-edge/5.19: odroidn2(+): add dumb gpio fan at 30 celsius

- backport from rework in 5.10

* meson64-edge/5.19: odroidhc4: bring back `fan1_input` by adding fan details to DT

- yeah, I know; the cooling map is right there too, so empty, poor thing. for later.

* meson64-edge/5.19: bump to 5.19-rc3

* meson64-edge/5.19: radxa-zero: add patch to remove UHS mode so `wifi` works

- sent by @pyavitz: https://raw.githubusercontent.com/pyavitz/debian-image-builder/feature/patches/amlogic/radxazero/wifi/001-arm64-dts-amlogic-radxa-zero-sdio-card-speed.patch
- tested by @lanefu

* meson64-edge/5.19: bump to 5.19-rc4

* meson64-edge/5.19: bump to 5.19-rc5

* meson64-edge/5.19: bump to 5.19-rc7

* meson64-edge/5.19: bump to 5.19.y branch, which is 5.19.0 right now

* Add kernel config - tested on Odroid N2+

Co-authored-by: Vyacheslav Bocharov <adeep@lexina.in>
Co-authored-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2022-08-04 21:50:40 +02:00
Igor Pečovnik
1a276577a4
Bump bcm2711, uefi, imx6, media and mvebu64 EDGE kernels to 5.19.y (#4044)
* Bump bcm2711 edge to 5.19.y

* Bump imx6, media and mvevu64 edge to 5.19.y

* Bump UEFI kernels
2022-08-04 21:49:35 +02:00
Paolo
c87542aba2
rockchip: switch edge kernel to v5.19 (#4045) 2022-08-04 11:20:06 +02:00
Paolo Sabatino
d064b2dce2 rk322x: advance edge kernel to 5.19 2022-08-03 19:10:25 +02:00
catalinii
bf3b8a8fb7
Enable btusb driver and sync the config for rockchip-rk3588 legacy kernel (#4038)
Co-authored-by: Catalin Toda <catalinii@yahoo.com>
2022-07-31 23:57:00 -07:00
Igor Pečovnik
21fc940aaf
Several small bug fixes mainly outside supported areas (#4032)
* - disable few targets
- update unsupported kernel config
- bugfix on dtb install
- bugfix in download engine

* - fix broken compilation
- move onecloud to eos
2022-07-31 10:34:48 +02:00
catalinii
1fdbab346a
rock-5b: add initial radxa rock-5b .wip (#4026)
* rock-5b: add initial raxda rock-5b .wip (by @amazingfate); vendor u-boot & kernel

- .wip board
- using BOARDFAMILY `rk35xx`, which was for rock-3a
- patch by @piter75 uboot for working 'source' command so boot.scr can be used, and not extlinux
- .config: hammer CONFIG_JOYSTICK_XPAD & CONFIG_JOYSTICK_PSXPAD_SPI
- rock5 add kernel optiions by @lanefu
- disable CONFIG_LOCALVERSION_AUTO otherwise packaging goes insane
- make its kernel is own LINUXFAMILY to as to not mess up rock-3a
- CONFIG_VT=y & SKIP_BOOTSPLASH="yes"

* Add separate family for rock 5b - rockchip-rk3588

Co-authored-by: amazingfate <liujianfeng1994@gmail.com>
Co-authored-by: root <catalinii@yahoo.com>
2022-07-29 09:21:27 -07:00
Paolo
fa89975db7
rockchip64: remove inno-usb3 rk3328 driver from EDGE kernel, remove/rename affected board files (#4006) 2022-07-27 08:47:48 +02:00
hzyitc
df1f0b4fdc
Onecloud: fix bugs (#4022)
* Support pwm regulator

* meson: Fix MAC
Remove useless codes from odroidc1

* Bugfix: xorg config

* dts: mark regulators always-on
2022-07-25 11:37:15 +02:00
Paolo Sabatino
fc1cdbb9e5 rk322x: enable apparmor and kprobes for current and edge kernels, enable aufs for edge 2022-07-09 11:12:48 +02:00
balbes150
2e1b4eed73 move kernel media to current 5.18 and edge 5.19 2022-07-04 16:18:31 +03:00
Igor Pečovnik
996979120d
Fix wrong kernel config parameter (#3932) 2022-06-25 18:34:55 +02:00
Igor Pečovnik
2fe6d2edfa
Disable broken wireless driver (#3924) 2022-06-21 13:39:25 +02:00
Igor Pečovnik
fef9b50c7b
Update drivers (#3918)
- skip legacy since they mainly fails
2022-06-20 15:32:04 +02:00
Igor Pečovnik
10fcf7975e
Setting meson64 legacy to last known working tag (#3919)
We are ditching this kernel when possible so its not use to maintain its HEAD. Currently it breaks compilation with default settings.
2022-06-20 08:51:47 +02:00
Paolo Sabatino
32e53163b5 rockchip64: make timer and gpio led triggers built-in for edge kernel 2022-06-20 08:35:13 +02:00
Paolo Sabatino
0e44d7b46b rockchip64: set kernel config for timer trigger as built-in, enable brcmfmac driver for legacy 2022-06-20 08:35:13 +02:00
Paolo
388e9bbf5e
Support for OrangePi4 LTS board (#3770)
* orange pi 4 LTS support added (uwe5622 wifi driver, es8316c codec)

* add orangepi 4 LTS device tree
* add uwe5622 driver to 5.15 and 5.18 rockchip64 patches
* add wpasupplicant to jammy cli packages
* fix es8316c asound.state (zeroing stereo enhancement which causes distortion)

* Add build targets

* Move from WIP state

Co-authored-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2022-06-14 12:11:33 +02:00
Malcolm Ke Win
369b0909f6
Add support for KProbes in all armbian kernels (#3892)
* Update linux-sunxi64-current.config

anbox-modules needs kprobes
https://github.com/armbian/build/issues/3883

* Enable this everywhere

sed -i -- 's/# CONFIG_KPROBES is not set/CONFIG_KPROBES=y/g' *.config

Co-authored-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2022-06-14 12:03:01 +02:00
Paolo Sabatino
17b4fb913c rockchip64: bump edge kernel config to 5.18, disable csgpio patch due to mainline clashing 2022-06-14 09:33:41 +02:00
hzyitc
a863b5a242
Onecloud: fix some bugs (#3873)
* Refactor patches

* Fix bug: the USB closed to the HDMI doesn't work

* Fix bug: cpufreq doesn't work

* Fix bug: thermal_zone doesn't work

* More frequency governors

* Add bootscript

* Fix bug: add missing dependency
needed for gcc-arm-8.3-2019.03-x86_64-arm-linux-gnueabihf
2022-06-11 18:03:03 +02:00
Igor Pečovnik
3e8df6ec6e
Switch kernel version of sunxi and update their config (#3869)
Also update bcm2711 config
2022-06-08 20:27:44 +02:00
Igor Pečovnik
e7f25237d5
Remove broken wireless drivers (#3868) 2022-06-07 15:48:30 +02:00
Igor Pečovnik
1ba9d9db41
Remove this broken driver (#3867) 2022-06-07 10:40:48 +02:00
Igor Pečovnik
8ba7b7e214
Switching the rest to 5.18.y (#3860)
* Update kernel configs

* Switch sunxi edge to 5.18.y

* Move sunxi to 5.18.y and re-enable AUFS

* Change version - temporally to make a build from here

* Update config

* 88xx was fixed in the mean time.

* Put version back

* Fix sunxi legacy, disable aufs on 5.10.y since its broken

* Upstream changed in the mean time

* Add a patch to enable 8821cu compilation at 5.18

https://github.com/armbian/build/pull/3814

* Re-enable CONFIG_RTL8822BU in edge

* Update CONFIG_RTL8XXXU

* Bump imx6

* Bump uefi kernels to 5.18.y

* Bump mvebu64 and switch odroid xu4 to 5.18
2022-06-07 07:49:08 +02:00
Jianfeng Liu
a9cc1d3e55
enable rtl8812au (#3861) 2022-06-06 10:05:51 +02:00
supdrewin
add515c7f4
rockchip64-edge: enable iwlwifi (#3857) 2022-06-06 10:05:40 +02:00
Paolo
809ce98a75
rk322x: move edge kernel to v5.18 (#3844)
Co-authored-by: Igor Pečovnik <igorpecovnik@users.noreply.github.com>
2022-05-29 17:26:16 +02:00
Paolo
3c4189e311
rockchip: upgrade edge kernel to v5.18 (#3842) 2022-05-29 17:15:36 +02:00
Jianfeng Liu
597d2dac11
update rockchip64-edge to 5.18 (#3814) 2022-05-28 07:56:22 +02:00
Oleg
98c13e2976
fix kernel legacy Station M1 (#3813) 2022-05-25 17:30:18 +02:00
Oleg
ba7912c0c9
move kernel media 5.17.9 and 5.18-rc7 (#3792)
* move kernel media 5.17.9 and 5.18-rc7

* kernel edge 5.18
2022-05-23 16:17:09 +02:00
Derek
c1eb4e0c64
Changes to allow building for Macchiatobin and building modules necessary to operate mcbin hardware (#3784)
* tf-a sources use mrvl_flash rather than 'all' target

* add armada 8k ethernet and SFP cages for macchiatobin use

* u-boot configuration for mcbin

* fix bootscript for u-boot variables

* separate ebin and mcbin with if statements

* add a8k PCIe and CPUFreq drivers for macchiatobin
2022-05-23 16:16:12 +02:00
hzyitc
c4b62f848f
meson8b: Support HDMI (#3794)
* meson8b: Support HDMI

* meson8b: drm: Forcefully enable XRGB format

* Bump kernel version

* Upgrade configs

* Swap current and edge
2022-05-23 15:58:38 +02:00
Jianfeng Liu
32ea157fa5
enable CONFIG_MMC_SDHCI_OF_DWCMSHC for rockchip64-edge (#3806) 2022-05-23 15:54:07 +02:00
Julian Sikorski
2c0a0a5e23
Update odroidxu4-current to 5.4.195 (#3791)
* Update odroidxu4-current to 5.4.193

* Update odroidxu4-current to 5.4.195

* Update kernel config
2022-05-18 22:47:48 +02:00
Igor Pečovnik
42995480ba
Disable broken wireless / 8822bu would need adjustment for legacy kernels, but we don't need that (#3773) 2022-05-12 19:55:30 +02:00
hzyitc
965ce372de
Support Xunlei Onecloud (#3749)
* Support Xunlei Onecloud

* meson: more led triggers
2022-05-12 19:12:21 +02:00
Paolo
01d334b4a7
Enable BPF filters for rk322x-current and edge (#3777)
* rk322x: add support for ssv6030p (disguise it as ssv6051p)

* rk322x: enable BPF filters and ancillary options, remove ssv6030 patches

* rk322x: enable BPF filters for edge 5.17 kernel
2022-05-12 19:11:53 +02:00
CXM
1f54bc33b8
Add clockworkpi-a06 support (#3768)
* feat: add clockworkpi-a06 support

* fix: disable dpms & screensaver
2022-05-11 21:47:28 +02:00
Igor Pečovnik
b5ebda0911
Disable broken wireless patch (#3764) 2022-05-07 15:51:25 +02:00
catalinii
fc66f374e8
Merge rk35xx-edge into rockchip64-edge (#3765)
* Merge rk35xx boards into rockchip64

* Fix kernel configs
2022-05-07 15:51:11 +02:00
Oleg
0f7606e653
move 5.18-rc5 support jetson-nano (#3754) 2022-05-04 16:16:40 +02:00
hobbsAU
b1ac90fd3e
Thermal / temperature monitoring for jetson nano (#3747)
* Update linux-media-current.config

Adding thermal / temperature monitoring support for jetson nano

* Update linux-media-edge.config

Adding thermal / temperature monitoring support for jetson nano
2022-05-03 15:56:34 +02:00
Igor Pečovnik
897674aa74
Bump and freeze kernel at last known working versions (#3736)
* Freeze kernel at last known working versions

* Fix media kernel

* Update rockchip64 to 5.17.y

* Move patches up

* Re-ad aufs

* Fix rpi kernels
2022-05-03 08:27:32 +02:00
Oleg
57428044ec
move kernel media-current to 5.17 and media-edge to 5.18 (#3726) 2022-05-02 11:36:59 +02:00
Igor Pečovnik
727990ae0e
Bump rpi, imx6 and mvebu EDGE to 5.17.y (#3712) 2022-04-30 18:54:25 +02:00
Paolo Sabatino
ef51fd2096 rk322x: updated libreelec patches, add rk322x generic tv box remote keymap 2022-04-25 22:29:00 +02:00
Oleg
0afe24c957
move kernel media edge to 5.17 (#3704) 2022-04-24 22:33:47 +02:00
Derek
46f666e12a
Espressobin Edge move to 5.17 (#3686)
* update mvebu64 EDGE kernels to 5.17.y

* trusted-firmware documentation says topologies 1, 3, and 8 aren't espressobin
2022-04-23 15:10:45 +02:00
Jose Luis Salas
08cf31de73
all: enable the CONFIG_F2FS_FS_COMPRESSION option (#3689)
* rk35xx: enable the CONFIG_F2FS_FS_COMPRESSION option

This allows to use compression on a F2FS partition to save space and
reduce I/O operations to media.

* all: enable the CONFIG_F2FS_FS_COMPRESSION option
2022-04-19 20:30:56 +02:00
Igor Pečovnik
003a353d15
Re-enable AUFS (fixed on 5.17.y) and update kernel configs (#3698) 2022-04-19 20:28:32 +02:00
The-going
7c2f24d46c
Move sunxi 5.16 to 5.17 (#3696)
* Add reg_ahci_5v status okay for bananapro board

* Bananapro: add AXP209 regulators

* Fix series.conf, Disable the patch that is not being applied.

* Fix linux-sunxi64-edge.config for v5.17.3

* Fix linux-sunxi-edge.config to v5.17.3

* Switch EDGE to core 5.17 for sunxi

* Remove the old rtl8723cs driver which is incompatible with the new kernel and cannot be used.

* Use AUFS if the kernel version is less than 5.16

* Print the last 20 lines of the log if the kernel compilation failed.

* Set KERNEL_VERSION_LEVEL to 5.17

Co-authored-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2022-04-18 23:26:29 +02:00
The-going
9217407f22
bugfix for build sunxi with implicitly selected configuration parameters (#3690)
* Fix the AC200 driver selection for sunxi-5.17

This eliminates incorrect configuration and compilation errors.

* Fix the AC200 driver selection for sunxi-5.16

This eliminates incorrect configuration and compilation errors.

* Fix the AC200 driver selection for sunxi-5.15

This eliminates incorrect configuration and compilation errors.

* Fix the AC200 driver selection for sunxi-5.10

This eliminates incorrect configuration and compilation errors.

* Configure CURRENT: Build: EXTRAWIFI=no AUFS=no SKIP_BOOTSPLASH=yes

* Revert "Configure CURRENT: Build: EXTRAWIFI=no AUFS=no SKIP_BOOTSPLASH=yes"

This reverts commit 243d90041f.

* Configure kernel: CURRENT: build default options
2022-04-17 10:31:08 +03:00
Igor Pečovnik
2b03a9a646
Upgrade UEFI EDGE kernels to 5.17.y (#3680) 2022-04-16 09:11:54 +02:00
Ukhellfire
2a8e1ecac1
Add Orange Pi 3 LTS Support (#3628)
* Orange Pi 3 LTS
* Enable build targets

Co-authored-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2022-04-12 20:13:37 +02:00
vvv-ca
d504520728
Enable sdhci-of-dwcmshc module (#3671) 2022-04-12 19:08:39 +02:00
Paolo Sabatino
714ab49b1d restore back extra-wifi and aufs config options 2022-04-11 22:05:28 +02:00
Paolo Sabatino
d572c1823a rockchip: move edge kernel to v5.17, remove mainlined pacthes/hunks 2022-04-11 22:05:28 +02:00
Paolo Sabatino
0777be9e75 rk322x: move edge flavour to kernel 5.17, adapt patches were necessary 2022-04-10 16:45:06 +02:00
Jianfeng Liu
a454c462f2
add radxa rock3a pcie3x2 support (#3646) 2022-04-07 09:52:28 -07:00
schwar3kat
bf0289eb23
restore sunxi gpio-sysfs to build (#3635)
add CONFIG_GPIO_SYSFS=y to linux-sunxi64-current.config and linux-sunxi64-edge.config

remove  if EXPERT from /sys/class/gpio/... (sysfs interface) in /drivers/gpio/Kconfig
2022-04-06 06:56:34 +02:00
Oleg
eb54a13b05
update kernel 5.17.1 station-p2-edge (#3637) 2022-04-05 16:18:38 +02:00
chbgdn
82d80d4a15 Bump meson64-edge to 5.17 2022-04-04 12:34:29 +03:00
Jianfeng Liu
dad2d913f1
change rk35xx edge to 5.17.y (#3614)
Co-authored-by: Jianfeng Liu <jfliu@zshield.net>
2022-04-01 21:11:55 -07:00
Paolo Sabatino
8d796c6438 rockchip: uarts kernel config option set to 5 for all kernels 2022-03-26 17:58:48 +00:00
Igor Pečovnik
b150413cb5
Fixing broken rockchip64-edge kernel configuration (#3577) 2022-03-26 12:41:49 +01:00
Oleg
03ef96715e
fix emmc nano-pc-t4 (#3557)
* fix emmc nano-pc-t4
* fix node and del not used patch
2022-03-25 20:51:03 +01:00
schwar3kat
bd840c9c2d
Revert CONFIG_TYPEC_DP_ALTMODE=m (#3555)
Accidental change linux-rockchip64-edge.config
2022-03-24 20:54:30 +01:00
Paolo Sabatino
a20be324b9 rockchip: enable bluetooth serdev for tinkerboard and disable userland binaries 2022-03-24 09:22:47 +00:00
Oleg
f52a4193d0
Adding Pine64 Quartz64a as WIP target (#3539)
* add Quartz64a

* quartz64 to wip

* add m2\p2 current

* move patch archive
2022-03-20 22:58:21 +01:00
Jianfeng Liu
88464cc412
Radxa rock3a gpu support (#3547)
* Refresh the vop2 patch from catalinii

* add SCMI related config to support rk3568 gpu

Co-authored-by: Jianfeng Liu <jfliu@zshield.net>
2022-03-19 07:10:37 -04:00
Paolo Sabatino
13469fd8a9 rk322x: add overlay for USB OTG peripheral mode, add current and edge kernel config options 2022-03-18 17:26:46 +01:00
Oleg
2daf35107d
fix BT and wifi for station m1 legacy (#3533)
* fix BT for station m1 legacy

* add firmware
2022-03-13 09:05:14 +01:00
Igor Pečovnik
5fe0f36aa8
Support for more cpu cores on x86 platform (#3529) 2022-03-09 16:56:31 +01:00
schwar3kat
6ff15fe54f
Add orangepi r1 plus lts (#3514)
* Rockchip64 Linux-5.10y - drivers for Motorcomm YT8531
renamed the previous "net-phy-Add-driver-for-Motorcomm-YT85xx-PHYs.patch" to "net-phy-Add-driver-for-Motorcomm-1-YT85xx-PHYs.patch" to fix patch order and added a new patch "net-phy-Add-driver-for-Motorcomm-2-YT8531-PHYs.patch"
The new YT8531 patch is sourced from from Lean's OpenWrt source rockchip/patches-5.10/601-net-phy-Add-driver-for-Motorcomm-YT8531-PHYs.patch.
It is intended to extend a patch identical to Armbian's "net-phy-Add-driver-for-Motorcomm-YT85xx-PHYs.patch" and is used without alteration.

* Add new board OrangePi R1 LTS (rk3328)
Includes uBoot and support for Linux-5.10y

* Rockchip64 Linux-5.15y drivers for YT8531 and other Motorcomm chips

YT8010, YT8510, YT8511, YT8512, YT8521. The driver patch set is sourced from Xunlong-OrangePi OpenWRT and is used as is, with only a name and makefile change.
A single patch set uses the same underlying source code as the Armbian Linux-5.10y set, but uses inbuilt logic to apply tweaks that depend on the Linux kernel version.
The patch is renamed similarly to the 5.10 patch set, net-phy-Add-driver-for-Motorcomm-T85xx+PHYs.patch to imply code base continuity with the previous similar Armbian patch sets.

* Rockchip64 Linux-5.15y support for Orange Pi R1 Plus LTS

Includes DTS and makefile changes. A driver for net phy YT8531C is in a separate commit

* change orangepi-r1plus-lts.csc to orangepi-r1plus-lts.conf

board is now supported

* - add patch also to 5.16.y
- fix wrong patch permission

* Fix Makefile patch

Co-authored-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2022-02-26 15:03:33 +01:00
Igor Pečovnik
594cf5c3d1
Merge rockhip drm patches into one, adjust configs (#3515) 2022-02-26 14:04:38 +01:00
Piotr Szczepanik
ac8fc43855
Switch rockchip64 current to linux 5.15.y (#3489)
* Switched rockchip64-current to linux 5.15

* Backported and adjusted patches from rockchip64-current

* Switched rockchip64 edge to 5.16.y (#3499)

* Initial rockchip64-edge at 5.16.y
* Bunch of fixes for rockchip64-edge at 5.16.y

Co-authored-by: Igor Pečovnik <igorpecovnik@users.noreply.github.com>
2022-02-26 07:46:44 +01:00
Igor Pecovnik
43f1b097d1
Update kernel configs 2022-02-25 21:00:19 +01:00
Igor Pečovnik
2638284b3b
Enable AUFS and Docker (#3502)
* Enable AUFS and Docker

* Add AUFS to configs

* Update configs
2022-02-17 22:04:55 +01:00
Oleg
b05cb01ae0
fix bootsplash kernel media-edge (#3497) 2022-02-16 13:07:13 +01:00
Oleg
3305d45b81
add firmware wifi for p2\m2 (#3493) 2022-02-15 10:35:52 +01:00
Igor Pecovnik
c79abcd881
Remove not compatible wireless drivers
Can be enabled back once fixed https://armbian.atlassian.net/browse/AR-1091
2022-02-15 10:34:21 +01:00
Igor Pečovnik
cfa4188d4e
Bump UEFI current & edge kernels to 5.15.y / 5.16.y (#3491) 2022-02-14 23:34:40 +01:00
Jannis
3c1dde938c
Merge pull request #3474 from armbian/mvebu-updates
Bump mvebu-current to 5.15 and mvebu-edge to 5.16
2022-02-11 12:16:36 +01:00
Heisath
4de4c42e6f Bump mvebu-current to 5.15 and mvebu-edge to 5.16 2022-02-11 11:00:57 +01:00
Igor Pečovnik
1e37959e53
Bumping sunxi/64, xu4, rockchip and mvebu64 to 5.16.y (#3453)
* Prepare xu4 edge for 5.16.y, move current of imx6 to 5.15.y and edge to 5.16.y

- fix bootsplash on 5.16.y

* rk322x: advance current to 5.15 and edge to 5.16

* rockchip: advance current kernel to 5.15, edge to 5.16

* - adjust configs
- fix bootsplash patches
- adjust aufs

* Switch sunxi / sunxi64 current to 5.15.y, edge to 5.16.y

- cleanup bootsplash patches
- adjust configs

* Update mvebu64

Co-authored-by: Paolo Sabatino <paolo.sabatino@gmail.com>
2022-02-10 20:32:58 +01:00
Oleg
51300f1c7f
update kernel legacy for station m2\p2 (#3469) 2022-02-10 15:00:45 +01:00
iav
4034a8f535
switch RTL8188EU USB WiFi driver with 5.15+ kernel to mainline (#3464)
https://www.phoronix.com/scan.php?page=news_item&px=Linux-5.15-Staging
2022-02-07 09:52:39 +01:00
Oleg
365c5b6e4a
fix start Jetson Nano kernel legacy USB media (#3452) 2022-02-02 10:49:20 +01:00
catalinii
188d6d0a8a
Support edge kernel for Rock 3A and rk35xx (#3371)
* Support edge kernel for Rock 3A and rk35xx

* Removing patch email headers

There is also some script floating around to do this automatically when pooling from patchwork

* Update rk356x-usb2-support.patch

* Remove email headers

* Remove email headers

* Remove email headers

* Update config and change edge branch

* Enable edge beta build

* Refresh the rk35xx patches and update the dts
Remove also previous wireless patches related to IPX removal

* Removing hirsute target

deprecated

Co-authored-by: Catalin Toda <catalinii@yahoo.com>
Co-authored-by: Igor Pečovnik <igorpecovnik@users.noreply.github.com>
Co-authored-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2022-02-01 22:53:43 +01:00
Oleg
e470c8625a
fix add firmware for current (#3419) 2022-01-22 19:49:25 +01:00
Paolo
d1e8c0d27b
rockchip64: add realtek rtl8723cs and rtl8703bs wifi and serdev bluetooth support for edge 5.15 kernel (#3422) 2022-01-22 19:48:34 +01:00
Igor Pecovnik
b568c3aa68
Patch adjustements 2022-01-16 17:57:24 +01:00
Igor Pečovnik
2b8fc08eeb
Adjust broken patches and remove deprecated (#3403) 2022-01-16 14:53:14 +01:00
Oleg
6b490e1694
move kernel edge to 5.16 (#3387) 2022-01-11 15:26:11 +01:00
Igor Pečovnik
4ffef325ba
Several improvements for RPi builds (#3391)
* Several improvements for RPi builds

- attach to RPi kernels
- current (ubuntu) -> legacy
- current -> 5.10.y, edge, 5.15.y

* Move current Rpi to 5.15.y and edge to 5.16.y
2022-01-11 15:25:58 +01:00
Paolo Sabatino
f3388b9aee add ssv6051 driver for kernel 5.10 and 5.15 2022-01-07 11:29:20 +01:00
Igor Pecovnik
2b4e9e6618
Bugfix - legacy kernels doesn't want to play nice with kernel options
When NFSD is enabled as module, kernel does not compile. But it works as build in. Since its pretty pointless to fix in the code, lets use this workaround.

FYI @patrickbkr
2022-01-04 19:57:10 +01:00
Patrick Böker
7698848a93
Unify NFS configuration (#3376)
* Unify NFS configuration
* Fix rk35xx kernel

Co-authored-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2022-01-04 16:16:43 +01:00
Igor Pecovnik
5a6b9b2d78
sun50iw9 - bugfix - change phy driver to build-in since it breaks compilation when added as module 2021-12-30 21:23:27 +01:00
Oleg
08568a6005
add station m2\p2 (#3352) 2021-12-26 16:37:49 +01:00
catalinii
f6143eff67
Fix the uboot for rock-3a (#3271)
* Sync kernel config with radxa and remove packaging patch

* Merge the rockchip64 legacy config as well

* Lower priority of EFI partitioning against DOS partitioning which is used by Armbian

Co-authored-by: Catalin Toda <catalinii@yahoo.com>
2021-12-25 11:57:26 -05:00
Igor Pecovnik
1dc9110887
Bugfix on rk322x legacy - disable wireless driver that breaks on most recent compiler 2021-12-23 21:31:29 +01:00
Oleg
023de68882
switching Jetson Nano edge to kernel 5.15 (#3363) 2021-12-22 07:38:19 -05:00
Igor Pecovnik
62e6415360
Bugfix - disable broken wireless drivers in kernel config 2021-12-18 09:26:52 +01:00
Dan Pasanen
7be9e8b995
rockchip-[current,edge]: add pcie hack and lsi scsi/sas support (#3351)
* build: kernel: rockchip64-[current,edge]: add pcie bus scan delay patches

These are needed for cards like the LSI SAS2008 which needs a little
extra time to initialize or they'll cause a kernel panic.

References:
https://gitlab.manjaro.org/manjaro-arm/packages/core/linux/-/blob/master/0013-rk3399-rp64-pcie-Reimplement-rockchip-PCIe-bus-scan-delay.patch
https://gitlab.manjaro.org/manjaro-arm/packages/core/linux/-/blob/master/0022-arm64-dts-rockchip-Add-pcie-bus-scan-delay-to-rockpr.patch

* config: linux-rockchip64-[current,edge]: enable lsi sata/sas support
2021-12-16 05:17:33 -05:00
Leo
356cb4e868
Odroid XU4 update config for 5.15 (#3350) 2021-12-14 17:39:10 +01:00
Igor Pecovnik
f6f0835123
Disabling CONFIG_GCC_PLUGINS on (32b) rockchip
Related: 82766fc2e6
2021-12-14 15:35:59 +01:00
Oleg
30a9dae202
fix jetson nano current and edge (#3349) 2021-12-14 14:53:02 +01:00
Igor Pecovnik
82766fc2e6
Disabling CONFIG_GCC_PLUGINS on (32b) sunxi and mvebu CURRENT kernel due to issues
One probable option is to upgrade GCC compiler and open other troubles or dig in and solve the reason.
2021-12-14 14:46:26 +01:00
Oleg
4c913692af
fix kernel panic (#3344) 2021-12-14 00:12:34 +01:00
Paolo Sabatino
c8f48d8368 rk322x: add rtl8723cs and rtl8703bs serdev bluetooth support 2021-12-10 21:53:57 +01:00
Paolo Sabatino
095fa0df90
rk322x: enabled 8723cs driver module, ntfs rw option 2021-12-08 22:28:01 +00:00
Leo
e3674b0a83
Add NTSF3 and KSMBD modules for 5.15 (#3330) 2021-12-08 16:15:02 +01:00
Paolo Sabatino
3f7919153e
rk322x: update edge kernel 5.15 config
* disable external rtl8188eu driver in favor of updated staging r8188eu
* enabled back rtl8723cs driver
2021-12-08 13:40:19 +00:00
Ricardo Pardini
90e0fe0ba2
extensions framework + UEFI aarch64/x86 + rpi4b + core changes/fixes (#3300)
* extensions framework (née "fragments")

- this should actually change nothing at this point, just add capabilities
- the framework is implemented in lib/extensions.sh
- the "if function x exists then call x" replaced with call_extension_method()
  - +inline documentation
  - +compatibility names

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>

* extensions framework; meta-extensions: auto-docs and sample extension gen

- 2 extensions dealing with extensibility itself
  - detect-unused-extensions: shows which extensions are enabled, but never called.
  - gen-sample-extension-docs: generates a sample empty extension & Markdown documentation for extensions

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>

* new extension methods and features via config variables in core Armbian

- `SKIP_EXTERNAL_TOOLCHAINS=yes` - does not download or use any linaro toolchains, only build host-installed ones
- `SKIP_BOOTSPLASH=yes` - does not patch kernel for splash file
- `EXTRA_BSP_NAME=xyz` - allows for BSP variants, useful for when extensions modify the BSP
- `EXTRA_ROOTFS_MIB_SIZE=x` - add x mib's to rootfs size, for use with very small images
- `KERNEL_EXTRA_TARGETS` - what extra targets to make kernel for, default to "modules dtbs"
- `BOOTCONFIG=none` - does not build nor install u-boot; also doesn't handle bootscripts et al
- `unset KERNELSOURCE` - does not build nor install kernel, nor build initrd, nor build nor install firmware
- `ARMHF_ARCH=skip` - does not add armhf to apt/dpkg, thus pure arm64
- `SKIP_ARMBIAN_REPO=yes` - results in armbian.list.disabled in the final image
- define `APT_EXTRA_DIST_PARAMS` with apt-cacher-ng options and use it for `PACKAGE_LIST_INSTALL/REMOVE` et al
- initial support for targeting x86/amd64 UEFI and BIOS
    - some do's/don'ts for x86/amd64, like a different `UBUNTU_MIRROR` default
    - GPT/EFI(ESP) partitions (fat, `UEFISIZE=256` to enable, mount `UEFI_MOUNT_POINT=/boot/efi`, first on disk but ends
      up at `$uefipart`=15)
    - GPT/BIOS partitions (fat, `BIOSSIZE=1` to enable, second on disk but ends up at partition 14)
    - `UEFI_FS_LABEL="armbiefi"` - to set the FAT label for the EFI partition, visible in Win/Mac
    - hard-requires gdisk package host-side
- add add_host_dependencies() extension method; fill `EXTRA_BUILD_DEPS="pkg pkg2"` to install to host before toolchains
  download
- add pre_prepare_partitions() extension method, for custom partition size calculations
- add create_partition_table() extension method, used to do full-custom partitioning if `USE_HOOK_FOR_PARTITION=yes`
- add post_create_partitions() extension method, mostly for easy debugging
- add post_write_sdcard() extension method, where you can also set `SKIP_VERIFY=yes` to skip sdcard verification
- add post_install_kernel_debs() extension method.
- multiple fixes to bsp to avoid spurious errors when files are not where it expects
- v4: detect `update-initramfs` failure and abort build with useful message if it does
- v4: show useful stacktrace in `exit_with_error`
  - if `ERROR_DEBUG_SHELL=yes`, drop into a shell before unmounting/deleting everything, so we can inspect what went wrong
- v4: display a message before `apt-get remove PACKAGE_LIST_BOARD_REMOVE` packages, so any errors while removing are easy to understand
- v4: preserve kernel .config's dates when copying

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>

* extensions framework; refactor tool fetching/building into extensions

- a few examples of core refactoring using extensions
- sunxi-tools extension, enabled by 2 different sunxi family includes ("reuse" example)
- marvel-tools extension, enabled by 2 different mvebu family includes
- rkbin-tools extension, enabled by rockship64_common family include
- amlogic-fip/c2-blobs stuff refactored directly into meson64_common.inc ("single-use" example)
- removed the 'testings' fetch_from_repo completely since not used anywhere.

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>

* .wip's for UEFI arm64 and UEFI/BIOS x86 via new GRUB extension

- v3: added `growroot`-awareness to `armbian-resize-filesystem`
    - the partition-growing part of `armbian-resize-filesystem` does not deal correctly with the UEFI layout
    - `growroot` is installed on UEFI images by default, that handles growing partition during initramfs
    - now `armbian-resize-filesystem` handles `resize2fs` only, and works.
- v4: reworked UEFI board/family/include structure:
    - use Distro's `linux-generic` kernel only for `current`
    - `edge` now builds it's own pure-mainline `5.15.y` kernel, for both x86 and arm64
        - `.config` taken from Ubuntu, probably needs tuning for EXTRAWIFI=yes et al
- v4: introduce `SKIP_KERNEL_SYMLINK=yes`, tested in `builddeb`
    - to avoid symlinking kernel; u-boot likes it, but grub and flash-kernel hates it
- v5: many fixes
- v7: more small fixes.

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>

* .wip for the RaspberryPi 4B via new flash-kernel extension

- this does not build it's own kernel "yet", but uses default linux-raspi kernel from Ubuntu
- flash-kernel is not really a bootloader
    - it just prepares kernel et al a FAT partition for booting by the RPi4b bootloader
    - flash-kernel is standard Debian package, but has only been tested on Ubuntu releases
- it is really only known-working since Hirsute release.
  - Debian's rpi kernel is armhf only, so out of scope here, at least until we add source-built kernels.
- v3: fixed focal rootfs build. untested.
- v3: better variable names, preparing for source-built kernel.
- v5: new edge build with pure mainline kernel.
- v6: many fixes and some hacks for packaging and layout, also firmware (using Ubuntu's)

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>

* Added first patch to edge x86 related to wifi drivers

* extensions: leave hostapd alone; remove hackish ext; block reentrancy

- package-list-utils does not belong in this PR
- grub or bcm2711 is not the place to remove hostapd
- block recursive enable_extension() calls, for now.

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>

* gen-sample-extension-docs: fix: avoid counter in generated sample

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>

* extensions: dependencies: enable_extension() in extensions with a stack

- and better stacktraces, I hope

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>

* Remove code from package list since we don't have it in repository
Adjust kernel config to disable driver that needs further polishing.

* Allow amd64 to build the same desktops as aarch64. We only have this limit for armhf, where some desktops don't work

* amd64: allow building amd64 on aarch64 with system toolchain

- conditionally add gcc-x86-64-linux-gnu to hostdeps

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>

* add libelf-dev directly to hostdeps (and Dockerfile), remove extension

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>

* packaging: remove SKIP_KERNEL_SYMLINK hack, fix the root cause

- which was the missing $image_name for non-arm64 & non-arm, so: x86 for example

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>

* grub: really obliterate u-boot stuff from BSP

- for now. soon we'll refactor u-boot so not have to do this

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>

* flash-kernel: really obliterate u-boot stuff from BSP

- for now. soon we'll refactor u-boot so not have to do this

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>

* extensions: add host_dependencies_ready() hook

- this passes FINAL_HOST_DEPS containing all hostdeps for the run after they're installed

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>

* Add verification functions for correct selection.

* If UEFI Skip symlink creation

* Do not create dtb package for amd64

* Skip scripts folder cleaning if build process native.

Skip creating  postinst prerm scripts  for headers.

* Skip applying headers-debian-byteshift.patch if build native

* Fix architecture syntax as x86_64

* Revert "amd64: allow building amd64 on aarch64 with system toolchain"

This reverts commit 0c5ee20bb1.

* Compare architectures before starting compilation.



Signed-off-by: The-going <48602507+The-going@users.noreply.github.com>

* extensions: cleanups after fixes by the-Going

- packaging:
  - there is _no need_ anymore for the symlink hack, CONFIG_EFI or no. But check is great, see below
  - it's not `amd64` that has no DTB's, it's all UEFI, thus: `is_enabled CONFIG_EFI`, thanks!
- Explicitly disallow "reverse cross compile" in amd64.conf.
- whitespace-only-deletions: revert. we shall shellfmt the whole thing one day, but not today.
- fix a few syntax warnings in newly introduced code (floating `$ARCH` vs `"${ARCH}`) - blame shellcheck

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>

* packaging: fix: turns out a lot of boards have CONFIG_EFI=y, can't use that for dtb/no-dtb decision.

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>

* grub: remove debug

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>

* firmware: allow installing `armbian-firmware-full`; make it really full

- can now use `BOARD_FIRMWARE_INSTALL="-full"` to install full firmware for the board. enable for UEFI.
- don't rely on KERNELSOURCE for firmware-related decisions. introduce `INSTALL_ARMBIAN_FIRMWARE` which defaults to `yes`
- rpi4b/flash-kernel: disable Armbian firmware; we need linux-firmware-raspi2, which conflicts.

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>

* extensions: log to /${LOG_SUBPATH}/ instead of fixed /debug/

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>

* extensions: introduce cleanup_extension_manager() called by build-all-ng's unset_all()

- to reset/unset everything done by the the initializer, so build can run again

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>

* extensions: remove 'global' logging, for use with build_all_ng

- enable_extensions() will have to live on without logging to file. it's just too early.
- now init EXTENSION_MANAGER_TMP_DIR in initialize_extension_manager()
- now init EXTENSION_MANAGER_LOG_FILE in initialize_extension_manager()

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>

* extensions: build-all-ng.sh bugfix due to extension's debug to stdout

- extensions (among other things) can produce output to stdout when activated
- fix: check_hash() produced "idential" (sic, now changed to IDENTICAL) to stdout as a trigger
- debugging output got mixed with "idential", rendering hash cache void for families that used extensions
  - eg: sunxi, others
- fix is to send stdout to the bitbucket when sourcing the board & arch config files
- proper fix would be stop using stdout in this case and use return code for check_hash()
  - one day soon

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>

* Add CI build targets

Co-authored-by: Igor Pecovnik <igor.pecovnik@gmail.com>
Co-authored-by: The-going <48602507+The-going@users.noreply.github.com>
2021-12-06 09:49:49 +01:00
Igor Pečovnik
59aaac2469
Change default kernel config to enable CONFIG_MODULE_FORCE_UNLOAD (#3310) 2021-12-04 12:11:49 +01:00
Aleksandr Makarov
29415e0a41
Enable support for Intel 10GbE family of adapters (#3278) 2021-11-21 19:56:43 +01:00
Igor Pecovnik
9dbb72b01c
Adjusting patches due to upstream changes to make mvbe family operational again
@heisath
2021-11-21 17:58:03 +01:00
simple
401fb1fde4
Fixed rt5651 codec build module (#3270) 2021-11-20 19:49:22 +01:00
Oleg
21d5340b35
fix sound HDMI rk3399 and bootsplash (#3260) 2021-11-17 07:22:04 +01:00
Piotr Szczepanik
7c06bb7d78
Disable DEBUG_INFO in rk35xx legacy kernel config 2021-11-13 22:21:55 +01:00
catalinii
4b246221e0
Fix the build on rk35xx platform (#3247)
Co-authored-by: Catalin Toda <catalinii@yahoo.com>
2021-11-12 06:17:07 +01:00
Igor Pecovnik
e17a7fb159
Disable broken wireless driver
https://github.com/armbian/build/pull/3242
2021-11-09 23:36:43 +01:00
Paolo
4c3dcbf4fc
Rockchip 5.15 (#3242)
* rockchip: bump to kernel 5.15, reworked mainlined patches

* rk322x: bump edge kernel to 5.15, reworked mainlined patches

* rk322x: update edge kernel config

* rockchip: remove some debug config options due to chatty dmesg

* Add patches to revert ipx.h header file remove in 5.15 kernel
2021-11-09 21:58:35 +01:00
catalinii
19340d66a1
Enable more config options in the legacy kernel (#3237) 2021-11-09 18:14:27 +01:00
Igor Pečovnik
dd51f9f2af
Bump imx6, xu4, rockchip64 and jetson-nano to 5.15 (#3238)
* Bump to 5.15.y imx6, xu4, rocchip64, jetson-nano

* Sunxi patches cleanup

Thanks @jernejsk

* Bump Meson64 to 5.15.y

* Bump mvebu* to 5.15.y

@heisath

Disable 13-net-mvneta.patch - double check.

* Add uppstram patch for opi zero2 legacy kernel

* Update mvebu mvneta patch

* Orangepi Zero2 reboot fix

Co-authored-by: Heisath <jannis@imserv.org>
2021-11-09 18:06:34 +01:00
Igor Pečovnik
36c06fec28
Bump sunxi to 5.15.y (#3236) 2021-11-07 00:04:02 +01:00
Flole998
8544bf36bb
Add MCP251XFD-Drivers as modules (#3232)
This is pretty safe to merge and compilation passed.
2021-10-31 12:13:56 +01:00
Paolo
682e4085ab
rockchip64: add IEP driver (#3215)
* rockchip64: add IEP driver
* enable IEP driver as kernel module
2021-10-21 22:55:25 +02:00
Igor Pečovnik
06a3f77059
Missing support for Power and function key (#3210)
Noticed in Khadas Vim2
2021-10-20 09:08:07 +02:00
Oleg
35a83a3c6f
Update Jetson nano kernel config (#3211) 2021-10-20 09:07:52 +02:00
Vyacheslav
3c4b69650e
Add support for JetHome JetHub D1/H1 home automation controllers (#3176)
* JetHome: add basic files for JetHub D1/H1 boards

Signed-off-by: Vyacheslav Bocharov <adeep@lexina.in>

* JetHome: add uboot patches

Signed-off-by: Vyacheslav Bocharov <adeep@lexina.in>

* JetHome: add kernel patches for JetHub D1/H1 (backport from 5.16-dt kernel)

Signed-off-by: Vyacheslav Bocharov <adeep@lexina.in>

* JetHome: add bsp packages for JetHub D1/H1

Signed-off-by: Vyacheslav Bocharov <adeep@lexina.in>

* JetHome: add kernel options for hardware JetHub D1/H1

Signed-off-by: Vyacheslav Bocharov <adeep@lexina.in>

* JetHome: fix targets-cli-beta.conf for JetHub D1/H1

Signed-off-by: Vyacheslav Bocharov <adeep@lexina.in>

* JetHome: add axg uboot creation function for JetHub D1

Signed-off-by: Vyacheslav Bocharov <adeep@lexina.in>
2021-10-19 21:05:36 +02:00
Igor Pečovnik
997c103c26
Upstream patches and a patch name correction (#3194)
* Just upstream patches and a patch name correction

* Add configs
2021-10-14 00:01:42 +02:00
Paolo Sabatino
a52cc0542e
rockchip64: compile timer led trigger in-kernel 2021-10-13 11:31:08 +00:00
Igor Pečovnik
cd7131cd86
Add upstream patches for sunxi (#3177) 2021-10-07 18:53:56 +02:00
Igor Pečovnik
5059acac6a
Add upstream patches (#3175) 2021-10-07 01:08:09 +02:00
Ricardo Pardini
956c1606de
meson64: current (5.10.y): ODROID N2(+) patchset rework for mainline u-boot, stability and rebootability (#3154)
- starting from Home Assistant OS (HASSOS) setup/patchset, which is stable with pure-mainline
  - *huge thanks* to Stefan Agner (@agners) from Home Assistant for his work and help with this
  - CONFIG_DRM_MESON=y fixes the order of shutdown callbacks, allowing it to reboot without patches
    - this increases the kernel size a bit, due to some dependencies like DRM=y
    - remove the shutdown revert patch, allowing other meson64 boards to mainline-reboot
  - add fdt/no-map patch fixing the dreaded "SError Interrupt on CPU4" panics that plagued the N2
- move the N2 to mainline u-boot on current (rebased, already done)
  - add SPI-enabling DTB variants, which allow writing to SPI NOR flash (and usage instructions in comments)
    - add UBOOT_TARGET_MAP and write_uboot_platform_mtd to current, for nand-sata-install to SPI/USB goodness
  - remove the UHS-enabling patch, to avoid 1.8v vs 3.3v mess. Make sure to use only A1-rated SD cards as recommended.
- change default cpufreq governor for 24h+ stability
- other patch cleanups:
  - move deprecated/non-applying patch to need-check
  - remove the HardKernel ODROID-specific reboot driver and DTS patches (odroid-reboot.c) which are now useless.
  - remove documentation-only patches (we have enough patches in meson64 without those)
  - remove duplicated SAR ADC patches
  - remove multiple different and conflicting patches for DTS and emulated-PWM GPIO fan
    - now using simple on/off GPIO fan at 30 celsius, unrelated to passive cooling
2021-09-26 21:44:28 +02:00
Igor Pecovnik
5ba4159b17
Upstream patches and config adjustements 2021-09-26 20:06:31 +02:00
Igor Pecovnik
17507962f5
Maintenance - add and remove upstream patches 2021-09-25 08:30:11 +02:00
Igor Pecovnik
2fb7ad52e0 Update upstream patch for sunxi edge 2021-09-19 15:14:47 +02:00
Oleg
41522b2bc7
fix config legacy for station (#3147) 2021-09-19 12:20:43 +02:00
Paolo Sabatino
31d238930b rockchip: enable broadcom serdev bluetooth for current and edge kernels
* add workaround against default MAC Address (userland utility bdaddr does not work to set MAC Address as expected)
	* enable bits for xt-q8l-v10 board (ap6330/bcm4330 part), switching AP6330 bluetooth to btbcm driver using serdev
	  facilities to avoid userspace machinery with deprecated hciattach tool, added bits to enable driver support in kernel.
	  Removed ap6330 bluetooth service from bsp packages, added initramfs-tools hook to include bcm4330b1.hcd firmware in initramfs
2021-09-16 17:51:34 +00:00
Ruikai (Rick) Liu
687c363918
Add NanoPi R2C support (#3138)
* Add NanoPi R2C support
* Bring NanoPi R2C, R2S to edge
2021-09-15 22:20:35 +02:00
Piotr Szczepanik
0069ad60a6
Preliminary support for rockchip rk35xx boards (#3111) 2021-09-15 22:08:39 +02:00
Paolo Sabatino
bef4992ac1 rk322x: analog audio codec for edge kernel 2021-09-12 14:26:18 +00:00
Igor Pečovnik
5672f0fa5d
Add Odroid XU4 current upstream patches and enable Mali kernel driver (#3137) 2021-09-10 08:25:03 +02:00
Paolo
4425589e15
rk322x: bump edge kernel to 5.14, u-boot to 2021.07 (#3133) 2021-09-09 22:59:12 +02:00
Igor Pečovnik
744ea89a58
Bumping EDGE kernel to 5.14.y (#3125)
* Bumping EDGE kernel to 5.14.y

Meson64:
- removing Odroid reboot shutdown patch since its probably not needed anymore

Rockchip64:
- removing Rockpi S. No interest to maintain this any further
- removing PBP suspend. Doesn’t align. Need inspection if some other way was mainstreamed
- temporally removing Orangepi R1

* Re-adding rockpis, pbp suspend, HFLPS170 wifi and cleanup

* Removing deprecated patch, fixing ap6256 wifi

* Re-enable Opi R1 plus, untest

* Add and fix Radxa Zero
2021-09-08 17:51:34 +02:00
Oleg
a33445c910
fix kernel station current (#3127) 2021-09-08 17:50:23 +02:00
Vyacheslav
c61c0ebf10
Disable wifi powersave by default via kernel config (#3113) 2021-09-02 20:48:05 +02:00
Igor Pečovnik
d54b2d6a84
Adding OPi Zero2 legacy kernel support (#2620)
* Adding OPi Zero2 legacy kernel support
2021-08-12 19:19:18 +02:00
Igor Pecovnik
4bc2dd27b1 Bugfix - disable wireless driver for older kernels and add a few upstream patches for meson64 legacy
Kernel was only tested for building.
2021-08-06 18:27:23 +02:00
Igor Pecovnik
7f44207062 Add upstream patches and re-add Orangepi3 to u-boot 2021-08-05 01:15:36 +02:00
Igor Pečovnik
f317cd72b4
Upstream patches (#3071)
* Upstream patches

* Adjust configs

* Revert xu4 config
2021-07-29 17:24:52 +02:00
Igor Pečovnik
e7377248b3
Second part of EDGE bumping to 5.13.y (#3045)
* Bump Meson64 EDGE to 5.13
* Bump Rockchip64 EDGE to 5.13.y
* Bump Odroid Xu4 edge to 5.13.y
* Bump rockchip edge to 5.13.y
2021-07-22 00:15:54 +02:00
Igor Pecovnik
e7177f3b9b Adjust sunxi-current patches - remove broken, add upstream 2021-07-21 17:46:55 +00:00
Igor Pečovnik
e21e82b546
Upgrading sunxi, sunxi64, imx6, jetson-nano, mvebu and mvebu64 EDGE to 5.13 (#3042)
* Upgrading sunxi and sunxi64 EDGE to 5.13

Both variants tested for building

* Bump imx6 to 5.13.y

Tested

* Bump Jetson nano kernel to 5.13.y

* Move mvebu and mvebu64 edge to 5.13.y
2021-07-21 00:46:51 +02:00
Paolo Sabatino
0dd450f98f rk322x: really update edge kernel flavour config 2021-07-18 14:55:54 +00:00
Paolo Sabatino
e4add7b8fd rk322x: update rk322x-edge kernel config, add DMC patches and overlays 2021-07-18 14:06:35 +00:00
Paolo Sabatino
baf9815f8b rk322x: add DMC driver and runtime clock adjust, change rk322x-config emmc options
* add DFI driver to provide hardware-based memory controller load
     * adapted DRAM Memory Controller driver from rk3328, add necessary headers
     * provide device tree overlays to enable DDR3 clock scaling
     * adapted rk322x-box to allow DDR speed bin selection to user
     * add ipb900 board gpio configuration
     * add rtl8723cs driver to linux-current kernel
     * use ddrbin v1.10 set to 330 Mhz at boot
     * provide overlays for ddr3 at 330, 528, 660 and 800 mhz
     * split emmc overlays to enable options by user choice
     * modified rk322x-config to support dmc, emmc overlays
     * remove optee trust os in favor of rockchip proprietary blob
       for dmc functionality
2021-07-17 15:21:48 +00:00
Igor Pecovnik
2e093e4309 Adjusting broken patches on RK332x
@paolosabatino review if somethint too much was removed
2021-07-16 15:59:00 +00:00
Tony
2d8db84c90
Tinker Board 2 WIP (#3011)
* [ Rockchip64 ] Add Tinker Board 2

Using Mainline ATF/U-boot/Kernel

What works:

- USB (NOT TYPE C)
- PCIe
- LED's
- Ethernet
- HDMI

TODO:

- Type-C (fusb302 stuff)
- Type-C DP
- Regulators for big cores and GPU (sitting at default values now, no DVFS)
- Formware/driver for RTL8822CE

U-boot spits out some trash right after handing off control from SPL to U-Boot,
but doesn't impact boot.  Needs looked at.

* [ rockchip64 ] remove unrelated changes to 369ab2decdc5a3c49973d8eeb783c95558dcc41a

* [ rockchip64 ] fix merge mess from symlinks step 1

* [ rockchip64 ] fix merge mess from symlinks step 2

* [ rockchip64 ] fix merge mess from symlinks step 3

* [ rockchip64 ] add asus driver for FAN53200 regulator

* Rename tinkerboard.conf to tinkerboard.wip

set as WIP for merge to trunk.  Not ready for images just yet.

* revert rename to wip

wrong tinkerboard

* Rename tinkerboard-2.conf to tinkerboard-2.wip

prepare for merge to trunk.  Not ready for images

* Tinker Board 2 GPU and Type-C

Support USB3 over type-C connector.  display Port is still non-functional, framework in device tree however

Enable GPU

* Tinkerboard 2 DTS tweaks

Added this round:

Type-C DP now works
thermal sensors enabled  (oops)

* Tinker Board 2 update config

-Adds wifi support for the RTL8822
2021-07-15 21:29:27 -04:00
Oleg
4c80535fd8
update kernel legacy 4.9.201 and current 5.10 (#2987) for jetson 2021-07-09 20:54:40 -04:00
Igor Pecovnik
329dc277af Disable 8822bs for sunxi64 since it breaks compilation 2021-07-08 08:04:58 +02:00
Igor Pecovnik
ad53cc2d15 Add upstream patches and adjust configs 2021-07-07 20:16:06 +02:00
Oleg
6bd67e18e5
add media kernel for arm64 (#2971) 2021-07-07 16:15:34 +02:00
Oleg
5b0dc2d7c5
add support wifi rtl8822bs for kernel 4.4 and 5.x (#2980) 2021-07-07 16:04:27 +02:00
Oleg
0bb36ca04f
add module for station legacy (#2981) 2021-07-07 16:03:28 +02:00
andpp
b2e98daf7b
Fixed u-boot script and kernel config for i.MX7D (#2953)
* Updated kernel/u-boot for MCIMX7SABRE board

Supporing 'current' and 'legacy' branches for MCIMX7SABRE board

current branch:
   u-boot: imx_v2020.04_5.4.70_2.3.0
   kernel: imx_5.4.70_2.3.0

legacy branch:
   u-boot: imx_v2018.03_4.14.98_2.0.0_ga
   kernel: imx_4.14.98_2.0.0_ga

* Update kernel config with few additional options like zram, bonding, ... just a few to keep minimum consistency over kernels.

* Fixed u-boot script and kernel config for i.MX7D

Fixed bug in u-boot script preventing to use armbianEnv.txt
Configured SDMA as module to fix loading SDMA firmware

Co-authored-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2021-07-03 21:57:43 +02:00
Igor Pecovnik
95f4afd3b2 Adjust upstream patches and configs 2021-07-02 13:00:09 +02:00
Icenowy Zheng
e6c4287246
Pine A64 LTS v2 support (#2919)
* remove obsolete and broken patch for pine64so u-boot

This prevents the image from being built.

Signed-off-by: Icenowy Zheng <icenowy@aosc.io>

* sunxi: fix pine64so phy-mode and add yt8511 support

Pine A64-LTS board should have RGMII-TXID mode instead of RGMII-ID (the
Realtek PHY chip's RXID is sometimes broken).

In addition, new Pine A64-LTS v2 board will use YT8511 instead of
RTL8211E, which still works under RGMII-TXID mode.

Backport YT8511 driver and phy-mode change from linux-next.

Signed-off-by: Icenowy Zheng <icenowy@aosc.io>

Co-authored-by: Igor Pečovnik <igorpecovnik@users.noreply.github.com>
2021-06-28 07:04:53 +02:00
Igor Pecovnik
15b4278a99 Adjusting broken patch and update kernel config for meson64 family 2021-06-27 20:49:20 +02:00
Igor Pečovnik
219f2bcbd9
Remove deprecated patches (#2922)
* Remove deprecated patches. They broke Pine H64 booting

* Update kernel config
2021-06-25 23:32:14 +02:00
Igor Pecovnik
55a86663e0 Upstream patches and small kernel config adjustements 2021-06-23 20:23:36 +02:00
Igor Pecovnik
7325cc57d7 Upstream patches add / remove and config adjustements 2021-06-21 23:01:14 +02:00
andpp
27536347d9
Updated kernel/u-boot for MCIMX7SABRE board (#2906)
* Updated kernel/u-boot for MCIMX7SABRE board

Supporing 'current' and 'legacy' branches for MCIMX7SABRE board

current branch:
   u-boot: imx_v2020.04_5.4.70_2.3.0
   kernel: imx_5.4.70_2.3.0

legacy branch:
   u-boot: imx_v2018.03_4.14.98_2.0.0_ga
   kernel: imx_4.14.98_2.0.0_ga

* Update kernel config with few additional options like zram, bonding, ... just a few to keep minimum consistency over kernels.

Co-authored-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2021-06-20 10:06:29 +02:00
Werner
f3dd19f890
Bump Zero2 (H616) (#2907)
* Update sun50iw6.conf

* Extract patches from private kernel branch, remove 5.10, cleanup

Co-authored-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2021-06-20 10:05:49 +02:00
Oleg
baaefaf691
fix config kernel legacy (#2900) 2021-06-16 09:32:43 +02:00
Igor Pečovnik
d3d4f050e4
Add ZRAM to Jetson Nano legacy (#2899)
* Add ZRAM and few other networking related options to Jetson nano legacy kernel config

* Enable legacy desktop build for jetson-nano

* Enable nightly legacy kernel build

* space
2021-06-16 00:56:56 +02:00
Igor Pečovnik
fb823a032d
Patches adjustments for Jetson, XU4 and Meson64 legacy (#2895)
* Move Jetson patches to right location, add upstream patch

Also add upstream patch for sunxi

* Add upstream patches for Odroidxu4 current

* Add meson64 upstream patches
2021-06-12 10:06:37 +02:00
Oleg
a3f2777f52
add legacy jetson-nano (#2890) 2021-06-10 11:46:12 +02:00
Igor Pečovnik
b087cfb6b3
Enable virtual ARM64 nightly builds for qemu (#2875)
* Enable Virtual qemu build targets
* Bugfix - saving build number is being overwritten before saved
* Remove stable builds, not needed
* Update kernel config, enable current instead of edge
2021-06-05 08:49:25 +02:00
Igor Pecovnik
e1f63c571c Add upstream patches and remove deprecated patch
sunxi, odroidxu4
2021-05-28 14:17:47 +02:00
Aristo Chen
583c656baf
Make nls_ascii become built-in (#2845) 2021-05-24 00:01:48 +02:00
Igor Pečovnik
e78cb4ce2a
Extract Odroid related patches from Tobetter branch and move sources to mainline (#2847)
Also temoporally remove overlay support which is broken
2021-05-23 17:28:33 +02:00
Igor Pecovnik
8665e44f20 Upstream patches for Odroid XU4 current 2021-05-22 17:15:08 +02:00
Igor Pečovnik
3b3d85e25c
Upgrade EDGE to 5.12.y (#2825)
* Bump imx6 edge to 5.12.y

* Bump odroid xu4 edge to 5.12.y

* Bump Jetson nano edge to 5.12.y

* WIP: Bump sunxi to 5.12.y

- create a copy of patches and make a new link
- wireless patches needs adjutement to 5.12
- some patches are still failing

* Adjust wireless patches to build on 5.12.y

* Remove template wireless patch

* Move Espressobin edge to 5.12.y

* Bump mvebu to 5.12

- patch 92-mvebu-gpio-remove-hardcoded-timer-assignment.patch was disabled @heisath
- adjusted wireless driver for 8723ds

* Adjust sunxi / sunxi64 edge to compile

* Fix kernel config for Jetson nano edge

* bump meson64 to 5.12.y

* bump rockchip edge to 5.12.y

* Bump rockchip64 to 5.12.y

* Bump rk322x edge to 5.12.y

@paolosabatino

* Cleanup im6, re-add 5.10.y patches since one is missing in 5.12.y

* Update odroidxu4 edge links

* rk322x: moved rk322x-edge to kernel 5.12, fix overlay compilation, retouched included kernel modules

* Cleanup: remove deprecated config

Co-authored-by: Paolo Sabatino <paolo.sabatino@gmail.com>
2021-05-22 17:08:44 +02:00
Lane Jennison
e1e4d3405b add atag to kernel 2021-05-16 09:32:20 -04:00
Lane Jennison
0c5ff7e259 fix family names 2021-05-16 08:56:51 -04:00
Lane Jennison
d452d5e6bc add first pass of virt 2021-05-15 15:55:15 -04:00
Igor Pecovnik
503245afeb Add and remove upstream patches 2021-05-15 18:51:44 +02:00
Igor Pecovnik
aaaad16bb2 mvebu - remove deprecated patches 2021-05-14 14:31:18 +02:00
Igor Pecovnik
96227680c9 Bugfix - build failed when compiling rockchip64-current
small patch adjustement
2021-05-14 13:07:06 +02:00
Kirill Zhumarin
5b459ee366
Enable CONFIG_BINFMT_MISC=m (#2810)
* CONFIG_BINFMT_MISC=m for linux-rockchip 4.4

* Adjust other configs to the same value

Co-authored-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2021-05-11 10:56:48 +02:00
Igor Pecovnik
23dd921bac rk322x-edge: adjust kernel config
Enable AUFS
2021-05-06 18:38:27 +02:00
Igor Pecovnik
bb3fee0952 Upstream patches 2021-05-06 11:07:21 +02:00
Igor Pecovnik
049121c17b Add upstream patches 2021-05-02 10:52:22 +02:00
lanefu
9737c2171e
Merge pull request #2759 from tparys/microzed
Adds Xilinx Bootgen tools to build environment (alongside sunxi-tools, etc ..)
Adds new SoC family Zynq (7000 series, not MP/UltraScale)
Adds new board Avnet MicroZed
2021-05-01 11:38:06 -04:00
Igor Pečovnik
510e348202
150balbes fix station legacy (#2782)
* Fix Legacy Stations

Co-authored-by: balbes150 <balbes-150@yandex.ru>
2021-04-18 22:48:56 +02:00
lededev
0c363a7ba8
enable usbip and usbip vhci-hcd as module to all devices (#2781)
* enable usbip and usbip vhci-hcd as module to all devices
Add USBIP and it's module as a kernel module to all devices.
It's pretty standard package available in all other distros, allow usage of USB over IP of devices.
	new file:   config/kernel/linux-generic.config
	modified:   config/kernel/linux-odroidxu4-legacy.config
	modified:   lib/compilation.sh

* enable usbip and usbip vhci-hcd as module to devices

* rm unused config file

Co-authored-by: lededev <lededev@noreplay.github.com>
2021-04-18 22:03:29 +02:00
tim
c37ce2afc6 Enable Realtek USB WiFi drivers 2021-04-17 18:06:13 -04:00
Igor Pecovnik
57041c99a8 sunxi edge - add upstream patches 2021-04-14 21:32:54 +02:00
Igor Pečovnik
f0b5264317
Re-create edge branch for imx6 (#2751)
* Re-create edge branch for imx6
* Add build target

Edge was not tested on HW yet.
2021-04-12 23:56:53 +02:00
Igor Pečovnik
b46f603355
Improvements for Jetson Nano (#2752)
* Further improvements

- merge general config options
- add edge branch with 5.11.y
- enabled zram
- verified docker dependencies

* Enabled EDGE CLI target
2021-04-12 22:33:27 +02:00
tim
491c97b762 Enable Zynq legacy kernel features based on Armbian config for sunxi64 2021-04-11 18:06:02 -04:00
tim
f60920a2b7 Add Avnet MicroZed 2021-04-10 20:39:31 -04:00