Commit Graph

613 Commits

Author SHA1 Message Date
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
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
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
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
Igor Pečovnik
17b3da0a44
Fix mainline kernel boot on Rockpi S (#2823)
https://armbian.atlassian.net/browse/AR-785
2021-06-10 11:58:00 +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
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
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 Pecovnik
e47cd5409f Bugfix - add missing YYLOC global declaration 2021-05-12 21:54:16 +02:00
Jack Chen
27175e3e55
rockchip: fix emmc busy loop on Tinkerboard (#2791)
There are already emmc nodes in rk3288-tinker-s.dts, adding these nodes
to rk3288-tinker.dtsi will cause emmc busy loop on original Tinkerboard.

Signed-off-by: Jack Chen <redchenjs@live.com>
2021-05-01 19:20:41 +02:00
Ricardo Pardini
ccb8a61c90
copy hostdev libfdt-dev compatibility patch, fixes odroidn2 (#2780)
Signed-off-by: Ricardo Pardini <ricardo@pardini.net>
2021-04-17 19:40:25 +02:00
Paolo Sabatino
adca07f5ab rk322x: put next entry point in r1 register to support rockchip proprietary op-tee blob 2021-04-15 19:50:55 +00:00
Paolo Sabatino
d9613be7e6 rk322x: use fdt_high and initrd_high to 0xffffffff to avoid dtb and initrd copy/expansion by u-boot 2021-04-15 19:50:55 +00:00
Igor Pečovnik
ff62be09c6
Fixing boot loader compiling issues on Odroid XU4 (#2773) 2021-04-14 00:42:10 +02:00
Igor Pečovnik
12626fcfa2
Bump Meson64 u-boot to 2021.04 (#2756)
* Move Meson64 to 2021.04
* Detacth C2 from its special u-boot settings
2021-04-12 23:54:04 +02:00
AmadeusGhost
05a72b8954
rockchip: add Orange Pi R1 Plus support (#2755)
* rockchip: add Orange Pi R1 Plus support

Signed-off-by: AmadeusGhost <amadeus@jmu.edu.cn>

* rockchip: nanopi-r2s: add gpio for the lan/wan leds
2021-04-12 22:32:21 +02:00
Igor Pecovnik
757d9bc8d2 bugfix: u-boot could break when libfdt-devel is installed system-wide 2021-04-07 13:01:09 +02:00
Igor Pecovnik
6ac70f6eb7 Bugfix - adjust u-boot compiler issues
This fixes Rockpi S u-boot compilation on GCC10 / Hirsute host
2021-04-06 23:29:26 +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
Paolo Sabatino
2dbdae2845 xt-q8l-v10: bump to u-boot v2021.01
* fix SPL not booting due to signed/unsigned integer comparison
 * gpio7 now uses dm-pre-reloc to correctly compile TPL
 * adjusted minor thing is defconfig, more room for stacks
 * includes patch for efuse for next v2021.04
2021-04-05 13:53:08 +00:00
Paolo Sabatino
e4d895607e rk322x: uboot: upgrade to v2021.04-rc5
* adapted efuse and gmac patches to u-boot v2021.04
 * enlarge SPL stack size to 0x8000 (caused u-boot freeze after SPL loading)
 * fix signed/unsigned comparison (caused u-boot freeze before SPL loading)
 * enable back size optimization flag

commit 0363085a3bec3f76db8937f24ef81fc38f89549f
Author: Paolo Sabatino <paolo.sabatino@gmail.com>
Date:   Sat Apr 3 16:02:14 2021 +0000

    rk322x: bump u-boot to v2021.01 (fix dtb load address in .its, revert offending mainline patch)
2021-04-04 15:52:22 +00: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
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
Paolo Sabatino
02085da1a9 rockchip: uboot: add small delay to dwc2 usb driver that fixes occasional hangup during bootstrap from USB 2021-03-16 17:20:54 +00: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 Pečovnik
fb3a676261
Adjust compiler fixes that it builds on more modern build host (#2699) 2021-03-11 23:59:23 +01:00
kmht
520f51de97
OrangePi Zero Plus Add PXE boot support (#2688) 2021-03-05 21:54:14 +01:00
Aditya Prayoga
eefad69215
Attempt to improve stability on Helios64 (#2680)
* Adjust the RK808 buck step to improve stability

* Adjust vdd_log and enable vdd_center init voltage

For some reason, regulator-init-microvolt property under PMIC does not applied. Set the voltage on board file.
2021-03-04 10:39:40 +07:00
Aditya Prayoga
4bda055a9b
Restore eMMC HS400 on Helios64 (#2677)
* slightly reduce eMMC clock to improve signal integrity
* restore eMMC HS400 ES support
2021-03-03 09:12:38 +07:00
Piotr Szczepanik
a6ee913fae
NanoPi M4V2 stability fix for current and dev (#2663)
* Explicitly set vdd_log voltage for NanoPi M4V2 - possibly fix stability issues

* Regulator tweaks for NanoPi M4V2

* Add vdd_log to kernel and switch vdd_center back to 900mV

* Switch vdd_center to 0.95

* Make rk80x bucks voltage steps shorter to make the NanoPi M4V2 stable

* Tweak u-boot config for NanoPi M4V2

* Made the rk808 voltage steps configurable and configured 50mV for NanoPi M4V2
2021-03-02 21:07:22 +01:00
Igor Pečovnik
7d8a375a0f
Bump meson64 u-boot to 2021.01 (#2601)
Solves at least this problem https://forum.armbian.com/topic/16940-odroid-c2-does-not-boot-from-orange-64gb-emmc-module/ but needs to be tested on all affected boards
2021-02-02 02:06:37 +01:00
Piotr Szczepanik
3ce107f358
Disable excessive logging for OrangePi 4 in u-boot 2021-01-24 21:24:06 +01:00
Piotr Szczepanik
de4a4c3054
Enabled SPI boot for roc-rk3399-pc (#2572) 2021-01-22 12:56:11 +01:00
paolo
c0c099e78c Added support for rk3328 FE gmac in u-boot, useful for stable ethernet MAC address 2021-01-17 11:23:47 +00:00
Igor Pecovnik
ab9faf847a Odroid C4/HC4 reboot fix
21a1bc6a90
2021-01-06 07:39:17 +01:00
Piotr Szczepanik
2a3c216d41
Switched rockchip64/rk3399 to u-boot v2020.10 (#2512)
* Switched rockchip64/rk3399 to u-boot v2020.10

* Some tweaks for SPI booting on ROCK Pi 4 in u-boot v2020.10

* Adjusted NanoPi M4V2 config for u-boot v2020.10

* Disabled PREBOOT for RockPro64 in u-boot v2020.10

It breaks boot during fdt loading

* Fix issues with booting from SPI flash for RockPro64

* Moved NanoPi R4S patches to board specific folder
2021-01-04 01:02:20 +01:00
Igor Pečovnik
e9588e3661
Upgrade Meson64 u-boot to 2020.10 (#2500)
* Upgrade Meson64 u-boot to 2020.10

Tested on C1,C2 and C4

* Remove accidentaly added patch
* Remove patches that are not needed anymore and restore / adjust the one that is still needed for Lepotato
2021-01-01 23:12:45 +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
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
Piotr Szczepanik
ef96d0862b
Enable additional SPI flash chips for ROCK Pi 4 in u-boot (also for C model) 2020-12-04 22:21:50 +01:00
Piotr Szczepanik
b3ad046d4c
Enable additional SPI flash chips for ROCK Pi 4 in u-boot (#2408) 2020-12-04 00:19:05 +01: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 Pečovnik
ed2371b853
Move z28 pro u-boot patch to board specific (#2336)
* Move changed rockpis changed patch to board specific and add original one to z28pro

* Delete the patch unneeded for ROCK Pi S

Co-authored-by: Piotr Szczepanik <piter75@gmail.com>
2020-11-14 11:59:14 +01:00
Igor Pečovnik
f42b9ff551
RockpiS: add upstream patches and fix broken u-boot patch (#2335) 2020-11-12 15:56:40 +01:00
ubergeek801
dc63619468
Support e-fused MAC address on Amlogic boards (#2276)
* successfully patching to get Ethernet MAC from e-fuse

* unifying Odroid C4 patches with meson
2020-11-05 22:05:58 +01:00
Aditya Prayoga
079b467342
helios64: Enable Advanced U-Boot recovery (#2261)
* Enable ums and maskrom u-boot recovery button
* Configure USB MUX before starting download mode
* Blink system status led to notify user the download mode
* Move HDD power staggering to board function
2020-10-18 23:02:47 +07:00
Piotr Szczepanik
3699d1bb68
Configurable rockchip64 advanced u-boot recovery (#2255)
* Configurable u-boot recovery for rockchip64 (ums,rockusb,fastboot,maskrom)

* Switch RockPro64 to configurable u-boot recovery

* Added a hook for board to prepare download mode

* Some fixes to mmc device detection

* Use dedicated led functions and fixups
2020-10-17 23:39:29 +02:00