Commit Graph

2793 Commits

Author SHA1 Message Date
5kft
cd092d8fdc
[ sunxi-current ] add upstream patches 2020-11-05 06:59:58 -08: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
5kft
d2d161d789
[ sunxi-dev ] migrate to kernel 5.10.x 2020-11-03 07:35:10 -08:00
5kft
6788786057
[ sunxi-current ] migrate to kernel 5.9.x 2020-11-03 06:22:42 -08:00
5kft
cc6be06bf5
[ sunxi-dev ] remove deprecated patches 2020-11-03 06:08:34 -08:00
Pete Batard
1e2c9be415
[rockchip64] add overlay to switch rk3399 DWC3 port 0 to host mode (#2299)
* 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"
2020-11-03 13:09:38 +01:00
lanefu
6e7daefc92
Rename patch-5.9.2-3.patch to patch-5.9.2-3.patch.disabled
@5kft FYI megous seems to be 5.9.3 now and this patch was breaking builds
2020-11-03 03:43:10 +00:00
Igor Pecovnik
5b7c1131a5 Detach s5p6818 kernel from specific commit to our private fork
Main kernel git repository doesn't support this function, only Google or github does.
2020-11-01 19:54:39 +01:00
iav
97461b82f6
support meson-g12 watchdog (#2295) 2020-11-01 17:42:45 +00:00
5kft
a3e54dd7ac
[ sunxi-current ] add upstream patches 2020-11-01 07:18:08 -08:00
5kft
1620ba6c98
[ sunxi-legacy ] add upstream patches 2020-11-01 06:56:46 -08:00
5kft
56c23c9afc
[ sunxi-dev ] add upstream patches 2020-11-01 06:49:54 -08:00
5kft
d67b944eeb
[ sunxi-legacy ] add upstream patches 2020-10-31 06:58:42 -07:00
Piotr Szczepanik
ea0ea31632
Revert resolving supplies after creating regulator for rockchip64-dev
With the reverted commit rk3399 boards do not boot as rk808 fails to be probed.
aea6cb9970
2020-10-30 23:35:54 +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
a2dd26ab84
Enable Helios64 support in dev branch 2020-10-29 21:14:02 +01:00
5kft
cf19bdc978
[ sunxi-current ] add upstream patches 2020-10-29 08:10:47 -07:00
5kft
f15bf42e2b
[ sunxi-dev ] add upstream patches 2020-10-29 07:27:36 -07:00
JMCC
f55ea13838 roockchip-legacy: add DRM fix patch 2020-10-28 17:30:09 +01:00
Heisath
3985d91807 Change pinctrl patch to include the leds 2020-10-27 15:25:09 +01:00
Igor Pecovnik
740c5f5d39 Odroid N2 legacy - fix broken patch and add upstream patches 2020-10-26 11:10:03 +01:00
iav
b6aa16fc95
ODroid-N2 enable RTC clock on dev branch (#2278)
same as on "current"
2020-10-25 09:39:56 +01:00
iav
28ad4ae391
ODroid-N2 enable RTC clock (#2275) 2020-10-24 20:00:44 +02:00
Piotr Szczepanik
1c29779e57
Fix analog (3.5 jack) audio on ROCK Pi 4C in dev too (AR-483) 2020-10-19 21:25:44 +02:00
Piotr Szczepanik
4ef5b6574f
Fix analog (3.5 jack) audio on ROCK Pi 4C (AR-483) 2020-10-19 21:18:10 +02:00
Igor Pecovnik
d7288a37ee sunxi - remove deprecated patches 2020-10-19 21:08:53 +02:00
Piotr Szczepanik
c77be03e62
Fix cs-gpios patch in rockchip64-dev (based on https://github.com/armbian/build/pull/2194) 2020-10-19 18:11:28 +02:00
Igor Pecovnik
0e9e643036 Move meson64-dev to 5.9.y 2020-10-19 09:36:20 +02:00
tonymac32
4cdf3c3d0e [ rockchip ] add overlay compilation support 2020-10-18 14:43:30 -04:00
Piotr Szczepanik
01882653ef
Switched rockchip64-dev to linux 5.9.y 2020-10-18 17:45:38 +02:00
Jannis
62ca1bc26e
Merge pull request #2231 from armbian/mvebu-lk58
[mvebu-current] Switch to Kernel 5.8 [AR-363]
2020-10-18 12:31:19 +02:00
Aditya Prayoga
5e62c071f0 mvebu: helios4: fix pwm fan not working
Since LK 5.8, MPP55 which is used by pwm-fan on connector j17 is
assigned by default to SPI1 CS1.
2020-10-18 14:59:45 +07: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
paolo
948162b76d Bumped rk322x-dev to kernel 5.9.y 2020-10-17 16:19:21 +00:00
Igor Pecovnik
f52dca6351 Add Audio support for N2 & C4
Ported from 5.9.y - untested
2020-10-17 13:15:09 +02:00
Igor Pecovnik
8f06417da6 Add upstream patches for Odroid XU4 and ALlwinner's 2020-10-17 13:01:55 +02:00
5kft
f480823297
[ sunxi-legacy ] add upstream patches 2020-10-16 08:21:49 -07:00
5kft
b81a90c76b
[ sunxi-current ] added revert of RTL8211E driver rx/tx delay config change
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.
2020-10-15 19:07:50 -07:00
5kft
688767a513
[ sunxi-current ] add upstream patches 2020-10-15 19:05:47 -07:00
5kft
950267eadb
[ sunxi-dev ] added revert of RTL8211E driver rx/tx delay config change
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.
2020-10-15 18:56:11 -07:00
Igor Pecovnik
4ae13d2d61 Add upstream patches for meson64 legacy 2020-10-13 20:36:27 +02:00
5kft
c7e08fe52c
[ sunxi-current ] remove deprecated patches 2020-10-12 07:43:18 -07:00
Tony
00d0bf92fd
Merge pull request #2244 from armbian/AR-206
AR 206: Improve memory performance roc-rk3328-cc
2020-10-11 14:12:53 -04:00
Tony
b3a768e2af
Fix typo on supply voltage
extra "0"s can be catastrophic.
2020-10-08 01:59:31 -04:00
Werner
e9f172a572
Create patch-5.8.13-14.patch 2020-10-08 07:58:51 +02:00
Tony
8fc20a15b1
Add files via upload 2020-10-08 01:56:28 -04:00
5kft
ee26f275c9
[ sunxi-legacy ] add upstream patches 2020-10-07 09:56:34 -07:00
Piotr Szczepanik
f2db962525
Switched RockPro64 to mainline u-boot (#2218)
* 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
2020-10-05 23:17:55 +02: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
Jannis
0f3f25a6af Fix and cleanup patches for mvebu 2020-10-04 15:38:06 +02:00
Igor Pecovnik
159f913038 Bugfix - remove deprecated part of wifi 5.8.y patches 2020-10-04 09:29:18 +02:00
Igor Pecovnik
7cdbd0cd3b Add Odroid XU4 upstream patches 2020-10-03 00:57:48 +02:00
5kft
35c85295d3
[ sunxi-current ] upstream patch updates; updated default configs 2020-10-01 16:58:23 -07:00
5kft
eeba7e3d73
[ sunxi-legacy ] add upstream patches, update default configs 2020-10-01 16:50:20 -07:00
5kft
da2f3c323d
[ sunxi-legacy ] add missing kernel 5.4.66-67 incremental patch 2020-10-01 16:32:01 -07:00
Jannis
2a31b73680 [mvebu] reworked sfp info patch to fit lk5.8 2020-09-30 19:06:24 +02:00
Jannis
9095f73e56 Add wifi fixes to mvebu-dev 2020-09-30 18:02:32 +02:00
Igor Pecovnik
9f3c7965e2 Fix wireless problems 2020-09-30 15:43:31 +02:00
count-doku
f12c2c81cd [mvebu-current] switch to lk5.8 2020-09-29 17:18:28 +02:00
5kft
02a4cf1618
[ sunxi-dev ] remove deprecated patch
(change introduced with upstream v5.9-rc7)
2020-09-29 07:06:10 -07:00
Werner
246eb8e88f
Merge pull request #2227 from armbian/sunxi-current
sunxi-current: add upstream patch
2020-09-28 18:01:12 +02:00
Werner
0e3bd924f5
sunxi-legacy: add upstream patch 2020-09-28 17:45:20 +02:00
Werner
8ae1f719c6
sunxi-current: add upstream patch 2020-09-28 17:43:43 +02:00
5kft
9637d3d0f9
[ sunxi-dev ] remove deprecated patch 2020-09-24 10:58:29 -07:00
Igor Pecovnik
a4e748962b Update wifi patches for mvebu64 2020-09-23 20:55:28 +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
paolo
d99fb469d5 Removed wrongly commented in rk322x-patch 2020-09-22 17:36:00 +00: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
1d24dff26c Remove deprecated patch 2020-09-21 18:28:22 +02:00
5kft
1f7db32056
Merge branch 'master' of https://github.com/armbian/build 2020-09-19 08:53:24 -07:00
5kft
e4c9a82624
[ sunxi-dev ] more patch cleanup and upstream-related updates 2020-09-19 08:50:53 -07:00
paolo
bd17d4dbd0 Many changes for rk322x target:
- 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
2020-09-19 15:20:16 +00:00
5kft
83c4413801
[ sunxi-dev ] more patch cleanup 2020-09-18 06:35:09 -07:00
5kft
daf372bb77
[ sunxi-legacy ] add upstream kernel patches 2020-09-18 06:31:36 -07:00
Igor Pecovnik
f13d438723 Remove not needed patch added by mistake 2020-09-18 14:52:20 +02:00
Igor Pecovnik
9558436d01 Update wireless patches which broke after bumping to 5.8.10 2020-09-18 14:11:40 +02:00
Igor Pecovnik
5ad413f135 Adjust failing patch for mvebu legacy 2020-09-18 10:26:02 +02:00
Piotr Szczepanik
7f58a03981
Removed uneeded wifi patches for rtl8723ds from rockchip64-dev 2020-09-18 07:41:37 +02: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
5kft
6cf42e87e6
[ sunxi-dev ] adapt Wi-Fi driver patches for upstream changes 2020-09-17 20:37:29 -07:00
5kft
3d812923ea
[ sunxi-current ] bring kernel up to 5.8.10; adapt Wi-Fi patches for upstream changes 2020-09-17 20:32:34 -07:00
Igor Pecovnik
abf6961c30 Cosmetical changes for htop 2020-09-17 22:14:11 +02:00
Igor Pecovnik
9d91b78dec Add / remove odroid xu4 patches 2020-09-17 01:08:23 +02:00
Igor Pecovnik
a6ccbc3c77 Remove deprecated patches 2020-09-17 01:02:59 +02: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
Igor Pecovnik
08c2305248 Add upstream patches for Odroid N2 legacy and Odroid XU4 current 2020-09-14 16:20:45 +02:00
5kft
5899ea9ac4
[ sunxi-legacy ] add upstream patches 2020-09-12 08:10:56 -07:00
5kft
db5edf58d5
[ sunxi-dev ] patch cleanup 2020-09-12 07:56:14 -07:00
paolo
34ce2c07bb Updated rockchip-dev and rockchip-current linux kernel configs to 5.8.y
Removed vdso patch, fixed MiQi work led in dts for rockchip-dev
2020-09-12 09:01:16 +00:00
5kft
67ab9baa25
[ sunxi-dev ] more kernel patch cleanup and consolidation 2020-09-11 07:57:16 -07: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
5kft
9a096fc557
[ sunxi-dev ] updated CPU opp table references in overclock overlays 2020-09-09 06:50:04 -07:00
Igor Pecovnik
bc18ba3476 Merge branch 'master' of https://github.com/armbian/build 2020-09-08 21:47:48 +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 Pecovnik
480bd4d727 Add upstream patches for XU4 current 2020-09-08 21:08:53 +02:00
5kft
61e4b39303
[ sunxi ] add MP2143DJ regulator and status LEDs entries to the NanoPi NEO DT 2020-09-08 11:35:09 -07:00
Igor Pecovnik
979b8a822f Remove deprecated patch 2020-09-08 19:49:58 +02:00
Igor Pečovnik
1a49ad7c3d
Adjust patch to meet upstream code changes (#2194) 2020-09-08 00:07:06 +02:00
Igor Pecovnik
59b53e6d1c Remove deprecated patch 2020-09-07 07:41:43 +02:00
Igor Pečovnik
02f45fe18a
Add missing wifi patches (#2188) 2020-09-06 16:34:48 +02:00
Igor Pečovnik
0c617a3c3b
Move Espressobin to 5.8.y (#2187)
- remove fixed MAC from boot script
- remove legacy kernels images from making
2020-09-05 17:16:01 +02:00
5kft
a16e87045b
[ sunxi ] add upstream patches, update configs 2020-09-05 07:51:50 -07:00
Igor Pečovnik
f86c6b3138
Moving Rockchip 32bit to 5.8.y (#2183)
* Moving Rockchip 32bit to 5.8.y

xt-q8l-v10 seems to be broken. I did a quick scan but couldn't resolve it. @paolosabatino

* Add wifi patches for 5.8.y

* [rockchip] Fixed xt-q8l-v10 DTS, reworked ath9k driver patch for 5.8.y (#2184)

* Fixed xt-q8l-v10 device tree to work on kernel 5.8.y on rockchip-current and -dev
* Reworked ath9k driver patch to compile on kernel 5.8.y for rockchip-current and -dev

* Add also wifi patches to DEV kernel

Co-authored-by: Paolo <paolo.sabatino@gmail.com>
2020-09-03 21:37:23 +02:00
Werner
93ddee0e9e
Merge pull request #2182 from armbian/sunxi-current-upstream
sunxi-current: add upstream patch
2020-09-03 20:21:05 +02:00
Werner
a1eedb70f8
Delete xxx-fix_broken_usbip.patch
fixed upstream
2020-09-03 17:37:14 +02:00
Werner
a7504c2d3f
sunxi-current: add upstream patch 2020-09-03 17:20:43 +02:00
Werner
d94ac34079
sunxi-legacy: add upstream patch 2020-09-03 17:14:20 +02:00
Piotr Szczepanik
f28912f041
Removed unneeded 5.8 wifi patches for rtl8189fs
Fixed with 0ba46e2434
2020-09-03 15:59:01 +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
3dffdede89
Removed uneeded wifi patches for rtl8189fs from rockchip64-dev 2020-09-02 22:40:11 +02:00
Piotr Szczepanik
e6e8294b63
Fixed sd card detection for Helios64 (#2179) 2020-09-02 21:55:01 +02:00
5kft
730e649bf6
[ sunxi-dev ] reinstate the v5.9-rc1 brcmfmac changes; add fix for the performance regression
introduced with the Cypress "0048-brcmfmac-reserve-2-credits-for-host-tx-control-path" patch

(Reference: https://www.spinics.net/lists/linux-wireless/msg201592.html)
2020-09-01 18:35:26 -07:00
Igor Pecovnik
e6fa811d6f Moving Meson64 to 5.8.y
Tested once again on N2/N2+
Note: disabled mesond_vdec module in kernel config since it crashes complete video system when loaded. Need to be added back once stable - or perhaps we need to adjust some parameters?
2020-09-01 19:50:09 +02:00
m][sko
a486772fc8
meson64 linux 5.8 (#2176) 2020-09-01 12:59:15 +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
Werner
6dda9c0220
Fix broken usbip
Fixes https://forum.armbian.com/topic/15069-usbip-not-working-with-zeropi-buster-image-device-disconnect-as-soon-as-i-try-to-bind/?tab=comments#comment-107847
Needs to be removed most likely with next upstream version.
2020-09-01 09:58:26 +02:00
Piotr Szczepanik
6d47709de2
Disable hs400 modes of Helios64's emmc (#2174) 2020-08-31 23:16:32 +02:00
Igor Pečovnik
b7ef3ca1e0
Odroid XU4 (#2173)
- legacy received upstream patches
- current had broken headers installation + few missing patches
- dev was bumped to 5.8.y
2020-08-31 21:54:19 +02:00
Igor Pečovnik
b1ac157a3a
Move Odroid C1 current to 5.8.y (#2168)
* Move Odroid C1 current to 5.8.y
* Add missing patches
2020-08-31 17:10:23 +02:00
5kft
425ee94073
[ sunxi ] remove Mali GPU PMU module for the H5
reference:  https://lore.kernel.org/patchwork/patch/1293422/
2020-08-30 09:59:07 -07:00
5kft
5b1c3c387c
[ sunxi ] switch sunxi-current to kernel v5.8 and sunxi-dev to kernel v5.9 2020-08-30 07:30:46 -07:00
5kft
1d9f250f14
[ sunxi-dev ] more patch cleanup, fixes, consolidation, and updates for kernel v5.9 2020-08-30 06:27:27 -07:00
5kft
52ebb343e2
[ sunxi-dev ] added patch to revert the brcmfmac driver changes back to v5.8.y 2020-08-30 06:27:15 -07:00
5kft
fcea01142c
[ sunxi-dev ] initial changes for kernel v5.9 2020-08-30 06:26:47 -07:00
Igor Pečovnik
7cb338c6c6
Move imx6 to 5.8.y (#2167) 2020-08-30 13:44:12 +02:00
5kft
261f21de73
[ sunxi-dev ] update Kconfig for RTL8723CS driver 2020-08-29 13:35:29 -07:00
5kft
17394d1cf5
[ sunxi-dev ] more patch cleanup 2020-08-29 09:46:01 -07:00
5kft
d9353b8883
[ sunxi-dev ] more patch cleanup and fixes 2020-08-29 09:29:13 -07:00
5kft
8b8300a512
[ sunxi-dev ] patch cleanup/fixes for H6 and 5.8 2020-08-29 07:45:15 -07: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
Uli Middelberg
c256679b5c
ODROIDN2 disable eth0 reset line in dts (#2166) 2020-08-28 23:29:24 +02:00
Piotr Szczepanik
2602676563
Enable overlays for rockchip64-legacy (#2142) 2020-08-28 19:26:47 +02:00
Piotr Szczepanik
661371868d
Enable overlays for rk3399-legacy (#2144) 2020-08-28 19:26:08 +02:00
Paolo
804a6b60d4
Moved rk322x-dev to rk322x-current (current now is 5.7.y) (#2153)
Adapted rk322x-dev to kernel 5.8.y
Added ssv6x5x driver to legacy kernel, rk322x-config now allows the user to select which driver load at boot
Added esp8089 kernel module, device tree overlay and detection in rk322x-config script
Fixed some indentation
Added reset button binding
Added sdcard debounce
Fixes indentation, added device tree overlay for high-leakage cpus
Added support for bluetooth device tree overlay and realtek systemd service for rk322x targets
2020-08-28 18:48:55 +02:00
5kft
49d334dcbc
[ sunxi-current ] add upstream patches 2020-08-27 06:24:25 -07:00
5kft
e22abfbf8b
[ sunxi ] add upstream patches; update configs 2020-08-26 07:18:39 -07:00
Piotr Szczepanik
d1eb000385
Switch RockPro64 work led to heartbeat trigger (in legacy too) 2020-08-24 23:11:20 +02:00
Piotr Szczepanik
42e76b9277
Switch RockPro64 work led to heartbeat trigger 2020-08-24 22:47:03 +02:00
5kft
957e45396a
[ sunxi ] add MP2143DJ CPU regulator entry for the NanoPi NEO Air
(This addresses issue AR-405)
2020-08-21 18:26:52 -07:00
5kft
2c79e0f1da
[ sunxi ] add upstream patches 2020-08-21 07:26:30 -07: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
a5018382c4
Adjusted hci quirk patch for 5.8.2+ in rockchip64-dev 2020-08-19 22:15:52 +02:00
5kft
f1ca6b4533
[ sunxi-legacy ] add upstream patches 2020-08-19 08:58:58 -07:00
5kft
48296592a2
[ sunxi-current ] add upstream patches 2020-08-19 08:50:34 -07:00
Miouyouyou (Myy)
71920e0e56
rockchip-current: Add GPU 500MHZ OPP
Those were removed from mainline kernels by Chromebook devs,
wanting to protect their broken babies at all cost.

This patch was dully tested here :
https://forum.armbian.com/topic/13515-panfrost-on-rk3288-and-gpu-on-600mhz-problems/

But you're welcome to test it again !

I did it, with a whole glmark2 round and it worked flawlessly.

To test the GPU at that frequency, locate the **devfreq** folder of your GPU unit on your system (For tinkerboards, it's in **/sys/devices/platform/ffa30000.gpu/devfreq/ffa30000.gpu**) and then :

* Check the available frequencies by doing `sudo cat available_frequencies` .
That should output something like this : `100000000 200000000 300000000 400000000 500000000 600000000`
Be sure that `500000000` is in the list.

* Setup the minimum GPU frequency to 500Mhz like this : `sudo echo 500000000 > min_freq`

You can also set up the GPU to not go over 500Mhz like this : `sudo echo 500000000 > max_freq`

Signed-off-by: Miouyouyou (Myy) <myy@miouyouyou.fr>
2020-08-15 22:43:27 +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
catalinii
353b5f2e74
media: rkvdec: Add H.264 High 10 and 4:2:2 profile support (#2145)
Co-authored-by: Catalin Toda <catalinii@yahoo.com>
2020-08-15 10:58:36 +02:00
Piotr Szczepanik
82d8ff8780 Adjusted default coherent_pool to 2MiB for rockchip64-dev in 5.8.y 2020-08-14 16:26:36 +02:00
Piotr Szczepanik
cab029b2a0 Cleaned up patches after updating rockchip64-dev to 5.8.y
Signed-off-by: Piotr Szczepanik <piter75@gmail.com>
2020-08-14 13:30:32 +02:00
Igor Pecovnik
cdedb17f56 Odroid XU4 current. Remove deprecated patches and attach to last working commit.
HEAD is broken ATM
2020-08-13 21:28:34 +02:00
Martin Ayotte
26331da7da switch rockchip64-dev to 5.8.y 2020-08-13 11:46:50 -04:00
Martin Ayotte
f0b983d626 replace RK_FUNC with 1 since they are obsolete in 5.8.y 2020-08-13 11:34:34 -04:00
Martin Ayotte
3738025ca2 replace RK_FUNC with 1 since they are obsolete in 5.8.y 2020-08-13 11:32:38 -04:00
5kft
350691f2fe
[ sunxi ] add upstream patches 2020-08-11 14:32:08 -07: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
Martin Ayotte
4cabd5bbb4 disable DEBUG for rtl8189fs and rtl8723ds 2020-08-09 12:23:13 -04:00
Igor Pečovnik
6c26c35344
Add initial support for Odroid N2+ (#2130)
* 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>
2020-08-08 17:20:00 +02:00
5kft
a366863b78
[ sunxi-dev ] add VDD CPU regulator for the NanoPi R1 2020-08-08 08:08:20 -07:00
5kft
0f49a85d41
[ sunxi-dev ] minor cleanup 2020-08-08 08:04:27 -07:00
5kft
bffdf38f79
[ sunxi-legacy ] add upstream patches 2020-08-07 17:45:33 -07:00
5kft
c706fd0591
[ sunxi-current ] add upstream patches 2020-08-07 17:02:26 -07:00
5kft
98ecd23624 Merge branch 'master' of https://github.com/armbian/build 2020-08-07 11:07:07 -07:00
5kft
6b4848d4ca
[ sunxi-dev ] add H3 and H5 overclock and regulator overlays 2020-08-07 11:05:54 -07:00
Martin Ayotte
1e524710a2 fix indentation in 8723cs patch 2020-08-07 12:07:51 -04:00
Martin Ayotte
3024e76754 fix broken 8723cs patch 2020-08-07 12:05:10 -04:00
Martin Ayotte
c845c2e79c Merge branch 'master' of https://github.com/armbian/build 2020-08-07 10:44:45 -04:00
Martin Ayotte
2b7852c499 fix cfg80211 of 8723cs 2020-08-07 10:44:17 -04:00
5kft
2d6c19a685
Merge branch 'master' of https://github.com/armbian/build 2020-08-07 07:31:49 -07:00
5kft
16361a2444
[ sunxi-legacy ] add H3 overclock overlays 2020-08-07 07:30:03 -07:00
Martin Ayotte
e42d4c50ba switch sunxi-dev to 5.8.y 2020-08-07 10:29:15 -04:00
5kft
54e58e34d3
[ sunxi-legacy ] add upstream patches 2020-08-06 21:04:00 -07:00
5kft
91156f1192
[ sunxi-current ] added 1.368GHz/1.3v overlay for H3; renamed patches 2020-08-06 17:14:25 -07:00
5kft
e5cca8692f
[ sunxi-current ] add new 1.2GHz/1.3v overclock overlay for H3 2020-08-06 11:11:42 -07:00
5kft
b0331a80c9
[ sunxi-current ] add upstream patches 2020-08-06 08:44:44 -07:00
5kft
b2adb2935b
[ sunxi-current ] add back H5 regulator and overclock overlays; add new H3 overclock overlay for 1.3v/1.3GHz 2020-08-06 08:21:07 -07:00
lanefu
c0178373c3
patch xu4 dynamic memory controller bug in dev kernel(#2135) 2020-08-05 19:17:48 -04:00
Igor Pecovnik
b4e23b5b6a Update Odroid XU4 DEV config and add more patches from Hardkernel repo
Boot test succesful.
2020-08-05 18:34:01 +02:00
5kft
fbaf7562c0
[ sunxi-current ] add VDD CPU regulator for the NanoPi R1 2020-08-04 18:26:01 -07:00
Igor Pecovnik
3bde720881 Remove deprecated upstream patches 2020-08-04 15:42:19 +02:00
Igor Pecovnik
a4ea464951 Odroid XU4 legacy kernel upstream patches
Tested
2020-08-02 10:40:14 +02:00
Igor Pecovnik
11d57a7dc1 Merge branch 'master' of https://github.com/armbian/build 2020-08-01 11:07:39 +02:00
Igor Pecovnik
9e137435d6 Add upstream patches for Odroid XU4 2020-08-01 10:25:26 +02:00
Werner
e1fcc7bd04
sunxi-legacy: add upstream patch (#2123) 2020-08-01 08:20:40 +02:00
Werner
a4e94d4281
sunxi-current: add upstream patch (#2122) 2020-08-01 08:20:22 +02:00
Werner
d18a422814
sunxi legacy/current: add upstream patch (#2119)
* sunxi-current: add upstream patch

* sunxi-legacy: add upstream patch
2020-07-30 09:44:10 +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
Werner
473d06f632
sunxi-legacy: add upstream patch (#2110)
* Create patch-5.4.51-52.patch
* Create patch-5.4.52-53.patch
2020-07-27 19:37:41 +02:00
Werner
6b5f9b0712
sunxi-current: add upstream patch (#2109)
* Create patch-5.7.8-9.patch

* Create patch-5.7.9-10.modified.patch

This hunk failed:
```
@@ -1097,6 +1098,8 @@ static const struct usb_device_id option_ids[] = {
 	  .driver_info = RSVD(4) },
 	{ USB_DEVICE(QUECTEL_VENDOR_ID, QUECTEL_PRODUCT_EC25),
 	  .driver_info = RSVD(4) | RSVD(5) | RSVD(6) | RSVD(7) },
+	{ USB_DEVICE(QUECTEL_VENDOR_ID, QUECTEL_PRODUCT_EG95),
+	  .driver_info = RSVD(4) },
 	{ USB_DEVICE(QUECTEL_VENDOR_ID, QUECTEL_PRODUCT_BG96),
 	  .driver_info = RSVD(4) },
 	{ USB_DEVICE_AND_INTERFACE_INFO(QUECTEL_VENDOR_ID, QUECTEL_PRODUCT_EP06, 0xff, 0xff, 0xff),
```

The line right before the first + differed from the expected state. Did not investigate why.

Compiling was successful. No boot test yet.
2020-07-26 20:34:13 +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
Igor Pecovnik
429668c9ba Espressobin. Yet another cleanup - remove deprecated patches
Tested booting. @lanefu
2020-07-20 14:34:12 +02:00
tonymac32
26c685e973 [ meson64 ] rename P212 sound card, fix permissions 2020-07-20 01:27:09 -04:00
tonymac32
0d12c035fd [ meson64 ] enable Analog Codec Libretech-cc 2020-07-20 01:02:44 -04:00
Igor Pecovnik
56be68b38c Bugfix after adding patches from Olimes
It seems that Charger LED support for AXP20X-like PMICs (AXP813, ...) from Megous is less complete then from Olimex. Reverting the one in the tree and ading the one from Olimex
2020-07-19 20:53:03 +02:00
Martin Ayotte
5e7996a98f fix OPP for OPiOne+/OPiLite2 2020-07-19 12:37:04 -04:00
Martin Ayotte
4fc009d9b0 fix OPP for OPiOne+/OPiLite2 2020-07-19 12:32:03 -04:00
Igor Pečovnik
4a57ba0189
Trying to fix HDMI problem on A20 (#2102)
Also add various Olimex hw related patches
2020-07-19 11:23:57 +02:00
tonymac32
9372fcdedf [ meson64 ] fix previous commit with actual patch 2020-07-19 01:50:04 -04:00
tonymac32
265c673aa3 Merge branch 'master' of https://github.com/armbian/build 2020-07-19 01:43:16 -04:00
tonymac32
74bfb6102b [ meson64 ] revert mainline ASoC playback/capture patch
This fixes sound on C2, and should allow fixing of any other boards that are not yet addressed.
2020-07-19 01:42:16 -04:00
lanefu
9daa5894b6
mvebu64 / espressobin to kernel 5.6.y (#2101)
* CESA support kernel 5.6 and 5.7

* dedicated bootenv for mvebu64

* clean up old patches

* kernel 5.6
2020-07-18 22:06:13 -04:00
Igor Pečovnik
caa47bad65
Move sunxi/64 current to 5.7, legacy to 5.4 (#2098)
* Move sunxi/64 current to 5.7, legacy to 5.4
* Update sunxidev config
2020-07-18 23:08:52 +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
tonymac32
cf05d2dada [ Meson64 ] more cleaning 5.7
5.7.9 fixed the mmc block hack, patch removed.  Audio stuff organized a bit more, redundant things removed
2020-07-18 16:34:48 -04:00
Igor Pecovnik
841b652b2b Merge branch 'master' of https://github.com/armbian/build 2020-07-17 23:47:35 +02:00
Jannis
d41c23e51b [ mvebu-dev ] Push to 5.7 for first testing 2020-07-17 22:37:58 +02:00
Igor Pecovnik
8eaf2e68ff mvebu64 / dev - update kernel configuration 2020-07-17 19:58:02 +02:00
Igor Pečovnik
09b6ff3a7b
Add HDMI sound support for Allwinner A10, A20, A31 (#2096)
* Add HDMI sound support for Allwinner A10, A20, A31

Closes https://github.com/armbian/build/issues/2084

* Enable HDMI audio in kernel config and update config with misc modules
2020-07-17 18:30:21 +02:00
Xander van Wiggen
0b6955cad8 Add ethernet alias to BPI-M2 zero and zeropi (random MAC fix) 2020-07-10 01:39:29 +02:00
5kft
aae4dacbcd
[ sunxi-current ] add upstream patches 2020-07-09 06:59:49 -07:00
Igor Pecovnik
d16af794fe Remove deprecated / doubled patches from Meson64 DEV
Current has it all and already cleaned out.
2020-07-08 09:15:53 +02:00
tonymac32
4600fac23b [ meson64 ] more patches cleaned 2020-07-06 02:15:16 -04:00
tonymac32
7b61b53cd0 [ meson64 ] further cleaning
For some reason these patches are getting applied despite already being in the 5.7 kernel with no complaints from the scripts.
There are more, but it's slow going file by file.
2020-07-06 01:33:55 -04:00
tonymac32
ae4f41b837 [ meson64 ] 3rd round cleanup, 1st round sound patches
No sound yet, but dts's straightened out.
2020-07-05 11:52:00 -04:00
tonymac32
fe5c722fd5 [ meson64 ] patch organization round 2 2020-07-04 14:20:39 -04:00
tonymac32
6b135de727 [ meson64 ] patch cleanup step 1 before fixes 2020-07-04 13:35:11 -04:00
Igor Pecovnik
990585fe56 Add upstream patches, adjust kernel configs - add SPLASH_LOGO where needed 2020-07-01 15:23:52 +02:00
Martin Ayotte
f863010e75 Merge branch 'master' of https://github.com/armbian/build 2020-06-30 13:34:43 -04:00
Martin Ayotte
67f0d48ba3 add patch for missing ext_osc32k on H6 to fix OPiLite2 WiFi 2020-06-30 13:32:36 -04:00
Igor Pečovnik
f6abcc7c85
Add most recent drivers for Realtek RTL8152/RTL8153 that supports 2.5G adapters (#2071) 2020-06-29 19:16:10 +02:00
Igor Pecovnik
9020803f1d Update kernel configs due to logo support, adjust patches
Now always create logo, but enable only on request, where defined (Pinebook, Teres, ...)
2020-06-28 17:13:32 +02:00
Igor Pecovnik
9285ab0453 Update patch on sunxi DEV target as well 2020-06-27 22:07:18 +02:00
Igor Pecovnik
dd859a0e0f Fix broken / innactive patch for Bananapi M2 zero 2020-06-27 19:45:47 +02:00
Igor Pečovnik
50d8cbaff8
Bump sunxi to 5.7.y (#2056)
* Bump sunxi to 5.7.y
* Further cleanup 32bit works, 64bit needs more patches adjustement
* Also arm64 boots, SPI flash areas were refactored, new location is a bit fuzzy, leaving behind
* More fixed and cleanings, both variants builds now, but without overlay support
* fix sunxi overlays in AR-329 branch

Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
Co-authored-by: Martin Ayotte <martinayotte@yahoo.ca>
2020-06-27 19:16:11 +02:00
Igor Pečovnik
7d758026b5
Enable kernel boot splash, env and bootscript files cleanup, upstream patches (#2065)
* Initial commit for kernel boot splash
* Add startup files to disable bootlog when system is up / down
* Update logo, remove deprecated one
* Introduce new u-boot variable bootlogo
* Adjust kernel config
* Make logo possible on Odroid XU4
- add legacy and current upstream patches
- delete xu4 environment since its not used
* Cleanup C2,C4, both tested, logo works on mainline,
- adding legacy upstream patches for c4
* Enable bootlogo by default on Odroid N2
* Enable logo on RK3399 desktop images
* Cleanup the rest of the environment files
* Add initrd hook that copy splash file to initrd.
* Missing logo bits for one boot scripts
* Enable boot logo on Pinebook A64
* Enable bootlogo on Teres
* Update config
2020-06-27 19:14:38 +02:00
Piotr Szczepanik
f7859e861f
Ignore BCM4345 and derivatives which are UART based in btsdio (#2068) 2020-06-27 12:13:15 +02:00
Igor Pečovnik
99afbdfe7e
Bump meson64 current to 5.7.y (#2069)
* Bump meson64 current to 5.7.y
* Add config

Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2020-06-26 15:53:20 +02:00
Igor Pečovnik
a938699140
Adjust Rockchip64 dev and add PBPro stuff (#2055)
* Adjust Rockchip64 dev and add PBPro stuff

* Remove deprecated patches

Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>

* Merge config with current
2020-06-25 20:23:56 +02:00
5kft
8bcdfc7c2b
[ sunxi-current ] add upstream patches 2020-06-24 14:07:47 -07: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
5kft
6f8a5ab260
[ sunxi-current ] add upstream patches 2020-06-22 17:42:21 -07: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
Igor Pečovnik
c885b5575e
Add upstream patches (#2040)
Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2020-06-19 18:37:05 +02:00
Igor Pecovnik
e7702e0ed4
Merge branch 'master' of https://github.com/armbian/build 2020-06-19 17:29:41 +02:00
Paolo
23604e8a0d
Introducing Rockchip RK322X SoC support (#2032)
* 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
2020-06-19 17:27:27 +02:00
Igor Pecovnik
f47e7836d1
Attach Odroid XU4 DEV branch back to mainline + patches 2020-06-19 17:23:26 +02:00
m][sko
20d17a7c95
Switch meson to linux 5.7 (#2024)
* switch meson to linux 5.7

* formating

* enable panfrost module
2020-06-19 09:47:44 +02:00
5kft
d431797399
[ sunxi-current ] add upstream patches 2020-06-17 16:38:15 -07:00
Paolo
8f9f12065e
[RK3288] Bump rockchip-dev to kernel 5.7 (#2018)
* Moved rockchip-dev to kernel 5.7, removed already upstreamed patch (1016), adjusted conflicting patch (1015)
Most kernel configuration answer left at default, notables:
 - Wireguard (as module)
 - Zswap default compression set to LZO
 - RK3288 GPIOMEM (as module)
 - Enabled some new DMABUF bits (heaps, cmas)
 - Hantro driver
 - F2FS compression

* Disabled rx/tx dma for uarts, on my board causes system freeze during bluetooth initialization. Don't know if they ever worked, tried to enable them ages ago and they were already not working
2020-06-14 22:59:24 +02:00
Piotr Szczepanik
c7c2996b06
Switched rockchip64 dev target to kernel 5.7 (#2021) 2020-06-14 22:33:26 +02:00
5kft
f75695016b
[ sunxi-current ] add upstream patches 2020-06-10 15:13:27 -07:00
Paolo
f4cce97548
[rk3288] Various fixes and enhancements for xt-q8l-v10 CSC board (#2013)
* 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
2020-06-10 20:35:52 +02:00
5kft
9e51b2af08
[ sunxi-current ] add upstream patches 2020-06-07 07:02:27 -07: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
5kft
c5b787f4ab
[ sunxi-current ] add upstream patches 2020-06-03 07:21:07 -07:00
Igor Pecovnik
9cda37d460
Disable useless patch
We don't need to enable UARTS and OTG by default on all Nanopi boards. This seems to cause instability on M1

Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2020-05-30 20:07:19 +02:00
5kft
f81c444b34
[ sunxi-dev ] update thermal-zone configuration for H6 2020-05-28 16:57:55 -07:00
5kft
ddfb860c7a
[ sunxi-current ] update thermal-zone configuration for H6 2020-05-28 16:57:39 -07:00
5kft
6fe3196d50
[ sunxi-current ] add upstream patches 2020-05-27 12:22:18 -07: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
Igor Pečovnik
fe36958241
Add Odroid C4 legacy build (#1983) 2020-05-25 19:22:16 +02:00
Miouyouyou
5ffefd40ab
[RFC] RK3288 : Add HDMI resolutions (#1887)
* patch: kernel: rockchip-dev: Handle more resolutions with HDMI (β)

The added patch add more PLL configurations, in order to satisfy
more HDMI frequencies requirements.
This should allow users to benefit from more resolutions.

However, this is fairly untested. I only tested it on my 1080p
screen and, yeah, it works but so does the kernel without this
patch.

Signed-off-by: Miouyouyou (Myy) <myy@miouyouyou.fr>

* patch: kernel: rockchip-dev: Handle more resolutions with HDMI (β)

Now with proper patches names.

Anyway :

The added patch add more PLL configurations, in order to satisfy
more HDMI frequencies requirements.
This should allow users to benefit from more resolutions.

However, this is fairly untested. I only tested it on my 1080p
screen and, yeah, it works but it also does without this
patch.

So could anyone test this with the following configurations ?

* [ ] A HDMI 4K screen
* [ ] A HDMI 1366x768 screen resolution
* [ ] A VGA screen with a VGA to HDMI adapter
* [ ] A DVI screen with a DVI to HDMI adapter

Signed-off-by: Miouyouyou (Myy) <myy@miouyouyou.fr>

* Using the patches provided by @Kwiboo for HDMI

This provides me way more resolutions, including interlaced modes.

I don't see 4K modes, though the screen attached can't do it,
so I still don't know if that can help provided 4K modes on mainline
kernels.

Signed-off-by: Miouyouyou (Myy) <myy@miouyouyou.fr>

* Support for 4K screens

Using fixes provided by @czak

Tested and approved by @czak too !

Signed-off-by: Miouyouyou (Myy) <myy@miouyouyou.fr>
2020-05-24 23:08:01 +02:00
5kft
c7032ccdc2
[ sunxi-dev ] add correct H3 and H5 thermal zones and cooling maps 2020-05-23 09:27:41 -07:00
5kft
cc55d03a7b
[ sunxi-current ] add correct H3 and H5 thermal zones and cooling maps 2020-05-22 17:49:57 -07:00
Jagmn
c92fdd1161
[h3] Fix SPDIF clock multiplier settings (#1981)
There have been intermittent issues with SPDIF output on H3 & H2+ devices.
    Digging into the H2+ & H3 datasheets I encountered an important clue on
    table 8.7.2.2: s_clk needs to be 4x24.576 MHz or 4x22.5782 Mhz.
    Probably due to how SPDIF is a huge oversample of the audio frequency.

Co-authored-by: George Lander <lander@jagmn.com>
2020-05-22 00:24:33 +02:00
Igor Pečovnik
99f6bef7de
Attach Meson64 CURRENT to 5.6.y and make DEV = CURRENT at this point. (#1956)
* Attach Meson64 CURRENT to 5.6.y and make DEV = CURRENT at this point.

There is a lot of changes to 5.7.y and can be done after release or by someone that feels a need for this right now.

* Delete meson64_fclk_div3.patch

this fix has been upstream for some time, I had issues with it on 5.4, which is why it had been removed there.

* [ meson64 current ] kconfig tweak

disable Rockchip SoC drivers

* [ meson64 current ] remove rockchip patches

* [ meson64 current ] disable CMA patch GX

* [ meson64 current] add libretech cc audio patch

This brings the dts even with the khilman 5.8/integ branch which includes all of the audio changes.  The kernel is registering audio devices, however nothing comes out.  committed in case someone wants to spend time debugging/testing theories.

* fix permissions

was editing from another machine, accidental change of permissions in the patch

* Set default mixer settings

Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>

* [ meson64 current ] GXL audio commit

This moves to the mainline patches and covers le potato and la frite.  Adjusted asound config to handle a commonized sound card name.

* [ meson64 current ] add gxbb audio WIP

Playback is too fast, a clock setting is off somewhere.

* Update kernel configs

Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>

Co-authored-by: Tony <tonymckahan@gmail.com>
2020-05-22 00:17:08 +02:00
5kft
441e25aefe
[ sunxi-current ] add upstream patches 2020-05-20 07:17:31 -07:00
5kft
7c5c1d5cb3
[ sunxi-current ] add upstream patches 2020-05-17 17:41:19 -07:00
Piotr Szczepanik
40a3d4ecb9
Fixed rt5651 codec probing after its driver was changed to module (#1969) 2020-05-17 18:42:24 +02:00
Werner
55d5c667f3
Update npi-a64-only-audio-usb.patch (#1972)
7107eed3fa (diff-b855842906d9352d559c9a0b69eb30ed) broke this patch.
This fixes it.
2020-05-17 18:40:27 +02:00
Werner
e419fdc7ca
Update board-h6-orangepi-lite2-fix-missing-all.patch (#1971)
89b5e5f782 (diff-986c134d2455444b5a9ffd6941aa50ef) broke the patch.
This fixes it.
2020-05-17 18:40:18 +02:00
Igor Pečovnik
702259ea7d
Enable USB on Udoo board (#1973)
* Enable USB on Udoo
2020-05-17 18:38:51 +02:00
Igor Pečovnik
a0f9d7af80
Move imx6 current to 5.6.y (#1903)
* Move imx6 current to 5.6.y
* Config update
2020-05-17 18:35:21 +02:00
Piotr Szczepanik
5fa43b0a5e
Fixed mali error on boot for rk3399-legacy (#1965) 2020-05-15 21:51:36 +02:00
Igor Pečovnik
f054caca02
Switching Odroid C1 boot partition to FAT (#1964)
* Switching Odroid C1 boot partition to FAT

U-boot FAT driver is very unstable and there is no wish to dig into u-boot. Seems like a sane workaround @plntyk

Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>

* Add notes for separate boot partitions

Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>

* Typo

Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>

* Bugfix: use zImage for converting to uImage since on FAT partitions we use move

Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>

* Cleanup C1 boot scripts

We have no plans to ever support legacy kernel again. Removing related things

Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>

* A bit more radical change. Moving meson current to (new) legacy, current to 5.6.y and dev to some development branch / commit.

* Remove unneded patch

Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2020-05-15 21:50:26 +02:00
5kft
4aa2b6bc83
[ sunxi-current ] add upstream patches 2020-05-10 08:47:12 -07:00
Igor Zhukov
89b5e5f782
Add mali GPU supply for OrangePi Lite2 (#1943) 2020-05-09 10:36:42 +02:00
Piotr Szczepanik
d479e98a56
Added dev target support for NanoPi R2S (#1953) 2020-05-08 23:09:11 +02:00
Igor Pečovnik
bdd63057f9
Add missing bits for DEV kernel (#1951)
* Disabling GPIO reset to fix broken ethernet on Odroid C4
* Add C4 network fix for DEV kernel as well
2020-05-07 17:11:06 +02:00
Igor Pečovnik
8f6419edd6
Disabling GPIO reset to fix broken ethernet on Odroid C4 (#1950) 2020-05-07 17:05:12 +02:00
5kft
bf34c72c53
[ sunxi-current ] add upstream patches 2020-05-06 16:59:16 -07: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
5kft
ab96d0193d
[ sunxi-current ] add upstream patches 2020-05-05 10:57:50 -07:00
plntyk
483d7e96a7
Fix odroidc1 (#1932)
* enable and change odroidc1 config
remove EOS
enable current and dev config
meson-current: update config
meson-dev: update config
Signed-off-by: Dirk Neukirchen <plntyk.arm@plntyk.name>

* meson-current meson-dev: reduce Kernel size

with default loading locations in u-boot
the uImage can be too large and will be partly overwritten
with the loaded dtb leading to boot failues due to wrong checksum

Signed-off-by: Dirk Neukirchen <plntyk.arm@plntyk.name>

* odroid-c1: change default loglevel

Signed-off-by: Dirk Neukirchen <plntyk.arm@plntyk.name>

* meson: fix odroidc1 boot and create uImage

without uImage the board will not boot
take the already used hack (?) from
general-kernel-odroidn2-current.patch
since KERNEL_IMAGE_TYPE does not work as expected

Signed-off-by: Dirk Neukirchen <plntyk.arm@plntyk.name>

* Update targets.conf

* Update targets.conf

* Update targets.conf

* Making a bigger diff

* Removing build_minimal

One can choose what to build, while build targets are defined elsewhere

* Governor interactive n/a

* Updating config

Cause of changes in boot.ini we don't need to worry about size. After few tests, no problems sighted.

Tested running Docker.

* Adjust dev config too

Tested.

* Update odroidc1.conf

Co-authored-by: Igor Pečovnik <igorpecovnik@users.noreply.github.com>
2020-05-03 00:39:52 +02:00
5kft
276e805b90
[ sunxi-current ] add upstream patches 2020-05-02 07:00:55 -07:00
guidol70
7107eed3fa
Update npi-a64-only-audio-usb.patch (#1935)
deleted activation of i2s1 - 1c2240, because it isnt necessary for the corect operation of audio-analog and sound_hdmi
USB isnt affected.
i2s2 is right, because its needed for sound_hdmi 1c22800
2020-05-02 15:05:18 +02:00
5kft
ba34ad6d28
[ sunxi-current ] add upstream patches 2020-04-29 11:03:36 -07:00
Igor Pečovnik
716bd3b9dc
Reverting mvebu64 to K4.19 (#1926)
It doesn't want to boot on 5.4.y. Adjusting kernel config, fix Docker dependency problem, move few other minor fixes from openwrt and closing https://github.com/armbian/build/issues/1453
2020-04-29 01:04:10 +02:00
guidol70
142f0506fe
npi-a64-only-audio-usb.patch (#1928)
* npi-a64-only-audio-usb.patch

This is a follow-up to the PR #1927 where the complete sun50i-a64.dtsi was changed.
This is a patch ONLY for the NanoPi A64 .dts to activate Audio & Upper USB-port
Has been build/compiled and works with focal 5.6.5

Address = Alias:
sound=sound
sound_hdmi = sound_hdmi
1c19000 = usb_otg
1c22400 = i2s1
1c22c00 = dai
1c22e00 = codec
1c22800 = i2s2
1f015c0 = codec_analog

* Create npi-a64-only-audio-usb.patch

Co-authored-by: Igor Pečovnik <igorpecovnik@users.noreply.github.com>
2020-04-28 22:33:48 +02:00
Igor Pecovnik
c585e51044
Meson64 dev - add missing patch that broke compilation for Odroid C4 2020-04-27 19:03:16 +02:00
Igor Pecovnik
bba8a86238
Meson64 - patch adjustements
Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2020-04-27 18:33:19 +02:00
Neil Armstrong
07447294c7
Add support for Odroid c4 (#1923)
* meson-sm1: use amlogic-boot-fip to generate boot binary for SM1

Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>

* patch: add Linux and U-Boot patches

Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>

* configs: enable Odroid-C4

Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
2020-04-27 18:03:48 +02:00
useful64
fefc7d0a24
Update rk3328-audio-and-renegade-supplies.patch (#1920)
Fix "pd_gpu@RK3328_PD_GPU", it was in the wrong place. It need be inside "power-controller" to work. (+12 line offset)
2020-04-26 13:20:41 +02:00
Igor Pečovnik
9f0976a315
Fix ethernet detection for Nanopi K2 (#1912) 2020-04-25 21:25:28 +02:00
useful64
f7000a4a61
Update board-rock64-add-audio.patch (#1915)
Fix: change "stratus" to "status" on hdmi_sound
2020-04-25 17:17:35 +02:00
Igor Pecovnik
533222dde7 [ meson64 ] Remove deprecated patches 2020-04-24 17:18:45 +02:00
5kft
0409295b83
[ sunxi-current ] add upstream patches 2020-04-23 07:33:22 -07:00
Haraade
9800011cb3
odroidxu4-legacy patches already included in hardkernel git repo. Kernel 4.14.176 (#1907)
* Delete patch-4.14.173-174.patch
* Delete patch-4.14.174-175.patch
* Kernel 4.14.176
2020-04-22 08:17:56 +02:00
5kft
174c6a54cb
[ sunxi-current ] add upstream patches 2020-04-21 07:36:53 -07:00
Antoine Aflalo
a44f6a6ac6
Base Odroid kernel on HardKernel repository (#1906) 2020-04-21 00:16:48 +02:00
Werner
ce8e03e6dc
Delete patch-5.6.4-5.patch (#1901)
Merged into upstream
2020-04-20 15:52:51 +02:00
catalinii
5171d6721e
Add rkvdec and hantro to dev kernel (#1898)
Co-authored-by: Catalin Toda <catalinii@yahoo.com>
2020-04-20 01:11:15 +02:00
Igor Pecovnik
d6d6d9ae5e
Upstream patches for sunxi current and dev
Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2020-04-17 23:38:47 +02:00
Werner
2a3d8a8f99
[sunxi-dev] H6 gpu regulator fixes - 2nd attempt (#1884)
* Create sun50i-h6-drm_panfrost-missing-remove-opp-table-in-case-of-failure.patch

* Create sun50i-h6-drm_panfrost-add-devfreq-regulator-support.patch

* Rename sun50i-h6-drm_panfrost-add-devfreq-regulator-support.patch to sun50i-h6-drm_panfrost-2-add-devfreq-regulator-support.patch

* Rename sun50i-h6-drm_panfrost-missing-remove-opp-table-in-case-of-failure.patch to sun50i-h6-drm_panfrost-1-missing-remove-opp-table-in-case-of-failure.patch
2020-04-17 09:08:09 +02:00