Commit graph

605 commits

Author SHA1 Message Date
Tony
00f90028d1
Merge pull request #2784 from armbian/master
Sync Tinker-2 branch with trunk
2021-04-20 21:52:02 -04: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
Tony
53e9f8a183
Merge pull request #2774 from armbian/master
catch up with trunk
2021-04-13 23:52:16 -04: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
tonymac32
71f7a113e7 [ rockchip64 ] remove unrelated changes to 369ab2decdc5a3c49973d8eeb783c95558dcc41a 2021-03-03 01:22:33 -05:00
tonymac32
248983683f [ 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.
2021-03-03 01:22:33 -05: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
Piotr Szczepanik
5d68d4a68e Reserve last 32KiB for environment in SPI for ROCK Pi 4 2020-10-17 23:38:05 +02:00
Piotr Szczepanik
0f8791e68c Enabled USB3 (and gadget) in u-boot for ROCK Pi 4A/B (C already has it enabled) 2020-10-17 23:38:05 +02:00
Piotr Szczepanik
e007c5f839 Enabled HDMI in u-boot for ROCK Pi 4A/B (C already has it enabled) 2020-10-17 23:38:05 +02:00
Piotr Szczepanik
20242214ec Split ROCK Pi 4 into 4A, 4B and 4C in u-boot (4A uses 4B DT) 2020-10-17 23:38:05 +02:00
Piotr Szczepanik
c43c4e9cbd Add SPI flash boot support to rockchip64/rk3399 2020-10-17 23:38:05 +02:00
Piotr Szczepanik
20e6618464 Enabled SPI flash for ROCK Pi 4 2020-10-17 23:38:05 +02:00
Piotr Szczepanik
faddfc98af Enabled NVME for ROCK Pi 4 2020-10-17 23:38:05 +02:00
Piotr Szczepanik
c41cb4c454 Added XTX spi flash chips to kernel and u-boot 2020-10-17 23:38:05 +02:00