* Switched rockchip64/rk3399 to u-boot v2020.10
* Some tweaks for SPI booting on ROCK Pi 4 in u-boot v2020.10
* Adjusted NanoPi M4V2 config for u-boot v2020.10
* Disabled PREBOOT for RockPro64 in u-boot v2020.10
It breaks boot during fdt loading
* Fix issues with booting from SPI flash for RockPro64
* Moved NanoPi R4S patches to board specific folder
* Upgrade Meson64 u-boot to 2020.10
Tested on C1,C2 and C4
* Remove accidentaly added patch
* Remove patches that are not needed anymore and restore / adjust the one that is still needed for Lepotato
* 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>
* Move changed rockpis changed patch to board specific and add original one to z28pro
* Delete the patch unneeded for ROCK Pi S
Co-authored-by: Piotr Szczepanik <piter75@gmail.com>
* Enable ums and maskrom u-boot recovery button
* Configure USB MUX before starting download mode
* Blink system status led to notify user the download mode
* Move HDD power staggering to board function
* Configurable u-boot recovery for rockchip64 (ums,rockusb,fastboot,maskrom)
* Switch RockPro64 to configurable u-boot recovery
* Added a hook for board to prepare download mode
* Some fixes to mmc device detection
* Use dedicated led functions and fixups
* Switched RockPro64 to mainline u-boot
* Enabled rockusb and ums for RockPro64 in mainline u-boot
* Switched RockPro64 u-boot to TPL/SPL/BLOB scenario
* Enabled advanced recovery button support for RockPro64
* Disabled SDR104 mode for RockPro64 in legacy
The helios64 devicetree was submitted for inclusion in the mainline kernel.
The name used there is rk3399-kobol-helios64, so use the same here
for consistency, to be easily able to boot a mainline kernel without
changing the U-Boot environment and simplify further development.
* Switched Pinebook Pro to mainline u-boot
* Some Pinebook Pro mainline u-boot tweaks
(based on https://github.com/pcm720/u-boot-build-scripts)
* Removed Pinebook Pro legacy u-boot support
- Chanaged default x.org configuration to disable glamor
- Reintroduce patch to use DRM cursor plane as overlay in rk322x-current and -dev
- Updated wifi patches for kernel 5.8.10
- Bumped rk322x to u-boot v2020.07, removed reserved zones from device trees
- Updated OPTEE to v3.10, using ddrbin v1.10
- Bumped rk322x-current to kernel 5.8.y
- Imported new patches from knaerzche's LibreELEC fork for rk322x-dev (kernel 5.8.y)
- Adjusted existing patches to match changes, updated rk322x-dev kernel config file
- Add default modprobe conf file for esp8089 to force the crystal frequency to 40Mhz for rk322x targets
- Removed ssv6051 firmware packages to move to armbian-firmware repository
- Switching ssv6051-wifi.cfg to /lib/firmware for rk322x-legacy
- Removed P2P interface for esp8089 driver for rk322x-legacy
- Optimized ssv6051 performance: kernel module gains -Os flag, disabled p2p interface, enabled HW crypto for CCMP cipher
- Enabled remote control interface, IR GPIO kernel module and HDMI CEC modules
* Helios64: rework vdd_log and vdd_center
* helios64: Use rockchip binaries for legacy and current branch
Fully open source bootloader only on dev branch
Signed-off-by: Aditya Prayoga <aditya@kobol.io>
* rework vdd_log and vdd_center patches
* Supress systemd service warning
* helios64: u-boot: staggered HDD power up
Set the delay to 10s in between turning on the next HDD power rails.
Remove the delay property from kernel device tree, let it only apply to
u-boot
Signed-off-by: Aditya Prayoga <aditya@kobol.io>
* helios64: fault LED as kernel panic indicator
also sync, u-boot dts
* helios64: fix hwmon udev rules
Legacy kernel (LK 4.4) has different class/naming on SoC Temp sensor.
Also fix typo on current/dev udev rules.
* Add initial Helios64 configuration
Add ethernet udev rules
Added disable auto power on script during shutdown
Configure ALSA to output audio to (DisplayPort) USB type-C
armbian-firstrun: exclude helios64 from generating fixed_mac
Each network interface on Helios64 already assigned to unique MAC
address in factory. Assigning Network Manager with cloned MAC is not
needed.
Signed-off-by: Aditya Prayoga <aditya@kobol.io>
* u-boot: rk3399: Add Helios64
Use rockchip propriettary loader
* kernel: rk3399-legacy: Update r8152 to support 2.5GbE USB RTL8156
Required for Helios64
* kernel: rk3399-legacy: update Rockchip PCIe driver
Port changes by ayufan on rockchip64.
* kernel: rk3399-legacy: Add support for Helios64
Add Helios64 device tree.
Enable missing driver/kernel module.
Auto load lm75 modules
Signed-off-by: Aditya Prayoga <aditya@kobol.io>
* kernel: rk3399-legacy: rework roc-rk3399-pc patch
the patch broken due to additional line added by helios64 on
arch/arm64/boot/dts/rockchip/Makefile
Signed-off-by: Aditya Prayoga <aditya@kobol.io>
* kernel: rk3399-legacy: update Rockchip PCIe driver
Backport bugfix from mainline
refer to
https://patchwork.kernel.org/patch/11561979/
and
https://patchwork.kernel.org/patch/11561977/
Signed-off-by: Aditya Prayoga <aditya@kobol.io>
* kernel: rockchip64-current: Add support for Helios64
Add Helios64 device tree.
Enable missing driver/kernel module.
* config: helios64: use mainline ATF on current branch
and u-boot TPL/SPL instead of Rockchip proprietary loader
* helios64: u-boot v2020.07 update
* Add Helios64 target
* kernel: rk3399-legacy: update Rockchip PCIe driver
Removed unrelated changes from porting ayufan fixes
Signed-off-by: Piotr Szczepanik <piter75@gmail.com>
* helios64: make use of PACKAGE_LIST* variables
Co-authored-by: Piotr Szczepanik <piter75@gmail.com>
* Add initial support for Odroid N2+
* Update C4 config and test booting
* Updates to C4, N2, N2+
- merge C4 and N2 legacy under meson64, same u-boot
- upgrade legacy kernel to meed DTB from mainline
- merge N2 and N2+, add a hack to display + in motd when N2+ is detected
- shortly spin N2 fan at startup
- merged N2 mainline and legacy boot script
- add upstream patches
* One of the regulators were breaking booting of Odroid N2
Co-authored-by: Werner <EvilOlaf@users.noreply.github.com>
* WIP: Adding RockpiE config
Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
* Mainline u-boot for ROCK Pi E
* Initial ROCK Pi E device tree in kernel
* Fixed supplies for ROCK Pi E device tree
* Adjusted u-boot load address for rockchip64 boards with 256MB eg. ROCK Pi E
* Blacklisted lima on ROCK Pi E
* Fixed ROCK Pi E patch after merge from master
* Removed mode settings from rk805 regulators
* Fixed issues with offloading for gigabit interface of RockPi E
* Adjusted ROCK Pi E board config
* Added dev branch for ROCK Pi E
* Add build targets
Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
* Exchange legacy to current in ROCK Pi E build targets
Co-authored-by: Piotr Szczepanik <piter75@gmail.com>
* Introducing Rockchip rk322x SoC support
Main features:
- Legacy kernel flavour based upon stable v2.x rk3288 Rockchip branch (https://github.com/rockchip-linux/kernel/tree/stable-4.4-rk3288-linux-v2.x)
- Current kernel flavour based on mainline 5.6.y kernel
- Mainline u-boot (v2020.04)
- Single generic tv box target (rk322x-box) which boots on all the known tv boxes
- Hardware devices (eMMC/NAND, led wiring configuration, SoC variant selection) modulation done by user at runtime via device tree overlays - a script (rk322x-config) is provided for autodetection and simple configuration by inexperienced users;
- Bits added to armbian-hardware-optimization to set affinity for irq handlers
- rk322x-box targets already added to targets.conf for automatic image creation
* Removed disabled patches
* Restored mysteriously removed comment character
* For xt-q8l-v10 rk3288 board:
- Upgraded u-boot to v2020.04, reworked configuration to match new version, enabled HDMI video console
- Increased u-boot boot delay from 0 seconds to 1 second for rockchip boards, to allow user interrupt u-boot boot process
- Imported efuse rk3288 driver into u-boot, made ethernet address stable using soc serial
- Upgraded ddrbin loader to v1.08
- Added VDSO patch for rockchip-current and rockchip-dev kernels for clock_gettime64 to fix erratic clock on 32 bit ARM devices with recent glibc
- Disabled 600 Mhz OPP node for GPU due to Panfrost instabilities, thus enabled 500 Mhz node
- Various fixes and enhancements to xt-q8l-v10 device trees for current and dev targets
- Added (disabled) u-boot HDMI patch for Tinkerboard
* Removed rk3288 ddrbin v1.08 from rockchip blobs, changed reference to use rkbin-tools repository
* Removed unneeded disabled patch for tinkerboard HDMI