Commit graph

590 commits

Author SHA1 Message Date
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
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
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
paolo
3e7409eb1a Moving rk322x to u-boot v2020.10, using static FIT image source file instead of now removed fit_spl_optee.sh script 2020-10-10 07:07:59 +00:00
Aditya Prayoga
bc66f9d835 fix: ums and rockusb on helios64 2020-10-07 09:58:35 +07:00
Aditya Prayoga
d909a4ea72
fix: Helios64 cannot boot from eMMC (#2241)
u-boot: helios64: Disable UHS support
2020-10-07 08:05:01 +07:00
Piotr Szczepanik
c8468ca633
Removed some leftover Renegade patches for legacy u-boot (from -dev too) 2020-10-05 23:22:52 +02:00
Piotr Szczepanik
fe1c783159
Removed some leftover Renegade patches for legacy u-boot 2020-10-05 23:21:12 +02:00
Piotr Szczepanik
f2db962525
Switched RockPro64 to mainline u-boot (#2218)
* Switched RockPro64 to mainline u-boot

* Enabled rockusb and ums for RockPro64 in mainline u-boot

* Switched RockPro64 u-boot to TPL/SPL/BLOB scenario

* Enabled advanced recovery button support for RockPro64

* Disabled SDR104 mode for RockPro64 in legacy
2020-10-05 23:17:55 +02:00
Uwe Kleine-König
b031de58d7
rk3399: Adapt helios64 devicetree name to match upstream linux (#2235)
The helios64 devicetree was submitted for inclusion in the mainline kernel.
The name used there is rk3399-kobol-helios64, so use the same here
for consistency, to be easily able to boot a mainline kernel without
changing the U-Boot environment and simplify further development.
2020-10-05 00:16:28 +02:00
Piotr Szczepanik
58395d3585
Switch Pinebook Pro to mainline u-boot (#2229)
* Switched Pinebook Pro to mainline u-boot

* Some Pinebook Pro mainline u-boot tweaks

(based on https://github.com/pcm720/u-boot-build-scripts)

* Removed Pinebook Pro legacy u-boot support
2020-09-29 09:54:19 -04:00
5kft
4ba494ae6e
[ sunxi-dev ] move u-boot to v2020.07 2020-09-19 10:09:05 -07:00
paolo
bd17d4dbd0 Many changes for rk322x target:
- Chanaged default x.org configuration to disable glamor
- Reintroduce patch to use DRM cursor plane as overlay in rk322x-current and -dev
- Updated wifi patches for kernel 5.8.10
- Bumped rk322x to u-boot v2020.07, removed reserved zones from device trees
- Updated OPTEE to v3.10, using ddrbin v1.10
- Bumped rk322x-current to kernel 5.8.y
- Imported new patches from knaerzche's LibreELEC fork for rk322x-dev (kernel 5.8.y)
- Adjusted existing patches to match changes, updated rk322x-dev kernel config file
- Add default modprobe conf file for esp8089 to force the crystal frequency to 40Mhz for rk322x targets
- Removed ssv6051 firmware packages to move to armbian-firmware repository
- Switching ssv6051-wifi.cfg to /lib/firmware for rk322x-legacy
- Removed P2P interface for esp8089 driver for rk322x-legacy
- Optimized ssv6051 performance: kernel module gains -Os flag, disabled p2p interface, enabled HW crypto for CCMP cipher
- Enabled remote control interface, IR GPIO kernel module and HDMI CEC modules
2020-09-19 15:20:16 +00:00
Aditya Prayoga
ec768b6e89
Helios64 - Temporary Fix for Linux Kernel (current, 5.8) crash due to LPDDR4 configuration issue (#2200)
* Helios64: rework vdd_log and vdd_center

* helios64: Use rockchip binaries for legacy and current branch

Fully open source bootloader only on dev branch

Signed-off-by: Aditya Prayoga <aditya@kobol.io>

* rework vdd_log and vdd_center patches
2020-09-15 23:41:58 +07:00
Aditya Prayoga
6f6543c6f5
Assign Fault LED, rework HDD power staggering, fix minor systemd service warning on Helios64 (#2204)
* Supress systemd service warning

* helios64: u-boot: staggered HDD power up

Set the delay to 10s in between turning on the next HDD power rails.
Remove the delay property from kernel device tree, let it only apply to
u-boot

Signed-off-by: Aditya Prayoga <aditya@kobol.io>

* helios64: fault LED as kernel panic indicator

also sync, u-boot dts

* helios64: fix hwmon udev rules

Legacy kernel (LK 4.4) has different class/naming on SoC Temp sensor.
Also fix typo on current/dev udev rules.
2020-09-15 09:46:06 +02:00
Aditya Prayoga
f14bd3ca96
Helios64 - disabled overclocking (#2191) 2020-09-09 21:52:47 +02:00