Commit Graph

613 Commits

Author SHA1 Message Date
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