Commit Graph

6 Commits

Author SHA1 Message Date
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
The-going
0b6dd13295
sunxi-5.16: Fix spi-nor node initialization error for orangepi-pc2 (#3597)
* Remove unused pinctrl-sunxi-Fix-misleading-lockdep-deadlock-warnin.patch

The problem was solved in the upstream kernel.

commit e221ef82d9f5e97bca61f7c25e2b58b04466de87 linux-5.16.y branch.
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
...

* Fix spi-nor node initialization error for orangepi-pc2

[    1.288263] spi-nor spi0.0: supply vdd not found, using dummy regulator
[    1.306391] spi-nor spi0.0: mx25l1606e (2048 Kbytes)
[    1.845203] Freeing initrd memory: 10824K
[    1.855263] sun6i-spi 1c68000.spi: chipselect 0 already in use
[    1.861159] spi_master spi0: spi_device register error /soc/spi@1c68000/spi-flash@0
[    1.868842] spi_master spi0: Failed to create SPI device for /soc/spi@1c68000/spi-flash@0

Remove duplicate nodes from applied patches for the board
sun50i-h5-orangepi-pc2. After this fix:

[    1.290252] sun50i-h5-pinctrl 1c20800.pinctrl: supply vcc-pc not found, using dummy regulator
[    1.291250] spi-nor spi0.0: supply vdd not found, using dummy regulator
[    1.310397] spi-nor spi0.0: mx25l1606e (2048 Kbytes)
[    1.845686] Freeing initrd memory: 10824K
[    1.854333] 2 fixed-partitions partitions found on MTD device spi0.0
[    1.854369] Creating 2 MTD partitions on "spi0.0":
[    1.854381] 0x000000000000-0x000000100000 : "uboot"
[    1.855679] 0x000000100000-0x000000200000 : "env"
2022-03-28 01:15:47 +02:00
The-going
fbe942b150
Patching sunxi (#3463)
* Add new patches from the tag orange-pi-5.16-20220205-1958

* Remove mutually exclusive patches

* Add, sort next patches for series armbian  5.16

* Add next armbian patches to series.conf

* Swich BRANCH for sunxi: legacy=5.10 current=5.15 edge=5.16

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

* Add upstream megous 5.16 patch to 5.15

* Add wifi rtl8723cs patches to series armbian

* Add a new one, remove old patches that are already in the kernel

* Add redesigned patches for 5.15 to the armbian series

* Remove unused patches

* Finish line

* The old rtl8723cs driver is disabled by default.

* Enable the old rtl8723cs driver by default.

* Comment enable\disable the old driver rtl8723cs-old

* Revert "Swich BRANCH for sunxi: legacy=5.10 current=5.15 edge=5.16"

This reverts commit aad1e92b5e.
2022-02-10 15:08:01 +01:00
The-going
990798c3fb
Patching sunxi 5.15 (#3460)
* Remove an aged patch from use #3443

Allwinner-Add-frame-inversion-to-correct-audio-chann.patch

* Rename and prepare for the series 5.15

* Split and rename files for sun50i-h616-dtsi

* Split and rename files for sunxi overlays

* Remove mutually exclusive patches

* Add fifty redesigned patches to the series

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

* Remove fifty-four old patches

* Fix compile error

* Delete unused ones and sort if possible for megous series

* sunxi-5.15: Sort, fix compile warning, remove unused

* Rework print log for patching
2022-02-05 21:53:26 +01:00
The-going
f80117f21c
Recycling of megous v5.16.4 patches (#3449)
* Recycling of megous v5.16.4 patches

The patches were sorted as far as possible. Some patches are renamed
according to their place of application. The length of the patch name
has been changed to improve readability using
the `git format-patch --filename-max-length=75` method.

The folder containing the patches will have the name `patches.name`
and the corresponding file `series.name` for the convenience
of processing and moving them upstream. But the control file remains
`series.conf`.


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

* Add a series of armbian patches for 5.16

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

* Remove patches whose fixes are already in the kernel

Signed-off-by: The-going <48602507+The-going@users.noreply.github.com>
2022-02-02 11:03:44 +01:00