Commit Graph

1134 Commits

Author SHA1 Message Date
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
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
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
lanefu
7881e90889
add nanopi-r5s csc using latest edge kernel (#5632) 2023-08-23 15:31:19 -04: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
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
Igor
dcd6fd2e54
Revert Meson64 / odroid fancontrol (#5617)
* Revert "packages: bsp: odroid: fanctrl: `maintenance`"

This reverts commit 94f7bfff89.

* Revert "Improve Meson64 Support: `ODROID`"

This reverts commit 40530ee344.
2023-08-20 21:11:54 +02:00
Kreyren
2239d67819
licheepi-4a: SC2086 + status update (#5596)
* licheepi-4a: SC2086 + status update
See rationale on https://www.shellcheck.net/wiki/SC2086
* Add verbose output to cp
2023-08-20 19:20:49 +02:00
Patrick Yavitz
40530ee344 Improve Meson64 Support: ODROID
Backport DTS/DTSI changes from linux-6.4.y to 6.1.y
Add meson64-reboot driver to all boards
Add board: ODROID N2L
Add uart_A uart_AO_B uart_B uart_C where appropriate
U-Boot v2023.07.02: ODROID N2/N2L/N2Plus/C4

Meson64-reboot driver: (source: tobetter)
While the current meson64-reboot driver is cleaner and doesn't
depend on modding other kernel sources, its functionality leaves
much to be desired. One example can be found in the ODROID C4.
Using the current driver, the board will not properly power off,
leaving the POWER LED still on. The new driver powers off the unit
completely.

Fan control: (ODROID N2L/N2PLus)
Added service and script for controlling the trip point.
fanctrl: arguments: 65 55 45 35 25 menu run

                              ┌──┤ Fan Control ├──┐
                              │                   │
                              │    6) 65°C        │
                              │    5) 55°C        │
                              │    4) 45°C        │
                              │    3) 35°C        │
                              │    2) 25°C        │
                              │    E) Exit ..     │
                              │                   │
                              │                   │
                              │      <Ok>         │
                              │                   │
                              └───────────────────┘

NOTES: (N2L/HC4): I do not own the units so I can't run tests.

