Commit graph

2521 commits

Author SHA1 Message Date
Martin Ayotte
f863010e75 Merge branch 'master' of https://github.com/armbian/build 2020-06-30 13:34:43 -04:00
Martin Ayotte
67f0d48ba3 add patch for missing ext_osc32k on H6 to fix OPiLite2 WiFi 2020-06-30 13:32:36 -04:00
Igor Pečovnik
f6abcc7c85
Add most recent drivers for Realtek RTL8152/RTL8153 that supports 2.5G adapters (#2071) 2020-06-29 19:16:10 +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
Igor Pecovnik
9285ab0453 Update patch on sunxi DEV target as well 2020-06-27 22:07:18 +02:00
Igor Pecovnik
dd859a0e0f Fix broken / innactive patch for Bananapi M2 zero 2020-06-27 19:45:47 +02:00
Igor Pečovnik
50d8cbaff8
Bump sunxi to 5.7.y (#2056)
* Bump sunxi to 5.7.y
* Further cleanup 32bit works, 64bit needs more patches adjustement
* Also arm64 boots, SPI flash areas were refactored, new location is a bit fuzzy, leaving behind
* More fixed and cleanings, both variants builds now, but without overlay support
* fix sunxi overlays in AR-329 branch

Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
Co-authored-by: Martin Ayotte <martinayotte@yahoo.ca>
2020-06-27 19:16:11 +02:00
Igor Pečovnik
7d758026b5
Enable kernel boot splash, env and bootscript files cleanup, upstream patches (#2065)
* Initial commit for kernel boot splash
* Add startup files to disable bootlog when system is up / down
* Update logo, remove deprecated one
* Introduce new u-boot variable bootlogo
* Adjust kernel config
* Make logo possible on Odroid XU4
- add legacy and current upstream patches
- delete xu4 environment since its not used
* Cleanup C2,C4, both tested, logo works on mainline,
- adding legacy upstream patches for c4
* Enable bootlogo by default on Odroid N2
* Enable logo on RK3399 desktop images
* Cleanup the rest of the environment files
* Add initrd hook that copy splash file to initrd.
* Missing logo bits for one boot scripts
* Enable boot logo on Pinebook A64
* Enable bootlogo on Teres
* Update config
2020-06-27 19:14:38 +02:00
Piotr Szczepanik
f7859e861f
Ignore BCM4345 and derivatives which are UART based in btsdio (#2068) 2020-06-27 12:13:15 +02:00
Igor Pečovnik
99afbdfe7e
Bump meson64 current to 5.7.y (#2069)
* Bump meson64 current to 5.7.y
* Add config

Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2020-06-26 15:53:20 +02:00
Igor Pečovnik
a938699140
Adjust Rockchip64 dev and add PBPro stuff (#2055)
* Adjust Rockchip64 dev and add PBPro stuff

* Remove deprecated patches

Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>

* Merge config with current
2020-06-25 20:23:56 +02:00
5kft
8bcdfc7c2b
[ sunxi-current ] add upstream patches 2020-06-24 14:07:47 -07:00
Piotr Szczepanik
72257bd064
Make USB3 support of ROCK Pi E on par with other rk3328 boards (#2050) 2020-06-23 16:37:54 +02:00
5kft
6f8a5ab260
[ sunxi-current ] add upstream patches 2020-06-22 17:42:21 -07:00
Igor Pečovnik
e1ecb09833
Initial ROCK Pi E support (as WIP) (#2042)
* WIP: Adding RockpiE config

Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>

* Mainline u-boot for ROCK Pi E

* Initial ROCK Pi E device tree in kernel

* Fixed supplies for ROCK Pi E device tree

* Adjusted u-boot load address for rockchip64 boards with 256MB eg. ROCK Pi E

* Blacklisted lima on ROCK Pi E

* Fixed ROCK Pi E patch after merge from master

* Removed mode settings from rk805 regulators

* Fixed issues with offloading for gigabit interface of RockPi E

* Adjusted ROCK Pi E board config

* Added dev branch for ROCK Pi E

* Add build targets

Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>

* Exchange legacy to current in ROCK Pi E build targets

Co-authored-by: Piotr Szczepanik <piter75@gmail.com>
2020-06-20 22:39:57 +02:00
Igor Pečovnik
c885b5575e
Add upstream patches (#2040)
Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2020-06-19 18:37:05 +02:00
Igor Pecovnik
e7702e0ed4
Merge branch 'master' of https://github.com/armbian/build 2020-06-19 17:29:41 +02:00
Paolo
23604e8a0d
Introducing Rockchip RK322X SoC support (#2032)
* Introducing Rockchip rk322x SoC support

Main features:

- Legacy kernel flavour based upon stable v2.x rk3288 Rockchip branch (https://github.com/rockchip-linux/kernel/tree/stable-4.4-rk3288-linux-v2.x)
- Current kernel flavour based on mainline 5.6.y kernel
- Mainline u-boot (v2020.04)
- Single generic tv box target (rk322x-box) which boots on all the known tv boxes
- Hardware devices (eMMC/NAND, led wiring configuration, SoC variant selection) modulation done by user at runtime via device tree overlays - a script (rk322x-config) is provided for autodetection and simple configuration by inexperienced users;
- Bits added to armbian-hardware-optimization to set affinity for irq handlers
- rk322x-box targets already added to targets.conf for automatic image creation

* Removed disabled patches
* Restored mysteriously removed comment character
2020-06-19 17:27:27 +02:00
Igor Pecovnik
f47e7836d1
Attach Odroid XU4 DEV branch back to mainline + patches 2020-06-19 17:23:26 +02:00
m][sko
20d17a7c95
Switch meson to linux 5.7 (#2024)
* switch meson to linux 5.7

* formating

* enable panfrost module
2020-06-19 09:47:44 +02:00
5kft
d431797399
[ sunxi-current ] add upstream patches 2020-06-17 16:38:15 -07:00
Paolo
8f9f12065e
[RK3288] Bump rockchip-dev to kernel 5.7 (#2018)
* 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
Piotr Szczepanik
c7c2996b06
Switched rockchip64 dev target to kernel 5.7 (#2021) 2020-06-14 22:33:26 +02:00
5kft
f75695016b
[ sunxi-current ] add upstream patches 2020-06-10 15:13:27 -07: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
5kft
9e51b2af08
[ sunxi-current ] add upstream patches 2020-06-07 07:02:27 -07:00
Piotr Szczepanik
df0083d395
Enabled HDMI audio for OrangePi 4 (#2009) 2020-06-06 19:52:47 +02:00
MarkoBursic
4fc10487f4
tested, working (#2008)
Author: @martinayotte
2020-06-05 10:08:03 +02:00
5kft
c5b787f4ab
[ sunxi-current ] add upstream patches 2020-06-03 07:21:07 -07:00
Igor Pecovnik
9cda37d460
Disable useless patch
We don't need to enable UARTS and OTG by default on all Nanopi boards. This seems to cause instability on M1

Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2020-05-30 20:07:19 +02:00
5kft
f81c444b34
[ sunxi-dev ] update thermal-zone configuration for H6 2020-05-28 16:57:55 -07:00
5kft
ddfb860c7a
[ sunxi-current ] update thermal-zone configuration for H6 2020-05-28 16:57:39 -07:00
5kft
6fe3196d50
[ sunxi-current ] add upstream patches 2020-05-27 12:22:18 -07:00
Jayantajit Gogoi
7efb5014a2
Enable vcc_sd regulator on boot for NanoPi R2S (#1990)
NanoPi R2S has the same issue as ROC-RK3328-CC.
With working GPIO, during init the GPIO state s reset.
This causes the sdmmc regulator to shut down, preventing detection.
Removing and replacing the card will allow it to be detected, but that should not be necessary.
Fix this by setting the regulator on at boot.

Signed-off-by: Peter Geis <pgwipeout@gmail.com>
Link: 75aa567803
Signed-off-by: Jayantajit Gogoi <jayanta.gogoi525@gmail.com>
2020-05-26 22:20:31 +02:00
Igor Pečovnik
fe36958241
Add Odroid C4 legacy build (#1983) 2020-05-25 19:22:16 +02:00
Miouyouyou
5ffefd40ab
[RFC] RK3288 : Add HDMI resolutions (#1887)
* 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
5kft
c7032ccdc2
[ sunxi-dev ] add correct H3 and H5 thermal zones and cooling maps 2020-05-23 09:27:41 -07:00
5kft
cc55d03a7b
[ sunxi-current ] add correct H3 and H5 thermal zones and cooling maps 2020-05-22 17:49:57 -07:00
Jagmn
c92fdd1161
[h3] Fix SPDIF clock multiplier settings (#1981)
There have been intermittent issues with SPDIF output on H3 & H2+ devices.
    Digging into the H2+ & H3 datasheets I encountered an important clue on
    table 8.7.2.2: s_clk needs to be 4x24.576 MHz or 4x22.5782 Mhz.
    Probably due to how SPDIF is a huge oversample of the audio frequency.

Co-authored-by: George Lander <lander@jagmn.com>
2020-05-22 00:24:33 +02:00
Igor Pečovnik
99f6bef7de
Attach Meson64 CURRENT to 5.6.y and make DEV = CURRENT at this point. (#1956)
* Attach Meson64 CURRENT to 5.6.y and make DEV = CURRENT at this point.

There is a lot of changes to 5.7.y and can be done after release or by someone that feels a need for this right now.

* Delete meson64_fclk_div3.patch

this fix has been upstream for some time, I had issues with it on 5.4, which is why it had been removed there.

* [ meson64 current ] kconfig tweak

disable Rockchip SoC drivers

* [ meson64 current ] remove rockchip patches

* [ meson64 current ] disable CMA patch GX

* [ meson64 current] add libretech cc audio patch

This brings the dts even with the khilman 5.8/integ branch which includes all of the audio changes.  The kernel is registering audio devices, however nothing comes out.  committed in case someone wants to spend time debugging/testing theories.

* fix permissions

was editing from another machine, accidental change of permissions in the patch

* Set default mixer settings

Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>

* [ meson64 current ] GXL audio commit

This moves to the mainline patches and covers le potato and la frite.  Adjusted asound config to handle a commonized sound card name.

* [ meson64 current ] add gxbb audio WIP

Playback is too fast, a clock setting is off somewhere.

* Update kernel configs

Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>

Co-authored-by: Tony <tonymckahan@gmail.com>
2020-05-22 00:17:08 +02:00
5kft
441e25aefe
[ sunxi-current ] add upstream patches 2020-05-20 07:17:31 -07:00
5kft
7c5c1d5cb3
[ sunxi-current ] add upstream patches 2020-05-17 17:41:19 -07:00
Piotr Szczepanik
40a3d4ecb9
Fixed rt5651 codec probing after its driver was changed to module (#1969) 2020-05-17 18:42:24 +02:00
Werner
55d5c667f3
Update npi-a64-only-audio-usb.patch (#1972)
7107eed3fa (diff-b855842906d9352d559c9a0b69eb30ed) broke this patch.
This fixes it.
2020-05-17 18:40:27 +02:00
Werner
e419fdc7ca
Update board-h6-orangepi-lite2-fix-missing-all.patch (#1971)
89b5e5f782 (diff-986c134d2455444b5a9ffd6941aa50ef) broke the patch.
This fixes it.
2020-05-17 18:40:18 +02:00
Igor Pečovnik
702259ea7d
Enable USB on Udoo board (#1973)
* Enable USB on Udoo
2020-05-17 18:38:51 +02:00
Igor Pečovnik
a0f9d7af80
Move imx6 current to 5.6.y (#1903)
* Move imx6 current to 5.6.y
* Config update
2020-05-17 18:35:21 +02:00
Piotr Szczepanik
5fa43b0a5e
Fixed mali error on boot for rk3399-legacy (#1965) 2020-05-15 21:51:36 +02:00
Igor Pečovnik
f054caca02
Switching Odroid C1 boot partition to FAT (#1964)
* Switching Odroid C1 boot partition to FAT

U-boot FAT driver is very unstable and there is no wish to dig into u-boot. Seems like a sane workaround @plntyk

Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>

* Add notes for separate boot partitions

Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>

* Typo

Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>

* Bugfix: use zImage for converting to uImage since on FAT partitions we use move

Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>

* Cleanup C1 boot scripts

We have no plans to ever support legacy kernel again. Removing related things

Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>

* A bit more radical change. Moving meson current to (new) legacy, current to 5.6.y and dev to some development branch / commit.

* Remove unneded patch

Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2020-05-15 21:50:26 +02:00
5kft
4aa2b6bc83
[ sunxi-current ] add upstream patches 2020-05-10 08:47:12 -07:00