Commit graph

105 commits

Author SHA1 Message Date
Igor Pečovnik
677ac38998
Bump rockchip to 5.10.y () 2021-01-22 12:57:22 +01:00
paolo
a70a0df064 Removed emmc pwrseq for xt-q8l-v10 from rockchip current and dev kernel dtbs
Polished and fixed xt-q8lv-10 rockchip-legacy dtb
Reworked act8846 reboot patch for rockchip-legacy (applies, but not yet working though)
Renamed kernel updated patches in rockchip-legacy directory adding "04-" prefix to make them uniform with existing
2021-01-17 10:07:48 +00:00
Alex van Vucht
0c0a164e5c
Enable HDMI sound for Miqi & Miqi clones ()
Sound node recovered from Pull Request 
Sound node name changed in line with tinkerboard & xt-q8l, cf. issue 
Also added missing i2s node, cf. http://rockchip.wikidot.com/hdmi-audio
HDMI audio now confirmed working on Miqi clone, Openhour Chameleon
2020-12-30 17:43:20 +01:00
Igor Pecovnik
c7cc1825cd Update wifi related patches and (temprally) disable 8188EU since it breaks K5.10.y 2020-12-28 21:52:45 +01:00
Igor Pecovnik
582f1228a0 Move Rockchip DEV to 5.10.y 2020-12-26 10:52:13 +01:00
Igor Pečovnik
a08539790d
Remove broken part from patches ()
* Remove broken part from patches
2020-11-14 20:49:32 +01:00
Igor Pecovnik
159f913038 Bugfix - remove deprecated part of wifi 5.8.y patches 2020-10-04 09:29:18 +02:00
paolo
34ce2c07bb Updated rockchip-dev and rockchip-current linux kernel configs to 5.8.y
Removed vdso patch, fixed MiQi work led in dts for rockchip-dev
2020-09-12 09:01:16 +00:00
Igor Pečovnik
f86c6b3138
Moving Rockchip 32bit to 5.8.y ()
* Moving Rockchip 32bit to 5.8.y

xt-q8l-v10 seems to be broken. I did a quick scan but couldn't resolve it. @paolosabatino

* Add wifi patches for 5.8.y

* [rockchip] Fixed xt-q8l-v10 DTS, reworked ath9k driver patch for 5.8.y ()

* Fixed xt-q8l-v10 device tree to work on kernel 5.8.y on rockchip-current and -dev
* Reworked ath9k driver patch to compile on kernel 5.8.y for rockchip-current and -dev

* Add also wifi patches to DEV kernel

Co-authored-by: Paolo <paolo.sabatino@gmail.com>
2020-09-03 21:37:23 +02:00
Igor Pecovnik
9020803f1d Update kernel configs due to logo support, adjust patches
Now always create logo, but enable only on request, where defined (Pinebook, Teres, ...)
2020-06-28 17:13:32 +02:00
Paolo
8f9f12065e
[RK3288] Bump rockchip-dev to kernel 5.7 ()
* Moved rockchip-dev to kernel 5.7, removed already upstreamed patch (1016), adjusted conflicting patch (1015)
Most kernel configuration answer left at default, notables:
 - Wireguard (as module)
 - Zswap default compression set to LZO
 - RK3288 GPIOMEM (as module)
 - Enabled some new DMABUF bits (heaps, cmas)
 - Hantro driver
 - F2FS compression

* Disabled rx/tx dma for uarts, on my board causes system freeze during bluetooth initialization. Don't know if they ever worked, tried to enable them ages ago and they were already not working
2020-06-14 22:59:24 +02:00
Paolo
f4cce97548
[rk3288] Various fixes and enhancements for xt-q8l-v10 CSC board ()
* For xt-q8l-v10 rk3288 board:
- Upgraded u-boot to v2020.04, reworked configuration to match new version, enabled HDMI video console
- Increased u-boot boot delay from 0 seconds to 1 second for rockchip boards, to allow user interrupt u-boot boot process
- Imported efuse rk3288 driver into u-boot, made ethernet address stable using soc serial
- Upgraded ddrbin loader to v1.08
- Added VDSO patch for rockchip-current and rockchip-dev kernels for clock_gettime64 to fix erratic clock on 32 bit ARM devices with recent glibc
- Disabled 600 Mhz OPP node for GPU due to Panfrost instabilities, thus enabled 500 Mhz node
- Various fixes and enhancements to xt-q8l-v10 device trees for current and dev targets
- Added (disabled) u-boot HDMI patch for Tinkerboard

