Commit Graph

1651 Commits

Author SHA1 Message Date
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
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
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
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
5kft
79b83d0eac cleaned up Orange Pi Zero Plus2 LED configuration 2018-10-20 17:35:13 +00:00
5kft
18215550b3 [rk3399-dev] added support for the status_led, set default to heartbeat 2018-10-20 04:04:59 +00:00
Alexander Reinert
0f59e1704e
Fixed compatible string of OrangePi Zero Plus on next 2018-10-18 21:57:09 +02:00
Martin Ayotte
b6ed9262a7 add missing usb2phy in orangepi-one-plus + disable temporarly the gmac since it crash under 4.18.y 2018-10-15 14:08:38 -04:00
Thomas McKahan
4b7442b450 Meson64 mark fclk_div3 critical
- SCPI mcu needs this clock it would appear
- Fixes cpufreq errors.
2018-10-15 00:05:22 -04: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
ThomasKaiser
b28fa47aa8 Increase performance with rk3399-dev 2018-10-13 16:35:07 +02: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
Igor Pecovnik
e87775e14f [Rockchip64] Adjust default branch, removed deprecated patches, adjust configuration, fix broken patch. 2018-10-11 11:41:54 +02:00
Igor Pecovnik
f07ddda5fc [RK3399] DEV kernel bumped to 4.19.RC4, adjusted kernel config, set u-boot to v2018.09, fix serial console output, default boot console is now HDMI, tested on FA Nanopc T4; default kernel bumped to 4.4.160 and re-add patch which address some issues 2018-10-10 17:25:28 +02:00
Igor Pecovnik
28ac7a3683 Realtek 881xAU patch cleanup and adjustement for 4.19.y 2018-10-10 17:03:21 +02:00
Igor Pecovnik
b971c3f425 Adjust patchset for FriendlyARM's RK3399, move Nanopi Neo4 to .conf, adjust kernel configuration. Tested only for building. 2018-10-08 14:41:51 +02:00
Thomas McKahan
1214fd8f05 NanoPi K2 Add SPI
-Adds spidev to pins 19, 21, 23, 24, 26 as found on Raspberry Pi.
-set for 500 kHz max speed.
2018-10-07 01:23:00 -04:00
Thomas McKahan
bd07a73bab Merge branch 'master' of https://github.com/armbian/build 2018-10-06 22:50:56 -04:00
Thomas McKahan
b5e9d65c7d Odroid C2 Next enable SPI 2018-10-06 22:50:14 -04:00
Martin Ayotte
9b24f29529 fix wrong WiFi GPIOs on NanoPiM1+ 2018-10-06 11:11:35 -04:00
Igor Pecovnik
fd235d6c34 Patches cleanup for sunxi-dev and a bugfix for WiFi powersave workaround 2018-10-02 17:34:41 +02:00
Igor Pecovnik
ef6847e647 Small bugfix regarding removing old swap files, K4.4 upstream patches, bump with a version 2018-09-30 15:22:44 +02:00
Igor Pecovnik
9fcb58b8f1 Add Wifi and RTC bits to OpiLite2, changing kernel sources to mainline. HDMI is broken here. Untested ... 2018-09-28 18:19:43 +02:00
Igor Pečovnik
a997cf8d7d
Bugfix 2018-09-28 18:08:43 +02:00
Igor Pecovnik
7a831f2a70 Bump with version and K4.4 upstream patches 2018-09-26 11:55:44 +02:00
5kft
1a94e2a257 updated SY8106A regulator DTs to properly support mainline kernel driver change 8878302ebbc580d64f390c0acc509e5e8276598c 2018-09-23 15:33:31 +00:00
Martin Ayotte
3e3f254806 remove useless patch that disable Rock64Pro DT 2018-09-23 11:24:33 -04:00
Igor Pecovnik
735a3679e2 H6 boards - add support for 1800 MHz 2018-09-22 20:53:07 +02:00
Igor Pecovnik
1c00822819 Use ayufan mainline kernel for rk3399-dev
301b5eeb15
2018-09-20 15:20:50 +02:00
Igor Pecovnik
8defd568bc Espressobin. Add support for macronix spi 2018-09-20 15:05:20 +02:00
Igor Pečovnik
5f4d1ff4f7
Remove deprecated patch 2018-09-19 12:28:49 +02:00
Igor Pecovnik
6f82ccd186 Adding R40 SATA driver 2018-09-18 17:43:02 +02:00
Igor Pecovnik
9ec439f0a7 Meson64 family fixes: set mac addr in kernel, few patches for Lepotato default, kernel config update 2018-09-17 20:31:10 +02:00
Igor Pecovnik
f2d368916a Fix random MAC creation and remove one deprecated patch 2018-09-17 17:38:44 +02:00
Igor Pecovnik
acf84bac59 Fix xradio not showing up on Nanopi Duo, set fixed network MAC when using shield, small 1st run script RFC, removing deprecated stuff 2018-09-17 13:25:53 +02:00
Igor Pecovnik
546c30dd13 Kernel 4.4 upstream patches 2018-09-15 17:33:06 +02:00
Igor Pecovnik
8ea0b98845 Rockchip default, remove deprecated patches 2018-09-13 06:49:27 +02:00
Igor Pecovnik
f4a51236d7 Family RK3399 set fixed MAC address via our startup scripts until we don't have a proper solution and upstream patches 2018-09-12 17:30:44 +02:00
Igor Pecovnik
a0448ac987 Add eMMC support for Nanopi Neo Core on NEXT kernel and upstream patch for Rockchip 2018-09-12 10:39:04 +02:00
Igor Pecovnik
428c72a6f1 Disable UHS mode on Nanopi K2. This fixing SD card corruption when using modern SD cards. https://forum.armbian.com/topic/7913-nanopi-k2-microsd-error/ 2018-09-10 14:02:28 +02:00
Igor Pecovnik
b691b32ff5 Upstream patches for rockchip64 2018-09-10 13:03:17 +02:00
Thomas McKahan
2b63e0495c RK3328 set SD drive levels to 8mA
- Tested on Renegade and Rock64
  - Solves failure to boot some users experience
