Commit Graph

1470 Commits

Author SHA1 Message Date
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