12284 Commits

Author SHA1 Message Date
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
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
Ricardo Pardini
7008b14cd5 RFC: partitioning: stop disabling 64bit and metadata_csum for mkfs.ext4
- this has been a contention point for many years
2023-08-22 08:16:24 +02:00
Ricardo Pardini
5112156a57
rootfs-image: don't fail synaptic/xapian index creation if update-apt-xapian-index is not there (#5620)
- allows us to `remove_package apt-xapian-index synaptic` in userpatches
2023-08-22 08:15:40 +02:00
Ricardo Pardini
64b5220853
debian: add Trixie (Debian 13, testing) csc target & build host (#5621)
- Trixie, like Bookworm and Sid, does not have python2 anymore
2023-08-22 08:14:55 +02:00
gaaichan998
78507bd48c
enable mt7915e module on all kernels (#5626) 2023-08-22 08:13:42 +02:00
Gunjan Gupta
13af1b79d1 kernel: sunxi: bring back autofocus support for ov5640 camera 2023-08-21 19:51:46 +05:30
Gunjan Gupta
fdca3d5ac3 kernel: sunxi: bump legacy, current and edge 2023-08-21 16:33:44 +05:30
WinDos6.22
bd339fca3a
Add new Linux Mint release support in host-release.sh (#5540) 2023-08-21 22:48:52 +12:00
lanefu
87e7e643aa
correct collabora major_minor to 6.5 (#5618) 2023-08-21 09:05:28 +02:00
Igor
dcd6fd2e54
Revert Meson64 / odroid fancontrol (#5617)
* Revert "packages: bsp: odroid: fanctrl: `maintenance`"

This reverts commit 94f7bfff89721853bbca1a90eddfd3d9540a497f.

* Revert "Improve Meson64 Support: `ODROID`"

This reverts commit 40530ee3445b9add0ab10424459d1df249cf9ec6.
2023-08-20 21:11:54 +02:00
Gunjan Gupta
97983d0749 kernel: sunxi: current: drop g_parm support patch as it causes kernel oops 2023-08-20 23:54:25 +05:30
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
94f7bfff89 packages: bsp: odroid: fanctrl: maintenance
Signed-off-by: Patrick Yavitz <pyavitz@xxxxx.com>
2023-08-20 19:20:06 +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
Igor Pecovnik
fb4774e2f4 Add two popular MT7921U devices to the driver pid so they work OOB
Signed-off-by: Igor <igor@armbian.com>
2023-08-20 19:19:44 +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
Patrick Yavitz
b4c379e391 general: extra: meson64 overlays
meson-sm1-bananapi-rtl8822cs.dtbo

Although the exp board target is for the M5 it also works
on the BananaPi M2S. Tested on the BPI-M2S.

Add support for the RTL8822CS expansion board.
https://wiki.banana-pi.org/Banana_Pi_BPI-M5#Wifi_.26_BT_support_via_expansion_board

Signed-off-by: Patrick Yavitz <pyavitz@xxxxx.com>
2023-08-18 17:46:49 +02:00
Phani Pavan Kambhampati
823738dedd Update armbian-add-overlay
added another case to handle stray spaces and to not add a space if no overlays are already present.
2023-08-18 17:11:51 +02: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
cf884049f2 Enable on remaining ones 2023-08-18 17:10:56 +02:00
gaaichan
325711eb0a enable build option with mt7921u 2023-08-18 17:10:56 +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
Igor
f3736c990a Add functionality to delete packages from a list
Signed-off-by: Igor <igor@armbian.com>
2023-08-18 13:39:24 +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
Kreyren
09fe68cd59 Address https://github.com/armbian/build/pull/5597#issuecomment-1679089917 2023-08-17 22:09:33 +02:00
Kreyren
d9c10acb07 Better output
Address https://github.com/armbian/build/pull/5597#issuecomment-1679030905

@viraniac plz review
2023-08-17 22:09:33 +02:00
Kreyren
40bfcfe0f1 utils-dpkgdeb: Add alert for compressing
The command takes long time to continue and it makes it seem like the build halted, so this adds an alert to mitigate this
2023-08-17 22:09:33 +02:00
Igor
2a8cb5793f Removing exceptions needed to support riscv64 withing Debian
Signed-off-by: Igor <igor@armbian.com>
2023-08-17 22:09:05 +02:00
igorpecovnik
d57e365e67 Update report 2023-08-17 22:08:36 +02:00
Tony
5a19f70f9d
RK OC overlays for 6.4 update (#5602) 2023-08-17 14:43:32 -04: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
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