2018-09-09 21:24:04 -04:00
Martin Ayotte
03199b3879 add olinuxino-a64.wip and fixes for it 2018-09-09 09:59:26 -04:00
Igor Pecovnik
93ae28f78d Rockchip/Tinkerboard default patches fixes. It compiles now but haven't check in details wheather disabled are still needed. 2018-09-08 08:16:45 +02:00
Martin Ayotte
b64d1bd787 enable configfs support and overlays 2018-09-07 17:09:49 -04:00
Martin Ayotte
58f7ebe38f add gpio-leds to OPiLite2/OPiOnePlus 2018-09-07 15:34:57 -04:00
Martin Ayotte
c6c726b486 Make WiFi working on OPiLite2 2018-09-07 09:54:05 -04:00
ThomasKaiser
a01e8d3175 Increase thermal trip points for Allwinner H5 2018-09-06 09:25:01 -07:00
Jingchuan Huang
085effcc36 Fix Firefly-RK3399 default kernel dts missing 2018-09-05 20:05:25 +08:00
Igor Pecovnik
32807a7e3a Add an upstream patch and adjust board config 2018-09-01 19:04:49 +02:00
Igor Pecovnik
8640c55d7e Odroud C1 NEXT patches and config adjustements 2018-08-30 21:14:33 +02:00
Igor Pecovnik
0d50d3b432 Add upstream patches for K4.4 and adjust Odroid XU4 NEXT / DEV kernel configuration 2018-08-30 18:48:06 +02:00
Jingchuan Huang
0fd231be00 Add NanoPi M4/NEO4 device tree. 2018-08-30 21:24:59 +08:00
Igor Pecovnik
48d34c1a86 Add wireless driver for Pinebook 2018-08-29 09:26:32 +02:00
Thomas McKahan
3de7cde3db Tinker Next reboot fix
- Thank you @chwe17 for bringing the reboot issue to my attention.  Missing patch during some shuffling
2018-08-28 23:55:14 -04:00
Igor Pecovnik
4430c1ebcf Fix Pinebook DT, it boots now fine, but its not done yet 2018-08-28 20:24:28 +02:00
Igor Pecovnik
271a15f520 Add patch for lid suspend resume on Teres, higher clock for H6 boards 2018-08-28 15:33:29 +02:00
Igor Pecovnik
4d80636f0c Move udoo DEV to 4.18.y 2018-08-28 09:06:06 +02:00
Igor Pecovnik
8dace05c1e Adjust RK3399 DEV config 2018-08-28 07:38:34 +02:00
Igor Pecovnik
08e1e7e5dc Meson S805, S905, S912 and A113 SoCs Gbit ethernet would die under high load. Fixing. 2018-08-28 07:10:01 +02:00
Thomas McKahan
019915870d Rockchip Dev patch/config update
- Fixes horrible screen performance/long boot/etc
- Thank you @Miouyouyou

Current issues:

	- No Pulse Audio.  Probably related to the I2S issues, needs checked
	- General config review needed
	- Seems to be topping out at 1.6 GHz
