Commit Graph

1488 Commits

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