Commit Graph

9700 Commits

Author SHA1 Message Date
Igor Pečovnik
c39bc5fcf8
Add rockpro64 build targets since we have a maintainer (#3562) 2022-03-24 20:53:57 +01:00
Jianfeng Liu
03115888c3
fix radxa rock3a usb regulator and clean useless info in patches (#3559)
Co-authored-by: Jianfeng Liu <jfliu@zshield.net>
2022-03-24 12:44:58 -07:00
Paolo Sabatino
a20be324b9 rockchip: enable bluetooth serdev for tinkerboard and disable userland binaries 2022-03-24 09:22:47 +00:00
Paolo Sabatino
2cbd35f3b2 rockchip: fix kernel device tree in u-boot 2022-03-24 09:21:56 +00:00
Paolo Sabatino
445062b8dc rockchip: advance tinkerboard u-boot to v2022.01 2022-03-24 09:21:56 +00:00
Paolo Sabatino
c674bac80c rockchip: advance tinkerboard u-boot to v2021.01 2022-03-24 09:21:56 +00:00
Igor Pečovnik
d81155f331
Sync beta repository in the CI process (#3548)
* Sync servers after repository is updated

* Update build-train.yml

* Sync servers before building images
2022-03-22 01:12:09 +01:00
Igor Pečovnik
fbfde88d40
Bugfix - we don't hardcode mainline kernel source since we went to use mirrors (#3552) 2022-03-21 16:13:24 +01:00
Igor Pečovnik
8be441448c
Typo bug - wrong board name will break CI (#3551)
* Typo bug - wrong board name will break CI
2022-03-20 19:27:55 -04: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
Matthijs Kooijman
c715c11cf2
Improve template config copying (#3535)
* Do not overwrite config-default.conf

Previously, when config-example.conf was missing, it would be created
and config-default.conf would be made a symlink to it. However, this
would overwrite any existing config-default.conf, potentially throwing
away a user's data. This occurs when you clean up and throw away the
(cluttering) config-example.conf (and depending on whether you use a
symlink to another named config, or put data in config-default.conf,
this would either just replace the symlink, or throw away your actual
config data).

This commit splits the update checks, so no files are ever overwritten,
except a broken config-default.conf symlink.

* Do not recreate example.conf if you remove it

Previously, whenever config-example.conf (and some others) was missing,
it start copying any missing example configs. This means that if you
would remove config-example.conf to clean up your userpatches directory,
it would be recreated everytime.

Now, this is triggered by a missing config-default.conf (which is also
created by the same block of code). The creating of config-example.conf
is still there, so if you have no config-default.conf (or one of the
others listed), then config-example.conf is created anyway, with
config-default.conf being a link to it, just like before (so the
first-run behavior is unmodified).
2022-03-19 16:48:32 +01:00
brenkem
f3f12248e1
enable support for LINUX Mint 20.3 (#3541) 2022-03-19 16:48:02 +01:00
Yuntian Zhang
e63b8044b1
Reduce Radxa Zero's SDIO frequency (#3543)
This fixes the issue where some boards have increased difficulty to initialize Wi-Fi hardware under the cold weather.
2022-03-19 16:47:08 +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
Paolo Sabatino
c6a8ca6d1a rk322x: add disabled patch for not-yet-working rknand mainline driver 2022-03-18 17:26:46 +01:00
Paolo Sabatino
56f5f94561 rk322x: reboot in maskrom mode when reset button is pressed 2022-03-18 17:26:46 +01:00
Paolo Sabatino
71d6e7db63 rk322x: bump to u-boot v2022.01 2022-03-18 17:26:46 +01:00
Igor Pečovnik
ed85576979
Remove more broken packages from Jammy (#3542) 2022-03-16 22:29:50 +01:00
Igor Pečovnik
79dc8282d4
Fix package relatinship problem in Jammy desktop (#3537) 2022-03-16 17:53:52 +01:00
Igor Pečovnik
e6c7b84c02
Bringing wireless driver support to 5.15.y + (#3538) 2022-03-16 17:53:33 +01:00
Julian Sikorski
73e878d49f
Update odroidxu4-current to 5.4.185 (#3540) 2022-03-16 17:53:04 +01:00
Julian Sikorski
e1b93257f2
Update odroidxu4-current to 5.4.184 (#3536) 2022-03-15 08:59:14 +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
iav
6fee4247f9
add patch to avoid meson64 random reboots under load (#3520)
patch source https://lore.kernel.org/linux-amlogic/1c71a7c1e58590811094ebdd0e1abc54@agner.ch/T/#t
2022-03-12 23:16:29 +01:00
Vyacheslav
42617c23f8
Add meson64 patch net: phy: meson-gxl: fix interrupt handling in forced mode (#3524)
* Add meson64 patch net: phy: meson-gxl: fix interrupt handling in forced mode

https://patchwork.kernel.org/project/linux-amlogic/patch/04cac530-ea1b-850e-6cfa-144a55c4d75d@gmail.com/

This PHY doesn't support a link-up interrupt source. If aneg is enabled
we use the "aneg complete" interrupt for this purpose, but if aneg is
disabled link-up isn't signaled currently.
According to a vendor driver there's an additional "energy detect"
interrupt source that can be used to signal link-up if aneg is disabled.
We can safely ignore this interrupt source if aneg is enabled.

This patch was tested on a TX3 Mini TV box with S905W (even though
boot message says it's a S905D).

This issue has been existing longer, but due to changes in phylib and
the driver the patch applies only from the commit marked as fixed.

Fixes: 84c8f773d2dc ("net: phy: meson-gxl: remove the use of .ack_callback()")
Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>

* Add meson64 kernel patch: net: phy: meson-gxl: improve link-up behavior

https://patchwork.kernel.org/project/linux-amlogic/patch/e3473452-a1f9-efcf-5fdd-02b6f44c3fcd@gmail.com/

Sometimes the link comes up but no data flows. This patch fixes
this behavior. It's not clear what's the root cause of the issue.

According to the tests one other link-up issue remains.
In very rare cases the link isn't even reported as up.

Fixes: 84c8f773d2dc ("net: phy: meson-gxl: remove the use of .ack_callback()")
Tested-by: Erico Nunes <nunes.erico@gmail.com>
Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
---
 drivers/net/phy/meson-gxl.c | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)
2022-03-12 23:16:17 +01:00
Uli Middelberg
4bcad9ebd7
This modification will allow to boot an unmodified cubox-i image on the utilite pro. Beside of this the image can also boot from a different storage media like usb without modification, because most of the distroboot settings are going to be used now. (#3527) 2022-03-12 23:16:04 +01:00
Oleg
dc54b0c2c6
fix install emmc (#3532) 2022-03-12 23:15:47 +01:00
The-going
c58d048a0a
Fixed the application of an unnecessary patch (#3534)
* This is already contained in the 5.15.27 kernel

pinctrl: sunxi: Use unique lockdep classes for IRQs

commit 896d1b8a36129c3f1378fbbafd7c394a877635b5 linux-5.15.y
commit bac129dbc6560dfeb634c03f0c08b78024e71915 upstream.

This driver, like several others, uses a chained IRQ for each GPIO bank,
and forwards .irq_set_wake to the GPIO bank's upstream IRQ. As a result,
a call to irq_set_irq_wake() needs to lock both the upstream and
downstream irq_desc's. Lockdep considers this to be a possible deadlock
when the irq_desc's share lockdep classes, which they do by default:

     ============================================
     WARNING: possible recursive locking detected
     5.17.0-rc3-00394-gc849047c2473 #1 Not tainted
     --------------------------------------------
     init/307 is trying to acquire lock:
     c2dfe27c (&irq_desc_lock_class){-.-.}-{2:2}, at: __irq_get_desc_lock+0x58/0xa0

     but task is already holding lock:
     c3c0ac7c (&irq_desc_lock_class){-.-.}-{2:2}, at: __irq_get_desc_lock+0x58/0xa0

     other info that might help us debug this:
      Possible unsafe locking scenario:

            CPU0
            ----
       lock(&irq_desc_lock_class);
       lock(&irq_desc_lock_class);

      *** DEADLOCK ***

      May be due to missing lock nesting notation

     4 locks held by init/307:
      #0: c1f29f18 (system_transition_mutex){+.+.}-{3:3}, at: __do_sys_reboot+0x90/0x23c
      #1: c20f7760 (&dev->mutex){....}-{3:3}, at: device_shutdown+0xf4/0x224
      #2: c2e804d8 (&dev->mutex){....}-{3:3}, at: device_shutdown+0x104/0x224
      #3: c3c0ac7c (&irq_desc_lock_class){-.-.}-{2:2}, at: __irq_get_desc_lock+0x58/0xa0

     stack backtrace:
     CPU: 0 PID: 307 Comm: init Not tainted 5.17.0-rc3-00394-gc849047c2473 #1
     Hardware name: Allwinner sun8i Family
      unwind_backtrace from show_stack+0x10/0x14
      show_stack from dump_stack_lvl+0x68/0x90
      dump_stack_lvl from __lock_acquire+0x1680/0x31a0
      __lock_acquire from lock_acquire+0x148/0x3dc
      lock_acquire from _raw_spin_lock_irqsave+0x50/0x6c
      _raw_spin_lock_irqsave from __irq_get_desc_lock+0x58/0xa0
      __irq_get_desc_lock from irq_set_irq_wake+0x2c/0x19c
      irq_set_irq_wake from irq_set_irq_wake+0x13c/0x19c
        [tail call from sunxi_pinctrl_irq_set_wake]
      irq_set_irq_wake from gpio_keys_suspend+0x80/0x1a4
      gpio_keys_suspend from gpio_keys_shutdown+0x10/0x2c
      gpio_keys_shutdown from device_shutdown+0x180/0x224
      device_shutdown from __do_sys_reboot+0x134/0x23c
      __do_sys_reboot from ret_fast_syscall+0x0/0x1c

    However, this can never deadlock because the upstream and downstream
    IRQs are never the same (nor do they even involve the same irqchip).

    Silence this erroneous lockdep splat by applying what appears to be the
    usual fix of moving the GPIO IRQs to separate lockdep classes.

    Fixes: a59c99d9eaf9 ("pinctrl: sunxi: Forward calls to irq_set_irq_wake")
    Reported-by: Guenter Roeck <linux@roeck-us.net>
    Signed-off-by: Samuel Holland <samuel@sholland.org>
    Reviewed-by: Jernej Skrabec <jernej.skrabec@gmail.com>
    Tested-by: Guenter Roeck <linux@roeck-us.net>
    Link: https://lore.kernel.org/r/20220216040037.22730-1-samuel@sholland.org
    Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

* This is already contained in the 5.16.13 kernel

pinctrl: sunxi: Use unique lockdep classes for IRQs

commit e221ef82d9f5e97bca61f7c25e2b58b04466de87 linux-5.16.y.
commit bac129dbc6560dfeb634c03f0c08b78024e71915 upstream.

This driver, like several others, uses a chained IRQ for each GPIO bank,
and forwards .irq_set_wake to the GPIO bank's upstream IRQ. As a result,
a call to irq_set_irq_wake() needs to lock both the upstream and
downstream irq_desc's. Lockdep considers this to be a possible deadlock
when the irq_desc's share lockdep classes, which they do by default:

============================================
WARNING: possible recursive locking detected
5.17.0-rc3-00394-gc849047c2473 #1 Not tainted
--------------------------------------------
....
2022-03-12 23:15:35 +01:00
Igor Pečovnik
7cec9aa7a6
Add / remove broken packages to the base (#3530)
* Add nfs related pacakages to CLI base

* Add System Monitoring Center to the desktop tool section
https://github.com/hakandundar34coding/system-monitoring-center

* Remove deprecated font package
2022-03-12 19:41:13 +01:00
Igor Pečovnik
5fe0f36aa8
Support for more cpu cores on x86 platform (#3529) 2022-03-09 16:56:31 +01:00
Heisath
f9abfd60d2 Fix mvebu patch 2022-03-09 14:46:59 +01:00
Peter Young
11f1223ce2
Fix url slash & china mirror (#3525) 2022-03-09 09:24:27 +01:00
Igor Pecovnik
716022ce46
Disable broken patch
@heisath Check if any part of it is still needed.
2022-03-09 09:20:02 +01:00
Igor Pecovnik
d511679092
Bugfix - wrong family declaration 2022-03-08 09:39:34 +01:00
Igor Pecovnik
34d4be6b7b
Bugfix - wwitching one build target with another. 2022-03-08 07:55:39 +01:00
Igor Pecovnik
b4dfaaf286
Update build targets 2022-03-06 20:34:20 +01:00
Yuntian Zhang
07d6630421
Add missing asound.state for Radxa Zeroes (#3523) 2022-03-06 11:33:49 +01:00
Igor Pecovnik
6b62f6923f
Enable missing build targets
https://github.com/armbian/build/pull/3526
2022-03-06 10:37:51 +01:00
Igor Pečovnik
b0f7dbc519
Adjust build targets to meet maintainers list (#3526)
https://docs.armbian.com/Release_Board-Maintainers/
2022-03-06 10:26:31 +01:00
Igor Pečovnik
ed589b248a
Move away from fixed versions (#3518) 2022-03-01 15:10:04 +01:00
The-going
9f207654ac
Fix build for orangepizero2, sun50iw9 (#3517)
* Fix build LEGACY for sun50iw9

* Revert "Fix build LEGACY for sun50iw9"

This reverts commit 4ed64f395a.

* Unset var_origin_kernel for sun50iw9 LINUXFAMILY
2022-03-01 08:38:17 +01:00
Igor Pečovnik
ac05b7a14a
Bump to Jade 2022-02-28 22:22:09 +01:00
Igor Pecovnik
a4b4b3bf1d
Update Docker image meta data 2022-02-27 23:22:12 +01:00
Igor Pecovnik
8ac58b806c
Change MAKE_FOLDERS into accepting any value for subfolder
Internal function
2022-02-27 21:49:03 +01:00
Igor Pecovnik
92a1c729d4 Fix image build status and remove build-all scenario 2022-02-27 11:48:59 +01:00
Igor Pecovnik
1a0395f849
Enable OPi R1 Plus LTS build targets
We got a mainter
2022-02-26 18:00:01 +01:00
Paolo
05a3b46393
Rk restore drm patches (#3516)
* rk322x: restore drm patches, rework a couple of hunks due to upstream changes

* rockchip: restore drm patches, rework hunks due to upstreamed patch

* Revert also on media kernel

Co-authored-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2022-02-26 17:56:52 +01:00
Oleg
e894bf25d3
Pin kernel branches to versions rather then branches (#3500)
* fix source media

* Update versions

* Fix other kernels as well

* More fixes

Co-authored-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2022-02-26 15:05:00 +01:00
The-going
8693b355eb
Bugfix for packages/armbian/builddeb, packages/bsp/common/etc/kernel/preinst.d/initramfs-cleanup (#3511)
* Fix the standard location of dtb files

This fix allows standard system scripts from flash-kernel,
u-boot-menu packages to search in this location

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

* Bugfix: No need to unmount a separate partition for the /boot

These issues should be solved by system scripts.
In the future, this check should be removed.

* Remove unused generated file 'initrd.img-*' 'uInitrd-*'

These files were generated by initramfs-tools script
called postinst.d scripts.
And should be removed in the postrm.d or postinst.d scripts
and should be run after the initramfs-tools script
and under the same conditions.
2022-02-26 15:04:24 +01:00