Commit Graph

4925 Commits

Author SHA1 Message Date
amazingfate 0b09411c83 bump sm8250-edge to 6.10 2024-06-18 11:33:45 +08:00
amazingfate 8365343dd9 sm8250-current: Bump to v6.9 2024-06-18 11:33:45 +08:00
ColorfulRhino 0813594057 board: nanopi-r6s: Add system-power-controller to pmic
Without this, the board can't be powered off with the `poweroff` command.
Also affects NanoPi R6C.
2024-06-17 12:20:06 +00:00
Muhammed Efe Cetin d2e40d6b0e khadas-edge2: add vendor uboot to images 2024-06-17 14:11:33 +02:00
amazingfate 151e14b6a7 rockchip-rk3588-edge: fix vepu of rk3588 2024-06-17 11:23:52 +02:00
Alex Shumsky 1ab1719e61 uboot-2024.04: fix boot from btrfs fs 2024-06-17 08:24:52 +02:00
Alex Shumsky fe096b0c16 uboot-2024.01: fix boot from btrfs fs 2024-06-17 08:24:52 +02:00
ColorfulRhino bc8ee48619 rk3588: edge: Update RGA patch
Remove vpu nodes from RGA patch since these are already included in the H.264 support patch.
2024-06-14 13:34:34 +00:00
ColorfulRhino dddfa9cc35 rk3588: edge: Rewrite kernel patches against 6.10-rc3 2024-06-14 13:34:34 +00:00
ColorfulRhino c4d3ff5e34 rk3588: edge: Add H.264 decoder support
Add a patch series to support VEPU121/VPU121, which mainly enables hardware decoding for H.264.
It can also decode MPEG2 and VP8 as well as do JPEG encoding.
2024-06-14 13:34:34 +00:00
Alex Shumsky e127109e2d rockchip64/rk3318-box: move stack further from base addr to allow bigger uboot image 2024-06-14 00:35:08 +02:00
Ricardo Pardini 4a84bf07c4 rockchip-rk3588 6.8.y: nanopct6: Add NanoPC T6 SPI Flash (v6.8.y version) 2024-06-14 00:34:55 +02:00
Viacheslav Bocharov 27351820c7 JetHub D2: Fix patchset 2024-06-14 00:34:34 +02:00
Viacheslav Bocharov 24938adafe JetHub D2 (j200) add u-boot 2024.01 patches 2024-06-14 00:34:34 +02:00
Muhammed Efe Cetin d0684925e3 rockchip-rk3588-edge: add vop2 clocks reset patch 2024-06-14 00:33:52 +02:00
Muhammed Efe Cetin 96eba61177 rockchip-rk3588-edge: re-add edge2 patches and fix mcu fan control
patch
2024-06-14 00:33:52 +02:00
ColorfulRhino 994f376888 rk3588: edge: Set kernel patch folder name to default
Move kernel patch folder to archive/rockchip-rk3588-${KERNEL_MAJOR_MINOR} which is the default.
Also rename kernel config to linux-rockchip-rk3588-${KERNEL_MAJOR_MINOR}
2024-06-12 16:20:42 +00:00
ColorfulRhino a6b5ea7950 rk3588: Introduce `current` kernel branch
Since the `edge` kernel branch often uses RC kernels, introduce a more stable `current` branch.
This branch should not be RC kernels and it also should move to an LTS kernel once released.
2024-06-12 16:20:42 +00:00
Ricardo Pardini 117b6fe997 rockchip-rk3588/edge: nanopct6: Add NanoPC T6 SPI Flash (6.10-rc2 version) 2024-06-12 16:20:42 +00:00
ColorfulRhino 6dec7db8a2 rk3588: edge: Rewrite kernel patches 2024-06-12 16:20:42 +00:00
amazingfate b9183f56a4 rk3588: edge: armsom-sige7: Use dts patch instead of bare dts 2024-06-12 16:20:42 +00:00
ColorfulRhino 5de4cd02fd rk3588: edge: Fix HDMI controller driver
The old driver didn't build on 6.10, so the kernel build couldn't finish.
Fix this driver.
2024-06-12 16:20:42 +00:00
ColorfulRhino 8c31cca7ba rk3588: edge: Rewrite kernel patches to 6.10-rc2 2024-06-12 16:20:42 +00:00
ColorfulRhino 031a85736b rk3588: edge: Update thermal and cpufreq support patches
Patches are from the Linux Rockchip Mailing List, submitted by Alexey
Charkov. [1]