* Removed rk3288 ddrbin v1.08 from rockchip blobs, changed reference to use rkbin-tools repository

* Removed unneeded disabled patch for tinkerboard HDMI
2020-06-10 20:35:52 +02:00
Miouyouyou
5ffefd40ab
[RFC] RK3288 : Add HDMI resolutions ()
* patch: kernel: rockchip-dev: Handle more resolutions with HDMI (β)

The added patch add more PLL configurations, in order to satisfy
more HDMI frequencies requirements.
This should allow users to benefit from more resolutions.

However, this is fairly untested. I only tested it on my 1080p
screen and, yeah, it works but so does the kernel without this
patch.

Signed-off-by: Miouyouyou (Myy) <myy@miouyouyou.fr>

* patch: kernel: rockchip-dev: Handle more resolutions with HDMI (β)

Now with proper patches names.

Anyway :

The added patch add more PLL configurations, in order to satisfy
more HDMI frequencies requirements.
This should allow users to benefit from more resolutions.

However, this is fairly untested. I only tested it on my 1080p
screen and, yeah, it works but it also does without this
patch.

So could anyone test this with the following configurations ?

* [ ] A HDMI 4K screen
* [ ] A HDMI 1366x768 screen resolution
* [ ] A VGA screen with a VGA to HDMI adapter
* [ ] A DVI screen with a DVI to HDMI adapter

Signed-off-by: Miouyouyou (Myy) <myy@miouyouyou.fr>

* Using the patches provided by @Kwiboo for HDMI

This provides me way more resolutions, including interlaced modes.

I don't see 4K modes, though the screen attached can't do it,
so I still don't know if that can help provided 4K modes on mainline
kernels.

Signed-off-by: Miouyouyou (Myy) <myy@miouyouyou.fr>

* Support for 4K screens

Using fixes provided by @czak

Tested and approved by @czak too !

Signed-off-by: Miouyouyou (Myy) <myy@miouyouyou.fr>
2020-05-24 23:08:01 +02:00
Paolo
008f3fd47c
[xt-q8l-v10] fixed act8846 regulator against kernel 5.4, enabled eMMC DDR mode ()
* Added ALSA configuration bits for rk3288 HDMI and SPDIF to allow
pulseaudio show proper sound device/profile/mapping names instead of
just "Built-in Audio" for all of them

* Added ALSA device description in asound.conf to provide correct labels for PulseAudio for RK3288 devices when SPDIF and DW-I2S-HDMI simple audio cards are exposed
Removed unnecessary ALSA configuration files previously added from rockchip.conf

* Fixed cpu operating points tables and raised a bit (+5°C) cooling for non-critical temperatures for xt-q8l-v10 in dev and next kernel flavours

* Fixed again cpu opp table

* Removed whole cpu opp table and retouch only necessary operating points

* Enabled gpiomem driver for xt-q8l-v10 in next kernel flavour

* Added debounce delay and card detect gpio pins for sdmmc card holder for xt-q8l-v10 board

* Added card-detect and debounce delay for sdmmc for xt-q8l-v10 board in next kernel flavour too

* Fixed missing comment in xt-q8l-v10 device tree patch

* Added gpiomem to xt-q8l-v10 board for dev kernel

* Fixed FAN53555/Silergy patches to accomodate changes in u-boot v2019.04

* Changed property property flags for USB regulators in u-boot and kernel: kernel is now informed that bootloader is going to turn the USB power on

* Fixed indentation in rk3288-xt-q8l-v10.dts, raised debounce delay to sdmmc, added vbus-supply to USB host, removed some unneeded properties

* Added working DDR52 mode for eMMC on xt-q8l-v10

* Removed regulator-off-in-suspend for some xt-q8l-v10 regulators due to changed in act8865.c driver which causes the regulators to be misconfigured

* Adjusted targets for xt-q8l-v10 (provides bionic desktop + buster server)

* Removed all regular-state-mem nodes in xt-q8l-v10 device tree because the change in act8865.c affects also non-off entries

