Commit Graph

13 Commits

Author SHA1 Message Date
Ricardo Pardini
e9708b8c33 mekotronics-rk3588: u-boot: back to radxa's v2024.03, as .10 breaks GMAC stable MAC patch
- this reverts d048673c00 just for the Meko's
- there is little to be gained from .10 anyway on those machines (IMHO)
- it is still vendor 2017.09 after all, dunno why Radxa calls them "2024.x"
2025-03-19 06:53:08 +01:00
Ricardo Pardini
37279605ac mekotronics: u-boot: join rockchip-rk3588's default u-boot-radxa-rk35xx scheme
- rebased 2 patches
- moved null patches for dts & defconfigs to `dt` / `defconfig` dirs
- rename defconfigs since we're at it; use board-specific only
- defconfigs re-saved
2024-07-09 06:18:00 +02:00
ColorfulRhino
39fdf21b98 Beautify shellfmt and add board configs to formatting list (#6910)
* tools: shellfmt: Beautify and add board configs to formatting list
* Format the whole code using `lib/tools/shellfmt.sh`
---------
Co-authored-by: Igor <igor@armbian.com>
2024-07-08 17:00:38 +02:00
Ricardo Pardini
b52b08ffdf rk3588: bump default blobs (DDR:1.16, BL31:1.45); remove board-specific blobs from boards that used those versions
- in practice:
  - boards that didn't specify their own blobs: bump DDR 1.08->1.16 ; BL31 1.28 -> 1.45 (example: rock-5b!)
  - boards that specified 1.16/1.45 individually now follow the defaults (no change)
  - boards that specified a different version: no change; just a TODO suggesting review/removal/go-with-the-defaults
  - Mekotronics boards: bump from 1.11/1.38 to defaults (1.16 / 1.45)
2024-06-27 14:24:00 +02:00
Ricardo Pardini
1184c6d0e3 multiple boards: drop hooks adding 'python3-pyelftools' & libgnutls28-dev hostdeps, now included in standard core deps 2024-04-29 02:26:38 +08:00
Ricardo Pardini
d26394904f mekotronics: mainline u-boot experiment using generic-rk3588_defconfig, gated by MEKO_USE_MAINLINE_UBOOT=yes
- Kwiboo's `rk3xxx-2024.04` -- also works with mainline's `next`
- works! (sd/emmc only ofc)
2024-04-03 18:30:48 +02:00
Ricardo Pardini
ac163dc962 mekotronics: mainline u-boot (next branch, generic-rk3588_defconfig)
- works! (sd/emmc only ofc)
2024-04-03 18:30:48 +02:00
Ricardo Pardini
ca8254d173 mekotronics 3588: add SRC_CMDLINE, for use with u-boot-menu extension
- does nothing otherwise
2024-03-02 20:48:45 +01:00
Ricardo Pardini
4644489ff6 wsl2: enable image-output-vhdx for all wsl2 images (this enables wsl2 images to be run directly on Hyper-V)
- future work: export the rootfs .tar.gz, that can be used on WSL2 as a Custom Distro
2024-01-14 19:40:33 +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
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
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
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