Commit Graph

1798 Commits

Author SHA1 Message Date
hzyitc
965ce372de
Support Xunlei Onecloud (#3749)
* Support Xunlei Onecloud

* meson: more led triggers
2022-05-12 19:12:21 +02:00
Paolo
01d334b4a7
Enable BPF filters for rk322x-current and edge (#3777)
* rk322x: add support for ssv6030p (disguise it as ssv6051p)

* rk322x: enable BPF filters and ancillary options, remove ssv6030 patches

* rk322x: enable BPF filters for edge 5.17 kernel
2022-05-12 19:11:53 +02:00
CXM
1f54bc33b8
Add clockworkpi-a06 support (#3768)
* feat: add clockworkpi-a06 support

* fix: disable dpms & screensaver
2022-05-11 21:47:28 +02:00
Igor Pečovnik
b5ebda0911
Disable broken wireless patch (#3764) 2022-05-07 15:51:25 +02:00
catalinii
fc66f374e8
Merge rk35xx-edge into rockchip64-edge (#3765)
* Merge rk35xx boards into rockchip64

* Fix kernel configs
2022-05-07 15:51:11 +02:00
Oleg
0f7606e653
move 5.18-rc5 support jetson-nano (#3754) 2022-05-04 16:16:40 +02:00
hobbsAU
b1ac90fd3e
Thermal / temperature monitoring for jetson nano (#3747)
* Update linux-media-current.config

Adding thermal / temperature monitoring support for jetson nano

* Update linux-media-edge.config

Adding thermal / temperature monitoring support for jetson nano
2022-05-03 15:56:34 +02:00
Igor Pečovnik
897674aa74
Bump and freeze kernel at last known working versions (#3736)
* Freeze kernel at last known working versions

* Fix media kernel

* Update rockchip64 to 5.17.y

* Move patches up

* Re-ad aufs

* Fix rpi kernels
2022-05-03 08:27:32 +02:00
Oleg
57428044ec
move kernel media-current to 5.17 and media-edge to 5.18 (#3726) 2022-05-02 11:36:59 +02:00
Igor Pečovnik
727990ae0e
Bump rpi, imx6 and mvebu EDGE to 5.17.y (#3712) 2022-04-30 18:54:25 +02:00
Paolo Sabatino
ef51fd2096 rk322x: updated libreelec patches, add rk322x generic tv box remote keymap 2022-04-25 22:29:00 +02:00
Oleg
0afe24c957
move kernel media edge to 5.17 (#3704) 2022-04-24 22:33:47 +02:00
Derek
46f666e12a
Espressobin Edge move to 5.17 (#3686)
* update mvebu64 EDGE kernels to 5.17.y

* trusted-firmware documentation says topologies 1, 3, and 8 aren't espressobin
2022-04-23 15:10:45 +02:00
Jose Luis Salas
08cf31de73
all: enable the CONFIG_F2FS_FS_COMPRESSION option (#3689)
* rk35xx: enable the CONFIG_F2FS_FS_COMPRESSION option

This allows to use compression on a F2FS partition to save space and
reduce I/O operations to media.

* all: enable the CONFIG_F2FS_FS_COMPRESSION option
2022-04-19 20:30:56 +02:00
Igor Pečovnik
003a353d15
Re-enable AUFS (fixed on 5.17.y) and update kernel configs (#3698) 2022-04-19 20:28:32 +02:00
The-going
7c2f24d46c
Move sunxi 5.16 to 5.17 (#3696)
* Add reg_ahci_5v status okay for bananapro board

* Bananapro: add AXP209 regulators

* Fix series.conf, Disable the patch that is not being applied.

* Fix linux-sunxi64-edge.config for v5.17.3

* Fix linux-sunxi-edge.config to v5.17.3

* Switch EDGE to core 5.17 for sunxi

* Remove the old rtl8723cs driver which is incompatible with the new kernel and cannot be used.

* Use AUFS if the kernel version is less than 5.16

* Print the last 20 lines of the log if the kernel compilation failed.

* Set KERNEL_VERSION_LEVEL to 5.17

Co-authored-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2022-04-18 23:26:29 +02:00
The-going
9217407f22
bugfix for build sunxi with implicitly selected configuration parameters (#3690)
* Fix the AC200 driver selection for sunxi-5.17

This eliminates incorrect configuration and compilation errors.

* Fix the AC200 driver selection for sunxi-5.16

This eliminates incorrect configuration and compilation errors.

* Fix the AC200 driver selection for sunxi-5.15

This eliminates incorrect configuration and compilation errors.

* Fix the AC200 driver selection for sunxi-5.10

This eliminates incorrect configuration and compilation errors.

* Configure CURRENT: Build: EXTRAWIFI=no AUFS=no SKIP_BOOTSPLASH=yes

* Revert "Configure CURRENT: Build: EXTRAWIFI=no AUFS=no SKIP_BOOTSPLASH=yes"

This reverts commit 243d90041f.

* Configure kernel: CURRENT: build default options
2022-04-17 10:31:08 +03:00
Igor Pečovnik
2b03a9a646
Upgrade UEFI EDGE kernels to 5.17.y (#3680) 2022-04-16 09:11:54 +02:00
Ukhellfire
2a8e1ecac1
Add Orange Pi 3 LTS Support (#3628)
* Orange Pi 3 LTS
* Enable build targets

Co-authored-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2022-04-12 20:13:37 +02:00
vvv-ca
d504520728
Enable sdhci-of-dwcmshc module (#3671) 2022-04-12 19:08:39 +02:00
Paolo Sabatino
714ab49b1d restore back extra-wifi and aufs config options 2022-04-11 22:05:28 +02:00
Paolo Sabatino
d572c1823a rockchip: move edge kernel to v5.17, remove mainlined pacthes/hunks 2022-04-11 22:05:28 +02:00
Paolo Sabatino
0777be9e75 rk322x: move edge flavour to kernel 5.17, adapt patches were necessary 2022-04-10 16:45:06 +02:00
Jianfeng Liu
a454c462f2
add radxa rock3a pcie3x2 support (#3646) 2022-04-07 09:52:28 -07:00
schwar3kat
bf0289eb23
restore sunxi gpio-sysfs to build (#3635)
add CONFIG_GPIO_SYSFS=y to linux-sunxi64-current.config and linux-sunxi64-edge.config

remove  if EXPERT from /sys/class/gpio/... (sysfs interface) in /drivers/gpio/Kconfig
2022-04-06 06:56:34 +02:00
Oleg
eb54a13b05
update kernel 5.17.1 station-p2-edge (#3637) 2022-04-05 16:18:38 +02:00
chbgdn
82d80d4a15 Bump meson64-edge to 5.17 2022-04-04 12:34:29 +03:00
Jianfeng Liu
dad2d913f1
change rk35xx edge to 5.17.y (#3614)
Co-authored-by: Jianfeng Liu <jfliu@zshield.net>
2022-04-01 21:11:55 -07:00
Paolo Sabatino
8d796c6438 rockchip: uarts kernel config option set to 5 for all kernels 2022-03-26 17:58:48 +00:00
Igor Pečovnik
b150413cb5
Fixing broken rockchip64-edge kernel configuration (#3577) 2022-03-26 12:41:49 +01:00
Oleg
03ef96715e
fix emmc nano-pc-t4 (#3557)
* fix emmc nano-pc-t4
* fix node and del not used patch
2022-03-25 20:51:03 +01:00
schwar3kat
bd840c9c2d
Revert CONFIG_TYPEC_DP_ALTMODE=m (#3555)
Accidental change linux-rockchip64-edge.config
2022-03-24 20:54:30 +01:00
Paolo Sabatino
a20be324b9 rockchip: enable bluetooth serdev for tinkerboard and disable userland binaries 2022-03-24 09:22:47 +00:00
Oleg
f52a4193d0
Adding Pine64 Quartz64a as WIP target (#3539)
* add Quartz64a

* quartz64 to wip

* add m2\p2 current

* move patch archive
2022-03-20 22:58:21 +01:00
Jianfeng Liu
88464cc412
Radxa rock3a gpu support (#3547)
* Refresh the vop2 patch from catalinii

* add SCMI related config to support rk3568 gpu

Co-authored-by: Jianfeng Liu <jfliu@zshield.net>
2022-03-19 07:10:37 -04:00
Paolo Sabatino
13469fd8a9 rk322x: add overlay for USB OTG peripheral mode, add current and edge kernel config options 2022-03-18 17:26:46 +01:00
Oleg
2daf35107d
fix BT and wifi for station m1 legacy (#3533)
* fix BT for station m1 legacy

* add firmware
2022-03-13 09:05:14 +01:00
Igor Pečovnik
5fe0f36aa8
Support for more cpu cores on x86 platform (#3529) 2022-03-09 16:56:31 +01:00
schwar3kat
6ff15fe54f
Add orangepi r1 plus lts (#3514)
* Rockchip64 Linux-5.10y - drivers for Motorcomm YT8531
renamed the previous "net-phy-Add-driver-for-Motorcomm-YT85xx-PHYs.patch" to "net-phy-Add-driver-for-Motorcomm-1-YT85xx-PHYs.patch" to fix patch order and added a new patch "net-phy-Add-driver-for-Motorcomm-2-YT8531-PHYs.patch"
The new YT8531 patch is sourced from from Lean's OpenWrt source rockchip/patches-5.10/601-net-phy-Add-driver-for-Motorcomm-YT8531-PHYs.patch.
It is intended to extend a patch identical to Armbian's "net-phy-Add-driver-for-Motorcomm-YT85xx-PHYs.patch" and is used without alteration.

* Add new board OrangePi R1 LTS (rk3328)
Includes uBoot and support for Linux-5.10y

* Rockchip64 Linux-5.15y drivers for YT8531 and other Motorcomm chips

YT8010, YT8510, YT8511, YT8512, YT8521. The driver patch set is sourced from Xunlong-OrangePi OpenWRT and is used as is, with only a name and makefile change.
A single patch set uses the same underlying source code as the Armbian Linux-5.10y set, but uses inbuilt logic to apply tweaks that depend on the Linux kernel version.
The patch is renamed similarly to the 5.10 patch set, net-phy-Add-driver-for-Motorcomm-T85xx+PHYs.patch to imply code base continuity with the previous similar Armbian patch sets.

* Rockchip64 Linux-5.15y support for Orange Pi R1 Plus LTS

Includes DTS and makefile changes. A driver for net phy YT8531C is in a separate commit

* change orangepi-r1plus-lts.csc to orangepi-r1plus-lts.conf

board is now supported

* - add patch also to 5.16.y
- fix wrong patch permission

* Fix Makefile patch

Co-authored-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2022-02-26 15:03:33 +01:00
Igor Pečovnik
594cf5c3d1
Merge rockhip drm patches into one, adjust configs (#3515) 2022-02-26 14:04:38 +01:00
Piotr Szczepanik
ac8fc43855
Switch rockchip64 current to linux 5.15.y (#3489)
* Switched rockchip64-current to linux 5.15

* Backported and adjusted patches from rockchip64-current

* Switched rockchip64 edge to 5.16.y (#3499)

* Initial rockchip64-edge at 5.16.y
* Bunch of fixes for rockchip64-edge at 5.16.y

Co-authored-by: Igor Pečovnik <igorpecovnik@users.noreply.github.com>
2022-02-26 07:46:44 +01:00
Igor Pecovnik
43f1b097d1
Update kernel configs 2022-02-25 21:00:19 +01:00
Igor Pečovnik
2638284b3b
Enable AUFS and Docker (#3502)
* Enable AUFS and Docker

* Add AUFS to configs

* Update configs
2022-02-17 22:04:55 +01:00
Oleg
b05cb01ae0
fix bootsplash kernel media-edge (#3497) 2022-02-16 13:07:13 +01:00
Oleg
3305d45b81
add firmware wifi for p2\m2 (#3493) 2022-02-15 10:35:52 +01:00
Igor Pecovnik
c79abcd881
Remove not compatible wireless drivers
Can be enabled back once fixed https://armbian.atlassian.net/browse/AR-1091
2022-02-15 10:34:21 +01:00
Igor Pečovnik
cfa4188d4e
Bump UEFI current & edge kernels to 5.15.y / 5.16.y (#3491) 2022-02-14 23:34:40 +01:00
Jannis
3c1dde938c
Merge pull request #3474 from armbian/mvebu-updates
Bump mvebu-current to 5.15 and mvebu-edge to 5.16
2022-02-11 12:16:36 +01:00
Heisath
4de4c42e6f Bump mvebu-current to 5.15 and mvebu-edge to 5.16 2022-02-11 11:00:57 +01:00
Igor Pečovnik
1e37959e53
Bumping sunxi/64, xu4, rockchip and mvebu64 to 5.16.y (#3453)
* Prepare xu4 edge for 5.16.y, move current of imx6 to 5.15.y and edge to 5.16.y

- fix bootsplash on 5.16.y

* rk322x: advance current to 5.15 and edge to 5.16

* rockchip: advance current kernel to 5.15, edge to 5.16

* - adjust configs
- fix bootsplash patches
- adjust aufs

* Switch sunxi / sunxi64 current to 5.15.y, edge to 5.16.y

- cleanup bootsplash patches
- adjust configs

* Update mvebu64

Co-authored-by: Paolo Sabatino <paolo.sabatino@gmail.com>
2022-02-10 20:32:58 +01:00
Oleg
51300f1c7f
update kernel legacy for station m2\p2 (#3469) 2022-02-10 15:00:45 +01:00
iav
4034a8f535
switch RTL8188EU USB WiFi driver with 5.15+ kernel to mainline (#3464)
https://www.phoronix.com/scan.php?page=news_item&px=Linux-5.15-Staging
2022-02-07 09:52:39 +01:00
Oleg
365c5b6e4a
fix start Jetson Nano kernel legacy USB media (#3452) 2022-02-02 10:49:20 +01:00
catalinii
188d6d0a8a
Support edge kernel for Rock 3A and rk35xx (#3371)
* Support edge kernel for Rock 3A and rk35xx

* Removing patch email headers

There is also some script floating around to do this automatically when pooling from patchwork

* Update rk356x-usb2-support.patch

* Remove email headers

* Remove email headers

* Remove email headers

* Update config and change edge branch

* Enable edge beta build

* Refresh the rk35xx patches and update the dts
Remove also previous wireless patches related to IPX removal

* Removing hirsute target

deprecated

Co-authored-by: Catalin Toda <catalinii@yahoo.com>
Co-authored-by: Igor Pečovnik <igorpecovnik@users.noreply.github.com>
Co-authored-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2022-02-01 22:53:43 +01:00
Oleg
e470c8625a
fix add firmware for current (#3419) 2022-01-22 19:49:25 +01:00
Paolo
d1e8c0d27b
rockchip64: add realtek rtl8723cs and rtl8703bs wifi and serdev bluetooth support for edge 5.15 kernel (#3422) 2022-01-22 19:48:34 +01:00
Igor Pecovnik
b568c3aa68
Patch adjustements 2022-01-16 17:57:24 +01:00
Igor Pečovnik
2b8fc08eeb
Adjust broken patches and remove deprecated (#3403) 2022-01-16 14:53:14 +01:00
Oleg
6b490e1694
move kernel edge to 5.16 (#3387) 2022-01-11 15:26:11 +01:00
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 Pecovnik
2b4e9e6618
Bugfix - legacy kernels doesn't want to play nice with kernel options
When NFSD is enabled as module, kernel does not compile. But it works as build in. Since its pretty pointless to fix in the code, lets use this workaround.

FYI @patrickbkr
2022-01-04 19:57:10 +01:00
Patrick Böker
7698848a93
Unify NFS configuration (#3376)
* Unify NFS configuration
* Fix rk35xx kernel

Co-authored-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2022-01-04 16:16:43 +01:00
Igor Pecovnik
5a6b9b2d78
sun50iw9 - bugfix - change phy driver to build-in since it breaks compilation when added as module 2021-12-30 21:23:27 +01:00
Oleg
08568a6005
add station m2\p2 (#3352) 2021-12-26 16:37:49 +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
Igor Pecovnik
1dc9110887
Bugfix on rk322x legacy - disable wireless driver that breaks on most recent compiler 2021-12-23 21:31:29 +01:00
Oleg
023de68882
switching Jetson Nano edge to kernel 5.15 (#3363) 2021-12-22 07:38:19 -05:00
Igor Pecovnik
62e6415360
Bugfix - disable broken wireless drivers in kernel config 2021-12-18 09:26:52 +01: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
Leo
356cb4e868
Odroid XU4 update config for 5.15 (#3350) 2021-12-14 17:39:10 +01:00
Igor Pecovnik
f6f0835123
Disabling CONFIG_GCC_PLUGINS on (32b) rockchip
Related: 82766fc2e6
2021-12-14 15:35:59 +01:00
Oleg
30a9dae202
fix jetson nano current and edge (#3349) 2021-12-14 14:53:02 +01:00
Igor Pecovnik
82766fc2e6
Disabling CONFIG_GCC_PLUGINS on (32b) sunxi and mvebu CURRENT kernel due to issues
One probable option is to upgrade GCC compiler and open other troubles or dig in and solve the reason.
2021-12-14 14:46:26 +01:00
Oleg
4c913692af
fix kernel panic (#3344) 2021-12-14 00:12:34 +01:00
Paolo Sabatino
c8f48d8368 rk322x: add rtl8723cs and rtl8703bs serdev bluetooth support 2021-12-10 21:53:57 +01:00
Paolo Sabatino
095fa0df90
rk322x: enabled 8723cs driver module, ntfs rw option 2021-12-08 22:28:01 +00:00
Leo
e3674b0a83
Add NTSF3 and KSMBD modules for 5.15 (#3330) 2021-12-08 16:15:02 +01:00
Paolo Sabatino
3f7919153e
rk322x: update edge kernel 5.15 config
* disable external rtl8188eu driver in favor of updated staging r8188eu
* enabled back rtl8723cs driver
2021-12-08 13:40:19 +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 Pečovnik
59aaac2469
Change default kernel config to enable CONFIG_MODULE_FORCE_UNLOAD (#3310) 2021-12-04 12:11:49 +01:00
Aleksandr Makarov
29415e0a41
Enable support for Intel 10GbE family of adapters (#3278) 2021-11-21 19:56:43 +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
simple
401fb1fde4
Fixed rt5651 codec build module (#3270) 2021-11-20 19:49:22 +01:00
Oleg
21d5340b35
fix sound HDMI rk3399 and bootsplash (#3260) 2021-11-17 07:22:04 +01:00
Piotr Szczepanik
7c06bb7d78
Disable DEBUG_INFO in rk35xx legacy kernel config 2021-11-13 22:21:55 +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
Igor Pecovnik
e17a7fb159
Disable broken wireless driver
https://github.com/armbian/build/pull/3242
2021-11-09 23:36:43 +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
catalinii
19340d66a1
Enable more config options in the legacy kernel (#3237) 2021-11-09 18:14:27 +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
Flole998
8544bf36bb
Add MCP251XFD-Drivers as modules (#3232)
This is pretty safe to merge and compilation passed.
2021-10-31 12:13:56 +01: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
06a3f77059
Missing support for Power and function key (#3210)
Noticed in Khadas Vim2
2021-10-20 09:08:07 +02:00
Oleg
35a83a3c6f
Update Jetson nano kernel config (#3211) 2021-10-20 09:07:52 +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 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
Paolo Sabatino
a52cc0542e
rockchip64: compile timer led trigger in-kernel 2021-10-13 11:31:08 +00:00
Igor Pečovnik
cd7131cd86
Add upstream patches for sunxi (#3177) 2021-10-07 18:53:56 +02:00
Igor Pečovnik
5059acac6a
Add upstream patches (#3175) 2021-10-07 01:08:09 +02: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
17507962f5
Maintenance - add and remove upstream patches 2021-09-25 08:30:11 +02:00
Igor Pecovnik
2fb7ad52e0 Update upstream patch for sunxi edge 2021-09-19 15:14:47 +02:00
Oleg
41522b2bc7
fix config legacy for station (#3147) 2021-09-19 12:20:43 +02: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
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
Paolo Sabatino
bef4992ac1 rk322x: analog audio codec for edge kernel 2021-09-12 14:26:18 +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 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
Vyacheslav
c61c0ebf10
Disable wifi powersave by default via kernel config (#3113) 2021-09-02 20:48:05 +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
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
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
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
Paolo Sabatino
0dd450f98f rk322x: really update edge kernel flavour config 2021-07-18 14:55:54 +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
Igor Pecovnik
2e093e4309 Adjusting broken patches on RK332x
@paolosabatino review if somethint too much was removed
2021-07-16 15:59:00 +00: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
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
329dc277af Disable 8822bs for sunxi64 since it breaks compilation 2021-07-08 08:04:58 +02: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
Oleg
0bb36ca04f
add module for station legacy (#2981) 2021-07-07 16:03:28 +02:00
andpp
b2e98daf7b
Fixed u-boot script and kernel config for i.MX7D (#2953)
* Updated kernel/u-boot for MCIMX7SABRE board

Supporing 'current' and 'legacy' branches for MCIMX7SABRE board

current branch:
   u-boot: imx_v2020.04_5.4.70_2.3.0
   kernel: imx_5.4.70_2.3.0

legacy branch:
   u-boot: imx_v2018.03_4.14.98_2.0.0_ga
   kernel: imx_4.14.98_2.0.0_ga

* Update kernel config with few additional options like zram, bonding, ... just a few to keep minimum consistency over kernels.

* Fixed u-boot script and kernel config for i.MX7D

Fixed bug in u-boot script preventing to use armbianEnv.txt
Configured SDMA as module to fix loading SDMA firmware

Co-authored-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2021-07-03 21:57:43 +02:00
Igor Pecovnik
95f4afd3b2 Adjust upstream patches and configs 2021-07-02 13:00:09 +02: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
15b4278a99 Adjusting broken patch and update kernel config for meson64 family 2021-06-27 20:49:20 +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
andpp
27536347d9
Updated kernel/u-boot for MCIMX7SABRE board (#2906)
* Updated kernel/u-boot for MCIMX7SABRE board

Supporing 'current' and 'legacy' branches for MCIMX7SABRE board

current branch:
   u-boot: imx_v2020.04_5.4.70_2.3.0
   kernel: imx_5.4.70_2.3.0

legacy branch:
   u-boot: imx_v2018.03_4.14.98_2.0.0_ga
   kernel: imx_4.14.98_2.0.0_ga

* Update kernel config with few additional options like zram, bonding, ... just a few to keep minimum consistency over kernels.

Co-authored-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2021-06-20 10:06:29 +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
baaefaf691
fix config kernel legacy (#2900) 2021-06-16 09:32:43 +02:00
Igor Pečovnik
d3d4f050e4
Add ZRAM to Jetson Nano legacy (#2899)
* Add ZRAM and few other networking related options to Jetson nano legacy kernel config

* Enable legacy desktop build for jetson-nano

* Enable nightly legacy kernel build

* space
2021-06-16 00:56:56 +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
Igor Pečovnik
b087cfb6b3
Enable virtual ARM64 nightly builds for qemu (#2875)
* Enable Virtual qemu build targets
* Bugfix - saving build number is being overwritten before saved
* Remove stable builds, not needed
* Update kernel config, enable current instead of edge
2021-06-05 08:49:25 +02:00
Igor Pecovnik
e1f63c571c Add upstream patches and remove deprecated patch
sunxi, odroidxu4
2021-05-28 14:17:47 +02:00
Aristo Chen
583c656baf
Make nls_ascii become built-in (#2845) 2021-05-24 00:01:48 +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
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
Lane Jennison
e1e4d3405b add atag to kernel 2021-05-16 09:32:20 -04:00
Lane Jennison
0c5ff7e259 fix family names 2021-05-16 08:56:51 -04:00
Lane Jennison
d452d5e6bc add first pass of virt 2021-05-15 15:55:15 -04:00
Igor Pecovnik
503245afeb Add and remove upstream patches 2021-05-15 18:51:44 +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
Kirill Zhumarin
5b459ee366
Enable CONFIG_BINFMT_MISC=m (#2810)
* CONFIG_BINFMT_MISC=m for linux-rockchip 4.4

* Adjust other configs to the same value

Co-authored-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2021-05-11 10:56:48 +02:00
Igor Pecovnik
23dd921bac rk322x-edge: adjust kernel config
Enable AUFS
2021-05-06 18:38:27 +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
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
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
lededev
0c363a7ba8
enable usbip and usbip vhci-hcd as module to all devices (#2781)
* enable usbip and usbip vhci-hcd as module to all devices
Add USBIP and it's module as a kernel module to all devices.
It's pretty standard package available in all other distros, allow usage of USB over IP of devices.
	new file:   config/kernel/linux-generic.config
	modified:   config/kernel/linux-odroidxu4-legacy.config
	modified:   lib/compilation.sh

* enable usbip and usbip vhci-hcd as module to devices

* rm unused config file

Co-authored-by: lededev <lededev@noreplay.github.com>
2021-04-18 22:03:29 +02:00
tim
c37ce2afc6 Enable Realtek USB WiFi drivers 2021-04-17 18:06:13 -04:00
Igor Pecovnik
57041c99a8 sunxi edge - add upstream patches 2021-04-14 21:32:54 +02:00
Igor Pečovnik
f0b5264317
Re-create edge branch for imx6 (#2751)
* Re-create edge branch for imx6
* Add build target

Edge was not tested on HW yet.
2021-04-12 23:56:53 +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
tim
491c97b762 Enable Zynq legacy kernel features based on Armbian config for sunxi64 2021-04-11 18:06:02 -04:00
tim
f60920a2b7 Add Avnet MicroZed 2021-04-10 20:39:31 -04:00
Igor Pecovnik
2473dca0e1 Update meson64 kernel config 2021-04-02 09:11:23 +02:00
Igor Pecovnik
82030ce3da Add upstream patches for Odroid XU4 current 2021-04-01 23:24:19 +02:00
Paolo Sabatino
ef0be6d368 rk322x: enabled back aufs for current kernel 2021-04-01 13:48:52 +00: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
Lane Jennison
bebf71e2e2 enable CGROUP_BPF and CGROUP_PERF for docker 2021-03-29 20:15:20 -04:00
Igor Pecovnik
2edb02b9e1 Update kernel config for imx6 2021-03-28 12:19:52 +02:00
Igor Pecovnik
d761841c7d sunxi edge - add upstream patch 2021-03-26 15:52:05 +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
Oleg
9aa7aafd4f
Adding Nvidia Jetson Nano (#2720)
* add Jetson Nano

* Update jetson-nano.conf

* Update targets.conf

* Add better description

* Adjust config - try to enable ZRAM

* Packaging patch not needed

* Extlinux was solved in other commit

* Move board to CSC for now

Co-authored-by: Igor Pečovnik <igorpecovnik@users.noreply.github.com>
Co-authored-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2021-03-18 18:29:34 +01:00
themilord
9ef3fe9687
Enable IMX6 VPU(CODA960) in the kernel config as module. Enables HW acceleration of video en-/decodingw (#2723) 2021-03-18 17:11:09 +01:00
Igor Pecovnik
a4c26108a8 Allwinner upstream patches 2021-03-12 22:19:41 +01:00
Paolo Sabatino
95425c27b9 Changes and fixes to rk322x uboot and kernel config
- Enabled nfc on rk322x-dev and disable on rk322x-current (need further development)
- Tidied up rk322x-current device tree
- enabled nfc rockchip driver enabled in rk322x-dev kernel config
- Enabled EHCI controller in u-boot (added patch for inno-phy, device tree and config bits), better device detection for dwc2 usb otg port
- Removed SPL_FIT_GENERATOR from u-boot configuration, fixed .its file to use binman
- fixed rk322x its file (now includes dtb), reverted u-boot to v2020.10 and changed dev_* into log_debug() calls
2021-03-12 20:20:12 +00:00
Igor Pecovnik
0e8a4464c8 odroidxu4 current add upstream patch 2021-03-08 09:00:39 +01:00
Igor Pečovnik
0e025f4cf3
Bump meson64 DEV to 5.11.y (#2695) 2021-03-08 08:58:18 +01:00
Igor Pecovnik
b45fe0c9ec Update meson64 legacy config and cosmetic bugfix to zsh package creation 2021-03-07 21:24:33 +01:00
Igor Pecovnik
ada2a6eeb8 sunxi - add upstream patch 2021-03-07 17:26:59 +01:00
Igor Pecovnik
a3d29f4082 bugfix - some rockchip64 patches needed adjustments
They were breaking compilation. Tested for building
2021-03-07 15:40:10 +01:00
Igor Pecovnik
7989d036cb meson64 disable shutdown fucntion since it works rihht the opposite
It always hangs, disabling enable reboot back on - not sure if this is proper solution. We need to make many reboots ...
2021-03-07 14:41:23 +01:00
Igor Pecovnik
ed787f4a16 Add upstream patch 2021-03-06 21:27:38 +01:00
Tony
4971535c77
RK3399 Typec DP (#2676)
* RK3399 NanoPC-T4 Add Type-C alt mode DP
* rk3399 rockpi 4C add mini-DP (WIP)
* [ rockchip64 ] revert rockPi 4C DP patch

Add an extension to disable it, but leave for future work.
2021-03-03 07:59:25 +01:00
Igor Pecovnik
8d6ce7ce05 Odroid C4 / HC4 / N2 legacy upstream patches 2021-03-02 23:46:40 +01:00
Igor Pecovnik
973407893a Maintenance: update configs and add upstream patches 2021-02-23 19:23:22 +01:00
Paolo Sabatino
04670580ea Moved rk322x-dev to linux kernel 5.11
Added led configuration dtbo for rk322x targets
2021-02-20 20:48:42 +00:00
JMCC
34f1ce7aa0 NanoPC-T4 legacy: enable USB-C DisplayPort out 2021-02-18 20:09:37 +01:00
Igor Pecovnik
dd82638982 Remove deprecated patches 2021-02-18 15:21:51 +01:00
André Cirne
34c4e62436
Enable squashfs support in expressobin (#2643) 2021-02-17 01:37:12 +01:00
Igor Pečovnik
54bc65b3bb
Bump DEV kernels to 5.11.y (#2636)
* Bump rockchip DEV 32b to 5.11.y

* Move mvebu64 DEV to 5.11.y

* Move Rockchip64 DEV to 5.11.y

Disabling general-rkvdec_nv15.patch - need more attention

* Add Meson DEV / Odroid C1

* Move OdroidXU4 DEV to tobetter's 5.11.y branch

* Bump sunxi DEV to 5.11.y

* Bump mvebu DEV to 5.11.y
2021-02-17 01:36:25 +01:00
Igor Pečovnik
d28c170a23
RTL 8811CU: Add support for K5.11.y (#2638)
* RTL 8811cu: Add support for K5.11.y
* Update configs and remove deprecated patches
2021-02-15 16:25:19 +01:00
Igor Pecovnik
d5917f2379 Odroidxu4 - upstream patch 2021-02-14 15:57:06 +01:00
Igor Pecovnik
d2fe129f3a Update kernel config, add upstream patches 2021-02-11 17:23:41 +01:00
Igor Pečovnik
8e4b84428d
Enable hardware PRNG/TRNG/SHA on sun8i-ce platform (#2616)
* Enable  hardware PRNG/TRNG/SHA on sun8i-ce platform

* Update configs - change sunxi crypto to boolean
2021-02-11 12:37:54 +01:00
Igor Pecovnik
9405412782 sunxi - add upstream patches 2021-02-11 12:35:41 +01:00
Igor Pečovnik
dc98eeb264
Add upstream patches (#2630) 2021-02-11 00:11:44 +01:00
Igor Pečovnik
4763a457c1
Add missing overclocking opp for N2+ (#2629) 2021-02-10 18:31:58 +01:00
Pander
c83ba333a3
enable camera sensor modules for current and dev sunxi64 (#2613) 2021-02-05 11:10:46 +01:00
Igor Pečovnik
8afc6b6280
Add DVFS fixes to current branch and change to mainline u-boot (#2598) 2021-02-03 20:18:28 +01:00
Igor Pečovnik
f900d9b636
Upgrade Odroid XU4 DEV to 5.10.y (#2607) 2021-02-02 19:33:28 +01:00
Igor Pecovnik
dc13e7ec4f Add upstream patches 2021-02-01 09:33:35 +01:00
Igor Pecovnik
0829882144 Fix compilation errors on mvebu current / dev
Fixed by reverting https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/drivers/gpio?h=v5.10.12&id=43f2e6077f441d681f0337ab91f7c4c2d4c62761 which needs closer examination when time permits.
2021-01-30 19:17:25 +01:00
paolo
d3ffc4ac7c [rk322x] Moved rk322x-current to kernel 5.10.y, added alternative wlan wiring for some boards 2021-01-29 19:20:50 +00:00
Piotr Szczepanik
804c57dd59
Enable RTC (hym8563) for Station P1 in mainline (renaming DT in process) (#2577)
* Enable RTC (hym8563) for Station P1 in mainline (renaming DT in process)

* Switch Station P1 to rockchip64

* Fix linking for Station P1 device tree in legacy
2021-01-26 21:22:37 +01:00
Jannis
bd4c2c67f0
[AR-609] Switch mvebu-current to 5.10.y (reusing config and patches from -dev) (#2547)
* mvebu-current move to lk5.10.y

* mvebu-current update patches based on -dev

* mvebu-current update kernel config
2021-01-22 13:20:44 +01:00
Igor Pečovnik
46ea2050fd
Move mvebu64 current to 5.10.y (#2565) 2021-01-22 13:13:18 +01:00
Igor Pečovnik
677ac38998
Bump rockchip to 5.10.y (#2570) 2021-01-22 12:57:22 +01:00
Igor Pečovnik
d95a4f7bf6
Enable AUFS back - its supported again (#2562)
* Enable AUFS back - its supported again

Tested building

* Update kernel configs for AUFS
2021-01-19 23:24:33 +01:00
Piotr Szczepanik
091d91468e
Switched rockchip64-current to 5.10.y (and synced -dev config/patches) (#2546) 2021-01-17 19:07:59 +01:00
Igor Pečovnik
fc9c312f79
Bump Meson64 current to 5.10.y (#2544) 2021-01-14 01:36:40 +01:00
Igor Pecovnik
151414ef49 Allwinner - add upstream patches 2021-01-10 16:16:58 +01:00
Igor Pecovnik
16b1e43be8 Cleanup few kernel configs, remove deprecated patches 2021-01-10 01:48:30 +01:00
Igor Pecovnik
24097de258 Meson64 legacy - add support for SATA and add upstream patches 2021-01-10 00:08:31 +01:00
JMCC
8b83866e16 rockchip-legacy: Enable RGA for RK3288 2021-01-04 22:53:12 +01:00
Oleg
a1e96e68d8 add station legacy (#2521) 2021-01-04 11:51:43 +01:00
Igor Pečovnik
01024e20d5
Move sunxi current to 5.10.y (#2525) 2021-01-02 21:56:56 +01:00
Werner
2fc6682878
rockchip64-dev: Enable 2nd NIC on NanoPi R4S
`CONFIG_RTL8188EU` seem no longer exist in config. Unable to find in menuconfig. Therefore removed.

@ThomasKaiser FYI: `CONFIG_CRYPTO_ZSTD` has been forced to `y` by `ZSWAP_COMPRESSOR_DEFAULT_ZSTD [=y] && <choice>`
2020-12-31 10:47:58 +01:00
Igor Pečovnik
3c793e66ed
Add initial config for R4S (#2415)
* Add initial config for R4S
* Enabled r8169 module for rockchip64-current
* NanoPi R4S board configuration file tweaks
* Add u-boot configuration
* Update PCI speed
* Add DT to DEV kernel
* Enable build targets

Co-authored-by: Piotr Szczepanik <piter75@gmail.com>
2020-12-31 01:17:45 +01:00
JMCC
1db9f325b2 rockpi-4b legacy: enable MIPI-CSI camera support through RKISP1 2020-12-29 22:54:55 +01:00
JMCC
054a4ba98b rk3399-legacy: enable HDMI-CEC and ISP camera support 2020-12-29 22:53:39 +01:00
Thomas Kaiser
4193dc0e37 Enable zswap with zstd/z3fold where applicable 2020-12-29 16:33:23 +01:00
Igor Pecovnik
5fce5229f2 sunxi - add upstream patch 2020-12-27 01:29:55 +01:00
Igor Pecovnik
582f1228a0 Move Rockchip DEV to 5.10.y 2020-12-26 10:52:13 +01:00
Paolo Sabatino
8709a5395f [rk322x] Advanced dev kernel to 5.10.y 2020-12-24 14:36:20 +00:00
Igor Pecovnik
6613e89261 Upstream patches 2020-12-23 22:34:24 +01:00
Igor Pecovnik
e6e5438ff9 Update / add upstream kernel patches and ajdust configs 2020-12-22 15:30:55 +01:00
5kft
918f892501
[ sunxi-dev ] Enable tc and firewall support on sunxi64 (https://github.com/armbian/build/pull/2488) 2020-12-21 05:59:59 -08:00
emanuele-f
d316cfd245 Restore tc and firewall support on sunxi64
Standard firewall features were introduced in
6a165742e8 but then removed in
6788786057. This commit restores them and also
adds support for the tc-mirred action.
2020-12-21 12:53:22 +01:00
JMCC
3b5fa42269 Rockchip64-Legacy: enable CONFIG_MEDIA_CEC_RC, and collaterally also set CONFIG_RTL8192EU=m 2020-12-20 14:42:06 +01:00
Igor Pečovnik
8192ac4d4d
Upstream patches (#2474)
* Add xu4 current upstream patch
* Update sunxi legacy
* Update sunxi current
2020-12-16 23:33:51 +01:00
Igor Pecovnik
23ff3c0243 Switched mvebu64-dev to linux 5.10.y 2020-12-15 00:27:07 +01:00
Igor Pecovnik
c8a163ce71 Merge branch 'master' of https://github.com/armbian/build 2020-12-15 00:11:38 +01:00
Igor Pecovnik
78027c5daf Switched mvebu-dev to linux 5.10.y 2020-12-15 00:11:01 +01:00
Piotr Szczepanik
91c78bba63
Refreshed rockchip64-dev kernel config from build 2020-12-15 00:03:27 +01:00
Igor Pecovnik
dbf4110f6e Switched imx6-current to linux 5.10.y 2020-12-14 23:59:19 +01:00
Igor Pecovnik
20472dc934 Switched meson-current to linux 5.10.y 2020-12-14 23:46:26 +01:00
Igor Pecovnik
17658c6c53 Switched meson64-dev to linux 5.10.y 2020-12-14 23:33:18 +01:00
Aaditya
204d63c0e9
add gamepad and joystick support where missing (#2446)
* [rockchip64-current] add gamepad and joystick support

Added modules similar to rockchip64-legacy

* [meson{64}-current] add gamepad and joystick support

* [gitignore] temp vim files

* [sunxi{64}-current] add gamepad and joystick support

* [mvebu{64}-current] add gamepad and joystick support

* [misc dev] add gamepad and joystick support

* [meson and sunxi legacy] add gamepad and joystick support

* [misc legacy] add gamepad and joystick support
2020-12-14 18:14:14 +01:00
Songtao
3b2cb79f29
Enable BBR and NET_SCH_FQ. (#2452) 2020-12-14 18:13:01 +01:00
Igor Pečovnik
9a73552d6a
Adjust kernel configs, add upstream patches, bump mvebu64 dev to 5.9.y (#2440) 2020-12-11 20:17:29 +01:00
Igor Pečovnik
0b9115dab1
Bump Meson64 to 5.10.y (#2439)
- curently attached to RC7 as https://github.com/armbian/build/pull/2378
- config derived from current and contains all latest changes
- dirty reboot and eth0 reset hacks are not added and can be added later if still needed (need_check subfolder)
2020-12-11 00:33:05 +01:00