Commit Graph

2470 Commits

Author SHA1 Message Date
Martin Ayotte
471b2402b9 switch Sunxi-DEV branch to 5.0.y 2019-03-14 16:55:11 -04:00
Martin Ayotte
0e6909cf12 allow DEV branch for Pinebook 2019-03-14 16:54:34 -04:00
Zhang Ning
51a8a6945c fix directly run pyc error
for #1309 issue 1

due to error when directly run pyc, change to python *.pyc, then no error.

Signed-off-by: Zhang Ning <832666+zhangn1985@users.noreply.github.com>
2019-03-13 09:38:14 +08:00
Igor Pecovnik
8db3816175 [ rk3399 ] Change cameras from module to build-in, otherwise compilation breaks 2019-03-10 18:02:58 +01:00
Igor Pecovnik
bedad2582d [ rk3399 nanopi ] enable cameras 2019-03-10 14:44:01 +01:00
Igor Pecovnik
d7b601b63f [ rk3399 default ] patchset adjustement 2019-03-10 13:55:12 +01:00
Martin Ayotte
ad868140cf initial commit for OrangePi3 WIP 2019-03-09 11:49:43 -05:00
Igor Pecovnik
ee44b9c62b [ sunxi-next ] Enable apparmor and selinux support and a tiny Debian locale bugfix 2019-03-08 18:50:27 +01:00
Martin Ayotte
fa232d17ed add PPP/SLIP to Rockchip64 2019-03-08 11:13:44 -05:00
ThomasKaiser
e871577202 Enable optional zram backing device 2019-03-08 16:40:34 +01:00
Martin Ayotte
5cabcca6b5 fix fdtfile double rockchip path when reverting overlay 2019-03-05 15:45:18 -05:00
Martin Ayotte
a66a5958b5 update rk3399.conf to use 4.20.0-1090-ayufan 2019-03-04 12:19:33 -05:00
Igor Pečovnik
a87760ef00
Merge pull request #1302 from helios-4/helios4-wol
[ helios4 ] fix helios4-wol.service copy target path
2019-03-04 06:37:37 +01:00
Gauthier Provost
21b9a79b55 [ helios4 ] fix helios4-wol.service copy target path 2019-03-04 11:39:47 +08:00
Leonidas P
e522f5857a rockchip64: update ayufan source
https://github.com/ayufan-rock64/linux-kernel/releases/tag/4.4.154-1134-rockchip-ayufan
2019-03-04 01:39:31 +02:00
Gauthier Provost
194d887ab1 [ helios4 ] Enable WoL for eth0 2019-03-02 22:59:36 +08:00
sergey
fe31cc34e3 add nftables and scsi modules 2019-02-25 23:43:38 +03:00
Igor Pecovnik
7e5bcdc0de [ sunxi/sunxi64 ] Upstream patches and config adjustement 2019-02-25 08:41:53 +01:00
lanefu
cca610913e
Merge pull request #1283 from seregaxvm/master
kernel add netfilter modules
2019-02-24 22:31:32 -05:00
sergey
f44708703c linux kernel add netfilter modules 2019-02-24 23:42:46 +03:00
Leonidas P
66bc5d0c7c rockchip64: Update ayufan sources
https://github.com/ayufan-rock64/linux-kernel/releases/tag/4.4.154-1132-rockchip-ayufan
https://github.com/ayufan-rock64/linux-mainline-kernel/releases/tag/4.20.0-1090-ayufan
2019-02-24 17:42:08 +02:00
Leonidas P
f4e6e2ffd9 Upstream patches [K 4.4]
4.4.175 -> 4.4.176
2019-02-23 16:51:14 +02:00
Leonidas P
32294ae638 rockchip64-default: Update ayufan tag
https://github.com/ayufan-rock64/linux-kernel/releases/tag/4.4.154-1130-rockchip-ayufan
2019-02-21 16:10:33 +02:00
Leonidas P
e08c9a9e46
Upstream patches [K 4.4] (#1291) 2019-02-21 03:36:47 +02:00
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
Andrei Laperie
d84a080950 Orange Pi R1 - set BOOTCONFIG to orangepi_r1_defconfig
configuration file for Orange Pi R1 was referring to Pi Zero as
BOOTCONFIG - As a result wrong device tree file was used which
made some of the hardware features unavailable or configuired
incorrectly
2019-02-19 06:50:44 +00:00
Martin Ayotte
a076a06667 SERIAL_SC16IS7XX 2019-02-18 16:07:51 -05:00
Leonidas P
a4dc6dec36
rockchip64-dev: update ayufan tag
https://github.com/ayufan-rock64/linux-mainline-kernel/releases/tag/4.20.0-1088-ayufan
2019-02-17 03:52:51 +02: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
Igor Pecovnik
d4f572272e [ sunxi ] Move legacy builds back to last known working u-boot 2018.05 until its not resolved why legacy kernels are not booting anymore with 2018.11, 2019.01, ... 2019-02-09 19:20:36 +01:00
Leonidas P
4e6ac0a601
Update linux-rockchip64-default.config 2019-02-09 02:43:37 +02:00
Igor Pecovnik
53fcb9852c [ Wireguard fix ] adding a patch for K4.4.y and enabling it back on those previously broken ones 2019-02-07 19:42:31 +01:00
Igor Pecovnik
fce752771e Merge branch 'master' of https://github.com/armbian/build 2019-02-07 15:27:57 +01: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
Martin Ayotte
90cd2391eb
Merge pull request #1270 from MikeTuev/master
add TOUCHSCREEN_ADS7846 to both sunxi-next and sunxi-dev
2019-02-07 08:20:24 -05:00
Mike Tuev
77aeeeeec1 add TOUCHSCREEN_ADS7846 to both sunxi-next and sunxi-dev 2019-02-07 14:19:21 +05:00
Igor Pečovnik
b8bad56fdc
Disable wireguard on rockchip64
https://github.com/armbian/build/issues/1268
2019-02-07 07:15:19 +01:00
Igor Pecovnik
1541de32b8 [ rk3399 ] Enable bluetooth on M4, T4, Neo4, ... 2019-02-06 17:58:17 +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
Igor Pečovnik
a684da2a55
Update linux-sunxi-dev.config 2019-02-05 07:35:42 +01:00
lampra1
13eaa3e8db
Enable CONFIG_MAGIC_SYSRQ for next sunxi kernels 2019-02-04 22:57:34 +02:00
Darina Toda
ef7f84f47d Add CEC to rockchip64 kernel and kernel configs to enable it 2019-02-03 20:03:36 +00:00
chwe17
864de31d5c bump u-boot to 2019.01 2019-02-02 05:16:41 +01:00
Igor Pečovnik
434eb4d51f
Merge pull request #1259 from ManoftheSea/nftables_masq
corrections, added ipv6 netfilter modules
2019-01-31 19:40:23 +01:00
Derek LaHousse
eaa5d66f2b corrections, added ipv6 netfilter modules 2019-01-31 13:28:34 -05:00
Igor Pecovnik
556eb213c1 [ meson64-dev ] remove deprecated patch 2019-01-31 18:21:11 +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
André Heßling
dbe31e4c81
add RTC_DRV_DS1307 to config 2019-01-30 09:15:37 +01:00
André Heßling
cc112dd06c
add RTC_DRV_DS1307 to config 2019-01-30 09:08:43 +01:00
Denis
19eb37608d
Update linux-sunxi64-dev.config 2019-01-30 00:05:27 +03:00
Denis
a9615308d2
Update linux-sunxi64-next.config 2019-01-29 20:29:53 +03:00
Martin Rowe
62deeacdff Re-enable USB_NET_PLUSB in linux-mvebu dev and next
Enables use of Prolific USB-to-USB bridges which was only available in default kernel.
2019-01-29 12:09:25 +10:00
Igor Pecovnik
7468eb23ab [ wireguard ] add to config, move Tinkerboard to stable branch, add upstream patches 2019-01-28 20:47:37 +01:00
Derek LaHousse
064de7f65a Add needed modules for nftables masquerade 2019-01-28 13:53:38 -05: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 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
Leonidas P
046b5b6dba
Update linux-rockchip64-default.config 2019-01-26 22:35:14 +02:00
Martin Ayotte
d1b4951d51 add USBIP stuff in rockchip/rockchip64 2019-01-26 14:01:15 -05:00
Martin Ayotte
9320770550 add RTC_DRV_PCF8563 to both meson64-next and meson64-dev 2019-01-26 09:48:38 -05:00
Martin Ayotte
d1f8564edb add RTC_DRV_PCF8563 to both sunxi-next and sunxi-dev 2019-01-26 09:40:54 -05:00
5kft
fd3b83136b [ sunxi64-next ] enabled CONFIG_LEDS_TRIGGER_ACTIVITY in the kernel config 2019-01-26 13:59:58 +00:00
Thomas McKahan
e53eedc2cb [ rockchip-dev ] select rockchip-mpp experimental drivers 2019-01-25 21:39:49 -05: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
Piero Ottuzzi
967c7be28c Using 100HZ for odroidc1 kernel configuration 2019-01-24 14:01:28 +00: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
98180b9281 [ sunxi* ] AP bugfix for 8723BS and upstream patches 2019-01-22 20:44:03 +01:00
Igor Pecovnik
a1c19b3ca1 [ general ] adjust a few kernel configs 2019-01-22 08:50:41 +01:00
Tony
25799d76b2
Update odroidc2.conf
add dev target for S905 as it is slightly different than S905X, should be tested.
2019-01-21 22:36:23 -05:00
Thomas McKahan
38b632f284 [ meson64-dev ] update config 2019-01-21 17:18:19 -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
Richard Kojedzinszky
0c69ec0cda Enabled XFS filesystem support
Fixes #1227
2019-01-20 09:36:13 +01:00
Igor Pečovnik
db9f512f7d
Merge pull request #1238 from ManoftheSea/OCD_netdevs
Make bonding and dummy modules loadable instead of innate
2019-01-19 09:39:58 +01:00
Derek LaHousse
ceb7d9a83a Make bonding and dummy modules loadable instead of innate 2019-01-18 21:35:28 -05:00
Derek LaHousse
efcc388caf Add compiling netfilter modules to allow nft masquerade 2019-01-18 17:14:10 -05: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
Aditya Prayoga
9116aa2da3 helios4: Remove fancontrol patch
After some discussion, it is no longer needed to put the fan to low
speed / stop during exit. So remove the patch that alter default
behavior during exit.

[URL]
https://forum.armbian.com/topic/6033-helios4-support/?do=findComment&comment=69732
2019-01-18 02:16:00 -08:00
Aditya Prayoga
aa91c9b7e6 kernel: mvebu-next: Enable offload support for the async_tx api
Without enabling this support, the hardware XOR (MV_XOR) is not used by the
system. It is enabled in mvebu-default.config

Some discussion,
https://forum.armbian.com/topic/6033-helios4-support/?do=findComment&comment=69649
2019-01-18 02:14:40 -08:00
Martin Ayotte
25071cd65a swtch rockchip u-boot to v2018.11 2019-01-17 18:44:58 -05:00
Martin Ayotte
d39df278c6 switch u-boot-rk3999 to v2018.11 2019-01-17 14:33:27 -05:00
Igor Pečovnik
8fb306628c
Merge pull request #1218 from alexreinert/rockchip64_dev_enable_usb_serial
Enable USB serial drivers on Rockchip64 dev kernel (Fixes #1217)
2019-01-17 18:17:12 +01:00
Jingchuan Huang
d51ab9d5b1 Enable BBR and NET_SCH_FQ for linux-sunxi-next 2019-01-16 23:35:45 +08:00
Igor Pecovnik
730c1f6f4d [ meson64-next ] enable some wireless adaptors 2019-01-16 16:12:59 +01:00
JMCC
01571c0a4c
Lower load_addr for boards with only 1GB RAM
Setting load_addr to "0x44000000" (1088 MiB) is too high for boards with only 1GB of RAM, and causes boot failure. I tried some lower values, until I found "0x34000000" (832 MiB) to work. I made quite big steps, so we probably could find something slightly higher to work too, but I see no reason why we would need to do it.

Reference: https://forum.armbian.com/topic/8829-le-potato-c2-k2-419-lts-testing-thread/?do=findComment&comment=69850
2019-01-16 02:47:00 +01:00
softwarecreations
0812e7a8bb
Enabled/module'd/added options for traffic shaping/scheduling
**Reason for PR**
These boards are well suited to being used as a router/AP doing traffic filtering or shaping etc.
The modules I've added make it possible to use any traffic scheduling features provided by the kernel.

**Kernel has been tested with this config**
I have built the kernel with this config and tested it on the NanoPi Neo 2 with success.
`Linux nanopineo2 4.19.13-sunxi64 #5.71 SMP Tue Jan 15 15:04:02 UTC 2019 aarch64 aarch64 aarch64 GNU/Linux`

**Almost zero memory usage increase**
I only changed a few options (as necessary) to Y, the rest are M (module).

**Please note**
I DID have to edit the kernel config by hand because I tried adding all traffic scheduling options in the kernel config menu, but it didn't provide the necessary changes to enable traffic control kernel options. Later when I checked /boot/config-4.19.13-sunxi64 all the traffic control options were still missing/disabled. AND also a lot of options needed did not exist in the original file.
So I edited the default file, exactly as it appears in this pull request.

**Source of missing options**
The options added can be found in https://github.com/torvalds/linux/blob/master/net/sched/Makefile and a few were listed here https://serverfault.com/questions/536464/what-kernel-module-to-compile-for-getting-qos-service-on-linux
2019-01-15 18:17:01 +02:00
Martin Ayotte
9363e3ec4d u-boot v2018.11 migration + tons of patches touchups 2019-01-14 16:52:22 -05:00
Igor Pecovnik
96d5bb2c20 [ meson64 ] Bugfix for packaging patch, adding proper AUFS patch 2019-01-11 20:51:01 +01:00
Igor Pecovnik
12d18fb96d [ meson64 ] also add this oney 2019-01-11 19:16:11 +01:00
Igor Pecovnik
add2575902 [ meson64 ] build only NEXT kernel images, disabling nightly for a while 2019-01-11 19:14:01 +01:00
Thomas McKahan
e8352637ef Merge branch 'master' of https://github.com/armbian/build 2019-01-11 02:29:29 -05:00
Thomas McKahan
2ed2e50e56 [ rockchip-next ] update to 4.19 2019-01-11 02:29:02 -05:00
Igor Pecovnik
d6c7a3f2d7 Enable few more targets, move Lime64 to supported 2019-01-11 08:27:04 +01:00
Alexander Reinert
47228233ad Enable USB serial drivers on Rockchip64 dev kernel (Fixes #1217) 2019-01-10 17:37:55 +01:00
Igor Pecovnik
95380d2cfb Enabling more targets 2019-01-10 10:21:36 +01:00
Igor Pecovnik
1ec3281685 [ Pinebook ] Change targets to mainline only 2019-01-10 09:57:17 +01: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
Tony
e3468a6faa
[ meson64-dev ] roll back to 4.19
need to finish stabilizing and move to next/default
2019-01-09 22:32:14 -05:00
Igor Pecovnik
ad61f953d8 [ board config ] Manipulating build target due to DEV-NEXT changes 2019-01-09 23:43:30 +01:00
Martin Ayotte
f8da17a3e9 switch DEV to 4.20.y 2019-01-09 10:33:16 -05:00
Igor Pečovnik
e6d90536d1
Update sun50iw6.conf 2019-01-09 16:16:40 +01:00
Martin Ayotte
c6e7f4fa45 add NEXT to orangepioneplus/orangepilite2 2019-01-09 10:14:05 -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 Pečovnik
ccf7f50b9b
Merge pull request #1212 from helios-4/helios4_update
Helios4 update
2019-01-08 07:19:52 +01:00
JMCC
5ac07a481a
Merge pull request #1213 from teacupx/master
Set performance GPU devfreq governor for RK3399
2019-01-05 21:46:09 +01:00
JMCC
e6563d44bd Set performance GPU devfreq governor for RK3399 2019-01-05 00:47:20 +01:00
Martin Ayotte
36678df816 add rkspi_loader.img generation in u-boot 2019-01-04 18:24:29 -05:00
JMCC
78d2d8fc24
Merge pull request #1209 from teacupx/master
Set permissions for multimedia nodes in RK3288 & RK3399
2019-01-04 10:08:44 +01:00
alpha
3fcaee4cd3 Espresso: Adding snapshot and mirror/raid for lvm disk 2019-01-03 22:39:11 +01:00
JMCC
14282dae08 Set permissions for multimedia nodes in RK3288 & RK3399 2019-01-03 20:27:34 +01:00
Gauthier Provost
00417197dd [ helios4 ] Add correct cesa module in /etc/modules 2019-01-03 17:31:05 +08:00
Igor Pečovnik
0f791db587
Merge pull request #1206 from ssslonnn/patch-1
Update linux-rockchip-next.config
2019-01-02 19:17:23 +01:00
Martin Ayotte
ed275fcd44 lower sdcard speed to fix random failure 2019-01-02 11:31:56 -05:00
ssslonnn
804207a23c
Update linux-rockchip-next.config
drivers for usbip-utils
2019-01-02 11:19:24 +02:00
Thomas McKahan
75e1ed65a8 [ rockchip64-dev ] update config
add codec for Rock Pi 4
2019-01-02 01:42:02 -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
1bb000a7fd
Merge pull request #1204 from hjc4869/master
Enable NETFILTER_XT_SET for linux-rockchip64-dev to align with other kernel configs.
2019-01-01 18:08:45 +01:00
Martin Ayotte
7e6889c39e fix rockpi-b4 board name in post-u-boot functions 2019-01-01 11:18:56 -05:00
Martin Ayotte
efc1bad036 add new RockPi-4B 2019-01-01 10:01:45 -05:00
Jingchuan Huang
835b62121d Enable NETFILTER_XT_SET for linux-rockchip64-dev to align with other kernel configs. 2019-01-01 20:05:28 +08:00
Martin Ayotte
19b61744f6 switch RK3399 branch to Ayufan's 4.20.0 2018-12-31 12:29:04 -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
Igor Pecovnik
2eb56c6f8d [ pinebook / teres ] Mainstream ATF is broken, switching back to last known working 2018-12-27 11:27:48 +01:00
Igor Pecovnik
6a03dd4c0f [ rockchip64 ] adjust source kernel tag to most recent one 2018-12-26 12:50:06 +01:00
Boris Rybalkin
98298362a0
CONFIG_SQUASHFS_XZ=y
Snap support
2018-12-26 11:32:39 +00:00
Martin Ayotte
7c26d3f374 initial commit for orangepi-rk3399.wip 2018-12-24 11:09:12 -05:00
Martin Ayotte
758db7522a initial commit for orangepi-rk3399.wip 2018-12-24 11:06:59 -05:00
Igor Pečovnik
5c0e21732a
Merge pull request #1198 from sigmaris/xu4_ethernet_rps
[ odroid xu4 ] use udev rules to set ethernet rps
2018-12-24 10:08:52 +01:00
Igor Pecovnik
bcfb5cf29b [ helios4 ] tiny fix which causes problems in reworked script in which board configuration can overrride. In current script it doesn't change anything. 2018-12-24 09:45:42 +01:00
Hugh Cole-Baker
beef42c6ef [ odroid xu4 ] use udev rules to set ethernet rps
In Debian Stretch, among others, udev's "predictable interface naming" has been
adopted, meaning the onboard ethernet is no longer named eth0, instead it's
"enx00..(mac address bytes)..". Use a udev rule to apply the RPS settings
instead of /sys/class/net/eth0/... which no longer exists.
2018-12-23 13:09:56 +00:00
rmcaninch
20de0c861f
Pointed to docs.armbian.com
Other link was 404
2018-12-22 18:54:59 -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
5e19d90c04 [ bugfix odroid c2 ] https://github.com/armbian/build/issues/1194 2018-12-20 12:52:04 +01:00
Michal Lazo
2af92fb27e [meson64 dev] make ZBUD Z3FOLD ZSMALLOC kernel build in 2018-12-19 16:37:07 -08:00
Igor Pečovnik
daf6e0bf4f
Enable another nightly builds 2018-12-19 10:43:44 +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 Pečovnik
34bf7c615c
Merge pull request #1190 from JpegXguy/master
Small fix: Update rockchip64 config
2018-12-17 21:08:05 +01:00
Leonidas P
eedf90c3f0
Update rockchip64 config 2018-12-17 21:24:57 +02:00
Igor Pecovnik
33f982c59f [ RK3399 ] Add upstream patch and adjust configs 2018-12-17 20:06:17 +01:00
Leonidas P
9896e1630e
Use latest rockchip64 kernel tag from ayufan 2018-12-17 19:35:14 +02: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
Thomas McKahan
05387dc86f [ rockchip-dev ] Add test 1-wire overlay 2018-12-13 23:45:53 -05:00
Thomas McKahan
3a185c8b82 [ rockchip-dev ] Add DT overlay framework 2018-12-13 19:04:47 -05:00
Martin Ayotte
87ec4f4bf4 use latest RKBin versions for RK3328 2018-12-13 16:20:52 -05:00
Igor Pečovnik
1538ea5720
Remove deprecated bits 2018-12-12 19:31:12 +01:00
Igor Pecovnik
9280c7901c [ buildscript ] Improve serial console(s) handling 2018-12-12 19:13:50 +01:00
Thomas McKahan
f18057b779 Merge branch 'master' of https://github.com/armbian/build 2018-12-12 11:39:34 -05:00
Thomas McKahan
12fc6e19d4 [ tritium-h5 ] enable analog-codec 2018-12-12 11:38:34 -05:00
Martin Ayotte
8e6b37dfce fix SERIAL_DEV_BUS/BT_HCIUART_SERDEV/BT_HCIUART_3WIRE modules 2018-12-12 10:04:52 -05:00
Thomas McKahan
11602b997e [ tritium-h3 ] enable analog-codec 2018-12-12 01:31:33 -05:00
Thomas McKahan
3734aef74d [ meson64-dev ] CONFIG_DRM_FBDEV_OVERALLOC=100
https://forum.armbian.com/topic/8829-le-potato-c2-k2-419-lts-testing-thread/?do=findComment&comment=67450
2018-12-11 23:37:56 -05:00
Martin Ayotte
f818c5f24d add SERIAL_DEV_BUS/BT_HCIUART_SERDEV/BT_HCIUART_3WIRE modules 2018-12-11 17:56:00 -05:00
Igor Pecovnik
ed578975ae [ meson64 ] change default console to HDMI, getty enabling bugfix 2018-12-11 20:32:52 +01:00
ei-ke
681e58b668
Added comment that LUKS2 can't be used. 2018-12-10 10:22:05 +01:00
ei-ke
57ce14b5a5
I added all CRYPTROOT related variables as you described them in your documentation and added some comments. By default encryption is deactivated of course.
Further I introduced the variable CRYPTROOT_PARAMETERS to have the ability to pass more options to the cryptsetup command.
I've test this on an Odroid HC2 (XU4) with default kernel configuration, full OS image, "next" branch and stretch as server:
- default without encryption
- encryption with user sepcific cryptsetup parameters
- encryption without user specific cryptsetup parameters
2018-12-10 00:18:52 +01:00
Igor Pečovnik
86309d97fd
Tiny bugfix
https://forum.armbian.com/topic/8261-orangepi-pc-not-booting-from-emmc-after-an-update/?do=findComment&comment=67471
2018-12-08 21:26:10 +01: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
ThomasKaiser
abce2efea1 Limit RK3399 boards with crappy powering to 1.8GHz by default
Users will never understand the difference between amperage and (under)voltage: https://forum.armbian.com/topic/8660-nanopi-m4-and-overheating-running-boinc/?do=findComment&comment=67415
2018-12-07 21:09:57 +01:00
Igor Pecovnik
e9562b1ff4 [ general ] TVboxes configurations are getting its own category "tvb" @150balbes Moving current three boxes we have in there. 2018-12-06 17:43:27 +01: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
Igor Pečovnik
ed89eafb08
Merge pull request #1176 from evgenyhawk/master
system-power-off support
2018-12-05 08:50:08 +01: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
Gauthier Provost
7d3a57f4d3 Helios4: Add mdadm script and config to display error on Fault LED 2018-12-04 15:25:16 +08:00
j
fbaf3416e6 system-power-off support 2018-12-03 21:33:18 +03:00
Igor Pecovnik
4ec17830df [ board configs ] Moving Rock64PRO under supported and adjusting description(s) 2018-12-03 16:20:44 +01:00
Martin Ayotte
c3e46a5d86 use U-Boot Flow#2 for RockPro64 2018-12-03 09:09:51 -05: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 Pecovnik
2a5291349f [ lepotato ] Enable nighly beta for DEV branch, CLI only 2018-12-01 09:07:41 +01:00
Igor Pecovnik
9af045538c [ board config adjustement ] Enable CLI DEV beta for K2 and C2 2018-11-30 07:36:57 +01: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
Gauthier Provost
14452e25e6 Helios4: Changes / fixes related to bootscript issue (#1169)
* 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>

* uboot: mvebu-next: only apply DT fixup script if it exists

* [ buildscript ] Add FORCE_BOOTSCRIPT_UPDATE option

If enabled bootscript will get updated during bsp upgrade.

* Helios4: Enable FORCE_BOOTSCRIPT_UPDATE by default in board config.

* Helios4: Added boot-marvell.cmd compability to u-boot 2018

Revert the changes to use boot-mvebu-next.cmd instead of boot-
marvell.cmd to prevent unbootable system due to incompatibility between
u-boot 2013.01 and boot-mvebu-next.cmd
This reverts commit 0f17ecb233 ("Helios4: Use boot-mvebu-next
bootscript")

U-Boot 2018 will failed load dtb and script due to missing some
variables on boot-marvell.cmd. This will render the system unbootable.
Re-added and update loading-boot-scr.patch for backward compatibility

Signed-off-by: Aditya Prayoga <aditya@kobol.io>
2018-11-29 06:58:39 +01:00
Igor Pečovnik
9e9a21f042
Enable beta building 2018-11-29 06:42:50 +01: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
32fb32b554 [ orangepizeroplus ] add default serial console, adjust cpu min/max 2018-11-25 20:59:59 +01:00
Igor Pecovnik
58162ab8fb [ sunxi64-dev ] add Docker related config option 2018-11-25 16:31:55 +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
turkerali
f1be69c02e
Update linux-rockchip64-default.config
Enable DS1307 Real-Time Clock in the default config, so that DS1307 based external RTC modules can be used.
2018-11-22 12:47:29 +04: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
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
Thomas McKahan
0ed6ed5194 [Meson64] Dev patch adjustment, bugfix 2018-11-21 01:48:44 -05:00
Thomas McKahan
ad8c89db50 [Meson64] U-boot bump to 2018.11, move C2 to Meson64 U-boot 2018-11-20 23:49:53 -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
ee6191b7fc [Meson64] Dev kernel config update 2018-11-19 22:57:29 -05:00
5kft
1301f9f8c2 [s5p6818-next Fire3] implemented support for board power-off via PWRKEY 2018-11-18 16:52:31 +00:00
Igor Pečovnik
6d2adad707
Merge pull request #1155 from briaeros/v4l-2
Adding support for media usb/uvc in espressobin
2018-11-17 17:30:45 +01:00
alpha
6f128feea6 Adding support for media usb/uvc in espressobin 2018-11-17 16:37:14 +01:00
Alastair D'Silva
0451ec301b Where a board config uses a modern kernel and is already using
either stretch or bionic, enable both distributions.

Signed-off-by: Alastair D'Silva <alastair@d-silva.org>
2018-11-17 19:25:46 +11:00
Thomas McKahan
6fdd273b8a U-boot: Fix Tritium H3 H5
-Updates U-boot configs and dts's according to latest.
2018-11-16 00:38:12 -05:00
Igor Pecovnik
e7657a5991 [ bugfix ] Fixing default Chromium preferences file https://forum.armbian.com/topic/3327-asus-tinkerboard/?do=findComment&comment=65807 and adding optional DEFAULT_CONSOLE variable which can override default console settings per board 2018-11-15 19:03:57 +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
cfd8a89568 Bootscript: Meson64 update eMMC
Uses C2 boot script on Le Potato/K2 to support eMMC booting.
2018-11-15 01:38:08 -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
Tony
5b5bf14a04
Rename odroidc2.eos to odroidc2.conf
We still support the Meson64 family, there is no real difference with the other members of the board family.
2018-11-12 21:42:44 -05:00
Igor Pecovnik
f04ca8bd58 [mvebu dev] moving to 4.19.y 2018-11-12 17:21:05 +01:00
chwe17
d224be3d42 Mt7623 (#1153)
eMMC install
2018-11-12 07:17:42 +01:00
Tony
cf2a061d67
BSP: Meson64 remove legacy kernel support scripts
We've killed off the C2 legacy kernel, the scripts serve no purpose.
2018-11-11 22:36:45 -05:00
Igor Pecovnik
352b2584d2 [ sunxi ] fixed boot console output to match reality. In "both" mode you can have serial console login, but boot log goes to HDMI. In "serial" you (current "both" defaults) you get boot log to serial console, console login and blinking cursor on HDMI which is hard to spot. Lot's of people thinks board doesn't work ... 2018-11-10 21:16:39 +01:00
Igor Pecovnik
6e50034ddb [ rk3399 default ] enable some USB hardware 2018-11-09 12:41:07 +01:00
Igor Pecovnik
f831e2d425 [ Pinebook ] Update atf and u-boot patches. Affects also Teres and Olinuxino 2018-11-09 11:07:40 +01:00
Igor Pecovnik
0c9b42f10d [ rk3399 default bugfix ] adjusting patches and config 2018-11-09 07:05:53 +01:00
Igor Pecovnik
8165a67306 [bugfix] add missing file 2018-11-08 18:56:59 +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
fc77b6f947 [ c2 related bugfix ] We need to read board name when installing u-boot and we can remove odroidc2 family config since its deprecated 2018-11-07 16:22:32 +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
Thomas McKahan
3851961a76 Board: RockPro64 fix u-boot postprocess
Now to debug the uboot configuration
2018-11-03 21:55:05 -04:00
Igor Pecovnik
5eb3314ee8 [Odroid XU4 Next] enable CONFIG_CACHEFILES 2018-11-01 09:50:28 +01:00
Thomas McKahan
b5d5656bf0 Config: Rockchip64-dev add gpio-syscon for Renegade UHS 2018-10-31 22:55:00 -04:00
Pavel Odintsov
16564f81cb
Enabled AF_XDP support for linux-mvebu64-next 2018-10-31 10:33:22 +00:00
Pavel Odintsov
b81cd42acc
Enabled AF_XDP support for linux-mvebu64-dev 2018-10-31 10:32:38 +00: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
3dc51fc666 [RK3399-DEV bugfix] Fixed variable mismatch. Closes https://github.com/armbian/build/issues/1143 2018-10-27 20:39:34 +02:00
Igor Pečovnik
67d491e562
[csc board] adjust targets 2018-10-27 15:51:53 +02:00
ThomasKaiser
7334104818 Use CONFIG_HZ=250 where applicable
Closes #1142
2018-10-27 10:38:35 +02:00
Igor Pecovnik
c717613db9 [maintanace] Changing Firefly RK3399 to CSC target and build images. Enable nightly CLI builds for RK3399 boards. 2018-10-26 17:08:05 +02:00
Igor Pecovnik
385d464131 [mvebu default] Upstream patches 2018-10-26 16:15:48 +02:00
Igor Pecovnik
d2b52755a6 [general] Move several boards to EOS section. 2018-10-26 15:51:51 +02:00
Igor Pecovnik
ae800bb515 [odroid c1] Move to 4.19.y and change its status to EOS. Left in a working state: http://ix.io/1pZa 2018-10-25 12:28:35 +02:00
Igor Pecovnik
f90ea34773 [s5p6818] Adjust boot script to show HDMI console bootlog instead of serial. Adjust kernel configuration. @TonyMac32 CONFIG_BT_HCIUART_3WIRE is gone from config here as well. 2018-10-25 11:28:50 +02:00
Igor Pecovnik
b60934a9d0 [small RFC / cleanup] Tweaking script https://github.com/armbian/build/issues/1140 and removing deprecated config file rk3399-dev 2018-10-24 17:21:34 +02:00
Igor Pecovnik
f18360d1ef [rk3399-dev] Merging rk3399-DEV with rockchip64-DEV on sources, patches and config level. Leave family intact, add 1.5 OPP for RK3328, add upstream patch for rk3399-default 2018-10-24 17:03:35 +02:00
Igor Pecovnik
ca99f8d0b7 [Rockchip/Rockchip64] Adjusting sources tags with most recent ones and tested on Rock64. Upstream patches for Rockchip, tested on Tinkerboard. Regeression: CONFIG_BT_HCIUART_3WIRE is gone from BSP Rockchip sources and we lost BT on Tinkerboard :( For the record: last know working BT is on 5.60 / 4.4.157 2018-10-24 11:59:03 +02:00
Thomas McKahan
04476bbe94 Meson64-next update patch set
- update patchset to reflect @superna9999 's meta-meson patches
	- notable update adds video decoder and canvas drivers

As always many thanks to BayLibre and Neil Armstrong
2018-10-24 00:18:10 -04:00
CarlosEDP
8140e1e63e Updated config to add Network module features for containers, NFS server and HFS filesystem 2018-10-23 13:21:24 -05:00
5kft
a9f6207a3e [rk3399-dev] bring in rockchip fusb302 driver; enable module in build
This change brings in the Rockchip version of the FUSB302 USB controller driver into
the kernel (with appropriate changes to enable it to build in kernel 4.19.y), and
configures the module build for the rk3399 kernel.  This provides proper operation
of all <&fusb0> "extcon" references for the rk3399-nanopi4 boards, thereby enabling
all board USB host ports (e.g., now including <&u2phy0>) to now function properly.
2018-10-21 18:48:38 +00:00
Martin Ayotte
60fcf01242 add missing SDMMC0_PWR_H for rockpro64 + add uboot_custom_postprocess code 2018-10-16 11:56:43 -04:00
zador-blood-stained
82e9172e28 Fix typo in rk3399.conf
Fixes: b28fa47aa8
2018-10-14 22:27:28 +03:00
ThomasKaiser
82d5b42984 Another customize-image.sh.template example...
to be used with unattended storage performance testing
2018-10-14 20:38:11 +02:00
Igor Pecovnik
1c4340b421 [Rockchip and general] Add upstream patch for K4.4, adjust config to cover https://github.com/armbian/build/issues/1133 and add htoprc to support https://github.com/avafinger/htop-2.1.1_enhanced-version with showing CPU temp out of the box. 2018-10-14 11:20:25 +02:00
Thomas Kaiser
6f0b32a969
Enable PCIe attached SATA and config_crypto_crc32_arm64 2018-10-13 17:43:17 +02:00
ThomasKaiser
b28fa47aa8 Increase performance with rk3399-dev 2018-10-13 16:35:07 +02:00
Tony
8a5ea40a74
Merge branch 'master' into master 2018-10-12 21:37:47 -04:00
Igor Pecovnik
9dbc69e0ed [Tinkerboard/MiQi] Fix eMMC boot problem on MiQi by reverting back to old u-boot, fix console that both are present, HDMI and serial, adjust boot script that we don't need hardcode DTB. U-boot variable is set to RK3288-tinker so adding symlink to RK3288-miniarm which represent the board in a legacy kernel. Added upstream patch, tested on MiQi and Tinkerboard S, default and dev, upgrades still need to be tested ... 2018-10-12 14:10:42 +02:00