Commit Graph

943 Commits

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