* [ 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
* remove obsolete and broken patch for pine64so u-boot
This prevents the image from being built.
Signed-off-by: Icenowy Zheng <icenowy@aosc.io>
* sunxi: fix pine64so phy-mode and add yt8511 support
Pine A64-LTS board should have RGMII-TXID mode instead of RGMII-ID (the
Realtek PHY chip's RXID is sometimes broken).
In addition, new Pine A64-LTS v2 board will use YT8511 instead of
RTL8211E, which still works under RGMII-TXID mode.
Backport YT8511 driver and phy-mode change from linux-next.
Signed-off-by: Icenowy Zheng <icenowy@aosc.io>
Co-authored-by: Igor Pečovnik <igorpecovnik@users.noreply.github.com>
* Move Jetson patches to right location, add upstream patch
Also add upstream patch for sunxi
* Add upstream patches for Odroidxu4 current
* Add meson64 upstream patches
* Remove unnecessary patch
- this patch works when compiling and installing manually.
- the dtb with the changes is taken from the kernel and not from u-boot, therefore this patch does not work.
* Add enable-audio-codec-bpim2ultra-kernel.patch
- Add patch to enable audio codec in bpi-m2-ultra with h3 compatible
- Built and tested on Armbian Buster with Kernel 5.11.x (edge)
* Bpi-M2-Ultra enable audio on branches
- This finishes enabling the audio codec in the other kernels (5.4 - 5.10 - 5.11)
- Remove patch from u-boot folder (my bug)
- Compiled and tested in their respective kernel with debian buster
* Bpi-M2-Ultra enable audio kernel 5.12
- add patch to kernel 5.12
* Improve sunxi fix-a64-timejump.patch
Current patch still throws BUG:
WARNING: CPU: 2 PID: 31 at drivers/clocksource/arm_arch_timer.c:364 sun50i_a64_read_cntpct_el0+0x2c/0x38
Cause: Timer values are required to be exactly the same, while it may increase in between reads. Seems to happen especially during boot
Timer values are like: x2 : 0000000015014561 - x0 : 0000000015014567
Solution: Normalize timer values and return normalized value.
* Add patch for 5.12.y
Note. Small changes on upstream solution:
GENMASK(9, 0 ... -> GENMASK(8, 0 ...
Co-authored-by: Igor Pecovnik <igor.pecovnik@gmail.com>
* Bump imx6 edge to 5.12.y
* Bump odroid xu4 edge to 5.12.y
* Bump Jetson nano edge to 5.12.y
* WIP: Bump sunxi to 5.12.y
- create a copy of patches and make a new link
- wireless patches needs adjutement to 5.12
- some patches are still failing
* Adjust wireless patches to build on 5.12.y
* Remove template wireless patch
* Move Espressobin edge to 5.12.y
* Bump mvebu to 5.12
- patch 92-mvebu-gpio-remove-hardcoded-timer-assignment.patch was disabled @heisath
- adjusted wireless driver for 8723ds
* Adjust sunxi / sunxi64 edge to compile
* Fix kernel config for Jetson nano edge
* bump meson64 to 5.12.y
* bump rockchip edge to 5.12.y
* Bump rockchip64 to 5.12.y
* Bump rk322x edge to 5.12.y
@paolosabatino
* Cleanup im6, re-add 5.10.y patches since one is missing in 5.12.y
* Update odroidxu4 edge links
* rk322x: moved rk322x-edge to kernel 5.12, fix overlay compilation, retouched included kernel modules
* Cleanup: remove deprecated config
Co-authored-by: Paolo Sabatino <paolo.sabatino@gmail.com>
* Remove unnecessary patch
- this patch works when compiling and installing manually.
- the dtb with the changes is taken from the kernel and not from u-boot, therefore this patch does not work.
* Add enable-sound-pinecube-kernel.patch
- Add patch to enable audio codec in pinecube with v3s compatible
- Built and tested on Armbian Buster with Kernel 5.11.x (edge)
A long story short:
- patch 'meson64_add_shutdown_function_to_meson_drv.patch' (adds meson_drv_shutdown) added on 04/03/2021
- same patch renamed to '.patch_disabled' on 07/03/2021, since it broke what it was supposed to fix
- kernel 5.10.24 upstream merged similar version of patch, which indeed fixed some khadas stuff, but broke odroid, at least HC4
- now I add this patch to revert upstream.
- also remove the .patch_disabled to avoid confusion
- to say the truth, the HC4 is not reboot-proof, it still hangs sometimes. so this is not the end of it.
- ps: without this revert, HC4 hangs 100% of the time.
- ps2: did not test on edge 5.11 yet, but it looks like the same
Signed-off-by: Ricardo Pardini <ricardo@pardini.net>
There are already emmc nodes in rk3288-tinker-s.dts, adding these nodes
to rk3288-tinker.dtsi will cause emmc busy loop on original Tinkerboard.
Signed-off-by: Jack Chen <redchenjs@live.com>
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
* add device tree overlays to handle boards with power regulation issues,
* fix misconfiguration issues in overlays
* add missing wireguard module for rk322x-current and -edge
* Re-enable network checksum TX offload on rockchip64 family
* Adjust gmac PBL setting for rk3399 legacy to fix network issues with MTU 1500
* Adjust gmac PBL setting for rk3328 in rockchip64-legacy to fix network issues with MTU 1500
Co-authored-by: Piotr Szczepanik <piter75@gmail.com>
- Enabled nfc on rk322x-dev and disable on rk322x-current (need further development)
- Tidied up rk322x-current device tree
- enabled nfc rockchip driver enabled in rk322x-dev kernel config
- Enabled EHCI controller in u-boot (added patch for inno-phy, device tree and config bits), better device detection for dwc2 usb otg port
- Removed SPL_FIT_GENERATOR from u-boot configuration, fixed .its file to use binman
- fixed rk322x its file (now includes dtb), reverted u-boot to v2020.10 and changed dev_* into log_debug() calls
* Adjust the RK808 buck step to improve stability
* Adjust vdd_log and enable vdd_center init voltage
For some reason, regulator-init-microvolt property under PMIC does not applied. Set the voltage on board file.
* Explicitly set vdd_log voltage for NanoPi M4V2 - possibly fix stability issues
* Regulator tweaks for NanoPi M4V2
* Add vdd_log to kernel and switch vdd_center back to 900mV
* Switch vdd_center to 0.95
* Make rk80x bucks voltage steps shorter to make the NanoPi M4V2 stable
* Tweak u-boot config for NanoPi M4V2
* Made the rk808 voltage steps configurable and configured 50mV for NanoPi M4V2
* 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
* mvebu: Patch kernel to fix SATA write performance regression
Add an upstream patch that fixes SATA write speed regression that
appeared in kernel 5.9.
Signed-off-by: Maxim Mikityanskiy <maxtram95@gmail.com>
* Create 0001-Revert-block-simplify-set_init_blocksize-to-regain-l.patch
Co-authored-by: Igor Pečovnik <igorpecovnik@users.noreply.github.com>
- for manual/auto control of pwm fan (in the ODROID HC4 for example)
- original is at 8a63de9e2a
- discussion https://patchwork.kernel.org/project/linux-hwmon/patch/20201125163242.GA1264232@paju/
- I'd be much happier with a cooling map in the DTB, but this makes my fans spin correctly via fancontrol
- this affects all of meson64, but only for PWMs that are already exposed to hwmon
Signed-off-by: Ricardo Pardini <ricardo@pardini.net>
* 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
* rockchip64: Added XHCI HCD USB TRB ENT quirk
On some xHCI controllers (e.g. Rockchip RK3399/RK3328/RK1808), they need
to enable the ENT flag in the TRB data structure to force xHC to
prefetch the next TRB of a TD.
Enable the quirk on RK3399 through device tree node properties.
Ported from Rockchip Linux 4.19
* add to dev branch
Polished and fixed xt-q8lv-10 rockchip-legacy dtb
Reworked act8846 reboot patch for rockchip-legacy (applies, but not yet working though)
Renamed kernel updated patches in rockchip-legacy directory adding "04-" prefix to make them uniform with existing
This patch (most likely taken from OpenWrt) only applies to ARMADA-XP
hardware, none of which is supported by Armbian.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Sound node recovered from Pull Request #408
Sound node name changed in line with tinkerboard & xt-q8l, cf. issue #1367
Also added missing i2s node, cf. http://rockchip.wikidot.com/hdmi-audio
HDMI audio now confirmed working on Miqi clone, Openhour Chameleon
These patches are for Olimex S3-OLinuXino, which is not yet support by
Armbian.
Remove them to prevent DT node conflict.
Signed-off-by: Icenowy Zheng <icenowy@aosc.io>
RK3399 maximum clockspeed according to Rockchip is 1.8 GHz for all but a couple variants. Almost all SBC's use 1.8 GHz silicon.
Remove automatic application of extra 2 GHz opp, allow user to select an overlay at their own risk.
RK3399 maximum clockspeed according to Rockchip is 1.8 GHz for all but a couple variants. Almost all SBC's use 1.8 GHz silicon.
Remove automatic application of extra 2 GHz opp, allow user to select an overlay at their own risk.
- curently attached to RC7 as https://github.com/armbian/build/pull/2378
- config derived from current and contains all latest changes
- dirty reboot and eth0 reset hacks are not added and can be added later if still needed (need_check subfolder)
* mvebu-dev: refresh all patches with quilt
Cleaned up based on kernel 5.9.12.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
* mvebu-current: refresh patches with quilt
Based on kernel version 5.9.12
Signed-off-by: Rosen Penev <rosenp@gmail.com>
* mvebu-legacy: refresh patches with quilt
Based on kernel 4.19.161
Signed-off-by: Rosen Penev <rosenp@gmail.com>
* mvebu-legacy: remove custom helios4 dts file
This is already added upstream. No need to have it here.
Continued refreshing the other patches.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
* 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>
Some of these get applied at wrong offsets or have fuzz. Fix.
Remove patch 93. It's already upstream. It also has other fixes applied
to it.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
* 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 Odroid C4 from legacy u-boot toward mainline
- get rid of dirty legacy u-boot code
- get rid of FAT boot partition
- briefly tested
- both kernels can operate with one standard boot script
- add upstream patch and adjust config
- fix console
- don't clock C4 too high by default
The swconfig marvell driver has support for multiple ethernet (CPU)
ports. The upstream DSA driver is limited to one. swconfig is not used
here.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Removed default-sample-phase property for base rk322x-box device tree
Enabled spdif out for rk322x-current and -dev flavours
Removed reserved node in device tree, u-boot v2020.10 and OPTEE autoconfigure reserved zones automatically
* add overlay to force RK3399 DW3 USB-C port to host mode
* Per https://forum.armbian.com/topic/13721-nanopc-t4-usb-type-c-port-doesnt-work-with-buster-current-5431/
this is for the NanoPC-T4 as the default from the Device Tree is to set port 0 (USB-C port) to OTG mode,
and the current kernel fusb302 driver is unable to perform autonegotiation to switch the port to host
mode when required.
* As a result, and since most users will want to use this port in host mode, Armbian should provide a new
overlay to do just that.
* rename overlay to a more generic "dwc3-0-host"
A new kernel change (see https://lkml.org/lkml/2020/9/16/1323) introduces
significant instabilities in the RTL8211E Ethernet interface; this patch
reverts that change so that the RTL8211E works reliably again.
A new kernel change (see https://lkml.org/lkml/2020/9/16/1323) introduces
significant instabilities in the RTL8211E Ethernet interface; this patch
reverts that change so that the RTL8211E works reliably again.
* 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
* helios64: adjust big cpu regulator ramp delay
existing value make clock transisition time large and could causing
random kernel crash.
info: https://forum.odroid.com/viewtopic.php?t=30303
* rk3399-legacy: dts: helios64: remove DMC and DFI
to improve stability
* helios64: rework patch due to dts renaming
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.
Pinebook-Pro Support:
suspend to idle via key and lid close
brightness keys
volume control keys
wifi, bluetooth frimware
touchpad tweaks
keyboard config
armbian-hardware-optimization
bootsplash
Co-authored-by: Britt Dodd <britt@reactornet.net>
* PCI: rockchip: support ep-gpio undefined case
Make ep-gpios optional as in rk3399-legacy
* helios64: workaround for JMB585 init
on some boards, the SATA controller failed on PCIE link training and
unusable, if the controller reset by Linux driver.
Signed-off-by: Aditya Prayoga <aditya@kobol.io>
* rk3399-legacy: rework pcie changes from rockchip64
UPSTREAM: PCI: rockchip: Use normal register bank for config accessors
[1].
UPSTREAM: PCI: rockchip: Advertise 128-byte Read Completion Boundary
support [2].
dts/c: rockpro64: add pcie scan sleep and enable it for rockpro64 [3]
[1]
7ae6008631
[2]
e2ebdd9508
[3]
3cde5c624c