Commit Graph

1879 Commits

Author SHA1 Message Date
Leonidas P
5659f7fffa
Revert "Enable kernel config options from ayufan kernel including mali." (#1287)
bfed510a87 (commitcomment-32366701)
2019-02-20 00:38:06 +02:00
Ross Bencina
fa78fdfbc7 Fix issue with audio quality on NanoPi M4, see: https://forum.armbian.com/topic/9605-sound-problems-with-nanopi-m4/. Reinstate FriendlyElec rk3399-nanopi4-common.dtsi &i2s1 entry that assigns i2s1 master clock SCLK_I2S1_8CH to i2s_8ch_mclk output pin clock source SCLK_I2S_8CH. By default the i2s1 node is disabled, therefore this clock assignment is not applied unless (1) i2s1 is enabled by user DT changes, or (2) i2s1 is enabled in a specific nanopi board .dts -- at this time the only such board is NanoPi M4. On NanoPi M4 this change will send i2s1 mclk to the rt5651 codec, which is the desired clock routing (prior to this change, the codec was getting i2s0 mclk, which was the cause of the bad audio). On other nanopis if the user enables i2s1 in DT, this change will route i2s1 mclk to the mclk line on the 40 pin header (and, on NanoPC T4, also to the onboard codec, which is less desirable, but that's how the board is wired). 2019-02-20 02:27:12 +11:00
Igor Pečovnik
8cabe41e59
Merge pull request #1284 from helios-4/helios4-update
Helios4: Add support for Wake-On-LAN and update fancontrol configuration
2019-02-19 15:30:02 +01:00
Martin Ayotte
34205e60b3 add H6-DMA + H6-SPIs patches 2019-02-18 15:00:02 -05:00
Thomas McKahan
2c8ee5a69d [ rockchip-dev ] Add simpler reboot code
As seen here: https://patchwork.kernel.org/patch/10817217/

for testing in Dev.  @paolosabatino please check TV box.
2019-02-17 23:28:02 -05:00
Thomas McKahan
70f931c4b3 [ Rockchip64 ] patch r8152 driver to recognize 0x6010 devices 2019-02-17 16:02:14 -05:00
Igor Pecovnik
40557aebb3 [ general ] Fixing wireguard breaking prepare headers https://github.com/armbian/build/issues/1278 and upstream patch for sunxi-next 2019-02-13 10:09:04 +01:00
Aditya Prayoga
1ec2a163fe mvebu-next: helios4: Add Wake on LAN support
Interrupt pin of the Ethernet PHY is connected to GPIO. The PHY can be
configured to raise interrupt when it received WoL magic packet.

This patch use gpio-keys as wakeup source for Wake on LAN as currently
there is no way to use the GPIO directly under mvneta driver.

Signed-off-by: Aditya Prayoga <aditya@kobol.io>
2019-02-12 10:34:30 +08:00
Aditya Prayoga
8cac6dba94 kernel: mvebu-next: Add Wake on GPIO support
The SoC provides several waking options sourced by different peripherals
to take the system out of power save modes. One of the options is Wake
on GPIO.

This patch implements missing function to support gpio as wakeup source
and properly route it to upper interrupt controller (Arm GIC).

Signed-off-by: Aditya Prayoga <aditya@kobol.io>
2019-02-12 10:34:30 +08:00
Darina Toda
923502bc77 Enable kernel config options from ayufan kernel including mali. Add also the mali patch 2019-02-10 21:32:42 +00:00
Igor Pecovnik
dc5c903f23 [ K4.4 upstream patches ] and a small change to CSC board config 2019-02-09 19:31:03 +01:00
Leonidas P
37b9bc19c5
Patch 4.4.173-174
no conflicts
2019-02-09 02:43:14 +02:00
Igor Pecovnik
9758711ed4 [ general ] Attach Realtek 8811, 8812, 8814 and 8821 drivers source, remove our old patches, adjust configs, tested on all combinations 2019-02-07 15:24:06 +01:00
Igor Pečovnik
92df5b572e
Merge pull request #1265 from expipiplus1/mvebu-gpio
Reenable mvebu gpio patch for newer kernels
2019-02-06 10:52:21 +01:00
Igor Pecovnik
e959294b7f [ sunxi* / general ] add possible fix for eMMC troubles with some H5 boards, adjusted configuration, Wireguard: always use latest sources 2019-02-06 10:50:13 +01:00
Joe Hermaszewski
357b54b9ef Reenable mvebu gpio patch for newer kernels
Linux commit ba78d83be7d04f03a7fe6133efb5b6f83b9b0e7c broke support for this patch
2019-02-06 17:42:53 +08:00
Igor Pecovnik
1c9bb649a9 [ rk3399 default ] headers fix v2 2019-02-05 11:56:35 +01:00
Igor Pecovnik
4348bf68a0 [ rk3399 ] fix for building modules https://forum.armbian.com/topic/9540-linux-headers-rk3399-is-broken-for-building-out-of-tree-modules-with-fix 2019-02-04 18:27:26 +01:00
Darina Toda
ef7f84f47d Add CEC to rockchip64 kernel and kernel configs to enable it 2019-02-03 20:03:36 +00:00
Leonidas P
125c5d5b5a
Fix rk3399-default mali patch
Now correct fot 4.9+ also (if it's ever needed)
2019-01-31 20:23:11 +02:00
Leonidas P
a4d2b0f870
Fix rockchip-default mali patch 2019-01-31 19:54:49 +02:00
Igor Pecovnik
556eb213c1 [ meson64-dev ] remove deprecated patch 2019-01-31 18:21:11 +01:00
Igor Pecovnik
e2bb865d9d [ sunxi-next ] add upstream patches, wifi fixes for bpi m2/u 2019-01-31 16:53:52 +01:00
Igor Pecovnik
692c379d6c [ meson64-next ] adjust config and remove deprecated patch 2019-01-31 15:21:31 +01:00
Igor Pecovnik
b58323e08b [ meson64 default ] fix packaging issues 2019-01-31 14:29:07 +01:00
Igor Pecovnik
c67a1837b0 [ sun7i ] add systemd fix also to A20 kernel branch https://github.com/armbian/linux/pull/8 2019-01-31 11:26:13 +01:00
Tony
684c0c03ad
Delete packaging-4.x-meson64.patch.disabled
unnecessarily file.
2019-01-30 23:33:50 -05:00
Igor Pecovnik
7468eb23ab [ wireguard ] add to config, move Tinkerboard to stable branch, add upstream patches 2019-01-28 20:47:37 +01:00
Leonidas P
21125280db
Fix mali patch for rk3399
No need to check linux version anymore, function call is the same. Try to see if it builds
2019-01-28 13:52:22 +02:00
Thomas McKahan
5b9597c705 Merge branch 'master' of https://github.com/armbian/build 2019-01-28 00:53:50 -05:00
Thomas McKahan
3cd58d07bc [ rockchip-dev ] update config and patchfix 2019-01-28 00:52:24 -05:00
Igor Pečovnik
7a8cb61060
Merge pull request #1249 from paolosabatino/xt-q8l-v10
Fixed, verified and enabled back xt-q8l-v10 patches
2019-01-27 21:44:30 +01:00
Martin Ayotte
005e8cf9fc fxi SD-CD pullup 2019-01-27 15:37:40 -05:00
Igor Pecovnik
3b894b110e [ rockchip64 ] add upstream patches to rk3399, add rockpi4b to default kernel (working not very good atm), adjusted kernel config 2019-01-27 19:37:46 +01:00
paolo
2f899df257 Enabled xt-q8l-v10 patches for armbian rockchip-dev after verification over kernel 5.0 bump
Fixed xt-q8l-v10-remote-keymap.patch to work with linux kernel 5.0
2019-01-27 17:37:16 +00:00
Leonidas P
41f2cbdcea
Upstream Patches
Modified to fix build error - see https://github.com/armbian/build/issues/1199#issuecomment-457862514

You're free to test with other rockchip boards, I only have rk3328-roc-cc
2019-01-26 22:37:58 +02:00
Igor Pecovnik
7e38968709 [ add orangepi rk3399 ] Board boots, wifi and net works, can be installed on eMMC but various troubles at this point. It's dirty DT copy from stock kernel. Need further rework ... 2019-01-25 20:48:57 +01:00
Igor Pečovnik
60a968b26e
Merge pull request #1247 from hehopmajieh/teres
All patches according to Teres-I dts  merged in one,fixed wrong pinmux
2019-01-25 11:56:56 +01:00
Dimitar Gamishev
c5ea362a67 All patches according to Teres-I dts merged in one
Enabled analog codec
Fixed wrong pinmux
2019-01-25 10:38:09 +02:00
Thomas McKahan
5a0d83a316 [ rockchip-dev ] update patchset, target 5.0 RC
Includes experimental video decoder driver.  Thanks as always to @miouyouyou for the base patches
2019-01-25 00:21:49 -05:00
Tony
df6fd3ecbf
Merge pull request #1236 from chwe17/rockpi_tutorial
fixed LED in rockpis device tree
2019-01-23 18:15:26 -05:00
Igor Pecovnik
cbfcd85715 [ dvbsky S960 ] User request https://forum.armbian.com/topic/9318-nanopi-neo2-kernel-update-for-patch-dvbsky-s960 2019-01-23 18:55:17 +01:00
Igor Pecovnik
9efe564caf [ sunxi/sunxi64 ] upstream patches and enablind MD on 64 https://forum.armbian.com/topic/9421-module-md_mod-not-found-in-directory-libmodules41913-sunxi64/ Bump with a version 2019-01-23 17:01:07 +01:00
Igor Pecovnik
8979912fec [ cubox ] fix patch filename 2019-01-23 12:31:15 +01:00
Thomas McKahan
cc03b0925f [ meson64-dev ] update spidev warning patch 2019-01-22 23:54:14 -05:00
Martin Ayotte
cd0ada7248 add missing uart2_rts_cts_pins H3/H5 2019-01-22 16:51:03 -05:00
Igor Pecovnik
98180b9281 [ sunxi* ] AP bugfix for 8723BS and upstream patches 2019-01-22 20:44:03 +01:00
Martin Ayotte
f8ba727e2f Merge branch 'master' of https://github.com/armbian/build 2019-01-21 17:16:00 -05:00
Martin Ayotte
6b961e202b temporarily change sun50i-h6-emac to sun50i-a64-emac for OPiOne+ 2019-01-21 17:14:50 -05:00
Igor Pecovnik
7b96a311e8 [ sunxi-dev ] fix for wireless drivers AP, tested on OPi 2e http://ix.io/1ySo and adjusted kernel config 2019-01-21 18:21:16 +01:00
Igor Pecovnik
e5b292799b [ sunxi wireless 8189es/8723cs/8189fs AP fix, Tested on Orangepi R1 http://ix.io/1yRP https://forum.armbian.com/topic/8241-wifi-access-point-hostapd-with-kernel-418-and-419 2019-01-21 17:12:59 +01:00
Thomas McKahan
79633079fe [ meson64-dev ] update 4.20 patchset 2019-01-21 01:18:20 -05:00
Richard Kojedzinszky
fd876115fd BPI-M1+ wifi: disable OOB IRQ 2019-01-20 18:59:36 +01:00
chwe17
bb63ed6d2a fixed LED in rockpis device tree 2019-01-19 01:34:15 +01:00
Igor Pecovnik
a156fddf8f [ odroidxu4 ] Reverting NEXT back to stock 4.14.y due to many troubles, DEV = 4.19.y 2019-01-18 20:10:35 +01:00
Thomas McKahan
41eddbdf62 [ meson64-next ] update drm mode switch patch 2019-01-16 01:38:35 -05:00
Martin Ayotte
b2137424a5 delete calculation-of-NM-rate patch since it is now in Begous branch 2019-01-15 19:22:02 -05:00
Martin Ayotte
592c8bd76b remove all leading zero in DT address of overlays and fixup scripts (especially on old A10/A13/A20) 2019-01-15 19:16:24 -05:00
Martin Ayotte
8831783959 remove all leading zero in DT address of overlays and fixup scripts (especially on old A10/A13/A20) 2019-01-15 19:09:04 -05:00
Thomas McKahan
ad7d90fab2 [ rockchip64-dev ] small rockpi4 dts adjustments. 2019-01-15 01:46:12 -05:00
Thomas McKahan
5d31c8f67c [ rockchip-next ] fix support for upgrading eMMC on Tinker Board
See: https://forum.armbian.com/topic/9312-tinkerboard-ss-bricked-after-570-upgrade/

Solves issue by recreating the "miniarm" dtb same as the 4.14 before it.
2019-01-15 01:14:58 -05:00
Martin Ayotte
6c35ed9c19 According to Jernejsk, the real fix for H6 hang should be the fix irq_banks 2019-01-14 16:09:19 -05:00
Martin Ayotte
25c40b948c add a patch to rever GregKH patch preventing H6 boot 2019-01-13 20:52:37 -05:00
Igor Pecovnik
cadd885d97 [ rockchip-dev ] Patch adjustement 2019-01-13 09:51:08 +01:00
Igor Pecovnik
34fef666f0 [ rockchip-dev ] remove obviously deprecated and move the rest away that kernel can compile 2019-01-12 23:01:34 +01:00
Martin Ayotte
8854cf2b0a fix merge conflict 2019-01-12 15:19:30 -05:00
Martin Ayotte
c430a2ac3d fix bananam2ultra wifi 2019-01-12 15:10:45 -05:00
Igor Pecovnik
6957b93c04 [ rockchip-dev ] remove broken patch 2019-01-12 20:58:14 +01:00
Igor Pecovnik
8db17df918 [ rockchip-dev ] remove broken wifi patches 2019-01-12 20:39:22 +01:00
Igor Pecovnik
723b749da8 [ meson64-dev ] remove broken wifi patches. An updated version will be placed here when time is right. 2019-01-12 17:33:47 +01:00
Igor Pecovnik
27687e9273 [ sunxi-dev ] disable broken patch 2019-01-12 15:30:52 +01:00
Martin Ayotte
1921a758bd disable general-aufs 2019-01-11 15:48:42 -05:00
Igor Pecovnik
96d5bb2c20 [ meson64 ] Bugfix for packaging patch, adding proper AUFS patch 2019-01-11 20:51:01 +01:00
Martin Ayotte
1f34828b57 add h5-emmc-compatible 2019-01-11 14:45:08 -05:00
Martin Ayotte
c7052c256c fix nand-disable-badblock 2019-01-11 09:28:56 -05:00
Martin Ayotte
eb492a7be6 fix a64-enable-sound-on-Pine64 2019-01-11 09:28:29 -05:00
Martin Ayotte
4f700343f3 delete more useless patches 2019-01-11 09:27:57 -05:00
JMCC
0fa2388957
Merge pull request #1221 from teacupx/master
Several DT tweaks for Renegade
2019-01-11 12:47:56 +01:00
JMCC
08614f3982 Fix 1512MHz OPP for Renegade 2019-01-11 11:43:35 +01:00
Thomas McKahan
2ed2e50e56 [ rockchip-next ] update to 4.19 2019-01-11 02:29:02 -05:00
JMCC
f1affad5c7 Give some life to Renegade LED's 2019-01-11 01:55:19 +01:00
JMCC
b77dde090d Merge branch 'master' of git://github.com/armbian/build 2019-01-11 00:37:27 +01:00
JMCC
99deddd950 Fix DRM crashing for rockchip64 2019-01-11 00:36:58 +01:00
Martin Ayotte
52852469f1 delete more useless patches 2019-01-10 18:27:23 -05:00
Martin Ayotte
dcb2ac9dfb delete more useless patches 2019-01-10 18:09:55 -05:00
Martin Ayotte
47e2e42553 remove duplicate N_VBUSEN 2019-01-10 10:36:09 -05:00
Martin Ayotte
b097c88270 remove useless Makefile patching 2019-01-10 10:35:27 -05:00
Martin Ayotte
19227bf2ab fix Makefile patching 2019-01-10 10:34:47 -05:00
Martin Ayotte
ed87039af0 remove duplicate hdmi nodes 2019-01-10 10:34:15 -05:00
Martin Ayotte
5491d4d349 remove useless dtbo/src target in 4.20.y 2019-01-10 10:33:20 -05:00
Martin Ayotte
e55c1bcc45 recover file from wrong deletion + remove duplicate DT syscon 2019-01-10 10:06:28 -05:00
Thomas McKahan
650240a8b7 [ meson64-dev ] restore dev to 4.20, first pass 2019-01-10 00:47:16 -05:00
Thomas McKahan
7c5fb27d79 [ meson64-next ] Shift Next to 4.19 2019-01-09 23:33:47 -05:00
Thomas McKahan
c1d43c038b [ meson64-dev ] remove outdated patch 2019-01-09 23:13:06 -05:00
Tony
3b9ce663bf
Rename timekeeping32-tweaks-for-4.20.y.patch to timekeeping32-tweaks-for-4.20.y.patch.disabled
not time yet.
2019-01-09 22:30:48 -05:00
Martin Ayotte
c0319cf3cc tweak DT file naming convention of OPiZero+2 to match the one from Megous branch 2019-01-09 18:37:12 -05:00
Martin Ayotte
91fbb36c27 delete more useless patches 2019-01-09 18:00:43 -05:00
Martin Ayotte
0943a044d5 fix general-packaging-dev patch for 4.20.y 2019-01-09 17:32:52 -05:00
Martin Ayotte
68694fa663 delete more useless patches 2019-01-09 17:26:11 -05:00
Martin Ayotte
5c9674f49d fix OPiWin USB 2019-01-09 15:40:20 -05:00
Martin Ayotte
136c0553e3 fix OPiWin USB 2019-01-09 15:39:25 -05:00
Martin Ayotte
680cbdf4a7 delete more useless patches 2019-01-09 12:06:22 -05:00
Martin Ayotte
680aaf21ac delete more useless patches 2019-01-09 11:51:40 -05:00
Martin Ayotte
684abc3cdf delete some useless patches 2019-01-09 11:41:56 -05:00
Martin Ayotte
1fa6a87bae delete board-pine-h6-pine-h6-0034-arm64-allwinner-h6-add-EMAC-device-nodes.patch 2019-01-09 11:29:47 -05:00
Martin Ayotte
fa78a6e214 remove camera-add-the-H3-H5-CSI-controller.patch 2019-01-09 11:18:06 -05:00
Martin Ayotte
e1382154b1 add some timekeeping32 tweaks gone in 4.20.y 2019-01-09 10:36:08 -05:00
Igor Pecovnik
1b4990736d [ sunxi/sunxi64 ] Attach NEXT to 4.19.y and bump with version 2019-01-09 15:31:50 +01:00
Igor Pecovnik
1c3fde7d3b [ Cubietruck & BananaPro ] Disable-OOB-IRQ-for-brcm wifi 2019-01-09 09:49:56 +01:00
Thomas McKahan
8f2da46aa0 [ meson64-dev ] add patch to fix modeswitching
Appears to fix all the HDMI issues.
2019-01-08 22:50:38 -05:00
Thomas McKahan
7c6b164cc8 { rockchip64-dev ] rockpi4b clean up patches 2019-01-07 01:35:58 -05:00
Thomas McKahan
178796e6cd [ rockchip64-dev ] small cleaning rockpi dts 2019-01-07 01:15:05 -05:00
JMCC
cc4a74fd62
Merge pull request #1215 from teacupx/master
drm: workaround for crash when trying to open render node
2019-01-06 21:55:04 +01:00
JMCC
3439534541 drm: workaround for crash when trying to open render node 2019-01-06 21:50:24 +01:00
Martin Ayotte
ea20f750bf slow SPIFlash to avoid errors 2019-01-05 09:50:02 -05:00
Martin Ayotte
8c6569e4aa put back normal sdcard speed 2019-01-04 17:15:08 -05:00
Martin Ayotte
6ff1c5f0cb fix rejected patch 2019-01-04 17:13:20 -05:00
Martin Ayotte
f2e71dbc73 fix sdmmc-bus1 pin 2019-01-04 10:04:19 -05:00
Thomas McKahan
5150d707f5 [ rockchip64-dev ] Rockpi round 1 dts cleanup, HDMI works 2019-01-04 02:19:13 -05:00
Igor Pečovnik
7edf9033d1
Merge pull request #1208 from paolosabatino/xt-q8l-v10
RK I2S HDMI audio fix and other fixes for xt-q8l-v10 to work with kernel 4.19
2019-01-03 23:34:23 +01:00
paolosabatino
ee0d3f894f Fixed missing/non-working i2s-based HDMI audio device on rockchip platform 2019-01-03 18:13:59 +01:00
Martin Ayotte
b1f83f631b put back previous SDCard speed on RockPro 2019-01-03 11:05:36 -05:00
Martin Ayotte
211c802f7c add better strength on SDCard and put back previous speed setting 2019-01-03 11:04:17 -05:00
paolosabatino
7b0ae02a34 Merge remote-tracking branch 'upstream/master' into xt-q8l-v10 2019-01-03 13:37:13 +01:00
Thomas McKahan
f60276183e [ rockchip64-dev ] rk3328 set SD drive level 8ma 2019-01-03 02:22:38 -05:00
Thomas McKahan
f5a9dbb73e [ rockchip64-dev ] Rockpi4 enable USB 2019-01-03 02:17:21 -05:00
Thomas McKahan
e18d42f779 [ rockchip64-dev ] remove unneeded patch 2019-01-02 22:22:41 -05:00
Martin Ayotte
38c329469d remove useless brcmf node 2019-01-02 16:18:51 -05:00
Martin Ayotte
5de46fc0cb remove some Makefile targets since they are obsolete under 4.20.y 2019-01-02 14:39:11 -05:00
Martin Ayotte
6081202886 reduce sdcard due to random failures 2019-01-02 14:38:26 -05:00
Martin Ayotte
e6b74b04e3 lower sdcard speed to fix random failure 2019-01-02 11:34:10 -05:00
Thomas McKahan
cf5d6d3a08 [ rockchip64-dev ] update patchset, disable some broken ones 2019-01-01 22:29:38 -05:00
Martin Ayotte
63be3732ea fix RockPi-4B naming + fix vcc5v0_host gpio pin 2019-01-01 19:37:58 -05:00
Martin Ayotte
cbbbf06319 fix RockPi-4B naming + fix vcc5v0_host gpio pin 2019-01-01 19:37:27 -05:00
Igor Pečovnik
7b9b9631b3
Merge pull request #1203 from gkkpch/master
Improve DSD-direct support in kernel 4.14.y
2019-01-01 18:09:36 +01:00
Martin Ayotte
efc1bad036 add new RockPi-4B 2019-01-01 10:01:45 -05:00
Gé Koerkamp
5ae35c4381 Improve DSD-direct support in kernel 4.14.y 2019-01-01 12:52:25 +01:00
Martin Ayotte
d31b35ab0b disable useless patches 2018-12-31 21:12:27 -05:00
Martin Ayotte
bb21de07d9 disable useless patches 2018-12-31 14:14:32 -05:00
Martin Ayotte
09ce9f17d9 add startup-delay to OPiWin gmac-3v3 2018-12-31 14:13:53 -05:00
Martin Ayotte
7d15d232ce remove useless patch since switch to 4.20.0 2018-12-31 12:38:08 -05:00
Martin Ayotte
8f82cb60b9 set lower speed for RockPro64 eMMC 2018-12-31 12:29:56 -05:00
Igor Pecovnik
6b1a33930b [ espressobin ] Move ATF/U-boot to 18.12, add new DDR configurations & bump kernel to 4.19.y 2018-12-30 16:14:27 +01:00
Martin Ayotte
5a0e3b6dcb fix vcc5v0_host for USB1_HOST_EN in OrangePi-RK3399 2018-12-28 15:36:33 -05:00
Martin Ayotte
758db7522a initial commit for orangepi-rk3399.wip 2018-12-24 11:06:59 -05:00
Thomas McKahan
05d4708e61 [ Le Potato ] add i2c-ao to dt 2018-12-21 17:33:07 -05:00
Igor Pecovnik
afb6216278 [ sunxi-dev ] This kernel config fixes building. Also adding upstream patches 2018-12-21 10:04:18 +01:00
Igor Pecovnik
095cbf20d5 [ sunxi64 ] Add one more OP for A64. Lime A64 survived hours of brutality. 2018-12-19 20:28:48 +01:00
Thomas McKahan
89c97f3d71 [ rockchip-dev ] add i2c1 and 4 overlays
Allows enable/disable of I2C channels found on Tinker GPIO headers.
2018-12-18 23:55:56 -05:00
Igor Pecovnik
077a7f8590 [ sunxi-dev ] Pinebook works now OOB with all patches but with a dirty workaround - PWM not operational, bluetooth added, but could not get it working yet ... 2018-12-18 18:06:18 +01:00
Thomas McKahan
76573936ae [ rockchip-dev ] add various overlays
General cleanup of patch.

Adds:

	- spi0
	- spi2
	- spidev0
	- spidev2
	- uart1
	- uart2
	- uart3
	- uart4

Default for Tinkerboard:  spi2, spidev2, uart1, uart2
2018-12-18 01:28:57 -05:00
Igor Pecovnik
33f982c59f [ RK3399 ] Add upstream patch and adjust configs 2018-12-17 20:06:17 +01:00
Leonidas P
e8e8c2ad97
Upstream patch (4.4)
Tested for 3 days on Renegade. No problems
2018-12-17 19:38:24 +02:00
Igor Pecovnik
23f98996ec [ cubox ] bugfix. add missing patches 2018-12-17 17:47:38 +01:00
Thomas McKahan
f3ba298c2e [ rockchip-dev ] spidev to default overlay
Makes spidev2 an overlay for rk3288, tinker board defines it as default overlay

	overlay patch a bit messy, will clean shortly.
2018-12-17 01:25:36 -05:00
paolo
1a6236fe7f Fixed missing lines in xt-q8l-v10 device tree preventing SPDIF enabling 2018-12-16 10:48:23 +00:00
paolo
f93cf268f5 Fixed malformed patch for xt-q8l-v10 2018-12-15 18:36:04 +00:00
paolo
6bae467522 Merge branch 'xt-q8l-v10' of https://github.com/paolosabatino/armbian-build into xt-q8l-v10 2018-12-15 10:45:37 +00:00
paolo
868d7390fc Disabled dma for serial ports in xt-q8l-v10 dev kernel device tree due to changes in kernel 4.19
Removed date and time from xt-q8l-v10 patches for /dev/null source diffs
2018-12-15 10:44:00 +00:00
paolo
a818f64885 Changed minor bits in xt-q8l-v10 device tree patch for dev flavour 2018-12-15 10:43:59 +00:00
paolo
76de54fb38 Changed minor bits in xt-q8l-v10 device tree patch for dev flavour 2018-12-14 12:16:26 +00:00
Thomas McKahan
05387dc86f [ rockchip-dev ] Add test 1-wire overlay 2018-12-13 23:45:53 -05:00
Thomas McKahan
98cc59c17a [ rockchip-dev ] Add overlays patch 2018-12-13 19:06:52 -05:00
Thomas McKahan
3a185c8b82 [ rockchip-dev ] Add DT overlay framework 2018-12-13 19:04:47 -05:00
Martin Ayotte
55c37b63f7 disable eMMC on OPiLite2 since it doesn't exist ... 2018-12-10 12:51:46 -05:00
Martin Ayotte
6b6f4687d7 add patch to disable strict mode on H6 pinctrl 2018-12-10 11:29:01 -05:00
Thomas McKahan
0705089c9f [ meson64-dev ] Patch cleanup, Prelim. USB Fix 2018-12-09 00:51:07 -05:00
Martin Ayotte
ba97edfd2b add meson-w1-gpio to NanoPiK2 2018-12-07 17:56:20 -05:00
Martin Ayotte
40ab5ee22b add W1-GPIO overlay to rockchip64 2018-12-07 16:23:35 -05:00
Igor Pečovnik
b4e5c58916
Merge pull request #1180 from helios-4/libata_led-update
kernel: mvebu-next: Reduce performance impact on libata led trigger
2018-12-07 06:54:54 +01:00
Thomas McKahan
12c5e0a35c [ meson64-dev ] update patch drm 2018-12-06 22:29:49 -05:00
Thomas McKahan
585f7c21e8 Merge branch 'master' of https://github.com/armbian/build 2018-12-06 21:20:35 -05:00
Thomas McKahan
4d41388c70 [ meson64-dev ] update patches MAC IRQ and DRM 2018-12-06 21:20:04 -05:00
Aditya Prayoga
99a377d647 kernel: mvebu-next: Reduce performance impact on libata led trigger
previous version of the patch has slightly higher performance impact
compared to disk activity trigger.
This updated patch should have similar impact as disk activity trigger.
2018-12-07 10:13:32 +08:00
Martin Ayotte
9566998b69 add meson-uartC overlay 2018-12-06 18:28:37 -05:00
Martin Ayotte
a20d9d0415 fix meson64 uartC pinctrl 2018-12-06 18:03:17 -05:00
Martin Ayotte
4091a0aaeb tweak Makefile for newly added i2cB 2018-12-06 11:56:58 -05:00
Martin Ayotte
c80617d145 add i2c_B missing pins 2018-12-06 10:54:48 -05:00
Martin Ayotte
80cfdd5f30 Merge branch 'master' of https://github.com/armbian/build 2018-12-06 10:51:36 -05:00
Martin Ayotte
58139931ec add meson-i2cB overlay 2018-12-06 10:33:00 -05:00
Thomas McKahan
b21cf05f6f [ Meson64-dev ] update patchset
- update to latest patchset from Baylibre
	- Some bugs addressed
	- Open items:
		- HDMI does not want to work on boot
		- If a "problematic" monitor is present at boot HDMI will not respond to replug
		- changing monitors after boot results in 1/2 of the display appearing, second replug and it's ok.
		- Changing HDMI resolution results in corrupted screen (aliasing, static, "lines" etc.)
2018-12-06 00:46:34 -05:00
Martin Ayotte
b7327c1315 fix I2CA pins + add overlays framework to AMlogic Meson64 2018-12-05 17:35:05 -05:00
Martin Ayotte
677cf44f46 add overlays framework for rockchip 2018-12-05 15:00:44 -05:00
Martin Ayotte
9324bde9b9 fix PMIC_INT_L gpio conflicting with I2C8_SCL in RockPro64 2018-12-05 14:09:24 -05:00
Martin Ayotte
6e51bd890a add overlay-compilation-support to rockchgip64-dev 2018-12-05 11:28:44 -05:00
Martin Ayotte
871bed1a24 add overlay-compilation-support to meson64-dev 2018-12-04 16:25:53 -05:00
Martin Ayotte
0aec4b0588 add configfs for overlay on meson64-dev 2018-12-04 15:10:36 -05:00
Igor Pecovnik
f1349892a8 [ rockpro64 ] Clock to 1.5/2.0 by default 2018-12-04 12:55:13 +01:00
Igor Pecovnik
bfb4353ab4 [ sunxi-dev ] add a few missing kernel modules and upstream patches 2018-12-02 11:01:15 +01:00
Igor Pecovnik
b17bc8516a [ rockchip dev ] Add 1.7 and 1.8 Ghz OPP to RK3288, unlocked on Tinkerboard, various kernel config changes 2018-12-01 21:26:43 +01:00
Igor Pečovnik
bdfe77447f
Merge pull request #1173 from paolosabatino/xt-q8l-v10
Reworked and enabled usb phy reset patch when waking up for rk3288 devices
2018-12-01 20:31:26 +01:00
Igor Pecovnik
367f04f791 [ K4.4 ] upstream patches 2018-12-01 19:39:21 +01:00
5kft
e0f27fff66 [ sunxi-dev ] add default regulator for orangepizero-plus2-h5
Note: by default Orange Pi Zero Plus2 H5 boards are missing part of their regulator
hardware circuit; as such the default regulator is limited to 1.1v.
2018-12-01 15:02:09 +00:00
paolo
88467bad9d Modified xt-q8l-v10 device tree patches to properly source from /dev/null
Reworked assert-phy-reset-when-waking-up patch to fit into 4.19 kernel DWC2 USB driver
Adding usbphy reset lines patch for rk3288.dtsi in both rockchip next and dev kernels
Removed same reset lines from xt-q8l-v10 next and dev device trees
2018-11-30 11:16:50 +00:00
Thomas McKahan
15a1d18415 [ meson64-dev ] Remove the spidev warning that uglies up dmesg for no reason 2018-11-30 00:17:38 -05:00
Thomas McKahan
f928b31d8a [ meson64-dev ] fix Odroid C2 boot, add spidev
Fixes pointing to wrong boot script, adds spidev with 2 chipselects in position of RPI spi0 GPIO
2018-11-29 23:05:19 -05:00
Thomas McKahan
ddc86798c6 [ meson64-dev ] NanoPi K2 update spidev
Sets up spidev on chipselect 1 and 2 of the "spi0" position of the RPI compatible GPIO
2018-11-29 22:29:37 -05:00
Thomas McKahan
b59df82ed1 [ rockchip-dev ] spidev register correction
@Miouyouyou
2018-11-27 00:30:03 -05:00
Thomas McKahan
1a67118530 [ rockchip-dev ] remove unecessary patch causing IRQ error 2018-11-26 23:27:37 -05:00
Igor Pecovnik
b834a166b9 [ rockchip64/rk3399 default ] upstream patches. Tested only for building. 2018-11-26 13:44:49 +01:00
Igor Pecovnik
e7aeffb108 [ rockchip-dev ] Adjust and re-enable broken patches 2018-11-26 09:19:41 +01:00
Thomas McKahan
b6f1503dfd [ tinkerboard ] dev kernel add audio support
- Adds the specific shortname per ASUS to allow controlled enumeration of the onboard USB audio codec

- kernel 4.19 saw some rewriting of the naming code
2018-11-26 01:38:25 -05:00
Thomas McKahan
f48b01a9b0 [ tinkerboard ] Bump Dev to 4.19, update patchset
- Boots, Bluetooth, Reboot OK
- Audio missing
- spidev error (I think it's been here a while)
- disabled both DWC2 patches, added 1008-rockchip-dwc2-usb-partial-power-down.patch from @Miouyouyou
	- Review/test, boards USB hotplug works on boot for Tinker
	- If other circumstances (if any) aren't addressed this way, obviously re-enable.  @paolosabatino
- Plugging in an old U3 USB stick made the scsi CD-ROM driver go insane.  Not a modern problem.
- Strange error on IRQ 56/57:

[    1.477928] WARNING: CPU: 1 PID: 1 at kernel/irq/manage.c:559 __enable_irq+0x54/0x7c
[    1.477935] Unbalanced enable for IRQ 57
[    1.477940] Modules linked in:
[    1.477958] CPU: 1 PID: 1 Comm: swapper/0 Not tainted 4.19.4-rockchip #25
[    1.477965] Hardware name: Rockchip (Device Tree)
[    1.477995] [<c0112c64>] (unwind_backtrace) from [<c010e1d8>] (show_stack+0x20/0x24)
[    1.478016] [<c010e1d8>] (show_stack) from [<c0e40674>] (dump_stack+0x80/0x94)
[    1.478037] [<c0e40674>] (dump_stack) from [<c0125400>] (__warn+0xf0/0x108)
[    1.478055] [<c0125400>] (__warn) from [<c0125470>] (warn_slowpath_fmt+0x58/0x74)
[    1.478075] [<c0125470>] (warn_slowpath_fmt) from [<c018fb50>] (__enable_irq+0x54/0x7c)
[    1.478094] [<c018fb50>] (__enable_irq) from [<c018fbcc>] (enable_irq+0x54/0xa0)
[    1.478113] [<c018fbcc>] (enable_irq) from [<c07d59c4>] (vop_unbind+0x24/0x54)
[    1.478130] [<c07d59c4>] (vop_unbind) from [<c07e3344>] (component_unbind+0x40/0x78)
[    1.478145] [<c07e3344>] (component_unbind) from [<c07e3764>] (component_bind_all+0x1f0/0x238)
[    1.478158] [<c07e3764>] (component_bind_all) from [<c07d3628>] (rockchip_drm_bind+0xac/0x1e4)
[    1.478173] [<c07d3628>] (rockchip_drm_bind) from [<c07e3ab0>] (try_to_bring_up_master+0x15c/0x198)
[    1.478187] [<c07e3ab0>] (try_to_bring_up_master) from [<c07e3d18>] (component_master_add_with_match+0xdc/0x110)
[    1.478201] [<c07e3d18>] (component_master_add_with_match) from [<c07d39c8>] (rockchip_drm_platform_probe+0x1f4/0x2ec)
[    1.478217] [<c07d39c8>] (rockchip_drm_platform_probe) from [<c07ec708>] (platform_drv_probe+0x58/0xa8)
[    1.478234] [<c07ec708>] (platform_drv_probe) from [<c07ea2a4>] (really_probe+0x1e0/0x2cc)
[    1.478253] [<c07ea2a4>] (really_probe) from [<c07ea564>] (driver_probe_device+0x70/0x18c)
[    1.478270] [<c07ea564>] (driver_probe_device) from [<c07ea760>] (__driver_attach+0xe0/0xe4)
[    1.478286] [<c07ea760>] (__driver_attach) from [<c07e81f0>] (bus_for_each_dev+0x84/0xc4)
[    1.478303] [<c07e81f0>] (bus_for_each_dev) from [<c07e9ba8>] (driver_attach+0x2c/0x30)
[    1.478320] [<c07e9ba8>] (driver_attach) from [<c07e95ac>] (bus_add_driver+0x19c/0x220)
[    1.478336] [<c07e95ac>] (bus_add_driver) from [<c07eb4f4>] (driver_register+0x8c/0x124)
[    1.478352] [<c07eb4f4>] (driver_register) from [<c07ec658>] (__platform_driver_register+0x50/0x58)
[    1.478369] [<c07ec658>] (__platform_driver_register) from [<c1346fd8>] (rockchip_drm_init+0x74/0x90)
[    1.478388] [<c1346fd8>] (rockchip_drm_init) from [<c0103200>] (do_one_initcall+0x64/0x288)
[    1.478410] [<c0103200>] (do_one_initcall) from [<c1301370>] (kernel_init_freeable+0x360/0x3fc)
[    1.478428] [<c1301370>] (kernel_init_freeable) from [<c0e55a38>] (kernel_init+0x18/0x120)
[    1.478442] [<c0e55a38>] (kernel_init) from [<c01010e8>] (ret_from_fork+0x14/0x2c)
[    1.478450] Exception stack(0xee975fb0 to 0xee975ff8)
[    1.478461] 5fa0:                                     00000000 00000000 00000000 00000000
[    1.478475] 5fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    1.478486] 5fe0: 00000000 00000000 00000000 00000000 00000013 00000000
[    1.478502] ---[ end trace 390e2ce79ed4d5fa ]---
[    1.478567] ------------[ cut here ]------------
[    1.478585] WARNING: CPU: 1 PID: 1 at kernel/irq/manage.c:559 __enable_irq+0x54/0x7c
[    1.478592] Unbalanced enable for IRQ 56
[    1.478596] Modules linked in:
[    1.478614] CPU: 1 PID: 1 Comm: swapper/0 Tainted: G        W         4.19.4-rockchip #25
[    1.478620] Hardware name: Rockchip (Device Tree)
[    1.478640] [<c0112c64>] (unwind_backtrace) from [<c010e1d8>] (show_stack+0x20/0x24)
[    1.478656] [<c010e1d8>] (show_stack) from [<c0e40674>] (dump_stack+0x80/0x94)
[    1.478674] [<c0e40674>] (dump_stack) from [<c0125400>] (__warn+0xf0/0x108)
[    1.478691] [<c0125400>] (__warn) from [<c0125470>] (warn_slowpath_fmt+0x58/0x74)
[    1.478710] [<c0125470>] (warn_slowpath_fmt) from [<c018fb50>] (__enable_irq+0x54/0x7c)
[    1.478728] [<c018fb50>] (__enable_irq) from [<c018fbcc>] (enable_irq+0x54/0xa0)
[    1.478745] [<c018fbcc>] (enable_irq) from [<c07d59c4>] (vop_unbind+0x24/0x54)
[    1.478760] [<c07d59c4>] (vop_unbind) from [<c07e3344>] (component_unbind+0x40/0x78)
[    1.478774] [<c07e3344>] (component_unbind) from [<c07e3764>] (component_bind_all+0x1f0/0x238)
[    1.478788] [<c07e3764>] (component_bind_all) from [<c07d3628>] (rockchip_drm_bind+0xac/0x1e4)
[    1.478802] [<c07d3628>] (rockchip_drm_bind) from [<c07e3ab0>] (try_to_bring_up_master+0x15c/0x198)
[    1.478817] [<c07e3ab0>] (try_to_bring_up_master) from [<c07e3d18>] (component_master_add_with_match+0xdc/0x110)
[    1.478831] [<c07e3d18>] (component_master_add_with_match) from [<c07d39c8>] (rockchip_drm_platform_probe+0x1f4/0x2ec)
[    1.478845] [<c07d39c8>] (rockchip_drm_platform_probe) from [<c07ec708>] (platform_drv_probe+0x58/0xa8)
[    1.478862] [<c07ec708>] (platform_drv_probe) from [<c07ea2a4>] (really_probe+0x1e0/0x2cc)
[    1.478880] [<c07ea2a4>] (really_probe) from [<c07ea564>] (driver_probe_device+0x70/0x18c)
[    1.478897] [<c07ea564>] (driver_probe_device) from [<c07ea760>] (__driver_attach+0xe0/0xe4)
[    1.478913] [<c07ea760>] (__driver_attach) from [<c07e81f0>] (bus_for_each_dev+0x84/0xc4)
[    1.478929] [<c07e81f0>] (bus_for_each_dev) from [<c07e9ba8>] (driver_attach+0x2c/0x30)
[    1.478946] [<c07e9ba8>] (driver_attach) from [<c07e95ac>] (bus_add_driver+0x19c/0x220)
[    1.478962] [<c07e95ac>] (bus_add_driver) from [<c07eb4f4>] (driver_register+0x8c/0x124)
[    1.478978] [<c07eb4f4>] (driver_register) from [<c07ec658>] (__platform_driver_register+0x50/0x58)
[    1.478993] [<c07ec658>] (__platform_driver_register) from [<c1346fd8>] (rockchip_drm_init+0x74/0x90)
[    1.479010] [<c1346fd8>] (rockchip_drm_init) from [<c0103200>] (do_one_initcall+0x64/0x288)
[    1.479028] [<c0103200>] (do_one_initcall) from [<c1301370>] (kernel_init_freeable+0x360/0x3fc)
[    1.479045] [<c1301370>] (kernel_init_freeable) from [<c0e55a38>] (kernel_init+0x18/0x120)
[    1.479059] [<c0e55a38>] (kernel_init) from [<c01010e8>] (ret_from_fork+0x14/0x2c)
[    1.479066] Exception stack(0xee975fb0 to 0xee975ff8)
[    1.479077] 5fa0:                                     00000000 00000000 00000000 00000000
[    1.479090] 5fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    1.479101] 5fe0: 00000000 00000000 00000000 00000000 00000013 00000000
[    1.479109] ---[ end trace 390e2ce79ed4d5fb ]---
2018-11-25 23:40:23 -05:00
Igor Pecovnik
a06c27f13b [ sunxi-dev ] Small patches cleanup. 2018-11-25 16:57:58 +01:00
aprayoga
e71d1560f0 Helios4: various updates (#1161)
* helios4: next branch use u-boot 2018

use new u-boot based on upstream 2018

Signed-off-by: Aditya Prayoga <aditya@kobol.io>

* helios4: Tweak fancontrol configuration

Adjusted MINSTART and MINSTOP to suit both old and new fan.
Adjusted TEMP threshold so fan would stop or run in minimal speed when
the system idle.
Fixed wrong MINPWM value.

URL:https://wiki.kobol.io/pwm/#configuration-file
Signed-off-by: Aditya Prayoga <aditya@kobol.io>

* kernel: mvebu-next: use upstream helios4 dts

Helios4 device tree has been merged on upstream since 4.19.
Rework the patch to produce same device tree.

URL:https://patchwork.kernel.org/patch/10449393/

Signed-off-by: Aditya Prayoga <aditya@kobol.io>

* Helios4: Use boot-mvebu-next bootscript

Use boot-mvebu-next.cmd that make use of upstream's Generic Distro
Configuration.
Since loadaddr and fdt_addr varibales are no longer required, remove the
patch.

Signed-off-by: Aditya Prayoga <aditya@kobol.io>

* Helios4: mvebu-next: Add workaround for SPI and SATA concurrent access issue

Concurrent access on SPI NOR and SATA drives can lead to unstable SATA.
Therefore as workaround, disable SATA controller when SPI flash access
is needed and make it as user configurable item in armbianEnv.txt

This workaround might applies to Clearfog too.

Refer to
Commit 59af84c07c ("Helios4: Add SPI bootloader install feature
(#1126)")

Signed-off-by: Aditya Prayoga <aditya@kobol.io>

* Bootscripts: Fixed boot-mvebu-next.cmd

The environment setting (armbianEnv.txt) is loaded to RAM located on
${load_addr} but the env import use wrong address (${pxefile_addr_r}).

bootargs still expect ${boot_interface} which carried over from boot-
marvell.cmd. Upstream's distro configuration use ${devtype} instead.

Signed-off-by: Aditya Prayoga <aditya@kobol.io>
2018-11-23 15:39:23 +01:00
Jingchuan Huang
45ef5a8943 Enable WiFi for Firefly RK3399 mainline kernel 2018-11-23 22:09:22 +08:00
Paolo
60b4166a8a Add rk3288 xt-q8l-v10 CSC board (#1158)
This merge request contains various files which add support for xt-q8l-v10 boards (TVBox) equipped with Rockchip RK3288 SoC, AP6330 WiSoC (BCM4330 WiFi + Bluetooth), 2 GB DRAM (LPDDR2 or DDR3), 8 Gb eMMC, Gigabit Ethernet, 3 USB (1 OTG), 1 microSD slot, SPDIF optical output, 1 HDMI.

Kernel patches:

This thouches all three linux-rockchip-* kernelconfigs, just adds brcmfmac and brcmutil modules and remote controller support. default flavor activates rockchip own remote controller driver, next and dev use the mainline GPIO CIR driver (dev has lirc userland support activated too).

About the remote controller, an additional kernel module is added to the existing keymaps which is activated via device tree.

About possibly clashing patches assert-phy-reset-when-waking-up-in-rk3288-platform.patch should be checked against other rk3288 boards because it addresses an errata in rk3288 which causes the USB Host ports to stop responding when exiting from autosleep. On my device if I connect the first USB device when the system is already running, the USB Host gets stuck without this patch. Probably to work correctly on other platforms the device tree should include the proper reset lines of the USB PHYs (for reference, check patch/kernel/rockchip-dev/xt-q8l-v10-add-device-tree.patch starting from line 869).

Patch 1-2-regulator-act8865-add-restart-handler-for-act8846.patch adds a restart handler which allows reboot using SIPC bit on act8846 power regulator. Possibly MiQi board is affected (is reboot working there?), others (tinkerboard) should not care.

Patch brcmfmac-add-ap6330-firmware.patch adds firmware file names for ap6330 , should be harmless in other cases.

Patch 0010-GPU-Mali-Midgard-remove-rcu_read_lock-references.patch is from Miouyouyou. It should be harmless, it was suggested by him to do some tests with devfreq

Other patches just add the proper device trees, Kconfig and bits for supporting the board as a regular kernel supported board and should not interfere with anything else

U-Boot patches:

All the patches for u-boot are per-board, so nothing is added which may interfere with other existing boards here. They include the device tree and u-boot config and also a couple of patches to support the silergy power regulators driving current to CPU and GPU

* Initial commit to provide kernel and u-boot configuration and device trees for xt-q8-v10 as patches
Modification to rockchip config to add initialization bits for xt-q8-v10

* Committing correct path for rk3288_ddr_400Mhz... rockchip blob, moved assembling into another section to produce
immediately an u-boot working binary

* Enabled broadcom fmac driver in rockchip-next config

* Changed name definition of rk3288-xt-q8-v10 board to "TVBox"
Added bits to include support AP6330 and binary firmwares into the final image

* Fixed device tree file name in related patch, added patching of Makefile to produce the device tree binary accordingly

* Fixed xt-q8-v10 device tree patch
Added brcmfmac driver to rockchip dev and default kernel configs

* Syncing with upstream

* Splitted add-xt-q8... kernel patches into two separate patches

* Fixed bad extension while adding dtb in makefile for rockchip-default configuration
Updated device tree patches for all rockchip confs

* Enable mmc0 and usb in u-boot config
Fixed again makefile patch for kernel next

* Adding patches to reset the USB phy when kernel requires a reset, fixes autosuspend issue

* Changed xt-q8-v10 to proper xt-q8l-v10 in every string and every filename
Added power hold to u-boot, so now the device will boot and stay turned on without the need for the OTG cable anymore

* Changed names from 'Q8' to proper 'XT-Q8L-V10' in device tree patch files

* Legacy kernel device tree:
Fixed bluetooth gpio pin clashing
Fixed HDMI gpio pin clashing
Added support for PWM-based IR-Receiver, added driver in kernel default config too
Various other fixes to avoid some complaints from the kernel

* Added booting bluetooth systemd service for AP6330 (xt-q8l-v10) that loads patchram and invokes hciattach
Minor fixes to -next and -dev device trees for xt-q8l-v10

* Disabled OTG USB port in u-boot due to long timeout during initialization
Fixed warning during u-boot dts compilation
Added emmc as second boot device in dts

* Adding myself to licensing

* Committing modifications to device trees

* Fixed dmac_bus_s explicitly set to unused dmac, restored right dmac in xt-q8l-v10 dts only
Change PLL_CPLL frequency in device tree to 408 Mhz to avoid fractional divisor warnings

* Added proper xt-q8l-v10_rk3288 configuration to u-boot, now appearing in config menu and
correctly selectable as a real target
Fixed typo in device tree from rockchip

* Fixed missing semicolon in device tree for default configuration
Fixed patch files for u-boot appending themselves to files on each compilation

* Added bits to enable power to USB ports in u-boot, thus enabling booting from USB devices (only USB host port for now)

* Changed u-boot binary creation using the rockchip SPL properly

* Added boot order for xt-q8l-v10: sdcard, usb0, eMMC, network

* Added bionic:next in beta config for xt-q8l-v10 board

* Changed some minor bits in xt-q8l-v10 device tree files, added missing bits to dev flavour
Added patches to introduce fairchild fan53555/silergy82x regulators to u-boot and enabled in xt-q8l-v10 device tree

* Updated u-boot to version v2018.03 for xt-q8l-v10. Other rk3288 boards will gain v2018.05 from main armbian fork
Removed pre-reloc labels in u-boot device tree because they are not necessary since we don't use u-boot SPL for xt-q8l-v10
Removed vmmc-supply and vqmmc-supply in u-boot device tree to avoid hang on boot

* Tidied up a bit device trees, in particular some modifications are made to power regulator properties comparing them against the original q8l device tree
Removed unnecessary dummy regulator, removed unnecessary capacities to embedded eMMC
Disabled unused USB host
Removed vmmc-supply and vqmmc-supply from emmc section because it causes hang in u-boot v2018.03 and newer

* Restored previous regulator in u-boot dts
removed assert phy reset USB patch from rockchip-dev because of some upstream incompatible changes

* Added patch to enable IRQ for Midgard drivers which caused massive slowdown on dev kernel
Changed u-boot if-code for xt-q8l-v10 in rockchip.conf
Removed references to rk3288-linux.dtsi in xt-q8l-v10 device tree for default kernel

* Committing effective removal of USB reset assert for dev kernel
Committing changes to u-boot device tree

* Added patch to disable USB power down for rockchip devices broken on latest kernel

* Removed usb dwc2 patch to reinject it from specific branch

* Reverting some voltage changes for xt-q8l-v10 device in rockchip-dev

* Reverting some voltage changes for xt-q8l-v10 in u-boot section

* Added patch to make USB ports working again on rockchip devices with mainline
kernel >= 4.18

* Changed the 0 into false

* Moved xt-q8l-v10 u-boot patches into board_xt-q8l-v10 directory

* Changed some minor things in rockchip-dev dts for xt-q8l-v10, added mali midgard driver to dev kernel config

* Added devfreq support for Mali in rockchip-next flavour

* Remove manually applied patch (0007-drivers-drm...) because it has been
added to armbian main repo

* Removed duplicate patch which has added to main armbian repository

* Tidied up regulators for default/next/dev rockchip flavours for xt-q8l-v10, disabling those regulators which are not tied to anything
Enabled voltage regulator to make SPDIF connector work (thus not tested because I have no DAC)
Changed rockchip-dev and rockchip-next config files to enable gpio-ir-receiver module to enable bundled remote IR controller, including kernel patch for keymap

* Enabled back regulator REG7 to allow propert bluetooth functionaly

* Minor changes to u-boot device tree for xt-q8l-v10
Added patch to set act8846 SIPC to correctly reboot the device (thus require some power-hold at reboot to make reboot fully working)

* Fixed u-boot device tree

* Added configuration bits to support TPL in u-boot for xt-q8l-v10 (TPL is thrown away though) to allow faster reboot times and achieve a working reset feature activating power hold gpio pin as soon as possible. gpio pin is hardwired into spl_board_init() u-boot code because it is not possible to let it work via device tree
Fixed OTG USB port in u-boot, allowing devices detection and booting
Added proper vbus-supply properties for USB controllers in u-boot dts, so u-boot activates USB vbus itself

* Fixed dts makefile patching for next and dev rockchip kernel

* Fixed fdt_file renamed to fdtfile in armbianEnv.txt

* Changed xt-q8l-v10 board config as per recomendations

* Moved xt-q8l-v10 configuration to CSC
Restored linux-rockchip-* configurations, enabled brcmfmac driver, GPIO remote controller driver and lirc kernel compatibility interface
Polished a bit rockchip.conf

* Add patch to brcmfmac driver to search for ap6330 firmware
Removed copy-work from rockchip.conf about ap6330 firmware for xt-q8l-v10 and tidied up
Avoid using brcm_patchram_plus in ap6330-bluetooth-service putting proper firmware file in /etc/firmware for hciattach do firmware uploading itself

* Fixed bcm4330 bluetooth firmware linking for hciattach used by ap6330-bluetooth.service

* Removed foreign test patches from xt-q8l-v10 u-boot directory
2018-11-22 07:04:19 +01:00
Igor Pecovnik
66e438c78a [ sunxi-dev ] Remove deprecated patch which removing fixes DVFS on Orangepi Zero 2018-11-22 06:18:42 +01:00
Igor Pecovnik
8966acc65c [ sunxi-dev nanopineo2 ] set min and max voltage to 1.1V 2018-11-21 20:03:11 +01:00
Igor Pecovnik
e09e8c2517 [ sunxi-dev ] Add missing regulator to Orangepi+ 1 and 2 2018-11-21 15:46:44 +01:00
Igor Pecovnik
2fe4470e77 [ sunxi-dev & general ] Remove deprecated patch, add regulator to Neo2 v1.0, set serial console to default where this is logical 2018-11-21 13:48:13 +01:00
Igor Pecovnik
a3fb173a62 [ sunxi-dev ] Remove deprecated patch 2018-11-21 09:33:10 +01:00
Thomas McKahan
0ed6ed5194 [Meson64] Dev patch adjustment, bugfix 2018-11-21 01:48:44 -05:00
Martin Ayotte
2d164bd9e6 bring a copy of BergMicro patch from NEXT to DEV 2018-11-20 15:51:42 -05:00
Igor Pecovnik
78999fc94b [ K4.14 aufs ] Upgrading AUFS patch on kernel 4.14.y 2018-11-20 19:56:43 +01:00
Igor Pecovnik
aec787b7f5 [ sunxi-dev ] Add regulator to FA K1+ and HDMI & battery to Teres-A64 2018-11-20 11:03:14 +01:00
Thomas McKahan
da93694952 [Meson64] Dev kernel patch updates
Current patchset from Neil Armstring, some issues being worked through

	- HDMI CEC EDID Power-on
	- clock errors on dvfs
2018-11-19 22:51:59 -05:00
Igor Pecovnik
5fe25b6653 [sunxi-dev] remove deprecated patch 2018-11-19 18:47:58 +01:00
Igor Pecovnik
f6f4afadac [ orangepiprime ] DT adding a regulator and some clenaup. It boots without hanging now. 2018-11-18 20:41:33 +01:00
5kft
1301f9f8c2 [s5p6818-next Fire3] implemented support for board power-off via PWRKEY 2018-11-18 16:52:31 +00:00
5kft
b0f92ee58c [H5 dev] fixed Orange Pi Zero Plus regulator patch DT for 4.19.y
this change corrects the regulator definition patch in the DT; this enables
correct CPU frequency scaling operation with the new kernel
2018-11-18 03:12:32 +00:00
5kft
06451d37a6 [H5 dev] updated 1.3GHz fixed voltage (1.3v) overclock overlay for kernel 4.19.y
the new cpu opp table in 4.19 now supports frequencies up to 1.368GHz, so this change
updates the 1.3GHz overclock overlay as appropriate.  overlay name has been changed
to "cpu-clock-1.3GHz-1.3v" as this overlay is only needed for boards that provide a
fixed-voltage GPIO regulator/switcher that operate at 1.1v/1.3v.
2018-11-17 17:41:44 +00:00
Igor Pecovnik
cd33935840 [ orangepiwin and olinuxino a64 ] enabling batery, usb, audio, ... 2018-11-16 23:26:30 +01:00
Igor Pecovnik
8edf8c56a8 [sunxi-dev] Adjusted patchset. Tested on H3, H5, A64, A83T, H6, ... focused only on basic features such as dvfs, hdmi, ... Kernel sources are switched to @megous and many patches were taken from @anarsoul branch, mostly regarding Pinebook/A64 which will take some time to get upstream. It's a mess which will be eventually sorted out or merged up. 2018-11-15 14:43:32 +01:00
Thomas McKahan
9b61ae1434 Bugfix, keeping day job 2018-11-14 22:36:36 -05:00
Tony
0461fa8a7b
Rename 5000-add-link-miniarm-dtb to 5000-add-link-miniarm-dtb.patch
it's good to put file extensions on things that need them.
2018-11-14 22:17:09 -05:00
Tony
87a8e43b75
Re-add the symlink to miniarm dtb
removing it breaks older installs on boot, as it's hard-coded.
2018-11-14 22:09:02 -05:00
Martin Ayotte
70bb483a3f fix realtek-8189fs for 4.19.y 2018-11-14 09:55:45 -05:00
Martin Ayotte
e5712c5baa add h6-spi-add-cs1/h6-spi-jedec-nor overlays 2018-11-13 18:01:16 -05:00
Martin Ayotte
8403ec9bf7 add h6-spi-spidev h6-w1-gpio overlays 2018-11-13 17:17:03 -05:00
Martin Ayotte
e89b17e284 add UARTs/I2Cs H6 overlays + disable them in Main DT 2018-11-13 16:47:06 -05:00
Igor Pecovnik
ced3bf0a40 [ sunxi-dev ] Moving to 4.19.y Tested: H3, H5 (unstable?!), H6(no hdmi), R40 (no hdmi), A83T, A64, ... some wireless drivers were left. They need to be adjusted for 4.19.y 2018-11-13 11:50:40 +01:00
Thomas McKahan
08caff89c3 DTS: Rockchip Next/Dev small bugfix
Addresses were wrong, probably a mistake from the 64-bit DTS change for RK3288.  This takes care of dmesg errors and reaching the I2C devices onboard.

@miouyouyou
2018-11-13 02:11:02 -05:00
Martin Ayotte
7c85b3b53e add H6 I2Cs and UARTs 2018-11-12 17:26:43 -05:00
Igor Pecovnik
f04ca8bd58 [mvebu dev] moving to 4.19.y 2018-11-12 17:21:05 +01:00
Igor Pecovnik
0c9b42f10d [ rk3399 default bugfix ] adjusting patches and config 2018-11-09 07:05:53 +01:00
Igor Pecovnik
2107093b14 [bugfix] readd mistakenly removed patch for meson64 dev 2018-11-09 06:34:55 +01:00
Igor Pečovnik
efa87b1fb8
Bananapi R2 (#1151)
* Initial commit BPi R2:
Currently working/not working:
- u-boot:
	- builds with minor issues
	- patching and cleanup happens on 'https://github.com/chwe17/u-boot-mt'
- next (https://github.com/frank-w/BPI-R2-4.14)
	- boots with minor issues
	- ETH doesn't work with nm
	- sata works
	- no wifi (needs driver from: https://github.com/frank-w/BPI-R2-4.4)
	- USB not working (xhci-mtk 1a1c0000.usb: fail to get vbus) needs investigation
	- appended device tree is needed due to u-boot doesn't work with fdt (kernelpacking needs adjustemts e.g. cat zImage dtb > zImage-dtb
- dev (kernel.org master)
	- untested, needs adjustments in config (e.g. CONFIG_LOCALVERSION="")
	- since no defconfig is available config is based on frank-w 4.16 Kernel
	- Kernel builds without issues
	- manual packing of kernel and dtb similar to next
The board boots, serial console is available but everything else must be expected as not working!
- to do:
	- u-boot needs a cleanup
	- binary blobs needs investigation
	- eMMC is **not tested** and needs for sure adjustements! (don't try nand-sata-install!!!)
	- bootscript isn't tested (only manual boot over u-boot console at the moment)
	- both kernelconfigs aren't 'armbian standard' modules need to be adjusted

Only use it when you know're familiar with u-boot commands!

* Small fixes, add bootscript
- add bootscript for patched u-boot (needs patching of u-boot, currently under investigation and not working properly)
- revert cat zImage dtb > zImage-dtb (cause not working)
- first cleanup of dev kernelconfig (remove CONFIG_LOCALVERSION="")

* Minor fixup
-kernelconfig for next was adjustet so that USB is recognized
-firt bootscripts was written to boot with source command (doesn't work 100% reliable)
-slightly adjustd boardconfig (e.g. bootscript)
must still be considered as early wip!

* small update (FDT works now)
-working bootscript
-adjusted boardconfig
-earlyprintk activated in kernelconfig

* First attempt to get ETH working
-all interfaces are bridged together
-performance sucks at the moment (not clear if it's related to insane network configuration or I miss something obvious... :P  )

* Major update (see below for changes):
- 4.14 kernel was dropped due to https://forum.armbian.com/topic/7296-bananapi-r2-csc-mt7623-as-new-boardfamily/?do=findComment&comment=55194 and following
	- boot.cmd was adjusted to 'clean' mainline behaviour
	- next build opition and its defaultconfg was removed (at the moment dev only)
- rework of the network default configuration
	- default configuration will be over network.d **not** NetworkManager
	- per default all wired interfaces are bridged together to br0 (still wip)
	- old 'interfaces' configuration was removed
- boardconfig is adjusted (no desktop until I've prove that HDMI works)
- what works/ not works:
	- board boots up without manual u-boot hacking
	- SATA, USB3 (massstorage) is tested and works without issues
	- due to rework of network configuration this is still wip and must be considered as 'not working'

* moved to network.d for configuration of wired network
- renamed bsp packages
- blacklist wired interfaces for NetworkManager
- defined all wired interfaces as br0 in systemd/network
- defined networkd als default renderer for bionic (not tested yet!)

* The houskeeping commit:
- BOARDFAMILY was renamed to mt7623 instead of mt7623n (including patchfolders etc.)
- Network.d has no fully control over wired networkes (block NM from controll, start networkd on firstrun etc.)
- Further cleanup kernelconfig
	- CPU temp is visible from userspace
	- missed switch driver loaded
	- cryptodrivers are there (not tested)
	- still a bunch of work

* Add DMA mem alloc patch
-under testing!

* Add next option (4.17.y) stick dev to master (4.18-rc1 untested)

* minor fixes:
- solve kconfig issues between 4.17 and 4.18
- stick next branch to 4.18
- first attempts to bring up gmac2 (doesn't work currently)

* switch to upstream u-boot
- fix ext4 dependency in patch series
- kernelpacking currently broken

* add bootz & cmd_ext4

* resolved merge conflict

* apply ugly u-boot patch, fix bootscript

* remove unneeded stuff, apply forgotten stuff

* update config for dev & clean up boardconf (remove xenial)

* - drop dev and next, move into default. There is no intention to provide stock kernel
- fixed board description, renamed to WIP, where it can be merged later
- packing boot firmware to the u-boot package
- docker dependencies (aufs will be added later. not essential)
- attached to 4.19.y
- loading armbianEnv.txt
- UUID support (tested)
- enabled ZRAM (tested)
- enabled eMMC install (not quite working properly yet)
- Bionic has some issues with systemd networking.

* gov to ondemand (thermals are conservative anyway), remove unneeded kernelconfigs

* Added AUFS, remove debug from kernel boot parameters, add ath10 mPCI support (which works)

* add power-off-key and rtc

* Added onboard wireless, but it's enabling is disabled by default. Too fragile.

* Change to CSC target
2018-11-08 18:51:42 +01:00
Igor Pecovnik
93ae1d4986 [ meson64 and odroidc2 ] Moving C2 to EOS, remove its default kernel and move to meson64 family. Bump meson64 DEV to 4.19.y and disable non-working patches. Tested C2 on NEXT and DEV (no HDMI output?) http://ix.io/1req 2018-11-07 16:12:05 +01:00
Igor Pecovnik
e5d21eb35c [udoo-neo and udoo] Drop Udoo neo completly, drop udoo default and dev kernel 2018-11-07 14:11:24 +01:00
Igor Pecovnik
a26ccdee62 [odroid xu4] Drop kernel 3.10.y, default -> offical 4.14.y, next = vanilla 4.19.y http://ix.io/1rcZ & dev = n/a 2018-11-07 11:11:51 +01:00
Igor Pecovnik
25edddc583 [s5p6818] Remove unused kernel sources with patches 2018-11-06 19:44:44 +01:00
Igor Pecovnik
32ce48f01d [cubox-i] Drop K3.14.y and move 4.14.y to default, next -> 4.19.y, dev -> 4.19.y + mainline u-boot. Adjust 8188EU for K4.19.y 2018-11-06 18:39:31 +01:00
Igor Pecovnik
4188a0b260 [espressobin] Cleanup and bump to 4.19.y 2018-11-05 13:26:40 +01:00
Igor Pecovnik
2ceaa6e8bd [bugfix] This commit fixes Bluetooth on Tinkerboard (tested) and most likely on z28Pro. Thanks to @Staars 2018-11-04 13:29:48 +01:00
Staars
a4e67f23ab make 8822bs compile again with gcc 7.2.1 2018-11-01 14:16:03 +00:00
Thomas McKahan
83713f3414 Rockchip64-Dev: Renegade update device tree
Still does not boot, goes into boot loop at U-boot line:  "Starting Kernel..."  More work needed.
2018-10-31 02:13:01 -04:00
Thomas McKahan
1e8023fb0d Meson64 Dev packaging fix
Missed from the Next patchset
2018-10-30 21:50:57 -04:00
Thomas McKahan
e72ddf2808 Meson64 enable dev building, update dev patches
Adds preliminary patches for 4.19
	Known Issues:
	-	Does not like a lot of HDMI adapters

	Needs tested by anyone with a Le Potato, Odroid C2, or Nanopi K2
2018-10-30 21:08:30 -04:00
Igor Pecovnik
385d464131 [mvebu default] Upstream patches 2018-10-26 16:15:48 +02:00