Commit Graph

1403 Commits

Author SHA1 Message Date
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
Ricardo Pardini
62c0052af8 mixtile-blade3: bump uboot, rebase uboot patches, add mac-from-serial# patch; enable OTP in defconfig; restore attribution for one patch
- this sets serial#-based MAC address in uboot env and Rockchip Vendor Partition, but that is not picked up by the default kernel driver yet
2023-07-26 13:27:28 +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
a6f1ca06f5 config/boards: fix some missing quotes / maintainers 2023-07-26 13:27:02 +02:00
Gunjan Gupta
f0109f79bf Orange Pi: Allwinner: remove rk3399 bluetooth service 2023-07-23 20:11:07 +02:00
Patrick Yavitz
effbb4c900 Board: Bananapi M2S additional support
Removed WIP status
Added CONFIG_R8169=m to defconfig(s) (eth support)
Modified and added additional patches (linux 6.1 / 6.4)
U-Boot v2023.07.2 (dropped v2022.10)
Upstream BT FW (rtl8822cs) is now shared between CM4IO and M2s

Signed-off-by: Patrick Yavitz <pyavitz@xxxxx.com>
2023-07-23 14:40:52 +02:00
lanefu
0e55fc8a83
Fixups/indiedroid nova (#5495)
* disable SPI flag because TPL

* better blobs for indiedroid

* config file hygeine
2023-07-20 21:20:43 +02:00
Lane Jennison
a51149ee27 add indiedroid nova board config. update rk3588 BSP kernel to enable r8169 driver for ethernets and RTL8821CS for wifi 2023-07-20 16:49:12 +02:00
Muhammed Efe Cetin
ad82607be3 rename orangepi5-plus.wip to orangepi5-plus.conf 2023-07-18 14:16:31 +02:00
igorpecovnik
8dee103d8f Update report 2023-07-18 14:13:09 +02:00
Gunjan Gupta
5937ed8f54 Add maintainer for Orange Pi Prime board 2023-07-15 10:56:37 +02:00
Muhammed Efe Cetin
8ffdf8c55c Add edge kernel support for Orange Pi 5 2023-07-15 00:00:07 +02:00
Ricardo Pardini
ca7f437fb5 RFC: rockpro64: blobless with 2.8.5 ATF, 2023.01 u-boot
- `2023.04` fails during USB init, thus using 23.01 (23.07 untested)
- `blobless` with newer 2.8.5 ATF
- the previous problems with PCIe are _not_ totally solved by this
2023-07-12 12:28:48 +02:00
Ricardo Pardini
054c58c898
mixtile-blade3: bump rk3588 blobs: DDR to 1.11 and BL31 to 1.38 (#5468)
- tested on actual board, works perfectly
2023-07-11 20:06:19 +02:00
Paolo Sabatino
61cd65b166 rk3318-box: revert ddrbin to 333mhz 2023-07-11 11:14:11 +02:00
Gunjan Gupta
ea50e971ae patch: kernel: sunxi: h3: fix OPP not supported by regulators on boards with gpio-regulator 2023-07-11 11:13:57 +02:00
Ricardo Pardini
0b3dcc238c thinkpad-x13s: fix for missing chroot_sdcard for add-apt-repository call 2023-07-05 21:22:32 +02:00
Ricardo Pardini
08b6412aa9 thinkpad-x13s: bump to steev's 6.4.y; update .config 2023-07-05 21:22:32 +02:00
Ricardo Pardini
5ca8636afa rk3588-legacy: add Mixtile Blade 3 mixtile-blade3.wip
- with it's own rockchip `next-dev` based u-boot and patches for PD
2023-07-05 21:22:22 +02:00
Tony
1a84aceb65
NanoPC T6 fix PWM pinctrl, add Collabora kernel (#5431) 2023-07-04 13:04:48 -04:00
Muhammed Efe Cetin
2827e77a3e update rk3588 blobs for opi5 and nanopi r6s 2023-07-04 18:25:15 +02:00
Ricardo Pardini
c3bf97bd27 rockchip64_common: move the TB2's special DDR_BLOB out from family file into board file 2023-07-01 14:54:55 +02:00
Ricardo Pardini
ea30a06236 mekotronics: refactor vendor conf/hooks; vendor uboot with new patches; new blobs
- meko: don't use Radxa's Rock-5A u-boot anymore, switch to rockchip vendor next-dev branch
- meko: my own (horrible) patches for MAC address stability / defconfig
- meko: cherry picked a few patches for getting rid of BL32/read Bl31 from env and other fixes from Radxa
- meko: add OTP node to 3588 dtsi (so we don't need kern-dtb in ITS for working OTP)
- meko: refactor common code across 3 (soon to be 4) board files into vendor conf and hooks
- meko: bump DDR/BL31 blobs for all Meko boards
2023-07-01 14:53:34 +02:00
Ricardo Pardini
e3726f2fff rock-5-cmio: add a .wip for Radxa CM5 with I/O board
- use OPi5's uboot, don't ask me.
2023-07-01 14:52:23 +02:00
Lane Jennison
ad97c1b7ee rockchip-rk3588 collabora: new branch (by @lanefu)
- `bsdextrautils` for kernel 6.4 (only if collabora branch)
- kernel 6.4 major, but skip rtw88 driver patching
2023-07-01 14:50:35 +02:00
Tony
45f6ca540c
rockchip-rk3588-edge bump to 6.4 add nanopc-t6 dts (#5407) 2023-06-29 10:51:09 +02:00
Muhammed Efe Çetin
a2fa87866e Add bluetooth-hciattach extension to Orange Pi 5 2023-06-28 08:03:36 +02:00
Muhammed Efe Çetin
23c1b71eee fix opi5 uboot building 2023-06-27 17:24:11 +02:00
Muhammed Efe Çetin
269871828b rename nanopi-r6s.wip to nanopi-r6s.conf
add myself as a maintainer to nanopi-r6
2023-06-27 13:37:14 +02:00
igorpecovnik
056121ebda Update report 2023-06-27 13:36:59 +02:00
Gunjan Gupta
5b5be43d10 Add maintainer for nanopiduo2 2023-06-27 07:09:44 +02:00
Ricardo Pardini
3bb614af43 khadas-vim3l: introduce SPI-NOR/MTD u-boot build, using old(er) FIP blobs
- move FIP signing code from meson-sm1.conf's `uboot_custom_postprocess()` to the board's own `post_uboot_custom_postprocess` hook
- fetch a secondary FIP blob repo at a revision with working FIP blobs for SPI (see https://github.com/LibreELEC/amlogic-boot-fip/pull/10)
- implement `post_uboot_custom_postprocess__khadas_vim3l_uboot_new_and_old_blobs()` doing a dance for SD/eMMC with new blobs, and SPI with old blobs.
2023-06-26 20:55:35 +02:00
Ricardo Pardini
4456572267 khadas-vim3l: bump u-boot to 2023.07-rc4, add KBI support for easy PCI/USB3 switching
- symlink in patch/u-boot/v2023.07 from `board_khadas-vim3` to `board_khadas-vim3l` since KBI is the same for both
- add myself as BOARD_MAINTAINER
2023-06-26 20:55:35 +02:00
Ricardo Pardini
5fdb5b4dbf khadas-vim3: introduce SPI-NOR/MTD u-boot build, using old(er) FIP blobs
- move FIP signing code from meson-g12b.conf's `uboot_custom_postprocess()` to the board's own `post_uboot_custom_postprocess` hook
- fetch a secondary FIP blob repo at a revision with working FIP blobs for SPI (see https://github.com/LibreELEC/amlogic-boot-fip/pull/10)
- implement `post_uboot_custom_postprocess__khadas_vim3_uboot_new_and_old_blobs()` doing a dance for SD/eMMC with new blobs, and SPI with old blobs.
2023-06-26 20:55:35 +02:00
Ricardo Pardini
9aca4e549a khadas-vim3: bump u-boot to 2023.07-rc4, add KBI support for easy PCI/USB3 switching
- this introduces the `v2023.07` u-boot patch directory, with the boot-usb-nvme-scsi-first patch rebased
- add myself as BOARD_MAINTAINER
2023-06-26 20:55:35 +02:00
Gunjan Gupta
748eba0031 Allwinner: Bump u-boot to v2023.07-rc4 2023-06-26 20:54:19 +02:00
Gunjan Gupta
5715b12d2f Allwinner: Bump ATF to 2.9.0 2023-06-26 20:54:19 +02:00
Gunjan Gupta
9525b2d16c Allwinner: Bump u-boot to 2023.01 2023-06-26 20:54:19 +02:00
Ricardo Pardini
1c4d394d88 thinkpad-x13s: firmware PR has landed, remove usage of rogue fw fork 2023-06-26 16:29:51 +02:00
Muhammed Efe Çetin
879a97603a Add sata spi image to Orange Pi 5 2023-06-26 16:29:39 +02:00
Ricardo Pardini
4a3d64b6c1 thinkpad-x13s: add wip board; use steev's 6.3.y kernel as an uefi-arm64 BRANCH=sc8280xp; force modules & fw in initrd
- add `GRUB_CMDLINE_LINUX_DEFAULT` with `efi=noruntime clk_ignore_unused pd_ignore_unused` so it actually boots
- use `grub-with-dtb` for the (required) DTB usage in grub
- use a customize hook to add a lot of modules & fw into initrd, required for booting
- if on RELEASE=lunar, add Ubuntu's "x13s Concept" PPA and a few packages for battery control/audio
2023-06-26 13:52:15 +02:00
Gunjan Gupta
03acc0fefa config: boards: README.md: Add explaination for CRUSTCONFIG 2023-06-21 09:31:48 +02:00
Gunjan Gupta
a38742d96e Enable crust for nanopiduo2 2023-06-20 21:36:31 +02:00
igorpecovnik
61c580b741 Update report 2023-06-20 21:35:00 +02:00
Ricardo Pardini
f555847694 recore: keep stdout clean (replace echo with display_alert) - JSON pipeline requires clean stdout 2023-06-20 14:48:19 +02:00
Andrew Davis
09ecdc9ae1 Add initial support for TI SK-AM64B board 2023-06-20 07:43:09 +02:00
Elias Bakken
2aec6c23e6
Add support for Recore (#5351)
* Add support for Recore

Signed-off-by: Elias Bakken <elias@iagent.no>

* Add board maintainter to boad config

Signed-off-by: Elias Bakken <elias@iagent.no>

---------

Signed-off-by: Elias Bakken <elias@iagent.no>
2023-06-19 22:02:56 +02:00
c0rnelius
5ae7a4c40e
BananaPi CM4IO: Upstream RTL8822CS bluetooth firmware (#5354)
* BananaPi CM4IO: `Upstream RTL8822CS bluetooth firmware`

* Firmware search paths
/lib/firmware/updates/UTS_RELEASE/
/lib/firmware/updates/
/lib/firmware/UTS_RELEASE/
/lib/firmware/

dmesg | grep RTL
[    8.242830] Bluetooth: hci0: RTL: examining hci_ver=0a hci_rev=000c lmp_ver=0a lmp_subver=8822
[    8.246443] Bluetooth: hci0: RTL: rom_version status=0 version=3
[    8.246447] Bluetooth: hci0: RTL: loading rtl_bt/rtl8822cs_fw.bin
[    8.280073] Bluetooth: hci0: RTL: loading rtl_bt/rtl8822cs_config.bin
[    8.308295] Bluetooth: hci0: RTL: cfg_sz 33, total sz 37069
[    8.695731] Bluetooth: hci0: RTL: fw version 0x05c6d2e3

cat /etc/armbian-release
BOARD=bananapicm4io
BOARD_NAME="Banana Pi CM4IO"
BOARDFAMILY=meson-g12b
BUILD_REPOSITORY_URL=https://github.com/pyavitz/build.git
BUILD_REPOSITORY_COMMIT=e189c104c-dirty
VERSION=23.08.0-trunk
LINUXFAMILY=meson64
ARCH=arm64
IMAGE_TYPE=user-built
BOARD_TYPE=conf
INITRD_ARCH=arm64
KERNEL_IMAGE_TYPE=Image
FORCE_BOOTSCRIPT_UPDATE=
VENDOR=Armbian
REVISION=23.08.0-trunk
BOOTSCRIPT_FORCE_UPDATE="no"
BOOTSCRIPT_DST="boot.cmd"
BRANCH=current

patrick@bananapicm4io:~$ bluetoothctl
Agent registered
[CHG] Controller C4:3C:B0:A3:D0:40 Pairable: yes
[bluetooth]# scan on
Discovery started
[CHG] Controller C4:3C:B0:A3:D0:40 Discovering: yes
[NEW] Device 46:B4:28:9B:FA:0D 46-B4-28-9B-FA-0D
[DEL] Device 46:B4:28:9B:FA:0D 46-B4-28-9B-FA-0D
[NEW] Device 00:1A:7D:DA:71:13 speaker

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

* bananapicm4io.conf: `maintenance`

mkdir after the fact

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

---------

Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2023-06-19 22:02:43 +02:00
Igor
f9d71174f1
Update report (#5353)
Co-authored-by: igorpecovnik <igorpecovnik@users.noreply.github.com>
2023-06-19 20:08:36 +02:00
hzyitc
e189c104c2
Introduce the BOARD_MAINTAINER in board config (#5159)
* Introduce the `BOARD_MAINTAINER` in board config

Yes, we have documented the maintainers in `armbian/documentation`.
But it seem like that some of them don't maintain anymore.
Use a separated repos make us forget to update it.
So let's document here.

What's more, defining this make us easier to update `.github/CODEOWNERS`

* Set `BOARD_MAINTAINER` accroding to `armbian/documentation`

* Guess `BOARD_MAINTAINER`

Set he/she as board maintiner if he/she:
1. Create the board config
3. Commit at lease 3 times for the board config
3. Commit most for the board config

* Guess `BOARD_MAINTAINER`

Set he/she as board maintiner if he/she:
1. Create the board config
2. The only one to commit for the board config

* Set `BOARD_MAINTAINER` to empty for other boards
* AR-1712 fixing PR from wrong DB
* Fixing maintainers

Signed-off-by: Igor <igor@armbian.com>

* Add variable to missing ones

---------

Signed-off-by: Igor <igor@armbian.com>
Co-authored-by: Rafal-Hacus <68160861+Rafal-Hacus@users.noreply.github.com>
Co-authored-by: Igor <igor@armbian.com>
2023-06-19 17:30:35 +02:00
Igor
b0857b70fd Fix remaining u-boot patch problems
Signed-off-by: Igor <igor@armbian.com>
2023-06-15 13:22:47 +02:00
Igor
5835d2d7ab
Merge branch 'main' into CB1-current-pr 2023-06-14 05:47:50 +02:00
Ricardo Pardini
6d7467fc68 uboot: introduce u-boot-sunxi-v2023.04 for Allwinner boards using 23.04 u-boot (eg orangepiplus2e)
- drop `allwinner-fix-nand-spl.patch` which has been mainlined
- hammer `allwinner-boot-splash.patch` since Kconfig changed a bit upstream
2023-06-13 19:31:40 +02:00
Ricardo Pardini
dfb199ebe6 uboot: introduce u-boot-sunxi-v2022.04 for Allwinner boards using 22.04 u-boot (eg nanopineo)
- `sunxi_common`: don't overwrite `BOOTPATCHDIR` if it is set by the board (default, but do not overwrite)
- hammer `allwinner-h616-GPU-enable-hack.patch`
2023-06-13 19:31:40 +02:00
Joseph Turner
c8499c4e6c
Update nezha.wip (#5314)
typo, space "all winner "to "allwinner"
BOOT_FDT_FILE="all winner/sun20i-d1-nezha.dtb" > BOOT_FDT_FILE="allwinner/sun20i-d1-nezha.dtb"
2023-06-12 18:41:17 -04:00
aghost
1c619dccae orangepi5-plus: add initial orangepi5-plus.wip 2023-06-07 20:34:32 +02:00
aghost
0ae137082b rk3566/rk3568/rk3588: remove configurations that prevent wireguard from building 2023-06-07 20:34:06 +02:00
The-going
e14ded419d bananapi m3, m64: add legacy BRANCH 2023-06-02 21:16:20 +02:00
Gunjan Gupta
9322bcdd66 Fix booting for nanopi-r1 2023-06-02 19:38:33 +02:00
Gunjan Gupta
c9fe7bd719 Fix booting for nanopiduo2 board 2023-06-02 19:38:33 +02:00
Ricardo Pardini
a36bb63aab rock-5a: move board-specific code from family file to board file with post_family_config_branch_legacy hook 2023-06-01 18:29:17 +02:00
Alan
9d69bb1da6 Patches: add current(6.1) & edge(6.2) patch for BigTreeTech CB1
Signed-off-by: Alan.Ma from BigTreeTech tech@biqu3d.com
2023-05-30 17:36:29 +08:00
Alan
b8b11f4f7f Add support for BigTreeTech CB1 (Allwinner H616) board 2023-05-29 10:17:56 +02:00
Ricardo Pardini
8f6b7fb370 bananapim5/bananapim2s: point BOOTPATCHDIR directly to board folder, as to escape the patch in the parent folder 2023-05-27 12:15:04 +02:00
Igor
a581e7044f Enable T6 build config 2023-05-27 11:00:53 +02:00
Igor
88e5af7b3c Change Khadas Edge 2 board status 2023-05-26 07:35:29 +02:00
Ricardo Pardini
14a3ec01d0 khadas-edge2: switch to rockchip-rk3588 legacy kernel; add bluetooth-hciattach for working bluetooth
- most of the work done by @monkaBlyat
2023-05-24 19:22:22 +02:00
Ricardo Pardini
5f458c9183 mekotronics (all boards): use new bluetooth-hciattach extension 2023-05-24 19:22:22 +02:00
schwar3kat
7036b0492b Orangepi-r1plus-lts-fix-NIC-logical-names 2023-05-24 19:21:56 +02:00
Ricardo Pardini
5200172a37 rock-5a: add support for Rock-5A, WiP, using rockchip-rk3588 - by @amazingfate 2023-05-24 19:21:20 +02:00
Ricardo Pardini
10a0a3e454 rpi4b/bcm2711: introduce RPI_DEBUG_CONSOLE=yes which at once disables bt, enables uart, and adds ttyAMA0 2023-05-23 16:33:59 +02:00
Patrick Yavitz
e2791ef1b9 config: boards: bananapicm4io.conf
Added "current" to the KERNEL_TARGET variable.
KERNEL_TARGET="current,edge"

Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2023-05-21 11:11:25 +02:00
krachlatte
45c8587861
Improve SD card compatibility on Radxa E25 (#5165) 2023-05-17 00:55:30 +02:00
tdleiyao
211ce5ede5 rockchip-rk3566:add new board Panther X2 2023-05-16 19:50:14 +02:00
Igor
de226c1a9a Enable "current" kernel branch for Rock3A
Signed-off-by: Igor <igor@armbian.com>
2023-05-16 19:00:02 +02:00
Igor
35d5ae75ff Add to EDGE to and enable EDGE kernel in board config
Tested for building.
2023-05-15 17:33:03 +02:00
Bochun Bai
3cb92f6204 add support for NanoPi R4SE 2023-05-15 17:33:03 +02:00
amazingfate
df3c7eb461 use the same patch dir for u-boot from radxa 2023-05-15 17:12:20 +02:00
Igor
615c7c3e71 Update boot loader on Orangepipluse 2e
Current is a bit unstable, so this can't hurt. Survived several reboots.
2023-05-14 21:29:33 +02:00
Igor
3b6598c3c2 Enable BOOT_SCENARIO="tpl-spl-blob" also on Kedge 2023-05-09 10:04:41 +02:00
Igor
5ce81c6bb8 Fix rockpi-n10 and station-p1 uboot spi image creating 2023-05-06 10:54:55 +02:00
amazingfate
8a6d76831a fix rock4 boards uboot spi image creating 2023-05-05 19:36:47 +02:00
Igor
fb328bf4da Move RISCV uefi status to WIP as this is closer to reality 2023-05-05 16:41:52 +02:00
amazingfate
cf35a151b3 disable spi flash support on radxa e25 2023-05-05 12:24:51 +02:00
Ricardo Pardini
ad05ef1d6c de-EOS prematurely-EOS'ed boards (I hope) 2023-05-03 15:09:56 +02:00
igorpecovnik
ba1a84a5e8
Adjusting ORAS cache location, runners (#5129)
* Move packages to new location
* Adjust build runners
* Switch to OS

Signed-off-by: Igor <igor@armbian.com>
---------

Signed-off-by: Igor <igor@armbian.com>
Co-authored-by: Ricardo Pardini <ricardo@pardini.net>
2023-05-02 11:08:34 +02:00
Ricardo Pardini
f860106a2a jetson-nano legacy: give up on this legacy and remove it; fixes #5117 2023-05-01 22:46:43 +02:00
Ricardo Pardini
30737fa6f4 rockchip: completely remove legacy branch; fixes #5118
- there's absolutely no point in trying to keep this alive, current/edge are good enough, legacy's abandoned for years and broken
2023-05-01 22:46:43 +02:00
Ricardo Pardini
f25fb7c53c virtual-qemu: move to eos (replaced by qemu-uboot-x86 and qemu-uboot-arm64) 2023-04-28 21:32:52 +02:00
Ricardo Pardini
d9f2ec3255 qemu-uboot-arm64/qemu-uboot-x86: split more x86/arm64 differences, add some docs, bump to u-boot 23.04 +update-patches; add arm64 bootscript 2023-04-28 21:32:52 +02:00
Pander
9e5c2ab183 revert vcgencmd addition 2023-04-28 21:04:35 +02:00
Pander
62de7e3523 upgrade vcgencmd without tmp vulnerability and inclusion for bananapim2ultra 2023-04-28 21:04:35 +02:00
Igor
94086ff24a Moving to platinum support with cm4
Signed-off-by: Igor <igor@armbian.com>
2023-04-26 11:56:32 +02:00
Igor
37ba149103 Move rock5 to supported 2023-04-26 11:56:32 +02:00
Igor
e9e4d4501c Change two olimex boards to csc, add previously removed radxa zero2 2023-04-26 11:56:32 +02:00
Igor
50e28f4753 Move Radxa zero2 to wip as its not sold yet 2023-04-26 11:56:32 +02:00
Rafal-Hacus
3ed29cdd4e Updated the file extention to reflect on the boards status 2023-04-26 11:56:32 +02:00
Pander
420f16c7ea
Installing fake_vcgencmd for Pine64 (#5095) 2023-04-24 16:50:30 +02:00
Ricardo Pardini
b3f61a1f7a rockchip-rk3588: add new board mekotronics-r58-minipc.wip (Mekotronics R58 MiniPC, and variants) 2023-04-24 14:23:21 +02:00
Ricardo Pardini
d7a6f80c81 rockchip-rk3588: add new board mekotronics-r58x.wip (Mekotronics R58X) 2023-04-24 14:23:21 +02:00
Ricardo Pardini
e37adb5c8f rockchip-rk3588: add new board mekotronics-r58x-4g.wip (Mekotronics R58X-4G); add u-boot patches 2023-04-24 14:23:21 +02:00
amazingfate
4266d0bdca rockchip-rk3588: add new board hinlink-h88k 2023-04-22 10:04:58 +02:00
Muhammed Efe Çetin
fd6a6dec66 Add support for NanoPi R6S 2023-04-16 16:13:09 +02:00
Radoslav
24dcf942f5 OrangePi Zero TV Output kernel patch 2023-04-15 22:47:26 +02:00
Ricardo Pardini
1e61b60cf8 orangepizero2/sun50iw9/legacy: implement pre_package_kernel_image hook to convert vmlinuz to uImage manually; fix legacy u-boot build
- sourceaddr `0x40008000` was found in Xunlong's legacy kernel source squashed into a huge commit. Thanks, Xunlong!
- bring `busybox` dependency with inline hook for legacy u-boot "unix2dos" which is essential
2023-04-08 14:33:39 +02:00
Ricardo Pardini
c4d91fd66f rockchip64_common: refactor: extract BOOT_SPI_RKSPI_LOADER=yes into rock-3a, rock-5b, and orangepi5 (no more such rockchip-rk3588 references in common code) 2023-04-03 11:14:44 +02:00
Ricardo Pardini
667ac5afb7 odroidn2: bump to 2022.10 u-boot with boot order patch and nothing else; remove old legacy uboot crap (odroidn2 hasn't even had a legacy BRANCH for a while) 2023-03-31 09:37:37 +02:00
Ricardo Pardini
62f5fe1596 config: fix: replace undue export statements with declare -g; shellfmt 2023-03-31 09:37:37 +02:00
Muhammed Efe Çetin
6bd665eaf4 Naming Audios on OPi5 2023-03-22 07:47:11 +01:00
amazingfate
07f4f48727 naming audio output names of rock5b 2023-03-22 07:46:25 +01:00
Tony
915bd66187
[ rockchip64] second round config migration (#4982)
* [ rockchip64] second round config migration

Recommend all @armbian/boards-rockchip  maintainers double check the resulting configurations, as stated in the PR the level of confusion in the family config logic likely means some boards have unnecessary extra stuff.
2023-03-21 10:40:22 -04:00
Tony
ee76ad99b0
[ Rockchip64 ]Move board specific configs (#4974) 2023-03-20 10:19:57 -04:00
SteeManMI
010077305c
aml-s9xx-box: Move board specific bsp file handling to the board (#4971)
config file from from the family config file

 Changes to be committed:
	modified:   config/boards/aml-s9xx-box.tvb
	modified:   config/sources/families/meson-gxl.conf
2023-03-19 19:13:05 -04:00
Tony
d4a5b9c799
Move Jetson and Pinebook Pro board tweaks to board conf file (#4968)
* Move Jetson board tweaks to board conf file

* Move Pinebook Pro BSP and board tweaks
to PBP config file, decluttering family config
2023-03-19 18:26:18 -04:00
Neil Armstrong
7fea781425 Add support for BPI-CM4 with BPI-CM4IO
Add support for both the BananaPi BPI-CM4 module and the BananaPi
baseboard which is compatible with the RaspberryPi CM4IO baseboard.

The BananaPi BPI-CM4 module follows the CM4 specifications at [1],
but with a single HDMI port and a single DSI output.

The current CM4IO baseboard DT should work fine on the Raspberry CM4
baseboard and other derivatives baseboards, but proper DT should
be written for other baseboards.

The DT is imported from the submission done at [2] and applied
at [3], the u-boot support was submitted at [4].

[1] https://datasheets.raspberrypi.com/cm4io/cm4io-datasheet.pdf
[2] https://lore.kernel.org/all/20230303-topic-amlogic-upstream-bpi-cm4-v2-0-2ecfde76fc4d@linaro.org/
[3] https://git.kernel.org/amlogic/c/0262f2736978b1763363224698f47112a148dab0
[4] https://lore.kernel.org/all/20230307-u-boot-cm4-v1-0-43f5a393cd37@linaro.org/

Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
2023-03-13 13:55:15 -03:00
Igor Pečovnik
acf5810cbe
Move Rpi kernels to 6.2, move current to legacy (#4898)
* Update Rpi4 kernels, configs and adjust broken patches

* Re-enable legacy in sources and board config
2023-03-11 19:19:13 +01:00
Lane Jennison
e718d26cae @lanefu's rk3588 midstream; new BRANCH; midstream kernel and monka's config - squashed 2023-03-10 01:30:31 -03:00
Igor Pečovnik
ad827fe0a5
Move UEFI legacy to 5.15.y, current to 6.1.y and edge to 6.2.y (#4896) 2023-03-05 17:02:52 +01:00
The-going
b7ab460983
Move sunxi legacy to 5.15.y, current to 6.1.y and edge to 6.2.y (#4890)
* sunxi-6.1: rebase to v6.1.14, reexport patches megous

* sunxi-6.1: rename fixes patches

* sunxi-6.1: reexport armbian patches

* sunxi-6.1: fix the series.conf file to the current state

* sunxi-6.1: switch edge to v6.1.14

* Adjust sunxi to 5.15 / 6.1 / 6.2

- change configs
- adjust broken patches
- disable patch that only changes /readme.md and it has issues

---------

Co-authored-by: Igor Pečovnik <igor@armbian.com>
2023-03-03 22:13:49 +01:00
Kreyren
0cc52534ee
OLIMEX Teres-A64: Official Support (#4807)
* OLIMEX Teres-A64: Official Support

This commit provides an official armbian support for the system

Signed-off-by: Jacob Hrbek <kreyren@rixotstudio.cz>

* Remove additional lines

* CODEOWNERS: Removed myself from board config

* targets: undid changes

Addressed in https://github.com/armbian/os/pull/8

* olimex-teres-a64: align with #4877

---------

Signed-off-by: Jacob Hrbek <kreyren@rixotstudio.cz>
2023-03-02 19:29:13 +01:00
Vyacheslav Bocharov
d561ded706
JetHub: update preinstalled python packages to install via apt 2023-02-22 17:11:33 +03:00
Igor Pečovnik
26b41a50fa
Merge branch 'main' into AR-1543 2023-02-22 08:12:57 +01:00
amazingfate
1b0d8f33d3
add radxa e25 2023-02-22 08:03:56 +01:00
Ricardo Pardini
7b5d606a9b
split BOARD bananapim2pro from bananapim5, and force use of its new DTB; only for 6.2+, so edge only; use m5 FIP for m2pro 2023-02-18 07:46:44 -03:00
Ricardo Pardini
9e29827ad9
risc-v/starfive/starfive2/d1: all of RichNeese's Risc-V boards and families - squashed
- `risc-v`: rework RichNeese's boards, reduce families, move tweaks to boards
- `risc-v`/`starfive`: `CONFIG_MOTORCOMM_PHY=m` for the onboard Ethernet
- `risc-v`/`starfive`: use mainline kernel 6.1.y, with StarFive's rebased patches against `v6.1.5`
  - from https://github.com/starfive-tech/linux/commits/visionfive
  - contention point: `1022-soc-sifive-ccache-Add-StarFive-JH71x0-support.patch` which I merged half-assed, need review/fixes?
  - `risc-v`/`starfive`: update kernel config, sans changes
- `risc-v`/`starfive`: switch from `grub` to `extlinux`
- `risc-v`/`starfive`: new `starfive` family with their (vendor) kernel

Co-authored-by: Richard Neese <r.neese@gmail.com>
2023-02-18 07:46:43 -03:00
Kreyren
12f56ad78c
boards/README: Document SKIP_ARMBIAN_REPO [cherry-pick]
See ./lib/functions/rootfs/distro-specific.sh
2023-02-18 07:46:36 -03:00
Ricardo Pardini
4db330178f
odroidhc4: u-boot to 23.01; add HC4-SPI target preboot for USB; change HC4-SD target defconfig to new hc4_sd, similar to c4
- `odroidhc4`: pre-configure `fancontrol` so fans work right out of the box
2023-02-18 07:46:32 -03:00
Ricardo Pardini
3ea6da8c7a
odroidm1: enable working userland fw_setenv, so users can go back to Petitboot & otherwise tweak u-boot env from Armbian 2023-02-18 07:46:22 -03:00
Ricardo Pardini
faa0d7ee8f
odroidc2: u-boot: use minimal patchset for v22.01 u-boot
- symptoms:
  - no video display in u-boot
  - can't boot from SD (but does from eMMC)
- this has proven to solve nothing, but is still neat
- real problem is probably the FIP?
2023-02-18 07:46:18 -03:00
Ricardo Pardini
e344bc1fc7
armbian-next: nextify "Re-enabling support for Rpi3" 2023-02-18 07:43:38 -03:00
Ricardo Pardini
4a9529dd34
armbian-next: qemu-uboot-arm64 and qemu-uboot-x86 new boards
- sharing most UEFI code, will replace the `virtual` one soon
- x86: patch uboot defconfig to use the `q35` machine type, not `i440fx`
  - separate x86 bootscript, due to non-uInitrd-ness of it
  - hack ramdisk load address both in u-boot source and bootscript
  - use 32-bit u-boot, not 64-bit
- grub: introduce `UEFI_GRUB=skip`, does not deploy GRUB (but does the kernel packages, etc)
- auto-enable qcow2 output for these
- works with both distro's and Armbian's kernels
2023-02-18 07:40:33 -03:00
Tony
babc8d52fe
Revert extlinux for roc-rk3328-cc (#4840)
As extlinux is not matured within the armbian tools (armbian-config in particular), revert change until such a time as the proponents of extlinux mature the Armbian utilities. 

-Fixes use of overlays
2023-02-18 10:34:37 +01:00
Oleg
b9d19da461
add khadas edge2 (#4836)
* add khadas edge2

* fix wifi
2023-02-17 23:06:21 +01:00
Igor Pečovnik
50ee6eaae7
Hooks are called system wise (#4819)
No need to put call function here.
2023-02-07 08:33:13 +01:00
Igor Pečovnik
adbef32dda
Move Neo to last known working boot loader (#4784) 2023-02-03 13:01:30 +01:00
schwar3kat
72a505d061
Merge pull request #4778 from schwar3kat/Tweak-orangepi-r1plus-lts-LEDs-and-networking
Tweak orangepi-r1plus-lts LEDs and networking.
2023-02-02 11:29:10 +13:00
Oleg
20ee08325f
move kernel media current 6.1 and edge 6.2 (#4781)
* move kernel media current 6.1 and edge 6.2
add board quartz64b

* fix nanopc-t4
2023-02-01 20:24:20 +01:00
hzyitc
133c595539
meson: remove legacy branch (#4769) 2023-02-01 20:23:36 +01:00
schwar3kat
9cd5c76b2e
Tweak orangepi-r1plus-lts LEDs and networking.
Add sys-triggered LED's, fix LAN LEDS, and improve Debian dual network function.
2023-02-01 17:52:18 +13:00
Kreyren
4c709d688b
build/config/boards/readme: Make usable (#4748)
* build/config/boards/readme: Make usable

* Document DEFAULT_OVERLAYS

* Fixed typo

* Update config/boards/README.md

Co-authored-by: hzyitc <hzyitc@outlook.com>

Co-authored-by: Werner <EvilOlaf@users.noreply.github.com>
Co-authored-by: hzyitc <hzyitc@outlook.com>
2023-01-26 19:09:47 +01:00
Kreyren
a7bd7f5dbb rk3318-box: Remove DEFAULT_CONSOLE bcs undefined
The keyword DEFAULT_CONSOLE with value 'both' has undeclared behavior in the build repository -> removing it
2023-01-25 23:01:44 +01:00
M. Efe Çetin
edcc165b41
Move OPi5 from wip to conf (#4730) 2023-01-25 00:38:06 +01:00
Oleg
09408c6f6c
move bpir2pro csc to config (#4720) 2023-01-20 18:43:30 +01:00
Igor
dfd5d40c93 Re-enabling support for Rpi3
The boot partition is flagged ESP, which the PI3 does not support.
2023-01-18 16:59:19 +01:00
Igor Pečovnik
23bf63454f
Bananapi M5 - switch to more recent boot loader (#4675) 2023-01-09 14:53:19 +01:00
Igor Pečovnik
6adac92f00
Adjust filename and board description (#4644)
* Lets keep consistent board naming

* Rename

* Delete
2023-01-04 12:52:51 +01:00
Ricardo Pardini
e2c55c5f23 BananaPi M2S: u-boot 22.10; remove patch from 22.07 2023-01-02 11:31:44 +01:00
catalinii
48e45d0c9c
Mainline support for Rock 5B (#4606)
Co-authored-by: root <catalinii@yahoo.com>
2023-01-01 10:01:16 -08:00
jeanrhum
2c58242006
Initial support for Bananapi M2S (#4597)
* Initial support for Bananapi M2S

BPI-M2S is a small form factor SBC based on the Amlogic A311D chipset (or s922x, not supported yet):

- Amlogic A311D (Quad A73 + Dual A53) CPU
- 4GB LPDDR4 RAM
- 16GB eMMC
- Mali G52-MP4 GPU
- HDMI 2.1 output
- 2 Gigabit ports
- 40 pins GPIO
- 1x USB-A 2.0
- 1 USB-C (5V power)

Not working/tested:
- 2nd ethernet port
- MIPI DSI/CSI

* Edge kernel for BPI M2S

* filename fixes; call attention to sharing FIP blobs

* Adding u-boot patches for BPI M2S

* meson-g12.conf update after amlogic FIP blobs for Bananapi M2S are now part of librelec FIP repo

Co-authored-by: Ricardo Pardini <ricardo@pardini.net>
2023-01-01 14:28:49 +01:00
M. Efe Çetin
e9fea8af93
Use Fat as default bootfs type of Orange Pi 5 (#4635) 2023-01-01 08:05:17 +01:00
Ricardo Pardini
18198b1d7d
orangepi5.wip: initial OrangePi5 support; collab with @efectn (#4582)
* `orangepi5.wip`: initial OrangePi5 support

- OPi5's Xunlong vendor u-boot; override family in board hook
  - using original config from vendor, needs `BOOT_SOC`
- OPi5's kernel patches, all extracted from Xunlong's tree
  - Only enable the DT patch and the Motorcomm PHY patch
  - Other stuff that looks might be useful is grouped in a few other disabled patches
  - Most panel/overlays/etc from Xunlong tree not included
- everything is on top of existing `rockchip-rk3588` family,
  - thus the same crazy half-android rk kernel tree and ancient rk u-boot

Co-authored-by: Muhammed Efe Çetin <efectn@protonmail.com>
Co-authored-by: Ricardo Pardini <ricardo@pardini.net>

* `linux-rockchip-rk3588-legacy`: `.config` updated to 5.10.110; no actual changes

- prepare for merging Xunlong config

* `linux-rockchip-rk3588-legacy`: `.config` Xunlong config, manually merged; preserved previous PR's

- preserved previous PR's changes:
  - 1fdbab346a
  - bf3b8a8fb7
  - 7a3ad3afb2
  - f1952f97f4
  - ab70cb247f
  - 62adba7825
  - ba10622c32
  - cd4da2a77b
  - 7b3325c95e
  - b4945d973c
  - a8473e8143

* `linux-rockchip-rk3588-legacy`: `.config` re-updated to 5.10.110 after Xunlong changes

* OPi5: `rockchip-rk3588-legacy`: add patch to remove chosen > bootargs from `rk3588-linux.dtsi`

* Opi5: add build targets (by Igor)

Co-authored-by: Ricardo Pardini <ricardo@pardini.net>

Co-authored-by: Muhammed Efe Çetin <efectn@protonmail.com>
Co-authored-by: Igor <igor@armbian.com>
2022-12-31 16:55:55 +01:00
SteeManMI
0fc16bf556
Fix the last reference for old bootscreen to plymouth (#4622)
This fix impacts all boards that use extlinux.conf
I have tested the aml-s9xx-box build to ensure that this works as expected.
I think the only other boards that use extlinux.conf are those under
the media kernel

In testing I realized that I needed to add SRC_CMDLINE to the aml-s9xx-box
config file to get the correct append line added to the extlinux.conf file

 Changes to be committed:
	modified:   config/boards/aml-s9xx-box.tvb
	modified:   config/sources/common.conf
2022-12-28 17:27:14 +01:00
Igor Pečovnik
ebc4ceaca7
Typo, missing quote in Bananapi M5 config (#4544) 2022-12-08 15:14:48 +01:00
Igor Pečovnik
eb3de7917a
Switch clockworkpi-a06 to older boot loader end enable CI images (#4536) 2022-12-07 08:34:08 +01:00
Igor Pečovnik
7b4f1e3773
Move Bananapi M5 to U-boot 2022.04 (#4524)
* Move Bananapi M5 to U-boot 2022.04

* Enable minimal build images
2022-12-07 08:33:55 +01:00
Igor Pečovnik
0428c18033
Revert bootloader for R4S and Neo3, adjust names (#4510)
* Enable CONFIG_BPF_SYSCALL which might improve Docker support

* Adjust board names

* Move neo3 to previous bootloader too

* Disable 3d support on rock64
2022-11-29 19:47:37 +01:00
Alban Browaeys
c3596f401a
Fixed u-boot v2022.07 compilation for Helios64 (#4480)
* Fixed u-boot v2022.07 compilation for Helios64

* Move Helios64 back from EOS to community supported as images can be assembled

Co-authored-by: Igor <igor@armbian.com>
2022-11-24 12:51:32 +01:00
hzyitc
18dba7985f
meson adjust (#4461)
* onecloud: adjust partition offset

* meson: odroidc1: special `write_uboot_platform`

* onecloud: use 24bit u-boot logo
2022-11-19 08:09:07 +01:00
Oleg
28c6be0489
Fix u-boot Station M1 (#4462)
* fix u-boot station m1

* fix config station m1
2022-11-19 08:08:56 +01:00
Ricardo Pardini
eb4c090a38
tinkerboard-2: move to "legacy" 21.07 u-boot; firmware & kernel DTS fixes (5.18/19,6.0) (#4449)
- notes in the board file about the RAM issues (tested, confirmed working blob change of #4383 by @pinhaozhang working with u-boot 21.07; `blobless` also works with ATF v2.7 on my known-good-RAM boards)
- tinkerboard-2: add full firmware, for the rtl8822ce PCIe Wifi default card in the tb2 as shipped by ASUS
- tinkerboard-2: uboot: rename `TARGET_TINKER-2_RK3399` to `TARGET_TINKER2_RK3399` to avoid warnings all over
- tinkerboard-2: slower but working Tinkerboard 2S eMMC (HS400+ES to HS200)
  - both for u-boot and kernel.
  - should not affect 2, only 2S
2022-11-16 22:04:38 +01:00
Ricardo Pardini
3e7789445c
odroidm1: use mainline 6.1-rc5, grab DTS only from mmind/v6.2-armsoc/dts64 as single patch; +armbian-nextify (#4452) 2022-11-16 18:39:25 +01:00
Ricardo Pardini
854fef5d5f
helios4/machiattobin-doubleshot/rpi4b remove legacy BRANCH (#4453)
- family code for those boards does not have such legacy anymore
2022-11-16 18:39:15 +01:00
Ricardo Pardini
8bb79baeb9
khadas-vim3l: add asound file (#4454) 2022-11-16 18:38:14 +01:00
Ricardo Pardini
9ad65d83eb
More updates for Radxa's Amlogic boards (radxa-zero and radxa-zero2) (#4429)
* `meson64`: `6.0`: g12a and g12b pinmux patches from Radxa

* u-boot: `radxa-zero2`: Radxa's patches for the Zero2 on `v2022.10`

* u-boot: `radxa-zero2`: use `v2022.10` plus Radxa's patches

* `meson64` u-boot v2022.10: change `BOOT_TARGET_DEVICES` to try to boot USB, NVME and SCSI before SD, MMC, PXE, DHCP

* `radxa-zero`: include v2022.10 standard patches (eg: boot from USB first)
2022-11-14 14:59:45 +01:00
Ricardo Pardini
98c95c00ba
Updates for Radxa's Amlogic boards (radxa-zero and radxa-zero2) (#4420)
* `radxa-zero` &  `radxa-zero2`: set `BOOT_FDT_FILE` explicitly; no real changes

* `radxa-zero2`: `6.0`/`edge`: update Radxa Zero 2 DTS patch with Radxa's latest

* `radxa-zero`: `6.0`/`edge`:  update USB-C patch with "fix interrupt storm from fusb302"

* `radxa-zero`: use pure mainline v2022.10 u-boot with no patches
2022-11-11 19:29:48 +01:00
Igor Pečovnik
24984fba3a
Enable serial console on RISCV UEFI (#4412) 2022-11-11 11:51:46 +01:00
Igor Pečovnik
f6a09def35
Moving patches to per board and removing obsolete (#4409) 2022-11-10 21:49:36 +01:00
Igor Pečovnik
5faf8c1e42
Move Pinebook pro to previous bootloader (#4397)
* Remove defaulting of patch folder

Design issue

* Move PBP to previous boot loader
2022-11-08 17:31:49 +01:00
Igor Pečovnik
2813365dd2
Move known non working rockhip64 boards to previous boot loader (#4392)
* Move known non working rockhip64 boards to previous boot loader

* Auto label trigger this several times in a row
2022-11-07 21:29:00 +01:00
SteeManMI
8dcab2be64
Proposal to create a Community Supported config for Amlogic based TV Boxes (#4296)
* Proposal to create a Community Supported config for Amlogic based
TV Boxes to pickup the work that was done previously by balbes150
but is no longer supported by him.
This also provides a place where development can occure within the
Armbian framework since others on the internet are producing builds
called Armbian that are not done from within the Armbian community.

 Changes to be committed:
	new file:   config/boards/aml-s9xx-box.tvb
	modified:   config/sources/families/include/meson64_common.inc
	modified:   config/sources/families/meson-gxl.conf
	new file:   packages/bsp/aml-s9xx-box/boot/aml_autoscript
	new file:   packages/bsp/aml-s9xx-box/boot/emmc_autoscript
	new file:   packages/bsp/aml-s9xx-box/boot/extlinux/extlinux.conf
	new file:   packages/bsp/aml-s9xx-box/boot/s905_autoscript
	new file:   packages/bsp/aml-s9xx-box/boot/u-boot-readme.txt
	new file:   packages/bsp/aml-s9xx-box/boot/u-boot-s905
	new file:   packages/bsp/aml-s9xx-box/boot/u-boot-s905x-s912
	new file:   packages/bsp/aml-s9xx-box/boot/u-boot-s905x2-s922
	new file:   packages/bsp/aml-s9xx-box/root/fstab.template
	new file:   packages/bsp/aml-s9xx-box/root/install-aml-s905-emmc.sh
	new file:   packages/bsp/aml-s9xx-box/root/install-aml.sh

* Merge sources

Co-authored-by: Igor <igor@armbian.com>
2022-11-06 20:33:24 +01:00
Igor Pečovnik
3e701a857a
Add initial RiscV support (#4387)
* Add initial RISCV support

* Add UEFI edge and current kernel configs

* Cleanup and adjust packages

* Those files were in wrong path

* Fix locations

* Ubuntu images built

* Remove Debian support as its too fragile

* Remove Pinta as it doesn't work under riscv

* Limitation is only for building images

* Remove obsolete switch

* Cleanup major arch config files

* Support for Docker building
2022-11-06 20:33:11 +01:00
pinhaozhang
89e705136c
Tinker Board 2(RK3399): fix incorrect detection of dram size on booting (#4383)
Co-authored-by: pinhaozhang <pinhaozhang@tencent.com>
2022-11-06 20:28:19 +01:00
Tony
d101f2a69c
update asound.stae for le potato (#4379)
* Repair damage to Le Potato by untested u-boot bump

Since 15cab819fe decided to move everything to 22.07 without tests, revert back as this causes the ""Synchronous Abort" handler, esr 0x96000004" error.

* Fix damage caused by untested U-boot bump

Revert result of 15cab819fe and restore booting to Odroid C2

* Create asound.state.lepotato

alsa config for le potato

* Update lepotato.conf

use board specific asound.state
2022-11-03 10:48:09 -04:00
Igor Pečovnik
9780da320e
Add Radxa ROCK Pi 4C Plus (#4129)
* Add Rockpi 4C+

* add newer patches:

- apply patches from RadxaNaoki <noaki@radxa.com>
  - ref 5652d6f9c2a4e2c50ac1040c0388859381b0616f: arm64: dts: rockchip: add gmac for ROCK 4C+ (#17)
- apply latest patches from Marcone <marco.nelissen@gmail.com>
  - ref e39da181b099a86f5440ed1c08fc699d4a65aed7: arm64: dts: rockchip: Make Rock Pi 4C+ ethernet actually work
  - ref 8c519612eeb852268371b3c596eec4622460e5bf: arm64: dts: rockchip: add Rock Pi 4C+ LEDs
  - ref 726441afe687ea6059bac37f145ff204b75430f7: arm64: dts: rockchip: enable Rock Pi 4C+ wifi
  - ref caad7bef3b5558e2598480c0a0089e2ac3cedcdd: arm64: dts: rockchip: enable Rock Pi 4C+ nvme
  - ref 6cdc3215d1691bcd2a407a30e88efa0cec179eb2: arm64: dts: rockchip: enable Rock Pi 4C+ OTG

* default top USB3 port to host mode

* get 2nd HDMI port to work at least. :)

* revert OTG USB3.1 port back to otg mode

* [rockpi4c+] update board def.  add usb host overlay.

* remove redundant HDMI clocks and voltages

* enable test builds for Rock PI 4 C+

* [rockpi4c+] add USB host overlay

Co-authored-by: Joe Khoobyar <fourheads@gmail.com>
2022-11-02 06:58:31 +01:00
Tony
44f744d002
Fix potato and C2 damage caused by untested family u-boot bump (#4376)
* Repair damage to Le Potato by untested u-boot bump

Since 15cab819fe decided to move everything to 22.07 without tests, revert back as this causes the ""Synchronous Abort" handler, esr 0x96000004" error.

* Fix damage caused by untested U-boot bump

Revert result of 15cab819fe and restore booting to Odroid C2
2022-11-02 06:41:45 +01:00
Igor Pečovnik
9f7d9ff5c3
Add CSC Odroid M1 with legacy, current and edge kernel (#4368)
* `odroidm1`.wip: hk's `legacy`= 4.19 and `edge`= mainline+tobetter's 5.19 rebased; *requires* `skip_spiboot=true`

- @TODO: family/etc naming is terrible with vendor kernels. Sorry. Fight over it and let me know?
- @TODO: config is very probably incomplete.
- new `boot-rockchip64-vendor.cmd`:
  - does not use fixed load_addr, instead use ramdisk_addr_r for everything
  - load kernel and initrd as late as possible
  - look for overlays twice:
    - once: with prefix and folder
    - twice: without prefix, nor folder; helps with vendor provided overlays like hk's and tobetter's
- wip: edge: tobetter's patchset rebased against 5.19.3
- wip: edge: bump to tobetter's 5.19
- legacy: .config `CONFIG_ARM64_VA_BITS_48=y`
- wip m1: update legacy config from odroid
- odroidm1: container/bpf stuff in legacy config

* Update configs and enable beta build target

* Adjust current kernel

* Update targets

* Remove everything but EDGE kernel

* Cleanup

* Fix

Co-authored-by: Ricardo Pardini <ricardo@pardini.net>
2022-10-30 21:09:16 +01:00
Igor Pečovnik
bd260b20f8
Go back to latest stable u-boot with VIM3L (#4355)
* Go back to latest stable u-boot with VIM3L

https://github.com/armbian/build/pull/4251

* Revert "Go back to latest stable u-boot with VIM3L"

This reverts commit 0b240563ef.

* meson64: allow board-specific `BOOTBRANCH`; `khadas-vim3l`: `BOOTBRANCH_BOARD=tag:v2022.04`

Co-authored-by: Ricardo Pardini <ricardo@pardini.net>
2022-10-27 12:50:02 +02:00
Igor Pečovnik
599bf33902
Small adjustment to beta build targets, typo (#4354)
* Adjust board names

* Cleanup beta builds
2022-10-26 23:24:31 +02:00
Igor Pečovnik
71bb3c02a3
Fixing wrong / deprecated board propertie parameter (#4335) 2022-10-25 11:27:22 +02:00
Igor Pečovnik
c5a6ea7c49
Status change for Helios64 / Rpi4 (#4332)
* Move Helios64 to EOS since it does not build. Move back once fixed.

* Move Rpi4 to supported as it has all that it needs
2022-10-24 20:42:32 +02:00
Lukas Pirl
f47b690383
re-add support for NanoPi NEO3 (#4313)
* re-add support for NanoPi NEO3

* Add minimal images

Co-authored-by: Igor Pečovnik <igorpecovnik@users.noreply.github.com>
2022-10-22 14:45:28 +02:00
Igor Pečovnik
0dcb2fdf56
Remove mvebu/mvebu64 legacy kernels (#4292) 2022-10-22 00:10:52 +02:00
Jianfeng Liu
916e5889b2
Merge pull request #4287 from amazingfate/rock5b-add-fat-boot
add ext4 bootfs to rock5b
2022-10-20 17:51:39 +08:00
amazingfate
cb10983662 rock5b use ext4 boot 2022-10-18 23:34:23 +08:00
Igor Pečovnik
3ed6c224f1
Remove deprecated kernels (#4283)
* Remove deprecated Odroid XU4 legacy 4.14.y branch

* Clean deprecated kernels from meson64 family

- legacy kernel 4.9 was removed
- current 5.10 was replaced with 5.19
- edge remains on 5.19 until someone bumps it to 6
- patches between 5.11 and 5.18 were removed, 5.10 will be kept for awhile

* Update configs
2022-10-15 19:32:53 +02:00
amazingfate
f867a913a7 add fat bootfs to rock5b 2022-10-15 13:44:58 +08:00
brentr
d3a3afe385
Rockpis wifi fixes (#4008)
* RockPI-S board has no video I/O

* udev rule to fix MAC address of iface based on UUID

Deals with WiFi chip lacking any EEPROM to store its unique Ethernet MAC address
Generic mechanism -- could be utilized for other boards having similar issues

* Handy Device Tree overlays for the RockPI S

Use armbian-add-overlay to install these

Reduce CPU voltage for the RK3308 B-S
  Option to overclock RK3308 B-S to 1.3Ghz

Increase SDIO clock rate from 1Mhz to 10Mhz
  This increases WiFi throughput from 300K bytes/s to 2.4M bytes/s

* corrected comment

* No longer repeat standard opp's in this dts

Require that the standard bs dts already be installed

* User README for adding RockPI-S board variant specific dts overlays

* "enabled" --> "okay"

* added mention of sdnand.dts, fixed typo

* added p2p0 to interfaces whose MAC address should be "fixed"

* RK3308 CPU serial number in nvmem replaces UUID for derivation of fixed MAC addr
Restored use of install utility

* Use RK3308 specific CPU serial number

rather than rootfs UUID

* remove generic fixMACaddress

* Install fixMACaddr file-by-file via install utility

* Drive SDIO bus signals faster

setting RK3308_SOC_CON0_VCCIO3 reduces signal rise/fall times to WiFi SDIO chip
from 30ns to 5ns.
This odd fix forward ported from legacy kernel.
Allows Rock Pi-S WiFi to operate at full speed.

* Set RK3308 I/O voltage domains before SDIO initializes

This patch moves responibility form the io-domain to the pinctrl driver because
the io-domain driver is probed after the SDIO devices are discovered.
This was causing multiple SDIO I/O failures during boot.

A new pinctrl property is added:
io-1v8-domains
is a u32 interpreted as a bit mask where each set bit corresponds to
a 1.8V I/O domain (as opposed to the default of 3.3V for I/O)
The mask is writted to the RK3308_SOC_CON0 GRF register
(once) when the pinctrl driver starts

The default mask is 0x10 where only I/O domain 4 runs at 1.8V

This is necessary for the RockPI-S to run the SDIO clock at high (50Mhz) speed

* align whitespace

* factored rk3308bs overlays out up sdio speedup patch

* factored dts for RK3308 iodomains and pinctrl patches out of speedup patch

* remains of sdio speedup patch merely add iodomains support for rk3308

* factored rockpis dts modification out from rk3308 io voltage domains

replaced rk3308 support from iodomains with
new io-voltage-domains property added to pinctrl
io-voltage-domains specific to rk3308 for now, others SOCs may be added later.

* add sequence numbering to names of rk3308 patches

* corrected tab alignment
2022-10-13 18:34:43 +02:00
Igor Pečovnik
15cab819fe
Add support for Bananapi M5 / M2P (#4251)
* Add initial support for Bananapi M5 / M2P

* Move to a branch that was tested with eMMC
2022-10-04 10:50:00 +02:00
Oleg
15da346cf9
add Station M3 rk3588s (#4158) 2022-09-26 18:35:49 +02:00
hzyitc
d57777caad
onecloud: Enable Plymouth (#4228) 2022-09-25 14:56:54 +02:00
Igor Pečovnik
2f6b77cfc3
Fix broken boot config for CSC board Duo 2 (#4231) 2022-09-25 14:56:45 +02:00
Igor Pečovnik
9006c54f70
GRUB optimisations (#4213)
* Add wallpaper to grup, set fixed screen size, enable hidpi mode on lightdm

* Enable graphics terminal on UEFI x86, ARM64 can't test

* Missing folder

* Enable `Plymouth`

* Add proper HiDpi support and enable intel graphics auto probing

Tested on Intel and Nvidia, both works OOB. Plymouth works as expected, no text logs on screen, if OEM vendor logo is present, it picks it up auto, otherwise shows armbian (chip) logo

Co-authored-by: hzy <hzyitc@outlook.com>
2022-09-23 09:35:07 +02:00
Igor Pečovnik
39a083e030
Adjusting boot config for Pine H64B and Nanopi R1 (#4214)
* Adjusting boot values for Pine64H b model

* Change Nanopi R1 boot files
2022-09-22 10:25:39 +02:00
aiamadeus
8648dde23f
rockchip: fixes support for orangepi-r1plus (#4215)
* rockchip: replace r8152 patches with openwrt

* rockchip: fixes support for orangepi-r1plus

Co-authored-by: AmadeusGhost <42570690+AmadeusGhost@users.noreply.github.com>
2022-09-22 10:25:28 +02:00
Igor Pečovnik
4dcd053eed
Install xfce4-power-manager by default on xfce desktop (#4205)
* Install xfce4-power-manager by default on xfce desktop

- remove x11 config which is obsolete and prevent dkms functinality
- remove per board power manager install

* Update xfce4 configs
2022-09-20 17:20:43 +02:00
aiamadeus
d7ead89cc2
sunxi: add nanopi r1s h5 support (#4201)
* sunxi: add nanopi r1s h5 support

* sunxi: also disable debug log for rtl8189es

* Add nanopi-r1s-h5 to build targets

Co-authored-by: AmadeusGhost <42570690+AmadeusGhost@users.noreply.github.com>
2022-09-20 14:53:11 +02:00
Igor Pečovnik
3cb7175c66
Upgrade Allwinner boot loader to 2022.08 (#4168)
* Bump sunxi u-boot to 2022.07

* Clean configs
2022-09-15 11:08:20 +02:00
hzyitc
11d2ef63c3
Support Plymouth (#4133)
* Add plymouth-theme-armbian package

* Adjust all bootscripts to adapt plymouth

* Auto show logo accroding to BOOT_LOGO

* Enable plymouth detail mode when bootlogo=false

* Add a new board config var - HAS_VIDEO_OUTPUT

This var is used to indicate whether device has a HW video output.
If it's set to "no", we will disable kernel bootsplash, plymouth and BUILD_DESKTOP

* Rename package to be aligned with others

* Disable kernel bootloader, but keep the code for it

* Rather keep bootlogo in the kernel for a while, otherwise kernel upgrade will turn bootup into the darkness

Co-authored-by: Igor Pečovnik <igorpecovnik@users.noreply.github.com>
Co-authored-by: Igor <igor@armbian.com>
2022-09-13 15:16:30 +02:00
Igor Pečovnik
b11e42fa4a
Move Opi3 LTS to latest boot loader (#4124) 2022-08-28 07:59:34 +02:00
Igor Pečovnik
7a3ad3afb2
Enable Docker up on Rock 5 (#4058)
* Attempt to bring Docker up

* Update txt

* Add few patches
2022-08-26 00:45:10 +02:00
Igor Pečovnik
53d6fc8df2
Adjusting build targets status for 22.08 (#4063)
* Deprecating build target

* Deprecating old pinebook and cubox-i

* Enabling UEFI targets

* Adjust build targets
2022-08-25 17:20:30 +02:00
hzyitc
8358471816
Onecloud: some update (#4073)
* Onecloud: Rename back to csc

* meson: Adjust sources config

* Onecloud: disable u-boot compilation

* Onecloud: Add armbianEnv.txt
Onecloud: Use UUID to special rootfs

* Onecloud: bootscript lint

* Onecloud: bootscript support extraargs

* Onecloud: support output boot log to HDMI

* Onecloud: tweak VCC_CORE

* Typo
2022-08-17 19:44:55 +02:00
monkaBlyat
3c8f73e15f
enable 5.19.y edge kernel for the radxa zero 2 builds (#4074) 2022-08-17 19:44:40 +02:00
Igor Pečovnik
b8e1a3b58e
Update board names and remove duplicate (#4055) 2022-08-09 09:15:13 +02:00
Igor Pečovnik
21fc940aaf
Several small bug fixes mainly outside supported areas (#4032)
* - disable few targets
- update unsupported kernel config
- bugfix on dtb install
- bugfix in download engine

* - fix broken compilation
- move onecloud to eos
2022-07-31 10:34:48 +02:00
Igor Pečovnik
3f1bbd1951
Update board config targets (#4025) 2022-07-29 18:24:29 +02:00
catalinii
1fdbab346a
rock-5b: add initial radxa rock-5b .wip (#4026)
* rock-5b: add initial raxda rock-5b .wip (by @amazingfate); vendor u-boot & kernel

- .wip board
- using BOARDFAMILY `rk35xx`, which was for rock-3a
- patch by @piter75 uboot for working 'source' command so boot.scr can be used, and not extlinux
- .config: hammer CONFIG_JOYSTICK_XPAD & CONFIG_JOYSTICK_PSXPAD_SPI
- rock5 add kernel optiions by @lanefu
- disable CONFIG_LOCALVERSION_AUTO otherwise packaging goes insane
- make its kernel is own LINUXFAMILY to as to not mess up rock-3a
- CONFIG_VT=y & SKIP_BOOTSPLASH="yes"

* Add separate family for rock 5b - rockchip-rk3588

Co-authored-by: amazingfate <liujianfeng1994@gmail.com>
Co-authored-by: root <catalinii@yahoo.com>
2022-07-29 09:21:27 -07:00
Oleg
cfc1a6a4fc
move jetson-nano to media (#4017)
* move jetson-nano to media

* fix kernel legacy jetson-nano

* fix u-boot HDMI
2022-07-25 11:38:42 +02:00
Jianfeng Liu
c17adeca6e
update u-boot config name for rock-3a (#4007) 2022-07-19 14:12:04 -07:00
Werner
3e73c82956
Add basic images for RockPi-S (#3988)
* Add basic images for RockPi-S

* Rename rockpi-s.csc to rockpi-s.conf

* Need to have 2 x adv aka exposed images + fixing indent

* Add beta target

Co-authored-by: Igor Pecovnik <igor@armbian.com>
Co-authored-by: Igor Pečovnik <igorpecovnik@users.noreply.github.com>
2022-07-16 10:41:56 +02:00
brentr
663be6550f
Allow non-legacy RockPi-S images to boot from their built-in EMMC (aka SDNAND) chips (#4002)
This moves the console from UART2 to UART0 because it
relies on a upgraded Radxa loader blob that only supports console on UART0.
Discussion at:
https://forum.armbian.com/topic/11228-rock-pi-s-rk3308-cpu-is-it-supported-by-anything/page/3
2022-07-16 10:37:37 +02:00
lanefu
d06e43f104
csc support for radxa rock 4b+ using mainline edge (#4003) 2022-07-16 10:37:24 +02:00
CXM
5aecde7582
Fix clockworkpi-a06 desktop required package (#3945) 2022-06-30 09:30:18 +02:00
Oleg
074130d639
add CSC BananaPI R2 pro (rk3568) (#3848) 2022-06-23 12:45:31 +03:00
Paolo
2ca6a9381d
rockchip64: add rk3318-box tvbox board patch and configurations (#3921)
* rockchip64: add rk3318-box tvbox board patch and configurations
* rockchip64: add missing bcm43342 patch for edge kernel
2022-06-23 08:30:54 +02:00
Paolo
388e9bbf5e
Support for OrangePi4 LTS board (#3770)
* orange pi 4 LTS support added (uwe5622 wifi driver, es8316c codec)

* add orangepi 4 LTS device tree
* add uwe5622 driver to 5.15 and 5.18 rockchip64 patches
* add wpasupplicant to jammy cli packages
* fix es8316c asound.state (zeroing stereo enhancement which causes distortion)

* Add build targets

* Move from WIP state

Co-authored-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2022-06-14 12:11:33 +02:00
Jianfeng Liu
8c9490078b
use gpt partition table on rock-3a (#3874) 2022-06-10 18:33:55 -07:00
Jianfeng Liu
6388006b5b
add spi boot support for rock-3a (#3838) 2022-05-29 17:21:27 +02:00
Igor Pečovnik
0eb8fe7497
Movi Rockpi, Rock64 and Pine64so to supported as we have a maintainer (#3832) 2022-05-28 09:35:49 +02:00
Igor Pecovnik
907d427818
Set correct boot script for modern kernels 2022-05-27 08:36:11 +02:00
Oleg
98c13e2976
fix kernel legacy Station M1 (#3813) 2022-05-25 17:30:18 +02:00
Derek
330316fcb9
Move helios64 to blobless u-boot (#3810) 2022-05-25 16:22:23 +02:00
hzyitc
c4b62f848f
meson8b: Support HDMI (#3794)
* meson8b: Support HDMI

* meson8b: drm: Forcefully enable XRGB format

* Bump kernel version

* Upgrade configs

* Swap current and edge
2022-05-23 15:58:38 +02:00
Tony
cf9ad4ae60
Support Tritium H3 and H5 (#3787)
* Support Tritium H3 and H5 Beta CLI

* Add Tritium H3 and H5 to build targets

* Rename tritium-h3.csc to tritium-h3.conf

* Rename tritium-h5.csc to tritium-h5.conf
2022-05-18 07:39:41 +02:00
hzyitc
965ce372de
Support Xunlei Onecloud (#3749)
* Support Xunlei Onecloud

* meson: more led triggers
2022-05-12 19:12:21 +02:00
CXM
1f54bc33b8
Add clockworkpi-a06 support (#3768)
* feat: add clockworkpi-a06 support

* fix: disable dpms & screensaver
2022-05-11 21:47:28 +02:00
Jianfeng Liu
68729a3aa6
change rock-3a mainline dtb filename to rk3568-rock-3a.dtb (#3775)
* change rock-3a mainline dtb filename to rk3568-rock-3a.dtb

* add rock3a DT link for backward compatibility

* change rock3a default dtb name to mainline

* add rock-3a legacy dtb filename rock-3-a
2022-05-11 19:42:30 +02:00
Werner
4787e894e0
add maintainer hint (#3733) 2022-05-01 20:21:48 +02:00
Igor Pečovnik
a9105af4f8
Change board support status since we have a maintainer (#3713) 2022-04-26 09:26:49 +02:00
Ukhellfire
2a8e1ecac1
Add Orange Pi 3 LTS Support (#3628)
* Orange Pi 3 LTS
* Enable build targets

Co-authored-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2022-04-12 20:13:37 +02:00
Derek
1bbb46d6d4
Config file for espressobin, and add to targets (#3661)
* Config file for espressobin, and add to targets

* why is this file so wide?!
2022-04-11 00:41:28 +02:00
Oleg
eb54a13b05
update kernel 5.17.1 station-p2-edge (#3637) 2022-04-05 16:18:38 +02:00
Yakov
177d985f35
Rename radxa-zero.csc to radxa-zero.conf (#3601) 2022-03-29 12:38:01 +02:00
Oleg
03ef96715e
fix emmc nano-pc-t4 (#3557)
* fix emmc nano-pc-t4
* fix node and del not used patch
2022-03-25 20:51:03 +01:00
Oleg
f52a4193d0
Adding Pine64 Quartz64a as WIP target (#3539)
* add Quartz64a

* quartz64 to wip

* add m2\p2 current

* move patch archive
2022-03-20 22:58:21 +01:00
Oleg
2daf35107d
fix BT and wifi for station m1 legacy (#3533)
* fix BT for station m1 legacy

* add firmware
2022-03-13 09:05:14 +01:00
Igor Pecovnik
34d4be6b7b
Bugfix - wwitching one build target with another. 2022-03-08 07:55:39 +01:00
Yuntian Zhang
07d6630421
Add missing asound.state for Radxa Zeroes (#3523) 2022-03-06 11:33:49 +01:00
Igor Pečovnik
b0f7dbc519
Adjust build targets to meet maintainers list (#3526)
https://docs.armbian.com/Release_Board-Maintainers/
2022-03-06 10:26:31 +01:00
schwar3kat
6ff15fe54f
Add orangepi r1 plus lts (#3514)
* Rockchip64 Linux-5.10y - drivers for Motorcomm YT8531
renamed the previous "net-phy-Add-driver-for-Motorcomm-YT85xx-PHYs.patch" to "net-phy-Add-driver-for-Motorcomm-1-YT85xx-PHYs.patch" to fix patch order and added a new patch "net-phy-Add-driver-for-Motorcomm-2-YT8531-PHYs.patch"
The new YT8531 patch is sourced from from Lean's OpenWrt source rockchip/patches-5.10/601-net-phy-Add-driver-for-Motorcomm-YT8531-PHYs.patch.
It is intended to extend a patch identical to Armbian's "net-phy-Add-driver-for-Motorcomm-YT85xx-PHYs.patch" and is used without alteration.

* Add new board OrangePi R1 LTS (rk3328)
Includes uBoot and support for Linux-5.10y

* Rockchip64 Linux-5.15y drivers for YT8531 and other Motorcomm chips

YT8010, YT8510, YT8511, YT8512, YT8521. The driver patch set is sourced from Xunlong-OrangePi OpenWRT and is used as is, with only a name and makefile change.
A single patch set uses the same underlying source code as the Armbian Linux-5.10y set, but uses inbuilt logic to apply tweaks that depend on the Linux kernel version.
The patch is renamed similarly to the 5.10 patch set, net-phy-Add-driver-for-Motorcomm-T85xx+PHYs.patch to imply code base continuity with the previous similar Armbian patch sets.

* Rockchip64 Linux-5.15y support for Orange Pi R1 Plus LTS

Includes DTS and makefile changes. A driver for net phy YT8531C is in a separate commit

* change orangepi-r1plus-lts.csc to orangepi-r1plus-lts.conf

board is now supported

* - add patch also to 5.16.y
- fix wrong patch permission

* Fix Makefile patch

Co-authored-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2022-02-26 15:03:33 +01:00
Yuntian Zhang
3da96b2d77
Add support for Radxa Zero 2 (#3413)
Radxa Zero 2 is a small form factor SBC based on the Amlogic A311D
chipset that ships in a number of eMMC configurations:

- Amlogic A311D (Quad A73 + Dual A53) CPU
- 4GB LPDDR4 RAM
- 32/64/128GB eMMC
- Mali G52-MP4 GPU
- HDMI 2.1 output (micro)
- BCM4345 WiFi (2.4/5GHz a/b/g/n/ac) and BT 5.0
- 1x USB 2.0 port - Type C (OTG)
- 1x USB 3.0 port - Type C (Host)
- 1x micro SD Card slot
- 40 Pin GPIO header

Signed-off-by: Yuntian Zhang <yt@radxa.com>
2022-02-25 19:27:41 +01:00
Igor Pečovnik
84944eaaf4
Enable audio on Rpi in config (#3479)
* Enable audio on Rpi in config
* Add asound.state
2022-02-12 19:36:06 +01:00
Igor Pečovnik
c318d6fc79
Update build targets (#3456) 2022-02-10 15:16:30 +01:00
Oleg
b3070c7eef
fix use auto dtb for extlinux (#3466) 2022-02-10 15:04:16 +01:00
Oleg
daa0e70004
add image adv (#3467) 2022-02-10 15:02:50 +01:00
catalinii
188d6d0a8a
Support edge kernel for Rock 3A and rk35xx (#3371)
* Support edge kernel for Rock 3A and rk35xx

* Removing patch email headers

There is also some script floating around to do this automatically when pooling from patchwork

* Update rk356x-usb2-support.patch

* Remove email headers

* Remove email headers

* Remove email headers

* Update config and change edge branch

* Enable edge beta build

* Refresh the rk35xx patches and update the dts
Remove also previous wireless patches related to IPX removal

* Removing hirsute target

deprecated

Co-authored-by: Catalin Toda <catalinii@yahoo.com>
Co-authored-by: Igor Pečovnik <igorpecovnik@users.noreply.github.com>
Co-authored-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2022-02-01 22:53:43 +01:00
Igor Pečovnik
e90392f5b5
Adjust few RPi parameters (#3401) 2022-01-20 14:47:06 +01:00
Igor Pečovnik
3196fac0d1
Maintenance (#3395)
* Upstream patches and bug fixes

* Move to CSC
2022-01-11 18:53:52 +01:00
Oleg
6b490e1694
move kernel edge to 5.16 (#3387) 2022-01-11 15:26:11 +01:00
Igor Pečovnik
4ffef325ba
Several improvements for RPi builds (#3391)
* Several improvements for RPi builds

- attach to RPi kernels
- current (ubuntu) -> legacy
- current -> 5.10.y, edge, 5.15.y

* Move current Rpi to 5.15.y and edge to 5.16.y
2022-01-11 15:25:58 +01:00
Werner
9d8a424c03
Cleanup. Remove deprecated build targets (#3148)
* Update targets.conf

* Update targets-desktop-beta.conf

* Update targets-cli-beta.conf

* Update targets.conf

Update targets according ot current status of maintainer list
reduce userspaces to Focal
reduce to xfce default desktop
keep one minimal and one edge to check if they build at least.

* adjust support status according current maintainer sheet

* Readd pbp

* Readd pbp

* Readd C2

Co-authored-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2022-01-05 17:55:42 +01:00
Oleg
e453e4dfba
fix kernel legacy for firefly-rk3399 (#3369) 2021-12-27 08:27:01 +01:00
Oleg
08568a6005
add station m2\p2 (#3352) 2021-12-26 16:37:49 +01:00
Oleg
023de68882
switching Jetson Nano edge to kernel 5.15 (#3363) 2021-12-22 07:38:19 -05:00
Vyacheslav
d4a7b7f03e
Move JetHub D1/H1 to supported boards, reenable, add watchdog (#3357)
* JetHome: move JetHub D1/H1 to supported
* JetHome: add watchdog package to base system
* JetHome: reenable beta builds for JetHub D1/H1
2021-12-18 09:28:24 +01:00
Ricardo Pardini
90e0fe0ba2
extensions framework + UEFI aarch64/x86 + rpi4b + core changes/fixes (#3300)
* extensions framework (née "fragments")

- this should actually change nothing at this point, just add capabilities
- the framework is implemented in lib/extensions.sh
- the "if function x exists then call x" replaced with call_extension_method()
  - +inline documentation
  - +compatibility names

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>

* extensions framework; meta-extensions: auto-docs and sample extension gen

- 2 extensions dealing with extensibility itself
  - detect-unused-extensions: shows which extensions are enabled, but never called.
  - gen-sample-extension-docs: generates a sample empty extension & Markdown documentation for extensions

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>

* new extension methods and features via config variables in core Armbian

- `SKIP_EXTERNAL_TOOLCHAINS=yes` - does not download or use any linaro toolchains, only build host-installed ones
- `SKIP_BOOTSPLASH=yes` - does not patch kernel for splash file
- `EXTRA_BSP_NAME=xyz` - allows for BSP variants, useful for when extensions modify the BSP
- `EXTRA_ROOTFS_MIB_SIZE=x` - add x mib's to rootfs size, for use with very small images
- `KERNEL_EXTRA_TARGETS` - what extra targets to make kernel for, default to "modules dtbs"
- `BOOTCONFIG=none` - does not build nor install u-boot; also doesn't handle bootscripts et al
- `unset KERNELSOURCE` - does not build nor install kernel, nor build initrd, nor build nor install firmware
- `ARMHF_ARCH=skip` - does not add armhf to apt/dpkg, thus pure arm64
- `SKIP_ARMBIAN_REPO=yes` - results in armbian.list.disabled in the final image
- define `APT_EXTRA_DIST_PARAMS` with apt-cacher-ng options and use it for `PACKAGE_LIST_INSTALL/REMOVE` et al
- initial support for targeting x86/amd64 UEFI and BIOS
    - some do's/don'ts for x86/amd64, like a different `UBUNTU_MIRROR` default
    - GPT/EFI(ESP) partitions (fat, `UEFISIZE=256` to enable, mount `UEFI_MOUNT_POINT=/boot/efi`, first on disk but ends
      up at `$uefipart`=15)
    - GPT/BIOS partitions (fat, `BIOSSIZE=1` to enable, second on disk but ends up at partition 14)
    - `UEFI_FS_LABEL="armbiefi"` - to set the FAT label for the EFI partition, visible in Win/Mac
    - hard-requires gdisk package host-side
- add add_host_dependencies() extension method; fill `EXTRA_BUILD_DEPS="pkg pkg2"` to install to host before toolchains
  download
- add pre_prepare_partitions() extension method, for custom partition size calculations
- add create_partition_table() extension method, used to do full-custom partitioning if `USE_HOOK_FOR_PARTITION=yes`
- add post_create_partitions() extension method, mostly for easy debugging
- add post_write_sdcard() extension method, where you can also set `SKIP_VERIFY=yes` to skip sdcard verification
- add post_install_kernel_debs() extension method.
- multiple fixes to bsp to avoid spurious errors when files are not where it expects
- v4: detect `update-initramfs` failure and abort build with useful message if it does
- v4: show useful stacktrace in `exit_with_error`
  - if `ERROR_DEBUG_SHELL=yes`, drop into a shell before unmounting/deleting everything, so we can inspect what went wrong
- v4: display a message before `apt-get remove PACKAGE_LIST_BOARD_REMOVE` packages, so any errors while removing are easy to understand
- v4: preserve kernel .config's dates when copying

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>

* extensions framework; refactor tool fetching/building into extensions

- a few examples of core refactoring using extensions
- sunxi-tools extension, enabled by 2 different sunxi family includes ("reuse" example)
- marvel-tools extension, enabled by 2 different mvebu family includes
- rkbin-tools extension, enabled by rockship64_common family include
- amlogic-fip/c2-blobs stuff refactored directly into meson64_common.inc ("single-use" example)
- removed the 'testings' fetch_from_repo completely since not used anywhere.

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>

* .wip's for UEFI arm64 and UEFI/BIOS x86 via new GRUB extension

- v3: added `growroot`-awareness to `armbian-resize-filesystem`
    - the partition-growing part of `armbian-resize-filesystem` does not deal correctly with the UEFI layout
    - `growroot` is installed on UEFI images by default, that handles growing partition during initramfs
    - now `armbian-resize-filesystem` handles `resize2fs` only, and works.
- v4: reworked UEFI board/family/include structure:
    - use Distro's `linux-generic` kernel only for `current`
    - `edge` now builds it's own pure-mainline `5.15.y` kernel, for both x86 and arm64
        - `.config` taken from Ubuntu, probably needs tuning for EXTRAWIFI=yes et al
- v4: introduce `SKIP_KERNEL_SYMLINK=yes`, tested in `builddeb`
    - to avoid symlinking kernel; u-boot likes it, but grub and flash-kernel hates it
- v5: many fixes
- v7: more small fixes.

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>

* .wip for the RaspberryPi 4B via new flash-kernel extension

- this does not build it's own kernel "yet", but uses default linux-raspi kernel from Ubuntu
- flash-kernel is not really a bootloader
    - it just prepares kernel et al a FAT partition for booting by the RPi4b bootloader
    - flash-kernel is standard Debian package, but has only been tested on Ubuntu releases
- it is really only known-working since Hirsute release.
  - Debian's rpi kernel is armhf only, so out of scope here, at least until we add source-built kernels.
- v3: fixed focal rootfs build. untested.
- v3: better variable names, preparing for source-built kernel.
- v5: new edge build with pure mainline kernel.
- v6: many fixes and some hacks for packaging and layout, also firmware (using Ubuntu's)

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>

* Added first patch to edge x86 related to wifi drivers

* extensions: leave hostapd alone; remove hackish ext; block reentrancy

- package-list-utils does not belong in this PR
- grub or bcm2711 is not the place to remove hostapd
- block recursive enable_extension() calls, for now.

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>

* gen-sample-extension-docs: fix: avoid counter in generated sample

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>

* extensions: dependencies: enable_extension() in extensions with a stack

- and better stacktraces, I hope

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>

* Remove code from package list since we don't have it in repository
Adjust kernel config to disable driver that needs further polishing.

* Allow amd64 to build the same desktops as aarch64. We only have this limit for armhf, where some desktops don't work

* amd64: allow building amd64 on aarch64 with system toolchain

- conditionally add gcc-x86-64-linux-gnu to hostdeps

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>

* add libelf-dev directly to hostdeps (and Dockerfile), remove extension

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>

* packaging: remove SKIP_KERNEL_SYMLINK hack, fix the root cause

- which was the missing $image_name for non-arm64 & non-arm, so: x86 for example

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>

* grub: really obliterate u-boot stuff from BSP

- for now. soon we'll refactor u-boot so not have to do this

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>

* flash-kernel: really obliterate u-boot stuff from BSP

- for now. soon we'll refactor u-boot so not have to do this

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>

* extensions: add host_dependencies_ready() hook

- this passes FINAL_HOST_DEPS containing all hostdeps for the run after they're installed

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>

* Add verification functions for correct selection.

* If UEFI Skip symlink creation

* Do not create dtb package for amd64

* Skip scripts folder cleaning if build process native.

Skip creating  postinst prerm scripts  for headers.

* Skip applying headers-debian-byteshift.patch if build native

* Fix architecture syntax as x86_64

* Revert "amd64: allow building amd64 on aarch64 with system toolchain"

This reverts commit 0c5ee20bb1.

* Compare architectures before starting compilation.



Signed-off-by: The-going <48602507+The-going@users.noreply.github.com>

* extensions: cleanups after fixes by the-Going

- packaging:
  - there is _no need_ anymore for the symlink hack, CONFIG_EFI or no. But check is great, see below
  - it's not `amd64` that has no DTB's, it's all UEFI, thus: `is_enabled CONFIG_EFI`, thanks!
- Explicitly disallow "reverse cross compile" in amd64.conf.
- whitespace-only-deletions: revert. we shall shellfmt the whole thing one day, but not today.
- fix a few syntax warnings in newly introduced code (floating `$ARCH` vs `"${ARCH}`) - blame shellcheck

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>

* packaging: fix: turns out a lot of boards have CONFIG_EFI=y, can't use that for dtb/no-dtb decision.

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>

* grub: remove debug

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>

* firmware: allow installing `armbian-firmware-full`; make it really full

- can now use `BOARD_FIRMWARE_INSTALL="-full"` to install full firmware for the board. enable for UEFI.
- don't rely on KERNELSOURCE for firmware-related decisions. introduce `INSTALL_ARMBIAN_FIRMWARE` which defaults to `yes`
- rpi4b/flash-kernel: disable Armbian firmware; we need linux-firmware-raspi2, which conflicts.

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>

* extensions: log to /${LOG_SUBPATH}/ instead of fixed /debug/

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>

* extensions: introduce cleanup_extension_manager() called by build-all-ng's unset_all()

- to reset/unset everything done by the the initializer, so build can run again

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>

* extensions: remove 'global' logging, for use with build_all_ng

- enable_extensions() will have to live on without logging to file. it's just too early.
- now init EXTENSION_MANAGER_TMP_DIR in initialize_extension_manager()
- now init EXTENSION_MANAGER_LOG_FILE in initialize_extension_manager()

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>

* extensions: build-all-ng.sh bugfix due to extension's debug to stdout

- extensions (among other things) can produce output to stdout when activated
- fix: check_hash() produced "idential" (sic, now changed to IDENTICAL) to stdout as a trigger
- debugging output got mixed with "idential", rendering hash cache void for families that used extensions
  - eg: sunxi, others
- fix is to send stdout to the bitbucket when sourcing the board & arch config files
- proper fix would be stop using stdout in this case and use return code for check_hash()
  - one day soon

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>

* Add CI build targets

Co-authored-by: Igor Pecovnik <igor.pecovnik@gmail.com>
Co-authored-by: The-going <48602507+The-going@users.noreply.github.com>
2021-12-06 09:49:49 +01:00
Oleg
e36ed09290
T4 switch to extlinux (#3257) 2021-11-15 18:28:12 +01:00
Igor Pečovnik
c10cf6edb7
Rename Rockpi 3a to wip and enable nightly builds (#3252) 2021-11-14 21:22:02 +01:00
Igor Pecovnik
1c75b8fb91
Fix broken u-boot compilation on Rockpi S
- moving to CSC since we have no dedicated maintainer
- disabling build targets
2021-11-12 07:22:10 +01:00
Oleg
7789fef83f
u-boot usb m1 (#3221) 2021-10-27 18:56:02 +02:00
Piotr Szczepanik
86abac1fd4
Cleanup u-boot configurations for rockchip64 derivatives (#3150)
* Cleanup u-boot configurations for rockchip64 derivatives

* Bring separate BOOT_USE_* variables into BOOT_SCENARIO

* Revert BOOTDIR change in rockchip64

* Bump RK3568 BL31 to v1.35
2021-10-26 22:14:41 +02:00
Oleg
103ddb1adb
fix firefly-rk3399 (#3227) 2021-10-26 08:52:40 +02:00
Vyacheslav
3c4b69650e
Add support for JetHome JetHub D1/H1 home automation controllers (#3176)
* JetHome: add basic files for JetHub D1/H1 boards

Signed-off-by: Vyacheslav Bocharov <adeep@lexina.in>

* JetHome: add uboot patches

Signed-off-by: Vyacheslav Bocharov <adeep@lexina.in>

* JetHome: add kernel patches for JetHub D1/H1 (backport from 5.16-dt kernel)

Signed-off-by: Vyacheslav Bocharov <adeep@lexina.in>

* JetHome: add bsp packages for JetHub D1/H1

Signed-off-by: Vyacheslav Bocharov <adeep@lexina.in>

* JetHome: add kernel options for hardware JetHub D1/H1

Signed-off-by: Vyacheslav Bocharov <adeep@lexina.in>

* JetHome: fix targets-cli-beta.conf for JetHub D1/H1

Signed-off-by: Vyacheslav Bocharov <adeep@lexina.in>

* JetHome: add axg uboot creation function for JetHub D1

Signed-off-by: Vyacheslav Bocharov <adeep@lexina.in>
2021-10-19 21:05:36 +02:00
Oleg
286eed02f7
fix jetson-nano (#3199) 2021-10-15 14:19:00 +02:00
Oleg
8c89718f02
station to wip (#3162) 2021-09-28 18:03:43 +02:00
Ricardo Pardini
956c1606de
meson64: current (5.10.y): ODROID N2(+) patchset rework for mainline u-boot, stability and rebootability (#3154)
- starting from Home Assistant OS (HASSOS) setup/patchset, which is stable with pure-mainline
  - *huge thanks* to Stefan Agner (@agners) from Home Assistant for his work and help with this
  - CONFIG_DRM_MESON=y fixes the order of shutdown callbacks, allowing it to reboot without patches
    - this increases the kernel size a bit, due to some dependencies like DRM=y
    - remove the shutdown revert patch, allowing other meson64 boards to mainline-reboot
  - add fdt/no-map patch fixing the dreaded "SError Interrupt on CPU4" panics that plagued the N2
- move the N2 to mainline u-boot on current (rebased, already done)
  - add SPI-enabling DTB variants, which allow writing to SPI NOR flash (and usage instructions in comments)
    - add UBOOT_TARGET_MAP and write_uboot_platform_mtd to current, for nand-sata-install to SPI/USB goodness
  - remove the UHS-enabling patch, to avoid 1.8v vs 3.3v mess. Make sure to use only A1-rated SD cards as recommended.
- change default cpufreq governor for 24h+ stability
- other patch cleanups:
  - move deprecated/non-applying patch to need-check
  - remove the HardKernel ODROID-specific reboot driver and DTS patches (odroid-reboot.c) which are now useless.
  - remove documentation-only patches (we have enough patches in meson64 without those)
  - remove duplicated SAR ADC patches
  - remove multiple different and conflicting patches for DTS and emulated-PWM GPIO fan
    - now using simple on/off GPIO fan at 30 celsius, unrelated to passive cooling
2021-09-26 21:44:28 +02:00
Ricardo Pardini
2079811064
meson64: bump u-boot to 2021.07 // HC4/N2(+) cleanups (#3155)
* meson64: bump u-boot to 2021.07, rework patches

- as always based on chewitt's tree, with differences:
  - squashed versions of HC4+SATA, Radxa Zero, DT tree sync patches
    - so that DTB/config/code changes related to the same feature/board are grouped
  - removed documentation changes and Makefile reordering patches

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>

* meson64: ODROID HC4/N2: simplify/remove board vs family hacks; better SPI support

- thanks to mainline 2021.07 u-boot and it's HC4 config we can remove the conditionals
- boards now define the u-boot vars instead of conditionals in family
- on the HC4, build u-boot twice: one for SD (old C4 config) and one for HC4 (new SATA/SPI config)
  - reason is that the HC4 version does not work very well unless it is actually booted from SPI
- meson64_common: don't override UBOOT_TARGET_MAP if board-defined
  - but the default UBOOT_TARGET_MAP is still defined if the board didn't
- (sneakily) add lm-sensors fancontrol to the HC4's board packages

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>
2021-09-26 20:47:33 +02:00
Ruikai (Rick) Liu
687c363918
Add NanoPi R2C support (#3138)
* Add NanoPi R2C support
* Bring NanoPi R2C, R2S to edge
2021-09-15 22:20:35 +02:00
Piotr Szczepanik
0069ad60a6
Preliminary support for rockchip rk35xx boards (#3111) 2021-09-15 22:08:39 +02:00
Igor Pečovnik
abbe87a450
Add Radxa Zero initial support (#3128)
* Add support for Radxa Zero

u-boot: new patch based on v2021.04
kernel: use patches sent to kernel list by chewitt

Tested with minimal build and cinnamon desktop:
- SD/eMMC, ok
- USB3, works in USB 2 mode
- HDMI, ok
- WiFi/BT, ok

Signed-off-by: Jack Ma <jack@radxa.com>

* Add build targets

* Cleanup and set min speed to 666000

* Change to WIP target

Support status undetermined

Co-authored-by: Jack Ma <jack@radxa.com>
2021-09-08 17:50:05 +02:00
Igor Pečovnik
d54b2d6a84
Adding OPi Zero2 legacy kernel support (#2620)
* Adding OPi Zero2 legacy kernel support
2021-08-12 19:19:18 +02:00
Igor Pecovnik
f7f992dda2 Add CURRENT kernel choice to Khadas VIM3 2021-08-05 22:45:39 +02:00
Ricardo Pardini
13329ebcd0
Odroid HC4: pick 5.13's patches for SPI-NOR dts and XT25F128B flash chip (#3069)
- add mtd-utils to PACKAGE_LIST_BOARD.
- this should be enough to wipe Petitboot;
- more investigative work and u-boot building is needed for SPI+SATA boot

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>
2021-07-28 21:54:35 -04:00
Ricardo Pardini
59509407aa Khadas VIM3: add asound.state file
- via Jeremiah Cornelius on the Armbian Forums
- also clarify comment about 2 dtbs in mainline kernel

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>
2021-07-24 18:32:55 -04:00
Ricardo Pardini
3455d85a23 Add very basic Khadas VIM3 support
- FIP tree support was there already since #1923
- mainline u-boot in g12b was enabled by #2943

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>
2021-07-24 10:07:02 -04:00
lanefu
4b91e49c72
khadas edge tweaks (#3022)
* remove static mac assignment hack for khadas edge

* khadased edge rk3399 default asound
2021-07-18 23:14:02 -04:00
lanefu
04914000b1
failsafe for qemu image (#3032) 2021-07-18 16:03:26 +02:00
Igor Pecovnik
3489e27a16 Bugfix - for creating u-boot packages we need to have board targets defined in main targets.conf
Adding Tinkerboard2 (without creating images) and Vim3l (with creating images)
2021-07-17 21:17:22 +02:00
Tony
2d8db84c90
Tinker Board 2 WIP (#3011)
* [ Rockchip64 ] Add Tinker Board 2

Using Mainline ATF/U-boot/Kernel

What works:

- USB (NOT TYPE C)
- PCIe
- LED's
- Ethernet
- HDMI

TODO:

- Type-C (fusb302 stuff)
- Type-C DP
- Regulators for big cores and GPU (sitting at default values now, no DVFS)
- Formware/driver for RTL8822CE

U-boot spits out some trash right after handing off control from SPL to U-Boot,
but doesn't impact boot.  Needs looked at.

* [ rockchip64 ] remove unrelated changes to 369ab2decdc5a3c49973d8eeb783c95558dcc41a

* [ rockchip64 ] fix merge mess from symlinks step 1

* [ rockchip64 ] fix merge mess from symlinks step 2

* [ rockchip64 ] fix merge mess from symlinks step 3

* [ rockchip64 ] add asus driver for FAN53200 regulator

* Rename tinkerboard.conf to tinkerboard.wip

set as WIP for merge to trunk.  Not ready for images just yet.

* revert rename to wip

wrong tinkerboard

* Rename tinkerboard-2.conf to tinkerboard-2.wip

prepare for merge to trunk.  Not ready for images

* Tinker Board 2 GPU and Type-C

Support USB3 over type-C connector.  display Port is still non-functional, framework in device tree however

Enable GPU

* Tinkerboard 2 DTS tweaks

Added this round:

Type-C DP now works
thermal sensors enabled  (oops)

* Tinker Board 2 update config

-Adds wifi support for the RTL8822
2021-07-15 21:29:27 -04:00
numbqq
b68107020f
Small description typo fixup for Khadas VIM2 & VIM3L (#3001)
* VIM2: fix description typo

Signed-off-by: Nick Xie <nick@khadas.com>

* VIM3L: fix description typo

Signed-off-by: Nick Xie <nick@khadas.com>
2021-07-12 20:58:12 +02:00
Lane Jennison
48086a7e89 install spice agent for virtual desktop 2021-07-11 22:39:24 -04:00
Lane Jennison
bd40cf4c7f Merge branch 'master' of github.com:armbian/build into virtual 2021-07-11 14:03:35 -04:00
Lane Jennison
6ee2ce463a additional post image hook to assist in img conversion to qcow2 for virtual-qemu image 2021-07-11 14:03:22 -04:00
lanefu
0e734a2e3f
Merge pull request #2943 from rpardini/odroid-n2-uboot-mainline
edge: ODROID N2/N2+ mainline U-boot; keep odroid-2015 u-boot for legacy and current
2021-07-10 23:19:07 -04:00
Ricardo Pardini
78a320b1fd
edge: ODROID N2/N2+ mainline U-boot; keep odroid-2015 u-boot for legacy and current
- Armbian already had all the FIP-magic needed, just use it.
- Introduce USE_ODROID_UBOOT with a list of branches that use Odroid's 2015 u-boot
  - this is mostly in preparation for non-Odroid G12B/meson64 boards (Khadas VIM3...)
  - In case $BRANCH is listed in USE_ODROID_UBOOT:
    - use BOOTCONFIG_ODROID and BOOTSCRIPT_ODROID from board.conf
    - build 2015 u-boot just like before
- Small hack into boot-meson64.cmd to handle u-boot vs kernel: n2_plus vs n2-plus DTB/FDT naming mismatch
 - overrides the default $fdtfile based on $variant
 - armbianEnv still has final say if $fdtfile is set there (it isn't for n2/n2plus)
- Extra:
 - remove unused n2-mainline bootscript (maybe from a previous try?)
 - comments about FIP trees being identical across N2/N2Plus and C4/HC4 families so no future time wastage
 - only set CPUMIN/CPUMAX/GOVERNOR in meson64_common.inc if not already set by the board.conf
 - Add some ${bootargs} debugging to mainline/default boot-meson64.cmd

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>
2021-07-07 19:55:58 +02:00
Oleg
6bd67e18e5
add media kernel for arm64 (#2971) 2021-07-07 16:15:34 +02:00
lanefu
8c09e1fa93
khadas support (#2903)
* cleanup add vim3l

* Add Khadas edge config

* Add Khadas edge sources definitions. It boots

* Change configuration to maximised model

* Adjust build configs

* witch to case statement for meson x11 config

* push vim1 naming

* Booting VIM2 with khadas prebuild u-boot

Can load from an empty eMMC, can be installed to eMMC via nand-sata-install

* Add Vim1 and move 1 and 2 to supported. VIM1 is not tested yet.

* Enable full featured desktop with 3D for khadas vim 1 and vim2

* Update meson64_common.inc

Co-authored-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2021-07-05 21:05:43 +02:00
andpp
27536347d9
Updated kernel/u-boot for MCIMX7SABRE board (#2906)
* Updated kernel/u-boot for MCIMX7SABRE board

Supporing 'current' and 'legacy' branches for MCIMX7SABRE board

current branch:
   u-boot: imx_v2020.04_5.4.70_2.3.0
   kernel: imx_5.4.70_2.3.0

legacy branch:
   u-boot: imx_v2018.03_4.14.98_2.0.0_ga
   kernel: imx_4.14.98_2.0.0_ga

* Update kernel config with few additional options like zram, bonding, ... just a few to keep minimum consistency over kernels.

Co-authored-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2021-06-20 10:06:29 +02:00
Werner
f3dd19f890
Bump Zero2 (H616) (#2907)
* Update sun50iw6.conf

* Extract patches from private kernel branch, remove 5.10, cleanup

Co-authored-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2021-06-20 10:05:49 +02:00
Igor Pečovnik
17b3da0a44
Fix mainline kernel boot on Rockpi S (#2823)
https://armbian.atlassian.net/browse/AR-785
2021-06-10 11:58:00 +02:00
Oleg
a3f2777f52
add legacy jetson-nano (#2890) 2021-06-10 11:46:12 +02:00
Lane Jennison
f4c5f78f7b minimal documentation in board config file 2021-05-17 09:27:03 -04:00
Lane Jennison
0c5ff7e259 fix family names 2021-05-16 08:56:51 -04:00
Lane Jennison
c4071ac346 virt update 2021-05-15 19:39:49 -04:00
Lane Jennison
d452d5e6bc add first pass of virt 2021-05-15 15:55:15 -04:00
Przemysław Sztoch
486a821a55
VENDOR, rock-pi-n10, RM_LIST for armbian-config/zsh, Static MAC for networkd (#2789)
* VENDOR, rock-pi-n10, RM_LIST for armbian-config/zsh

VENDOR parameter in configuration
zsh is the best of course...
Static MAC for networkd

ROCK Pi N10 (Radxa) - Initial support, knwon bugs:
- Problem with poweroff (kernel panic).
- DeviceTree is not fully verified, I suspect missing and unnecessary
entries.
- No support for NPU
- u-boot without NVME support
- I have doubts if I chose the right preboot loader for RK3399Pro, NPU
  and installed DDR memory.

* New RK3399Pro boot preloaders.

* rootfs checksum, DEBOOTSTRAP_LIST fix, output.log fix

Repaired checksum for rootfs
Added use PACKAGE_LIST_RM to purge DEBOOTSTRAP_LIST
Better logging to output.log
Fix for new host distribution detection (ie Debian Bullseye).
ubootdebs as new cleaning option
2021-05-11 21:50:14 +02:00
lanefu
9737c2171e
Merge pull request #2759 from tparys/microzed
Adds Xilinx Bootgen tools to build environment (alongside sunxi-tools, etc ..)
Adds new SoC family Zynq (7000 series, not MP/UltraScale)
Adds new board Avnet MicroZed
2021-05-01 11:38:06 -04:00
tim
904fab2bcb Re-stage Avnet MicroZed as CSC board 2021-05-01 11:24:09 -04:00
Oleg
5a91d9c429
move station to extlinux.conf (#2767) 2021-04-13 10:16:50 +02:00
Oleg
4cb79d4ef2
fix firefly-rk3328-roc-cc and libre renegade (#2765) 2021-04-13 10:16:33 +02:00
Igor Pečovnik
f0b5264317
Re-create edge branch for imx6 (#2751)
* Re-create edge branch for imx6
* Add build target

Edge was not tested on HW yet.
2021-04-12 23:56:53 +02:00
Igor Pečovnik
b46f603355
Improvements for Jetson Nano (#2752)
* Further improvements

- merge general config options
- add edge branch with 5.11.y
- enabled zram
- verified docker dependencies

* Enabled EDGE CLI target
2021-04-12 22:33:27 +02:00
AmadeusGhost
05a72b8954
rockchip: add Orange Pi R1 Plus support (#2755)
* rockchip: add Orange Pi R1 Plus support

Signed-off-by: AmadeusGhost <amadeus@jmu.edu.cn>

* rockchip: nanopi-r2s: add gpio for the lan/wan leds
2021-04-12 22:32:21 +02:00
Igor Pečovnik
6821620f9b
Adjust support status (#2754)
* Adjust support status
2021-04-12 22:28:27 +02:00
tim
f60920a2b7 Add Avnet MicroZed 2021-04-10 20:39:31 -04:00
Igor Pečovnik
0cdffb29b0
Renaming DEV branch to EDGE (#2704)
* Change DEV to EDGE
* Renaming patches dev folder to edge
* Move patches into subdir where they will be archived.
* Relink patch directories properly
2021-03-24 19:01:53 +01:00
Oleg
9aa7aafd4f
Adding Nvidia Jetson Nano (#2720)
* add Jetson Nano

* Update jetson-nano.conf

* Update targets.conf

* Add better description

* Adjust config - try to enable ZRAM

* Packaging patch not needed

* Extlinux was solved in other commit

* Move board to CSC for now

Co-authored-by: Igor Pečovnik <igorpecovnik@users.noreply.github.com>
Co-authored-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2021-03-18 18:29:34 +01:00
Igor Pečovnik
24c07d2c1b
Fix Firefly RK3399 boot troubles (#2725)
Closing https://github.com/armbian/build/issues/2724
2021-03-18 17:01:43 +01:00
Igor Pečovnik
3a74abe43d
Merge desktop branch (#2662)
Co-authored-by: Miouyouyou (Myy) <myy@miouyouyou.fr>
Co-authored-by: Igor Pečovnik <igorpecovnik@users.noreply.github.com>
Co-authored-by: Richard Neese <r.neese@gmail.com>
Co-authored-by: iav <iav@iav.lv>
Co-authored-by: lanefu <lanefu@users.noreply.github.com>
Co-authored-by: Werner <EvilOlaf@users.noreply.github.com>
Co-authored-by: Oleg <balbes-150@yandex.ru>
Co-authored-by: Lane Jennison <lane@lane-fu.com>
Co-authored-by: JMCC <jmcc1@gmx.com>
2021-02-24 18:19:09 +01:00
Igor Pečovnik
54bc65b3bb
Bump DEV kernels to 5.11.y (#2636)
* Bump rockchip DEV 32b to 5.11.y

* Move mvebu64 DEV to 5.11.y

* Move Rockchip64 DEV to 5.11.y

Disabling general-rkvdec_nv15.patch - need more attention

* Add Meson DEV / Odroid C1

* Move OdroidXU4 DEV to tobetter's 5.11.y branch

* Bump sunxi DEV to 5.11.y

* Bump mvebu DEV to 5.11.y
2021-02-17 01:36:25 +01:00
Piotr Szczepanik
804c57dd59
Enable RTC (hym8563) for Station P1 in mainline (renaming DT in process) (#2577)
* Enable RTC (hym8563) for Station P1 in mainline (renaming DT in process)

* Switch Station P1 to rockchip64

* Fix linking for Station P1 device tree in legacy
2021-01-26 21:22:37 +01:00
Werner
e388109993
Rename nanopi-r4s.wip to nanopi-r4s.conf (#2522)
Co-authored-by: Piotr Szczepanik <piter75@gmail.com>
2021-01-24 21:37:01 +01:00
Piotr Szczepanik
d5ab47bff7
Minor tweaks to NanoPi R4S configuration (#2543) 2021-01-10 12:40:11 +01:00
Igor Pečovnik
18bfc8a5c0
Move few boards to CSC as decided on a meetup (#2526)
* Move few boards to CSC as decided on a meetup
* Move BPIm3 to CSC and R69 to TVB
2021-01-04 01:04:28 +01:00
Werner
fef0104599
attach OPi0-2 to current
since dev was shifted to current
2021-01-03 12:10:25 +01:00
lanefu
d78a8d2e00
Merge pull request #2514 from intelligent-agent/master
Adding board config file for Recore
2020-12-31 10:26:42 -05:00
Elias Bakken
9d151a9f7e Adding new config file 2020-12-31 13:28:18 +01:00
Elias Bakken
058e9bf084 Changed config name ending to csc 2020-12-31 13:27:13 +01:00
Igor Pečovnik
3c793e66ed
Add initial config for R4S (#2415)
* Add initial config for R4S
* Enabled r8169 module for rockchip64-current
* NanoPi R4S board configuration file tweaks
* Add u-boot configuration
* Update PCI speed
* Add DT to DEV kernel
* Enable build targets

Co-authored-by: Piotr Szczepanik <piter75@gmail.com>
2020-12-31 01:17:45 +01:00
Elias Bakken
836a32d1b6 Adding board config file for Recore 2020-12-29 13:45:06 +01:00
Nazım Gediz Aydındoğmuş
94b1fdb715
Document board config variables (#2509)
* Document board config variables

Add brief descriptions for board config variables which lack an explanation

* Emphasize deprecated variables in board config README

"next" is deprecated with AR-8.

Add "(deprecated)" to the end of description for more clarity.

* Update board config variable descriptions

Remove descriptions which are related to deprecated branches.

Remove descriptions which are not relevant for board configuration.

Change description of BOOT_FDT_FILE variable with a more elaborate one.

* Update board config variable descriptions

Even though they are not used frequently;

add description for "BOOTCONFIG_LEGACY" and "BOOTCONFIG_CURRENT".
2020-12-29 13:22:28 +01:00
Igor Pecovnik
d6027862a0 Disable video routines on headless oranges 2020-12-26 10:51:17 +01:00
Igor Pečovnik
62091309b1
Move Rock64 to CSC (#2498) 2020-12-24 12:09:43 +01:00
Igor Pečovnik
a4f315c72d
Add support for ZSH / TMUX / oh-my-zsh (#2478)
* Add support for ZSH / TMUX / oh-my-zsh

* Selecting default shell at 1st run

* Install ZSH by default except on minimal image

* Lets rather create armbian-zsh package

* - fix remaining ZSH problems
- add systemd timer to remove default desktop autologin feature
- change DESKTOP_AUTOLOGIN to disabled by default

* Few small improvements

* Oneliner for revering all users back to BASH if package is uninstalled

* Properly escape variables

* Fixing chmod

* More cryptic awk magic to fix permissions for all normal users that are getting zsh magic
2020-12-21 00:44:22 +01:00
Werner
7d286ea303
P1 comes with 4GB memory 2020-12-06 12:28:59 +01:00
Igor Pečovnik
83b2f4a6c5
Add WIP support for Orangepi Zero 2 (#2418)
* Add WIP support for Orangepi Zero 2
* squeeze H616 patches into sunxi-dev
* Update linux-sunxi64-dev.config
* H616: Limit CPUMAX
* Enable DEV only
* H616: remove patches from sunxi-current
* H616: apply new patchset

Co-authored-by: EvilOlaf <werner@armbian.de>
Co-authored-by: Werner <EvilOlaf@users.noreply.github.com>
2020-12-06 09:12:11 +01:00
JMCC
bf6a850707
Merge pull request #2391 from armbian/add-kvim2
Several improvements to support meson-gxm
2020-11-28 21:37:17 +01:00
Oleg
ccbc888b3f
add dts rk3328-roc-pc, fix WIFI and USB 3.0 rk3328 (#2390) 2020-11-28 16:52:34 +01:00
JMCC
eb1beec350 Add Khadas Vim2 csc 2020-11-28 14:58:10 +00:00
Jannis
53906b386c
Merge pull request #2352 from armbian/AR-526
[AR-526] Moving mvebu-dev to lk5.9
2020-11-27 08:36:50 +01:00
Icenowy Zheng
e19d014e00
Add Pine64 PineCube support (#2364)
* sunxi: kernel: current/dev: enable sun6i-csi and disable LL debug on UART0

The former is useful on some boards, e.g. PineCube.

The latter blocks boards that do not utilize UART0 from booting.

Signed-off-by: Icenowy Zheng <icenowy@aosc.io>

* sunxi: add new family sun8i-v3s

This family is intended for boards with V3/V3s/S3/S3L chips and low
DRAM capacity.

Signed-off-by: Icenowy Zheng <icenowy@aosc.io>

* sunxi: add PineCube board

This board features Sochip S3 SoC (Allwinner V3 die + co-packaged 128MiB
DRAM), and an OmniVision OV5640 camera is shipped with the board.

Add support for it. It could be used as an IP camera then.

Kernel support is only added to current/dev branch, with dev just using
mainline-merged DT and current using backported DT from 5.10-rc.

Signed-off-by: Icenowy Zheng <icenowy@aosc.io>

* sunxi: kernel: current/dev: add V3s OHCI/EHCI nodes

These are needed for USB host on V3s boards to work.

Signed-off-by: Icenowy Zheng <icenowy@aosc.io>
2020-11-25 19:50:10 +01:00
Heisath
87aa3de522 Merge branch 'master' into AR-526 2020-11-25 09:43:23 +01:00