Commit Graph

1078 Commits

Author SHA1 Message Date
Piotr Szczepanik
5fc2d63988
Moved missing firefly-rk3399 u-boot patch to a new location 2021-10-26 22:19:01 +02:00
Piotr Szczepanik
86abac1fd4
Cleanup u-boot configurations for rockchip64 derivatives (#3150)
* Cleanup u-boot configurations for rockchip64 derivatives

* Bring separate BOOT_USE_* variables into BOOT_SCENARIO

* Revert BOOTDIR change in rockchip64

* Bump RK3568 BL31 to v1.35
2021-10-26 22:14:41 +02:00
Oleg
103ddb1adb
fix firefly-rk3399 (#3227) 2021-10-26 08:52:40 +02:00
Vyacheslav
3c4b69650e
Add support for JetHome JetHub D1/H1 home automation controllers (#3176)
* JetHome: add basic files for JetHub D1/H1 boards

Signed-off-by: Vyacheslav Bocharov <adeep@lexina.in>

* JetHome: add uboot patches

Signed-off-by: Vyacheslav Bocharov <adeep@lexina.in>

* JetHome: add kernel patches for JetHub D1/H1 (backport from 5.16-dt kernel)

Signed-off-by: Vyacheslav Bocharov <adeep@lexina.in>

* JetHome: add bsp packages for JetHub D1/H1

Signed-off-by: Vyacheslav Bocharov <adeep@lexina.in>

* JetHome: add kernel options for hardware JetHub D1/H1

Signed-off-by: Vyacheslav Bocharov <adeep@lexina.in>

* JetHome: fix targets-cli-beta.conf for JetHub D1/H1

Signed-off-by: Vyacheslav Bocharov <adeep@lexina.in>

* JetHome: add axg uboot creation function for JetHub D1

Signed-off-by: Vyacheslav Bocharov <adeep@lexina.in>
2021-10-19 21:05:36 +02: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
Ricardo Pardini
2079811064
meson64: bump u-boot to 2021.07 // HC4/N2(+) cleanups (#3155)
* meson64: bump u-boot to 2021.07, rework patches

- as always based on chewitt's tree, with differences:
  - squashed versions of HC4+SATA, Radxa Zero, DT tree sync patches
    - so that DTB/config/code changes related to the same feature/board are grouped
  - removed documentation changes and Makefile reordering patches

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>

* meson64: ODROID HC4/N2: simplify/remove board vs family hacks; better SPI support

- thanks to mainline 2021.07 u-boot and it's HC4 config we can remove the conditionals
- boards now define the u-boot vars instead of conditionals in family
- on the HC4, build u-boot twice: one for SD (old C4 config) and one for HC4 (new SATA/SPI config)
  - reason is that the HC4 version does not work very well unless it is actually booted from SPI
- meson64_common: don't override UBOOT_TARGET_MAP if board-defined
  - but the default UBOOT_TARGET_MAP is still defined if the board didn't
- (sneakily) add lm-sensors fancontrol to the HC4's board packages

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>
2021-09-26 20:47:33 +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
Piotr Szczepanik
0069ad60a6
Preliminary support for rockchip rk35xx boards (#3111) 2021-09-15 22:08:39 +02:00
Igor Pečovnik
abbe87a450
Add Radxa Zero initial support (#3128)
* Add support for Radxa Zero

u-boot: new patch based on v2021.04
kernel: use patches sent to kernel list by chewitt

Tested with minimal build and cinnamon desktop:
- SD/eMMC, ok
- USB3, works in USB 2 mode
- HDMI, ok
- WiFi/BT, ok

Signed-off-by: Jack Ma <jack@radxa.com>

* Add build targets

* Cleanup and set min speed to 666000

* Change to WIP target

Support status undetermined

Co-authored-by: Jack Ma <jack@radxa.com>
2021-09-08 17:50:05 +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 Pečovnik
d54b2d6a84
Adding OPi Zero2 legacy kernel support (#2620)
* Adding OPi Zero2 legacy kernel support
2021-08-12 19:19:18 +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
Igor Pecovnik
cc606a8bb8 Bugfix - adding patch to fix broken u-boot compilation on some hosts (Hirsute) 2021-07-17 10:49:24 +00:00
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
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
Aditya Prayoga
c27379e93f
Add Helios64 support (#2126)
* Add initial Helios64 configuration

Add ethernet udev rules
Added disable auto power on script during shutdown
Configure ALSA to output audio to (DisplayPort) USB type-C

armbian-firstrun: exclude helios64 from generating fixed_mac

Each network interface on Helios64 already assigned to unique MAC
address in factory. Assigning Network Manager with cloned MAC is not
needed.

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

* u-boot: rk3399: Add Helios64

Use rockchip propriettary loader

* kernel: rk3399-legacy: Update r8152 to support 2.5GbE USB RTL8156

Required for Helios64

* kernel: rk3399-legacy: update Rockchip PCIe driver

Port changes by ayufan on rockchip64.

* kernel: rk3399-legacy: Add support for Helios64

Add Helios64 device tree.
Enable missing driver/kernel module.
Auto load lm75 modules

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

* kernel: rk3399-legacy: rework roc-rk3399-pc patch

the patch broken due to additional line added by helios64 on
arch/arm64/boot/dts/rockchip/Makefile

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

* kernel: rk3399-legacy: update Rockchip PCIe driver

Backport bugfix from mainline
refer to
https://patchwork.kernel.org/patch/11561979/
and
https://patchwork.kernel.org/patch/11561977/

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

* kernel: rockchip64-current: Add support for Helios64

Add Helios64 device tree.
Enable missing driver/kernel module.

* config: helios64: use mainline ATF on current branch

and u-boot TPL/SPL instead of Rockchip proprietary loader

* helios64: u-boot v2020.07 update

* Add Helios64 target

* kernel: rk3399-legacy: update Rockchip PCIe driver

Removed unrelated changes from porting ayufan fixes

Signed-off-by: Piotr Szczepanik <piter75@gmail.com>

* helios64: make use of PACKAGE_LIST* variables

Co-authored-by: Piotr Szczepanik <piter75@gmail.com>
2020-08-10 18:22:48 +02:00
Igor Pečovnik
6c26c35344
Add initial support for Odroid N2+ (#2130)
* Add initial support for Odroid N2+
* Update C4 config and test booting
* Updates to C4, N2, N2+
- merge C4 and N2 legacy under meson64, same u-boot
- upgrade legacy kernel to meed DTB from mainline
- merge N2 and N2+, add a hack to display + in motd when N2+ is detected
- shortly spin N2 fan at startup
- merged N2 mainline and legacy boot script
- add upstream patches
* One of the regulators were breaking booting of Odroid N2
Co-authored-by: Werner <EvilOlaf@users.noreply.github.com>
2020-08-08 17:20:00 +02:00
Piotr Szczepanik
6e4078974b Adjusted patches for rockchip64 mainline u-boot (fuzzines, upstreamed file) 2020-07-19 00:07:03 +02:00
Piotr Szczepanik
88a585a3fe
Update mainline u-boot for rockchip64 / rk3399 to v2020.07 (#2086) 2020-07-18 00:06:01 +02:00
Igor Pečovnik
e1ecb09833
Initial ROCK Pi E support (as WIP) (#2042)
* WIP: Adding RockpiE config

Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>

* Mainline u-boot for ROCK Pi E

* Initial ROCK Pi E device tree in kernel

* Fixed supplies for ROCK Pi E device tree

* Adjusted u-boot load address for rockchip64 boards with 256MB eg. ROCK Pi E

* Blacklisted lima on ROCK Pi E

* Fixed ROCK Pi E patch after merge from master

* Removed mode settings from rk805 regulators

* Fixed issues with offloading for gigabit interface of RockPi E

* Adjusted ROCK Pi E board config

* Added dev branch for ROCK Pi E

* Add build targets

Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>

* Exchange legacy to current in ROCK Pi E build targets

Co-authored-by: Piotr Szczepanik <piter75@gmail.com>
2020-06-20 22:39:57 +02:00
Paolo
23604e8a0d
Introducing Rockchip RK322X SoC support (#2032)
* Introducing Rockchip rk322x SoC support

Main features:

- Legacy kernel flavour based upon stable v2.x rk3288 Rockchip branch (https://github.com/rockchip-linux/kernel/tree/stable-4.4-rk3288-linux-v2.x)
- Current kernel flavour based on mainline 5.6.y kernel
- Mainline u-boot (v2020.04)
- Single generic tv box target (rk322x-box) which boots on all the known tv boxes
- Hardware devices (eMMC/NAND, led wiring configuration, SoC variant selection) modulation done by user at runtime via device tree overlays - a script (rk322x-config) is provided for autodetection and simple configuration by inexperienced users;
- Bits added to armbian-hardware-optimization to set affinity for irq handlers
- rk322x-box targets already added to targets.conf for automatic image creation

* Removed disabled patches
* Restored mysteriously removed comment character
2020-06-19 17:27:27 +02:00
Piotr Szczepanik
bbd283fe76
Disabled HDMI in mainline u-boot for rk3399 boards (#2016) 2020-06-14 17:56:01 +02:00
Paolo
f4cce97548
[rk3288] Various fixes and enhancements for xt-q8l-v10 CSC board (#2013)
* For xt-q8l-v10 rk3288 board:
- Upgraded u-boot to v2020.04, reworked configuration to match new version, enabled HDMI video console
- Increased u-boot boot delay from 0 seconds to 1 second for rockchip boards, to allow user interrupt u-boot boot process
- Imported efuse rk3288 driver into u-boot, made ethernet address stable using soc serial
- Upgraded ddrbin loader to v1.08
- Added VDSO patch for rockchip-current and rockchip-dev kernels for clock_gettime64 to fix erratic clock on 32 bit ARM devices with recent glibc
- Disabled 600 Mhz OPP node for GPU due to Panfrost instabilities, thus enabled 500 Mhz node
- Various fixes and enhancements to xt-q8l-v10 device trees for current and dev targets
- Added (disabled) u-boot HDMI patch for Tinkerboard

* Removed rk3288 ddrbin v1.08 from rockchip blobs, changed reference to use rkbin-tools repository

* Removed unneeded disabled patch for tinkerboard HDMI
2020-06-10 20:35:52 +02:00
gymnodemi
2629dab612
Fixed RAM size for renegade (roc-rk3328-cc) in dev and current (#2006) 2020-06-04 21:04:34 +02:00
Igor Pečovnik
702259ea7d
Enable USB on Udoo board (#1973)
* Enable USB on Udoo
2020-05-17 18:38:51 +02:00
plntyk
6af0c50473
odroidc1: fix invalid extent boot bug (#1949)
odroidc1 can fail to boot probably depending
on features of the ext4 rootfs that is created
during the build process

serial log error:
Loading file "/boot/uInitrd" from mmc device 0:1 xxa1
invalid extent block

since there is no support for that board in upstream u-boot
backport the patch from
upstream commit:b5bbac1a9b07016602559ff483df265fef6c1f83
see also [1]

[1] https://lists.denx.de/pipermail/u-boot/2014-January/170802.html

Signed-off-by: Dirk Neukirchen <plntyk.arm@plntyk.name>
2020-05-07 17:04:35 +02:00
Piotr Szczepanik
91f2700eea
Fixes and cleanups after rockchip64 preparation for mainline u-boot (#1945) 2020-05-06 23:45:09 +02:00
Piotr Szczepanik
1535f9d2ae
Switched NanoPi R2S to mainline u-boot (#1940) 2020-05-05 21:20:31 +02:00
Piotr Szczepanik
7113913be8
Added rk3328 efuse driver and stable secondary mac address to u-boot (#1939) 2020-05-03 20:42:50 +02:00
Piotr Szczepanik
5a2b2c360b
Prepare rockchip64 for switch to mainline u-boot and switched ROCK Pi 4 (#1934) 2020-05-03 19:15:46 +02:00
Neil Armstrong
07447294c7
Add support for Odroid c4 (#1923)
* meson-sm1: use amlogic-boot-fip to generate boot binary for SM1

Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>

* patch: add Linux and U-Boot patches

Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>

* configs: enable Odroid-C4

Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
2020-04-27 18:03:48 +02: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
Piotr Szczepanik
75d0f64e3d
Switch rk3399 to u-boot v2020.04 (#1873)
* Switched rk3399 to u-boot 2020.04-rc4
* Switched rk3399 u-boot to v2020.04, synchronized configs
* Updated to u-boot v2020.04 final
* Fixed OrangePi 4 device tree reference
2020-04-17 21:30:37 +02:00
Jannis
7243bdaf54 [ mvebu ] Rename uboot patch dir for helios4 & clearfog 2020-04-08 23:37:34 +02:00
Jannis
0a344ebb57 [ mvebu ] Remove legacy helios4 uboot patches 2020-04-08 23:36:34 +02:00
Piotr Szczepanik
aa1b639535
Fixed slow boot of rk3399 with mainline (#1852) 2020-03-23 18:44:03 +01:00
Piotr Szczepanik
ac6b75115f
Prioritize booting from SD for OrangePi 4 (#1822) 2020-03-09 20:29:16 +01: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
Piotr Szczepanik
83cf87922b FDT file configurable per board 2020-02-07 22:21:01 +01:00
Jannis
7ca0722b09 [ mvebu ] Fix clearfog pci to msata switching 2020-01-29 14:26:46 +01:00
Piotr Szczepanik
e4be7bcfd8 OrangePi 4 preliminary support (fixed default FDT file name) 2020-01-24 19:17:26 +01:00
Piotr Szczepanik
a22b07948a OrangePi 4 preliminary support (kernel dt from NanoPi M4) 2020-01-24 14:21:27 +01:00
Piotr Szczepanik
c86ba2d9c7
Switched rk3399 to u-boot v2020.01 (#1725) 2020-01-16 20:03:29 +01:00
Martin Ayotte
76a61a0d1e fix fix-usb1-vbus-opiwin.patch and re-enable it 2020-01-07 13:01:07 -05:00
count-doku
0b4493714c Merge branch 'master' into clearfog-dev-5.4 2020-01-02 13:15:39 +01:00
count-doku
ebbc0bffc7 Add pcie reset to u-boot dev 2020-01-02 12:38:26 +01: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
Piotr Szczepanik
cd9800498d
Enable derivation of stable MAC address from cpuid on rk3399 (#1660) 2019-12-09 07:39:09 +01:00
Martin Ayotte
c207e6cc10
Merge pull request #1646 from armbian/nanopi-m4v2-bring-up
NanoPi M4V2 bring up
2019-12-06 10:24:38 -05:00
Martin Ayotte
0811a1cdf7 remove useless patch 2019-12-05 15:22:25 -05: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
Piotr Szczepanik
c4eecbcef0 Initial addition of NanoPi M4V2 2019-11-28 22:29:54 +00: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
7ee3af069f Merge branch 'master' of https://github.com/armbian/build 2019-11-26 13:21:18 -05:00
Martin Ayotte
b915628940 commit some forgotten fix for u-boot v2019.10 2019-11-26 13:20:47 -05:00
tonymac32
8d10472bd2 [ meson64 ] Le Potato U-boot general fixes
consolidates a few odds and ends from the vendor U-boot tree.
https://github.com/libre-computer-project/libretech-u-boot
2019-11-26 01:55:46 -05:00
Martin Ayotte
f75fb92740 disable some patches for 5.4.y migration 2019-11-25 20:17:06 -05:00
Martin Ayotte
0ff2ffd151 Merge branch 'master' of https://github.com/armbian/build 2019-11-25 19:59:47 -05:00
Martin Ayotte
aafb70a9a3 switch to 5.4.y 2019-11-25 19:51:06 -05:00
Piotr Szczepanik
1c9ef0872b Multiple bootloader creation options for rk3399 (#1614)
* Updated rockchip64-dev to u-boot v2019.10 and BL31 v1.30 (rk3399 boards)

* Updated rk3399 to u-boot v2019.10 and BL31 v1.30

* Revert changes to renegade u-boot patches

* Moved renegade u-boot patches into board dir

* Added debug info for RockPro64 and switched sdmmc to fifo-mode

* Disabled regulators in SPL for RockPro64

* Re-enabled sd vcc regulator in SPL for RockPro64

* Some device tree and config changes for OrangePi RK3399

* Fixed Rock Pi 4A's $BOOTCONFIG

* Let some boards use mainline atf instead of the one in rkbin

For example, roc-rk3399-pc can just boot the kernel using the
mainline atf.

* Add roc-rk3399-pc

* Fixed reset in mainline ATF

* Attached ATF version to v2.2 tag

* WIP: sdmmc fifo-mode in SPL only

* Renamed source config files

* Reverted changes to rockchip64 sources config

* Reverted patch moves

* Add missing trust.ini patch to rk3399 u-boot

* Reinstated tpl/spl patches in rk3399 family

* Added $RKBIN_DIR prefix in rk3399 sources

* Add demonstration of boards bootloader assignment in rk3399
2019-11-24 22:07:46 +01:00
Igor Pečovnik
150ac0c2af
Remove K<4, change branches, new features (#1586)
AR-1 - Adding support category for distributions
AR-4 - Remove Allwinner legacy
AR-5 - Drop Udoo family and move Udoo board into newly created imx6 family
AR-9 - Rename sunxi-next to sunxi-legacy
AR-10 - Rename sunxi-dev to sunxi-current
AR-11 - Adding Radxa Rockpi S support
AR-13 - Rename rockchip64-default to rockchip64-legacy
AR-14 - Add rockchip64-current as mainline source
AR-15 - Drop Rockchip 4.19.y NEXT, current become 5.3.y
AR-16 - Rename RK3399 default to legacy
AR-17 - Rename Odroid XU4 next and default to legacy 4.14.y, add DEV 5.4.y
AR-18 - Add Odroid N2 current mainline
AR-19 - Move Odroid C1 to meson family
AR-20 - Rename mvebu64-default to mvebu64-legacy
AR-21 - Rename mvebu-default to mvebu-legacy
AR-22 - Rename mvebu-next to mvebu-current
AR-23 - Drop meson64 default and next, current becomes former DEV 5.3.y
AR-24 - Drop cubox family and move Cubox/Hummingboard boards under imx6
AR-26 - Adjust motd
AR-27 - Enabling distribution release status
AR-28 - Added new GCC compilers
AR-29 - Implementing Ubuntu Eoan
AR-30 - Add desktop packages per board or family
AR-31 - Remove (Ubuntu/Debian) distribution name from image filename
AR-32 - Move arch configs from configuration.sh to separate arm64 and armhf config files
AR-33 - Revision numbers for beta builds changed to day_in_the_year
AR-34 - Patches support linked patches
AR-35 - Break meson64 family into gxbb and gxl
AR-36 - Add Nanopineo2 Black
AR-38 - Upgrade option from old branches to new one via armbian-config
AR-41 - Show full timezone info
AR-43 - Merge Odroid N2 to meson64
AR-44 - Enable FORCE_BOOTSCRIPT_UPDATE for all builds
2019-11-19 23:25:39 +01: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
andpp
f8b7f0b117 Added to u-boot default env reading from /boot/armbianEnv.txt (#1556)
Changed in imx7d Kernel config compilation type of sdma-imx to module

Change-Id: I83f34aaf2961b6a5ca3f24a0b0e33a8a6c6399db
2019-09-13 07:21:37 +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
andpp
0797faab9f Added initial support of MCIMX7SABRE board (#1542)
* Added initial support of MCIMX7SABRE board

MCIMX7SABRE is NXP iMX7d-based board with 1Gb RAM
2xGBE, 1xmPCIe

Change-Id: I62685a55de54fa6109bef2a8e2ee760d831ffa0e

* Added initial support of MCIMX7SABRE board

MCIMX7SABRE is NXP iMX7d-based board with 1Gb RAM
2xGBE, 1xmPCIe

Change-Id: I62685a55de54fa6109bef2a8e2ee760d831ffa0e

* Changed BOARDFAMILY from mx7dsabre to imx7d

Change-Id: Id351c9f6a8c907b415b804bfe11b86027278ed86

* Disabled MD driver for imx7d Kernel

MD driver does not work correctly on NXP-modified kernel

Change-Id: I58e8de6ee0b99282c452f594e22f6f7e1ff59ae0
2019-09-09 22:00:45 +02:00
Paolo
f82001666b [xt-q8l-v10] Updates for CSC board (#1539)
* Added ALSA configuration bits for rk3288 HDMI and SPDIF to allow
pulseaudio show proper sound device/profile/mapping names instead of
just "Built-in Audio" for all of them

* Added ALSA device description in asound.conf to provide correct labels for PulseAudio for RK3288 devices when SPDIF and DW-I2S-HDMI simple audio cards are exposed
Removed unnecessary ALSA configuration files previously added from rockchip.conf

* Fixed cpu operating points tables and raised a bit (+5°C) cooling for non-critical temperatures for xt-q8l-v10 in dev and next kernel flavours

* Fixed again cpu opp table

* Removed whole cpu opp table and retouch only necessary operating points

* Enabled gpiomem driver for xt-q8l-v10 in next kernel flavour

* Added debounce delay and card detect gpio pins for sdmmc card holder for xt-q8l-v10 board

* Added card-detect and debounce delay for sdmmc for xt-q8l-v10 board in next kernel flavour too

* Fixed missing comment in xt-q8l-v10 device tree patch

* Added gpiomem to xt-q8l-v10 board for dev kernel

* Fixed FAN53555/Silergy patches to accomodate changes in u-boot v2019.04

* Changed property property flags for USB regulators in u-boot and kernel: kernel is now informed that bootloader is going to turn the USB power on

* Removed assert-phy-reset-when-waking-up-in-rk3288-platform patch due to inclusion in mainline 5.2 kernel
Reenabled ARM-DTSI-rk3288-add-usbphy-reset patch to include USB PHY reset lines to all rk3288 devices

* Removed ARM-DTSI-rk3288-add-usbphy-reset.patch due to inclusion in mainline kernel 5.2
2019-08-31 22:02:25 +02:00
Igor Pecovnik
ab1c14377c
mvebu-helios4: removing deprecated u-boot patch @boards-marvell
Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2019-08-18 10:20:11 +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
Tony
d5f8caddcc
Merge pull request #1467 from piter75/rock-pi-4-boot-order
Prefer booting from SD on Rock Pi 4
2019-08-04 14:03:57 -04:00
lanefu
09f7c70010
Odroidn2 tweaks (#1498)
* prefix uboot boot_scripts with /boot/ path

* load codec modules on desktop build
2019-08-03 14:06:31 -04:00
Aditya Prayoga
e261c6f828 Move mvebu DEFAULT, NEXT and DEV branch to next kernel (LTS) and U-boot #1426 (#1487)
* Initial Mvebu RFC https://github.com/armbian/build/issues/1426

Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>

* mvebu: add missing patches

Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>

* mvebu: change making u-boot targets to standard way, adjust patches and config

Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>

* helios4: set default branch to use U-Boot 2018.11

Switch over to U-Boot 2018.11 that has been used for some time in next
branch.

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

* mvebu: helios4: Enable DEV branch

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

* u-boot: Add RTC support on Clearfog and Helios4

Added DM driver for mvebu RTC and enable it on Clearfog and Helios4
configuration.

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

* add boot-marvell.cmd backward compatibility

The patches added missing variable that used on boot-marvell.cmd and
also adjust the some memory addresses to prevent crash due to usage of
fdt_high and initrd_high.

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

* helios4: Added SPI NOR flash target

Build bootable SPI NOR flash image.
Change the boot order to USB -> SATA -> MMC

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

* Restore SPI support on U-Boot 2019.04

* mvebu: kernel: Added Wake-On-GPIO and WoL support

The patch set was missing during transition.

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

* [#1429] SolidRun's ARMADA A388 SOM U-Boot ODT Update

Old versions of U-Boot did not configure correctly the ODT on data
signals of DDR RAM on SolidRun's ARMADA A388 SOMs.

According to SolidRun Knowledge Base, the changes already pushed to
mainline U-Boot. But then it was overwritten when Marvell DDR Training
Tool updated

[URL]
https://developer.solid-run.com/knowledge-base/armada-38x-som-u-boot-odt-update/

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

* [#1429] mvebu: u-boot: Add revision id for Armada 38x B0

Added patch for SolidRun U-Boot v2018.01 and
for Helios4 U-Boot v2018.11

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

* clearfog: Added SPI NOR flash target

Build bootable SPI NOR flash image.

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

* mvebu: clearfog: DEV branch use mainline U-Boot

Also move clearfog base patch into its own board folder.

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

* mvebu: enable U-Boot uart target

Normal MMC image can be used for uart boot using following command:

./tools/kwboot -b u-boot-spl.kwb /dev/ttyUSBX

But on Helios4, the SPL failed to continue the booting process if ECC is
enabled, so disable it.

Since the usage of uart boot is more for rescue/debug, disable autoboot.

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

* mvebu: NEXT branch use mainline U-Boot

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

* mvebu: helios4: fix fancontrol related bug during buster testing

- On kernel 4.19, cpu thermal sensor changed the name from
armada_thermal into f10e4078.thermal. Added this new name to udev rules
- Since DEFAULT branch now use kernel 4.14, update fancontrol
configuration
- Load lm75 kernel module
- On kernel 4.19, cpu temp reading about 20 degree C lower, update
fancontrol configuration.

[URL]
https://forum.armbian.com/topic/10214-clearfogpro-possible-change-in-temperature-reporting-between-414next-and-419dev

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

* mvebu: helios4: Override vendor provided fancontrol unit

systemd emit following message on dmesg

systemd[1]: /lib/systemd/system/fancontrol.service:9: PIDFile=
references path below legacy directory /var/run/, updating
/var/run/fancontrol.pid \xe2\x86\x92 /run/fancontrol.pid; please update
the unit file accordingly.

Override and change the value in the unit file to remove the message.

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

* mvebu: DEV branch use its own u-boot patch folder

The patches are copied over from u-boot-mvebu-next

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

* mvebu: u-boot: Make clearfog model distinction more obvious

While at it, also change SerDes LANE4 into USB 3.0 on Clearfog Base.

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

* lib: Use apt-get install instead of dpkg on install_deb_chroot()

dpkg -i does not install dependencies required by the package.
This is needed if the BSP package requires other package that is not
installed during debootstrap.

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

* config: mvebu: helios4: Move various tweak to family_tweak_bsp()

Various tweak in family_tweaks_s() only applied to SD card image.
Move it to family_tweaks_bsp() so it will also included on the BSP
package and applied to existing user.

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

* config: mvebu: helios4: Add /etc/modules to BSP

On kernel 4.19, user need to modify the /etc/modules to add lm75 kernel
module. Pack the file into BSP so user no longer needed to modify it.

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

* mvebu: kernel: Make zbud as built-in module

To remove the following error:
[    1.705485] zswap: default zpool zbud not available
[    1.705488] zswap: pool creation failed

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

* bootscripts: mvebu: Add default value for spi_workaround

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

* mvebu: kernel: Backport armada_thermal changes to 4.14 (#1452)

On kernel 4.19, armada_thermal driver has been fixed to address
Marvell's Errata #132698 (The changes first appear on LK 4.16). The
result is temperature reading is around 20 degree Celsius lower.

Currently armbian-motd apply -20C tweak for both LK 4.14 and LK 4.19
which is incorrect. Instead of adding some logic on what condition to
apply the tweak, it is better to remove the tweak and patch the kernel
instead.

Revert commit b3dd4e9 ("[ mvebu ] Put back Armada temperature tweak in
motd")
which is part of #1421 solution.

[URL]
https://forum.armbian.com/topic/10214-clearfogpro-possible-change-in-temperature-reporting-between-414next-and-419dev/

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

* mvebu: helios4: unified fancontrol config

Since LK 4.14 on DEFAULT branch already patched and the temp reading is
same as LK 4.19 on NEXT branch, it is no longer needed to separate
fancontrol configuration file.

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

* u-boot: helios4: Remove rev id patch

The patch is already applied in helios4 repo, no need to have it in
armbian.
This revert helios4 part of commit 7411c55

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

* u-boot: clearfog: enable PCIe support and PCIe reset

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

* u-boot: clearfog: add boot-marvell.cmd backward compatibility

The patches added missing variable that used on boot-marvell.cmd and
also adjust the some memory addresses to prevent crash due to usage of
fdt_high and initrd_high.

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

* mvebu: helios4: tweak regarding temperature setting

Make fan speed similar compared to pre-patched armada-thermal. Target
PWM value around 70 during idle.

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

* config: sources: clearfog to use u-boot 2018.01 for NEXT branch

This changes also affect Helios4. Moved the shared U-Boot source setting
back to Helios4 for NEXT branch.

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

* config: boards: build Stretch image for Clearfog and Helios4

Also remove DEV from Helios4 CLI_TARGET

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

* kernel: mvebu-next: Disable access to SPI Flash

User need to set spi_workaround=yes to enable SPI Flash access and lost
access to internal SATA.

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

* mvebu-next: adjust kernel config

* mvebu-dev: bump to 5.2 and adjust kernel configuraion. Tested for building.

* Adjust kernel config, add AUFS

Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>

* mvebu-next: Adjust kernel config, add debug GPIO

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

* mvebu-dev: separate Clearfog Base U-boot configuration file and patch

Signed-off-by: Aditya Prayoga <aditya@kobol.io>
2019-07-31 12:51:00 +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
Piotr Szczepanik
4dd45b56e6 Moved Rock Pi 4's prioritizing SD on boot to board specific patches dir 2019-07-24 10:51:51 +02:00
Piotr Szczepanik
4698f9a456 [rockchip64-dev] rockpi - really prefer SD over eMMC 2019-07-21 23:01:34 +02:00
Piotr Szczepanik
6c92812b19 [rockchip64-dev] rockpi - prefer booting from sd 2019-07-20 23:39:07 +02:00
Manuel Rüger
6d46d8f69d [rockchip64-dev] rockpi: Add 5.3 upstream DTS patches (#1424)
* [rockchip64-dev] rockpi: Add 5.3 upstream DTS patches

* Support Bluetooth / WIFI
Akash Gajjar <akash@openedev.com>
45fa7c3838.patch
* Support Audio over HDMI
Ezequiel Garcia <ezequiel@collabora.com>
549dcdafe7.patch

* [rockchip64-dev] rockpi: Remove upstreamed patches

5.1 contains rockpi support

* [rockchip64-dev] Uboot: Add patch for correct naming
2019-07-11 09:12:50 +02:00
Igor Pečovnik
4acb3795d6
imx6: make all u-boot targets, fix 4.14.y, remove unfunctional BT patch, enable DEV branch ... all variants tested (#1438)
Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2019-07-01 07:21:17 +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
Martin Ayotte
f07023f868 remove useless patch 2019-06-20 09:50:04 -04:00
Igor Pecovnik
70b282e19e
OrangepiWinPlus - enable eMMC
Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2019-06-18 20:27:18 +02:00
jwzawadzki
8830b8aa45 [ mverbu64 ] Add macchiatobin double shot board. (#1416) 2019-06-17 10:49:56 +02:00
Igor Pecovnik
62b4cbbdfd [ rockchip64-dev ] adjust source target branch and remove/adjust patches. Moving Rockpi-4b from wip to conf - support is somewhere near to other 3399 2019-06-06 13:21:31 +02:00
Igor Pecovnik
75db4a9210 [ rockchip64 ] add upstream patches, remove deprecated and move to latest tag 2019-06-06 08:02:26 +02:00
Igor Pecovnik
7c73d7a61f [ nanopik2 ] enable eMMC support for u-boot and kernel while booting from it is not supported with this commit yet. It will require some further first stage boot loader tweaking. 2019-06-04 21:35:48 +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
2bd7f8efbd [ Odroid N2 ] Added Odroid N2 with mods necessary to build from sources. Made a few tests builds ... it works at least as good as stock. 2019-05-10 10:27:01 +02:00
Igor Pecovnik
0aa08731aa [ nanopi-r1 ] Add support for eMMC within u-boot 2019-05-03 08:02:52 +02:00
Igor Pecovnik
04f9f85794 [ rk3399 & general ] Move RK3399 to U-boot 2019.04 (briefly tested on T4+). Adding hostname to htop 2019-04-28 22:57:42 +02:00
Igor Pecovnik
23ab8038a7 [ meson64 ] re-enable (adjusted) patch 2019-04-28 19:31:14 +02:00
Igor Pecovnik
7d0d55ee2a [ mvebu dev ] move u-boot to 2019.04 2019-04-28 11:37:15 +02:00
Igor Pecovnik
a8415d03b4 [ meson64 ] patches cleanup 2019-04-27 18:11:14 +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
Martin Ayotte
0ff9997eb3 fix random MAC in PineH64 by adding emac+alias in U-Boot 2019-04-10 18:12:53 -04: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
Martin Ayotte
58b9b76b2f fix U-Boot 'reset' 2019-04-08 12:24:52 -04:00
Martin Ayotte
fa75e7f413 add OPiOne+ emac in u-boot 2019-03-29 18:36:34 -04:00
Martin Ayotte
e858143513 add syscon+emac to H6 + emac alias OPi3 2019-03-29 17:16:23 -04:00
Lane Jennison
ae92d61ea2 patch from https://github.com/janwillies/u-boot/commits/v2019.01-sopine-spi 2019-03-23 20:42:26 -04:00
Thomas McKahan
377324db9d [ rockchip64 ] renegade u-boot tweaks 2019-03-20 00:21:54 -04:00
Martin Ayotte
119d35b274 fix orangepi3 U-Boot DT Makefile 2019-03-15 10:26:02 -04:00
Martin Ayotte
ff95cb70d9 add missing eMMC in OPi3 U-Boot 2019-03-09 17:30:29 -05:00
Martin Ayotte
ad868140cf initial commit for OrangePi3 WIP 2019-03-09 11:49:43 -05:00
Martin Ayotte
43421ef58a add CMD_SETEXPR to NanoPCT4 U-Boot 2019-03-06 18:09:07 -05:00
Martin Ayotte
fde1d7e9f8 add CMD_SETEXPR to OrangePi-RK3399 U-Boot 2019-03-06 18:08:01 -05:00
Martin Ayotte
f1d6bdca22 add CMD_SETEXPR to Renegate U-Boot 2019-03-06 18:05:43 -05:00
Martin Ayotte
f26e02676c add CMD_SETEXPR to RockPi U-Boot 2019-03-06 18:03:48 -05:00
Martin Ayotte
aba46df742 add CMD_SETEXPR to Rockchip U-Boot 2019-03-06 17:19:29 -05:00
Martin Ayotte
b202f88248 add missing overlay in RK3399 U-boot 2019-03-05 18:20:58 -05:00
Igor Pecovnik
0a16d1e24a [ orangepizero+2 ] adjusting dt name for backward compatibility 2019-02-18 08:45:41 +01:00
Igor Pecovnik
d4f572272e [ sunxi ] Move legacy builds back to last known working u-boot 2018.05 until its not resolved why legacy kernels are not booting anymore with 2018.11, 2019.01, ... 2019-02-09 19:20:36 +01:00
chwe17
864de31d5c bump u-boot to 2019.01 2019-02-02 05:16:41 +01:00
Igor Pecovnik
3b894b110e [ rockchip64 ] add upstream patches to rk3399, add rockpi4b to default kernel (working not very good atm), adjusted kernel config 2019-01-27 19:37:46 +01:00
chwe17
bb63ed6d2a fixed LED in rockpis device tree 2019-01-19 01:34:15 +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
paolosabatino
7b0ae02a34 Merge remote-tracking branch 'upstream/master' into xt-q8l-v10 2019-01-03 13:37:13 +01:00
Martin Ayotte
63be3732ea fix RockPi-4B naming + fix vcc5v0_host gpio pin 2019-01-01 19:37:58 -05:00
Martin Ayotte
cbbbf06319 fix RockPi-4B naming + fix vcc5v0_host gpio pin 2019-01-01 19:37:27 -05:00
Martin Ayotte
9b387a592f remove duplicate patch 2019-01-01 10:19:33 -05:00
Martin Ayotte
efc1bad036 add new RockPi-4B 2019-01-01 10:01:45 -05:00
Martin Ayotte
6148cdac0d oupps ! revert useless commit 2018-12-31 12:37:27 -05:00
Martin Ayotte
5ac985700f add missing rockpro64 in u-boot 2018-12-31 12:35:05 -05:00
Martin Ayotte
a18327ef57 set lower speed for NanoPC-T4 eMMC 2018-12-31 12:32:06 -05:00
Igor Pecovnik
6b1a33930b [ espressobin ] Move ATF/U-boot to 18.12, add new DDR configurations & bump kernel to 4.19.y 2018-12-30 16:14:27 +01: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
2eb56c6f8d [ pinebook / teres ] Mainstream ATF is broken, switching back to last known working 2018-12-27 11:27:48 +01:00
Martin Ayotte
758db7522a initial commit for orangepi-rk3399.wip 2018-12-24 11:06:59 -05:00
paolo
868d7390fc Disabled dma for serial ports in xt-q8l-v10 dev kernel device tree due to changes in kernel 4.19
Removed date and time from xt-q8l-v10 patches for /dev/null source diffs
2018-12-15 10:44:00 +00:00
paolo
a818f64885 Changed minor bits in xt-q8l-v10 device tree patch for dev flavour 2018-12-15 10:43:59 +00:00
Thomas McKahan
3a185c8b82 [ rockchip-dev ] Add DT overlay framework 2018-12-13 19:04:47 -05:00
Martin Ayotte
c779ae2faa add missing u-boot-meson64 patch for overlays 2018-12-13 17:09:54 -05:00
paolo
88467bad9d Modified xt-q8l-v10 device tree patches to properly source from /dev/null
Reworked assert-phy-reset-when-waking-up patch to fit into 4.19 kernel DWC2 USB driver
Adding usbphy reset lines patch for rk3288.dtsi in both rockchip next and dev kernels
Removed same reset lines from xt-q8l-v10 next and dev device trees
2018-11-30 11:16:50 +00:00
Gauthier Provost
14452e25e6 Helios4: Changes / fixes related to bootscript issue (#1169)
* helios4: next branch use u-boot 2018

use new u-boot based on upstream 2018

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

* helios4: Tweak fancontrol configuration

Adjusted MINSTART and MINSTOP to suit both old and new fan.
Adjusted TEMP threshold so fan would stop or run in minimal speed when
the system idle.
Fixed wrong MINPWM value.

URL:https://wiki.kobol.io/pwm/#configuration-file
Signed-off-by: Aditya Prayoga <aditya@kobol.io>

* kernel: mvebu-next: use upstream helios4 dts

Helios4 device tree has been merged on upstream since 4.19.
Rework the patch to produce same device tree.

URL:https://patchwork.kernel.org/patch/10449393/

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

* Helios4: Use boot-mvebu-next bootscript

Use boot-mvebu-next.cmd that make use of upstream's Generic Distro
Configuration.
Since loadaddr and fdt_addr varibales are no longer required, remove the
patch.

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

* Helios4: mvebu-next: Add workaround for SPI and SATA concurrent access issue

Concurrent access on SPI NOR and SATA drives can lead to unstable SATA.
Therefore as workaround, disable SATA controller when SPI flash access
is needed and make it as user configurable item in armbianEnv.txt

This workaround might applies to Clearfog too.

Refer to
Commit 59af84c07c ("Helios4: Add SPI bootloader install feature
(#1126)")

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

* Bootscripts: Fixed boot-mvebu-next.cmd

The environment setting (armbianEnv.txt) is loaded to RAM located on
${load_addr} but the env import use wrong address (${pxefile_addr_r}).

bootargs still expect ${boot_interface} which carried over from boot-
marvell.cmd. Upstream's distro configuration use ${devtype} instead.

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

* uboot: mvebu-next: only apply DT fixup script if it exists

* [ buildscript ] Add FORCE_BOOTSCRIPT_UPDATE option

If enabled bootscript will get updated during bsp upgrade.

* Helios4: Enable FORCE_BOOTSCRIPT_UPDATE by default in board config.

* Helios4: Added boot-marvell.cmd compability to u-boot 2018

Revert the changes to use boot-mvebu-next.cmd instead of boot-
marvell.cmd to prevent unbootable system due to incompatibility between
u-boot 2013.01 and boot-mvebu-next.cmd
This reverts commit 0f17ecb233 ("Helios4: Use boot-mvebu-next
bootscript")

U-Boot 2018 will failed load dtb and script due to missing some
variables on boot-marvell.cmd. This will render the system unbootable.
Re-added and update loading-boot-scr.patch for backward compatibility

Signed-off-by: Aditya Prayoga <aditya@kobol.io>
2018-11-29 06:58:39 +01:00
Przemyslaw Sztoch
c989a9b205 Repaired broken Rock patch for current Kconfig (patch is not synchronized with current codebase,
then changes are applied to wrong part of code and u-boot fdt apply is not working).
2018-11-27 12:51:39 +01:00
Thomas McKahan
20211cd22c [tinkerboard] disable video in u-boot 2018-11-25 10:34:10 -05:00
aprayoga
e71d1560f0 Helios4: various updates (#1161)
* helios4: next branch use u-boot 2018

use new u-boot based on upstream 2018

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

* helios4: Tweak fancontrol configuration

Adjusted MINSTART and MINSTOP to suit both old and new fan.
Adjusted TEMP threshold so fan would stop or run in minimal speed when
the system idle.
Fixed wrong MINPWM value.

URL:https://wiki.kobol.io/pwm/#configuration-file
Signed-off-by: Aditya Prayoga <aditya@kobol.io>

* kernel: mvebu-next: use upstream helios4 dts

Helios4 device tree has been merged on upstream since 4.19.
Rework the patch to produce same device tree.

URL:https://patchwork.kernel.org/patch/10449393/

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

* Helios4: Use boot-mvebu-next bootscript

Use boot-mvebu-next.cmd that make use of upstream's Generic Distro
Configuration.
Since loadaddr and fdt_addr varibales are no longer required, remove the
patch.

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

* Helios4: mvebu-next: Add workaround for SPI and SATA concurrent access issue

Concurrent access on SPI NOR and SATA drives can lead to unstable SATA.
Therefore as workaround, disable SATA controller when SPI flash access
is needed and make it as user configurable item in armbianEnv.txt

This workaround might applies to Clearfog too.

Refer to
Commit 59af84c07c ("Helios4: Add SPI bootloader install feature
(#1126)")

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

* Bootscripts: Fixed boot-mvebu-next.cmd

The environment setting (armbianEnv.txt) is loaded to RAM located on
${load_addr} but the env import use wrong address (${pxefile_addr_r}).

bootargs still expect ${boot_interface} which carried over from boot-
marvell.cmd. Upstream's distro configuration use ${devtype} instead.

Signed-off-by: Aditya Prayoga <aditya@kobol.io>
2018-11-23 15:39:23 +01:00
Paolo
60b4166a8a Add rk3288 xt-q8l-v10 CSC board (#1158)
This merge request contains various files which add support for xt-q8l-v10 boards (TVBox) equipped with Rockchip RK3288 SoC, AP6330 WiSoC (BCM4330 WiFi + Bluetooth), 2 GB DRAM (LPDDR2 or DDR3), 8 Gb eMMC, Gigabit Ethernet, 3 USB (1 OTG), 1 microSD slot, SPDIF optical output, 1 HDMI.

Kernel patches:

This thouches all three linux-rockchip-* kernelconfigs, just adds brcmfmac and brcmutil modules and remote controller support. default flavor activates rockchip own remote controller driver, next and dev use the mainline GPIO CIR driver (dev has lirc userland support activated too).

About the remote controller, an additional kernel module is added to the existing keymaps which is activated via device tree.

About possibly clashing patches assert-phy-reset-when-waking-up-in-rk3288-platform.patch should be checked against other rk3288 boards because it addresses an errata in rk3288 which causes the USB Host ports to stop responding when exiting from autosleep. On my device if I connect the first USB device when the system is already running, the USB Host gets stuck without this patch. Probably to work correctly on other platforms the device tree should include the proper reset lines of the USB PHYs (for reference, check patch/kernel/rockchip-dev/xt-q8l-v10-add-device-tree.patch starting from line 869).

Patch 1-2-regulator-act8865-add-restart-handler-for-act8846.patch adds a restart handler which allows reboot using SIPC bit on act8846 power regulator. Possibly MiQi board is affected (is reboot working there?), others (tinkerboard) should not care.

Patch brcmfmac-add-ap6330-firmware.patch adds firmware file names for ap6330 , should be harmless in other cases.

Patch 0010-GPU-Mali-Midgard-remove-rcu_read_lock-references.patch is from Miouyouyou. It should be harmless, it was suggested by him to do some tests with devfreq

Other patches just add the proper device trees, Kconfig and bits for supporting the board as a regular kernel supported board and should not interfere with anything else

U-Boot patches:

All the patches for u-boot are per-board, so nothing is added which may interfere with other existing boards here. They include the device tree and u-boot config and also a couple of patches to support the silergy power regulators driving current to CPU and GPU

* Initial commit to provide kernel and u-boot configuration and device trees for xt-q8-v10 as patches
Modification to rockchip config to add initialization bits for xt-q8-v10

* Committing correct path for rk3288_ddr_400Mhz... rockchip blob, moved assembling into another section to produce
immediately an u-boot working binary

* Enabled broadcom fmac driver in rockchip-next config

* Changed name definition of rk3288-xt-q8-v10 board to "TVBox"
Added bits to include support AP6330 and binary firmwares into the final image

* Fixed device tree file name in related patch, added patching of Makefile to produce the device tree binary accordingly

* Fixed xt-q8-v10 device tree patch
Added brcmfmac driver to rockchip dev and default kernel configs

* Syncing with upstream

* Splitted add-xt-q8... kernel patches into two separate patches

* Fixed bad extension while adding dtb in makefile for rockchip-default configuration
Updated device tree patches for all rockchip confs

* Enable mmc0 and usb in u-boot config
Fixed again makefile patch for kernel next

* Adding patches to reset the USB phy when kernel requires a reset, fixes autosuspend issue

* Changed xt-q8-v10 to proper xt-q8l-v10 in every string and every filename
Added power hold to u-boot, so now the device will boot and stay turned on without the need for the OTG cable anymore

* Changed names from 'Q8' to proper 'XT-Q8L-V10' in device tree patch files

* Legacy kernel device tree:
Fixed bluetooth gpio pin clashing
Fixed HDMI gpio pin clashing
Added support for PWM-based IR-Receiver, added driver in kernel default config too
Various other fixes to avoid some complaints from the kernel

* Added booting bluetooth systemd service for AP6330 (xt-q8l-v10) that loads patchram and invokes hciattach
Minor fixes to -next and -dev device trees for xt-q8l-v10

* Disabled OTG USB port in u-boot due to long timeout during initialization
Fixed warning during u-boot dts compilation
Added emmc as second boot device in dts

* Adding myself to licensing

* Committing modifications to device trees

* Fixed dmac_bus_s explicitly set to unused dmac, restored right dmac in xt-q8l-v10 dts only
Change PLL_CPLL frequency in device tree to 408 Mhz to avoid fractional divisor warnings

* Added proper xt-q8l-v10_rk3288 configuration to u-boot, now appearing in config menu and
correctly selectable as a real target
Fixed typo in device tree from rockchip

* Fixed missing semicolon in device tree for default configuration
Fixed patch files for u-boot appending themselves to files on each compilation

* Added bits to enable power to USB ports in u-boot, thus enabling booting from USB devices (only USB host port for now)

* Changed u-boot binary creation using the rockchip SPL properly

* Added boot order for xt-q8l-v10: sdcard, usb0, eMMC, network

* Added bionic:next in beta config for xt-q8l-v10 board

* Changed some minor bits in xt-q8l-v10 device tree files, added missing bits to dev flavour
Added patches to introduce fairchild fan53555/silergy82x regulators to u-boot and enabled in xt-q8l-v10 device tree

* Updated u-boot to version v2018.03 for xt-q8l-v10. Other rk3288 boards will gain v2018.05 from main armbian fork
Removed pre-reloc labels in u-boot device tree because they are not necessary since we don't use u-boot SPL for xt-q8l-v10
Removed vmmc-supply and vqmmc-supply in u-boot device tree to avoid hang on boot

* Tidied up a bit device trees, in particular some modifications are made to power regulator properties comparing them against the original q8l device tree
Removed unnecessary dummy regulator, removed unnecessary capacities to embedded eMMC
Disabled unused USB host
Removed vmmc-supply and vqmmc-supply from emmc section because it causes hang in u-boot v2018.03 and newer

* Restored previous regulator in u-boot dts
removed assert phy reset USB patch from rockchip-dev because of some upstream incompatible changes

* Added patch to enable IRQ for Midgard drivers which caused massive slowdown on dev kernel
Changed u-boot if-code for xt-q8l-v10 in rockchip.conf
Removed references to rk3288-linux.dtsi in xt-q8l-v10 device tree for default kernel

* Committing effective removal of USB reset assert for dev kernel
Committing changes to u-boot device tree

* Added patch to disable USB power down for rockchip devices broken on latest kernel

* Removed usb dwc2 patch to reinject it from specific branch

* Reverting some voltage changes for xt-q8l-v10 device in rockchip-dev

* Reverting some voltage changes for xt-q8l-v10 in u-boot section

* Added patch to make USB ports working again on rockchip devices with mainline
kernel >= 4.18

* Changed the 0 into false

* Moved xt-q8l-v10 u-boot patches into board_xt-q8l-v10 directory

* Changed some minor things in rockchip-dev dts for xt-q8l-v10, added mali midgard driver to dev kernel config

* Added devfreq support for Mali in rockchip-next flavour

* Remove manually applied patch (0007-drivers-drm...) because it has been
added to armbian main repo

* Removed duplicate patch which has added to main armbian repository

* Tidied up regulators for default/next/dev rockchip flavours for xt-q8l-v10, disabling those regulators which are not tied to anything
Enabled voltage regulator to make SPDIF connector work (thus not tested because I have no DAC)
Changed rockchip-dev and rockchip-next config files to enable gpio-ir-receiver module to enable bundled remote IR controller, including kernel patch for keymap

* Enabled back regulator REG7 to allow propert bluetooth functionaly

* Minor changes to u-boot device tree for xt-q8l-v10
Added patch to set act8846 SIPC to correctly reboot the device (thus require some power-hold at reboot to make reboot fully working)

* Fixed u-boot device tree

* Added configuration bits to support TPL in u-boot for xt-q8l-v10 (TPL is thrown away though) to allow faster reboot times and achieve a working reset feature activating power hold gpio pin as soon as possible. gpio pin is hardwired into spl_board_init() u-boot code because it is not possible to let it work via device tree
Fixed OTG USB port in u-boot, allowing devices detection and booting
Added proper vbus-supply properties for USB controllers in u-boot dts, so u-boot activates USB vbus itself

* Fixed dts makefile patching for next and dev rockchip kernel

* Fixed fdt_file renamed to fdtfile in armbianEnv.txt

* Changed xt-q8l-v10 board config as per recomendations

* Moved xt-q8l-v10 configuration to CSC
Restored linux-rockchip-* configurations, enabled brcmfmac driver, GPIO remote controller driver and lirc kernel compatibility interface
Polished a bit rockchip.conf

* Add patch to brcmfmac driver to search for ap6330 firmware
Removed copy-work from rockchip.conf about ap6330 firmware for xt-q8l-v10 and tidied up
Avoid using brcm_patchram_plus in ap6330-bluetooth-service putting proper firmware file in /etc/firmware for hciattach do firmware uploading itself

* Fixed bcm4330 bluetooth firmware linking for hciattach used by ap6330-bluetooth.service

* Removed foreign test patches from xt-q8l-v10 u-boot directory
2018-11-22 07:04:19 +01:00
Thomas McKahan
0ed6ed5194 [Meson64] Dev patch adjustment, bugfix 2018-11-21 01:48:44 -05:00
Thomas McKahan
ad8c89db50 [Meson64] U-boot bump to 2018.11, move C2 to Meson64 U-boot 2018-11-20 23:49:53 -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
Martin Ayotte
f7e9d60ff2 fixes for a64-olinuxino eMMC 2018-11-09 14:58:03 -05:00
Igor Pecovnik
f831e2d425 [ Pinebook ] Update atf and u-boot patches. Affects also Teres and Olinuxino 2018-11-09 11:07:40 +01:00
Igor Pečovnik
efa87b1fb8
Bananapi R2 (#1151)
* Initial commit BPi R2:
Currently working/not working:
- u-boot:
	- builds with minor issues
	- patching and cleanup happens on 'https://github.com/chwe17/u-boot-mt'
- next (https://github.com/frank-w/BPI-R2-4.14)
	- boots with minor issues
	- ETH doesn't work with nm
	- sata works
	- no wifi (needs driver from: https://github.com/frank-w/BPI-R2-4.4)
	- USB not working (xhci-mtk 1a1c0000.usb: fail to get vbus) needs investigation
	- appended device tree is needed due to u-boot doesn't work with fdt (kernelpacking needs adjustemts e.g. cat zImage dtb > zImage-dtb
- dev (kernel.org master)
	- untested, needs adjustments in config (e.g. CONFIG_LOCALVERSION="")
	- since no defconfig is available config is based on frank-w 4.16 Kernel
	- Kernel builds without issues
	- manual packing of kernel and dtb similar to next
The board boots, serial console is available but everything else must be expected as not working!
- to do:
	- u-boot needs a cleanup
	- binary blobs needs investigation
	- eMMC is **not tested** and needs for sure adjustements! (don't try nand-sata-install!!!)
	- bootscript isn't tested (only manual boot over u-boot console at the moment)
	- both kernelconfigs aren't 'armbian standard' modules need to be adjusted

Only use it when you know're familiar with u-boot commands!

* Small fixes, add bootscript
- add bootscript for patched u-boot (needs patching of u-boot, currently under investigation and not working properly)
- revert cat zImage dtb > zImage-dtb (cause not working)
- first cleanup of dev kernelconfig (remove CONFIG_LOCALVERSION="")

* Minor fixup
-kernelconfig for next was adjustet so that USB is recognized
-firt bootscripts was written to boot with source command (doesn't work 100% reliable)
-slightly adjustd boardconfig (e.g. bootscript)
must still be considered as early wip!

* small update (FDT works now)
-working bootscript
-adjusted boardconfig
-earlyprintk activated in kernelconfig

* First attempt to get ETH working
-all interfaces are bridged together
-performance sucks at the moment (not clear if it's related to insane network configuration or I miss something obvious... :P  )

* Major update (see below for changes):
- 4.14 kernel was dropped due to https://forum.armbian.com/topic/7296-bananapi-r2-csc-mt7623-as-new-boardfamily/?do=findComment&comment=55194 and following
	- boot.cmd was adjusted to 'clean' mainline behaviour
	- next build opition and its defaultconfg was removed (at the moment dev only)
- rework of the network default configuration
	- default configuration will be over network.d **not** NetworkManager
	- per default all wired interfaces are bridged together to br0 (still wip)
	- old 'interfaces' configuration was removed
- boardconfig is adjusted (no desktop until I've prove that HDMI works)
- what works/ not works:
	- board boots up without manual u-boot hacking
	- SATA, USB3 (massstorage) is tested and works without issues
	- due to rework of network configuration this is still wip and must be considered as 'not working'

* moved to network.d for configuration of wired network
- renamed bsp packages
- blacklist wired interfaces for NetworkManager
- defined all wired interfaces as br0 in systemd/network
- defined networkd als default renderer for bionic (not tested yet!)

* The houskeeping commit:
- BOARDFAMILY was renamed to mt7623 instead of mt7623n (including patchfolders etc.)
- Network.d has no fully control over wired networkes (block NM from controll, start networkd on firstrun etc.)
- Further cleanup kernelconfig
	- CPU temp is visible from userspace
	- missed switch driver loaded
	- cryptodrivers are there (not tested)
	- still a bunch of work

* Add DMA mem alloc patch
-under testing!

* Add next option (4.17.y) stick dev to master (4.18-rc1 untested)

* minor fixes:
- solve kconfig issues between 4.17 and 4.18
- stick next branch to 4.18
- first attempts to bring up gmac2 (doesn't work currently)

* switch to upstream u-boot
- fix ext4 dependency in patch series
- kernelpacking currently broken

* add bootz & cmd_ext4

* resolved merge conflict

* apply ugly u-boot patch, fix bootscript

* remove unneeded stuff, apply forgotten stuff

* update config for dev & clean up boardconf (remove xenial)

* - drop dev and next, move into default. There is no intention to provide stock kernel
- fixed board description, renamed to WIP, where it can be merged later
- packing boot firmware to the u-boot package
- docker dependencies (aufs will be added later. not essential)
- attached to 4.19.y
- loading armbianEnv.txt
- UUID support (tested)
- enabled ZRAM (tested)
- enabled eMMC install (not quite working properly yet)
- Bionic has some issues with systemd networking.

* gov to ondemand (thermals are conservative anyway), remove unneeded kernelconfigs

* Added AUFS, remove debug from kernel boot parameters, add ath10 mPCI support (which works)

* add power-off-key and rtc

* Added onboard wireless, but it's enabling is disabled by default. Too fragile.

* Change to CSC target
2018-11-08 18:51:42 +01:00
Igor Pecovnik
32ce48f01d [cubox-i] Drop K3.14.y and move 4.14.y to default, next -> 4.19.y, dev -> 4.19.y + mainline u-boot. Adjust 8188EU for K4.19.y 2018-11-06 18:39:31 +01:00
Thomas McKahan
a51b986dce U-boot: Rockchip64-dev Renegade part 2 fixes 2018-10-31 22:53:14 -04:00
Thomas McKahan
2e8c9665db U-boot: Rockchip64-dev update renegade 2018-10-31 22:48:54 -04:00
Thomas McKahan
b7ae38bc72 u-boot:rockchip64: add Renegade 2018-10-31 00:04:22 -04:00
Igor Pecovnik
0d5ffb519e [tritium h5] Enable eMMC support 2018-10-26 08:01:23 +02:00
Martin Ayotte
60fcf01242 add missing SDMMC0_PWR_H for rockpro64 + add uboot_custom_postprocess code 2018-10-16 11:56:43 -04:00
Gauthier Provost
59af84c07c Helios4: Add SPI bootloader install feature (#1126)
* Helios4: Add workaround for SPI and SATA concurrent access issue

Concurrent access on SPI NOR and SATA drives can lead to unstable SATA.
Therefore as workaround, disable SATA controller when SPI flash access
is needed and make it as user configurable item in armbianEnv.txt

This workaround might applies to Clearfog too.

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

* Helios4: Add U-Boot SPI

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

* Helios4: Add SPI bootloader install feature

This will allow to use nand-sata-install to perform the following operations on Helios4 :
- Install bootloader to SPI NOR Flash (Option 5 in Menu).
- Copy RootFS to USB storage in order to boot from SPI with RootFS on USB (Option 6 in Menu).

* Unmount temp mount points in create_armbian() instead of hardcoded /dev/sda
2018-10-08 13:44:36 +02:00
Igor Pecovnik
fa88e5c2aa Implement bulding and packing all different boot firmware for Espressobin, bump u-boot and ATF sources to latest version 18.09 2018-09-09 23:22:50 +02:00
Igor Pečovnik
89c33218e5
Typo
That was all that prevent booting :) @awl1
2018-09-09 17:14:17 +02:00
Martin Ayotte
03199b3879 add olinuxino-a64.wip and fixes for it 2018-09-09 09:59:26 -04:00
Igor Pecovnik
86a00ada34 Fixed eMMC install on FriendlyARM NanoPC T3+, adjusted docker dependencies, new boot script with SD card priority booting. 2018-09-06 20:22:51 +02:00
Thomas McKahan
0850668476 miqi fix boot u-boot 2018 2018-08-30 01:35:05 -04:00
Martin Ayotte
47f122bc31 add usb port to u-boot for orangepi-zero 2018-08-28 11:12:56 -04:00
Igor Pecovnik
41b589372f Creating new family rockchip64. 3288 and 3399 was merged in, except Nanopi which stays in RK3399 family with sources attached to FA repository until we manage to join that in. Enabled Nanopc T4, Nanopi M4, Renegade. Tested on Rock64 and Nanopc T4.
Some clenaup, removed dragonboard820c, adjusted board descriptions, added another OPP for 3288 family,
2018-08-26 14:14:14 +02:00
Thomas McKahan
04795aef26 rockchip default u-boot bump small config update
- Tinker Board now boots to console without issue
- MiQi locks at "loading environment from EXT4..." (uncertain if a new issue)

Thanks to @Ntemis
2018-08-20 01:35:20 -04:00
Igor Pecovnik
6d82a89748 Initial support for RK3399 Firefly and FriendlyARM PC T4
Based on work of David Huang https://github.com/hjc4869 Changed in the transition:
- firefly family was renamed to rk3399, which we actually never started to use. It was made for Odroid N1, which will never be sold
- adjusted compiler toolchain2 parameter
- added standard wireless drivers
- kernel config with the following changes: Docker dependencies, ZRAM, CPUfreq info, ...
- added upstream patches
- made test Ubuntu Bionic desktop and CLI Stretch build, bootlog: http://ix.io/1jVu

TBD: wifi and BT support, mainline kernel, ...
2018-08-11 23:12:58 +02:00
Igor Pecovnik
e19f31eec6 Enable USB3, THS, DVFS and Ethernet on Allwinner H6 based boards. Development kernel (DEV branch, 4.18.y) also provides HDMI out via simple FB interface. DEV and NEXT kernel config alignment, set H6 CPU freqency to 1.5G, adjust eMMC and SD card speed and remove deprecated patches. 2018-08-09 11:32:23 +02: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
5kft
ab4100b18a misc NanoPi Fire3 changes
cleaned up u-boot DTB assignment; enabled RTL8188EU Wi-Fi adapter; disabled
thermal zone emulation configuration
2018-07-21 10:06:59 -07:00
Staars
8bd955f394 change bootorder in u-boot for z28pro 2018-07-19 20:41:55 +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
5kft
9462893138 Improve support for the NanoPi Fire 3 (add SPU1705, DVFS, thermal tables, etc.)
* implemented improved support for the FriendlyArm NanoPi Fire3
* introduced new WIP board configuration "nanopifire3"
* added and enabled the FA SPU1705 regulator
* enabled CPU-based thermal support
* implemented DT-based DVFS table (400MHz-1.4GHz)
* fixed and updated the thermal table and cooling maps
* added support for the onboard LED
* minor patch cleanup
2018-07-15 12:14:42 +02:00
Thomas McKahan
20d2019c3a tinker UMS mode VID PID fix 2018-07-06 01:01:56 -04:00
Igor Pečovnik
76e9ce0d16 Switch Sunxi-DEV U-boot to 2018.05, adjust patches, add support for A83T http://ix.io/1fUK 2018-07-03 21:10:18 +00:00
Martin Ayotte
ede66919cf Add eMMC to OlinuXino A64 U-Boot DT 2018-07-02 15:18:46 -04:00
Igor Pecovnik
332ebdd67e Adjust patches for Z28PRO, temporally disable broken (u-boot) DEV builds on RK3328, but fix kernel tag to certain (last release) good working one, bump with version 2018-07-02 09:38:33 +02:00
Igor Pečovnik
827c8efcf4 Fix patch path 2018-07-01 19:50:46 +00:00
Igor Pečovnik
bb2ce93795 Enable ums mode when TinkerBoard is connected to PC. This is needed to flash image directly to eMMC. Removing ethaddr setting since it's deprecated and few other small fixes. 2018-06-29 13:48:50 +00: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 Pečovnik
9e42b31b99 Disabling saving environment to FAT partition. It breaks since we have EXT4 ... and that method works. 2018-06-21 16:20:37 +00:00
Igor Pečovnik
454c64a3e2 Adjust NanoPi K1 Plus for 4.17.y ... 2018-06-21 15:10:27 +00:00
Igor Pečovnik
10e2065190 SUNXI/64 Add CSI driver, kernel configuration update, meging patches for NeoAir and enable camera driver, enable teres bootlogo, AW SOC ID 2018-06-21 11:31:26 +00:00
Igor Pečovnik
105adc415d Add Olimex Teres and Pinebook DEV targets and few minor typos. Pinebook boots, Teres almost ... TBC 2018-06-19 19:37:42 +00:00
Igor Pecovnik
c2046ea049 Odroid C2 NEXT tiny config adjustement to remove errros from bootup and moving u-boot to 2018.05 2018-06-14 12:37:19 +02:00
zador-blood-stained
23e7cc70c4 Small cleanup 2018-06-12 13:44:56 +03:00
Juan J. Sierralta
a508bb0b27 Support eMMC boot on HummingBoard2 2018-06-08 17:25:21 -03:00
Igor Pecovnik
135932d4c4 Changing Meson64 u-boot to 2018.05 due to apparent eMMC bug and removing deprecated patches 2018-06-07 10:12:51 +02:00
Tony
ad07dbb900
Meson64 Le Potato Mainline u-boot (#998)
Le Potato and NanoPi K2 now both use 2018.03 mainline U-boot.
2018-06-05 16:41:44 -04:00
Igor Pecovnik
d4f52f86a4 Add preliminary support for Orangepi Lite 2 H6 2018-06-05 21:45:54 +02:00
Igor Pecovnik
7040128e35 Add preliminary support for Orangepi One Plus H6 and small typo for H6 Pine config
Bootlog: http://ix.io/1col
2018-06-05 16:49:23 +02:00
Igor Pecovnik
8fd6af59f4 Add armbian logo to HB/Cubox bootloader 2018-05-30 21:48:09 +02:00
Igor Pecovnik
a7b8386b02 Tiny Rockchip related fixes. Fix boot priority on MiQi. Start from SD if insterted, otherwise boot from eMMC, go up with u-boot to 2017.11, 2018.03 hangs ... 2018-05-30 11:46:32 +00:00
Igor Pecovnik
3d9ea39a68 Cubox / HB Bugfix, move dev to 2018.03 (tested), add support for detecting Revision 1.5 SoMs 2018-05-29 13:43:20 +00:00
Tony
a3df0ce146
Delete redundant patch
Patch exists in tinker-specific folder, no need to apply to all Rockchip
2018-05-29 00:44:14 -04:00
Igor Pecovnik
23038e35b5 Merge u-boot patches from development 2018-05-27 13:11:47 +02:00
Igor Pecovnik
598453dc20 Merge Odroid C2 changes into stable 2018-05-25 06:41:02 +02:00
Igor Pecovnik
b241f5bca0 Merge S5P6818 into stable 2018-05-24 15:46:51 +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
daijh
9efdeaaf56 Add ROC-RK3328-CC support 2018-04-11 15:37:15 +08: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
tonymac32
1a403751fd Tinker S u-boot eMMC support 2018-03-04 13:37:32 -05:00
Igor Pecovnik
9e32020d1a RK3328 kernel and u-boot upstream patches and few small fixes 2018-02-27 16:21:49 +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
8cbd6de675 Changing U-boot to mainline, adding patches for dev (4.14.y). It boots but virtually nothing works except network ... moving Udoo Neo under deprecated. Only one sample exists and little to no users around. 2018-01-19 20:04:17 +01:00
zador-blood-stained
0e95e258db Fix random build breakage in mvebu-default u-boot 2018-01-17 16:58:07 +03:00
zador-blood-stained
1f55397619 Update mvebu-dev u-boot to v2018.01 2018-01-17 16:31:42 +03:00
Igor Pečovnik
a72a4f0bff
Merge pull request #852 from akamensky/master
espressobin enable emmc
2018-01-09 06:52:23 +01:00
Igor Pecovnik
caaa9eae10 Addad NanopiM3 (Nexcell s5p6818) default 4.4 kernel with fixed upstream patches, bootscript, uuid support, ... 2018-01-08 06:44:45 +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
Alexey Kamenskiy
1fc64b12f5 espressobin enable emmc 2017-12-26 08:23:57 +00: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
5f9f1344a6 [WIP] Add USB3 and SPI flash support in clearfog-dev u-boot 2017-12-03 22:58:38 +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
ThomasKaiser
f043d0aaec Consolidate sunxi DRAM clockspeed adjustments
https://forum.armbian.com/topic/4921-orange-pi-zero-plus-h5-chip/?do=findComment&comment=43900
2017-11-18 08:10:05 -08:00
ThomasKaiser
d0acf616e0 Set 624 MHz DRAM clock on OPi Zero Plus
Temperature difference between 408 and 624 MHz is less than 2°C and performance with some tasks slightly improves especially with lower cpufreq
http://linux-sunxi.org/Xunlong_Orange_Pi_Zero_Plus#DRAM
2017-11-17 07:03:16 -08:00
Igor Pecovnik
aa572c15a0 Update driver for 8189fs and u-boot patch for setting fixed MAC address. 2017-11-17 07:24:07 +01:00
Igor Pecovnik
25f4fff086 Add separate Orangepi Zero Plus config, adding wifi which working but getting new mac each time, USB enabled 2017-11-16 11:41:43 +01:00
Igor Pecovnik
23412838d8 Reworked Beelink X2, Tested: USB ports, HDMI, eMMC install, wireless station (40-50Mbit/s at close proximity) and AP mode, ... 2017-11-13 20:03:40 +01:00
zador-blood-stained
28502a0472 Clean up executable bits in patch files 2017-11-11 17:49:39 +03:00
ThomasKaiser
6161ac89f5 Adjust NanoPi M1 Plus 2 DRAM freq to FriendlyELEC defaults 2017-11-09 11:07:50 -08:00
Igor Pecovnik
c7fac68056 Add FriendlyARM M1 Plus2 .... HDMI works, eMMC, USB, ... need more testing. Enabled nightly image 2017-11-09 19:12:29 +01:00
Stefan Mavrodiev
7051559bcd Initial support for A20-SOM-EVB (#817) 2017-11-07 13:38:51 +03:00
karabek
509f15aa3e updated nanopi-duo patches (w/o nanopi.dtsi) 2017-11-07 10:14:15 +01:00
Stefan Mavrodiev
db22267d40 Update lime2 lan support (#815) 2017-11-06 12:08:06 +03:00
zador-blood-stained
aa062e64b1 Pull more Helios4 changes from #812 2017-11-01 20:12:10 +03:00
ThomasKaiser
8d8dcc7afb Add patch to fix NanoPi DRAM clockspeeds 2017-11-01 10:07:52 -07:00
zador-blood-stained
46e082773a Lower default CPU and DRAM frequencies for H5 and A64 devices 2017-11-01 13:04:00 +03:00
zador-blood-stained
aba730f488 Add mvebu dev branch
It uses the same kernel as next, but it uses mainline u-boot with DT
overlay support, but without SPI, USB and possibly SATA support
2017-10-31 21:23:43 +03:00
karabek
9dd5907550 add nanopi-duo as community supported board 2017-10-31 10:18:16 +01:00
Igor Pecovnik
55ed4d6ea5 Workaround for reboot resoulting in power off at some A20 based Olimex boards
https://github.com/armbian/build/issues/770
2017-10-30 20:10:06 +01:00
zador-blood-stained
13e94e58f0 Remove random executable bits from patch files 2017-10-27 16:14:21 +03:00
zador-blood-stained
7ad733a19a Fix sunxi u-boot splash
Tested on H3 with DM video driver, may require tweaks for older video
driver (A10/A20)
Boot splash files should be installed in family_tweaks due to different
requirements for different platforms
2017-10-26 18:40:30 +03:00
zador-blood-stained
3d4e37cc2e Enable THUMB build for sunxi u-boot
Upstream commit http://git.denx.de/?p=u-boot/u-boot-sunxi.git;a=commit;h=d48b4f0e2ead943e356e61af2503c55d4cd4f9f3
2017-10-24 17:47:03 +03:00
zador-blood-stained
dd48a784f5 Enable USB keyboards in sunxi u-boot
Switch to AUTOBOOT_KEYED with <Space> and <Ctrl-C> as autoboot abort
methods
Increase sunxi bootdelay to 1
Closes #789
2017-10-24 17:44:22 +03:00
Igor Pecovnik
1bdcdba9ff Adding Orangepi Zero Plus2 u-boot and kernel bits and removing unsupported ZeroPlus which is another beast we don't have yet: http://www.orangepi.org/OrangePiZeroPlus/ fancy ethernet and FTV8189. HDMI, WifI and eMMC on Zero2+ H3 works, while I had no luck with Bluetooth 2017-10-24 13:15:27 +02:00
zador-blood-stained
bdf68c74a2 FixSoPine dev u-boot compilation 2017-10-17 15:30:35 +03:00
zador-blood-stained
a1150cbb34 Move u-boot LCD patches to Pinebook board target 2017-10-15 13:08:49 +03:00
Igor Pecovnik
d926dd10d8 One more to disable 2017-10-15 10:42:26 +02:00
Igor Pecovnik
3b4d3729d7 Temporally disabling two broken patches. 2017-10-15 10:32:00 +02:00
zador-blood-stained
85928946b0 Add Pinebook LCD display driver for mainline u-boot
Pulled from https://github.com/anarsoul/u-boot-pine64/ with a couple of
changes and compilation fixes
2017-10-14 22:42:36 +03:00
Igor Pecovnik
e2e0959b78 Espressobin. Building atf'+u-boot for SPI nor flash (800/800/1M) working, auto booting from SD/USB should work (tested for SD at the moment), armbianEnv.txt loading, UUID support 2017-10-02 15:23:06 +02:00
zador-blood-stained
0d6757eee7 Enable eMMC support in u-boot for cubietruck 2017-10-02 14:18:52 +03:00
Martin Ayotte
710a7b89bc fix usb1-vbus on OPiWin 2017-10-01 17:47:28 -04:00
Martin Ayotte
7ab8184f15 fix usb-phy probe in u-boot 2017-10-01 09:43:41 -04:00
Igor Pecovnik
955cb8a5a9 Added u-boot building for Espressobin with patch for boot script autoloading from eMMC or USB. Untested ... need to make a proper boot script and environment file. 2017-10-01 14:58:09 +02:00
zador-blood-stained
e3f10c4c02 Add sunxi u-boot SPI SPL FIT loading fix 2017-09-24 20:39:13 +03:00
zador-blood-stained
215fea5fb7 Merge sun50i-dev u-boot patch dir into sunxi 2017-09-23 14:44:28 +03:00
zador-blood-stained
a717f1a506 Fix sunxi u-boot crash in fdt setprop 2017-09-22 21:07:18 +03:00
Antony Antony
aa69074a48 clean up NanoPi Neo Plus2 u-boot DT (#779)
sort the nodes
remove defaults which are sun50i-a64.dtsi
tested to boot from eMMC
2017-09-21 17:10:55 +03:00
zador-blood-stained
2133d9cc0a Fix XU4 kernel by adding the arch timer back 2017-09-16 18:52:49 +03:00
Stefan Mavrodiev
d37a8b439c Update A20-OLinuXino-MICRO-eMMC u-boot defconfig 2017-09-14 08:43:47 +03:00
zador-blood-stained
9be1e3cd1a Update u-boot to v2017.09 2017-09-12 11:37:18 +03:00
ThomasKaiser
50d0d5cb89 Removing non working 64GB Pinebook eMMC patch
Patch was not sufficient and testing happened with the wrong module anyway
2017-09-11 17:15:08 +02:00
ThomasKaiser
f6ff938948 Minor PineBook fixes
Wrt eMMC see https://forum.armbian.com/index.php?/topic/5089-pinebook-install-to-emmc/&tab=comments#comment-39000
2017-09-10 04:19:35 -07:00
Stefan Mavrodiev
25bf08e0de Merge branch 'micro-emmc' into olimex 2017-09-01 15:53:40 +03:00
Stefan Mavrodiev
beeafa2074 Add support for A20-OLinuXino-MICRO-eMMC
Add basic support for A20-OLinuXino-MICRO-eMMC. This includes new board
configuration, new .fex file. The board needs kernel patch, with disable hpi on
eMMC.

Additionally starting from revision J, the phy is changed - RTL8201 to LAN8710. This needs patch of dts file, to enable PA17 pin support.
2017-09-01 15:16:34 +03:00
zador-blood-stained
0723e3c051 Remove obsolete rk3328-dev patch 2017-09-01 13:33:19 +03:00
zador-blood-stained
960c6b1b3f Switch XU4 next to mainline u-boot 2017-08-31 16:09:47 +03:00
Thomas Kaiser
b7f73ef93a Adjust DRAM clockspeed and enable eMMC on NanoPi NEO Plus 2 2017-08-25 07:55:15 +02:00
Antony Antony
2c6ed472b5 Add uboot support(dts) for Nano Pi Neo Plus 2 (nanopineoplus2)
Initial u-boot support is based on mainline uboot repo
copying from OrangePi PC 2 sun50i-h5-orangepi-pc2

Signed-off-by: Antony Antony <antony@phenome.org>
2017-08-24 20:06:45 +02:00
zador-blood-stained
b321be0a8a Fix SOPine u-boot defconfig 2017-08-24 14:25:47 +03:00
zador-blood-stained
40e0e25454 Enable Pinebook dev configuration 2017-08-23 18:29:18 +03:00
zador-blood-stained
2d20064258 Switch sun50i-dev u-boot to upstream master 2017-08-23 13:35:38 +03:00
zador-blood-stained
88b4345666 Update rk3328 patches and config 2017-08-20 16:13:47 +03:00
zador-blood-stained
9ae7ffb8c9 Drop u-boot proxy usage for pine64-default 2017-08-19 17:09:34 +03:00
zador-blood-stained
64f5514ea0 Enable DT overlay support in rk3328 u-boot 2017-08-17 20:13:41 +03:00
zador-blood-stained
43b3beed8b [WIP] Initial Rock64 support 2017-08-16 20:17:57 +03:00
Igor Pecovnik
1e4a43a89a Small bugfix 2017-08-14 22:29:59 +02:00
Igor Pecovnik
c66f4319ad Preliminary support for FA Nanopi M3 ... kernel 4.11.12, at this moment. Building part currently relies on blobed u-boot and will be later adjusted to the one from sources, which is building but need to be signed with naopi-load tool: https://github.com/rafaello7/bl1-nanopi-m3#embedding-u-boot Thanks to @rafaello7 who made the hard steps ... https://github.com/friendlyarm/linux-3.4.y/issues/3 2017-08-14 22:06:34 +02:00
zador-blood-stained
634110e787 Split ATF compilation into a separate function 2017-08-06 16:52:43 +03:00
zador-blood-stained
fe6969b057 Add proper u-boot config for Zero Plus 2 H3
Fixes #715
2017-07-14 12:06:54 +03:00
Igor Pecovnik
26f6bfce9e Disable wandboard - breaks 2017-07-13 18:24:23 +02:00
zador-blood-stained
0c188716ae Update mainline u-boot to v2017.07 2017-07-10 23:23:24 +03:00
Igor Pecovnik
b57c9d767e Add missing u-boot conf 2017-07-10 04:08:34 +02:00
Igor Pecovnik
9348021757 Remove deprecated patch 2017-06-18 09:47:06 +02:00
zador-blood-stained
c1edcdb396 Add possible missing bits for A10/A20 EMAC/GMAC 2017-06-14 23:18:12 +03:00
zador-blood-stained
f446d141a1 Update pine64-default bootlogo and u-boot patches 2017-05-30 15:17:44 +03:00
zador-blood-stained
8e4cd0a39e Fix for mvebu new u-boot and boot script 2017-05-28 20:52:05 +03:00
zador-blood-stained
13ef1f38f7 Fix for mvebu u-boot compilation 2017-05-28 18:08:37 +03:00
zador-blood-stained
1dab6a056e Additional fix for overlays support in u-boot 2017-05-23 12:30:03 +03:00
zador-blood-stained
38d9afe64a Add NanoPi M1 u-boot defconfig 2017-05-20 16:41:32 +03:00
Igor Pecovnik
85c00553ab EXT4 support enabled by default, patch become deprecated. 2017-05-17 20:40:37 +02:00
zador-blood-stained
427ecc712c Update mvebu boot script and patches 2017-05-16 16:39:58 +03:00
zador-blood-stained
dc9c7ea5c2 Update pine64-default patches part 3 2017-05-13 20:51:26 +03:00
zador-blood-stained
1645d6820f Update pine64-default patches and boot script part 2 2017-05-13 17:27:39 +03:00
zador-blood-stained
a759e65477 Update pine64-default patches and boot script 2017-05-13 16:29:14 +03:00
zador-blood-stained
384e9a0948 Update pine64-default configs 2017-05-12 21:05:41 +03:00
Igor Pecovnik
c8f15e5ff0 Add several DVB drivers. https://forum.armbian.com/index.php?/topic/4248-tinkerboard-dvb-drivers Removing deprecated patches, added upstream patch. 2017-05-12 07:33:41 +02:00
Martin Ayotte
2c994750ee add missing USBs in u-boot for opizeroplus2 2017-05-11 13:40:13 -04:00
Martin Ayotte
a4f2dda417 add missing MMC2 in u-boot for opizeroplus2-h3 2017-05-11 12:38:03 -04:00
zador-blood-stained
63a88eab9a Typo 2017-05-09 15:54:53 +03:00
zador-blood-stained
40fd82f633 Cleanup 2017-05-09 15:51:02 +03:00
zador-blood-stained
40061e1ff7 Readd OPi Zero+2-H3 u-boot defconfig 2017-05-09 15:50:37 +03:00
zador-blood-stained
8950127007 Add OPi Zero default cpufreq u-boot patch 2017-05-09 15:36:40 +03:00
zador-blood-stained
549a20ecc2 Small cleanup 2017-05-09 15:33:57 +03:00
zador-blood-stained
4db20ff61a Readd lime2-emmc u-boot config 2017-05-09 14:21:16 +03:00
zador-blood-stained
6dcbb3cbf7 Do not relocate initrd for sun8i-default config
This fixes booting legacy kernel on OPi Zero 256MB
2017-05-09 12:51:00 +03:00
zador-blood-stained
ae7fdd86d0 Remove obsolete patch 2017-05-08 21:41:40 +03:00
zador-blood-stained
b2f6ea41a0 Add DE2 fixes 2017-05-08 21:05:31 +03:00
zador-blood-stained
0b2e5efc14 Add DM DE2 driver to sun8i-dev u-boot 2017-05-08 21:00:30 +03:00
zador-blood-stained
42232739d0 WIP: Update mainline u-boot to v2017.05 2017-05-08 19:56:18 +03:00
Igor Pecovnik
7a5309cc50 Setting fixed MAC address for rockchip devices and upstream patch for Rockchip 2017-05-04 07:03:09 +02:00
Igor Pecovnik
088f758fe9 Add eMMC support for Cubieboard2 2017-05-03 19:18:52 +02:00
Martin Ayotte
3771aef3d5 add LPDDR3 patch to Pinebook 2017-05-03 08:23:13 -04:00
zador-blood-stained
338bd58b0b Clean up BOOTPATCHDIR logic, set default value 2017-05-02 12:47:47 +03:00
Martin Ayotte
d1168437e4 fix OPiZeroPlus2-H3 to use it own DTS, not the NanoPiNeoAir 2017-04-28 15:27:22 -04:00
ThomasKaiser
cc7bde95ac Limit max cpufreq to 912MHz on NanoPi NEO2
https://irclog.whitequark.org/linux-sunxi/2017-04-26#19295051;
2017-04-27 08:33:07 -07:00
Martin Ayotte
c116342b7f Merge branch 'master' of https://github.com/igorpecovnik/lib
Conflicts:
	patch/u-boot/u-boot-sun50i-dev/add-FIT-support-H5-spl.patch
2017-04-26 10:41:17 -04:00
Martin Ayotte
fe7eec4eb0 add missing MMC_SUNXI_SLOT_EXTRA in both SPL and U-Boot 2017-04-26 10:36:47 -04:00
ThomasKaiser
f6875b1415 Lower DRAM clockspeed for H5 boards
For NEO2 please see https://irclog.whitequark.org/linux-sunxi/2017-04-15
2017-04-26 00:46:19 -07:00
Igor Pecovnik
41c2c3051e Update u-boot patch for Nano M1+2 2017-04-25 22:12:30 +02:00
Igor Pecovnik
147545fabb Added Nanopi M1 plus2 kernel DT and uboot config, not done yet 2017-04-25 20:06:08 +02:00
Igor Pecovnik
f651f71eaa Removing obsolete patches
https://forum.armbian.com/index.php?/topic/4090-u-boot-proxy/&do=findComment&comment=30296
2017-04-25 20:01:52 +02:00
Martin Ayotte
5ad09a5c06 add new OPiZeroPlus patches + tweak OPiPrime/OPiWin patches 2017-04-25 12:14:39 -04:00
Martin Ayotte
2e2887f64b OpiPrime has 2GB RAM 2017-04-23 10:35:16 -04:00
Martin Ayotte
f8153eda09 initial patches for orangepiprime 2017-04-21 21:20:46 -04:00
Martin Ayotte
509f2ab04d add missing sun50i_a64_opiwin.its to u-boot builds 2017-04-20 10:26:30 -04:00
Martin Ayotte
a09111c407 remove useless wifi in A64 u-boot 2017-04-19 17:34:56 -04:00
Martin Ayotte
ae0fc2e757 preliminary commit for new OrangepiWin builds 2017-04-18 12:35:50 -04:00
Thomas Kaiser
a254dda2c7 Add WiP Wandboard Quad support 2017-04-17 15:55:21 +02:00
Igor Pecovnik
5385360891 Patch to disabled U-boot messages and display logo only. Disabled by default. 2017-03-26 20:31:33 +02:00
Thomas Kaiser
96e7b00999 Limit BPi M2+ boot cpufreq to 816MHz again
Due to overheating issues we chose to limit this board to 816MHz max based on cpuburn tests in the past. Setting got lost and is now applied again.
2017-03-24 12:17:53 +01:00
zador-blood-stained
bb6e6bc854 Add missing options to OPi Zero u-boot defconfig 2017-03-15 18:16:12 +03:00
zador-blood-stained
c07cdf075d Update mainline u-boot to 2017.03 2017-03-13 22:05:48 +03:00
zador-blood-stained
b42054d78b Fix fdt get value byte order for 32-bit int values
This is required to get and reuse DT phandles
2017-03-08 16:19:37 +03:00
Igor Pecovnik
28af765cb0 Cubox family patch fixes 2017-02-28 12:19:19 +01:00
zador-blood-stained
335b6cf0df Cleanup for patches part 2 - remove random exec bits 2017-02-27 00:20:28 +03:00
zador-blood-stained
b13e054ff5 Change u-boot overlay support activation patch 2017-02-26 22:26:13 +03:00
zador-blood-stained
3b2bfeecef Cleanup for patches - disable random file mode changes 2017-02-26 20:38:28 +03:00
zador-blood-stained
b644086987 Convert boot_mode and sun8i machid tou-boot patch
Needs testing on A10, A20, ... with legacy kernel
2017-02-22 15:26:26 +03:00
zador-blood-stained
d8191b649b Fix TV out on H5/Orange Pi PC2 2017-02-22 12:58:43 +03:00
zador-blood-stained
71f43993a8 Fix u-boot splash patches again 2017-02-21 20:13:44 +03:00
zador-blood-stained
ed9c2bde47 Update LPDDR3 voltage patch for new ATF branch 2017-02-21 20:12:33 +03:00
zador-blood-stained
82bf79b703 Add simplefb nodes to Pine64 dev kernel
Rename some video support patches
2017-02-21 20:11:19 +03:00
zador-blood-stained
6bf30d53dc Update H5/A64 disp2 u-boot driver
HDMI output works on H5 and A54, CVBS doesn't work on H5 yet (?)
2017-02-21 16:13:14 +03:00
zador-blood-stained
198d8c1366 Update disp2 u-boot driver for H3 based boards
Enable composite output on several boards
2017-02-21 15:42:32 +03:00
zador-blood-stained
473ea67fda Clean up NanoPi Neo 2 support patch 2017-02-21 13:52:59 +03:00
zador-blood-stained
473b3d7a41 Fix bootsplash patches 2017-02-21 13:39:54 +03:00
zador-blood-stained
e16eb439bd Enhance boot splash patches 2017-02-21 13:25:57 +03:00
Igor Pecovnik
c7a9f59293 Adding Nanopi Neo 2 to build targets 2017-02-16 21:44:30 +01:00
Igor Pecovnik
4a579d8570 Enabling bootsplash on PC2 2017-02-15 12:20:32 +01:00
zador-blood-stained
3a5610026c Do not disable VCCIO for the PC2 shutdown 2017-02-12 00:48:32 +03:00
zador-blood-stained
33dfd56034 Add experimental shutdown support for OPi PC2 2017-02-11 23:17:07 +03:00
zador-blood-stained
4459cefd3c Add CVBS support for sun8i and enable it on OPi Zero 2017-02-10 23:15:16 +03:00
zador-blood-stained
5c0c4919e7 Add LPDDR3 voltage patch for the ATF 2017-02-10 16:39:17 +03:00
zador-blood-stained
61e012207c Make LPDDR3 patch board specific since it breaks PC2 u-boot 2017-02-09 21:26:02 +03:00
zador-blood-stained
4a2986b715 Update LPDDR3/SoPine support patch 2017-02-08 23:56:03 +03:00
zador-blood-stained
3887c083c1 Further SoPine fixes 2017-02-08 00:14:19 +03:00
zador-blood-stained
5bd091dd8e Add preliminary SoPine mainline support 2017-02-07 23:54:15 +03:00
zador-blood-stained
36ae17dd59 Apply sunxi FB switching patch only to default branch 2017-01-31 19:21:52 +03:00
zador-blood-stained
bd2cb32440 Enable DT overlay support in u-boot for sunxi boards 2017-01-30 16:26:43 +03:00
zador-blood-stained
a0bb089a80 Update H3 HDMI driver in u-boot 2017-01-28 15:37:08 +03:00
Erwin Houtsma
a7a70c830a Add sy8106a driver to SPL (#610) 2017-01-27 17:06:20 +03:00
zador-blood-stained
75e61b5f96 Fix A64 SPL patch and disable USB KB for sunxi64 u-boot 2017-01-25 16:26:05 +03:00
Martin Ayotte
09433197ab add SPL_SPI_FLASH to A64 2017-01-24 16:38:11 -05:00
Martin Ayotte
033008d078 fix compile error : missing arg 2017-01-24 16:19:57 -05:00
Martin Ayotte
59c29e6dde add missing SPL_SPI support 2017-01-24 16:19:13 -05:00
zador-blood-stained
f7a8f93787 Fix H5 SPL and add u-boot video support 2017-01-24 17:10:23 +03:00
zador-blood-stained
0cb9e22eec Switch Pine64-dev and PC2 u-boot sources 2017-01-24 00:04:12 +03:00
Igor Pecovnik
fe44456007 Adding Merrii Hummingbird A20 to WIP section as user request 2017-01-23 09:54:22 +01:00
zador-blood-stained
2b2b934e40 Add proper SPI+USB boot support for Clearfog
USB controller config tested on Base only
Fix u-boot default environment and build options
2017-01-19 15:52:33 +03:00
zador-blood-stained
ed5bf217b6 Update mainline u-boot to v2017.01 2017-01-10 01:19:09 +03:00
zador-blood-stained
2479d35934 Adjust Pine64-default u-boot environment patch 2017-01-09 23:31:08 +03:00
zador-blood-stained
1d38c5ba68 Apply u-boot screen switch patch to sunxi-default 2017-01-03 18:33:13 +03:00
Igor Pecovnik
b73ee2876d NanoPi M1 ... error if I2C support is enabled in uboot 2017-01-02 16:49:18 +01:00
Thomas Kaiser
6f53adfe14 NanoPi M1 has no SY8106A voltage regulator 2017-01-02 09:59:30 +01:00
Igor Pecovnik
f150b8a102 Further adjustments to Friendly Arm Nanopi M1 boot config 2017-01-02 08:28:43 +01:00
Igor Pecovnik
1923c897ca Bugfix, re-add Nano Pi M1 config to uboot 2017-01-02 08:21:05 +01:00
zador-blood-stained
aa8dc82319 Fix PLL1 setup in u-boot patch by @megous 2016-12-29 14:16:56 +03:00
zador-blood-stained
144dbc4769 Modify u-boot config for orangepizero 2016-12-29 14:09:09 +03:00
zador-blood-stained
d5b51f6a4f Update Neo and Air patches for sun8i-dev 2016-12-28 22:07:56 +03:00
Igor Pecovnik
1dfd157a9f Typo
https://github.com/igorpecovnik/lib/issues/588
2016-12-24 19:01:13 +01:00
Igor Pecovnik
4387a916b6 Add missing the &emac the device tree entry in NanopiAir 2016-12-24 08:41:51 +01:00
Igor Pecovnik
b22432294e BPi M2+ fixes for mainline kernel and added to night builds 2016-12-23 18:44:59 +01:00
Igor Pecovnik
13f15a738f Moving M3 patches to DEV and per board directory, adjusted boot splash patch (tested), removed deprecated patches 2016-12-20 16:19:57 +01:00
zador-blood-stained
428c57ae43 Adjust Clearfog Pro/Base separation 2016-12-20 16:42:40 +03:00
zador-blood-stained
7b227afc59 Fix Odroid C2 boot script syntax
Add ext4 fixes patch from PR36
2016-12-20 16:25:09 +03:00
zador-blood-stained
0b7dca1ac2 Make Armada u-boot compilation less verbose 2016-12-11 23:40:57 +03:00
zador-blood-stained
a614072906 Rename and remove obsolete u-boot patches 2016-12-11 17:40:27 +03:00
zador-blood-stained
099bfb6e2e Split Armada into clearfogbase nad clearfogpro 2016-12-09 14:27:04 +03:00
Igor Pecovnik
1bf75eda2d Fix for 4k monitors to limit down screen resolution from auto detected 4k down to 2k since older Allwinner devices can't display it.
https://forum.armbian.com/index.php/topic/2864-h3-u-boot-hdmi-driver/?p=20981
2016-12-06 06:02:03 +01:00
zador-blood-stained
35d115dc49 Adjust some Clearfog patches 2016-12-03 18:51:34 +03:00
zador-blood-stained
6c736c9532 Small bugfix 2016-12-02 18:37:04 +03:00
zador-blood-stained
a6736a8524 Readd SPI boot support for Opi Zero 2016-12-02 16:57:50 +03:00
zador-blood-stained
e84d47fc3d Split missing H3 boards u-boot patch
Use NanoPi M1 u-boot config from upstream
This will require patching kernel to add M1 DT file
2016-12-01 22:18:51 +03:00
zador-blood-stained
6926b4c204 Update u-boot DE2 HDMI patch 2016-11-30 16:45:07 +03:00
zador-blood-stained
40615a8571 Readd H3 video driver for u-boot 2016-11-29 20:41:13 +03:00
zador-blood-stained
d1b4d110ab Add SATA and SPI NOR boot targets for Clearfog
Adjust Clearfog Base patches
2016-11-29 18:55:11 +03:00