* Brought xt-q8l-v10 device tree from rockchip-current to rockchip-dev
2020-02-05 00:37:02 +01:00
Igor Pecovnik
b6c46b10fc Adjust various DEV configs and patches 2020-02-01 20:51:47 +01:00
Igor Pečovnik
150ac0c2af
Remove K<4, change branches, new features ()
AR-1 - Adding support category for distributions
AR-4 - Remove Allwinner legacy
AR-5 - Drop Udoo family and move Udoo board into newly created imx6 family
AR-9 - Rename sunxi-next to sunxi-legacy
AR-10 - Rename sunxi-dev to sunxi-current
AR-11 - Adding Radxa Rockpi S support
AR-13 - Rename rockchip64-default to rockchip64-legacy
AR-14 - Add rockchip64-current as mainline source
AR-15 - Drop Rockchip 4.19.y NEXT, current become 5.3.y
AR-16 - Rename RK3399 default to legacy
AR-17 - Rename Odroid XU4 next and default to legacy 4.14.y, add DEV 5.4.y
AR-18 - Add Odroid N2 current mainline
AR-19 - Move Odroid C1 to meson family
AR-20 - Rename mvebu64-default to mvebu64-legacy
AR-21 - Rename mvebu-default to mvebu-legacy
AR-22 - Rename mvebu-next to mvebu-current
AR-23 - Drop meson64 default and next, current becomes former DEV 5.3.y
AR-24 - Drop cubox family and move Cubox/Hummingboard boards under imx6
AR-26 - Adjust motd
AR-27 - Enabling distribution release status
AR-28 - Added new GCC compilers
AR-29 - Implementing Ubuntu Eoan
AR-30 - Add desktop packages per board or family
AR-31 - Remove (Ubuntu/Debian) distribution name from image filename
AR-32 - Move arch configs from configuration.sh to separate arm64 and armhf config files
AR-33 - Revision numbers for beta builds changed to day_in_the_year
AR-34 - Patches support linked patches
AR-35 - Break meson64 family into gxbb and gxl
AR-36 - Add Nanopineo2 Black
AR-38 - Upgrade option from old branches to new one via armbian-config
AR-41 - Show full timezone info
AR-43 - Merge Odroid N2 to meson64
AR-44 - Enable FORCE_BOOTSCRIPT_UPDATE for all builds
2019-11-19 23:25:39 +01:00
Paolo
0ec4235c4b [rockchip-dev] Adapted rockchip-dev to kernel 5.3.y, kernel config and rockchip.conf ()
* Adapted rockchip-dev patches to kernel 5.3.y, updated kernel config and rockchip.conf file

* Restored missing CONFIG* in linux-rockchip-dev
2019-09-22 17:21:29 +02:00
Igor Pecovnik
14ecc52fb3 Build modpost in linux-header postinst script https://github.com/armbian/build/pull/1553 Should fix DKMS issues. 2019-09-15 21:43:19 +02:00
Paolo
f82001666b [xt-q8l-v10] Updates for CSC board ()
* Added ALSA configuration bits for rk3288 HDMI and SPDIF to allow
pulseaudio show proper sound device/profile/mapping names instead of
just "Built-in Audio" for all of them

* Added ALSA device description in asound.conf to provide correct labels for PulseAudio for RK3288 devices when SPDIF and DW-I2S-HDMI simple audio cards are exposed
Removed unnecessary ALSA configuration files previously added from rockchip.conf

* Fixed cpu operating points tables and raised a bit (+5°C) cooling for non-critical temperatures for xt-q8l-v10 in dev and next kernel flavours

* Fixed again cpu opp table

* Removed whole cpu opp table and retouch only necessary operating points

* Enabled gpiomem driver for xt-q8l-v10 in next kernel flavour

* Added debounce delay and card detect gpio pins for sdmmc card holder for xt-q8l-v10 board

* Added card-detect and debounce delay for sdmmc for xt-q8l-v10 board in next kernel flavour too

* Fixed missing comment in xt-q8l-v10 device tree patch

* Added gpiomem to xt-q8l-v10 board for dev kernel

* Fixed FAN53555/Silergy patches to accomodate changes in u-boot v2019.04

* Changed property property flags for USB regulators in u-boot and kernel: kernel is now informed that bootloader is going to turn the USB power on

* Removed assert-phy-reset-when-waking-up-in-rk3288-platform patch due to inclusion in mainline 5.2 kernel
Reenabled ARM-DTSI-rk3288-add-usbphy-reset patch to include USB PHY reset lines to all rk3288 devices

