Commit graph

2308 commits

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