Commit Graph

4803 Commits

Author SHA1 Message Date
Paolo Sabatino
7bc069d681 move rockchip patches into rk3318_box directory 2024-04-22 12:39:09 +02:00
Paolo Sabatino
efee17f217 rockchip64: bump rk3318-box uboot to v2024.01
* bump uboot version to v2024.01
 * add hdmi, vop driver for rk3328, enable hdmi
 * add inno hdmi phy driver
2024-04-22 12:39:09 +02:00
FantasyGmm
3f928f799c Update sm8250: kernel add legacy and edge branch 2024-04-22 18:11:07 +08:00
ColorfulRhino
a4aa9972d8 rockchip: Remove old edge kernel patch folder 6.7 2024-04-20 23:36:35 +08:00
amazingfate
5b867a1cbd add pcie support to orangepi rk3399 2024-04-20 23:36:06 +08:00
Nicolas Pereira
f3f76904ca board rk3566-h96-tvbox bring up 2024-04-16 19:59:36 -04:00
Nicolas Pereira
2110f728a0 add-board-h96-tvbox-3566 2024-04-16 19:59:36 -04:00
Nicolas Pereira
265394e6a5 board rk3566-h96-tvbox bring up 2024-04-16 19:59:36 -04:00
Nicolas Pereira
fe55d11946 add-board-h96-tvbox-3566 2024-04-16 19:59:36 -04:00
Nicolas Pereira
ce10170cbf h96-TVbox-rk3566 Board Bring Up 2024-04-16 19:59:36 -04:00
Nicolas Pereira
e5adbd3ced h96-TVbox-rk3566 Board Bring Up 2024-04-16 19:59:36 -04:00
Nicolas Pereira
3963188d0f h96-TVbox-rk3566 Board Bring Up 2024-04-16 19:59:36 -04:00
Igor Pecovnik
96abb9e944 Update failing patch 2024-04-17 02:28:24 +08:00
Muhammed Efe Cetin
27a07d918e rockchip-rk3588-edge: opi5b: add support for pcie wifi 2024-04-12 18:19:00 +02:00
brentr
04a5ff3be0
Corrected documentation error in Rockchip overlays (#6490)
The overlay enabling operation @1.3ghz for the RK3308-b silicon
is rk3308-b@1.3ghz -- not rk3308-bs@1.3ghz
2024-04-12 18:18:32 +02:00
ColorfulRhino
f0c27bd69b kernel 6.6: swiotlb: Reduce the default size if no ZONE_DMA bouncing needed
With CONFIG_DMA_BOUNCE_UNALIGNED_KMALLOC enabled, the arm64 kernel still
allocates the default SWIOTLB buffer (64MB) even if ZONE_DMA is disabled
or all the RAM fits into this zone. However, this potentially wastes a
non-negligible amount of memory on platforms with little RAM.

Reduce the SWIOTLB size to 1MB per 1GB of RAM if only needed for
kmalloc() buffer bouncing.
2024-04-11 08:31:26 -04:00
ColorfulRhino
573d84a3e2 meson64-6.6: swiotlb: Reduce the default size if no ZONE_DMA bouncing needed
With CONFIG_DMA_BOUNCE_UNALIGNED_KMALLOC enabled, the arm64 kernel still
allocates the default SWIOTLB buffer (64MB) even if ZONE_DMA is disabled
or all the RAM fits into this zone. However, this potentially wastes a
non-negligible amount of memory on platforms with little RAM.

Reduce the SWIOTLB size to 1MB per 1GB of RAM if only needed for
kmalloc() buffer bouncing.

Signed-off-by: Patrick Yavitz <pyavitz@armbian.com>
2024-04-11 08:31:26 -04:00
Muhammed Efe Cetin
6cf0d5cf7d rockchip-rk3588-edge: opi5: fix typec and add support for GPU 2024-04-11 14:07:59 +02:00
ColorfulRhino
aee4c495a1 board: cm3588-nas: Device tree fixes & improvements
- Add &spi0, &i2c4, &i2c5 for the pin-conections (all disabled)
- Remove &spi1 since it's not available on the board
- vcc_3v3_sd_s0: remove unevaluated property flasgs"enable-active-low", it's unneeded since the default assumed is Active low (linux/Documentation/devicetree/bindings/regulator/fixed-regulator.yaml)
- analog-sound: remove unevaluated property "simple-audio-card,hp-pin-name"
- &sdhci: remove "max-frequency = <200000000>;" since this value already defined as default in rk3588s.dtsi
- Rename node "button@1" to "button-user"
- Move "status" property to bottom, even if disabled
- Improve comments
2024-04-08 17:53:37 +00:00
ColorfulRhino
5a70a8a42b board: cm3588-nas: Add detailed GPIO labels
Reference was the official CM3588 NAS schematic revision 2309. Some GPIOs like USB, sdmmc or SPI-NOR are not listed.
2024-04-08 17:53:37 +00:00
aiamadeus
aca32104dc rockchip: update dts patches for orangepi r1-plus 2024-04-07 13:23:44 +02:00
amazingfate
01508f7c78 add new board bananapim7 2024-04-06 01:27:54 +02:00
ColorfulRhino
69e7cffe0f board: cm3588-nas: Add support for mainline kernel 🦜🎉
- Add dts file (based on and improved upon the NanoPC-T6 dts, originally authored by Thomas McKahan)
- Both Edge and Collabora kernels are supported
2024-04-06 00:39:57 +02:00
ColorfulRhino
42c87ef5d0 rk3588-edge: Fix PCIe bifurification issues
One patch also fixes Combo PHY.

Many thanks goes to the geniuses Sebastian Reichel and Michal Tomek. Without their brainpower, PCIe bifurification on the RK3588, like the mode used by the CM3588, would still be broken.
2024-04-06 00:39:57 +02:00
ColorfulRhino
8dddccb0e5 rk3588-edge: Introduce patch numbering logic
Sorting the patches to group them by category:
000* for general patches
00** for SoC related patches
01** for GPU/HDMI related patches
08** for wireless patches
1*** for board patches
101* for Rock-5B, 1012* for Rock-5A and so on
2024-04-06 00:39:57 +02:00
ColorfulRhino
21dedb068a rk3588-edge: Rewrite kernel patches against 6.8.3 2024-04-06 00:39:57 +02:00
ColorfulRhino
38ceb096a1 rk3588-collabora: Bump to 6.9
The default collabora kernel branch is a rolling branch and will be rebased.
2024-04-06 00:39:57 +02:00
Patrick Yavitz
7df2f46a91 RTW88: 6.x.y fixups
Signed-off-by: Patrick Yavitz <pyavitz@armbian.com>
2024-04-03 11:59:06 -04:00
aiamadeus
d193307e16 rockchip: rewrite dts for rock3c 2024-04-02 15:34:17 +02:00
Patrick Yavitz
0b7af65340 BananaPi CM4/M2S: FIXUPS
BPI-CM4
No change in functionality. Fixup adjustments.

BPI-M2S
The fan on the unit is constantly running. So lets set thermal
trip points and add the ability to control when we want it to
kick on. By default it is set to power on at 60*C.

Signed-off-by: Patrick Yavitz <pyavitz@xxxxx.com>
2024-04-01 20:46:38 +02:00
SteeManMI
d4093bd18e
Bump meson64 edge from 6.7 to 6.8 (#6454)
* Bump meson64 edge from 6.7 to 6.8

 Changes to be committed:
	modified:   config/sources/families/include/meson64_common.inc
	renamed:    patch/kernel/archive/meson64-6.7 -> patch/kernel/archive/meson64-6.8
	modified:   patch/kernel/archive/meson64-6.8/board-bananapi-cm4-cm4io-fixes.patch
	modified:   patch/kernel/archive/meson64-6.8/general-input-touchscreen-Add-D-WAV-Multitouch.patch
	new file:   patch/kernel/archive/meson64-6.8/kernel-6.8-tools-cgroup-makefile.patch

* updates from rewrite-kernel-patches

* updates from rewrite-kernel-config
2024-04-01 07:43:40 -04:00
Ricardo Pardini
8d426f6c29 rockpro64: bump u-boot to v2024.04-rc4; use binman-produced bins
- `mmc-sdhci-allow-disabling-sdma-in-spl.patch` has landed in 3cd664dc92
- remove `CONFIG_SPL_MMC_SDHCI_SDMA=n`, as fix has landed in 3b804b370d (thanks Kwiboo for the pointer)
- use binman-produced binaries
- use `flashcp -p` to write fast to spi
- bump ATF (TF-A) to lts-v2.8.16
- configure /etc/fw_env.config userspace to SPI env coordinates
  - configure /etc/fw_env.config userspace to SPI env coordinates
  - include libubootenv-tool userspace for fw_printenv and fw_setenv
- use `bs=32k seek=1` instead of `seek=64` suggested by Kwiboo (thanks!) for speedy writing
- add a check for the u-boot.bin size (992KiB) suggested by Kwiboo (thanks!)
  - really a close call: we're at 994.920 bytes right now

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>
Co-authored-by: Jonas Karlman <jonas@kwiboo.se>
2024-03-30 12:17:39 +01:00
Julian Sikorski
44d8ac4651 Update odroidxu4-current to 6.1.83 2024-03-29 13:12:01 +01:00
amazingfate
4887035522 rk3588-edge: rock-5a: fix poweroff and enable m.2 E slot 2024-03-28 14:07:22 +01:00
amazingfate
7d94527a8d enable gpu node for sige7, h88k and rock5a 2024-03-28 14:07:22 +01:00
Igor Pecovnik
86df0089fc sunxi legacy v6.1: remove deprecated patch 2024-03-27 21:20:53 +01:00
Patrick Yavitz
b0bb6b4e31 RTW88: remove patches upstreamed
6.1.y

Signed-off-by: Patrick Yavitz <pyavitz@xxxxx.com>
2024-03-27 19:45:10 +01:00
Patrick Yavitz
8be75c7528 RTW88: remove patches upstreamed
6.6.y
6.7.y
6.8.y: https://github.com/armbian/build/pull/6436

Signed-off-by: Patrick Yavitz <pyavitz@xxxxx.com>
2024-03-27 09:19:11 +01:00
amazingfate
459e62e087 armsom-sige7: add ap6275p wifi support 2024-03-27 08:39:11 +01:00
ColorfulRhino
77a3f587bc wireless: Remove some patches upstreamed in 6.8.2 2024-03-27 07:10:24 +01:00
Muhammed Efe Cetin
a3bb1d06e0 rockchip-rk3588-edge: khadas-edge2: add automatic fan control 2024-03-26 23:26:50 +01:00
Muhammed Efe Cetin
a97aee685d rockchip-rk3588-edge: refresh cpufreq patches 2024-03-26 23:26:50 +01:00
Paolo Sabatino
a1aab845c0 rockchip64: update patching YAML file 2024-03-26 13:46:35 +01:00
Paolo Sabatino
e4d413b916 rockchip64: bump edge kernel to 6.8 2024-03-26 13:46:35 +01:00
Paolo Sabatino
e2fb8dcf43 fix missing of headers in uwe5622 driver patches 2024-03-26 13:21:22 +01:00
Muhammed Efe Cetin
8b41236462 rockchip-rk3588-edge: khadas-edge2: add support for GPU and improve display modes 2024-03-26 07:28:43 +01:00
amazingfate
1bece8c428 armsom-sige7: add missing vop node 2024-03-25 20:47:51 +01:00
Paolo Sabatino
47d2e8287e rockchip: bump edge kernel to 6.8 2024-03-25 19:38:38 +01:00
RadxaNaoki
c02e1c36c1
add support for Radxa ZERO 3E/3W (#6420)
Signed-off-by: FUKAUMI Naoki <naoki@radxa.com>
2024-03-25 18:45:12 +01:00
jack
82f4c629b1 Enable armsom-sige7 early PD negotiation 2024-03-25 17:59:25 +01:00
jack
f99b2a8f3b add rockchip-rk3588-edge devicetree for armsom-sige7 2024-03-25 17:59:25 +01:00
Paolo Sabatino
f63a98d082 fix rtl8723cs compilation for kernel 6.8 2024-03-25 17:26:47 +01:00
amazingfate
0284261d76 fix wrong gpu node patch 2024-03-24 22:37:29 +08:00
amazingfate
58bc8d9658 rockchip-rk3588: edge: improve display modes support 2024-03-24 08:55:09 +08:00
amazingfate
741ebab0cb hinlink-h88k: edge: update mainline devicetree
add gmac0 ethernet support

add poweroff support

fix typo in dts
2024-03-22 09:41:56 +08:00
amazingfate
6aff5cfbc1 rockchip-rk3588: edge: add panthor support 2024-03-22 09:41:39 +08:00
amazingfate
a763c08e05 rockchip-rk3588-edge: use hdmi patches from collabora 2024-03-21 10:13:31 +08:00
c0rnelius
9473ff596d
BananaPi M4 Zero: add gpu and uart nodes (#6404)
Signed-off-by: Patrick Yavitz <pyavitz@xxxxx.com>
Co-authored-by: Patrick Yavitz <pyavitz@xxxxx.com>
2024-03-19 06:15:44 -04:00
Paolo Sabatino
7723cbc343 remove rockpis-legacy kernel patch symlink 2024-03-18 08:38:46 +01:00
Paolo Sabatino
a2fd19da52 rockchip64: merge rockpi-s into rockchip64 family 2024-03-18 08:38:46 +01:00
ColorfulRhino
16e2c6a8fc uefi: kernel: Add patch to fix 6.8 building 2024-03-17 18:57:28 +00:00
ColorfulRhino
acdffddb78 patch/misc: Delete old/left-over/unused patches for wireless 2024-03-17 18:57:28 +00:00
ColorfulRhino
07c1ea75c2 drivers_network: rtl8812au: Remove two upstreamed patches 2024-03-17 18:57:28 +00:00
ColorfulRhino
b1ec387300 drivers_network: Bump several drivers from upstream
Also add commit dates to make life prettier and easier

The following drivers have been updated with fixes for 6.8
- driver_rtl8811CU_rtl8821C
- driver_rtl88x2bu
- driver_rtl8811_rtl8812_rtl8814_rtl8821

The following drivers have been updated without specific 6.8 patches:
- driver_rtl8189ES (patches for 6.7, deleted two upstreamed patches)
- driver_rtl8189FS (patches for 6.7, deleted four upstreamed patches)
2024-03-17 18:57:28 +00:00
Igor Pecovnik
9e0c0caae8 Fixing rtl8192eu wireless driver compatibility, removing deprecated patch 2024-03-17 18:57:28 +00:00
ColorfulRhino
8d6842c726 uefi-arm64: Rewrite kernel patches against 6.8
- Using ./compile.sh rewrite-kernel-patches
2024-03-17 18:57:28 +00:00
ColorfulRhino
55d9513c24 uefi: edge kernel: Bump from 6.7 to 6.8
- Kernel configs updated via ./compile.sh rewrite-kernel-config
2024-03-17 18:57:28 +00:00
ColorfulRhino
5c09371611 rk35xx-vendor: Add kernel patching config 2024-03-10 17:48:42 +01:00
amazingfate
817a0d6678 xiaomi-elish: use pd patch from lujianhua to fix typec otg 2024-03-10 17:47:11 +01:00
Martin Schmiedel
d10e4b498d MBa8MPxL: add basic files for TQ MBa8MPxL boards
- add imx8m familie
- add MBa8MPxL and MBa8MPxL-RAS314 Boards (based on imx8m)

Signed-off-by: Martin Schmiedel <Martin.Schmiedel@tq-group.com>
2024-03-09 20:04:04 +01:00
Ricardo Pardini
f79c824a02 odroidm1: bump u-boot to v2024.04-rc3
- odroidm1: copy patches from v2023.10
- odroidm1: rebase u-boot patches against v2024.04-rc3
- odroidm1: drop v2023.10 u-boot patches
2024-03-09 20:03:29 +01:00
Ricardo Pardini
d6c1414d2f u-boot: rewrite/rebase u-boot patches for a few boards; drop long-forgotten old version patches; no actual changes
- I guess this is most of the u-boot's I've touched over the years; notable exception is the orangepi3b (patches live in Kwiboo's tree)
- this is in preparation for bumping versions, hopefully soon
- radxa-zero, radxa-zero2, khadas-vim3, khadas-vim3l: drop patches for old u-boot versions no longer used
2024-03-09 20:03:29 +01:00
Julian Sikorski
6466b8f101 Update odroidxu4-current to 6.1.81 2024-03-08 15:54:15 +01:00
Muhammed Efe Cetin
5e4393d185 rockchip-rk3588-edge: khadas-edge2: add MCU fan control 2024-03-06 17:51:08 +01:00
c0rnelius
64649a76e6
patches: BananaPi M4 Zero: fixups (#6364)
U-Boot:
Update DRAM parameters and enable USB.
Backport sunxi reorganize mctl_mem_matches_* functions
Backport restore modified memory
Add delay to steady dram detection
Alphabetize dts

Linux:
Add spi1_cs1_pin to h616 dtsi
Add node to m4-zero dts
Alphabetize dts

Signed-off-by: Patrick Yavitz <pyavitz@xxxxx.com>
Co-authored-by: Patrick Yavitz <pyavitz@xxxxx.com>
2024-03-06 11:50:04 -05:00
ColorfulRhino
df8fe87f44 Add board: FriendlyElec CM3588 NAS 2024-03-06 00:53:11 +01:00
Julian Sikorski
edd866b8cf Update odroidxu4-current to 6.1.80 2024-03-05 23:03:14 +01:00
Paolo Sabatino
55836c6074 rockchip: add patches to fix peripheral mode
rk322x has peripheral mode that is not working
really well, add various non-upstream patches
and timing adjustments that makes things a bit
more usable (mass storage and ethernet works,
uac isn't)
2024-03-05 20:08:38 +01:00
brentr
58cf4e8fc8
Added 1.3ghz overlay for B variant RK3308 (#6348)
Updated and improved RK3308 overlay README doc
Moved rock-s0.wip to .conf
2024-03-03 22:39:07 -08:00
Ricardo Pardini
92d79917ac rockchip-rk3588-edge: rewrite kernel patches against v6.8-rc6, no changes 2024-03-03 16:58:34 +01:00
Ricardo Pardini
069c49b5f2 rockchip-rk3588-edge: rewrite kernel patches against v6.8-rc1, no changes
- in preparation for bump to v6.8-rc6/7 later
2024-03-03 16:58:34 +01:00
hzyitc
e8cbdf6682
meson-6.7: Copy patches from 6.6 (#6341)
* meson-6.7: Copy patches from 6.6

Commit f852beca0a ("Switch meson64, bcm2711, sunxi, imx6, mvebu current to 6.6, edge to 6.7 and leave 6.1 for legecy") bump to linux 6.7 but forget to copy patches.

* meson-6.7: Refresh patches
2024-03-03 16:08:58 +01:00
c0rnelius
d5133b6a43
Add board BananaPi M4 Zero (#6315)
* Add board BananaPi M4 Zero

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

* HACK: wrong DRAM size: add extra barrier in mctl_mem_matches

People report that this is fixed by adding another "dsb();" at
the beginning of the mctl_mem_matches() function.

https://lore.kernel.org/all/ZWMv816r8YxPwsJO@BOB1/T/#mec26415158efa10e6f78c5c1a651bb834f8599c4
Signed-off-by: Patrick Yavitz <pyavitz@xxxxx.com>

* v2 add barrier and udelay to mctl_mem_matches function

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

---------

Signed-off-by: Patrick Yavitz <pyavitz@xxxxx.com>
Co-authored-by: Patrick Yavitz <pyavitz@xxxxx.com>
2024-03-03 09:42:07 -05:00
Muhammed Efe Cetin
97bd18b4dd rockchip-rk3588-edge: opi5-plus: fix USB3 Host 2024-03-03 15:10:51 +01:00
FantasyGmm
52889b1079
Add ayn odin2 config (#6305) 2024-03-03 07:59:56 +08:00
Muhammed Efe Cetin
3f5f8fe378 rockchip-rk3588-edge: add patches for ap6275p support 2024-03-02 22:00:20 +01:00
Ricardo Pardini
9260163fbd khadas-vim3l: bump to u-boot v2024.01; boot-usb-first patch in board folder
- patch is slightly different for 2024.01
2024-03-02 20:47:31 +01:00
c0rnelius
88ed514b89
RTW88: RTL8822/21CU FIXUPS (#6314)
* patch: misc: rtw88: `rtl8822/21cu fixups`

Backported 6.7.y to 6.1.y.
Included fixups for 6.1, 6.6, 6.7 and added 6.8.

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

* patch: misc: rtw88: 6.6: removed mbox

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

* patch: misc: rtw88: `v2 rtl8822/21cu fixups`

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

---------

Signed-off-by: Patrick Yavitz <pyavitz@xxxxx.com>
Co-authored-by: Patrick Yavitz <pyavitz@xxxxx.com>
2024-03-02 13:14:43 -05:00
yangchaohong
87209d6620
Add config and device-trees for rock3c (#6301)
* Create rock-3c.csc

* Add files via upload

* Add files via upload

* Update rock-3c.csc
2024-02-28 15:38:51 +01:00
Muhammed Efe Cetin
3b224e48a1 rockchip-rk3588-edge: update USB3 patches from Collabora tree 2024-02-28 15:36:28 +01:00
Muhammed Efe Cetin
a3152125a4 rockchip-rk3588-edge: add more nodes to Khadas Edge 2 devicetree 2024-02-28 15:36:28 +01:00
Viacheslav Bocharov
2da100c902 JetHome: fix u-boot patches for corrent rescue button handling 2024-02-28 14:22:25 +03:00
Gunjan Gupta
1337b67a55 BigTreeTech-CB1: legacy: bring kernel up to 6.1.79 version 2024-02-26 13:50:38 +01:00
Julian Sikorski
cb165a2b3c Update odroidxu4-current to 6.1.79 2024-02-26 13:50:03 +01:00
Viacheslav Bocharov
e3d2990e24 Enable Amlogic socinfo-sm for all main soc. 2024-02-26 15:49:19 +03:00
Viacheslav Bocharov
a61c54491f Enable meson-socinfo-sm driver for JetHub D1/D1+/H1 devices.
Signed-off-by: Viacheslav Bocharov <adeep@lexina.in>
2024-02-26 15:49:19 +03:00
Viacheslav Bocharov
40f4f35715 Add meson-socinfo-sm driver patchset from
https://lore.kernel.org/linux-kernel/20231122125643.1717160-1-adeep@lexina.in/

Driver not enabled for all meson soc (to enable rename general-socinfo-sm-4 patch)

Signed-off-by: Viacheslav Bocharov <adeep@lexina.in>
2024-02-26 15:49:19 +03:00
Tony
67529aeb2f
[Le Potato] bump u-boot to 2024.01 (#6297) 2024-02-25 11:14:13 -05:00
Igor Pecovnik
40c19e536e Fix random MAC on Orangepi 5 series
We don't want that MAC address is changed on every reboot
2024-02-24 23:23:00 +01:00
Igor Pecovnik
173954269f Revert "rockchip: workaround stmmac ethernet lock contemption"
This reverts commit 7c062f7dae.
2024-02-23 22:44:29 +01:00