2018-08-28 00:47:23 -04:00
Igor Pecovnik
c73748bc36 Lowering max CPU freqency for RK3399 down to 1.5/2.0 2018-08-27 08:35:36 +02:00
Tony
f4dda6c8c9
rockchip - tinkerboard correct UART for terminal 2018-08-27 00:52:33 -04:00
Igor Pecovnik
1466be7637 Espressobin default patches cleanup and kernel configuration update 2018-08-26 19:17:30 +02:00
Martin Ayotte
2918d6af9c add missing fix-many-orangepiwin-dts.patch in sunxi-dev 2018-08-26 11:16:55 -04:00
Martin Ayotte
5d369f1993 add missing add-orangepi-zeroplus2.patch 2018-08-26 09:08:48 -04:00
Igor Pecovnik
41b589372f Creating new family rockchip64. 3288 and 3399 was merged in, except Nanopi which stays in RK3399 family with sources attached to FA repository until we manage to join that in. Enabled Nanopc T4, Nanopi M4, Renegade. Tested on Rock64 and Nanopc T4.
Some clenaup, removed dragonboard820c, adjusted board descriptions, added another OPP for 3288 family,
2018-08-26 14:14:14 +02:00
Paolo
e358089bbc Disable USB power down on rockchip devices (#1090)
* Added patch to make USB ports working again on rockchip devices with mainline
kernel >= 4.18

* Changed the 0 into false
2018-08-24 19:31:19 +02:00
Igor Pecovnik
18a68ec9b2 Add and fix kernel 4.4 upstream patches 2018-08-24 17:33:24 +02:00
Igor Pecovnik
c542b8fee0 Hostapd bump version to override Bionic stock build, Tinkerboard upstream patches 2018-08-23 18:54:54 +02:00
Igor Pecovnik
c51fdc6c4a Add AUFS4.18, adjust several board configs 2018-08-23 15:13:12 +02:00
Igor Pecovnik
b7d4509695 Espressobin bump to more recent BSP kernel 4.14.y, add upstream patches, boot log: http://ix.io/1l0m 2018-08-23 09:09:53 +02:00
Igor Pecovnik
96ca6f0e07 MVEBZ default upstream patches, config ajdustement, remove deprecated patches, adjusted build targets 2018-08-22 13:26:06 +02:00
Igor Pecovnik
783c253fa5 Add upstream patches for RK3328 2018-08-22 10:56:48 +02:00
Thomas McKahan
03da085d95 tinker board re-enable RPi touchscreen
- only known bug so far:  Somehow the entire screen has been rotated 180 degrees, making the touch screen not align with the graphics (can rotate in settings)
	- probably an easy fix, but finished for tonight.
2018-08-22 02:02:19 -04:00
Igor Pecovnik
445c9715d9 RK3399 Fix wrong u-boot configuration for T4, use forked rkbin tools, upstream patches 2018-08-21 15:56:44 +02:00
Igor Pecovnik
aafe51fcdb Remove deprecated patch 2018-08-21 14:35:37 +02:00
Igor Pečovnik
a57ce78b37
Reverting sunxi/sunxi64 NEXT to 4.14. (#1087)
* Bump to 4.18, removing the obvious, fixing build problems, put some on waiting.

* Pin 4.18 to DEV, rollback 4.14 to NEXT, adjust configs, remove one deprecated patch from NEXT and add board-h3-address-some-stability-issues.patch

* Adjust few boards in development to new reality, removing it from NEXT for now

* Adjust few board configs

* Board config adjustement

* Adjust few boards configs

* Port NeoCore2 and Neo21.1 to 4.14.y

* Adjust board config

* Adjust board config
2018-08-21 10:41:10 +02:00
Thomas McKahan
f64f031e74 rockchip-default Bluetooth fix 2018-08-21 01:40:50 -04:00
Tony
5ae6269521
rockchip-default remove outdated patch
Entire method of reboot changed.
2018-08-21 01:18:55 -04:00
Thomas McKahan
96135c6065 Rockchip-default update patches
-- Thanks again to @ntemis for bringing these together and letting me know about it

- Tinker reboot now seemingly solved by a proper method, should no longer require OF workarounds
- various fixes from various sources, see patches for complete information.
- boots, still needs debugging of BT/touchscreen/sound
- some patch warnings exist, again WIP update for those willing to take a look. (@chwe17 perhaps?)
2018-08-21 00:17:16 -04:00
Igor Pecovnik
f3d0fce4bc Adjustement to Friendly ARM PC T3, upstream patches for Udoo, disabling its default kernel for building 2018-08-20 19:49:06 +02:00
Thomas McKahan
04795aef26 rockchip default u-boot bump small config update
- Tinker Board now boots to console without issue
- MiQi locks at "loading environment from EXT4..." (uncertain if a new issue)

Thanks to @Ntemis
2018-08-20 01:35:20 -04:00
Igor Pecovnik
e99244ce56 Moving RK3399 to Ayufan Repo. Known T4 regression = DVFS, DT adjustements needed ... 2018-08-17 15:39:13 +02:00
Igor Pecovnik
c8d18ad4d5 Add few more patches to SUNXI-NEXT, adjust kernel config 2018-08-17 12:31:34 +02:00
Igor Pecovnik
0b1a848777 Switch MESON64 NEXT to 4.18.y, adjusted patches and configuration. Broken (disabled) HDMI audio @superna9999 bootlog: http://ix.io/1kq0 2018-08-17 11:06:37 +02:00
Igor Pecovnik
e31425190f Move MVEBU, Clearfog & Helios4, DEVelopment branch to 4.18.y ... removed only obviously unneded patches, while the rest needs some/a lot of rework to meet current NEXT levels. http://ix.io/1kpE Tested also without our patchset - severe problems on network stack. 2018-08-17 09:17:19 +02:00
Igor Pecovnik
38ae7a5495 Switch Cubox DEV to 4.18.y, adjust patches and configuration 2018-08-16 23:16:37 +02:00
Igor Pecovnik
083b5f8c34 Switch MVEBU64 Espressobin to 4.18.y, adjust patches and configuration, http://ix.io/1kny (it waits for network to show up very long, the rest looks normal) 2018-08-16 20:22:18 +02:00
Igor Pecovnik
6c93807c7f Update RK3399 and Odroid C1 NEXT kernel config, remove deprecated patch, switch C1 next to 4.18.y, http://ix.io/1kkA 2018-08-16 09:41:20 +02:00
Thomas McKahan
092767e2e4 Rockchip Dev Mali patches 2018-08-16 01:26:56 -04:00
Thomas McKahan
89672da39d RK3288 default bootable at last
Missing:

 - touchscreen
 - framebuffer console
2018-08-16 01:24:30 -04:00
Igor Pecovnik
aaaa0a37fd Remove deprecated patch, add higher (1.6G) CPU speed for A83i 2018-08-15 20:53:56 +02:00
Thomas McKahan
10b60f3112 RK3288 revert packaging script patch 2018-08-14 00:01:42 -04:00
Tony
7ad9174c7d
delete accidentally left patch 2018-08-13 00:34:34 -04:00
Thomas McKahan
4f886b564f Packaging fix RK3399 Dev 2018-08-13 00:25:57 -04:00
Igor Pecovnik
d1a553e189 Adjust wireless firmware path to usual location 2018-08-12 22:21:47 +02:00
Igor Pecovnik
e04177dfba Updated RK3399 config, revert executing bit on armbian-hardware-optimisation, enable overclocking for RK3399 boards 2018-08-12 19:24:36 +02:00
Igor Pecovnik
de13bfa234 Fixed Odroid C1 packaging patch 2018-08-12 14:19:51 +02:00
Igor Pecovnik
6d82a89748 Initial support for RK3399 Firefly and FriendlyARM PC T4
Based on work of David Huang https://github.com/hjc4869 Changed in the transition:
- firefly family was renamed to rk3399, which we actually never started to use. It was made for Odroid N1, which will never be sold
- adjusted compiler toolchain2 parameter
- added standard wireless drivers
- kernel config with the following changes: Docker dependencies, ZRAM, CPUfreq info, ...
- added upstream patches
- made test Ubuntu Bionic desktop and CLI Stretch build, bootlog: http://ix.io/1jVu

TBD: wifi and BT support, mainline kernel, ...
2018-08-11 23:12:58 +02:00
Igor Pecovnik
e90dff320a Making bootscript creation more universal, adjust packaging patches for C1 and C2 default 2018-08-11 19:09:53 +02:00
Igor Pecovnik
3326ccc116 Allwinner H3 - address some stability issues 2018-08-11 11:11:10 +02:00
Igor Pecovnik
de41d3dbce Rockchip default cleanup. (Temporally) moving back to Rockchip upstream. This source builds but doesn't boot ... 2018-08-10 10:33:42 +02:00
Igor Pecovnik
070e98cfa0 SUNXI patches cleanup #1 2018-08-09 21:00:25 +02:00
Igor Pecovnik
0dc92edb99 Forgotten patches from previous commit. AXP fixes and IR for M3 2018-08-09 11:42:13 +02:00
Igor Pecovnik
e19f31eec6 Enable USB3, THS, DVFS and Ethernet on Allwinner H6 based boards. Development kernel (DEV branch, 4.18.y) also provides HDMI out via simple FB interface. DEV and NEXT kernel config alignment, set H6 CPU freqency to 1.5G, adjust eMMC and SD card speed and remove deprecated patches. 2018-08-09 11:32:23 +02:00
robsy
a8c03b5539 Make ethernet on BananaPi M3 working with 4.17.y 2018-08-03 06:13:32 +02:00
Igor Pecovnik
d2147b50c2 Enable Odroid C1 NEXT, 4.17.y ... usable as headless server. Known issues: stuck on reboot, need power cycle, no hdmi console, no DVFS. 2018-08-01 13:00:31 +02:00
Martin Ayotte
7e6277ca3b fix early kernel crash due to spi-flash been enabled 2018-07-31 14:30:08 -04:00
Igor Pečovnik
f859556d58 Odroid C2 packaging bugfix, configuration update, u-boot bump to 2018.07, bump version 2018-07-31 13:21:21 +00:00
Igor Pečovnik
68d1daf3af Remove deprecated patch 2018-07-31 10:34:56 +00:00
5kft
eb96583215 add default DT for the NanoPi NEO2 v1.1
There are two versions of the NanoPi NEO2 board; this change adds the default DT for the
v1.1 board.  It includes the correct LED configuration and the MP2143DJ VDD regulator
definition.
2018-07-29 16:04:08 +00:00
Igor Pečovnik
ba6b764702 Enable concurrent AP/STA mode on Tinkerboard. Testing needed 2018-07-27 14:10:03 +00:00
Igor Pečovnik
a8a01d2164 Add eMMC bits to Nanopi Neo to support eMMC on Core model 2018-07-26 16:54:25 +00:00
Igor Pečovnik
1c11d6ff58 Fixed headers installation. Thanks to Jean Christian
https://forum.armbian.com/topic/2901-orange-pi-pc-stuck-on-compiling-headers
2018-07-25 17:06:37 +00:00
Igor Pečovnik
d3b49a6da5 Cubox and Le potato config adjustement, mvebu64 add patch 2018-07-24 15:55:05 +00:00
Igor Pečovnik
fa1382d64d Adjust MVEBU packagin patch and configuration 2018-07-24 12:31:31 +00:00
Igor Pečovnik
7832192ec1 Remove deprecated patch 2018-07-24 10:13:12 +00:00
Igor Pečovnik
24dd085c37 Adjisted patches for RK3328 default 2018-07-23 07:45:52 +00:00
Igor Pečovnik
65a5004287
Merge pull request #1059 from 5kft/sunxi-patch-fixes
correct sunxi H3 DT overlays for latest kernel
2018-07-22 16:21:19 +02:00
Igor Pečovnik
6bac4d9c5c Adjust RK3328 sources and patches, tested for builing, adjust Nanopi K2 board config 2018-07-22 14:17:41 +00:00
5kft
8d092c22e0 correct sunxi H3 DT overlays for latest kernel
removed leading zeros from the unit addresses in the sun8i-h3-* DT overlays;
updated the sun8i-h3-fixup script accordingly
2018-07-22 06:41:47 -07:00
5kft
9ad96bd209 correct sunxi H5 arm64 DT overlays for latest kernel
removed leading zeros from the unit addresses in the sun50i-h5-* arm64 DT overlays;
updated the sun50i-h5-fixup script
2018-07-21 06:16:39 -07:00
5kft
ddc52ce4de fixed issues with sunxi overlay kernel patches
removed conflicting patches from "general-sunxi64-overlays.patch" as they are
already provided by "general-sunxi-overlays.patch"
2018-07-20 22:11:16 -07:00
Igor Pečovnik
fbb5752710 Bugfix https://forum.armbian.com/topic/7719-cuboxi-kernel-414y-does-not-compile-failing-to-compile-imx6dl-cubox-idtb 2018-07-20 11:00:07 +00:00
Igor Pecovnik
fe8843e0bc Remove duplicate patch 2018-07-19 17:26:52 +02:00
5kft
d8474158e2 add H5 support for optional 1.4GHz operation
This change introduces an optional overlay that can be used to modify
the default CPU clock operating table to support a maximum core clock
of 1.4GHz.  These higher clock rates will only be allowed if the
board's CPU VDD regulator can support operation at 1.4v (or greater),
e.g., SY8106A.
2018-07-18 08:00:22 -07:00