Commit Graph

2444 Commits

Author SHA1 Message Date
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