Commit Graph

12320 Commits

Author SHA1 Message Date
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
Kenneth Ekman
73aca39ba8 Add support for building Rock 5A from the collabora tree 2023-09-04 07:19:03 +02:00
Ricardo Pardini
531de6c890 rockpro64: bump ATF to lts-2.8.8 2023-09-02 14:48:37 +02:00
Kevin Schmidt
a3c687e9a3 Add board: HiKey960 2023-09-02 14:48:25 +02:00
Julian Sikorski
a55ffd873f Update odroidxu4-current to 5.4.255 2023-09-02 14:48:12 +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
Russ Weber
627e275bf1 feat: enable rkisp module for rockchip64 2023-09-02 14:46:44 +02:00
Gunjan Gupta
efbcae34f7 Khadas Vim1s: Fix display output
This however only works for selected monitors with 1920x1080 and 4K
resolutions.
2023-09-02 17:50:50 +05:30
Gunjan Gupta
274e2cf8c3 Allwinner: switch edge to 6.5 kernel 2023-09-02 03:46:28 +05:30
Gunjan Gupta
03dd4d02df sunxi: edge: enable CW1200 driver
With latest megous patches, it might get xradio xr819 wireless working
2023-09-02 03:46:28 +05:30
Gunjan Gupta
7d73409014 Allwinner: Remove 6.3 kernel patches as its no longer used 2023-09-02 03:46:28 +05:30
Gunjan Gupta
8562428877 Allwinner: Kernel patches for 6.5-rc7 kernel 2023-09-02 03:46:28 +05:30
lelemka0
ac829eb66d Nanopi-r1: fix boot from eMMC 2023-08-31 07:38:51 +02:00
c0rnelius
dbe8ea49b0
patch: misc: rtw88: wireless-next: 2023-08-25 (#5653)
* patch: misc: rtw88: wireless-next: 2023-08-25

Updated: 6.1 / 6.4
Added: 6.5

For doc sake, this update makes 6.1 slightly differrent than 6.4 and
6.5 in one particular area of main.c.

As shown here:
7746e2fa87

6.1 requires we use del_timer_sync, where the above releases use
timer_delete_sync.

Tested-on: ODROID-C4 X96-AIR BPI-CM4 (linux 6.x.y)
Signed-off-by: Patrick Yavitz <pyavitz@xxxxx.com>

* driver_rtw88: `linux-version compare "${version}" ge 6.1`

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

---------

Signed-off-by: Patrick Yavitz <pyavitz@xxxxx.com>
Co-authored-by: Patrick Yavitz <pyavitz@xxxxx.com>
2023-08-29 13:15:59 -04:00
dependabot[bot]
51e38183a8 build(deps): bump tj-actions/changed-files from 37 to 38
Bumps [tj-actions/changed-files](https://github.com/tj-actions/changed-files) from 37 to 38.
- [Release notes](https://github.com/tj-actions/changed-files/releases)
- [Changelog](https://github.com/tj-actions/changed-files/blob/main/HISTORY.md)
- [Commits](https://github.com/tj-actions/changed-files/compare/v37...v38)

---
updated-dependencies:
- dependency-name: tj-actions/changed-files
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-29 08:28:54 +02:00
Ricardo Pardini
8c165ef883 thinkpad-x13s: move image customizations to bsp-cli
- should result in the same, except we can now update stuff via the bsp-cli pkg
2023-08-28 17:34:36 +02:00
Ricardo Pardini
7d2fca63bd thinkpad-x13s: don't try to add Lunar x13s repos if BUILD_MINIMAL=yes 2023-08-28 17:34:13 +02:00
Igor Pecovnik
6accc96ea3 Re-add (Gnome) calculator to XFCE and Gnome desktops
Simple calculator is must have desktop utility.
2023-08-28 14:58:02 +02:00
Igor Pecovnik
5bed0485b4 Move dosfstools to base packages so its available in minimal images too 2023-08-28 14:57:42 +02:00
monkaBlyat
0a28c6b111
add udev audio naming rules for indiedroid nova (#5651) 2023-08-28 13:44:59 +02:00
Gunjan Gupta
2fb0ef6cf6 BigTreeTech CB1: Bump u-boot to v2023.07.02
I had kept it back because I wasn't sure about what values to use
for CONFIG_DRAM_SUN50I_H616_DX_ODT, CONFIG_DRAM_SUN50I_H616_DX_DRI,
CONFIG_DRAM_SUN50I_H616_CA_DRI and CONFIG_DRAM_SUN50I_H616_TPR10.
I found them on BigTreeTech's u-boot repository

https://github.com/bigtreetech/u-boot/blob/v2023.07-cb1/configs/bigtreetech_cb1_defconfig
2023-08-26 13:40:10 +02:00
Lane Jennison
ea17706f47 nanopir5s: add friendly interface names in udev, add device tree overlay for front leds 2023-08-26 13:39:22 +02:00
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
1e9ef04107 debian: desktop gnome: drop package gconf2
- deprecated in `bullseye`: _This package is for legacy applications and no longer used by GNOME._
  - https://packages.debian.org/bullseye/gconf2
- removed in `trixie` and `sid`
- `bullseye` is the father of all symlinks, so yeah, call me lazy
2023-08-23 22:19:23 +02:00
Ricardo Pardini
e9f170c254 rockchip64/edge (6.4): update .config, no changes 2023-08-23 21:35:37 +02:00
Ricardo Pardini
2ef13b4e8b rockchip64/edge (6.4): rebase patches to 6.4.12, some archeology 2023-08-23 21:35:37 +02:00
Ricardo Pardini
41a5dedd08 odroidm1: _really_ fix flashcp --partition non-usage for old mtd-utils (bullseye etc)
- we should probably refactor this into a shared library's functions...
  - `flashcp --partition` is much more efficient than just `dd`'ing to mtdblockX
  - but only supported on bookworm+ / jammy+
2023-08-23 21:35:20 +02:00
Ricardo Pardini
d402092682 pipeline: use ncores * 4 for info gathering 2023-08-23 21:35:02 +02:00
Ricardo Pardini
274d394ab2 pipeline: handle exit_with_target_not_supported_error() (retcode 44) as warning and not error
- split errors and warnings into multiple lines, so a bit easier to see in the logs what the real error was
- also turn down a few spurious warnings to debugs
2023-08-23 21:35:02 +02:00
Ricardo Pardini
688e415832 pipeline: add userspace inventory capabilities
- digs into config/distributions and config/desktops for info
- this produces `output/info/all_userspace_inventory.json`
  - this is now passed down to the `targets-compositor` in `cli-jsoninfo`
- `targets-compositor` now accepts `userspace:` as `items-from-inventory`
- extra: add `targets-composed` CLI command, to stop after targets-compositor
2023-08-23 21:35:02 +02:00
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
Ricardo Pardini
a9d5969f21 config_post_main: sanity checks for RELEASE (vs ARCH) and RELEASE+DESKTOP_ENVIRONMENT (vs ARCH)
- the interactive menus didn't allow interactive users to select invalid combinations...
- ... but if specified directly on cmdline, no checks were done at all.
- introduce `exit_with_target_not_supported_error()`, which is just `exit_with_error` (code 43) but with code 44
  - this way the targets pipeline can just warn instead of break;
  - sometimes it's easier multiplying matrixes and skipping the few that can't be built
2023-08-23 21:35:02 +02:00
amazingfate
1eaf25ad3d add mainline kernel mirror support 2023-08-23 21:34:48 +02:00
Igor Pecovnik
27df94e924 Timezone select is too closed on status of the countries 2023-08-23 21:34:15 +02:00
Gunjan Gupta
71295431b8 Sunxi: fix boot issue on some boards introduced after u-boot bump
After we bumped u-boot to version v2022.10, a couple of boards
stopped booting because the CONFIG_SPL_STACK value used in our
u-boot config was too low for that SOC. This change drops explicit
CONFIG_SPL_STACK defination from the affected boards.

The boards confirmed to have the issues were Orange Pi 3 LTS and
NanoPi Neo Black2 but I suspect that NanoPi K1 plus is also affected
hence similar change is done for that as well
2023-08-24 01:03:04 +05:30
lanefu
7881e90889
add nanopi-r5s csc using latest edge kernel (#5632) 2023-08-23 15:31:19 -04:00
Igor Pecovnik
a564bccda5 Remove deprecated patches 2023-08-23 21:22:24 +02:00
Gunjan Gupta
36f0425358 rtl8811CU, rtl8723cs: Fix module build failure on 6.5 kernel 2023-08-23 20:52:25 +02:00
c0rnelius
e3798c21ed
dts: amlogic: meson-g12b-bananapi-cm4: switch to enable-gpios (#5634)
* dts: amlogic: meson-g12b-bananapi-cm4: switch to enable-gpios

The recommended name for enable GPIOs property in regulator-gpio is
enable-gpios.  This is also required by bindings:

  meson-g12b-bananapi-cm4-cm4io.dtb: regulator-vddio-c: Unevaluated properties are not allowed ('enable-gpio' was unexpected)

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

* board-bananapi-cm4-switch-to-enable-gpios: `text formatting correction`

Apparently the builder did care for the original.

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

---------

Signed-off-by: Patrick Yavitz <pyavitz@xxxxx.com>
Co-authored-by: Patrick Yavitz <pyavitz@xxxxx.com>
2023-08-23 12:16:55 -04: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
67f916cd73 odroidm1: fix flashcp --partition non-usage for old mtd-utils (bullseye etc) 2023-08-22 12:57:34 +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
6191627822 odroidm1/edge (rk3568-odroid): drop 6.3 and 6.4 patches 2023-08-22 12:57:34 +02:00