Commit graph

86 commits

Author SHA1 Message Date
Igor Pečovnik
a08539790d
Remove broken part from patches (#2347)
* Remove broken part from patches
2020-11-14 20:49:32 +01:00
Igor Pečovnik
4b317e548f
Add Z28PRO to the mainline kernel as a link to rock64 (#2346)
Working good enough.
2020-11-14 19:29:00 +01:00
Piotr Szczepanik
f83724d7df
Workaround MTU setting issues for dwmac interfaces on rockchip64 (#2331) 2020-11-12 09:44:55 +01:00
Piotr Szczepanik
e36ce875b0
Switched rockchip64-current to linux 5.9.y (#2309) 2020-11-10 21:43:13 +01:00
Aditya Prayoga
ea5bf1afd5
Helios64: Switch fusb302 driver to mainline and enable DP over TypeC (#2302)
* helios64: dts: switch fusb302 driver and enable dp on dev branch

* helios64: dts: switch fusb302 driver and enable dp on current branch
2020-11-04 08:22:22 +01:00
Piotr Szczepanik
0f1f9bd18d
Revert resolving supplies after creating regulator for rockchip64-current
With the reverted commit rk3399 boards do not boot as rk808 fails to be probed.
aea6cb9970
2020-10-30 23:35:49 +01:00
Piotr Szczepanik
4ef5b6574f
Fix analog (3.5 jack) audio on ROCK Pi 4C (AR-483) 2020-10-19 21:18:10 +02:00
Piotr Szczepanik
c010b05e66 Enabled SPI flash by default for ROCK Pi 4A/B/C 2020-10-17 23:38:05 +02:00
Piotr Szczepanik
c41cb4c454 Added XTX spi flash chips to kernel and u-boot 2020-10-17 23:38:05 +02:00
Tony
b3a768e2af
Fix typo on supply voltage
extra "0"s can be catastrophic.
2020-10-08 01:59:31 -04:00
Tony
8fc20a15b1
Add files via upload 2020-10-08 01:56:28 -04:00
Aditya Prayoga
d18323fcc3
Improve Helios64 Stability (#2239)
* 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
2020-10-05 20:28:37 +07:00
Uwe Kleine-König
b031de58d7
rk3399: Adapt helios64 devicetree name to match upstream linux (#2235)
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.
2020-10-05 00:16:28 +02:00
Igor Pecovnik
159f913038 Bugfix - remove deprecated part of wifi 5.8.y patches 2020-10-04 09:29:18 +02:00
lanefu
b2800dbd25
WIP: Pinebookpro tweaks (#2208)
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>
2020-09-22 21:03:45 -04:00
Aditya Prayoga
edb45f9acf
rk3399-legacy / rockchip64-current: Make PCIe reset optional (#2213)
* 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
2020-09-22 08:55:31 +07:00
Piotr Szczepanik
ef50295b32
Removed uneeded wifi patches for rtl8723ds from rockchip64-current 2020-09-18 07:41:09 +02:00
Piotr Szczepanik
3b7136416b
Revert "Cosmetical changes for htop"
This reverts commit abf6961c30.
2020-09-18 07:32:23 +02:00
Igor Pecovnik
abf6961c30 Cosmetical changes for htop 2020-09-17 22:14:11 +02:00
Aditya Prayoga
ec768b6e89
Helios64 - Temporary Fix for Linux Kernel (current, 5.8) crash due to LPDDR4 configuration issue (#2200)
* 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
2020-09-15 23:41:58 +07:00
Aditya Prayoga
6f6543c6f5
Assign Fault LED, rework HDD power staggering, fix minor systemd service warning on Helios64 (#2204)
* 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.
2020-09-15 09:46:06 +02:00
Aditya Prayoga
f14bd3ca96
Helios64 - disabled overclocking (#2191) 2020-09-09 21:52:47 +02:00
Piotr Szczepanik
3c76abb8c5
Bumped voltages for low OPPs for rk3399 in current/dev (#2197) 2020-09-09 21:51:31 +02:00
Igor Pečovnik
dccb076019
Adding Neo3 with I2S and SPDIF enabled by default (#2193)
Moving from wip to conf. We have dedicated DT and probably not much left.
2020-09-08 21:47:27 +02:00
Igor Pečovnik
1a49ad7c3d
Adjust patch to meet upstream code changes (#2194) 2020-09-08 00:07:06 +02:00
Piotr Szczepanik
4d4c3f58ff
Switched rockchip64 curent to kernel 5.8.y (#2175)
* Switched rockchip64 curent to kernel 5.8.y
* Enforce CRLF in one of the wifi patches for rockchip64-current
* Removed uneeded wifi patches for rtl8189fs from rockchip64-current
2020-09-02 23:22:09 +02:00
Piotr Szczepanik
e6e8294b63
Fixed sd card detection for Helios64 (#2179) 2020-09-02 21:55:01 +02:00
Piotr Szczepanik
5a24dad1e7
Workaround Helios64 SD reboot issues by disabling sdr104 mode (#2177)
The SD is slower now but it reboots.
2020-09-01 12:47:57 +02:00
Piotr Szczepanik
6d47709de2
Disable hs400 modes of Helios64's emmc (#2174) 2020-08-31 23:16:32 +02:00
Igor Pečovnik
36405e3397
Add Rockpi 4C (#2129)
* Add Rockpi 4C

* Update config/boards/rockpi-4c.conf

Co-authored-by: Piotr Szczepanik <piter75@gmail.com>

* Change backward compatibility link to B model

* Various changes - tested for building.

 - add Radxa overlays
 - update naming with mainline
 - add Rockpi-E

* Reverting improvements for rockpi legacy and create a link to new DT only

* Copied ROCK Pi 4 device treesplitting patches to dev which was broken

* Add Rockpi 4c targets

Co-authored-by: Piotr Szczepanik <piter75@gmail.com>
2020-08-29 00:16:28 +02:00
Piotr Szczepanik
42e76b9277
Switch RockPro64 work led to heartbeat trigger 2020-08-24 22:47:03 +02:00
Piotr Szczepanik
403651b986
Adjusted hci quirk patch for 5.7.16+ in rockchip64-current 2020-08-19 23:52:38 +02:00
Piotr Szczepanik
da58bb7997
Disable rk3399-bluetooth service in dev/current (#2140)
* Enable bluetooth node in Firefly RK3399 device tree in dev/current
* Deprecate rk3399-bluetooth service in dev/current, keep in legacy
2020-08-15 22:13:28 +02:00
Aditya Prayoga
c27379e93f
Add Helios64 support (#2126)
* 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>
2020-08-10 18:22:48 +02:00
Piotr Szczepanik
54deed57ce Ignore also bcm43456 by btsdio (ROCK Pi 4, OrangePi 3/4 with new firmware) 2020-07-27 22:16:31 +02:00
Piotr Szczepanik
b661be0afe
Cleaned up ROC-RK3399-PC after switching current to 5.7.y (#2104) 2020-07-22 23:35:49 +02:00
Werner
812245def3
Move rockchip/64 current to 5.7.y (#2099)
* Move current to 5.7.x
* Update linux-rockchip-current.config
* Move dev patches to current
* copy dev to current
* move dev patches to current
* move rockchip64-current to 5.7.x
2020-07-18 23:07:01 +02:00
Piotr Szczepanik
f7859e861f
Ignore BCM4345 and derivatives which are UART based in btsdio (#2068) 2020-06-27 12:13:15 +02:00
Piotr Szczepanik
72257bd064
Make USB3 support of ROCK Pi E on par with other rk3328 boards (#2050) 2020-06-23 16:37:54 +02:00
Igor Pečovnik
e1ecb09833
Initial ROCK Pi E support (as WIP) (#2042)
* 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>
2020-06-20 22:39:57 +02:00
Piotr Szczepanik
df0083d395
Enabled HDMI audio for OrangePi 4 (#2009) 2020-06-06 19:52:47 +02:00
MarkoBursic
4fc10487f4
tested, working (#2008)
Author: @martinayotte
2020-06-05 10:08:03 +02:00
Jayantajit Gogoi
7efb5014a2
Enable vcc_sd regulator on boot for NanoPi R2S (#1990)
NanoPi R2S has the same issue as ROC-RK3328-CC.
With working GPIO, during init the GPIO state s reset.
This causes the sdmmc regulator to shut down, preventing detection.
Removing and replacing the card will allow it to be detected, but that should not be necessary.
Fix this by setting the regulator on at boot.

Signed-off-by: Peter Geis <pgwipeout@gmail.com>
Link: 75aa567803
Signed-off-by: Jayantajit Gogoi <jayanta.gogoi525@gmail.com>
2020-05-26 22:20:31 +02:00
Piotr Szczepanik
40a3d4ecb9
Fixed rt5651 codec probing after its driver was changed to module (#1969) 2020-05-17 18:42:24 +02:00
Piotr Szczepanik
d479e98a56
Added dev target support for NanoPi R2S (#1953) 2020-05-08 23:09:11 +02:00
Tony
cec6d242df
Merge pull request #1842 from armbian/roc-rk3328-cc-enable-dmc
Enable DMC for roc-rk3328-cc (renegade) in current

No stability issues with this enabled, no reason not to merge, enables higher clockrates via manual setting for now.
2020-05-05 22:11:18 -04:00
Piotr Szczepanik
5e37270da5 Removed unused wlan and blootooth from OrangePi 4 modern targets 2020-04-17 08:37:41 +02:00
Piotr Szczepanik
af2b7127b1 Fixed OrangePi 4 bluetooth and mic in current - based on https://github.com/armbian/build/pull/1888 2020-04-17 08:37:12 +02:00
Igor Pecovnik
bd486c7562
Enable es8316 on RockPi4 for Rockchip64 current too https://github.com/armbian/build/pull/1885 2020-04-14 20:14:24 +02:00
Piotr Szczepanik
00bd87c1f4 Merge remote-tracking branch 'origin/master' into roc-rk3328-cc-enable-dmc 2020-04-07 09:12:58 +02:00