Commit graph

31 commits

Author SHA1 Message Date
Igor Pecovnik
9799982ab7 Merge branch 'master' into desktop 2021-01-23 09:16:32 +01:00
Igor Pečovnik
677ac38998
Bump rockchip to 5.10.y (#2570) 2021-01-22 12:57:22 +01:00
Igor Pecovnik
db13534ec3 Merge branch 'master' into desktop 2021-01-17 16:23:25 +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
Igor Pecovnik
1fb4749d9b Merge branch 'master' into desktop 2020-12-28 22:32:08 +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
c4f026d3cd Merge branch 'master' into desktop 2020-12-19 09:53:47 +01:00
q4a
2b627cb36b
rockchip-current: return hdmi patches and rework it for 5.9.y kernel (#2471)
rockchip-current: return hdmi patches and rework it for 5.9.y kernel
2020-12-18 18:50:47 +01:00
Miouyouyou
a72ae1fe1a
Packages.uninstall, Distribution info from files and architecture filtering (#2432)
* 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>

* Renamed some patches for better organization

Still, they should all be numbered correctly...

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

* Preliminary support for "support" checs

The point is to only allow the selection of "supported" desktops
environments and appgroups in the menus, and provide proper errors
and warnings when trying to use unsupported features while not
being an "EXPERT".

This should provide a solution to the following feature request
https://github.com/Miouyouyou/armbian-desktop/issues/13

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

* Moved the desktop selection menus inside configuration.sh

The whole problem being that, in order to provide a custom menu, for
the selected board and architecture, I need to know the actual
architecture of the selected board, which is not easy since the
board definition files depends from other generic information files...

The whole architecture sampling is done during configuration.sh, along
with some default variables configuration just in case the board files
didn't contain all the information.
Trying to move the part that sample the ARCH information from the board
definitions files inside main.sh, while leaving the default values
initialization code in configuration.sh, left me with compiling an arm32
image for an arm64 board, because the parsed variables were replaced
by the default ones.

So, the whole desktop selections menus have been moved inside
configuration.sh, just after sampling the selected board information
just like before, in order to provide only options that catter to the
current build, and also provide actual error messages when invalid
elements were selected.

There's still errors to catch here and there, notably for appgroups,
but the generated image works, which is the most important part.

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

* Delete 1017-ARM-DTSI-rk3288-add-GPU-500-Mhz-OPP-again.patch

* Update only_for

Co-authored-by: Igor Pečovnik <igorpecovnik@users.noreply.github.com>
2020-12-10 11:44:13 +01:00
Paolo
ebc0012d6e
Merge pull request #2149 from Miouyouyou/retry_rk500mhz
rockchip-current: Add GPU 500MHZ OPP
2020-12-05 17:32:40 +01:00
Igor Pečovnik
62c27823a6
Move Rockchip 32b to 5.9.y (#2339)
* Move Rockchip 32b to 5.9.y
* Disable broken patches
2020-11-25 19:50:47 +01:00
Igor Pečovnik
a08539790d
Remove broken part from patches (#2347)
* Remove broken part from patches
2020-11-14 20:49:32 +01:00
tonymac32
4cdf3c3d0e [ rockchip ] add overlay compilation support 2020-10-18 14:43:30 -04:00
Igor Pecovnik
159f913038 Bugfix - remove deprecated part of wifi 5.8.y patches 2020-10-04 09:29:18 +02:00
Igor Pecovnik
9558436d01 Update wireless patches which broke after bumping to 5.8.10 2020-09-18 14:11:40 +02:00
Igor Pečovnik
f86c6b3138
Moving Rockchip 32bit to 5.8.y (#2183)
* 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 (#2184)

* 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
Miouyouyou (Myy)
71920e0e56
rockchip-current: Add GPU 500MHZ OPP
Those were removed from mainline kernels by Chromebook devs,
wanting to protect their broken babies at all cost.

This patch was dully tested here :
https://forum.armbian.com/topic/13515-panfrost-on-rk3288-and-gpu-on-600mhz-problems/

But you're welcome to test it again !

I did it, with a whole glmark2 round and it worked flawlessly.

To test the GPU at that frequency, locate the **devfreq** folder of your GPU unit on your system (For tinkerboards, it's in **/sys/devices/platform/ffa30000.gpu/devfreq/ffa30000.gpu**) and then :

* Check the available frequencies by doing `sudo cat available_frequencies` .
That should output something like this : `100000000 200000000 300000000 400000000 500000000 600000000`
Be sure that `500000000` is in the list.

* Setup the minimum GPU frequency to 500Mhz like this : `sudo echo 500000000 > min_freq`

You can also set up the GPU to not go over 500Mhz like this : `sudo echo 500000000 > max_freq`

Signed-off-by: Miouyouyou (Myy) <myy@miouyouyou.fr>
2020-08-15 22:43:27 +02:00
Werner
812245def3
Move rockchip/64 current to 5.7.y (#2099)
* Move current to 5.7.x
* Update linux-rockchip-current.config
* Move dev patches to current
* copy dev to current
* move dev patches to current
* move rockchip64-current to 5.7.x
2020-07-18 23:07:01 +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
f4cce97548
[rk3288] Various fixes and enhancements for xt-q8l-v10 CSC board (#2013)
* 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
Paolo
008f3fd47c
[xt-q8l-v10] fixed act8846 regulator against kernel 5.4, enabled eMMC DDR mode (#1778)
* 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
tonymac32
0a18eca925 [ Rockchip ] Clean up now redundant MiQi patches
These patches are now part of the rk3288.dtsi to avoid all the mess of applying multiple patches across multiple boards.
2020-01-20 02:10:54 -05:00
tonymac32
a254166c1a [ rockchip ] Tinker 1.8 and revert remove broken dtb 2020-01-19 21:01:53 -05:00
tonymac32
72b67c6c2a [ rockchip ] no broken dtb's in new kernels 2020-01-19 02:02:29 -05:00
tonymac32
e530439fc0 [ rockchip ] clean removed patches 2020-01-19 01:54:03 -05:00
tonymac32
7ff7204141 [ rockchip ] Current switch to Panfrost
Mali driver is not enumerating device anyway, Panfrost was.
2020-01-19 01:35:07 -05:00
Igor Pecovnik
fd6b14d15c
Revert "Fix broken Tinkerboard booting due to changes in stmmac driver (#1734)"
This reverts commit 2099cb1557.
2020-01-12 21:02:56 +01:00
Igor Pečovnik
2099cb1557
Fix broken Tinkerboard booting due to changes in stmmac driver (#1734) 2020-01-11 21:46:25 +01:00
Igor Pečovnik
ff4c1488da
Move to 5.4.y (#1686)
* Wireguard: bump tag to most recent since it breaks building on 5.4.y
* Move rockchip current to 5.4.y
* Move sunxi current to 5.4.y
* Move meson64 to 5.4.y
* Move odroidxu4 to 5.4.y and enable "current" targets
* Enable missing target
2019-12-23 00:40:23 +01:00
Igor Pecovnik
d5e8710cbd Tinkerboard S: fix booting from eMMC. Closing [AR-89] 2019-12-12 07:47:18 +01:00
Igor Pečovnik
150ac0c2af
Remove K<4, change branches, new features (#1586)
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