Commit Graph

3171 Commits

Author SHA1 Message Date
hzyitc
df1f0b4fdc
Onecloud: fix bugs (#4022)
* Support pwm regulator

* meson: Fix MAC
Remove useless codes from odroidc1

* Bugfix: xorg config

* dts: mark regulators always-on
2022-07-25 11:37:15 +02:00
The-going
b2b8b8848b
Adapt patches to kernel version 5.10.130 (#3990) 2022-07-14 15:33:02 +03:00
The-going
c9df315485
Sunxi 5.15 (#3992)
* Skip applying fixes for touchscreen: goodix.

This device is not supported by armbian.
Patch fixes cannot be tested on real hardware.

* Bring the patch format to the form git-format-patch

for application by the `git am` command.
2022-07-13 21:53:24 +03:00
Tony
44ac745ae3
Rockchip64-current: fix nanoPi NEO 3 DTS makefile (#3979)
Changes to the add-board patch did not get added to the makefile patch.  Fixed.
2022-07-10 02:14:03 -04:00
schwar3kat
bbc63edae8
Merge pull request #3969 from schwar3kat/orangepi-r1-lts-refactored-dts
Refactored orangepi-r1plus-lts dts in kernel add board patch
2022-07-10 16:07:13 +12:00
Paolo
0310f95505
rockchip64: fix rk3318-box cpu voltages (#3976) 2022-07-09 16:30:16 +02:00
arnaldovalente
06a8a7cb67
Orangepi One Plus Rollback to i2c (#3964)
Co-authored-by: gleam2003 <gleam2003@msn.com>
2022-07-09 11:39:27 +02:00
brentr
3ff231d9a0
Brentr (#3966)
* This disables support for the RockPI-S "SDNAND" soldered on EMMC storage

Without it, SDNAND functions
There are no issues on boards that lack the EMMC storage option
In this case, the kernel probes the chip, quietly fails and continues without
creating the corresponding /dev/mmcblk* nodes

* This patch attempts to enable CPU operating points that are not defined.

The result is that the cpufreq-dt driver aborts when attempting to process these incompletely defined nodes.
The CPU ends up running at a constant clock rate, without cpufreq support.
Simply removing the patch restores proper cpufreq operation.
Note, however, that the CPU operating points are still overvolted for the newer RK3308B-S SOC.

See:
https://dl.radxa.com/rockpis/docs/sw/RK3308B-S&RK3308H-S_Software_Compatibility_Introduction_V1.0.0_20211016.pdf
2022-07-09 11:35:51 +02:00
Julian Sikorski
35e509a040
Update odroidxu4-current to 5.4.204 (#3970) 2022-07-09 11:35:34 +02:00
Paolo Sabatino
07775b59d4 rk322x: fix for MXQ_PRO board wifi 2022-07-09 11:12:48 +02:00
schwar3kat
a16699260f
Refactored orangepi-r1plus-lts dts in kernel add board patch
Renamed patch to match rockchip64 boards

Nanopi dependencies removed
2022-07-08 22:35:59 +12:00
Oleg
993f2e6bbf
Merge pull request #3959 from 150balbes/media-20220704
move kernel media to current 5.18 and edge 5.19
2022-07-08 09:52:24 +03:00
Tony
76192f1fa8
RK3328 cleanup (#3963)
* Rockchip64 rk3328 cleanup

* Rockchip64 remove unneeded RK3328 USB3 PHY driver
2022-07-06 10:38:09 -04:00
balbes150
5b5b6a010a fix USB BPIr2pro 2022-07-05 11:23:33 +03:00
Tony
1077af2d98
RK3328 fix USB3 5.15 (#3957) 2022-07-04 09:28:32 -04:00
balbes150
2e1b4eed73 move kernel media to current 5.18 and edge 5.19 2022-07-04 16:18:31 +03:00
Igor Pečovnik
2a1863f2f5
Bump sunxi version to latest and add upstream patches for odroid xu4 (#3954)
* Typo in packaga name

* Bump sunxi version to latest and add upstream patches for odroid xu4
2022-07-03 08:25:49 +02:00
Tony
9680fc46a0
Roc rk3399 pc enable type C (#3953)
* roc-rk3399-pc remove outdated patch

* roc-rk3399-pc enable type-c
2022-07-02 19:51:26 -04:00
The-going
7b0c873f4d
Sunxi 5.18: add megous patches: tag: orange-pi-5.18-20220627-1924 (#3946)
* sunxi-5.18: add megous patches: tag: orange-pi-5.18-20220627-1924

* tools: mk_format_patch: ignore-matching-lines git version

* sunxi-5.18: re-extracted armbian patches after being applied to 5.18.8

* sunxi-5.18: switch to version tag=v5.18.8
2022-07-01 01:02:59 +02:00
Paolo Sabatino
19d1ce656e rockchip64: fix pwm regulators that use pinctrl "active" configuration 2022-06-26 15:14:53 +02:00
Paolo Sabatino
381cc372db rockchip64: disable pwm patch because broken 2022-06-23 10:33:02 +00:00
Paolo
2ca6a9381d
rockchip64: add rk3318-box tvbox board patch and configurations (#3921)
* rockchip64: add rk3318-box tvbox board patch and configurations
* rockchip64: add missing bcm43342 patch for edge kernel
2022-06-23 08:30:54 +02:00
The-going
176c05d4b0
Sunxi 5.18 (#3908)
* sunxi-5.18: add new megous patches

* switch to v5.18.5: exclude a previously applied patch

* fix: tools/mk_format_patch: numbered=false by default

* sunxi-5.18: rebasing and extraction using the mk_format_patch script
2022-06-20 15:31:38 +02:00
Paolo
c47922f71e
rockchip64: reworked PWM patch due to breakage in existing pwm dtbs (#3913) 2022-06-19 12:38:17 +02:00
EBK21
1a2800f384
workaround for orangepi 3 lts ethernet problem (#3906)
Method from uboot Odroid C2 fix, same problem same workaround.
2022-06-19 12:38:06 +02:00
Piotr Szczepanik
df2d09c8a2
Adjust rk3399-legacy patches - fixes missing NanoPi dtb files (#3912) 2022-06-18 21:07:55 +02:00
Paolo Sabatino
70bb7c48b2 rk322x: update MGLRU armhf patch for kernel v5.17 and v5.18 2022-06-18 14:13:11 +02:00
Julian Sikorski
26d0168546
Update odroidxu4-current to 5.4.199 (#3907) 2022-06-17 19:17:08 +02:00
Paolo Sabatino
8ab3567c81 rockchip64: fix orangepi4 LTS bluetooth initialization 2022-06-17 10:07:06 +02:00
Paolo Sabatino
b88a8a7dce rockchip64: orangepi4 LTS sdmmc bus pins strength increased for better stability with UHS modes 2022-06-17 10:07:06 +02:00
Paolo
388e9bbf5e
Support for OrangePi4 LTS board (#3770)
* orange pi 4 LTS support added (uwe5622 wifi driver, es8316c codec)

* add orangepi 4 LTS device tree
* add uwe5622 driver to 5.15 and 5.18 rockchip64 patches
* add wpasupplicant to jammy cli packages
* fix es8316c asound.state (zeroing stereo enhancement which causes distortion)

* Add build targets

* Move from WIP state

Co-authored-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2022-06-14 12:11:33 +02:00
Paolo Sabatino
ae2f91d4ee rockchip64: fix tinkerboard 2 missing register in dts 2022-06-14 09:33:41 +02:00
Paolo Sabatino
17b4fb913c rockchip64: bump edge kernel config to 5.18, disable csgpio patch due to mainline clashing 2022-06-14 09:33:41 +02:00
hzyitc
a863b5a242
Onecloud: fix some bugs (#3873)
* Refactor patches

* Fix bug: the USB closed to the HDMI doesn't work

* Fix bug: cpufreq doesn't work

* Fix bug: thermal_zone doesn't work

* More frequency governors

* Add bootscript

* Fix bug: add missing dependency
needed for gcc-arm-8.3-2019.03-x86_64-arm-linux-gnueabihf
2022-06-11 18:03:03 +02:00
Igor Pečovnik
85958994b5
Adjust broken patches and move sunxi to latest tag (#3876)
* Bump sunxi kernels

* Adjust remaining patches
2022-06-11 18:01:32 +02:00
The-going
07d263283e
sunxi-5.15: Switch version to the v5.15.46 tag (#3886) 2022-06-11 19:00:06 +03:00
Oleg
7799a89f31
fix build media kernel 5.17 (#3881) 2022-06-11 08:46:27 +02:00
Paolo
cff049a92b
fix rk322x, rockchip mainlined patches for kernel v5.18, adjust xt-q8l-v10 remote makefile (#3877) 2022-06-10 21:50:57 +02:00
The-going
25e60a726b
Sunxi 5.18 (#3879)
* sunxi-5.18: rebase megous patces to v5.18.3

* sunxi-5.18: Add upstream patches - tag: orange-pi-5.18-20220609-1318

* Check applicability to version 5.18.3

* sunxi-5.18: switch to version 5.18.3
2022-06-10 21:50:37 +02:00
Igor Pečovnik
8ba7b7e214
Switching the rest to 5.18.y (#3860)
* Update kernel configs

* Switch sunxi edge to 5.18.y

* Move sunxi to 5.18.y and re-enable AUFS

* Change version - temporally to make a build from here

* Update config

* 88xx was fixed in the mean time.

* Put version back

* Fix sunxi legacy, disable aufs on 5.10.y since its broken

* Upstream changed in the mean time

* Add a patch to enable 8821cu compilation at 5.18

https://github.com/armbian/build/pull/3814

* Re-enable CONFIG_RTL8822BU in edge

* Update CONFIG_RTL8XXXU

* Bump imx6

* Bump uefi kernels to 5.18.y

* Bump mvebu64 and switch odroid xu4 to 5.18
2022-06-07 07:49:08 +02:00
Vyacheslav
f1937f83a3
Update meson64-edge/general-meson-aiu-Fix-HDMI-codec-control-selection.patch patch for Kernel 5.15.7+ (#3849) 2022-06-03 18:58:56 -04:00
Jannis
4c0cc1e778
Fix mvebu pwm patch (#3847) 2022-06-03 18:51:39 +02:00
The-going
0c438d8c56
sunxi-5.18: Add armbian patches (#3846)
* sunxi-5.18 Initial state for armbian patches

* Adapting patches to the new kernel, sort, add new megous patches

* DEBUG

* Add the latest patches

* fix: compile error

drivers/spi/spi.c:3548:3: note: in expansion of macro ‘dev_info’
   dev_info(&spi->dev, "spi_setup / gpio_is_valid(%d) ... doing gpio_request ...\n", spi->cs_gpio);
   ^~~~~~~~
drivers/spi/spi.c:3549:9: error:
 implicit declaration of function ‘gpio_request’;
 did you mean ‘gpio_to_desc’? [-Werror=implicit-function-declaration]
   ret = gpio_request(spi->cs_gpio, dev_name(&spi->dev));
         ^~~~~~~~~~~~
         gpio_to_desc
drivers/spi/spi.c:3549:27: error:
 ‘struct spi_device’ has no member named ‘cs_gpio’;
 did you mean ‘cs_gpiod’?
   ret = gpio_request(spi->cs_gpio, dev_name(&spi->dev));
                           ^~~~~~~
                           cs_gpiod
drivers/spi/spi.c:3554:4: error:
 implicit declaration of function ‘gpio_direction_output’;
 did you mean ‘gpiod_direction_output’? [-Werror=implicit-function-declaration]
    gpio_direction_output(spi->cs_gpio,
    ^~~~~~~~~~~~~~~~~~~~~
    gpiod_direction_output
drivers/spi/spi.c:3554:31: error:
	‘struct spi_device’ has no member named ‘cs_gpio’;
	did you mean ‘cs_gpiod’?
    gpio_direction_output(spi->cs_gpio,
                               ^~~~~~~
                               cs_gpiod
In file included from ./include/linux/device.h:15,
                 from drivers/spi/spi.c:8:
drivers/spi/spi.c:3556:79: error:
 ‘struct spi_device’ has no member named ‘cs_gpio’;
 did you mean ‘cs_gpiod’?

* Remove pre-applied patches
2022-06-01 17:10:19 +02:00
The-going
e8e149ead2
sunxi-5.17: fix: cpu opp table sun8i-a83t (#3829)
cpu opp table for sun8i-a83t can only be a multiple
of the integer 24 * 8 * n
2022-05-29 17:28:22 +02:00
Paolo
809ce98a75
rk322x: move edge kernel to v5.18 (#3844)
Co-authored-by: Igor Pečovnik <igorpecovnik@users.noreply.github.com>
2022-05-29 17:26:16 +02:00
Jianfeng Liu
0981c9eccd
add rock-3a emmc support (#3841) 2022-05-29 17:18:46 +02:00
Paolo
3c4189e311
rockchip: upgrade edge kernel to v5.18 (#3842) 2022-05-29 17:15:36 +02:00
Tony
e7bd9b8f13
Add Spidev workarounds and clean patches (WIP) (#3812)
* [ Meson64 ] Add Spidev workaround for 5.15+, remove unnecessary patch

* [ Rockchip64 ] Add spidev workaround for 5.15+

* [ Rockchip ] Add spidev workaround for 5.15+

* [ overlays ] align overlays to new spidev device handle
2022-05-28 08:56:19 +02:00
Jianfeng Liu
597d2dac11
update rockchip64-edge to 5.18 (#3814) 2022-05-28 07:56:22 +02:00
The-going
082234b497
sunxi-5.15: adapting patches for the version 5.15.43 (#3827)
* sunxi-5.15: adapting patches for the version 5.15.43

* fix: cpu opp table sun8i-a83t
2022-05-27 21:17:58 +03:00