Commit Graph

2899 Commits

Author SHA1 Message Date
Tony
ee610096bc
RK3328 GPU DMC OPP tables (#3088)
* [ RK3328 ] boost GPU voltages to avoid starving Memory controller

The RK3328 has the dynamic memory controller and GPU on the same power rail.
Both are able to be dynamically clocked, both have opp tables.

 - DMC min voltage:  1.075V
 - GPU min voltage:  0.950V

On boards with only the GPU enabled, they memory controller can be under-voltaged.
On boards attempting to use both, the disagreeing opps result in the GPU failing to init

This patch applies a mV range opp to the GPU and fixed opps to the DMC on rk3328-roc-cc
to allow everything to get alongin all possible devfreq situations.

* [ rockchip64 ] clean up disabled patches

* [ rock64 ] add mali supply and remove unused 5V supply

- New Mali opps will keep from starving ram controller

- extra supply was causing dmesg errors.

As it shares enable with another supply and both were marked "always on"
I removed the second.  Neither are referenced by any ports/devices.
2021-08-09 08:24:51 +02:00
Igor Pecovnik
d1aaa70511 Upstream patches add and remove 2021-08-08 14:12:06 +02:00
Tony
01f67a51dc
Merge pull request #3065 from armbian/rk3328-usb3
Move Rk3328 usb3 to mainline
2021-08-06 19:48:04 -04:00
Igor Pecovnik
4bc2dd27b1 Bugfix - disable wireless driver for older kernels and add a few upstream patches for meson64 legacy
Kernel was only tested for building.
2021-08-06 18:27:23 +02:00
Igor Pecovnik
7f44207062 Add upstream patches and re-add Orangepi3 to u-boot 2021-08-05 01:15:36 +02:00
Igor Pečovnik
f317cd72b4
Upstream patches (#3071)
* Upstream patches

* Adjust configs

* Revert xu4 config
2021-07-29 17:24:52 +02:00
Ricardo Pardini
13329ebcd0
Odroid HC4: pick 5.13's patches for SPI-NOR dts and XT25F128B flash chip (#3069)
- add mtd-utils to PACKAGE_LIST_BOARD.
- this should be enough to wipe Petitboot;
- more investigative work and u-boot building is needed for SPI+SATA boot

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>
2021-07-28 21:54:35 -04:00
tonymac32
3205bb1d90 [ rockchip64 ] Rock64 and roc-cc usb3 2021-07-27 01:31:17 -04:00
tonymac32
d8dbefd618 [ rockchip64 ] rk3328 change to mainline USB3 2021-07-27 00:05:09 -04:00
Paolo Sabatino
74561e9800 rockchip64: remove patches committed by accident 2021-07-26 15:45:17 +00:00
Oleg
4a1e862ebd
fix 5.10.53 (#3059) 2021-07-26 14:55:32 +02:00
Werner
eaea7142be
Fix ebin SATA (#3057)
* Create 0001-pci-Add-Max-Payload-Size-quirk-for-ASMedia-ASM1062-SATA-controller.patch

* Removing email headers from patch

Co-authored-by: Igor Pečovnik <igorpecovnik@users.noreply.github.com>
2021-07-26 10:06:20 +02:00
Igor Pecovnik
885a99fe66 Adjust and add upstream patches
- reenable 8723ds on K5.13 and remove deprecated wifi patches
- adjust rockchip audio and vdec patches in 5.13.y as in 5.10.y
2021-07-26 07:54:09 +00:00
tonymac32
4c52601d52 [ rockchip64 ] remove superceded pacth
Kernel 5.10.51 --> 5.10.52 fixed this in mainline
2021-07-25 16:06:54 -04:00
tonymac32
67599e3dbb [ rockchip64 ] fix RK3328 build issues
5.10.52 --> 5.10.53 changed all power doamin names, and bugfixed the sdmmc regulator states
2021-07-25 16:02:44 -04:00
Haraade
d348851e70
Upstream Hardkernel 5.4.134 (#3049)
Upstream Hardkernel 5.4.134
2021-07-23 10:07:51 +02:00
Paolo Sabatino
5023beb1e5 rk322x: remove upstreamed patch 2021-07-22 15:21:24 +00:00
Igor Pecovnik
f83100f9af Orangepi Lite 2 - fixing HDMI and removing bits that are already mainlined
Thanks to Jernej:
https://forum.armbian.com/topic/12862-orange-pi-lite2-no-more-1920x1080-kernel-55x/?do=findComment&comment=127157
2021-07-22 09:06:01 +02:00
Igor Pečovnik
e7377248b3
Second part of EDGE bumping to 5.13.y (#3045)
* Bump Meson64 EDGE to 5.13
* Bump Rockchip64 EDGE to 5.13.y
* Bump Odroid Xu4 edge to 5.13.y
* Bump rockchip edge to 5.13.y
2021-07-22 00:15:54 +02:00
Igor Pecovnik
e7177f3b9b Adjust sunxi-current patches - remove broken, add upstream 2021-07-21 17:46:55 +00:00
Oleg
30e8fc7d83
fix station-current 5.10.52 (#3043) 2021-07-21 14:31:34 +02:00
Igor Pečovnik
e21e82b546
Upgrading sunxi, sunxi64, imx6, jetson-nano, mvebu and mvebu64 EDGE to 5.13 (#3042)
* Upgrading sunxi and sunxi64 EDGE to 5.13

Both variants tested for building

* Bump imx6 to 5.13.y

Tested

* Bump Jetson nano kernel to 5.13.y

* Move mvebu and mvebu64 edge to 5.13.y
2021-07-21 00:46:51 +02:00
Igor Pecovnik
06a8324977 Bugfix for rockchip64 current kernel compilation and upstream patches 2021-07-19 15:59:58 +00:00
Oleg
1c7b8ab10d
fix kernel 5.10.51 (#3034) 2021-07-19 13:41:46 +02:00
Paolo Sabatino
fe4f00ecdc rk322x: fix deferred voltage regulator, gpu opp table and dmc missing regulator for edge kernel 2021-07-18 15:31:49 +00:00
Paolo Sabatino
e4add7b8fd rk322x: update rk322x-edge kernel config, add DMC patches and overlays 2021-07-18 14:06:35 +00:00
Paolo Sabatino
baf9815f8b rk322x: add DMC driver and runtime clock adjust, change rk322x-config emmc options
* add DFI driver to provide hardware-based memory controller load
     * adapted DRAM Memory Controller driver from rk3328, add necessary headers
     * provide device tree overlays to enable DDR3 clock scaling
     * adapted rk322x-box to allow DDR speed bin selection to user
     * add ipb900 board gpio configuration
     * add rtl8723cs driver to linux-current kernel
     * use ddrbin v1.10 set to 330 Mhz at boot
     * provide overlays for ddr3 at 330, 528, 660 and 800 mhz
     * split emmc overlays to enable options by user choice
     * modified rk322x-config to support dmc, emmc overlays
     * remove optee trust os in favor of rockchip proprietary blob
       for dmc functionality
2021-07-17 15:21:48 +00:00
Paolo Sabatino
429136e062 rk322x: rework patch for kernel 5.12 2021-07-17 13:52:30 +00:00
Paolo Sabatino
a2942247ca rk322x: adjust patches for kernel 5.10 2021-07-17 13:52:30 +00:00
Igor Pecovnik
2e093e4309 Adjusting broken patches on RK332x
@paolosabatino review if somethint too much was removed
2021-07-16 15:59:00 +00:00
Oleg
ff310a7980
fix kernel station-current 5.10.50 (#3017) 2021-07-16 11:26:06 +02:00
Tony
2d8db84c90
Tinker Board 2 WIP (#3011)
* [ 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
2021-07-15 21:29:27 -04:00
Igor Pecovnik
aeeb837b4e Upstream patches 2021-07-15 22:50:36 +02:00
Igor Pecovnik
6a20227e1c Add upstream patches 2021-07-12 10:51:31 +02:00
Oleg
4c80535fd8
update kernel legacy 4.9.201 and current 5.10 (#2987) for jetson 2021-07-09 20:54:40 -04:00
Igor Pecovnik
ad53cc2d15 Add upstream patches and adjust configs 2021-07-07 20:16:06 +02:00
Oleg
6bd67e18e5
add media kernel for arm64 (#2971) 2021-07-07 16:15:34 +02:00
Oleg
5b0dc2d7c5
add support wifi rtl8822bs for kernel 4.4 and 5.x (#2980) 2021-07-07 16:04:27 +02:00
Igor Pecovnik
95f4afd3b2 Adjust upstream patches and configs 2021-07-02 13:00:09 +02:00
tonymac32
c3747cf0a9 [ rockchip64 ] remove disabled roc-pc patch 2021-07-01 01:12:54 -04:00
tonymac32
a53eadc325 Merge branch 'master' of github.com:armbian/build 2021-06-28 01:16:02 -04:00
tonymac32
a00fabe6c3 [ Rockchip64 ] correct patch names 2021-06-28 01:15:24 -04:00
Icenowy Zheng
e6c4287246
Pine A64 LTS v2 support (#2919)
* 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>
2021-06-28 07:04:53 +02:00
Igor Pecovnik
2d3976065f Adding meson64 shutdown patch to edge kernels
Like https://github.com/armbian/build/pull/2821
2021-06-27 22:17:05 +02:00
Igor Pecovnik
15b4278a99 Adjusting broken patch and update kernel config for meson64 family 2021-06-27 20:49:20 +02:00
Tony
239367ff17
Update board-rockpis-0017-WIP-Sync-rockchip_i2s_tdm-to-BSP-tree.patch (#2920)
The patch got rid of a check for a 0 frequency, causing the mclk log error.  eliminate the code.
2021-06-25 23:34:47 +02:00
Igor Pečovnik
219f2bcbd9
Remove deprecated patches (#2922)
* Remove deprecated patches. They broke Pine H64 booting

* Update kernel config
2021-06-25 23:32:14 +02:00
Igor Pecovnik
55a86663e0 Upstream patches and small kernel config adjustements 2021-06-23 20:23:36 +02:00
Igor Pecovnik
7325cc57d7 Upstream patches add / remove and config adjustements 2021-06-21 23:01:14 +02:00
Igor Pecovnik
428a208767 Bugfix - h616 patches break armhf. Did notice when adding to sunxi-edge. Move forward to 5.13.y - can be used for manual inclusion 2021-06-21 16:58:33 +02:00