Commit Graph

613 Commits

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