Commit Graph

2557 Commits

Author SHA1 Message Date
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
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
Igor Pečovnik
03f380178d
Moving Meson64 to k5.6.y and u-boot 2020.04 (#1890)
* Move Meson64 to 5.6.y
* Move Meson64 U-boot to 2020.04

Tested on Odroid C2
* Merge, replace and update patches from Khadas branch
2020-04-17 09:07:43 +02: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
simple
69327492c7
Fixed OrangePi 4 bluetooth and mic in dev (#1888) 2020-04-16 22:54:27 +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
Yannick Adam
454038a50d
Enable es8316 on RockPi4 (#1885) 2020-04-14 17:15:09 +02:00
5kft
61647eb19a
[ sunxi-current ] add upstream patches 2020-04-13 12:49:31 -07:00
Werner
a82dbd3f7b
[sunxi-dev] Add higher clock for H6 (#1879) 2020-04-10 10:02:48 +02:00
5kft
6550a3cf22
[ sunxi-current ] add upstream patches 2020-04-08 06:43:12 -07:00
Piotr Szczepanik
00bd87c1f4 Merge remote-tracking branch 'origin/master' into roc-rk3328-cc-enable-dmc 2020-04-07 09:12:58 +02:00
Piotr Szczepanik
38e99c76e3 Fixed errornous status names for dmc and dfi of roc-rk3328-cc in current 2020-04-07 09:11:54 +02:00
Igor Pecovnik
6b3c1a87f4
sunxi/64-dev: update kernel configs and remove two deprecated patches 2020-04-06 23:51:18 +02:00
Martin Ayotte
ba3135040f switch sunxi-dev branch to 5.6.y 2020-04-06 14:32:56 -04:00
Igor Pečovnik
5e251dc414
Merged rockpi-s dev info rockchip64-dev and moved to 5.6.y (#1874)
Added all patches from @ashthespy repository
2020-04-06 19:06:28 +02:00
Igor Pecovnik
9f441a3d14
Move Odroid XU4 DEV branch to 5.6.y
Also update all patches and configs
2020-04-06 14:51:28 +02:00
Igor Pecovnik
7aacfb8824
Remove deprecated patches
Upstream driver has now support for K5.5->

Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2020-04-06 14:20:48 +02:00
Piotr Szczepanik
dc2b43562e Added more specific "compatible" string for OrangePi 4 2020-04-05 23:27:22 +02:00
Piotr Szczepanik
e14a61c229
Fixed sound from rt5651 on OrangePi 4 (#1870) 2020-04-05 18:15:06 +02:00
tonymac32
edd9568314 [ rockchip64 ] RK3399-ROC-PC enable PCIE
Enables PCIE PHY, with Mezzanine NVME is now available.
2020-04-05 02:45:01 -04:00
tonymac32
b767385d4c [ rockchip64 ] Add mp8859 regulator to Current for RK3399-ROC-PC
This enables the 12V buck/boost converter to provide the 12V rail
2020-04-05 01:35:28 -04:00
5kft
6cd31be57e
[ sunxi-current ] add upstream patches 2020-04-03 10:36:14 -07:00
Igor Pečovnik
bd7ec831bf
Move mvebu64-current to 5.4.y, DEV to 5.6.y (#1866)
* Move mvebu64-current to 5.4.y, DEV to 5.6.y
* Adjust config
2020-04-01 21:24:18 +02:00
Igor Pečovnik
a742aa92e8
Add Realtek 8189ES and FS driver from repository (#1860)
* Add 8189es out of the tree patch from repository.
* Added 8189FS version
* Support building on kernel 5.6. for 88x2bu

Tested for building on legacy, current and dev, removed old patches
2020-04-01 21:14:49 +02:00
5kft
e15cf2a853
[ sunxi-current ] add upstream patches 2020-04-01 11:37:43 -07:00
Martin Ayotte
dba65ba3ed
Commit recreate 2020-04-01 17:51:13 +02:00
Igor Pecovnik
76cced5dff
[ Odroid XU4 ]
Upstream patches

Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2020-03-26 23:23:40 +01:00
Piotr Szczepanik
f59399d811 Enable uart0 for ROCK Pi S in device tree 2020-03-25 23:38:50 +01:00
5kft
e274e63a71
[ sunxi-current ] add upstream patches 2020-03-25 07:24:54 -07:00
Piotr Szczepanik
aa1b639535
Fixed slow boot of rk3399 with mainline (#1852) 2020-03-23 18:44:03 +01:00
Igor Pečovnik
1516616c2d
Rockchip and Odroid XU4 upstream fixes (#1855) 2020-03-23 00:41:45 +01:00
Piotr Szczepanik
dafd7c7ebc Disable (non functional) DMC for ROCK Pi S legacy 2020-03-22 20:07:43 +01:00
Piotr Szczepanik
f58a0c0e0a Synchced ROCK Pi S legacy with Radxa work 2020-03-22 00:10:10 +01:00
5kft
2af87af606
[ sunxi-current ] add upstream patches 2020-03-21 12:12:29 -07: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
5kft
7147640e16
[ sunxi-current ] add upstream patches 2020-03-18 17:18:49 -07:00