Commit graph

3348 commits

Author SHA1 Message Date
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
Igor Pečovnik
528daf9deb
VFAT boot partition bugfix (#1966)
Kernel install image is broken on VFAT images since it unmounts directory in preinstall and doesn't mount back. We used to have this for NAND / FAT install which fixes this in the postinst script. Removing since we have no more support for NAND anyway. Tested on Odroid C1. @the-going

Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2020-05-15 15:25:25 +02:00
5kft
4aa2b6bc83
[ sunxi-current ] add upstream patches 2020-05-10 08:47:12 -07:00
Igor Zhukov
89b5e5f782
Add mali GPU supply for OrangePi Lite2 (#1943) 2020-05-09 10:36:42 +02:00
Piotr Szczepanik
d479e98a56
Added dev target support for NanoPi R2S (#1953) 2020-05-08 23:09:11 +02:00
Igor Pečovnik
bdd63057f9
Add missing bits for DEV kernel (#1951)
* Disabling GPIO reset to fix broken ethernet on Odroid C4
* Add C4 network fix for DEV kernel as well
2020-05-07 17:11:06 +02:00
Igor Pečovnik
8f6419edd6
Disabling GPIO reset to fix broken ethernet on Odroid C4 (#1950) 2020-05-07 17:05:12 +02:00
plntyk
6af0c50473
odroidc1: fix invalid extent boot bug (#1949)
odroidc1 can fail to boot probably depending
on features of the ext4 rootfs that is created
during the build process

serial log error:
Loading file "/boot/uInitrd" from mmc device 0:1 xxa1
invalid extent block

since there is no support for that board in upstream u-boot
backport the patch from
upstream commit:b5bbac1a9b07016602559ff483df265fef6c1f83
see also [1]

[1] https://lists.denx.de/pipermail/u-boot/2014-January/170802.html

Signed-off-by: Dirk Neukirchen <plntyk.arm@plntyk.name>
2020-05-07 17:04:35 +02:00
5kft
bf34c72c53
[ sunxi-current ] add upstream patches 2020-05-06 16:59:16 -07:00
Piotr Szczepanik
91f2700eea
Fixes and cleanups after rockchip64 preparation for mainline u-boot (#1945) 2020-05-06 23:45:09 +02:00
Tony
cec6d242df
Merge pull request #1842 from armbian/roc-rk3328-cc-enable-dmc
Enable DMC for roc-rk3328-cc (renegade) in current

No stability issues with this enabled, no reason not to merge, enables higher clockrates via manual setting for now.
2020-05-05 22:11:18 -04:00
Piotr Szczepanik
1535f9d2ae
Switched NanoPi R2S to mainline u-boot (#1940) 2020-05-05 21:20:31 +02:00
5kft
ab96d0193d
[ sunxi-current ] add upstream patches 2020-05-05 10:57:50 -07:00
Piotr Szczepanik
7113913be8
Added rk3328 efuse driver and stable secondary mac address to u-boot (#1939) 2020-05-03 20:42:50 +02:00
Piotr Szczepanik
5a2b2c360b
Prepare rockchip64 for switch to mainline u-boot and switched ROCK Pi 4 (#1934) 2020-05-03 19:15:46 +02:00
Werner
1a5b1b6e9d
RTL8723DS switch to upstream (#1938)
* 8723DS: Go back upstream

and remove 5.6 patch

* Delete wireless-rtl8723ds.patch

No longer needed.
2020-05-03 09:29:26 +02:00
plntyk
483d7e96a7
Fix odroidc1 (#1932)
* enable and change odroidc1 config
remove EOS
enable current and dev config
meson-current: update config
meson-dev: update config
Signed-off-by: Dirk Neukirchen <plntyk.arm@plntyk.name>

* meson-current meson-dev: reduce Kernel size

with default loading locations in u-boot
the uImage can be too large and will be partly overwritten
with the loaded dtb leading to boot failues due to wrong checksum

Signed-off-by: Dirk Neukirchen <plntyk.arm@plntyk.name>

* odroid-c1: change default loglevel

Signed-off-by: Dirk Neukirchen <plntyk.arm@plntyk.name>

* meson: fix odroidc1 boot and create uImage

without uImage the board will not boot
take the already used hack (?) from
general-kernel-odroidn2-current.patch
since KERNEL_IMAGE_TYPE does not work as expected

Signed-off-by: Dirk Neukirchen <plntyk.arm@plntyk.name>

* Update targets.conf

* Update targets.conf

* Update targets.conf

* Making a bigger diff

* Removing build_minimal

One can choose what to build, while build targets are defined elsewhere

* Governor interactive n/a

* Updating config

Cause of changes in boot.ini we don't need to worry about size. After few tests, no problems sighted.

Tested running Docker.

* Adjust dev config too

Tested.

* Update odroidc1.conf

Co-authored-by: Igor Pečovnik <igorpecovnik@users.noreply.github.com>
2020-05-03 00:39:52 +02:00
5kft
276e805b90
[ sunxi-current ] add upstream patches 2020-05-02 07:00:55 -07:00
guidol70
7107eed3fa
Update npi-a64-only-audio-usb.patch (#1935)
deleted activation of i2s1 - 1c2240, because it isnt necessary for the corect operation of audio-analog and sound_hdmi
USB isnt affected.
i2s2 is right, because its needed for sound_hdmi 1c22800
2020-05-02 15:05:18 +02:00
5kft
ba34ad6d28
[ sunxi-current ] add upstream patches 2020-04-29 11:03:36 -07:00
Igor Pečovnik
716bd3b9dc
Reverting mvebu64 to K4.19 (#1926)
It doesn't want to boot on 5.4.y. Adjusting kernel config, fix Docker dependency problem, move few other minor fixes from openwrt and closing https://github.com/armbian/build/issues/1453
2020-04-29 01:04:10 +02:00
guidol70
142f0506fe
npi-a64-only-audio-usb.patch (#1928)
* npi-a64-only-audio-usb.patch

This is a follow-up to the PR #1927 where the complete sun50i-a64.dtsi was changed.
This is a patch ONLY for the NanoPi A64 .dts to activate Audio & Upper USB-port
Has been build/compiled and works with focal 5.6.5

Address = Alias:
sound=sound
sound_hdmi = sound_hdmi
1c19000 = usb_otg
1c22400 = i2s1
1c22c00 = dai
1c22e00 = codec
1c22800 = i2s2
1f015c0 = codec_analog

* Create npi-a64-only-audio-usb.patch

Co-authored-by: Igor Pečovnik <igorpecovnik@users.noreply.github.com>
2020-04-28 22:33:48 +02:00
Igor Pecovnik
c585e51044
Meson64 dev - add missing patch that broke compilation for Odroid C4 2020-04-27 19:03:16 +02:00
Igor Pecovnik
bba8a86238
Meson64 - patch adjustements
Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2020-04-27 18:33:19 +02:00
Neil Armstrong
07447294c7
Add support for Odroid c4 (#1923)
* meson-sm1: use amlogic-boot-fip to generate boot binary for SM1

Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>

* patch: add Linux and U-Boot patches

Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>

* configs: enable Odroid-C4

Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
2020-04-27 18:03:48 +02:00
useful64
fefc7d0a24
Update rk3328-audio-and-renegade-supplies.patch (#1920)
Fix "pd_gpu@RK3328_PD_GPU", it was in the wrong place. It need be inside "power-controller" to work. (+12 line offset)
2020-04-26 13:20:41 +02:00
Igor Pečovnik
9f0976a315
Fix ethernet detection for Nanopi K2 (#1912) 2020-04-25 21:25:28 +02:00
useful64
f7000a4a61
Update board-rock64-add-audio.patch (#1915)
Fix: change "stratus" to "status" on hdmi_sound
2020-04-25 17:17:35 +02:00
Igor Pecovnik
533222dde7 [ meson64 ] Remove deprecated patches 2020-04-24 17:18:45 +02:00
5kft
0409295b83
[ sunxi-current ] add upstream patches 2020-04-23 07:33:22 -07:00
m][sko
aab246f759
fix linux 5.7 package building (#1909)
Co-authored-by: Michal Lazo <michal.lazo@memsource.com>
2020-04-23 00:12:25 +02:00
Haraade
9800011cb3
odroidxu4-legacy patches already included in hardkernel git repo. Kernel 4.14.176 (#1907)
* Delete patch-4.14.173-174.patch
* Delete patch-4.14.174-175.patch
* Kernel 4.14.176
2020-04-22 08:17:56 +02:00
5kft
174c6a54cb
[ sunxi-current ] add upstream patches 2020-04-21 07:36:53 -07:00
Antoine Aflalo
a44f6a6ac6
Base Odroid kernel on HardKernel repository (#1906) 2020-04-21 00:16:48 +02:00
Werner
ce8e03e6dc
Delete patch-5.6.4-5.patch (#1901)
Merged into upstream
2020-04-20 15:52:51 +02:00