Notable improvements from changelog:
- Moved the TSADC enablement to per-board .dts/.dtsi files
- Dropped extra "inefficient" OPPs (same voltage - lower frequencies)
- Dropped second passive cooling trips altogether to keep things simple
- Added a cooling map for passive GPU cooling (in a separate patch)
- Added regulator coupling for EVB1 and QuartzPro64

Also enable automatic fan control on Rock 5B.

[1] https://lore.kernel.org/linux-rockchip/20240506-rk-dts-additions-v4-0-271023ddfd40@gmail.com/
2024-06-12 16:20:42 +00:00
ColorfulRhino 408a0cbbc8 khadas edge 2: Fix patch for 6.10 2024-06-12 16:20:42 +00:00
ColorfulRhino afe733ced5 orangepi 5: Fix patch for 6.10 and convert from patch to .dts file
This simplifies the process updating to newer kernel versions and makes
it easier to see and edit the actual dts file being used.
2024-06-12 16:20:42 +00:00
ColorfulRhino de8d91b45f rk3588: edge: Fix dtb overlay compilation and installation
"general-add-overlay-compilation-support.patch" became obsolete in
Linux 6.9 (see AR-2352 [1]). Fix this problem:

- Rename *.dts sources in overlay directory to *.dtso
- Change "target +=" line to "dts-y +=" in overlay Makefile
- Remove "always +=" line in overlay Makefile
- Add .scr compilation support in kernel scripts/Makefile.lib
- Patch kernel scripts/Makefile.dtbinst to avoid flattening overlay
  directory

For the last two points, see
general-add-overlay-compilation-support.patch

Credits for this fix go to @paolosabatino

[1] https://armbian.atlassian.net/browse/AR-2352
2024-06-12 16:20:42 +00:00
ColorfulRhino 40ae7ac877 rk3588: edge: Bump kernel from 6.8 to 6.10
- Bump mainline kernel from 6.10-rc1 to 6.10-rc2
- Remove patches which are now mainlined
- Re-number "fix-initial-PERST-GPIO-value" patch as per number
  ordering seen in 0000.patching_config.yaml
