Commit Graph

3220 Commits

Author SHA1 Message Date
Igor Pečovnik
4ffef325ba
Several improvements for RPi builds (#3391)
* Several improvements for RPi builds

- attach to RPi kernels
- current (ubuntu) -> legacy
- current -> 5.10.y, edge, 5.15.y

* Move current Rpi to 5.15.y and edge to 5.16.y
2022-01-11 15:25:58 +01:00
Paolo Sabatino
f3388b9aee add ssv6051 driver for kernel 5.10 and 5.15 2022-01-07 11:29:20 +01:00
Igor Pečovnik
d7794cc7b1
Add upstream patches (#3380) 2022-01-06 11:50:58 +01:00
Oleg
e453e4dfba
fix kernel legacy for firefly-rk3399 (#3369) 2021-12-27 08:27:01 +01:00
catalinii
f6143eff67
Fix the uboot for rock-3a (#3271)
* Sync kernel config with radxa and remove packaging patch

* Merge the rockchip64 legacy config as well

* Lower priority of EFI partitioning against DOS partitioning which is used by Armbian

Co-authored-by: Catalin Toda <catalinii@yahoo.com>
2021-12-25 11:57:26 -05:00
Julian Sikorski
acfbbd9660
Update odroidxu4-current to 5.4.168 (#3365) 2021-12-22 20:55:43 +01:00
Igor Pečovnik
e1c96e5257
Attempt to fix kernel OOPS (#3358) 2021-12-20 09:42:53 +01:00
The-going
94e17628c3
Fix megouse patches for 5.15.10 2021-12-17 20:48:45 +03:00
Dan Pasanen
7be9e8b995
rockchip-[current,edge]: add pcie hack and lsi scsi/sas support (#3351)
* build: kernel: rockchip64-[current,edge]: add pcie bus scan delay patches

These are needed for cards like the LSI SAS2008 which needs a little
extra time to initialize or they'll cause a kernel panic.

References:
https://gitlab.manjaro.org/manjaro-arm/packages/core/linux/-/blob/master/0013-rk3399-rp64-pcie-Reimplement-rockchip-PCIe-bus-scan-delay.patch
https://gitlab.manjaro.org/manjaro-arm/packages/core/linux/-/blob/master/0022-arm64-dts-rockchip-Add-pcie-bus-scan-delay-to-rockpr.patch

* config: linux-rockchip64-[current,edge]: enable lsi sata/sas support
2021-12-16 05:17:33 -05:00
Vyacheslav
5efc78b531
JetHome JetHub D1/H1 patch/bsp updates (#3348)
* JetHome: Update u-boot patches: fix emmc work on JetHub D1
* JetHome: update kernel patches with last updates for JetHub devices.
* JetHome: Update Bluetooth init script to more stable start.
2021-12-14 12:08:26 +01:00
Paolo Sabatino
e1a88959f8 rk322x: add bluetooth overlay, updated rk322x-config 2021-12-10 21:53:57 +01:00
Paolo Sabatino
c8f48d8368 rk322x: add rtl8723cs and rtl8703bs serdev bluetooth support 2021-12-10 21:53:57 +01:00
The-going
146803353c
Remove the garbage from the install.log file (#3333)
* Remove the garbage from the `install.log` file

You cannot use `--info=progress2` for the `rsync`
command when all output is sent to a file.
This creates a large garbage file.

Signed-off-by: The-going <48602507+The-going@users.noreply.github.com>

* Changes megous reverse commit. Just disable the patch

commit bd592ec43b76b298be29126e667850113b84376d (tag: orange-pi-5.15-20211125-1352)
Author: Ondrej Jirman <megous@megous.com>
Date:   Thu Nov 25 13:51:59 2021 +0100

    Revert "rtw88: Add more channels"

    This reverts commit cb1e3839822d4f782a9af6c27568540414093ba6.
2021-12-10 08:32:44 +01:00
Paolo
d876b9a5e1
rk322x: minor device tree fixes and upgrades (#3334)
Introduced a couple of device tree sets for MXQ_PRO and R29_MXQ boards
2021-12-10 00:08:03 +01:00
Igor Pečovnik
7783a2fe6b
Odroid XU4 - remove deprecated patches that were breaking build process (#3332) 2021-12-09 11:42:08 +01:00
The-going
c86dd24180
Sunxi 5.10: Fix ISO C90 forbids mixed declarations and code (#3329)
* Revert "Calculate patches changes only on first level since this fails when including subfolder. Bug in sort. Needs to be reworked once"

 Return `megous` patches

This reverts commit 2eae831889.

* Sunxi 5.10: Fix ISO C90 forbids mixed declarations and code
2021-12-08 16:15:41 +01:00
Paolo Sabatino
6506575e53
rk322x: restored 8723cs driver for edge kernel 2021-12-08 13:39:51 +00:00
Paolo Sabatino
0d5182e848
rk322x: remove mainlined hunks from kernel 5.15 patchset 2021-12-08 11:07:48 +00:00
Ricardo Pardini
90e0fe0ba2
extensions framework + UEFI aarch64/x86 + rpi4b + core changes/fixes (#3300)
* extensions framework (née "fragments")

- this should actually change nothing at this point, just add capabilities
- the framework is implemented in lib/extensions.sh
- the "if function x exists then call x" replaced with call_extension_method()
  - +inline documentation
  - +compatibility names

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>

* extensions framework; meta-extensions: auto-docs and sample extension gen

- 2 extensions dealing with extensibility itself
  - detect-unused-extensions: shows which extensions are enabled, but never called.
  - gen-sample-extension-docs: generates a sample empty extension & Markdown documentation for extensions

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>

* new extension methods and features via config variables in core Armbian

- `SKIP_EXTERNAL_TOOLCHAINS=yes` - does not download or use any linaro toolchains, only build host-installed ones
- `SKIP_BOOTSPLASH=yes` - does not patch kernel for splash file
- `EXTRA_BSP_NAME=xyz` - allows for BSP variants, useful for when extensions modify the BSP
- `EXTRA_ROOTFS_MIB_SIZE=x` - add x mib's to rootfs size, for use with very small images
- `KERNEL_EXTRA_TARGETS` - what extra targets to make kernel for, default to "modules dtbs"
- `BOOTCONFIG=none` - does not build nor install u-boot; also doesn't handle bootscripts et al
- `unset KERNELSOURCE` - does not build nor install kernel, nor build initrd, nor build nor install firmware
- `ARMHF_ARCH=skip` - does not add armhf to apt/dpkg, thus pure arm64
- `SKIP_ARMBIAN_REPO=yes` - results in armbian.list.disabled in the final image
- define `APT_EXTRA_DIST_PARAMS` with apt-cacher-ng options and use it for `PACKAGE_LIST_INSTALL/REMOVE` et al
- initial support for targeting x86/amd64 UEFI and BIOS
    - some do's/don'ts for x86/amd64, like a different `UBUNTU_MIRROR` default
    - GPT/EFI(ESP) partitions (fat, `UEFISIZE=256` to enable, mount `UEFI_MOUNT_POINT=/boot/efi`, first on disk but ends
      up at `$uefipart`=15)
    - GPT/BIOS partitions (fat, `BIOSSIZE=1` to enable, second on disk but ends up at partition 14)
    - `UEFI_FS_LABEL="armbiefi"` - to set the FAT label for the EFI partition, visible in Win/Mac
    - hard-requires gdisk package host-side
- add add_host_dependencies() extension method; fill `EXTRA_BUILD_DEPS="pkg pkg2"` to install to host before toolchains
  download
- add pre_prepare_partitions() extension method, for custom partition size calculations
- add create_partition_table() extension method, used to do full-custom partitioning if `USE_HOOK_FOR_PARTITION=yes`
- add post_create_partitions() extension method, mostly for easy debugging
- add post_write_sdcard() extension method, where you can also set `SKIP_VERIFY=yes` to skip sdcard verification
- add post_install_kernel_debs() extension method.
- multiple fixes to bsp to avoid spurious errors when files are not where it expects
- v4: detect `update-initramfs` failure and abort build with useful message if it does
- v4: show useful stacktrace in `exit_with_error`
  - if `ERROR_DEBUG_SHELL=yes`, drop into a shell before unmounting/deleting everything, so we can inspect what went wrong
- v4: display a message before `apt-get remove PACKAGE_LIST_BOARD_REMOVE` packages, so any errors while removing are easy to understand
- v4: preserve kernel .config's dates when copying

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>

* extensions framework; refactor tool fetching/building into extensions

- a few examples of core refactoring using extensions
- sunxi-tools extension, enabled by 2 different sunxi family includes ("reuse" example)
- marvel-tools extension, enabled by 2 different mvebu family includes
- rkbin-tools extension, enabled by rockship64_common family include
- amlogic-fip/c2-blobs stuff refactored directly into meson64_common.inc ("single-use" example)
- removed the 'testings' fetch_from_repo completely since not used anywhere.

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>

* .wip's for UEFI arm64 and UEFI/BIOS x86 via new GRUB extension

- v3: added `growroot`-awareness to `armbian-resize-filesystem`
    - the partition-growing part of `armbian-resize-filesystem` does not deal correctly with the UEFI layout
    - `growroot` is installed on UEFI images by default, that handles growing partition during initramfs
    - now `armbian-resize-filesystem` handles `resize2fs` only, and works.
- v4: reworked UEFI board/family/include structure:
    - use Distro's `linux-generic` kernel only for `current`
    - `edge` now builds it's own pure-mainline `5.15.y` kernel, for both x86 and arm64
        - `.config` taken from Ubuntu, probably needs tuning for EXTRAWIFI=yes et al
- v4: introduce `SKIP_KERNEL_SYMLINK=yes`, tested in `builddeb`
    - to avoid symlinking kernel; u-boot likes it, but grub and flash-kernel hates it
- v5: many fixes
- v7: more small fixes.

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>

* .wip for the RaspberryPi 4B via new flash-kernel extension

- this does not build it's own kernel "yet", but uses default linux-raspi kernel from Ubuntu
- flash-kernel is not really a bootloader
    - it just prepares kernel et al a FAT partition for booting by the RPi4b bootloader
    - flash-kernel is standard Debian package, but has only been tested on Ubuntu releases
- it is really only known-working since Hirsute release.
  - Debian's rpi kernel is armhf only, so out of scope here, at least until we add source-built kernels.
- v3: fixed focal rootfs build. untested.
- v3: better variable names, preparing for source-built kernel.
- v5: new edge build with pure mainline kernel.
- v6: many fixes and some hacks for packaging and layout, also firmware (using Ubuntu's)

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>

* Added first patch to edge x86 related to wifi drivers

* extensions: leave hostapd alone; remove hackish ext; block reentrancy

- package-list-utils does not belong in this PR
- grub or bcm2711 is not the place to remove hostapd
- block recursive enable_extension() calls, for now.

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>

* gen-sample-extension-docs: fix: avoid counter in generated sample

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>

* extensions: dependencies: enable_extension() in extensions with a stack

- and better stacktraces, I hope

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>

* Remove code from package list since we don't have it in repository
Adjust kernel config to disable driver that needs further polishing.

* Allow amd64 to build the same desktops as aarch64. We only have this limit for armhf, where some desktops don't work

* amd64: allow building amd64 on aarch64 with system toolchain

- conditionally add gcc-x86-64-linux-gnu to hostdeps

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>

* add libelf-dev directly to hostdeps (and Dockerfile), remove extension

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>

* packaging: remove SKIP_KERNEL_SYMLINK hack, fix the root cause

- which was the missing $image_name for non-arm64 & non-arm, so: x86 for example

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>

* grub: really obliterate u-boot stuff from BSP

- for now. soon we'll refactor u-boot so not have to do this

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>

* flash-kernel: really obliterate u-boot stuff from BSP

- for now. soon we'll refactor u-boot so not have to do this

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>

* extensions: add host_dependencies_ready() hook

- this passes FINAL_HOST_DEPS containing all hostdeps for the run after they're installed

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>

* Add verification functions for correct selection.

* If UEFI Skip symlink creation

* Do not create dtb package for amd64

* Skip scripts folder cleaning if build process native.

Skip creating  postinst prerm scripts  for headers.

* Skip applying headers-debian-byteshift.patch if build native

* Fix architecture syntax as x86_64

* Revert "amd64: allow building amd64 on aarch64 with system toolchain"

This reverts commit 0c5ee20bb1.

* Compare architectures before starting compilation.



Signed-off-by: The-going <48602507+The-going@users.noreply.github.com>

* extensions: cleanups after fixes by the-Going

- packaging:
  - there is _no need_ anymore for the symlink hack, CONFIG_EFI or no. But check is great, see below
  - it's not `amd64` that has no DTB's, it's all UEFI, thus: `is_enabled CONFIG_EFI`, thanks!
- Explicitly disallow "reverse cross compile" in amd64.conf.
- whitespace-only-deletions: revert. we shall shellfmt the whole thing one day, but not today.
- fix a few syntax warnings in newly introduced code (floating `$ARCH` vs `"${ARCH}`) - blame shellcheck

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>

* packaging: fix: turns out a lot of boards have CONFIG_EFI=y, can't use that for dtb/no-dtb decision.

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>

* grub: remove debug

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>

* firmware: allow installing `armbian-firmware-full`; make it really full

- can now use `BOARD_FIRMWARE_INSTALL="-full"` to install full firmware for the board. enable for UEFI.
- don't rely on KERNELSOURCE for firmware-related decisions. introduce `INSTALL_ARMBIAN_FIRMWARE` which defaults to `yes`
- rpi4b/flash-kernel: disable Armbian firmware; we need linux-firmware-raspi2, which conflicts.

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>

* extensions: log to /${LOG_SUBPATH}/ instead of fixed /debug/

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>

* extensions: introduce cleanup_extension_manager() called by build-all-ng's unset_all()

- to reset/unset everything done by the the initializer, so build can run again

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>

* extensions: remove 'global' logging, for use with build_all_ng

- enable_extensions() will have to live on without logging to file. it's just too early.
- now init EXTENSION_MANAGER_TMP_DIR in initialize_extension_manager()
- now init EXTENSION_MANAGER_LOG_FILE in initialize_extension_manager()

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>

* extensions: build-all-ng.sh bugfix due to extension's debug to stdout

- extensions (among other things) can produce output to stdout when activated
- fix: check_hash() produced "idential" (sic, now changed to IDENTICAL) to stdout as a trigger
- debugging output got mixed with "idential", rendering hash cache void for families that used extensions
  - eg: sunxi, others
- fix is to send stdout to the bitbucket when sourcing the board & arch config files
- proper fix would be stop using stdout in this case and use return code for check_hash()
  - one day soon

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>

* Add CI build targets

Co-authored-by: Igor Pecovnik <igor.pecovnik@gmail.com>
Co-authored-by: The-going <48602507+The-going@users.noreply.github.com>
2021-12-06 09:49:49 +01:00
Igor Pecovnik
2eae831889
Calculate patches changes only on first level since this fails when including subfolder. Bug in sort. Needs to be reworked once
Also cleanup few patches we don't need.
2021-12-05 16:53:08 +01:00
Julian Sikorski
aed2717909
Update odroidxu4-current to 5.4.163 (#3308) 2021-12-02 20:26:36 +01:00
Vyacheslav
39263b5e76
JetHome: fix thermal zones in JetHub D1 dts file (#3301) 2021-11-30 19:00:19 +01:00
The-going
bfe0300700
Fix warning: "IEEE80211_MAX_AMPDU_BUF" redefined if rtl8723cs module build (#3286)
All warning:
debug> grep warning: compilation.log | wc -l
152
A large number of garbage warnings:
debug> grep warning: compilation.log | grep IEEE80211_MAX_AMPDU_BUF | wc -l
103

After v4.19 linux kernel, this definition is not required.

Check:
list="$(find drivers/net/wireless/realtek/ -type f)"
for f in $list;do awk -v f=$f '/IEEE80211_MAX_AMPDU_BUF/{print f}' $f;done
drivers/net/wireless/realtek/rtlwifi/base.c
drivers/net/wireless/realtek/rtl8723cs/include/wifi.h

Only one drivers/net/wireless/realtek/rtlwifi/base.c file uses
the definition IEEE80211_MAX_AMPDU_BUF_HT.
or
See `git log -p b8042b3da925f390c1482b -3` command in
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git

Signed-off-by: The-going <48602507+The-going@users.noreply.github.com>
2021-11-28 21:32:07 +01:00
The-going
ada47377b5
Patches megous current branch to v5.10.82 (#3294)
* Kernel switch tag: v5.10.82
* Rework series megouse for v5.10.82
* Switch new packaging for kernel 5.10 and more
2021-11-28 21:31:24 +01:00
The-going
33c413c679
Patches megous 5.15.5 (#3295)
* Rework patches for sunxi 5.15.4

* Rework patches sunxi for 5.15.5

* Kernel switch tag=v5.15.5 for sunxi EDGE

* Temporarily disabled, requires rework.

drivers/clk/sunxi-ng/sun8i-de33.c: In function ‘sunxi_de33_clk_probe’:
drivers/clk/sunxi-ng/sun8i-de33.c:155:8:
 error: implicit declaration of function ‘sunxi_ccu_probe’;
 did you mean ‘of_sunxi_ccu_probe’? [-Werror=implicit-function-declarati>
  ret = sunxi_ccu_probe(pdev->dev.of_node, reg, ccu_desc);
        ^~~~~~~~~~~~~~~
        of_sunxi_ccu_probe
cc1: some warnings being treated as errors
make[3]: *** [scripts/Makefile.build:277:
         drivers/clk/sunxi-ng/sun8i-de33.o] Error 1
make[2]: *** [scripts/Makefile.build:540: drivers/clk/sunxi-ng] Error 2

* Correct the comment.
2021-11-28 16:48:47 +01:00
The-going
7964a578f5
Patches megous 5.10 (#3293)
* Add a series of patches for sunxi 5.10

Patches from the repository
https://github.com/megous/linux branches of orange-pi-5.10

* Patches adapted to the kernel version v5.10.81

* Remove unnecessary patches 5.10.19-5.10.75

* Kernel switch tag=v5.10.81 for the current sunxi

* Adjust broken patches, build tested on sunxi and sunxi64

* Remove patch added by mistake

Co-authored-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2021-11-27 00:48:30 +01:00
Heisath
d861f37a9f Fix mvebu patches once more 2021-11-25 09:05:55 +01:00
Oleg
9204ef6f81
fix dts firefly-rk3399 for edge (#3287) 2021-11-23 23:10:17 +01:00
Igor Pecovnik
cf2b423b5c
Disabling two broken patches that prevent kernel recompilation
@heisath
2021-11-23 23:07:37 +01:00
Paolo Sabatino
e9fe8fe177
rockchip64: remove mainlined patches/hunks for current 5.10 kernel 2021-11-23 14:51:15 +00:00
Heisath
caa68d4085 Update mvebu patches 2021-11-22 08:46:18 +01:00
Igor Pecovnik
9dbb72b01c
Adjusting patches due to upstream changes to make mvbe family operational again
@heisath
2021-11-21 17:58:03 +01:00
Piotr Szczepanik
3b1812c002
Fixed rockchip64 current compilation - broken since c67b70aa3d 2021-11-20 22:38:34 +01:00
Oleg
c67b70aa3d
fix SD for firefly-rk3399 (#3268) 2021-11-20 19:49:42 +01:00
simple
401fb1fde4
Fixed rt5651 codec build module (#3270) 2021-11-20 19:49:22 +01:00
The-going
864ae626a8
Switch sources for sunxi 5.15 to the mainline kernel source. (#3272)
* Add new function apply_patch_series
* Apply a series of patches if a series.conf file exists
* Add all megous orange-pi-5.15 branch patches as series
* Add an Exception for version 5.15 for sanxi
* Adjust the switch for sunxi
* Fix megous patches series for v5.15.3
* Switch version to 5.15.3 for sunxi
* Check the exception for 5.15 sunxi
2021-11-20 19:48:51 +01:00
Igor Pecovnik
f889bc775c
Fixing broken Orangpi Zero2 legacy build due to upstream changes 2021-11-20 17:12:49 +01:00
Igor Pečovnik
d3386b5480
Upstream patches (#3267) 2021-11-17 23:59:00 +01:00
Igor Pečovnik
1ecdf0af57
Remove upstream patches to workaround libc bug (#3261) 2021-11-16 19:40:51 +01:00
Igor Pečovnik
9d8609d965
Add critical patches from Khadas repository (#3255) 2021-11-15 12:42:57 +01:00
tonymac32
9ccb9966e3 Fix UART speed for K2 BT
if you don't set the max speed, it doesn't run well.
2021-11-14 20:40:38 -05:00
tonymac32
2a78d51306 NanoPi K2 add BT support
NanoPi K2 has built-in wifi/BT, add BT DT entry.
Firmware has been added to armbian/firmware repo
2021-11-14 19:14:04 -05:00
Julian Sikorski
958a95b933
Update odroidxu4-current to 5.4.159 (#3249) 2021-11-12 21:15:17 +01:00
catalinii
4b246221e0
Fix the build on rk35xx platform (#3247)
Co-authored-by: Catalin Toda <catalinii@yahoo.com>
2021-11-12 06:17:07 +01:00
Paolo Sabatino
29335b0c99 rk3328: dmc driver fixes:
* rework to fix regulator and frequency issues
 * rework nanopi-r2s, roc-cc and roc-pc patches to accomodate dmc dtsi changes
 * map gpu as cooling device
 * fix dmc 600 Mhz opp node min voltage
2021-11-11 22:31:07 +01:00
Paolo
4c3dcbf4fc
Rockchip 5.15 (#3242)
* rockchip: bump to kernel 5.15, reworked mainlined patches

* rk322x: bump edge kernel to 5.15, reworked mainlined patches

* rk322x: update edge kernel config

* rockchip: remove some debug config options due to chatty dmesg

* Add patches to revert ipx.h header file remove in 5.15 kernel
2021-11-09 21:58:35 +01:00
Igor Pečovnik
dd51f9f2af
Bump imx6, xu4, rockchip64 and jetson-nano to 5.15 (#3238)
* Bump to 5.15.y imx6, xu4, rocchip64, jetson-nano

* Sunxi patches cleanup

Thanks @jernejsk

* Bump Meson64 to 5.15.y

* Bump mvebu* to 5.15.y

@heisath

Disable 13-net-mvneta.patch - double check.

* Add uppstram patch for opi zero2 legacy kernel

* Update mvebu mvneta patch

* Orangepi Zero2 reboot fix

Co-authored-by: Heisath <jannis@imserv.org>
2021-11-09 18:06:34 +01:00
Igor Pečovnik
36c06fec28
Bump sunxi to 5.15.y (#3236) 2021-11-07 00:04:02 +01:00
Piotr Szczepanik
d178ad02bf
Disabled regulator supply validation in rockchi64 current
Works around all those "Failed to register regulator: -517" errors
2021-11-06 22:08:48 +01:00
Igor Pecovnik
a74ef8778f
Update upstream patches 2021-10-28 19:37:09 +02:00
Paolo Sabatino
5fa022603c rockchip64: provide rkvdec node for rk3328 2021-10-23 16:54:56 +02:00
Paolo Sabatino
f9275135aa rk3328: add rga node, fix probe 2021-10-22 19:58:33 +02:00
Paolo
682e4085ab
rockchip64: add IEP driver (#3215)
* rockchip64: add IEP driver
* enable IEP driver as kernel module
2021-10-21 22:55:25 +02:00
Igor Pečovnik
5ba09b73cd
Add upstream patches, remove deprecated (#3214) 2021-10-21 18:55:58 +02:00
Vyacheslav
3c4b69650e
Add support for JetHome JetHub D1/H1 home automation controllers (#3176)
* JetHome: add basic files for JetHub D1/H1 boards

Signed-off-by: Vyacheslav Bocharov <adeep@lexina.in>

* JetHome: add uboot patches

Signed-off-by: Vyacheslav Bocharov <adeep@lexina.in>

* JetHome: add kernel patches for JetHub D1/H1 (backport from 5.16-dt kernel)

Signed-off-by: Vyacheslav Bocharov <adeep@lexina.in>

* JetHome: add bsp packages for JetHub D1/H1

Signed-off-by: Vyacheslav Bocharov <adeep@lexina.in>

* JetHome: add kernel options for hardware JetHub D1/H1

Signed-off-by: Vyacheslav Bocharov <adeep@lexina.in>

* JetHome: fix targets-cli-beta.conf for JetHub D1/H1

Signed-off-by: Vyacheslav Bocharov <adeep@lexina.in>

* JetHome: add axg uboot creation function for JetHub D1

Signed-off-by: Vyacheslav Bocharov <adeep@lexina.in>
2021-10-19 21:05:36 +02:00
Igor Pecovnik
c83bb5c3b2 Remove deprecated patch 2021-10-19 10:44:36 +02:00
Igor Pečovnik
c9afbb26b9
Add upstream patches (#3203) 2021-10-18 19:52:23 +02:00
Oleg
286eed02f7
fix jetson-nano (#3199) 2021-10-15 14:19:00 +02:00
Igor Pečovnik
997c103c26
Upstream patches and a patch name correction (#3194)
* Just upstream patches and a patch name correction

* Add configs
2021-10-14 00:01:42 +02:00
Igor Pečovnik
51ee548ab4
Delete 0381-drivrs-mmc-revert-g103a5348c-to-fix-some-wifi.patch
https://github.com/armbian/build/pull/3192
2021-10-13 13:18:19 +02:00
Vyacheslav
ae7c00689e
Remove unnecessary patch as backported to kernel 5.10.72 (#3192)
commit e5cb3680b958ed3eb66504c0865f767d760cc9cd
Author: Neil Armstrong <narmstrong@baylibre.com>
Date:   Tue Sep 28 09:36:52 2021 +0200

    mmc: meson-gx: do not use memcpy_to/fromio for dram-access-quirk

    commit 8a38a4d51c5055d0201542e5ea3c0cb287f6e223 upstream.

Signed-off-by: Vyacheslav Bocharov <adeep@lexina.in>
2021-10-13 12:49:41 +02:00
Paolo Sabatino
a1d044de8e rockchip: update support for edge kernel 5.14
* imported Rockchip project patches from libreelec
	* disable duplicate/unapplicable patches and rework others
	* add patches for tinkerboard, miqi and xt-q8l-v10 to enable hevc, hevc_mmu and rga nodes
2021-10-12 15:59:01 +02:00
Heisath
d972daac50 Update net dsa mv886xxx patch 2021-10-10 21:31:27 +02:00
Heisath
d45499694e Update mvebu-edge 5.14 patches with version from http://git.armlinux.org.uk/cgit/linux-arm.git/log/?h=clearfog 2021-10-10 21:31:14 +02:00
Heisath
5a8513360c Switch mvebu-edge to kernel 5.14 2021-10-10 21:30:56 +02:00
Heisath
4b87543863 Add PCIe Wifi quirks patch for Atheros and Qualcomm cards
https://lore.kernel.org/linux-pci/20210505163357.16012-1-pali@kernel.org/
2021-10-10 09:21:02 +02:00
Igor Pečovnik
a38a3ff77b
Upstream patch (#3183) 2021-10-09 17:58:25 +02:00
Igor Pečovnik
c74b8ea582
Orangepi Zero 2 legacy - add upstream patches (#3180) 2021-10-09 17:57:33 +02:00
Igor Pečovnik
cd7131cd86
Add upstream patches for sunxi (#3177) 2021-10-07 18:53:56 +02:00
Oleg
b2d54059f7
fix analog sound station-p1 (#3166) 2021-10-07 16:48:09 +02:00
Igor Pečovnik
5059acac6a
Add upstream patches (#3175) 2021-10-07 01:08:09 +02:00
Haraade
cab962caa5
Odroidxu4 upstream 5.4.149 (#3170) 2021-10-04 18:20:25 +02:00
Paolo Sabatino
03ef2ce9ac
rockchip64: raise voltage on rk3328 gpu opp table for stability with high-speed ddrbins on edge kernel 2021-09-27 19:12:34 +00:00
Ricardo Pardini
956c1606de
meson64: current (5.10.y): ODROID N2(+) patchset rework for mainline u-boot, stability and rebootability (#3154)
- starting from Home Assistant OS (HASSOS) setup/patchset, which is stable with pure-mainline
  - *huge thanks* to Stefan Agner (@agners) from Home Assistant for his work and help with this
  - CONFIG_DRM_MESON=y fixes the order of shutdown callbacks, allowing it to reboot without patches
    - this increases the kernel size a bit, due to some dependencies like DRM=y
    - remove the shutdown revert patch, allowing other meson64 boards to mainline-reboot
  - add fdt/no-map patch fixing the dreaded "SError Interrupt on CPU4" panics that plagued the N2
- move the N2 to mainline u-boot on current (rebased, already done)
  - add SPI-enabling DTB variants, which allow writing to SPI NOR flash (and usage instructions in comments)
    - add UBOOT_TARGET_MAP and write_uboot_platform_mtd to current, for nand-sata-install to SPI/USB goodness
  - remove the UHS-enabling patch, to avoid 1.8v vs 3.3v mess. Make sure to use only A1-rated SD cards as recommended.
- change default cpufreq governor for 24h+ stability
- other patch cleanups:
  - move deprecated/non-applying patch to need-check
  - remove the HardKernel ODROID-specific reboot driver and DTS patches (odroid-reboot.c) which are now useless.
  - remove documentation-only patches (we have enough patches in meson64 without those)
  - remove duplicated SAR ADC patches
  - remove multiple different and conflicting patches for DTS and emulated-PWM GPIO fan
    - now using simple on/off GPIO fan at 30 celsius, unrelated to passive cooling
2021-09-26 21:44:28 +02:00
Igor Pecovnik
5ba4159b17
Upstream patches and config adjustements 2021-09-26 20:06:31 +02:00
Igor Pecovnik
fbaeb940ca
Consolidate wireless driver related patch
Fixing troubles in https://github.com/armbian/build/pull/3154
2021-09-26 17:25:52 +02:00
Paolo Sabatino
a71ef23575 rockchip64: tidy up rk3328 patches
* remove 0-rever-rk3328.dtsi-.patch
 * split rk3328-dtsi-mmc-vdec-usb3-tweaks.patch into different specific patches (sdmmc-ext, mmc-reset, power domains, usb3 resets)
 * split rk3328-audio-and-renegade-supplies.patch into specific roc-cc audio and supplies patch and general rk3328 spdif patch
 * add "dtsi" infix to rk3328 patches that deal with dtsi files
 * add back mali gpu operating points patch
2021-09-26 08:35:58 +00:00
Igor Pecovnik
17507962f5
Maintenance - add and remove upstream patches 2021-09-25 08:30:11 +02:00
Werner
7dfc3e34f6
Create 9999-revert-net-stmmac-dwmac-rk-fix-unbalanced-pm_runtime_enab… (#3149)
* Create 9999-revert-net-stmmac-dwmac-rk-fix-unbalanced-pm_runtime_enable-warnings.patch

Temporary fix for rk3399 eth issue introduced with 5.14.y
https://forum.armbian.com/topic/18956-hirsute-no-ethernet-after-update/?do=findComment&comment=128876

* wrong archive

* Create revert-fix-unbalanced-pm_runtime_enable-warnings.patch

Reverts 2d26f6e39a
https://forum.armbian.com/topic/18956-hirsute-no-ethernet-after-update/?tab=comments#comment-128877
2021-09-24 19:00:01 +02:00
Paolo Sabatino
a25ce2e075
rk322x: remove mainlined patches 2021-09-19 16:58:15 +00:00
Igor Pecovnik
2fb7ad52e0 Update upstream patch for sunxi edge 2021-09-19 15:14:47 +02:00
Kali Prasad
b29527c697
Thermal sensor support for H616 SoC. (#3153)
Signed-off-by: Kali Prasad <kprasadvnsi@protonmail.com>
2021-09-19 12:10:59 +02:00
Piotr Szczepanik
a105cd2756
Removed mainlined (5.10.67+, 5.14.6+) rockchip_i2s_tdm changes for ROCK Pi S 2021-09-18 22:48:20 +02:00
Paolo Sabatino
5710008358 rk322x: add rga probe patch for edge kernel 2021-09-18 10:29:57 +00:00
Paolo Sabatino
176fa36df4 rk322x: disable rtl8723cs wifi patch for edge kernel 2021-09-18 10:29:57 +00:00
Paolo Sabatino
5474cba740 rk322x: fix sdio wifi pinctrl on IPB900 board 2021-09-18 10:29:57 +00:00
Paolo Sabatino
dd1d2ba781 rk322x: hardware cursor for current kernel 2021-09-18 10:29:57 +00:00
Paolo Sabatino
b39c367a35 rk322x: prefer 8-bit hdmi output over YCbCr 2021-09-18 10:29:57 +00:00
Paolo Sabatino
31d238930b rockchip: enable broadcom serdev bluetooth for current and edge kernels
* add workaround against default MAC Address (userland utility bdaddr does not work to set MAC Address as expected)
	* enable bits for xt-q8l-v10 board (ap6330/bcm4330 part), switching AP6330 bluetooth to btbcm driver using serdev
	  facilities to avoid userspace machinery with deprecated hciattach tool, added bits to enable driver support in kernel.
	  Removed ap6330 bluetooth service from bsp packages, added initramfs-tools hook to include bcm4330b1.hcd firmware in initramfs
2021-09-16 17:51:34 +00:00
Paolo Sabatino
8409f1bfcb rockchip: fix rga probe function 2021-09-16 14:38:44 +00:00
Chris McGee
bc7dfd1dd6
Bring forward and update pinecube sound patch for kernel 5.14 (#3144) 2021-09-15 22:21:21 +02:00
Ruikai (Rick) Liu
687c363918
Add NanoPi R2C support (#3138)
* Add NanoPi R2C support
* Bring NanoPi R2C, R2S to edge
2021-09-15 22:20:35 +02:00
Piotr Szczepanik
0069ad60a6
Preliminary support for rockchip rk35xx boards (#3111) 2021-09-15 22:08:39 +02:00
simple
15819f00e2
general add panel simple dsi (#3140)
* Backporting patch to 5.10 kernel makes sense. Lets do it.

Co-authored-by: iamdrq <iamdrq@qq.com>
Co-authored-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2021-09-12 20:06:02 +02:00
Paolo Sabatino
bef4992ac1 rk322x: analog audio codec for edge kernel 2021-09-12 14:26:18 +00:00
Paolo Sabatino
85a0682229 rk322x: enable yuv modes for win1, enable 10bit modes for both win0/1 2021-09-11 17:56:26 +00:00
Paolo Sabatino
f15bc37276 rk322x: add back edge kernel patches lost in the process, hardware cursor dedicated plane 2021-09-11 12:51:28 +00:00
Paolo Sabatino
6f95a75542 rk322x: fix edge kernel dtb patch 2021-09-11 12:51:28 +00:00
Igor Pečovnik
5672f0fa5d
Add Odroid XU4 current upstream patches and enable Mali kernel driver (#3137) 2021-09-10 08:25:03 +02:00
Paolo
4425589e15
rk322x: bump edge kernel to 5.14, u-boot to 2021.07 (#3133) 2021-09-09 22:59:12 +02:00
Igor Pecovnik
96dd55548e
Add patches which were deleted by mistake. Also add upstream patch for sunxi 2021-09-08 20:13:00 +02:00
Igor Pečovnik
744ea89a58
Bumping EDGE kernel to 5.14.y (#3125)
* Bumping EDGE kernel to 5.14.y

Meson64:
- removing Odroid reboot shutdown patch since its probably not needed anymore

Rockchip64:
- removing Rockpi S. No interest to maintain this any further
- removing PBP suspend. Doesn’t align. Need inspection if some other way was mainstreamed
- temporally removing Orangepi R1

* Re-adding rockpis, pbp suspend, HFLPS170 wifi and cleanup

* Removing deprecated patch, fixing ap6256 wifi

* Re-enable Opi R1 plus, untest

* Add and fix Radxa Zero
2021-09-08 17:51:34 +02:00
Oleg
a33445c910
fix kernel station current (#3127) 2021-09-08 17:50:23 +02:00
Igor Pečovnik
abbe87a450
Add Radxa Zero initial support (#3128)
* Add support for Radxa Zero

u-boot: new patch based on v2021.04
kernel: use patches sent to kernel list by chewitt

Tested with minimal build and cinnamon desktop:
- SD/eMMC, ok
- USB3, works in USB 2 mode
- HDMI, ok
- WiFi/BT, ok

Signed-off-by: Jack Ma <jack@radxa.com>

* Add build targets

* Cleanup and set min speed to 666000

* Change to WIP target

Support status undetermined

Co-authored-by: Jack Ma <jack@radxa.com>
2021-09-08 17:50:05 +02:00
Piotr Szczepanik
5f2e23e908
Disabled hs400 on Helios64 (hopefully only temporarily) (#3126) 2021-09-08 09:54:06 +02:00
Chris McGee
72def00d8c
Pinecube: add i2s device to the sound patch (#3122) 2021-09-03 18:28:26 +02:00
Chris McGee
97f9725033
Add enable pinecube sound to 5.13 (#3120)
This brings the patch forward from 5.11 to the new edge 5.13 kernel
2021-09-02 20:44:45 +02:00
Ricardo Pardini
334d847512
ODROID N2(+): chewitt's uboot + SPI-NOR enable via extra DTBs = SPI Boot to USB, no more hangs. (#3119)
- fix/dup bootscript, since new u-boot fixed n2_plus to n2-plus variant
- g12b: if n2 and edge, enable new u-boot; include non-SD version as SPI binary; write_uboot_platform_mtd
- Kernel DTS patch to add SPI-flash-enabled DTBs (slower eMMC), produces -spi .dtbs for n2 and n2-plus
  - This could also be an overlay, but I dunno overlays.
- SPI+USB3 boot works with "pendrive" storage, untested with cabled/high power USB->SATA or USB->NVMe

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>
2021-09-02 20:44:19 +02:00
Stefan
c6c1981631
fix bananapro dts for using lima driver (#3117)
https://forum.armbian.com/topic/14180-bananapro-lima-driver-problems/
2021-09-02 20:44:01 +02:00
Kali Prasad
eca69597d7
Fix h616-RTC patches that are breaking builds for armhf (#3118)
* Fix h616-RTC patches that are breaking builds for armhf
* Place fixed patches inline

Co-authored-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2021-09-02 20:41:53 +02:00
Haraade
b67ac420a2
Upstream Hardkernel 5.4.134 (#3116)
* Upstream Hardkernel 5.4.134

Upstream Hardkernel 5.4.134

* Upstream 5.4.142

Upstream hardkernel 5.4.142
2021-08-27 13:31:24 +02:00
Igor Pecovnik
c9785ba958
Upstream patches 2021-08-24 09:21:03 +02:00
Igor Pecovnik
9a478d4376
Adding and removing upstream patches 2021-08-19 18:29:03 +02:00
Igor Pecovnik
f55584f9e9 Remove deprecated patches 2021-08-19 18:16:18 +02:00
Igor Pečovnik
6d82498bec
Remove deprecated patch (#3097) 2021-08-16 20:32:22 +02:00
Igor Pecovnik
5402a2770b Add upstream patches 2021-08-16 12:53:22 +02:00
Igor Pečovnik
d54b2d6a84
Adding OPi Zero2 legacy kernel support (#2620)
* Adding OPi Zero2 legacy kernel support
2021-08-12 19:19:18 +02:00
Igor Pecovnik
14a04e66b5 Upstream patches 2021-08-12 19:17:29 +02:00
Tony
c5edfdcc6d
Delete board-nanopi-k2-ethernet-fix.patch
This patch is no longer relevant and interferes with Ethernet in newer kernels.
2021-08-12 12:24:47 -04:00
Paolo Sabatino
cba37d6b47 rk322x: fix mainlined patches 2021-08-09 20:17:28 +00:00
Tony
f3a8c1769e
Fixing ethernet on K2, audio on C2 and patch cleanup (#3089)
* [ meson64 ] nanopi K2 ethernet fix

Fix NanoPi K2 Ethernet issues

Do some cleanup of the Meson64 folder while at it

* [ Meson64 ] revert accidental delete of C2 audio patch
2021-08-09 08:27:39 +02:00
Tony
ee610096bc
RK3328 GPU DMC OPP tables (#3088)
* [ RK3328 ] boost GPU voltages to avoid starving Memory controller

The RK3328 has the dynamic memory controller and GPU on the same power rail.
Both are able to be dynamically clocked, both have opp tables.

 - DMC min voltage:  1.075V
 - GPU min voltage:  0.950V

On boards with only the GPU enabled, they memory controller can be under-voltaged.
On boards attempting to use both, the disagreeing opps result in the GPU failing to init

This patch applies a mV range opp to the GPU and fixed opps to the DMC on rk3328-roc-cc
to allow everything to get alongin all possible devfreq situations.

* [ rockchip64 ] clean up disabled patches

* [ rock64 ] add mali supply and remove unused 5V supply

- New Mali opps will keep from starving ram controller

- extra supply was causing dmesg errors.

As it shares enable with another supply and both were marked "always on"
I removed the second.  Neither are referenced by any ports/devices.
2021-08-09 08:24:51 +02:00
Igor Pecovnik
d1aaa70511 Upstream patches add and remove 2021-08-08 14:12:06 +02:00
Tony
01f67a51dc
Merge pull request #3065 from armbian/rk3328-usb3
Move Rk3328 usb3 to mainline
2021-08-06 19:48:04 -04:00
Igor Pecovnik
4bc2dd27b1 Bugfix - disable wireless driver for older kernels and add a few upstream patches for meson64 legacy
Kernel was only tested for building.
2021-08-06 18:27:23 +02:00
Igor Pecovnik
7f44207062 Add upstream patches and re-add Orangepi3 to u-boot 2021-08-05 01:15:36 +02:00
Igor Pečovnik
f317cd72b4
Upstream patches (#3071)
* Upstream patches

* Adjust configs

* Revert xu4 config
2021-07-29 17:24:52 +02:00
Ricardo Pardini
13329ebcd0
Odroid HC4: pick 5.13's patches for SPI-NOR dts and XT25F128B flash chip (#3069)
- add mtd-utils to PACKAGE_LIST_BOARD.
- this should be enough to wipe Petitboot;
- more investigative work and u-boot building is needed for SPI+SATA boot

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>
2021-07-28 21:54:35 -04:00
tonymac32
3205bb1d90 [ rockchip64 ] Rock64 and roc-cc usb3 2021-07-27 01:31:17 -04:00
tonymac32
d8dbefd618 [ rockchip64 ] rk3328 change to mainline USB3 2021-07-27 00:05:09 -04:00
Paolo Sabatino
74561e9800 rockchip64: remove patches committed by accident 2021-07-26 15:45:17 +00:00
Oleg
4a1e862ebd
fix 5.10.53 (#3059) 2021-07-26 14:55:32 +02:00
Werner
eaea7142be
Fix ebin SATA (#3057)
* Create 0001-pci-Add-Max-Payload-Size-quirk-for-ASMedia-ASM1062-SATA-controller.patch

* Removing email headers from patch

Co-authored-by: Igor Pečovnik <igorpecovnik@users.noreply.github.com>
2021-07-26 10:06:20 +02:00
Igor Pecovnik
885a99fe66 Adjust and add upstream patches
- reenable 8723ds on K5.13 and remove deprecated wifi patches
- adjust rockchip audio and vdec patches in 5.13.y as in 5.10.y
2021-07-26 07:54:09 +00:00
tonymac32
4c52601d52 [ rockchip64 ] remove superceded pacth
Kernel 5.10.51 --> 5.10.52 fixed this in mainline
2021-07-25 16:06:54 -04:00
tonymac32
67599e3dbb [ rockchip64 ] fix RK3328 build issues
5.10.52 --> 5.10.53 changed all power doamin names, and bugfixed the sdmmc regulator states
2021-07-25 16:02:44 -04:00
Haraade
d348851e70
Upstream Hardkernel 5.4.134 (#3049)
Upstream Hardkernel 5.4.134
2021-07-23 10:07:51 +02:00
Paolo Sabatino
5023beb1e5 rk322x: remove upstreamed patch 2021-07-22 15:21:24 +00:00
Igor Pecovnik
f83100f9af Orangepi Lite 2 - fixing HDMI and removing bits that are already mainlined
Thanks to Jernej:
https://forum.armbian.com/topic/12862-orange-pi-lite2-no-more-1920x1080-kernel-55x/?do=findComment&comment=127157
2021-07-22 09:06:01 +02:00
Igor Pečovnik
e7377248b3
Second part of EDGE bumping to 5.13.y (#3045)
* Bump Meson64 EDGE to 5.13
* Bump Rockchip64 EDGE to 5.13.y
* Bump Odroid Xu4 edge to 5.13.y
* Bump rockchip edge to 5.13.y
2021-07-22 00:15:54 +02:00
Igor Pecovnik
e7177f3b9b Adjust sunxi-current patches - remove broken, add upstream 2021-07-21 17:46:55 +00:00
Oleg
30e8fc7d83
fix station-current 5.10.52 (#3043) 2021-07-21 14:31:34 +02:00
Igor Pečovnik
e21e82b546
Upgrading sunxi, sunxi64, imx6, jetson-nano, mvebu and mvebu64 EDGE to 5.13 (#3042)
* Upgrading sunxi and sunxi64 EDGE to 5.13

Both variants tested for building

* Bump imx6 to 5.13.y

Tested

* Bump Jetson nano kernel to 5.13.y

* Move mvebu and mvebu64 edge to 5.13.y
2021-07-21 00:46:51 +02:00
Igor Pecovnik
06a8324977 Bugfix for rockchip64 current kernel compilation and upstream patches 2021-07-19 15:59:58 +00:00
Oleg
1c7b8ab10d
fix kernel 5.10.51 (#3034) 2021-07-19 13:41:46 +02:00
Paolo Sabatino
fe4f00ecdc rk322x: fix deferred voltage regulator, gpu opp table and dmc missing regulator for edge kernel 2021-07-18 15:31:49 +00:00
Paolo Sabatino
e4add7b8fd rk322x: update rk322x-edge kernel config, add DMC patches and overlays 2021-07-18 14:06:35 +00:00
Paolo Sabatino
baf9815f8b rk322x: add DMC driver and runtime clock adjust, change rk322x-config emmc options
* add DFI driver to provide hardware-based memory controller load
     * adapted DRAM Memory Controller driver from rk3328, add necessary headers
     * provide device tree overlays to enable DDR3 clock scaling
     * adapted rk322x-box to allow DDR speed bin selection to user
     * add ipb900 board gpio configuration
     * add rtl8723cs driver to linux-current kernel
     * use ddrbin v1.10 set to 330 Mhz at boot
     * provide overlays for ddr3 at 330, 528, 660 and 800 mhz
     * split emmc overlays to enable options by user choice
     * modified rk322x-config to support dmc, emmc overlays
     * remove optee trust os in favor of rockchip proprietary blob
       for dmc functionality
2021-07-17 15:21:48 +00:00
Paolo Sabatino
429136e062 rk322x: rework patch for kernel 5.12 2021-07-17 13:52:30 +00:00
Paolo Sabatino
a2942247ca rk322x: adjust patches for kernel 5.10 2021-07-17 13:52:30 +00:00
Igor Pecovnik
2e093e4309 Adjusting broken patches on RK332x
@paolosabatino review if somethint too much was removed
2021-07-16 15:59:00 +00:00
Oleg
ff310a7980
fix kernel station-current 5.10.50 (#3017) 2021-07-16 11:26:06 +02:00
Tony
2d8db84c90
Tinker Board 2 WIP (#3011)
* [ Rockchip64 ] Add Tinker Board 2

Using Mainline ATF/U-boot/Kernel

What works:

- USB (NOT TYPE C)
- PCIe
- LED's
- Ethernet
- HDMI

TODO:

- Type-C (fusb302 stuff)
- Type-C DP
- Regulators for big cores and GPU (sitting at default values now, no DVFS)
- Formware/driver for RTL8822CE

U-boot spits out some trash right after handing off control from SPL to U-Boot,
but doesn't impact boot.  Needs looked at.

* [ rockchip64 ] remove unrelated changes to 369ab2decdc5a3c49973d8eeb783c95558dcc41a

* [ rockchip64 ] fix merge mess from symlinks step 1

* [ rockchip64 ] fix merge mess from symlinks step 2

* [ rockchip64 ] fix merge mess from symlinks step 3

* [ rockchip64 ] add asus driver for FAN53200 regulator

* Rename tinkerboard.conf to tinkerboard.wip

set as WIP for merge to trunk.  Not ready for images just yet.

* revert rename to wip

wrong tinkerboard

* Rename tinkerboard-2.conf to tinkerboard-2.wip

prepare for merge to trunk.  Not ready for images

* Tinker Board 2 GPU and Type-C

Support USB3 over type-C connector.  display Port is still non-functional, framework in device tree however

Enable GPU

* Tinkerboard 2 DTS tweaks

Added this round:

Type-C DP now works
thermal sensors enabled  (oops)

* Tinker Board 2 update config

-Adds wifi support for the RTL8822
2021-07-15 21:29:27 -04:00
Igor Pecovnik
aeeb837b4e Upstream patches 2021-07-15 22:50:36 +02:00
Igor Pecovnik
6a20227e1c Add upstream patches 2021-07-12 10:51:31 +02:00
Oleg
4c80535fd8
update kernel legacy 4.9.201 and current 5.10 (#2987) for jetson 2021-07-09 20:54:40 -04:00
Igor Pecovnik
ad53cc2d15 Add upstream patches and adjust configs 2021-07-07 20:16:06 +02:00
Oleg
6bd67e18e5
add media kernel for arm64 (#2971) 2021-07-07 16:15:34 +02:00
Oleg
5b0dc2d7c5
add support wifi rtl8822bs for kernel 4.4 and 5.x (#2980) 2021-07-07 16:04:27 +02:00
Igor Pecovnik
95f4afd3b2 Adjust upstream patches and configs 2021-07-02 13:00:09 +02:00
tonymac32
c3747cf0a9 [ rockchip64 ] remove disabled roc-pc patch 2021-07-01 01:12:54 -04:00
tonymac32
a53eadc325 Merge branch 'master' of github.com:armbian/build 2021-06-28 01:16:02 -04:00
tonymac32
a00fabe6c3 [ Rockchip64 ] correct patch names 2021-06-28 01:15:24 -04:00
Icenowy Zheng
e6c4287246
Pine A64 LTS v2 support (#2919)
* remove obsolete and broken patch for pine64so u-boot

This prevents the image from being built.

Signed-off-by: Icenowy Zheng <icenowy@aosc.io>

* sunxi: fix pine64so phy-mode and add yt8511 support

Pine A64-LTS board should have RGMII-TXID mode instead of RGMII-ID (the
Realtek PHY chip's RXID is sometimes broken).

In addition, new Pine A64-LTS v2 board will use YT8511 instead of
RTL8211E, which still works under RGMII-TXID mode.

Backport YT8511 driver and phy-mode change from linux-next.

Signed-off-by: Icenowy Zheng <icenowy@aosc.io>

Co-authored-by: Igor Pečovnik <igorpecovnik@users.noreply.github.com>
2021-06-28 07:04:53 +02:00
Igor Pecovnik
2d3976065f Adding meson64 shutdown patch to edge kernels
Like https://github.com/armbian/build/pull/2821
2021-06-27 22:17:05 +02:00
Igor Pecovnik
15b4278a99 Adjusting broken patch and update kernel config for meson64 family 2021-06-27 20:49:20 +02:00
Tony
239367ff17
Update board-rockpis-0017-WIP-Sync-rockchip_i2s_tdm-to-BSP-tree.patch (#2920)
The patch got rid of a check for a 0 frequency, causing the mclk log error.  eliminate the code.
2021-06-25 23:34:47 +02:00
Igor Pečovnik
219f2bcbd9
Remove deprecated patches (#2922)
* Remove deprecated patches. They broke Pine H64 booting

* Update kernel config
2021-06-25 23:32:14 +02:00
Igor Pecovnik
55a86663e0 Upstream patches and small kernel config adjustements 2021-06-23 20:23:36 +02:00
Igor Pecovnik
7325cc57d7 Upstream patches add / remove and config adjustements 2021-06-21 23:01:14 +02:00
Igor Pecovnik
428a208767 Bugfix - h616 patches break armhf. Did notice when adding to sunxi-edge. Move forward to 5.13.y - can be used for manual inclusion 2021-06-21 16:58:33 +02:00
Werner
f3dd19f890
Bump Zero2 (H616) (#2907)
* Update sun50iw6.conf

* Extract patches from private kernel branch, remove 5.10, cleanup

Co-authored-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2021-06-20 10:05:49 +02:00
Oleg
f484fb7a8b
fix dts for firefly-rk3399 legacy (#2902) 2021-06-16 19:47:19 +02:00
Igor Pecovnik
f34f322eef Adjust broken patch that fixes reboot troubles on meson64 family 2021-06-15 21:02:18 +02:00
Lane Jennison
8cc20a2c6b remove duplicate patches 2021-06-15 09:07:46 -04:00
lanefu
4d56b824c2
Sunxi patchforward (#2898)
* bump patches 5.10.41 - 5.10.43
2021-06-15 07:30:17 -04:00
Piotr Szczepanik
8c6662280c
Fix NanoPi R4S USB ports by moving NanoPC device tree specific changes (#2877) 2021-06-14 21:27:35 +02:00
Igor Pečovnik
fb823a032d
Patches adjustments for Jetson, XU4 and Meson64 legacy (#2895)
* Move Jetson patches to right location, add upstream patch

Also add upstream patch for sunxi

* Add upstream patches for Odroidxu4 current

* Add meson64 upstream patches
2021-06-12 10:06:37 +02:00
Oleg
a3f2777f52
add legacy jetson-nano (#2890) 2021-06-10 11:46:12 +02:00
Jannis
b6cf5ab6e8
Merge pull request #2871 from armbian/helios4-pwm
Update 92-mvebu-gpio-remove-hardcoded-timer-assignment.patch for lk5.12 (edge)
2021-06-09 07:36:35 +02:00
The-going
c8a8d2d61f
These patches have aged. (#2879)
Signed-off-by: The-going <48602507+The-going@users.noreply.github.com>
2021-06-06 20:51:57 +02:00
Heisath
ebc3997e4b Update 92-mvebu-gpio-remove-hardcoded-timer-assignment.patch for lk5.12
Tested with helios4, pwm working on both channels
2021-06-03 12:37:10 +02:00
Igor Pečovnik
bc32f1913d
Small bugfixes to buildall, remove patch that is not needed (#2869) 2021-06-02 10:55:17 +02:00
Jack Chen
fe34d972dc
rockchip: add missing rk3288-tinker-s.dts file (#2862)
fix the kernel 4.4 boot issue introduced by 3f30b48

Signed-off-by: Jack Chen <redchenjs@live.com>
2021-06-01 19:48:57 +02:00
juanesf
be412d2ddd
Bpi-M2-Ultra enable audio on branches (#2866)
* Remove unnecessary patch

- this patch works when compiling and installing manually.
- the dtb with the changes is taken from the kernel and not from u-boot, therefore this patch does not work.

* Add enable-audio-codec-bpim2ultra-kernel.patch

- Add patch to enable audio codec in bpi-m2-ultra with h3 compatible
- Built and tested on Armbian Buster with Kernel 5.11.x (edge)

* Bpi-M2-Ultra enable audio on branches

- This finishes enabling the audio codec in the other kernels (5.4 - 5.10 - 5.11)
- Remove patch from u-boot folder (my bug)
- Compiled and tested in their respective kernel with debian buster

* Bpi-M2-Ultra enable audio kernel 5.12

- add patch to kernel 5.12
2021-06-01 19:48:04 +02:00
Paolo Sabatino
8ba48305e1 rk3328: revert mali opp table patch for rockchip64-5.11 2021-05-30 23:21:02 +02:00
Paolo Sabatino
a7d3086f8a rk3328: add missing gpu opp table, lima driver does not complain anymore 2021-05-30 14:30:21 +00:00
Igor Pecovnik
e1f63c571c Add upstream patches and remove deprecated patch
sunxi, odroidxu4
2021-05-28 14:17:47 +02:00
Igor Pecovnik
0d76096d8e Add upstream patch 2021-05-28 08:59:13 +02:00
Igor Pecovnik
39f703ea85 Add upstream patches 2021-05-27 20:47:53 +02:00
Igor Pecovnik
1473cd31fc Add sunxi upstream patches 2021-05-24 12:42:26 +02:00
Igor Pečovnik
e78cb4ce2a
Extract Odroid related patches from Tobetter branch and move sources to mainline (#2847)
Also temoporally remove overlay support which is broken
2021-05-23 17:28:33 +02:00
Uglymotha
314061c3c3
Improve sunxi fix-a64-timejump.patch (#2824)
* Improve sunxi fix-a64-timejump.patch

Current patch still throws BUG:
WARNING: CPU: 2 PID: 31 at drivers/clocksource/arm_arch_timer.c:364 sun50i_a64_read_cntpct_el0+0x2c/0x38

Cause: Timer values are required to be exactly the same, while it may increase in between reads. Seems to happen especially during boot
Timer values are like: x2 : 0000000015014561 - x0 : 0000000015014567

Solution: Normalize timer values and return normalized value.

* Add patch for 5.12.y

Note. Small changes on upstream solution:
GENMASK(9, 0 ... -> GENMASK(8, 0 ...

Co-authored-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2021-05-23 00:06:52 +02:00
Igor Pecovnik
8665e44f20 Upstream patches for Odroid XU4 current 2021-05-22 17:15:08 +02:00
Igor Pečovnik
3b3d85e25c
Upgrade EDGE to 5.12.y (#2825)
* Bump imx6 edge to 5.12.y

* Bump odroid xu4 edge to 5.12.y

* Bump Jetson nano edge to 5.12.y

* WIP: Bump sunxi to 5.12.y

- create a copy of patches and make a new link
- wireless patches needs adjutement to 5.12
- some patches are still failing

* Adjust wireless patches to build on 5.12.y

* Remove template wireless patch

* Move Espressobin edge to 5.12.y

* Bump mvebu to 5.12

- patch 92-mvebu-gpio-remove-hardcoded-timer-assignment.patch was disabled @heisath
- adjusted wireless driver for 8723ds

* Adjust sunxi / sunxi64 edge to compile

* Fix kernel config for Jetson nano edge

* bump meson64 to 5.12.y

* bump rockchip edge to 5.12.y

* Bump rockchip64 to 5.12.y

* Bump rk322x edge to 5.12.y

@paolosabatino

* Cleanup im6, re-add 5.10.y patches since one is missing in 5.12.y

* Update odroidxu4 edge links

* rk322x: moved rk322x-edge to kernel 5.12, fix overlay compilation, retouched included kernel modules

* Cleanup: remove deprecated config

Co-authored-by: Paolo Sabatino <paolo.sabatino@gmail.com>
2021-05-22 17:08:44 +02:00
Julian Sikorski
ba87e0cfb8
Update odroidxu4-current to 5.4.120 (#2843) 2021-05-21 07:49:45 +02:00
Igor Pecovnik
c96918d6c4 Remove wrong link 2021-05-19 07:27:02 +02:00
Piotr Szczepanik
8eece74eb5
Re-enabled accidentally disabled xhci trb quirk in rockchip64-current 2021-05-16 13:35:47 +02:00
Igor Pecovnik
a09e90dad8 Merge branch 'master' of https://github.com/armbian/build 2021-05-15 18:52:03 +02:00
Igor Pecovnik
503245afeb Add and remove upstream patches 2021-05-15 18:51:44 +02:00
juanesf
53c98cd6ca
Pinecube swap audio patch (#2830)
* Remove unnecessary patch

- this patch works when compiling and installing manually.
- the dtb with the changes is taken from the kernel and not from u-boot, therefore this patch does not work.

* Add enable-sound-pinecube-kernel.patch

- Add patch to enable audio codec in pinecube with v3s compatible
- Built and tested on Armbian Buster with Kernel 5.11.x (edge)
2021-05-15 18:33:43 +02:00
Igor Pecovnik
81d1de321a Bugfix - adjust patches 2021-05-14 15:04:50 +02:00
Igor Pecovnik
aaaad16bb2 mvebu - remove deprecated patches 2021-05-14 14:31:18 +02:00
Igor Pecovnik
96227680c9 Bugfix - build failed when compiling rockchip64-current
small patch adjustement
2021-05-14 13:07:06 +02:00
Igor Pecovnik
fa2de2a3a2 Add upstream patches 2021-05-13 12:58:16 +02:00
Ricardo Pardini
1f79933197
meson64 vs hardkernel "meson_drv_shutdown" patch debacle (#2821)
A long story short:
- patch 'meson64_add_shutdown_function_to_meson_drv.patch' (adds meson_drv_shutdown) added on 04/03/2021
- same patch renamed to '.patch_disabled' on 07/03/2021, since it broke what it was supposed to fix
- kernel 5.10.24 upstream merged similar version of patch, which indeed fixed some khadas stuff, but broke odroid, at least HC4
- now I add this patch to revert upstream.
- also remove the .patch_disabled to avoid confusion
- to say the truth, the HC4 is not reboot-proof, it still hangs sometimes. so this is not the end of it.
  - ps: without this revert, HC4 hangs 100% of the time.
- ps2: did not test on edge 5.11 yet, but it looks like the same

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>
2021-05-12 21:43:12 +02:00
Danny
d553e2eba6
Support for capture selection, for Allwinner A20 Audio Codec (#2818) 2021-05-11 20:27:57 +02:00
Igor Pecovnik
9c185c596b Remove deprecated patch 2021-05-07 11:53:33 +02:00
Igor Pecovnik
e3a7b902ce Add upstream patches 2021-05-06 11:51:34 +02:00
Igor Pecovnik
bb3fee0952 Upstream patches 2021-05-06 11:07:21 +02:00
Igor Pecovnik
049121c17b Add upstream patches 2021-05-02 10:52:22 +02:00
Jack Chen
27175e3e55
rockchip: fix emmc busy loop on Tinkerboard (#2791)
There are already emmc nodes in rk3288-tinker-s.dts, adding these nodes
to rk3288-tinker.dtsi will cause emmc busy loop on original Tinkerboard.

Signed-off-by: Jack Chen <redchenjs@live.com>
2021-05-01 19:20:41 +02:00
lanefu
9737c2171e
Merge pull request #2759 from tparys/microzed
Adds Xilinx Bootgen tools to build environment (alongside sunxi-tools, etc ..)
Adds new SoC family Zynq (7000 series, not MP/UltraScale)
Adds new board Avnet MicroZed
2021-05-01 11:38:06 -04:00
Paolo Sabatino
fb0f8f73bd rk322x: add led/gpio config for T066 boards, updates to rk322x-config 2021-04-25 11:55:45 +00:00
Paolo Sabatino
70c8774c1e rk322x: small increase in logic voltage for better stability 2021-04-23 19:19:27 +00:00
Oleg
ee26078972
fix rk3399-roc-ps-plus (#2786) 2021-04-21 10:10:56 +02:00
Igor Pecovnik
bad7362189 Remove deprecated upstream patches 2021-04-19 19:30:13 +02:00
Igor Pečovnik
510e348202
150balbes fix station legacy (#2782)
* Fix Legacy Stations

Co-authored-by: balbes150 <balbes-150@yandex.ru>
2021-04-18 22:48:56 +02:00
Paolo Sabatino
9a211110ea rk322x: restored trust reserved memory in device tree 2021-04-15 19:50:55 +00:00
Igor Pecovnik
57041c99a8 sunxi edge - add upstream patches 2021-04-14 21:32:54 +02:00
Igor Pecovnik
61b1c311dc Add upstream patches 2021-04-14 10:38:10 +02:00
Julian Sikorski
dc2076e99f
Update odroidxu4-current to 5.4.111 (#2771) 2021-04-14 00:42:22 +02:00
Werner
87f911ceb8
add upstream patches (#2743)
* add upstream patches

* Add more patches

Co-authored-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2021-04-13 00:19:18 +02:00
Igor Pečovnik
b46f603355
Improvements for Jetson Nano (#2752)
* Further improvements

- merge general config options
- add edge branch with 5.11.y
- enabled zram
- verified docker dependencies

* Enabled EDGE CLI target
2021-04-12 22:33:27 +02:00
AmadeusGhost
05a72b8954
rockchip: add Orange Pi R1 Plus support (#2755)
* rockchip: add Orange Pi R1 Plus support

Signed-off-by: AmadeusGhost <amadeus@jmu.edu.cn>

* rockchip: nanopi-r2s: add gpio for the lan/wan leds
2021-04-12 22:32:21 +02:00
Oleg
4ab06060a3
fix firefly-rk3399 (#2758) 2021-04-12 22:23:15 +02:00
tim
f60920a2b7 Add Avnet MicroZed 2021-04-10 20:39:31 -04:00
Igor Pecovnik
fc47e24f21 sunxi - remove deprecated patches 2021-04-06 11:11:53 +02:00
JMCC
23e571cb4a NanoPC-T4 legacy: Disable edp and move it to overlay 2021-04-03 16:07:19 +02:00
Igor Pecovnik
82030ce3da Add upstream patches for Odroid XU4 current 2021-04-01 23:24:19 +02:00
Igor Pecovnik
d8746795cd Add upstream patches for sunxi and adjust configs 2021-03-31 00:17:15 +02:00
Paolo Sabatino
087cb0e86a rk322x: improving stability for some boards, add missing wireguard module
* add device tree overlays to handle boards with power regulation issues,
* fix misconfiguration issues in overlays
* add missing wireguard module for rk322x-current and -edge
2021-03-30 18:02:36 +00:00
hellfi
872ff9a35e
orangepi device tree addition/re-enabling for 5.10.y (#2750)
* Add files via upload

* same orangepi dts as for 5.10
2021-03-30 16:33:30 +02:00
Igor Pečovnik
a761fc33a7
Fixing AP mode on Tinkerboard (#2748) 2021-03-29 22:03:54 +02:00
Igor Pecovnik
fc2efcb873 sunxi - remove deprecated patch 2021-03-28 12:19:22 +02:00
Igor Pecovnik
d761841c7d sunxi edge - add upstream patch 2021-03-26 15:52:05 +01:00
Igor Pecovnik
6eb2650e79 Remove deprecated patch 2021-03-24 20:49:07 +01:00
Igor Pecovnik
76c06deb24 Add sunxi upstream patches and adjust CLI beta target DEV -> EDGE 2021-03-24 20:24:33 +01:00
Igor Pecovnik
eb5715e37d Adjust upstream patches 2021-03-24 20:17:54 +01:00
Igor Pečovnik
fd5688314c
Fix network connection (#2738) 2021-03-24 19:07:23 +01:00
Igor Pečovnik
0cdffb29b0
Renaming DEV branch to EDGE (#2704)
* Change DEV to EDGE
* Renaming patches dev folder to edge
* Move patches into subdir where they will be archived.
* Relink patch directories properly
2021-03-24 19:01:53 +01:00
Gauthier Provost
5e69351b3d
Re-enable network checksum TX offload on rockchip64 family (#2623)
* Re-enable network checksum TX offload on rockchip64 family

* Adjust gmac PBL setting for rk3399 legacy to fix network issues with MTU 1500

* Adjust gmac PBL setting for rk3328 in rockchip64-legacy to fix network issues with MTU 1500

Co-authored-by: Piotr Szczepanik <piter75@gmail.com>
2021-03-23 08:00:10 +01:00
Piotr Szczepanik
08dca8c6ab
Fix trb ent quirk patch for rockchip64 (current/dev) and make it more resilient (#2728)
* Fix trb ent quirk patch for rockchip64 (current/dev) and make it more resilient

* Re-enabled the trb ent patch in dev too
2021-03-23 07:57:05 +01:00
Heisath
849569a528 mvebu remove upstreamed patches 2021-03-20 22:26:01 +01:00
Igor Pecovnik
1cff7fa285 Remove broken patch 2021-03-20 15:27:24 +01:00
Igor Pecovnik
2c987b7a09 Remove broken patch 2021-03-18 11:17:43 +01:00
Martin Ayotte
d57bf0ce73 fix Pinebook-A64 LCD 2021-03-17 17:07:48 -04:00
Martin Ayotte
1089e88627 delete useless patch 5.11.3-4/5.11.4-5/5.11.5-6 2021-03-17 17:05:11 -04:00
Igor Pecovnik
3c96df8d25 Disable broken patch 2021-03-17 21:27:32 +01:00
Martin Ayotte
d49be78b70 fix Pinebook-A64 LCD 2021-03-17 12:42:30 -04:00