Signed-off-by: Patrick Yavitz <pyavitz@xxxxx.com>
2023-08-20 19:20:06 +02:00
Ricardo Pardini
cc8ad531fb khadas-vim4: add modprobe config to avoid kernel panic during ISP firmware loading
- See https://armbian.atlassian.net/browse/AR-1801?focusedCommentId=11995
2023-08-19 17:38:53 +02:00
lanefu
e53ca77e51
Rock 4SE: change uboot defconfig (#5612)
* rock 4se uboot use rockpi4 defconfig for now
2023-08-18 15:04:59 -04:00
Lu jicong
dcd5c1c942 nanopc t4: set BOOT_SCENARIO to "spl-blobs"
Some sd cards are unable to access in uboot when using miniloader
These cards are able to access when using spl instead
Spl is not related to DDR initialization so it is unlikely to introduce
DDR problems
2023-08-18 17:11:16 +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
Lane Jennison
d5d178d8f5 add CSC board: rock 4SE -- remember its not rockpi 4SE its rock 4SE 2023-08-18 09:09:25 +02:00
igorpecovnik
d57e365e67 Update report 2023-08-17 22:08:36 +02: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
Ricardo Pardini
72883cb07c khadas boards: VIM1S/3/3L/4/Edge2: add KHADAS_OOWOW_BOARD_ID definition for use with oowow (EXT=image-output-oowow) 2023-08-15 18:53:55 +05:30
igorpecovnik
6cf5f41b55 Update report 2023-08-15 14:29:15 +02:00
chainsx
90c05bac23 licheepi-4a: add a .wip for Sipeed LicheePi 4A board 2023-08-14 09:21:42 +02:00
lanefu
48a788c762
move to csc and standard rockchip64 kernel (#5587) 2023-08-13 15:35:01 -04:00
Joshua-Riek
8dbe1d7ab6 add nvme boot support for the nanopc t6 2023-08-12 10:05:20 +02:00
Muhammed Efe Cetin
c268d2f916 opi5-plus: add initial support for edge kernel 2023-08-12 10:04:30 +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
Igor
b0669d19e0 internal Changing test targets for various boards 2023-08-09 08:40:17 +02:00
Patrick Yavitz
d668e4a43e u-boot: v2023.07.02: meson-sm1-bananapi: m2pro and m5
Move the BPI-M2PRO off the BPI-M5 U-Boot.

The BananaPi M5 supports the RTL8822CS Mezzanine, so let us
provide the proper bluetooth firmware.

NOTE: Boot needs verifying.

Signed-off-by: Patrick Yavitz <pyavitz@xxxxx.com>
2023-08-07 17:13:03 +02:00
Ricardo Pardini
4901193774 thinkpad-x13s: use steev's 6.3.y for working audio; fix Bluetooth; fix core temperature sensors; add modules & fw to initrd; pin & keep x13s PPA (fixes #5550)
- x13s: initialize bluetooth's public-addr, thus allowing BT to work
- linux-arm64-sc8280xp.config: enable per-core temperature sensors
- x13s: disable snapd.seeded service so boot won't hang if clock's < 2017
- x13s: back to steev's 6.3.y, since 6.4.y's audio drivers don't match alsa-ucm-conf
2023-08-07 12:22:41 +02:00
Igor
856ec9dcd0 Change test targets on Rockpi S and BTT Cb1 2023-08-05 19:02:53 +02:00
Igor
955e8705bc
Change test targets on Rockpi4b (#5560) 2023-08-05 11:29:39 +02:00
Paolo
c27739943d
rockchip64: bump rockchip64-edge kernel to 6.4 (#5552)
undefined
2023-08-04 10:39:13 +02:00
Igor
933c1c6526 Revert speed
Signed-off-by: Igor <igor@armbian.com>
2023-08-04 10:35:41 +02:00
Igor
98f1d660bc Adjust test targets 2023-08-04 10:35:41 +02:00
Igor
e42b7b9355 Remove rockchip legacy targets 2023-08-04 10:35:41 +02:00
Igor
fcbb99c7ed Introduce new varible used for testings
Signed-off-by: Igor <igor@armbian.com>
2023-08-04 10:35:41 +02:00
Igor
3088229352 rock disable legacy 2023-08-04 10:35:41 +02:00
Igor
6b6645b55a Upoda 2023-08-04 10:35:41 +02:00
Igor
498da81e20 Optimisations 2023-08-04 10:35:41 +02:00
Igor
7952921ab8 Disable legacy for OPIz2 as we can't switch on automated testing 2023-08-04 10:35:41 +02:00
Igor
a8802bb08c Lower CPU speed for boards that are unstable in automated kernel switching
Signed-off-by: Igor <igor@armbian.com>
2023-08-04 10:35:41 +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
c0rnelius
9b04e0faf6
Improve bananapi-sm1 support (#5553)
Linux 6.1 (current) / 6.4 (edge)

Add "current" to: config/boards/bananapim2pro.csc
Add uart_AO_B and uart_B to: meson-sm1-bananapi.dtsi
Add related pins to: meson-g12-common.dtsi
add wif/bt support to: meson-sm1-bananapi-m5.dts (BT = uart_A)
Add the ability to enable via overlays

NOTE: The overlay to enable the wifi on the BPI-M5 will be added
at a later date.

Signed-off-by: Patrick Yavitz <pyavitz@xxxxx.com>
Co-authored-by: Patrick Yavitz <pyavitz@xxxxx.com>
2023-08-03 14:01:15 -04:00
igorpecovnik
a392a2a381 Update report 2023-07-31 05:17:08 +02:00
mahdichi
36d415756e add fxblox-rk1 rk3588 board 2023-07-29 15:47:12 +02:00
igorpecovnik
c525e1bb00 Update report 2023-07-26 13:52:33 +02:00
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