Commit Graph

1708 Commits

Author SHA1 Message Date
Paolo Sabatino
ee2789918d rockchip: use point kernel version 2023-12-14 22:02:26 +01:00
Igor Pecovnik
2f5cccaaa9 Raspberry Pi EDGE compilation breaks. Moving to 6.7.y, perhaps temporally 2023-12-14 21:04:05 +01:00
Gunjan Gupta
ad00d12c44 Bump Allwinner kernels 2023-12-14 00:04:30 +01:00
Gunjan Gupta
2a8ee89370 Bump Allwinner current and edge 2023-12-11 18:00:55 +05:30
Igor Pecovnik
7ddcfcc0a4 Bump Allwinner kernels to latest version 2023-12-09 15:06:46 +01:00
Paolo Sabatino
f6baa4c2f2 Use extension for Lima X.Org serverflags
* Remove create_desktop_package.sh for rk3318 board from
   config/optional, clearing the whole directory tree
 * Add an extension to implement serverflags workaround
   for X.Org and Lima driver not being autodetected
 * Fix rk3318-box and rk322x family to use extension in place
   of 40-serverflags.conf bsp file
2023-12-09 14:19:32 +01:00
Paolo
5599e234ba
rockchip,rk322x: fix gpio,i2c group creation (#6023) 2023-12-09 07:55:30 +01:00
Igor
fae4f66439
Merge Odroid M1 into rockchip64 family (#6015) 2023-12-07 09:22:42 +01:00
Werner
0b9e5dfa00 bump to rc4 2023-12-06 18:17:14 +01:00
Andrew Davis
33d8026508
Use TI kernel for K3 family with current v6.1.y (#5999)
* Add git.ti.com to memoized_git_ref_to_info() as a generic cgit

Like kernel.org, git.ti.com uses cgit. We might want to change this logic to
accept the git hosting type (cgit, gitlab, github, etc..) and not match only
on known repo urls. For now just add this repo url to the known list.

* K3: Switch current to TI vendor kernel v6.1.y

* K3: Bump edge to kernel v6.6.y
2023-12-05 12:50:40 +01:00
青菜萝卜冬瓜
125fea4268
thead: fix bluetooth problem, update to linux 6.7-rc3 (#5992) 2023-12-04 13:27:45 +08:00
Andrew Davis
baf49c4fec K3: Update to latest ATF v2.10.0 2023-12-03 18:50:44 +01:00
Werner
d6e00a6d4c bump rk3588 edge to rc3 2023-12-03 18:50:27 +01:00
Gunjan Gupta
58c3a5a472 kernel: allwinner: bump lecgacy, current and edge
Legacy - 5.15.140 -> 5.15.141
Current - 6.1.64 -> 6.1.65
Edge - 6.6.3 -> 6.6.4
2023-12-03 22:43:37 +05:30
Igor Pecovnik
c1014af98d Bump Allwinner kernels to latest version 2023-11-28 20:53:51 +01:00
Igor Pecovnik
014eb55b5b Switch media legacy kernel to last known working commit id 2023-11-27 16:45:56 +01:00
Ricardo Pardini
204d2e79b9 WSL2 "boards" wsl2-x86/wsl2-arm64 with current (6.1.y) and edge (6.6.y) kernels with Microsoft patches
> tl,dr: add 4 small-ish UEFI-like kernels, with Microsoft patches & fixes, for use with Microsoft WSL2 on x86/arm64 and 6.1.y/6.6.y

- the boards are UEFI derivatives, using a common `microsoft` vendor include to modify
  - `KERNELPATCHDIR`/`LINUXFAMILY` (for now, we don't want those patches in regular UEFI builds / .debs)
  - disable `EXTRAWIFI` (kernel is for a VM, will never have wifi so doesn't need any drivers)
  - `LINUXCONFIG`, so we can use Microsoft's own monolithic kernel, required for WSL2 (their initrd is a mistery)
- really, what we're mostly interested right now are the kernels (in the future we might have an "Armbian" WSL2 app in the Microsoft Store)
  - `current` `6.1.y`:
    - rebased from https://github.com/microsoft/WSL2-Linux-Kernel/tree/linux-msft-wsl-6.1.y onto real 6.1.y
    - using Microsoft's `.config` exactly (monolithic, there are no `=m`'s)
  - `edge` `6.6.y`:
    - also from https://github.com/microsoft/WSL2-Linux-Kernel/tree/linux-msft-wsl-6.1.y but rebased onto 6.6.y
    - using updated Microsoft's `.config` (monolithic, there are no `=m`'s)
    - dropped 2 of 6.1.y's patches that were actually upstreamed in the meantime:
      - `mm-page_reporting-Add-checks-for-page_reporting_order-param` - mainlined in https://lore.kernel.org/all/1664517699-1085-2-git-send-email-shradhagupta@linux.microsoft.com/
      - `hv_balloon-Add-support-for-configurable-order-free-page-reporting` - mainlined in https://lore.kernel.org/all/1664517699-1085-3-git-send-email-shradhagupta@linux.microsoft.com/
    - drop the `arm64: hyperv: Enable Hyper-V synthetic clocks/timers` patch, since it causes asm breakage on 6.6.y
      - a shame, but I tried and can't fix it myself - @kelleymh ?
    - add my own patch to fix:
      - `1709-drivers-hv-dxgkrnl-restore-uuid_le_cmp-removed-from-upstream-in-f5b3c341a.patch` due to https://lore.kernel.org/all/20230202145412.87569-1-andriy.shevchenko@linux.intel.com/ landing in 6.6
      - `1710-drivers-hv-dxgkrnl-adapt-dxg_remove_vmbus-to-96ec29396-s-reality-void-return.patch` to adapt to
        https://lore.kernel.org/all/TYCP286MB2323A93C55526E4DF239D3ACCAFA9@TYCP286MB2323.JPNP286.PROD.OUTLOOK.COM/
2023-11-27 11:14:01 +01:00
Gunjan Gupta
b4d5e2bbeb vim1s: fix armbian-bsp-cli package upgrade causes boot failure 2023-11-26 22:30:27 +05:30
Ricardo Pardini
4e37b276d1 bash: run shellfmt, no changes 2023-11-25 13:38:30 +01:00
Ricardo Pardini
ba75f12fdd rk322x family: use run_host_command_logged() for u-boot postprocessing (so DDR blob used shows in debug logs)
- cosmetical change for future clarity
2023-11-25 13:37:32 +01:00
Gunjan Gupta
875d4f7450 VIM1S/VIM4: Add bluetooth support 2023-11-21 20:30:09 +05:30
Gunjan Gupta
fdf1a7af7f Allwinner: bump legacy, current and edge kernels
legacy - 5.15.137 -> 5.15.139
current - 6.1.62 -> 6.1.63
edge - 6.6.1 -> 6.6.2

Updated patches to fix patch application failure. Also rebased the config files
2023-11-21 11:21:03 +05:30
chainsx
ae80eb7fb5 thead: update kernel to 6.7-rc.1 2023-11-20 18:15:16 +01:00
Igor
8caf51243e
Bump rpi and ebin edge kernels to 6.6.y (#5925)
* Bump rpi and ebin edge kernels to 6.6.y
* Move rpi patches from archive, remove deprecated patch folder
2023-11-19 22:34:54 +01:00
M. Efe Çetin
af3b4fafec
Update rk3588-edge to 6.7-rc.1 and add support for VOP2, Crypto, HW RNG (#5928)
* Update rk3588-edge to 6.7-rc1 kernel
* Update patches for rk3588-edge and add support for crypto, trng, hdmi tx, vop2
2023-11-19 22:30:26 +01:00
hzy
d6ede78016 meson: edge: Bump v6.6 2023-11-19 22:27:54 +01:00
Kevin Schmidt
72922908c5 Refresh jetson-nano board config. 2023-11-19 22:27:28 +01:00
Igor Pecovnik
45b8406f8d Bump kernel configs and sources for thead family 2023-11-19 19:35:46 +01:00
Paolo Sabatino
3998e34531 rk322x: update ddrbin to v1.11 2023-11-19 00:15:25 +01:00
Igor Pecovnik
79edb0c511 Remove RK3588 midstream kernel as there is no point of having it
+ move RK3588 EDGE tag to 6.6.y branch
2023-11-16 17:06:56 +01:00
Tony
9f4260501d
collabora: update to newer tags (#5915) 2023-11-15 13:27:15 +01:00
Igor
d1d86a342e
Bump Allwinner kernels (#5893) 2023-11-08 18:19:26 +01:00
青菜萝卜冬瓜
4941264d15
thead: update linux to 6.6, enable on-board 8723ds (#5880) 2023-11-03 08:11:31 +01:00
Gunjan Gupta
3234330548 Allwinner: bump legacy and current kernels
Legacy - 5.15.135 -> 5.15.137
Current - 6.1.57 -> 6.1.60
2023-10-31 14:22:26 +01:00
Ricardo Pardini
0488392964 meson64 / rockchip64 / uefi / rk3568-odroid: edge 6.6: bump to 6.6.y; rebase patches to v6.6(.0) 2023-10-31 08:14:01 +01:00
Paolo
f08dcd4867
rockchip,rk322x: bump edge kernel to 6.6 (#5875)
* rockchip,rk322x: bump edge kernel to 6.6
* rk322x: update patching_config.yaml
2023-10-31 08:13:23 +01:00
Gunjan Gupta
b8ab4f5e30 sunxi: bump edge kernel to 6.6 2023-10-30 22:58:11 +05:30
amazingfate
30a7d9c63a add new family qcom-abl for qcom android devices 2023-10-26 21:17:01 +08:00
Ricardo Pardini
98c0ab47f5 meson64 / rockchip64 / uefi / rk3568-odroid: edge 6.6: bump to 6.6-rc7; rebase/rewrite patches for 6.6-rc7 2023-10-26 14:30:48 +02:00
Ricardo Pardini
30aa744630 rockchip-rk3588: add -Wno-error=address to u-boot CFLAGS so it builds with gcc 12+
- this applies to all u-boots in this family
- this is in addition to the the `-Wno-error=enum-int-mismatch` needed for gcc 13+
2023-10-21 14:00:35 +02:00
Ricardo Pardini
3ed795e4cb rockchip64 edge 6.6: bump to 6.6-rc6; rebase patches 2023-10-21 14:00:08 +02:00
Ricardo Pardini
b89858d4d2 uefi edge 6.6: bump to 6.6-rc6; rebase patches
- also bump `qemu-uboot` variant's uboot from 23.10-rc4 to final 23.10
2023-10-21 13:59:32 +02:00
Ricardo Pardini
15364dccb7 rk3568-odroid edge 6.6: bump to 6.6-rc6 2023-10-21 13:58:58 +02:00
Ricardo Pardini
6731b003e2 meson64 edge 6.6: bump to 6.6-rc6; rebase patches 2023-10-21 13:57:12 +02:00
Ricardo Pardini
c94f6fb855 rockchip64 / edge 6.6: bump to 6.6-rc5; rebase patches 2023-10-14 22:02:27 +02:00
Ricardo Pardini
f3c3fe8e82 ubuntu: add mantic (23.10), symlinks to lunar 2023-10-14 09:40:45 +00:00
Igor Pecovnik
f174e0fabd Remove remaining rockchip64 bits from the system 2023-10-14 00:03:48 +02:00
Ricardo Pardini
57c8f4091a rockchip-rk3588: add -Wno-error=enum-int-mismatch to u-boot CFLAGS so it builds with gcc 13+
- this applies to all u-boots in this family
2023-10-13 18:01:41 +02:00
Gunjan Gupta
a262f07dfd Allwinner: Bump kernels
Legacy - 5.15.134 -> 5.15.135
Current - 6.1.56 -> 6.1.57
Edge - 6.5.6 -> 6.5.7
2023-10-12 15:37:38 +05:30
Viacheslav Bocharov
b51f55f34b JetHome: update jethub family config
Signed-off-by: Viacheslav Bocharov <adeep@lexina.in>
2023-10-11 16:50:22 +02:00
chainsx
3098c2f0cc thead: update linux to 6.6-rc5, update opensbi binary 2023-10-11 11:05:59 +02:00
Gunjan Gupta
c0e2bb910c meson-s4t7: add systemd service to enable fan in automatic mode
The service is only enabled by default on Vim4 as that board heats
a lot and a fan is absolutely necessary. Service will be available
on vim1s as well and if someone has purchased the fan for it, they
would be able to enable it themselves.

The service is only added for legacy kernel right now as I am not
sure if the upcoming 5.15 kernel will have same sysfs interface for
fan.
2023-10-11 11:05:45 +02:00
Gunjan Gupta
2c8d551422 meson-s4t7: Add option to force 16x9 display resolution
Khadas's 5.4 kernel has a broken hdmi subsystem that can result into
a monitor not working even if it supports one of the required display
resolution. Hence adding a workaround that will force use of one of
the 3 16x9 resolutions supporting most of the HD-ready, full-HD and
4K monitors.
2023-10-09 17:38:35 +05:30
Igor Pecovnik
f2c8f9c50c Bumo Allwinner kernels and update config with a new tooling 2023-10-07 00:00:21 +05:30
Ricardo Pardini
6030fa1a4a
mekotronics-r58x-4g: enable pcie3x4 and nvme boot for vendor u-boot (#5795)
- switch back from rockchip#next-dev to radxa#next-dev
- add patch with defconfig and kernel-derived dtb
- NVMe boot works
- USB3 boot doesnt
2023-10-06 19:39:30 +02:00
Gunjan Gupta
53cdc25adc
u-boot: sunxi: bumped to 2023.10 (#5780) 2023-10-03 19:25:51 +02:00
chainsx
10eeaa2690 thead: add edge kernel support 2023-10-03 14:13:13 +02:00
Ricardo Pardini
fb98faeab3 rk35xx+rockchip-rk3588/legacy: switch to rk-5.10-rkr6 branch
- also set `KERNEL_GIT_CACHE_TTL=120` to lower cache TTL from 1 hour to 2 minutes
2023-10-03 14:12:39 +02:00
Ricardo Pardini
bfb69c0534 rk3568-odroid/edge: bump to 6.6-rc4; initial copy from 6.5
- this is getting long in tooth, should merge with rockchip64 "soon"
2023-10-03 14:10:14 +02:00
Ricardo Pardini
41ade999f0 rockchip64/edge: bump to 6.6-rc4; initial copy patches from 6.5 2023-10-03 13:54:03 +02:00
Ricardo Pardini
3811f36a99 meson64/edge: bump to 6.6-rc4; initial copy from 6.5 2023-10-03 13:53:40 +02:00
Ricardo Pardini
55feeb39c5
uefi-arm64/edge: bump to 6.6-rc4 (#5777)
* `uefi-arm64`/`edge`: bump to 6.6-rc4 - initial copy from 6.5

* `uefi-arm64`/`edge` 6.6.y: bump to 6.6-rc4 - fix phytium stmmac acpi patch for 6.6

* `uefi-arm64`/`edge` 6.6.y: futher fix for phytium stmmac acpi glue
2023-10-03 13:53:22 +02:00
rll
b827e720b0 hinlink-h28k: support new SoC Rockchip rk3528, add new board Hinlink H28K
Co-authored-by: Ricardo Pardini <ricardo@pardini.net>
2023-09-30 21:56:21 +08:00
Ricardo Pardini
e55dd491c4 qemu-uboot-{x86,arm64} fixes + bump to u-boot 23.10-rc4 + rework x86 patches 2023-09-29 14:27:09 +02:00
Julian Sikorski
161d58cca1
Switch odroidxu4-current kernel to 6.1 (#5716)
* Switch odroidxu4-current kernel to 6.1

* Update odroidxu4-current to 6.1.53

* Fix kutf_suite.c compile error

* Drop missing watterott driver

* Do not fetch 8821cu driver separately

* Fix modpost error

* Update odroidxu4-current to 6.1.54

* Drop upstreamed patches
2023-09-26 23:36:49 +02:00
Paolo Sabatino
0a2892aeba rk322x: bump edge kernel to 6.5
* update libreelec patches to latest bits
 * rework some patches
 * rework dtb patches due to new arch/arm/boot/dts layout
 * fix led overlays due to idiot u-boot dtbo bug
2023-09-24 19:47:01 +02:00
Gunjan Gupta
13d60fefd8 Allwinner: bump legacy, current and edge kernel
Legacy - 5.15.32 -> 5.15.33
Current - 6.1.54 -> 6.1.55
Edge - 6.5.4 -> 6.5.5
2023-09-24 19:46:23 +02:00
Paolo Sabatino
06d5054cce rockchip: bump edge kernel to 6.5 2023-09-24 19:22:37 +02:00
Gunjan Gupta
d2962b071d BigTreeTech: Bump edge to 6.5
It was kept back at 6.2 because ws2812 driver was not compiling. Fixed
the compilation issue and hence moving it up to 6.5 kernel
2023-09-24 03:57:52 +05:30
Gunjan Gupta
032da341e1 Allwinner: bump legacy, current and edge kernels
Legacy - 5.15.131 -> 5.15.132
Current - 6.1.53 -> 6.1.54
Edge - 6.5.3 -> 6.5.4
2023-09-21 19:21:28 +05:30
Andrew Davis
fd06307eba Remove sunxi-mainline postfix from default ARM64 generic ATFDIR
This is the generic default and should not have this postfix.
2023-09-20 19:19:42 +02:00
Gunjan Gupta
608618a6f5 orangepi3lts: load wifi module via systemd service otherwise it crashes cpufreq_dt module 2023-09-19 20:08:18 +02:00
Igor Pecovnik
7474b8cb7e Bump Allwinner kernels 2023-09-13 13:05:40 +02:00
Muhammed Efe Cetin
23be92c454 Update rk3588-edge to 6.6-rc1 kernel 2023-09-13 09:30:51 +02:00
Igor Pecovnik
e894c43887 Bump sunxi kernels 2023-09-12 14:27:00 +02:00
Gunjan Gupta
07e0a4e6e5 Allwinner: update crust to v0.6 2023-09-06 13:08:57 +02:00
Andrew Davis
f217d11d3a K3: Add support for boards with SYSFW files
Some K3 boards use a split initial boot stage requiring an extra file
called "sysfw.itb". If defined in the board configuration deploy this
file if available.
2023-09-06 13:06:25 +02:00
Andrew Davis
84af8cf4cb K3: Move setting ATF_BOARD into board config files
The ATF "board" to use may not always be "lite" for all K3 boards so
move setting this into the board level files from the K3 common settings.
2023-09-06 13:06:25 +02:00
Andrew Davis
18982c44b4 K3: Update edge kernel to v6.5
Signed-off-by: Andrew Davis <afd@ti.com>
2023-09-06 13:06:25 +02:00
Andrew Davis
127ab401cf K3: Update to latest U-Boot v2023.10-rc3 2023-09-06 13:06:25 +02:00
amazingfate
6d981baba6 rockchip64: bump rockchip64-edge kernel to 6.5 2023-09-04 14:55:50 +02:00
Gunjan Gupta
b8a4608178 Allwinner: bump legacy, current and edge kernels
Legacy - 5.15.127 -> 5.15.130
Current - 6.1.47 -> 6.1.51
Edge - 6.5 -> 6.5.1
2023-09-04 14:37:10 +02:00
Ricardo Pardini
c9cf47a25d bcm2711/edge: bump to RPi Foundation's 6.5.y branch; rebase all patches 2023-09-02 14:47:59 +02:00
Ricardo Pardini
2230db6299 meson64/edge: bump to 6.5.y; rebase all patches vs v6.5(.0)
- drop upstreamed patch `meson-dts-add-missing-cache-properties.patch`
2023-09-02 14:47:46 +02:00
Ricardo Pardini
f1b41bb771 uefi-arm64/edge: bump to 6.5.y; rebase all patches vs v6.5(.0); fix Phytium's stmmac patch
- hammer patch `driver-phytium-stmmac-acpi.patch`
  - use `.remove_new` due to "net: stmmac: Make stmmac_pltfr_remove() return void"
2023-09-02 14:47:33 +02:00
Ricardo Pardini
e16cd61036 rk3568-odroid/edge: bump to 6.5.y from -rc6; rebase all patches vs v6.5(.0) 2023-09-02 14:47:17 +02:00
Andrew Davis
a6d2736ed1 K3: Build first stage bootloader before normal U-Boot
The causes the first-stage bootloader to be generated before the normal
U-Boot allowing the later build to use the firmware fetched during the
first-stage build.
2023-09-02 14:46:58 +02:00
Gunjan Gupta
274e2cf8c3 Allwinner: switch edge to 6.5 kernel 2023-09-02 03:46:28 +05:30
Ricardo Pardini
ee565514c9 bsp-cli: allow hooks to cleanly add code to the bsp-cli postinst; fix helios4 to match
- bsp-cli: `postinst` is now generated _after_ the hooks are run
  - hooks are allowed to append to `postinst_functions` array
  - hooks are _not_ allowed to modify `DEBIAN/postinst` directly anymore (it won't even be there)
- rewrite the postinst stuff in `helios4`'s `family_tweaks_bsp()` to use new way
- introduce `add_file_from_stdin_to_bsp_destination()`, a helper for easy heredoc-based adding of files to bsp-cli
  - First and only argument is the destination path, relative to the root of the package -- do NOT include $destination -- it is already included.
  - Containing directory, if any, is created automatically (no more "mkdir -p x; cp y x/z")
  - The full path (including $destination) is set in $file_added_to_bsp_destination, declare in outer scope to get it if needed.
2023-08-24 11:45:45 +02:00
Gunjan Gupta
6edd09feff sunxi: bump current and edge kernels
current - 6.1.46 -> 6.1.47
edge - 6.4.11 -> 6.4.12
2023-08-24 14:29:59 +05:30
Ricardo Pardini
0d22ef349d rpi4b: use exit_with_target_not_supported_error() instead of exit_with_error() if RELEASE is not supported 2023-08-23 21:35:02 +02:00
Gunjan Gupta
af42e9d3ec Fix error when building for Allwinner boards without crust support 2023-08-22 19:13:12 +05:30
Ricardo Pardini
11df81403d config/lib/exts: run shellfmt
- `bash lib/tools/shellfmt.sh`
- mostly spacing changes that accumulated over time
2023-08-22 14:28:14 +02:00
Gunjan Gupta
1d6a779ed1 Drop HOST OS that doesnot support crust compilation 2023-08-22 13:03:51 +02:00
Ricardo Pardini
c35adb37c7 odroidm1: de-infest Petitboot 🔥 use Kwiboo's 2023.10 u-boot; UMS works
- using Kwiboo's `rk3568-2023.10` branch  with BINMAN-handled blobs
- patches (defconfig unless indicated):
  - boot usb first (rockchip-common)
  - blink leds & keep red one one on preboot; reset SPI env once after deinfesting from Petitboot
  - change usb_host0_xhci to otg (u-boot dtsi)
  - enable DM_GADGET, UMS 🔥 and RockUSB
- **usage instructions**:
  - build & burn image to SD card
  - insert SD card into board
  - **hold the recovery (RCY) button** and power on the board
  - watch board boot
  - **de-infest Petitboot**: use `armbian-install` to install bootloader to MTD
    - if you don't, you'll need to hold the recovery button every boot
    - optionally: use `armbian-install` to install OS to eMMC/NVMe/USB
  - power-off board
  - remove SD card (new u-boot always boots SD first!)
  - boot into your newly de-infested machine
    - boot order: USB, SD, MMC, NVME, SCSI
- de-infested machine can now boot (directly) from USB/SATA/NVMe, possibly via EFI:
  - Armbian UEFI-arm64
  - Fedora 38 aarch64
  - HASSOS for ODROID-M1
  - Talos arm64
  - others...
- extra: new u-boot by Kwiboo (with GMAC patches) gives us stable MAC address
  - although it is based on cpuid#, doesn't match the HK sticker on the board
    - run `fw_setenv ethaddr XX:XX:XX:XX:XX:XX` to change eth addr in SPI flash environment if needed
- `odroidm1`: update DDR/BL31 blobs (this depends on https://github.com/armbian/rkbin/pull/20)
2023-08-22 12:57:34 +02:00
Ricardo Pardini
23e02ed8e5 odroidm1/edge (rk3568-odroid): bump to 6.5-rc6; manually fix RK808 breakage in .config; externalize overlays; use Makefile autopatcher; rebase patches 2023-08-22 12:57:34 +02:00
Ricardo Pardini
3f4da8a020 odroidm1/edge (rk3568-odroid): bump to 6.4.y, update config, rebase patches to 6.4.10 2023-08-22 12:57:34 +02:00
Ricardo Pardini
0c0e0891c0 odroidn2l: add board file for ODROID N2L; on meson64 edge; add N2L-specific FIP handling to g12b
- current (6.1) does not yet carry the DTB
- u-boot (up to at least 2023.10-rc2) does NOT have ADC detection for N2L, so force the DTB
- `meson-g12b.conf`: add a specific if for `odroidn2l` _before_ the `odroidn2*` for FIP blobs
2023-08-22 08:18:53 +02:00
Gunjan Gupta
fdca3d5ac3 kernel: sunxi: bump legacy, current and edge 2023-08-21 16:33:44 +05:30
lanefu
87e7e643aa
correct collabora major_minor to 6.5 (#5618) 2023-08-21 09:05:28 +02:00
Igor
5a2e6a2f63 Add support for most recent memory chips on BPi M5 / M2PRO
Signed-off-by: Igor <igor@armbian.com>
2023-08-18 17:10:42 +02:00
Tony
214fecf045
rockchip64: bump atf to lts v2.8 (#5604) 2023-08-17 10:25:15 -04:00
Gunjan Gupta
02051676b0 meson-s4t7: Enable dtbo support
The support is implemented by using dtbo files supplied by Khadas directly
in the linux-dtb package. The files are not compiled just copied.
2023-08-15 16:03:24 +02:00
chainsx
90c05bac23 licheepi-4a: add a .wip for Sipeed LicheePi 4A board 2023-08-14 09:21:42 +02:00
amazingfate
e474a71b5d toggle rk35xx legacy kernel to sdk rkr5.1 2023-08-14 09:20:49 +02:00
Muhammed Efe Cetin
c6ba2283a7 rk3588: edge: update kernel to 6.5-rc5 and fix its timeout issue 2023-08-12 10:04:30 +02:00
Gunjan Gupta
c9997723b4 Allwiner: bump legacy, current and edge kernel
legacy - 5.15.124 -> 5.15.126
current - 6.1.43 -> 6.1.45
edge - 6.4.8 -> 6.4.10
2023-08-12 10:00:10 +02:00
Igor Pecovnik
41a88f6f5c Disable external wireless drivers on mt7623 legacy 2023-08-12 09:59:26 +02:00
Gunjan Gupta
35feddc350 meson-s4t7: Use partitiontype=generic instead of initrd hack
Also added viraniac as maintainer for vim1s
2023-08-09 11:20:28 +02:00
Ricardo Pardini
eb9dc7ea5c khadas-vim4/khadas-vim1s: some fixes; VIM4/VIM4N now boots; workaround eMMC/oowow partition trouble for now
- vim1s/vim4: remove uEnv.txt and default extlinux args, use simple arguments instead
- meson-s4t7.conf: hack: rereadpt (re-read partition table) in initrd local-top (for eMMC boot of oowow'ed image)
- meson-s4t7.conf: include both `u-boot.bin.sd.bin.signed` and `u-boot.bin.signed` in uboot package
- meson-s4t7: patch kernel for different dt "model" across VIM4 and "New VIM4"
- meson-s4t7.conf: set `EXTLINUX_SPECIFIC_FDT=no`, so u-boot auto-determines which DTB to use
    - don't specify DTB; this way both the "original VIM4" and the "new VIM4" can boot with the same image
2023-08-09 11:20:28 +02:00
Ricardo Pardini
7a61093df4 khadas-vim4/khadas-vim1s: very early wip; meson-s4t7/legacy 5.4 Amlogic kernel
- only "boot from SD" supported right now
- building uboot with xPack riscv-none-embed-gcc **external** toolchain setup in hooks
- kvim4: very high kernel logging + systemd debug logging to console
- kvim4/kvim1s: add uEnv.txt and ROOT_FS_LABEL="ROOTFS" and Khadas-esque extlinux
- meson-s4t7: unify khadas-vim1s and khadas-vim4 u-boot building
- kernel .config:
  - s4t7: original Khadas vendor config
  - s4t7: CONFIG_BINFMT_MISC=y
  - s4t7: make NFS/sunrpc stuff =y
  - s4t7: enable USB wifi drivers from Armbian network_drivers
- firmware: at https://github.com/armbian/firmware/pull/56
- extlinux tricks require https://github.com/armbian/build/pull/5462
- status:
  - kvim1s: boots from SD and works as server/CLI
  - kvim4: kernel panic during systemd-udevd
2023-08-09 11:20:28 +02:00
Andrew F. Davis
a190d11d7b
K3: Make FAT filesystem fill whole partition (#5543)
The default will align the data structures with the cluster size,
which causes the size to not be set to the full partition size. This
causes issues with some board ROMs. Use the -a flag to ignore the
alignment and fill the available space.

Co-authored-by: Igor <igor@armbian.com>
2023-08-04 12:24:04 +02:00
Igor
9ca8f9c403 Revert "config: rockchip64_common: fix wrong M0 toolchain prefix"
This reverts commit 78aa57982e.
2023-08-04 11:46:41 +02:00
Paolo
c27739943d
rockchip64: bump rockchip64-edge kernel to 6.4 (#5552)
undefined
2023-08-04 10:39:13 +02:00
Gunjan Gupta
9ae926fe17 Allwinner: bump legacy, current and edge kernels
Legacy - 5.15.123 -> 5.15.124
Current - 6.1.42 -> 6.1.43
Edge - 6.4.7 -> 6.4.8

Toggled CONFIG_RCU_TRACE in linux-sunxi-current.config to fix booting
on 32-bit kernel
2023-08-04 09:53:45 +02:00
Andrew Davis
34f459158e Add initial support for TI SK-AM62B board 2023-08-04 09:52:55 +02:00
Andrew Davis
e58215203e Allow K3 family devices to select R5 U-Boot defconfig
This was hardcoded to am64x_evm_r5_defconfig before, but as we
want to add more K3 family devices we need this to be configurable.
2023-08-04 09:52:55 +02:00
Lu jicong
78aa57982e config: rockchip64_common: fix wrong M0 toolchain prefix
rockchip ATF M0 code should use "arm-none-eabi-" toolchain to compile.
"arm-linux-gnueabi-" toolchain causes LD error.
2023-08-02 08:29:19 +02:00
Andrew Davis
b6eb2bcc14 Update edge kernel on K3 family to v6.4 2023-08-02 08:27:28 +02:00
Gunjan Gupta
9ae14ad851 sunxi: bump current kernel to 6.1.42 2023-07-30 02:27:20 +05:30
Gunjan Gupta
08816900a2 Allwinner: bump kernel versions
Bumped kernel versions as follows
sunxi & sunxi64:
legacy - 5.15.121 -> 5.15.123
edge - 6.4.5 -> 6.4.7

sunxi64 only:
current - 6.1.40 -> 6.1.42
2023-07-28 21:13:41 +05:30
Ricardo Pardini
f4f3409a67 media: Oleg dropped his kernel-4.19 branch, so drop legacy from bananapir2pro, station-m2, station-p2 2023-07-26 13:28:43 +02:00
Ricardo Pardini
148510f405 rk3399: legacy .config for rk3399 was removed long ago; completely drop rk3399 family, move boards to rockchip64 and remove their legacy KERNEL_TARGET
- also drop hooks referring to `legacy`
2023-07-26 13:27:13 +02:00
Ricardo Pardini
47334e4d5e sun50iw9-btt: keep using linux-sunxi64-edge.config for LINUXFAMILY=sun50iw9-btt 2023-07-26 00:20:17 +05:30
Gunjan Gupta
896178c58f BigTreeTech: Use different family for edge kernel to avoid artifact conflict 2023-07-25 17:10:49 +05:30
Gunjan Gupta
8195919d44 Kernel: Allwinner: Bump legacy, current and edge kernel
Legacy: 5.15.120 -> 5.15.121
Current: 6.1.39 -> 6.1.40
Edge: 6.4.4 -> 6.4.5
2023-07-24 17:03:30 +05:30
Vyacheslav Bocharov
4d5edf5eda JetHome: Add RS485 ports aliases in /dev/serial/rs485 for JetHub D1/D1+ 2023-07-23 14:42:37 +02:00
Vyacheslav Bocharov
22ed391b16 JetHome: Update jethub-init service 2023-07-23 14:42:37 +02:00
Vyacheslav Bocharov
d53af75de9 JetHome: enable CPUFREQUTILS_ENABLE to apply CPUMIN/CPUMAX values at runtime 2023-07-23 14:42:37 +02:00
Gunjan Gupta
edc0a5bdfc Allwinner bump u-boot, current and edge kernels
U-boot bump is trivial. only removes the rc6 extra version from Makefile

Current kernel - 6.1.38 -> 6.1.39
Edge kernel - 6.4.2 -> 6.4.4
2023-07-20 16:49:29 +02:00
Muhammed Efe Cetin
9a0908f9ba update rk3588-edge to v6.5-rc1 2023-07-15 00:00:07 +02:00
Gunjan Gupta
2424b1ae2b allwinner: bump uboot and kernel 2023-07-12 12:27:37 +02:00
Igor Pecovnik
89a6750d78 Bump UEFI edge to 6.4.y 2023-07-11 11:15:00 +02:00
Paolo Sabatino
4605bcab83 bump rockchip edge kernel to 6.4 2023-07-09 11:24:10 +02:00
Paolo Sabatino
5153821ac0 bump rk322x-edge to 6.4 2023-07-09 11:23:30 +02:00
hzy
12ab63f0a2 meson: edge: Bump v6.4 2023-07-05 10:55:32 +02:00
Gunjan Gupta
4752a90850 allwinner: Bump u-boot and kernel versions
U-boot 2023.07-rc4 -> 2023.07-rc6
Kernel Legacy 5.15.113 -> 5.15.119
Kernel Current 6.1.34 -> 6.1.37
Kernel Edge 6.4.0 -> 6.4.1
2023-07-04 19:24:02 +02:00
Ricardo Pardini
8153c11f10 mekotronics: post_family_config() hook is too late to change DDR_BLOB and BL31_BLOB, move to board-scope variables
- thanks @efectn for spotting this;
- I had tested the blobs in other ways, before deciding to refactor their change into a hook, which never worked.
2023-07-04 18:15:01 +02:00
Ricardo Pardini
6a74d725c3 rockchip64_common: default, but do not overwrite, BL31_BLOB and MINILOADER_BLOB (fixed!)
- fixes 3c51abcd68
2023-07-01 16:20:01 +02:00
Ricardo Pardini
c3bf97bd27 rockchip64_common: move the TB2's special DDR_BLOB out from family file into board file 2023-07-01 14:54:55 +02:00
Ricardo Pardini
3c51abcd68 rockchip64_common: default, but do not overwrite, BL31_BLOB and MINILOADER_BLOB 2023-07-01 14:54:55 +02:00
Ricardo Pardini
ea30a06236 mekotronics: refactor vendor conf/hooks; vendor uboot with new patches; new blobs
- meko: don't use Radxa's Rock-5A u-boot anymore, switch to rockchip vendor next-dev branch
- meko: my own (horrible) patches for MAC address stability / defconfig
- meko: cherry picked a few patches for getting rid of BL32/read Bl31 from env and other fixes from Radxa
- meko: add OTP node to 3588 dtsi (so we don't need kern-dtb in ITS for working OTP)
- meko: refactor common code across 3 (soon to be 4) board files into vendor conf and hooks
- meko: bump DDR/BL31 blobs for all Meko boards
2023-07-01 14:53:34 +02:00
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
d404b7e805 allwinner: edge: Bump kernel to v6.4 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
Gunjan Gupta
2ccc26b657 kernel: sunxi: bump edge kernel to 6.3 2023-06-29 13:02:26 +02:00
Tony
45f6ca540c
rockchip-rk3588-edge bump to 6.4 add nanopc-t6 dts (#5407) 2023-06-29 10:51:09 +02:00
Ricardo Pardini
3324449fbe kernel drivers: introduce KERNEL_DRIVERS_SKIP array to allow families to skip certain kernel drivers
- move rtw88's skip's from drivers_network.sh to their own family definitions
2023-06-28 21:26:54 +02:00
Ricardo Pardini
d9c3cf3a0a Revert "update rk3588 spl, ddr, bl31 blobs"
This reverts commit 084fba8524.
2023-06-28 21:26:44 +02:00
Ricardo Pardini
8b0fb1537b meson-{sm1|g12a|g12b}: default, but don't override, ASOUND_STATE; this way board-specific asound.state's are honored
- add logging during actual deployment so we know what is happening
2023-06-27 11:39:36 +02:00
Ricardo Pardini
81125507f9 meson64 edge 6.4: bump from 6.4-rc5 tag to linux-6.4.y branch
- rebase one patch
2023-06-27 07:10:28 +02:00
Ricardo Pardini
4456572267 khadas-vim3l: bump u-boot to 2023.07-rc4, add KBI support for easy PCI/USB3 switching
- symlink in patch/u-boot/v2023.07 from `board_khadas-vim3` to `board_khadas-vim3l` since KBI is the same for both
- add myself as BOARD_MAINTAINER
2023-06-26 20:55:35 +02:00
Ricardo Pardini
5fdb5b4dbf khadas-vim3: introduce SPI-NOR/MTD u-boot build, using old(er) FIP blobs
- move FIP signing code from meson-g12b.conf's `uboot_custom_postprocess()` to the board's own `post_uboot_custom_postprocess` hook
- fetch a secondary FIP blob repo at a revision with working FIP blobs for SPI (see https://github.com/LibreELEC/amlogic-boot-fip/pull/10)
- implement `post_uboot_custom_postprocess__khadas_vim3_uboot_new_and_old_blobs()` doing a dance for SD/eMMC with new blobs, and SPI with old blobs.
2023-06-26 20:55:35 +02:00
Muhammed Efe Çetin
084fba8524 update rk3588 spl, ddr, bl31 blobs 2023-06-26 20:55:14 +02:00
Gunjan Gupta
b3c6f44529 allwinner: use different work directory for u-boot source when crust is enabled 2023-06-26 20:54:55 +02:00
Gunjan Gupta
a747ba2c37 Only install gcc-or1k-bin package when building images with crust-firmware support 2023-06-26 20:54:55 +02:00
Gunjan Gupta
748eba0031 Allwinner: Bump u-boot to v2023.07-rc4 2023-06-26 20:54:19 +02:00
Gunjan Gupta
5715b12d2f Allwinner: Bump ATF to 2.9.0 2023-06-26 20:54:19 +02:00
Gunjan Gupta
e4f9f637a6 Allwinner: Bump u-boot to 2023.04 2023-06-26 20:54:19 +02:00
Gunjan Gupta
9525b2d16c Allwinner: Bump u-boot to 2023.01 2023-06-26 20:54:19 +02:00
Ricardo Pardini
6c232a1303 grub: add hooks, fix GRUB font & wallpaper, introduce grub-with-dtb extension
- introduce hooks `grub_early_config`, `grub_pre_install` and `grub_late_config`
  - what we see here is an extension that itself has hooks, that just works
- introduce extension `grub-with-dtb`, which
  - enables `grub` extension
  - requires `BOOT_FDT_FILE` to be set
  - includes `/etc/armbian-grub-with-dtb` with `BOOT_FDT_FILE=` in the bsp-cli
  - includes `/etc/kernel/postinst.d/armbian-grub-with-dtb` in the bsp-cli
     - which reads the above and creates links for `/boot/armbian-dtb-<version>` when deploying deb's
  - adds implementations of the hooks above to
    - replace the distro's `10_linux` with our own `09_linux_with_dtb`
      - which looks for `/boot/armbian-dtb-<version>`
    - forcibly run  `/etc/kernel/postinst.d/armbian-grub-with-dtb` during image build, since bsp-cli is installed after linux-image
- uefi-arm64: enable GRUB wallpaper by setting `UEFI_GRUB_TERMINAL=gfxterm`
- force GRUB_FONT so Ubuntu is not confused and gfxterm (incl wallpaper) finally works
2023-06-26 13:52:29 +02:00
Gunjan Gupta
fddd8d1de4 allwinner: add u-boot patches to enable crust on H3 2023-06-20 21:36:31 +02:00
Gunjan Gupta
8278dc5e42 allwinner: Enable crust compilation 2023-06-20 21:36:31 +02:00
amazingfate
5ee6d8b11d merge rockchip-rk3588-legacy and rk35xx-legacy 2023-06-20 21:34:31 +02:00
Patrick Yavitz
f389b75de4 Bump: sunxi/64_common.inc: linux 6.1.34
All patches apply and resolves issue: https://github.com/armbian/build/issues/5357

Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2023-06-20 07:52:06 +02:00
Andrew Davis
98ca4df12a Add support for the TI K3 family of devices 2023-06-20 07:43:09 +02:00
Gunjan Gupta
4396c12df7 allwinner: honor BOOTBRANCH and BOOTPATCHDIR set in board configs 2023-06-14 15:31:33 +02:00
Gunjan Gupta
e7f715091c allwinner: bump current to 6.1.33 2023-06-14 05:36:26 +02:00
Gunjan Gupta
bc46fd509a allwinner: bump u-boot to v2022.10 2023-06-13 20:19:36 +02:00
Igor
0b6d57e7d8 u-boot bpi r2 fixing broken u-boot patch
CSC target, not tested on hardware
2023-06-13 19:32:21 +02:00
Ricardo Pardini
dfb199ebe6 uboot: introduce u-boot-sunxi-v2022.04 for Allwinner boards using 22.04 u-boot (eg nanopineo)
- `sunxi_common`: don't overwrite `BOOTPATCHDIR` if it is set by the board (default, but do not overwrite)
- hammer `allwinner-h616-GPU-enable-hack.patch`
2023-06-13 19:31:40 +02:00
Ricardo Pardini
359a766056 meson64 edge: bump from 6.2 to 6.4 (family file + symlink) 2023-06-13 12:33:47 +02:00
Ricardo Pardini
a36bb63aab rock-5a: move board-specific code from family file to board file with post_family_config_branch_legacy hook 2023-06-01 18:29:17 +02:00
Ricardo Pardini
3e8c8b03a0 rock-5a: fix broken u-boot build by forcing build of u-boot.dtb before u-boot.itb 2023-06-01 18:29:17 +02:00
amazingfate
2fcc395a34 build uboot for rock5a with spi flash support 2023-06-01 12:49:57 +08:00
Alan
b8b11f4f7f Add support for BigTreeTech CB1 (Allwinner H616) board 2023-05-29 10:17:56 +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
798b518f1b update rk35xx-legacy to 5.10 rkr4 2023-05-26 10:25:17 +08:00
amazingfate
316c4117dd update kernel of rockchip-rk3588 legacy to rkr4 2023-05-25 14:04:26 +08:00
Igor
a710553138 Temporally disable broken wireless / bluetooth driver from patch/misc/wireless-rtl8723cs/
@paolosabatino

Also bump Allwinner
2023-05-25 06:19:21 +02:00
Ricardo Pardini
10a0a3e454 rpi4b/bcm2711: introduce RPI_DEBUG_CONSOLE=yes which at once disables bt, enables uart, and adds ttyAMA0 2023-05-23 16:33:59 +02:00
amazingfate
ea952814d1 change radxa uboot branch to next-dev 2023-05-21 14:01:21 +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
f1836416d2 Bump sunxi to latest 2023-05-18 22:24:35 +02:00
Igor
f1ab301d38 Bump Allwinner and update associated kernel configs 2023-05-16 19:48:13 +02:00
Igor
de226c1a9a Enable "current" kernel branch for Rock3A
Signed-off-by: Igor <igor@armbian.com>
2023-05-16 19:00:02 +02:00
Ricardo Pardini
1f26121528 logging/rockchip64_common: curb warning about BOOT_SOC vs BOOTCONFIG if BOOTCONFIG is empty or 'none'
- we've enough warnings already
2023-05-15 17:43:25 +02:00
Ricardo Pardini
99e065381a squash more warnings:
- `odroidxu4`'s firmware hook for vendor kernel. such is life, no use warning.
- `sun50iw9`: vendor kernel with extension, proven working, stop warning
- old kernels don't have working headers, it's a fact of life, remove warning
2023-05-15 17:43:25 +02:00
Ricardo Pardini
7025418c8b mt7623: remove packages/extras-buildpkgs/mmc-utils/debian/rules install that does not exist anymore (fixes bananapir2)
- remove ancient `family_tweaks` completely
2023-05-15 17:43:25 +02:00
amazingfate
df3c7eb461 use the same patch dir for u-boot from radxa 2023-05-15 17:12:20 +02:00
Igor
8ac568102e Switch Rockchip CURRENT to 6.1.y 2023-05-15 17:12:06 +02:00
Werner
e62f03dd10 Update sun8i-v3s.conf 2023-05-09 10:05:58 +02:00
Ricardo Pardini
6d3364673a rockchip64_common.inc: fix escaping for test in subshell
- this emits errors early if BRANCH is not set
2023-05-08 11:21:47 +02:00
amazingfate
85bab47bba bump rockchip64 edge to v6.3 2023-05-06 12:55:10 +02:00
amazingfate
5dee9ee935 remove twice declared uboot make targets for rkspi image 2023-05-05 12:25:07 +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
ab0eb4936d macchiatobin-doubleshot: fix u-boot/atf build: export SCP_BL2 had been wrongly converted to declare -g SCP_BL2 when it is in fact required; fixes #5116 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