- Rewrite kernel config
2024-06-12 16:20:42 +00:00
Igor Pecovnik f9940caee4 Odroid XU4: Remove deprecated patches 2024-06-12 16:03:35 +02:00
Viacheslav Bocharov 3dd2e5c3ec meson64-6.9 kernel: Add jethub j200 2024-06-11 20:08:10 +02:00
Igor Pecovnik 0cae55f377 Adjust Rockchip overlay to match changes introduced in 6.9.y 2024-06-11 20:07:50 +02:00
lanmarc77 8eb8cc5302
NanoPi Neo3 spidev support (#6689)
* added spi device support for Nano Pi Neo3 with different address
* adjusted Makefile for compilation for Nano Pi Neo3 spi-spidev
2024-06-11 11:50:01 +02:00
Ricardo Pardini 05ffbe7f7b s5p6818-legacy: drop un-needed symlink to archive/s5p818-4.14
- `common_defaults_for_mainline` already sets KERNELPATCHDIR='archive/s5p6818-4.14' thus this symlink is not necessary
- 1 step closer to a clean `patch/kernel` dir, when we could finally get rid of `archive/`
2024-06-10 20:36:46 +02:00
Ricardo Pardini b33c41d76f s5p6818-legacy: rewrite patches, no changes 2024-06-10 20:36:46 +02:00
ColorfulRhino 96e58d34d9 rockchip64: Move some leftovers from 6.8 to 6.9 patch folder
- Convert patches that add a completely new board to dts file, automatically applied in the dt folder
2024-06-09 18:38:43 +00:00
Ricardo Pardini 3ac7c64d9e odroidhc4: bump to u-boot v2024.04; drop most defconfig patches in favor of hooks
- add `pre_config_uboot_target` hook for switching BOOTCONFIG across the two targets
  - adapt `UBOOT_TARGET_MAP` to not call the defconfig Makefile targets directly, instead, just do a variable assignment (ignored by Make)
  - otherwise, when using the defconfig directly in the `UBOOT_TARGET_MAP`, the `post_config_uboot_target` .config changes are overwritten when Make is called
- only patch left is boot usb-nvme-scsi/sata first (still done in meson64.h)
- remove FIP handling from family file `meson-sm1.conf` into board file hook where it belongs
- u-boot: enable more compression methods, EFI debugging, i2c, leds, tcp networking
- use flashcp for mtd writing

- Unchanged:
  - confirmed as of v2024.04: using the C4 (not HC4) defconfig is still needed to be able to write to mtd when booted from SD
  - also confirmed: one still needs to erase Petitboot using Petitboot, then boot from SD, to be able to flash mainline u-boot to mtd
2024-06-09 18:29:58 +02:00
Alban Browaeys cbaf67f007 Sync helios64 to its updated 6.9 dts
Also move most node in the same order as upstream to lower the work
required to sync.
2024-06-09 18:29:29 +02:00
ColorfulRhino 6a42d502fa patch: u-boot: Fix patch dirs for CM3588 NAS and Orange Pi 5 2024-06-09 12:59:24 +00:00
Igor Pecovnik d7db1cd26b Add 6.9 compatibility fix for UWE and rewrite rockchip64 kernel config 2024-06-06 15:35:08 +02:00
Igor Pecovnik 8f0596dc8f Wireless drivers: port 8723cs to be compatible with kernel 6.9 2024-06-06 15:35:08 +02:00
kernelzru 9b16fad915 move ugoos x3 dt to 6.9 folder 2024-06-06 13:32:32 +02:00
kernelzru ea8a6efa4f update meson patches for 6.9 kernel 2024-06-06 13:32:13 +02:00
Igor f5575f64ac
Bump meson and meson64 EDGE kernel to 6.9.y (#6669)
* Bump meson and meson64 EDGE kernel to 6.9.y
* Rename patch folders
* Adjust broken patches, one remaining
* Add overlay support
* meson64: rename overlays to dtso, update makefile
* Update meson-gx-socinfo-sm driver patchset for meson64-6.9:
* add SoC ID patches for S905L, A113X
* fix memory double free in driver
* update dt bindings
---------
Signed-off-by: Patrick Yavitz <pyavitz@armbian.com>
Signed-off-by: Patrick Yavitz <pyavitz@xxxxx.com>
Signed-off-by: Viacheslav Bocharov <adeep@lexina.in>
Co-authored-by: Patrick Yavitz <pyavitz@xxxxx.com>
Co-authored-by: Paolo Sabatino <paolo.sabatino@gmail.com>
Co-authored-by: Viacheslav Bocharov <adeep@lexina.in>
2024-06-05 22:20:35 +02:00
Paolo Sabatino d3ff61144c rockchip: generalize dtb installation makefile 2024-06-05 22:18:51 +02:00
Paolo Sabatino af5a766940 fix dtb overlay compilation and installation
* rename .dts sources in overlay directory as *.dtso
 * change "target +=" line in "dts-y +=" in overlay Makefile
 * remove "always +=" line in overlay Makefile
 * add .scr compilation support in kernel scripts/Makefile.lib
 * patch kernel scripts/Makefile.dtbinst to avoid flattening overlay
   directory

for the last two points, see
general-add-overlay-compilation-support.patch
2024-06-05 22:18:51 +02:00
Paolo Sabatino 724573bf7a bump rockchip family edge kernel to 6.9 2024-06-05 22:18:51 +02:00
Paolo Sabatino 4d46d0c682 rockchip64: generalize dtb installation makefile 2024-06-05 22:18:24 +02:00
Paolo Sabatino 69ca249262 rockchip64: bump edge kernel to 6.9 2024-06-05 22:18:24 +02:00
Ricardo Pardini d4ee0d3ac9 u-boot-radxa-rk3588/legacy: `nanopc_t6_defconfig`: disable OPTEE (for OOB working boot with from-factory blobs in eMMC)
- makes it compatible with vendor out-of-box blobs (which include TEE) in the from-factory eMMC
- Armbian itself doesn't ship TEE blobs
- when combining from-factory eMMC blobs with an Armbian SD card, TEE blobs are in practice found by u-boot
- but then proceeds to fail with `optee api revision is too low`
- disable OPTEE in defconfig fixes it, TEE isn't used in any way by Armbian
2024-06-05 21:19:00 +02:00
Ricardo Pardini e745fcc701 u-boot-radxa-rk3588/legacy: `nanopc_cm3588_defconfig`: disable OPTEE (for OOB working boot with from-factory blobs in eMMC)
- makes it compatible with vendor out-of-box blobs (which include TEE) in the from-factory eMMC
- Armbian itself doesn't ship TEE blobs
- when combining from-factory eMMC blobs with an Armbian SD card, TEE blobs are in practice found by u-boot
- but then proceeds to fail with `optee api revision is too low`
- disable OPTEE in defconfig fixes it, TEE isn't used in any way by Armbian
2024-06-05 21:19:00 +02:00
Ricardo Pardini 1221009853 u-boot-radxa-rk3588/legacy: rewrite `nanopc_cm3588_defconfig` -- no changes
- `CONFIG_REGULATOR_RK806=y` seems a leftover that's not really used?
2024-06-05 21:19:00 +02:00
Ricardo Pardini cb7c48bbad u-boot-radxa-rk3588/legacy: rewrite `nanopc_t6_defconfig` -- no changes
- `CONFIG_REGULATOR_RK806=y` seems a leftover that's not really used?
2024-06-05 21:19:00 +02:00
Ricardo Pardini c1731e3213 u-boot-radxa-rk3588/legacy: add 0000.patching_config.yaml and move all null-patches into `dt` and `defconfig` dirs as bare files
- DTs and defconfigs should be identical to their null-patch equivalents
2024-06-05 21:19:00 +02:00
Ricardo Pardini 405fb1623b u-boot-radxa-rk3588/legacy: rewrite u-boot patches, no changes 2024-06-05 21:19:00 +02:00
stephengraf 99815c0a88
Sound Allwinner H616 H618 SOCs (#6694)
* Add files via upload

* Update series.armbian

* Update series.conf

* Add files via upload

* Update series.armbian

* Update series.conf

* Update linux-sunxi64-edge.config

* Update linux-sunxi64-current.config
2024-06-05 11:06:46 +02:00
Lemon1151 8f64f05082 Adding support for the fine3399 board 2024-06-03 12:32:02 +02:00
Igor Pecovnik dfc7cf4a8a Revert Odin2 branch change as new one is changing daily and breaks 2024-06-02 13:50:57 +02:00
Igor Pecovnik d17abdf233 Cleaning kernel patch folder and run kernel rewrite config 2024-06-02 11:54:17 +02:00
Igor Pecovnik e42979d669 Rewrite RPi 4 kernel config and fix wrong patch folder name 2024-06-02 11:53:58 +02:00
Igor Pecovnik acb528d457 Bananapi R2 - adjust patch folder, apply config rewrite 2024-06-02 11:53:37 +02:00
Igor Pecovnik f17391b59a Odroid XU4 - adjust patch folder, apply config rewrite 2024-06-02 11:53:18 +02:00
nullname cc300423e1
Fix issue #6528 opi-zero2w, ethernet PHY not powered (#6617) 2024-06-02 10:23:18 +02:00
Paolo Sabatino 4b51f88e56 rk322x: keep usb resets deasserted on exit
uboot default behaviour is the assert resets when
it has to pass control to the kernel.
This may cause compatibility issues if the kernel
driver is not instructed to properly deassert the resets,
so we change the uboot behaviour for dwc and ehci usb
drivers to deassert reset on exit.
2024-06-02 09:23:31 +02:00
Paolo Sabatino fa559a7c1d rk322x: fix missing HDMI with vendor kernel
multitool utility uses the legacy/vendor 4.4 kernel
and it was failing to turn on HDMI properly.
Assert and deassert all vop and hmdi resets to clean
up the state on uboot exit seems to solve the issue
2024-06-02 09:23:31 +02:00
Igor Pecovnik e9ecf4b79c
Cleanup UEFI patches, remove deprecated, rename folders 2024-06-01 22:46:45 +02:00
stephengraf 6b512abfa3
Pinctr dummy regulators (#6676)
* Add files via upload

* Update series.armbian

* Update series.conf

* Update arm-dts-orangepi-one-pinctr-dummy-regulators.patch
2024-06-01 10:01:54 +02:00
Lemon 10ce0c9e5f
重命名dd-new-borad-tinker-edge-r.patch -> patch/u-boot/u-boot-rockchip64/add-new-board-tinker-edge-r.patch;添加了对xiaobao-nas的支持 (#6662) 2024-05-29 13:31:51 +02:00
kernelzru 19821548d6 fixed emmc init 2024-05-26 22:20:57 +02:00
kernelzru 1f9f8a5a97 add ugoos x3 support 2024-05-26 22:20:57 +02:00
chainsx ce0f24bcc2 station-m3: use radxa's new u-boot 2024-05-26 22:20:17 +02:00
Ricardo Pardini 63693c8986 aml-t95z-plus: add board file (and u-boot 2024.04) for T95Z Plus Amlogic tvbox
- we've had kernel patches/DT (from chewitt) for this in meson64 for a long time, but I never sent the board
- uses blobs for the `tartiflette-s912` which is also an DDR3 S912 (VIM2's blobs are DDR4 and won't boot)
- this adds `u-boot 2024.04` support, using chewitt's DT & `000.patching_config.yaml` & a specific BOOTPATCHDIR
- this is a full board as-if it was an SBC, and expects to boot from mainline u-boot;
  - for that to work you've to wipe the eMMC and get rid of the vendor-supplied u-boot
  - if this is not what you want/need, you can use the aml tvbox "board" instead, together with Android u-boot
2024-05-21 22:36:01 +02:00
ARCW 2aa3409b9e
fixed Tinker-edge-r gpu bug (#6615) 2024-05-21 20:33:56 +02:00
The-going bcd50b8ecc sunxi-6.6: rework patches for current v6.6.31 2024-05-21 20:26:19 +02:00
amazingfate 88c749c46f rockchip-rk3588: edge: fix hantro vpu 2024-05-20 16:01:49 +02:00
Julian Sikorski 8ae760c474 Update odroidxu4-current to 6.6.31 2024-05-20 16:01:00 +02:00
chainsx 5fe762e0a3 Optimize the kernel device tree patch for rk3399-firefly. 2024-05-19 19:41:24 +02:00
Igor Pecovnik e5be2d489d Rockchip64: adjust patch as it doesn't align anymore 2024-05-18 09:47:35 +01:00
chainsx 7e574bd484 firefly-rk3399: fix patch 2024-05-18 09:47:04 +01:00
chainsx aa6ed7ce32 firefly-rk3399: move to rockchip64 family 2024-05-17 14:33:21 +01:00
Igor Pecovnik c72a158876 Remove deprecated patch + updating kernel config with rewrite-kernel-config
Fix media current and edge which hasn't been addressed in https://github.com/armbian/build/pull/6605
2024-05-15 09:15:32 +01:00
chainsx e27975b8ce station-m2: move to rk35xx family 2024-05-15 07:24:20 +01:00
Muhammed Efe Cetin 3ad7c43bfc rockchip-rk3588-edge: add Hantro G1 VDPU and RGA2 2024-05-13 21:17:29 +02:00
Muhammed Efe Cetin 6ad9fa557b nanopir6: enable GPU on edge kernel 2024-05-13 17:06:25 +01:00
Lane Jennison a099dfc9c9 RK3588: add generic pwm overlays from vendor kernel 2024-05-12 16:07:23 +01:00
Muhammed Efe Cetin 8827b0db51 rockchip-rk3588-edge: opi5-plus: update edge patches 2024-05-11 21:27:03 +01:00
kernelzru 96bed4e609
Update meson edge to 6.8 kernel (#6575)
* Meson8b update kernel to 6.8
* Fix error in clean tools 6.8 kernel
2024-05-11 16:09:44 +02:00
amazingfate 1fd390ecfa armsom rk3588 boards: use radxa's new uboot 2024-05-10 13:24:44 +01:00
kernelzru b8cb535327
Fix u-boot build for odroid c1 + fix onboard usb hub on odroid c1 (#6559)
* Fix odroid c1 u-boot build with GCC > 4.9
* Fix odroid c1 usb onboard hub
* u-boot add olddefconfig for odroidc c1
* fix build on armbian
* Update meson_common.inc
2024-05-09 17:47:36 +02:00
ssp97 c56aa2d34d rockchip-rk3308-current: sakura pi rk3308b adds kernel 6.6 and 6.8 support 2024-05-09 16:44:47 +01:00
Igor Pecovnik fc7638592c
Fix for line numbers in patched patch file
https://github.com/armbian/build/pull/6560
2024-05-09 16:38:38 +02:00
amazingfate 1ff445fa3d rock5c: fix rk3582 with disabled rkvdec node 2024-05-09 16:51:40 +08:00
voapilro 3bb74af9db Fix memory size detection for 1.5GB Orange Pi Zero 3 board on v2024.01 u-boot release 2024-05-08 07:30:31 +01:00
Igor Pecovnik 75845cab4e Odroid: remove deprecated patches 2024-05-07 11:34:21 +01:00
Paolo Sabatino 45dd07d4c5 rockchip64: rework drm hunk due to mainlined patch 2024-05-07 00:37:03 +01:00
Julian Sikorski c9cde1e49a Update odroidxu4-current to 6.6.30 2024-05-06 15:50:41 +01:00
Julian Sikorski c6b77cba61 Adapt the GPIO names patches to upstream commit 724ba67 2024-05-06 15:50:41 +01:00
Julian Sikorski f7bacd7590 Drop changes already added in odroid commit a633520 from the upstream patch 2024-05-06 15:50:41 +01:00
Julian Sikorski 44180c6a10 Drop add-con11-gpiomem.patch as there is nothing to patch 2024-05-06 15:50:41 +01:00
Julian Sikorski e08e0e294a Switch odroidxu4-current kernel to 6.6 2024-05-06 15:50:41 +01:00
Paolo Sabatino 253331a7cd rockchip64: add some HDMI clock and timing fixes 2024-05-06 15:50:23 +01:00