Commit graph

68 commits

Author SHA1 Message Date
Igor Pecovnik
f7030069f4 [ rockchip-next ] remove deprecated patches, adjust kernel configuration 2019-05-31 19:08:48 +02:00
Thomas McKahan
5df7a1ce50 [ Rockchip Next ] Fix w1-gpio overlay 2019-05-10 00:17:43 -04:00
Igor Pecovnik
0ddc14688d [ rockchip ] patches cleanup 2019-04-27 20:24:51 +02:00
Igor Pecovnik
9758711ed4 [ general ] Attach Realtek 8811, 8812, 8814 and 8821 drivers source, remove our old patches, adjust configs, tested on all combinations 2019-02-07 15:24:06 +01:00
Igor Pecovnik
cbfcd85715 [ dvbsky S960 ] User request https://forum.armbian.com/topic/9318-nanopi-neo2-kernel-update-for-patch-dvbsky-s960 2019-01-23 18:55:17 +01:00
Thomas McKahan
5d31c8f67c [ rockchip-next ] fix support for upgrading eMMC on Tinker Board
See: https://forum.armbian.com/topic/9312-tinkerboard-ss-bricked-after-570-upgrade/

Solves issue by recreating the "miniarm" dtb same as the 4.14 before it.
2019-01-15 01:14:58 -05:00
Thomas McKahan
2ed2e50e56 [ rockchip-next ] update to 4.19 2019-01-11 02:29:02 -05:00
paolo
868d7390fc Disabled dma for serial ports in xt-q8l-v10 dev kernel device tree due to changes in kernel 4.19
Removed date and time from xt-q8l-v10 patches for /dev/null source diffs
2018-12-15 10:44:00 +00:00
paolo
a818f64885 Changed minor bits in xt-q8l-v10 device tree patch for dev flavour 2018-12-15 10:43:59 +00:00
paolo
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
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
78999fc94b [ K4.14 aufs ] Upgrading AUFS patch on kernel 4.14.y 2018-11-20 19:56:43 +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
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
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
28ac7a3683 Realtek 881xAU patch cleanup and adjustement for 4.19.y 2018-10-10 17:03:21 +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 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
94abeef059
Merge pull request #1039 from rabits/fb-_rockchip_gpio_i2c_udev_rules
ASUS Tinkerboard: Added gpio & i2c groups with udev rules to devices
2018-07-09 07:22:10 +02:00
Rabit
1066859065 ASUS Tinkerboard: Added gpio & i2c groups with udev rules to devices 2018-07-08 14:12:15 -07:00
Rabit
96e78c102f ASUS Tinkerboard: Restore justice - author of the gpiomem port
According to:
* e7ebaf5917/rk3288-gpiomem.c (L42-L44)
* https://forum.armbian.com/topic/4792-tinker-board-gpio/?do=findComment&comment=53472
2018-07-08 13:19:07 -07:00
Rabit
b40aeaad64 ASUS Tinkerboard: Ported /dev/gpiomem from default to next kernel 2018-07-04 23:16:28 -07:00
Thomas McKahan
9059e81dbb Rockchip Fix Mali on newer kernels 2018-07-02 22:20:30 -04:00
Igor Pečovnik
707c3a8723 Fix permissions on a patch 2018-06-29 16:22:22 +00:00
Igor Pečovnik
3d35e2edfc Add eMMC support for Tinkerboard S into the kernel, bump u-boot to 2018.05 2018-06-29 09:48:00 +00:00
Igor Pecovnik
e83d5b54ac Remove deprecated patches Rockchip NEXT 2018-05-30 10:10:42 +02:00
Igor Pecovnik
7d2f3af08f Merging Rockchip family 2018-05-24 15:44:15 +02:00
Tony
b1a21a44cd
Rockchip next sync master and development
includes kernel panic fix on veth interfaces and audio device patch to enable Tinkerboard audio
2018-04-15 14:40:58 -04:00
Igor Pecovnik
4ee6bf7752 Rockchip next and default update
- default and next = updated 8811/12/14AU Wireless driver
- next= removing two deprecated patches, adding overclocking with DVFS table v2 from MiQi with little low numbers, symlinked miniarm.dts to tinker.dts for backward compatibility, updated AUFS
2018-02-08 16:44:24 +01:00
Igor Pecovnik
1599e074fb Tinkerboard - memory leak bugfix for 8723bs wireless chip 2018-01-25 19:07:02 +01:00
Igor Pecovnik
5c0b45623b Add better driver for 8188EU for SUNXI and ROCKCHIP next branches 2018-01-25 12:11:53 +01:00
Igor Pecovnik
e546ac684d Disable excessive debugging on Tinkerboards wireless adaptor 2018-01-15 18:19:13 +01:00
tonymac32
0d2da12129 Re-fix RK3288 Next Thermal Zones 2017-12-17 20:33:45 -05:00
Alexander Reinert
91b0b7c961 Adde kernel patch for Rockchip mainline inspired by cfe2329be3 (diff-3a905b19fc3744269a82aeec54a7e405) to avoid 100% cpu usage when using two usb uart devices like the FT232 2017-12-15 10:43:49 +01:00
Igor Pecovnik
c2dcb754ac Remove accidentally added (duplicate) patches 2017-12-14 18:32:51 +01:00
Igor Pecovnik
fe08fceb36 Wireless drivers update for 8812/11/14AU, added where missing. Ready for kernel 4.15.y 2017-12-14 18:06:37 +01:00
Igor Pecovnik
24fbb01438 Adding printing support to Desktop image, 881x driver to Rockchip NEXT, hide few items in applications menu 2017-11-30 07:29:36 +01:00
root
a50100eb1e Rockchip Next to 4.14.y 2017-11-28 23:17:20 -05:00
zador-blood-stained
28502a0472 Clean up executable bits in patch files 2017-11-11 17:49:39 +03:00
Igor Pecovnik
85a6325579 Add RT patches. All are default disabled. 2017-10-31 19:56:01 +01:00
Igor Pecovnik
7c24bd7c32 Adding Realtek Wifi 8812, 8821 and 8814 to Rockchip mainline. The same as:
bd0b0354b5
2017-10-30 13:08:07 +01:00
zador-blood-stained
13e94e58f0 Remove random executable bits from patch files 2017-10-27 16:14:21 +03:00
Igor Pecovnik
76e7579e71 Rockchip NEXT config update toward Docker and enabling few wireless drivers 2017-10-05 20:38:50 +02:00
Igor Pecovnik
28ea4f58e8 Added wifi drivers for 8812au, 8723du and rtl8192cu to kernels 4.13
8812au was tested for STA and  AP on Bananapi and MiQi. It works fast and stable ... driver is ported from Odroid 4.9 kernel and it's latest avaliable.
2017-09-22 14:20:49 +02:00
Tonymac32
fd1501696c rockchip-next remove experimental vcodec driver 2017-09-20 23:47:33 -04:00
Tonymac32
1a2b854b3e rockchip-next remove experimental vcodec driver 2017-09-20 23:46:39 -04:00
Tonymac32
3d96c26b0f Add files via upload 2017-09-18 15:04:14 +00:00
Tonymac32
40768691b2 rk3288 thermal zone patch
new gpu node did not include cooling cells or power model, breaking thermal zones in kernel.
2017-09-16 18:47:36 +00:00