* Removed ARM-DTSI-rk3288-add-usbphy-reset.patch due to inclusion in mainline kernel 5.2
2019-08-31 22:02:25 +02:00
Igor Pecovnik
fc17154500
rockchip-dev: bump to 5.2, adjust pathes, add gpio_mem driver
Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2019-07-13 15:14:54 +02:00
Thomas McKahan
38b87b2683 [ rockchip dev ] Adjust ALSA, scrap unneeded patch
https://github.com/armbian/build/issues/1367
2019-06-09 01:25:55 -04:00
Igor Pecovnik
61f7953842 Remove deprecated patches in most mainline kernels and adjust few configs. 2019-06-02 22:15:15 +02:00
Igor Pecovnik
9afdc70340 [ rockchip dev ] move to 5.1.y and adjust patches false permissions, add new patch to remove broken boards 2019-05-08 09:42:55 +02:00
Thomas McKahan
2c8ee5a69d [ rockchip-dev ] Add simpler reboot code
As seen here: https://patchwork.kernel.org/patch/10817217/

for testing in Dev.  @paolosabatino please check TV box.
2019-02-17 23:28:02 -05:00
Thomas McKahan
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
paolo
2f899df257 Enabled xt-q8l-v10 patches for armbian rockchip-dev after verification over kernel 5.0 bump
Fixed xt-q8l-v10-remote-keymap.patch to work with linux kernel 5.0
2019-01-27 17:37:16 +00:00
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
Igor Pecovnik
cbfcd85715 [ dvbsky S960 ] User request https://forum.armbian.com/topic/9318-nanopi-neo2-kernel-update-for-patch-dvbsky-s960 2019-01-23 18:55:17 +01:00
Igor Pecovnik
cadd885d97 [ rockchip-dev ] Patch adjustement 2019-01-13 09:51:08 +01:00
Igor Pecovnik
34fef666f0 [ rockchip-dev ] remove obviously deprecated and move the rest away that kernel can compile 2019-01-12 23:01:34 +01:00
Igor Pecovnik
6957b93c04 [ rockchip-dev ] remove broken patch 2019-01-12 20:58:14 +01:00
Igor Pecovnik
8db17df918 [ rockchip-dev ] remove broken wifi patches 2019-01-12 20:39:22 +01:00
paolosabatino
ee0d3f894f Fixed missing/non-working i2s-based HDMI audio device on rockchip platform 2019-01-03 18:13:59 +01:00
paolosabatino
7b0ae02a34 Merge remote-tracking branch 'upstream/master' into xt-q8l-v10 2019-01-03 13:37:13 +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
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
Thomas McKahan
f3ba298c2e [ rockchip-dev ] spidev to default overlay
Makes spidev2 an overlay for rk3288, tinker board defines it as default overlay

	overlay patch a bit messy, will clean shortly.
2018-12-17 01:25:36 -05:00
paolo
1a6236fe7f Fixed missing lines in xt-q8l-v10 device tree preventing SPDIF enabling 2018-12-16 10:48:23 +00:00
paolo
f93cf268f5 Fixed malformed patch for xt-q8l-v10 2018-12-15 18:36:04 +00:00
paolo
6bae467522 Merge branch 'xt-q8l-v10' of https://github.com/paolosabatino/armbian-build into xt-q8l-v10 2018-12-15 10:45:37 +00:00
paolo
868d7390fc Disabled dma for serial ports in xt-q8l-v10 dev kernel device tree due to changes in kernel 4.19
Removed date and time from xt-q8l-v10 patches for /dev/null source diffs
2018-12-15 10:44:00 +00:00
paolo
a818f64885 Changed minor bits in xt-q8l-v10 device tree patch for dev flavour 2018-12-15 10:43:59 +00:00
paolo
76de54fb38 Changed minor bits in xt-q8l-v10 device tree patch for dev flavour 2018-12-14 12:16:26 +00:00
Thomas McKahan
05387dc86f [ rockchip-dev ] Add test 1-wire overlay 2018-12-13 23:45:53 -05:00
Thomas McKahan
98cc59c17a [ rockchip-dev ] Add overlays patch 2018-12-13 19:06:52 -05:00
Thomas McKahan
3a185c8b82 [ rockchip-dev ] Add DT overlay framework 2018-12-13 19:04:47 -05:00
Thomas McKahan
0705089c9f [ meson64-dev ] Patch cleanup, Prelim. USB Fix 2018-12-09 00:51:07 -05: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
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