Commit Graph

186 Commits

Author SHA1 Message Date
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
e1f63c571c Add upstream patches and remove deprecated patch
sunxi, odroidxu4
2021-05-28 14:17:47 +02:00
juanesf
7445aa7a49
Bpi-M2-Ultra swap audio patch (#2836)
* 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)
2021-05-22 17:18:24 +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 Pečovnik
8277822add
Bump Allwinner u-boot to 2021.04 (#2745)
* Adjusted patches so they align with 2021.04

- briefly tested on Lime A64 and BPI M3

* Move to RC5

* Move away from RC branch
2021-04-06 11:42:56 +02:00
juanesf
7f26a5eed2
Enable audio codec Bpi-M2Ultra (patch) (#2726)
- swap patch from kernel to u-boot
- added compatible with H3
2021-03-18 20:15:58 +01:00
juanesf
0e7653da0f
Enable audio codec Pinecube (patch) (#2727)
- swap patch from kernel to u-boot
- added compatible with H3
2021-03-18 20:15:46 +01:00
kmht
520f51de97
OrangePi Zero Plus Add PXE boot support (#2688) 2021-03-05 21:54:14 +01:00
5kft
661789a0c9
[ sunxi ] increase SYS_MALLOC_F_LEN in u-boot
This is a backport of u-boot commit fb5b1678 (fb5b167843);
it fixes "alloc space exhausted" errors during SPL boot
2020-12-20 17:52:37 -08:00
Icenowy Zheng
e19d014e00
Add Pine64 PineCube support (#2364)
* sunxi: kernel: current/dev: enable sun6i-csi and disable LL debug on UART0

The former is useful on some boards, e.g. PineCube.

The latter blocks boards that do not utilize UART0 from booting.

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

* sunxi: add new family sun8i-v3s

This family is intended for boards with V3/V3s/S3/S3L chips and low
DRAM capacity.

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

* sunxi: add PineCube board

This board features Sochip S3 SoC (Allwinner V3 die + co-packaged 128MiB
DRAM), and an OmniVision OV5640 camera is shipped with the board.

Add support for it. It could be used as an IP camera then.

Kernel support is only added to current/dev branch, with dev just using
mainline-merged DT and current using backported DT from 5.10-rc.

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

* sunxi: kernel: current/dev: add V3s OHCI/EHCI nodes

These are needed for USB host on V3s boards to work.

Signed-off-by: Icenowy Zheng <icenowy@aosc.io>
2020-11-25 19:50:10 +01:00
Igor Pecovnik
ce6783c07f Adjust remaining Allwinner u-boot patches due to u-boot upgrade to 2020.10 2020-10-15 21:30:54 +02:00
Martin Ayotte
f89d9a1b46 fix Lime-A20 patch for U-Boot v2020.10 2020-10-13 16:38:50 -04:00
5kft
4ba494ae6e
[ sunxi-dev ] move u-boot to v2020.07 2020-09-19 10:09:05 -07:00
Igor Pečovnik
5e8cbd8e6a
Switch sunxi and sunxi64 to u-boot v2020.04 (#1894)
* Disable DE2 in u-boot to improve EDID detection
* Remove deprecated patches
* Define BOOTBRANCH in top level

Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2020-04-17 23:44:35 +02:00
5kft
42201fd3fc [ sunxi ] lower DDR clock rate to 504MHz for H5 boards
This change brings the u-boot into line with the FriendlyARM BSP default (e.g., see
https://github.com/friendlyarm/u-boot/blob/sunxi-v2017.x/configs/nanopi_h5_defconfig),
and addresses serious device instabilities under various load conditions
2020-03-01 16:54:20 -08:00
5kft
7a8614f53d [ sunxi-current ] set u-boot console to UART1 for the NanoPi R1 2020-02-29 17:51:14 -08:00
5kft
d371ffa715 [ sunxi-current ] add support for alternate console UARTs in u-boot (H3) 2020-02-29 17:47:58 -08:00
Igor Pecovnik
b418347962
[ sunxi ] Fixing boot splash patch and adding link to instructions how to proceed with Plymouth 2020-02-26 20:56:33 +01:00
Martin Ayotte
76a61a0d1e fix fix-usb1-vbus-opiwin.patch and re-enable it 2020-01-07 13:01:07 -05:00
Igor Pečovnik
f904dbc869
Add support for remaining Pinebook A64 panel (#1708)
* Add support for remaining Pinebook A64 panel
2020-01-02 11:05:51 +01:00
Igor Pecovnik
aa07bfbdd2 Adjust build targets and address a Pine H6 b build bug 2019-12-25 10:12:21 +01:00
Igor Pecovnik
9452b6823c
Pine H64: Add model B 2019-12-25 09:36:39 +01:00
Igor Pečovnik
323101246a
Bugfix: Orangepi Zero Plus 2 doesn't boot (#1682) 2019-12-18 22:27:41 +01:00
Karabek
d513a43768
Sunvell R69: enable eMMC boot
Added CONFIG_MMC_SUNXI_SLOT_EXTRA=2 to defconfig to enable booting from eMMC. Works.
2019-12-02 15:32:46 +01:00
Karabek
158e0f4849 Sunvell R69: cpu voltage regulator (re-)added - dram clock reduced. (#1643)
* Sunvell R69: cpu voltage regulator (re-)added - dram clock reduced.

CPU regulator (re-)added to u-boot and kernel dts - the box will not boot without it.
Dram clock reduced in defconfig to increase stability.

[AR-85]
2019-11-27 22:50:46 +01:00
Martin Ayotte
aafb70a9a3 switch to 5.4.y 2019-11-25 19:51:06 -05:00
Karabek
5b4a40b74f fix xradio driver & nanopi-duo for dev-branch (5.3.7) (#1607)
* Fix wifi

patch "board-h2plus-nanopi-duo-add-device.patch": increase post-power-on-delay-ms from 50ms to 200ms in wifi_pwrseq node in nanopi-duo dts [dev-branch].
Change in line with other XRADIO device trees (orange pi zero, sunvell).
See also Pull Request #1605.

* Fix xradio patch (dev-branch)

fix KConfig to 5.x - WLAN_VENDOR-flag set to "y" in line with other drivers - otherwise module not loaded.

* correct device name

change nodes "model" and "compatible" to correct device name (from "NanoPi Duo AIR" to "NanoPi Duo") [dev-branch]
Not functionally necessary, but more correct.
2019-10-29 18:59:09 +01:00
Igor Pečovnik
e1d4c83ad6
G-serial cleanup (#1549)
* Initial commit for serial consoles rfc
* Board configuration cleanup + small tweaks
* Add serial gadget rename to dev kernel as well
* Cleanup, fixing permissions
* Cleanup board configs
2019-09-13 22:20:11 +02:00
Igor Pecovnik
67c3f3b525 zero: fix booting process 2019-09-13 08:26:50 +02:00
Igor Pečovnik
bea1df9ed6
Initial commit for FA ZeroPi. (#1554)
* Initial commit for FA ZeroPi. 
* Tested for building.
* Adjust few bugs.
* Move to WIP since its not tested on hardware yet.

Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2019-09-12 18:31:33 +02:00
Igor Pecovnik
a496af3bc5
sunxi: update optional patch which disables boot messages
Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2019-08-16 09:48:11 +02:00
tolqen
f8e88d16e1 Add eMMC to mainline u-boot device tree for NanoPi Neo Air (#1492)
The eMMC must have been forgotten when the device tree for the NanoPi Neo Air was being added to mainline u-boot, which results in the device being unable to boot when installed to the internal eMMC using the nand-sata-install utility.
2019-07-30 22:15:50 -04:00
zhangn1985
c7dfe7ee68 enable lima for sunxi-dev (#1478)
* remove merged patches for sunxi-dev

lima patches merged: a1d2a63399

0117: af2c06c419 (diff-f1ba11d1be7f40933d95529cd37bf26b)

board-a64-v3-02-19-arm64-dts-allwinner-a64-Add-Pine64-LTS-device-tree-file.patch:
b3ee15a509 (diff-bd675a39699d13027495d794e6a4c312)

for: #1474
Signed-off-by: Zhang Ning <832666+zhangn1985@users.noreply.github.com>

* sunxi-dev: enable lima kernel driver

Signed-off-by: Zhang Ning <832666+zhangn1985@users.noreply.github.com>

* sunxi-u-boot: remove merged patches

add-nanopineoplus2.patch: 6130b1f6bc

add-orangepi-zeroplus.patch: 76d69eb01d

Signed-off-by: Zhang Ning <832666+zhangn1985@users.noreply.github.com>
2019-07-24 13:00:04 +02:00
Igor Pecovnik
90ad4e43a2
sunxi-u-boot: Don't try to load logo when there is no video output. This removes error displayed on serial console when trying to load image
Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2019-06-27 22:03:10 +02:00
Igor Pecovnik
70b282e19e
OrangepiWinPlus - enable eMMC
Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2019-06-18 20:27:18 +02:00
Igor Pecovnik
dda974ecd7 [ bugfix ] fix broken patch 2019-05-17 08:11:46 +02:00
Martin Ayotte
4dd70d1520 restore nanopim1plus2.eos 2019-05-16 09:33:20 -04:00
Data Plus
1951a89e35
Create add-nanopi-neo-core.patch
[ nanopi-neo-core ] Add support for eMMC within u-boot
2019-05-13 10:14:32 +03:00
Igor Pecovnik
0aa08731aa [ nanopi-r1 ] Add support for eMMC within u-boot 2019-05-03 08:02:52 +02:00
Igor Pecovnik
872d15715e Add Nanopi Duo2 and Nanopi R1 with one patch, rename to .conf since support level is the same as on all H3 boards 2019-04-19 18:34:38 +02:00
Igor Pecovnik
b3e50ef5f6 [ sunxi-next ] added FA Nanopi R1. Working everything but BT, random MAC on r8152, bumped with version 2019-04-17 20:43:09 +02:00
Igor Pecovnik
c474e35fe1 [ sunxi64 ] Moved A64 boards to mainline u-boot 2019.04 Tested basic functions with eMMC install on A64 Notebooks and Olinuxino 2019-04-12 20:29:43 +02:00
Igor Pecovnik
cea1a9c4b8 [ sunxi ] move u-boot to 2019.04 2019-04-10 23:28:37 +02:00
Igor Pecovnik
ffc6aa7cb4 [ sunxi-next ] u-boot patches adjustement 2019-04-09 23:03:57 +02:00
Igor Pecovnik
0a16d1e24a [ orangepizero+2 ] adjusting dt name for backward compatibility 2019-02-18 08:45:41 +01:00
Martin Ayotte
f165d351ef fix OPiZeroPlus2-H3 mmc pins 2019-01-17 09:15:20 -05:00
Martin Ayotte
732b931b7e u-boot v2018.11 migration + remove useless patches 2019-01-14 16:53:33 -05:00
Martin Ayotte
9363e3ec4d u-boot v2018.11 migration + tons of patches touchups 2019-01-14 16:52:22 -05:00
Martin Ayotte
c0319cf3cc tweak DT file naming convention of OPiZero+2 to match the one from Megous branch 2019-01-09 18:37:12 -05:00
Martin Ayotte
de0371faa8 add more USBs to NanoPi-K1 2018-12-29 16:14:05 -05:00