Commit Graph

243 Commits

Author SHA1 Message Date
Igor Pečovnik
36c06fec28
Bump sunxi to 5.15.y (#3236) 2021-11-07 00:04:02 +01:00
Igor Pečovnik
bd54236f9f
Update u-boot to 2021.10 (#3182) 2021-10-09 17:57:56 +02:00
Igor Pečovnik
d2fba532a6
allwinner: update u-boot to 2021.07 (#3143)
* Bugfix - Bananapi PRO seems to work fine with latest u-boot

Done many reboots and it didn't break. The same has to be tested with other A20 boards

* Set Allwinner 32bit hw to most recent u-boot 2021.07

* Let's move all to 2021.07 and test ...
2021-10-07 19:26:06 +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
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
Igor Pecovnik
da1cb09fc2 Bugfix - adjust sunxi u-boots
While necesary revert to 2020.10 we need to exclude a few of. Now they all build OOB.
2021-08-08 18:19:18 +02:00
Igor Pecovnik
7f44207062 Add upstream patches and re-add Orangepi3 to u-boot 2021-08-05 01:15:36 +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
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
Martin Ayotte
0853702e56 add USB to NanoPi-K1 2018-12-29 15:08:02 -05:00
Martin Ayotte
9d6d536c22 add USB to NanoPi-K1 2018-12-29 13:15:52 -05:00
Igor Pecovnik
f7fd7332fd [ orangepiprime ] Enable ethernet in u-boot 2018-11-18 19:55:46 +01:00
Thomas McKahan
6fdd273b8a U-boot: Fix Tritium H3 H5
-Updates U-boot configs and dts's according to latest.
2018-11-16 00:38:12 -05:00
Igor Pecovnik
0d5ffb519e [tritium h5] Enable eMMC support 2018-10-26 08:01:23 +02:00
Martin Ayotte
47f122bc31 add usb port to u-boot for orangepi-zero 2018-08-28 11:12:56 -04:00
5kft
c3f02be362 update R_PIO GPIO block enable (H3/H5)
Move the previous "R_PIO enable" change to initial board gpio_init (from clock_init)
2018-08-04 14:06:50 +00:00
Igor Pečovnik
7e04b1f3e1
Merge pull request #1066 from 5kft/boot-auto-dt
auto-select board DT for the NanoPi NEO2 based on board hardware revision
2018-07-30 08:59:16 +02:00
5kft
b3f90dd4ac auto-select board DT for the NanoPi NEO2 based on board revision
This change introduces a method for U-Boot to perform board version detection at boot and
update the required board DT to load.  This process is used to detect the NEO2 board revision
and load the v1.1 NEO2 DT for v1.1 NEO2 boards.
2018-07-29 18:33:45 +00:00
5kft
510f44df67 enable R_PIO GPIO access in the SPL (H3 and H5)
This patch enables access to the R_PIO GPIO bank within the U-Boot SPL for the H3 and
H5.  This secondary GPIO bank should be available in the SPL just as the PIO bank is,
as there can be need to access these GPIOs during initial board startup.
2018-07-29 15:36:30 +00:00
Igor Pečovnik
e6b0592ae5
Merge pull request #1050 from 5kft/add-nanopi-neo-core2-lts
add board support for the NanoPi NEO Core2
2018-07-18 08:54:13 +02:00
Igor Pečovnik
92b658de2c Remove deprecated patches https://github.com/armbian/build/issues/1042 2018-07-18 06:31:39 +00:00
5kft
e556c88402 add board support for the NanoPi NEO Core2
This change adds a board configuration for the NanoPi NEO Core2 LTS device ("nanopineocore2").

This board configuration provides support for the Core2's SY8106A I2C-based voltage regulator.
This regulator provides higher CPU voltage operation, allowing higher CPU clock rates to be
utilized.
2018-07-17 20:15:47 -07:00
Igor Pečovnik
1a12994e79
Moving sunxi-next to 4.17.y (#1049)
* [Early WIP] Update sunxi-next to kernel 4.17
* Switch Allwinner 32 and 64bit to U-boot 2018.05
* Adjust patched for 4.17.y / sunxi-next
- adjust both configurations
- removing FAT support from u-boot (breaks if you try to save)

Tested those boards:
Cubietruck: wlan fails http://ix.io/1fYS USB OK, HDMI yes
Bananapi R40: http://ix.io/1fZm USB OK, HDMI yes
Lime A64: USB no, HDMI no, wireless buggy, eMMC yes
Orangepi prime H5: OK http://ix.io/1fZJ DVFS no
Orangepi2e: DVFS OK, HDMI OK, net OK, wifi OK, eMMC ok,  http://ix.io/1fZT

* Kernel config update, enabling HDMI on CT+
* Trying to fix A64 HDMI but failed. Fixed M64 ethernet instead
* Update orangepioneplus.wip
* Update orangepioneplus.wip
* Fix H6 build process
* Add regulator bits for Orangepizero+, thanks to @5kft
* add H5 support for optional 1.3v regulator and 1.3GHz operation
This patch adds two optional overlays that can be used to:

1) enable the 1.1v/1.3v regulator on boards that provide the necessary compatible H/W support
2) modify the default CPU clock operating table to add new 1.2GHz and 1.3GHz clocks

Note that the generated regulator overlay will only support boards whose 1.1v/1.3v regulator
is controlled by GPIO PL6.
* updates for the NanoPi NEO Plus2
This change introduces a patch that provides two changes for the NanoPi NEO Plus2:
* Configure the "cpu0" to use the "vdd_cpux" regulator; this enables the ability to use higher CPU clocks
* Correct the configurations of the on-board power and status LEDs
* Adjust nightly building and few boards config cleanup
2018-07-17 15:53:30 +02:00
Igor Pečovnik
6ee779b744 Enable ramlog only if it was enabled before. This fixes possible troubles on OMV installs. Adjusted Odroid NEXT kernel configuration, fixes eMMC/SD card u-boot updating if not on the first place /dev/mmcblk0 ... checks also 1 and 2, move nanopik1plus to supported list 2018-06-23 13:28:27 +00:00
Igor Pecovnik
23038e35b5 Merge u-boot patches from development 2018-05-27 13:11:47 +02:00
Igor Pecovnik
5783fad9b5 Remove deprecated patch 2018-05-24 13:49:00 +02:00
Igor Pecovnik
2c08ec8f5a Merge sunxi family into stable 2018-05-24 13:32:29 +02:00
Stefan Mavrodiev
3b39c68fdf Remove duplicate patch 2018-05-03 08:19:18 +03:00
Igor Pečovnik
8fa1d6d98f
Merge pull request #935 from OLIMEX/update-mmc-phases
Fix mmc phase timings
2018-04-26 12:13:55 +02:00
Stefan Mavrodiev
d6e0c3c3da Add eMMC phase fix patch 2018-04-26 11:48:15 +03:00
Stefan Mavrodiev
d983ac403e Update GMAC phy address 2018-04-25 16:36:31 +03:00
Stefan Mavrodiev
babc3beb64 Fix mmc phase timings 2018-04-19 08:23:26 +03:00
Thomas Kaiser
075259c345
Remove patch since potentially dangerous
A proper fix might be adoption of Icenowy's newer DT changes, see https://forum.armbian.com/topic/6650-toolchain-banana-pi-m2-zero-h3/?do=findComment&comment=50539
2018-03-05 18:25:57 +01:00
Igor Pecovnik
0df0209db9 Add CSC target for Bananapi M2 zero 2018-02-15 10:31:01 +01:00
Igor Pecovnik
856b8d5ba6 Olinuxino A64 NEXT kernel, enabling USB, eMMC, wireless ... HDMI and network does not work yet 2018-02-13 21:03:05 +01:00
Karabek
e99b45b326 Improve boot stability (#886)
Reduced DRAM clock from 576MHz to 408MHz since users reported boot issues with some R69s.
See https://forum.armbian.com/topic/4877-h2-sunvell-r69-android-tv-box-aliexpress/?page=6&tab=comments#comment-48779
2018-02-07 12:43:56 +03:00
Stefan Mavrodiev
95744b9061 Add board patches 2018-01-29 11:52:38 +02:00
Igor Pecovnik
3e5cadd575 Temporally disabling u-boot splash due to troubles with booting legacy kernels 2018-01-21 16:18:16 +01:00
Igor Pecovnik
2c613401fb Add Libretech Tritium NEXT u-boot and kernel target, HDMI enabled, untested ... as CSC target 2018-01-03 10:44:25 +01:00
Igor Pecovnik
cebc0777e2 Adding eMMC support for Orangepi Win by default. 2018-01-03 10:42:05 +01:00
Igor Pecovnik
54400b224b Previously removed patch is still needed in NEXT branch. adding it there. Now both kernels boots properly. Closing https://github.com/armbian/build/issues/770 2017-12-31 10:54:51 +01:00
Igor Pecovnik
15f7cd03c0 Removing deprecated patch. This fix used to fix reboot resoulting into power off. This is not the case anymore but this patch resoults in stopping at <6>axp20_ldo2: 1800 <--> 3300 mV at 3000 mV https://github.com/armbian/build/issues/770 2017-12-31 10:47:31 +01:00
karabek
137797d1e3 HDMI support for (community supported) mainlen kernel for Sunvell R69 2017-12-17 10:49:56 +01:00
Karabek
89ea5f0ca0 Mainline support for Sunvell R69 (#843) 2017-12-10 23:05:33 +03:00
zador-blood-stained
7317d3f5bb Add DE2 vsync polarity fix to u-boot 2017-12-03 22:49:07 +03:00
Igor Pecovnik
6cf90991ba Removing Pinebook DEV deprecated u-boot patch. Buidling still failing https://pastebin.com/M4uqu0hZ Too late to dig into ... 2017-12-02 22:49:46 +01:00
Igor Pecovnik
95797a752f Removing deprecated u-boot patch, adjusting Lime2emmc special patch and restoring workaround patch 2017-12-02 20:16:25 +01:00
Igor Pecovnik
7d5227021a U-boot patch adjust for Olimex Lime2 workaround 2017-12-02 19:01:09 +01:00
Stefan Mavrodiev
2da35af575 Update BSP for olinuxino-lime2 and a20-som 2017-11-27 10:25:28 +02:00
zador-blood-stained
5f4c4c77b2 [WIP] Update sunxi u-boot to v2017.11 2017-11-25 15:11:13 +03:00
ThomasKaiser
6a782a29a5 Prepare upstream NEO Plus 2 u-boot submission
Commit 4a4485b789895ee331f44d1856cb71d5a1ac9805 uses 408 MHz DRAM clockspeed
2017-11-24 05:26:43 -08:00
Tonymac32
8b17023753
Merge pull request #816 from karabek/master
updated nanopi-duo patches w/o nanopi.dtsi
2017-11-18 13:28:41 -05:00