Commit Graph

901 Commits

Author SHA1 Message Date
amazingfate
cb10983662 rock5b use ext4 boot 2022-10-18 23:34:23 +08: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