Commit graph

38 commits

Author SHA1 Message Date
Igor Pečovnik
0cdffb29b0
Renaming DEV branch to EDGE (#2704)
* Change DEV to EDGE
* Renaming patches dev folder to edge
* Move patches into subdir where they will be archived.
* Relink patch directories properly
2021-03-24 19:01:53 +01:00
Gauthier Provost
5e69351b3d
Re-enable network checksum TX offload on rockchip64 family (#2623)
* 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>
2021-03-23 08:00:10 +01:00
Igor Pečovnik
fb3a676261
Adjust compiler fixes that it builds on more modern build host (#2699) 2021-03-11 23:59:23 +01:00
JMCC
34f1ce7aa0 NanoPC-T4 legacy: enable USB-C DisplayPort out 2021-02-18 20:09:37 +01:00
JMCC
bc6acc5b0a rockchip64/rk3399 legacy: Enable RGA for 64-bit Rockchips 2021-01-04 15:41:36 +01:00
JMCC
a02924b1b0 rk3399's legacy: Add RPi cameras and touchscreen overlays 2020-12-29 23:06:50 +01:00
JMCC
1645254dcc rk3399's legacy: add OC overlays 2020-12-29 23:06:00 +01:00
JMCC
b2751ab56f rk3399's-legacy: Kernel patch to fix panic when RKISP1 is enabled 2020-12-29 22:52:09 +01:00
Piotr Szczepanik
cd886792c0
Fix booting of roc-rk3399-pc/station-p1 with legacy 2020-12-15 23:07:54 +01: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
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
Igor Pecovnik
acb60c4dbf Disable broken patch for RK3399 legacy
FriendlyARM merges some changes from Rockchip BSP kernel which caused that this patch doesn't align anymore @aprayoga
2020-09-16 23:23:18 +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
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
Piotr Szczepanik
661371868d
Enable overlays for rk3399-legacy (#2144) 2020-08-28 19:26:08 +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
df0083d395
Enabled HDMI audio for OrangePi 4 (#2009) 2020-06-06 19:52:47 +02:00
Piotr Szczepanik
5fa43b0a5e
Fixed mali error on boot for rk3399-legacy (#1965) 2020-05-15 21:51:36 +02:00
Piotr Szczepanik
dc2b43562e Added more specific "compatible" string for OrangePi 4 2020-04-05 23:27:22 +02:00
Piotr Szczepanik
3e1e21e77a Adjusted OrangePi 4's DMC frequencies in legacy 2020-03-19 23:40:16 +01:00
Piotr Szczepanik
ba80dbc93e
OrangePi 4 device tree cleanup part 1 (#1809)
* Cleaned up OrangePi 4 device tree (with help from @chwe17)

* Reconfigured OrangePi 4's usb-c power input

* Powertree fixes for OrangePi 4

* Removed unnecessary xin32k clock in OrangePi 4's device tree

* Reverted fusb302 change for OrangePi 4

* Removed uart4 in OrangePi 4's device tree

* Synced OrangePi 4's DTS from current to dev

* Synced OrangePi 4's DTS from current to legacy

* Minor fixups for OrangePi 4 DTS in legacy
2020-03-19 20:41:04 +01:00
Piotr Szczepanik
6778383016 Fixed HDMI output (at the cost of USB-C DP) for OrangePi 4 in legacy 2020-03-15 17:45:46 +01:00
Igor Pecovnik
bd128e97a3
Add Rockchip legacy upstream patches 2020-02-09 16:13:09 +01:00
Igor Pecovnik
45ebe91437 Upstream patches for a few legacy kernels 2020-01-26 14:01:11 +01:00
Piotr Szczepanik
d9fb5bfe8f OrangePi 4 preliminary support (rk3399-legacy kernel) 2020-01-24 15:27:04 +01:00
Matthias Riechmann
e0b17387ea Fixed makefile of kernel headers 4.4.210 for rk3399 (#1753) 2020-01-21 14:57:45 +01:00
Igor Pecovnik
1e0e901ea0
Add upstream patches, need proper testing. 2020-01-16 13:26:38 +01:00
Igor Pecovnik
4ec8e99a46 Update RK3399 legacy to latest upstream kernel version 2020-01-04 21:03:11 +01:00
Piotr Szczepanik
3948459c2b NanoPi M4V2 ethernet fix for legacy kernel (#1693) 2019-12-26 10:56:38 +01:00
Piotr Szczepanik
da8cfe78c0
Disabled hs400 mode of roc-rk3399-pc's emmc (#1666) 2019-12-12 08:08:02 +01:00
Piotr Szczepanik
79d0040b89 Moved roc-rk3399-pc from default to legacy 2019-12-09 22:11:59 +00:00
Piotr Szczepanik
c4eecbcef0 Initial addition of NanoPi M4V2 2019-11-28 22:29:54 +00:00
Piotr Szczepanik
1c9ef0872b Multiple bootloader creation options for rk3399 (#1614)
* Updated rockchip64-dev to u-boot v2019.10 and BL31 v1.30 (rk3399 boards)

* Updated rk3399 to u-boot v2019.10 and BL31 v1.30

* Revert changes to renegade u-boot patches

* Moved renegade u-boot patches into board dir

* Added debug info for RockPro64 and switched sdmmc to fifo-mode

* Disabled regulators in SPL for RockPro64

* Re-enabled sd vcc regulator in SPL for RockPro64

* Some device tree and config changes for OrangePi RK3399

* Fixed Rock Pi 4A's $BOOTCONFIG

* Let some boards use mainline atf instead of the one in rkbin

For example, roc-rk3399-pc can just boot the kernel using the
mainline atf.

* Add roc-rk3399-pc

* Fixed reset in mainline ATF

* Attached ATF version to v2.2 tag

* WIP: sdmmc fifo-mode in SPL only

* Renamed source config files

* Reverted changes to rockchip64 sources config

* Reverted patch moves

* Add missing trust.ini patch to rk3399 u-boot

* Reinstated tpl/spl patches in rk3399 family

* Added $RKBIN_DIR prefix in rk3399 sources

* Add demonstration of boards bootloader assignment in rk3399
2019-11-24 22:07:46 +01:00
Igor Pečovnik
150ac0c2af
Remove K<4, change branches, new features (#1586)
AR-1 - Adding support category for distributions
AR-4 - Remove Allwinner legacy
AR-5 - Drop Udoo family and move Udoo board into newly created imx6 family
AR-9 - Rename sunxi-next to sunxi-legacy
AR-10 - Rename sunxi-dev to sunxi-current
AR-11 - Adding Radxa Rockpi S support
AR-13 - Rename rockchip64-default to rockchip64-legacy
AR-14 - Add rockchip64-current as mainline source
AR-15 - Drop Rockchip 4.19.y NEXT, current become 5.3.y
AR-16 - Rename RK3399 default to legacy
AR-17 - Rename Odroid XU4 next and default to legacy 4.14.y, add DEV 5.4.y
AR-18 - Add Odroid N2 current mainline
AR-19 - Move Odroid C1 to meson family
AR-20 - Rename mvebu64-default to mvebu64-legacy
AR-21 - Rename mvebu-default to mvebu-legacy
AR-22 - Rename mvebu-next to mvebu-current
AR-23 - Drop meson64 default and next, current becomes former DEV 5.3.y
AR-24 - Drop cubox family and move Cubox/Hummingboard boards under imx6
AR-26 - Adjust motd
AR-27 - Enabling distribution release status
AR-28 - Added new GCC compilers
AR-29 - Implementing Ubuntu Eoan
AR-30 - Add desktop packages per board or family
AR-31 - Remove (Ubuntu/Debian) distribution name from image filename
AR-32 - Move arch configs from configuration.sh to separate arm64 and armhf config files
AR-33 - Revision numbers for beta builds changed to day_in_the_year
AR-34 - Patches support linked patches
AR-35 - Break meson64 family into gxbb and gxl
AR-36 - Add Nanopineo2 Black
AR-38 - Upgrade option from old branches to new one via armbian-config
AR-41 - Show full timezone info
AR-43 - Merge Odroid N2 to meson64
AR-44 - Enable FORCE_BOOTSCRIPT_UPDATE for all builds
2019-11-19 23:25:39 +01:00