Commit Graph

1078 Commits

Author SHA1 Message Date
Gunjan Gupta
fd3531faaf
uboot:sunxi: fix compilation failure on orangepizero2 and Bigtreetech cb1 (#5782) 2023-10-04 07:57:41 +02:00
Gunjan Gupta
53cdc25adc
u-boot: sunxi: bumped to 2023.10 (#5780) 2023-10-03 19:25:51 +02:00
Ricardo Pardini
ab416849ba mixtile-blade3: ripoff Joshua Riek's since he did a better job
- back to radxa fork of next-dev
- re-add my stable-MAC-from-serial# hack
2023-10-03 14:11:30 +02:00
rll
b827e720b0 hinlink-h28k: support new SoC Rockchip rk3528, add new board Hinlink H28K
Co-authored-by: Ricardo Pardini <ricardo@pardini.net>
2023-09-30 21:56:21 +08:00
Ricardo Pardini
e55dd491c4 qemu-uboot-{x86,arm64} fixes + bump to u-boot 23.10-rc4 + rework x86 patches 2023-09-29 14:27:09 +02:00
Gunjan Gupta
8f21f5e8a5 sun50i H6: Fix incorrect ram detection 2023-09-29 17:37:55 +05:30
Ricardo Pardini
2c24f7e334 orangepi3b: update u-boot revision at Kwiboo, remove patches 2023-09-29 08:47:52 +02:00
Ricardo Pardini
a79c2f7544 orangepi3b: switch to Kwiboo's 23.10(-rc4) u-boot, plus patches
> Based on AmazingFate's kernel DT and Kwiboo's `rk3568-2023.10`

Tested with a OrangePi 3B 4GB v1.1:
- SD-card boot
- eMMC boot
- SPI Flash boot
  - chip is XMC `XM25QU128CWIQ`, not `W25Q256JWEIQ` listed in schematics
- PCIe/NVMe
- Ethernet has stable MAC
- can boot both edge (mainline) and legacy (vendor rk 5.10) kernels

- USB in uboot is untested
- UMS untested (I lost my A-to-A otg cable)
2023-09-26 09:34:32 +02:00
Gunjan Gupta
889183b78c u-boot-sunxi: Fix incorrect ram detection
Also updated orangepi3-lts support patch from Jernej's patch from LibreELEC
2023-09-19 20:08:18 +02:00
lelemka0
ac829eb66d Nanopi-r1: fix boot from eMMC 2023-08-31 07:38:51 +02:00
Gunjan Gupta
2fb0ef6cf6 BigTreeTech CB1: Bump u-boot to v2023.07.02
I had kept it back because I wasn't sure about what values to use
for CONFIG_DRAM_SUN50I_H616_DX_ODT, CONFIG_DRAM_SUN50I_H616_DX_DRI,
CONFIG_DRAM_SUN50I_H616_CA_DRI and CONFIG_DRAM_SUN50I_H616_TPR10.
I found them on BigTreeTech's u-boot repository

https://github.com/bigtreetech/u-boot/blob/v2023.07-cb1/configs/bigtreetech_cb1_defconfig
2023-08-26 13:40:10 +02:00
Gunjan Gupta
71295431b8 Sunxi: fix boot issue on some boards introduced after u-boot bump
After we bumped u-boot to version v2022.10, a couple of boards
stopped booting because the CONFIG_SPL_STACK value used in our
u-boot config was too low for that SOC. This change drops explicit
CONFIG_SPL_STACK defination from the affected boards.

The boards confirmed to have the issues were Orange Pi 3 LTS and
NanoPi Neo Black2 but I suspect that NanoPi K1 plus is also affected
hence similar change is done for that as well
2023-08-24 01:03:04 +05:30
Ricardo Pardini
c35adb37c7 odroidm1: de-infest Petitboot 🔥 use Kwiboo's 2023.10 u-boot; UMS works
- using Kwiboo's `rk3568-2023.10` branch  with BINMAN-handled blobs
- patches (defconfig unless indicated):
  - boot usb first (rockchip-common)
  - blink leds & keep red one one on preboot; reset SPI env once after deinfesting from Petitboot
  - change usb_host0_xhci to otg (u-boot dtsi)
  - enable DM_GADGET, UMS 🔥 and RockUSB
- **usage instructions**:
  - build & burn image to SD card
  - insert SD card into board
  - **hold the recovery (RCY) button** and power on the board
  - watch board boot
  - **de-infest Petitboot**: use `armbian-install` to install bootloader to MTD
    - if you don't, you'll need to hold the recovery button every boot
    - optionally: use `armbian-install` to install OS to eMMC/NVMe/USB
  - power-off board
  - remove SD card (new u-boot always boots SD first!)
  - boot into your newly de-infested machine
    - boot order: USB, SD, MMC, NVME, SCSI
- de-infested machine can now boot (directly) from USB/SATA/NVMe, possibly via EFI:
  - Armbian UEFI-arm64
  - Fedora 38 aarch64
  - HASSOS for ODROID-M1
  - Talos arm64
  - others...
- extra: new u-boot by Kwiboo (with GMAC patches) gives us stable MAC address
  - although it is based on cpuid#, doesn't match the HK sticker on the board
    - run `fw_setenv ethaddr XX:XX:XX:XX:XX:XX` to change eth addr in SPI flash environment if needed
- `odroidm1`: update DDR/BL31 blobs (this depends on https://github.com/armbian/rkbin/pull/20)
2023-08-22 12:57:34 +02:00
Igor
dcd6fd2e54
Revert Meson64 / odroid fancontrol (#5617)
* Revert "packages: bsp: odroid: fanctrl: `maintenance`"

This reverts commit 94f7bfff89.

* Revert "Improve Meson64 Support: `ODROID`"

This reverts commit 40530ee344.
2023-08-20 21:11:54 +02:00
Patrick Yavitz
40530ee344 Improve Meson64 Support: ODROID
Backport DTS/DTSI changes from linux-6.4.y to 6.1.y
Add meson64-reboot driver to all boards
Add board: ODROID N2L
Add uart_A uart_AO_B uart_B uart_C where appropriate
U-Boot v2023.07.02: ODROID N2/N2L/N2Plus/C4

Meson64-reboot driver: (source: tobetter)
While the current meson64-reboot driver is cleaner and doesn't
depend on modding other kernel sources, its functionality leaves
much to be desired. One example can be found in the ODROID C4.
Using the current driver, the board will not properly power off,
leaving the POWER LED still on. The new driver powers off the unit
completely.

Fan control: (ODROID N2L/N2PLus)
Added service and script for controlling the trip point.
fanctrl: arguments: 65 55 45 35 25 menu run

                              ┌──┤ Fan Control ├──┐
                              │                   │
                              │    6) 65°C        │
                              │    5) 55°C        │
                              │    4) 45°C        │
                              │    3) 35°C        │
                              │    2) 25°C        │
                              │    E) Exit ..     │
                              │                   │
                              │                   │
                              │      <Ok>         │
                              │                   │
                              └───────────────────┘

NOTES: (N2L/HC4): I do not own the units so I can't run tests.

Signed-off-by: Patrick Yavitz <pyavitz@xxxxx.com>
2023-08-20 19:20:06 +02:00
Joshua-Riek
8dbe1d7ab6 add nvme boot support for the nanopc t6 2023-08-12 10:05:20 +02:00
Ricardo Pardini
5cdc019a24 mekotronics rk3588: rebase & unify u-boot patches; restore attribution for one patch
- no functional changes, only a double patch I'd rather not have
2023-07-26 13:28:30 +02:00
Ricardo Pardini
62c0052af8 mixtile-blade3: bump uboot, rebase uboot patches, add mac-from-serial# patch; enable OTP in defconfig; restore attribution for one patch
- this sets serial#-based MAC address in uboot env and Rockchip Vendor Partition, but that is not picked up by the default kernel driver yet
2023-07-26 13:27:28 +02:00
Patrick Yavitz
e22fa3aa35 board: bananapim2s: git format-patch remove builder warnings
Signed-off-by: Patrick Yavitz <pyavitz@xxxxx.com>
2023-07-23 14:40:52 +02:00
Patrick Yavitz
effbb4c900 Board: Bananapi M2S additional support
Removed WIP status
Added CONFIG_R8169=m to defconfig(s) (eth support)
Modified and added additional patches (linux 6.1 / 6.4)
U-Boot v2023.07.2 (dropped v2022.10)
Upstream BT FW (rtl8822cs) is now shared between CM4IO and M2s

Signed-off-by: Patrick Yavitz <pyavitz@xxxxx.com>
2023-07-23 14:40:52 +02:00
Gunjan Gupta
5409cb73b2 patch: u-boot: Enabled power led on H5 boards 2023-07-17 20:23:41 +05:30
Gunjan Gupta
591379bbb0 patch: u-boot: sunxi: remove upstreamed patch 2023-07-16 01:58:05 +05:30
Ricardo Pardini
ca7f437fb5 RFC: rockpro64: blobless with 2.8.5 ATF, 2023.01 u-boot
- `2023.04` fails during USB init, thus using 23.01 (23.07 untested)
- `blobless` with newer 2.8.5 ATF
- the previous problems with PCIe are _not_ totally solved by this
2023-07-12 12:28:48 +02:00
Gunjan Gupta
e284a94f6a u-boot: allwinner: nanopineo: Bring back patches for nanopineo 2023-07-08 00:10:38 +05:30
Ricardo Pardini
5ca8636afa rk3588-legacy: add Mixtile Blade 3 mixtile-blade3.wip
- with it's own rockchip `next-dev` based u-boot and patches for PD
2023-07-05 21:22:22 +02:00
amazingfate
f2257004a8 u-boot-radxa-rk3588: give SD higher boot priority than NVME 2023-07-04 19:23:25 +02:00
Gunjan Gupta
2500e106ac allwinner: h3: h5: disable uart0 pinctrl when crust is enabled 2023-07-02 02:47:40 +05:30
Ricardo Pardini
ea30a06236 mekotronics: refactor vendor conf/hooks; vendor uboot with new patches; new blobs
- meko: don't use Radxa's Rock-5A u-boot anymore, switch to rockchip vendor next-dev branch
- meko: my own (horrible) patches for MAC address stability / defconfig
- meko: cherry picked a few patches for getting rid of BL32/read Bl31 from env and other fixes from Radxa
- meko: add OTP node to 3588 dtsi (so we don't need kern-dtb in ITS for working OTP)
- meko: refactor common code across 3 (soon to be 4) board files into vendor conf and hooks
- meko: bump DDR/BL31 blobs for all Meko boards
2023-07-01 14:53:34 +02:00
Ricardo Pardini
4456572267 khadas-vim3l: bump u-boot to 2023.07-rc4, add KBI support for easy PCI/USB3 switching
- symlink in patch/u-boot/v2023.07 from `board_khadas-vim3` to `board_khadas-vim3l` since KBI is the same for both
- add myself as BOARD_MAINTAINER
2023-06-26 20:55:35 +02:00
Ricardo Pardini
9aca4e549a khadas-vim3: bump u-boot to 2023.07-rc4, add KBI support for easy PCI/USB3 switching
- this introduces the `v2023.07` u-boot patch directory, with the boot-usb-nvme-scsi-first patch rebased
- add myself as BOARD_MAINTAINER
2023-06-26 20:55:35 +02:00
Gunjan Gupta
748eba0031 Allwinner: Bump u-boot to v2023.07-rc4 2023-06-26 20:54:19 +02:00
Gunjan Gupta
e4f9f637a6 Allwinner: Bump u-boot to 2023.04 2023-06-26 20:54:19 +02:00
Gunjan Gupta
9525b2d16c Allwinner: Bump u-boot to 2023.01 2023-06-26 20:54:19 +02:00
Gunjan Gupta
fddd8d1de4 allwinner: add u-boot patches to enable crust on H3 2023-06-20 21:36:31 +02:00
Elias Bakken
2aec6c23e6
Add support for Recore (#5351)
* Add support for Recore

Signed-off-by: Elias Bakken <elias@iagent.no>

* Add board maintainter to boad config

Signed-off-by: Elias Bakken <elias@iagent.no>

---------

Signed-off-by: Elias Bakken <elias@iagent.no>
2023-06-19 22:02:56 +02:00
Igor
8755d232ff Adjust CB1 u-boot config due to uboot bump 2023-06-15 15:29:59 +02:00
Igor
f6a51cb39a Remove deprecated patches 2023-06-15 13:22:47 +02:00
Igor
b0857b70fd Fix remaining u-boot patch problems
Signed-off-by: Igor <igor@armbian.com>
2023-06-15 13:22:47 +02:00
Igor
791715ce74 Update Nanopi Duo patch, tested for booting 2023-06-14 15:31:33 +02:00
Igor
044445d189 Update Core2, k1plus, opi3lts
3lts tested - does not boot!
2023-06-14 15:31:33 +02:00
Igor
5835d2d7ab
Merge branch 'main' into CB1-current-pr 2023-06-14 05:47:50 +02:00
Gunjan Gupta
bc46fd509a allwinner: bump u-boot to v2022.10 2023-06-13 20:19:36 +02:00
Ricardo Pardini
fbd169afb3 u-boot espressobin v23.01: fix defconfig patch so it applies 2023-06-13 19:32:35 +02:00
Igor
0b6d57e7d8 u-boot bpi r2 fixing broken u-boot patch
CSC target, not tested on hardware
2023-06-13 19:32:21 +02:00
Ricardo Pardini
210da22fb0 u-boot-rockchip64-v2022.04 nanopi-r4s: fix patches so they actually apply
- those were clearly/unfortunately meant to be applied "after" the common patches, so add a `zzz-` prefix
- how did this _ever_ work before? unclear...
2023-06-13 19:31:40 +02:00
Ricardo Pardini
165c55377b u-boot-rockchip64-v2022.04: rebase/archeology patches against 22.04 2023-06-13 19:31:40 +02:00
Ricardo Pardini
6d7467fc68 uboot: introduce u-boot-sunxi-v2023.04 for Allwinner boards using 23.04 u-boot (eg orangepiplus2e)
- drop `allwinner-fix-nand-spl.patch` which has been mainlined
- hammer `allwinner-boot-splash.patch` since Kconfig changed a bit upstream
2023-06-13 19:31:40 +02:00
Ricardo Pardini
dfb199ebe6 uboot: introduce u-boot-sunxi-v2022.04 for Allwinner boards using 22.04 u-boot (eg nanopineo)
- `sunxi_common`: don't overwrite `BOOTPATCHDIR` if it is set by the board (default, but do not overwrite)
- hammer `allwinner-h616-GPU-enable-hack.patch`
2023-06-13 19:31:40 +02:00
Ricardo Pardini
97fe214268 u-boot-sunxi: sunvell-r69: fix Makefile patching so it works against 22.07
- + archeology
2023-06-13 19:31:40 +02:00
Alan
9d69bb1da6 Patches: add current(6.1) & edge(6.2) patch for BigTreeTech CB1
Signed-off-by: Alan.Ma from BigTreeTech tech@biqu3d.com
2023-05-30 17:36:29 +08:00
boyi
ce002b2240 bananapim5/bananapim2s: adding patches to boards for nvme/scsi, but not USB 2023-05-27 12:15:04 +02:00
Bochun Bai
3cb92f6204 add support for NanoPi R4SE 2023-05-15 17:33:03 +02:00
amazingfate
df3c7eb461 use the same patch dir for u-boot from radxa 2023-05-15 17:12:20 +02:00
Ricardo Pardini
d9f2ec3255 qemu-uboot-arm64/qemu-uboot-x86: split more x86/arm64 differences, add some docs, bump to u-boot 23.04 +update-patches; add arm64 bootscript 2023-04-28 21:32:52 +02:00
Ricardo Pardini
e37adb5c8f rockchip-rk3588: add new board mekotronics-r58x-4g.wip (Mekotronics R58X-4G); add u-boot patches 2023-04-24 14:23:21 +02:00
amazingfate
4266d0bdca rockchip-rk3588: add new board hinlink-h88k 2023-04-22 10:04:58 +02:00
Muhammed Efe Çetin
fd6a6dec66 Add support for NanoPi R6S 2023-04-16 16:13:09 +02:00
Paolo Sabatino
97c3448983 rockchip: put all rockchip 32 bit into uboot/v2022.04 directory 2023-03-24 23:13:42 +01:00
Markus Hoffrogge
4271d7a17f Fix sunxi uboot redefined warnings on "CONFIG_VIDEO_*"
- wrap CONFIG_VIDEO definitions with if !defined pattern
2023-03-22 07:46:37 +01:00
Neil Armstrong
7fea781425 Add support for BPI-CM4 with BPI-CM4IO
Add support for both the BananaPi BPI-CM4 module and the BananaPi
baseboard which is compatible with the RaspberryPi CM4IO baseboard.

The BananaPi BPI-CM4 module follows the CM4 specifications at [1],
but with a single HDMI port and a single DSI output.

The current CM4IO baseboard DT should work fine on the Raspberry CM4
baseboard and other derivatives baseboards, but proper DT should
be written for other baseboards.

The DT is imported from the submission done at [2] and applied
at [3], the u-boot support was submitted at [4].

[1] https://datasheets.raspberrypi.com/cm4io/cm4io-datasheet.pdf
[2] https://lore.kernel.org/all/20230303-topic-amlogic-upstream-bpi-cm4-v2-0-2ecfde76fc4d@linaro.org/
[3] https://git.kernel.org/amlogic/c/0262f2736978b1763363224698f47112a148dab0
[4] https://lore.kernel.org/all/20230307-u-boot-cm4-v1-0-43f5a393cd37@linaro.org/

Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
2023-03-13 13:55:15 -03:00
Derek LaHousse
3314bc9d66 update u-boot to 2023.01 for espressobin 2023-03-11 13:22:54 -03:00
Jianfeng Liu
00ae9403ea
remove u-boot patch fix-vcc3v3.patch for radxa-e25 (#4850) 2023-02-23 09:24:58 +01:00
Igor Pečovnik
26b41a50fa
Merge branch 'main' into AR-1543 2023-02-22 08:12:57 +01:00
amazingfate
94751ee733
fix radxa e25 uboot and kernel boot 2023-02-22 08:04:18 +01:00
Ricardo Pardini
4db330178f
odroidhc4: u-boot to 23.01; add HC4-SPI target preboot for USB; change HC4-SD target defconfig to new hc4_sd, similar to c4
- `odroidhc4`: pre-configure `fancontrol` so fans work right out of the box
2023-02-18 07:46:32 -03:00
Ricardo Pardini
1159f073ed
rk322x-box: fix relative path reference to .bin in patch (a-n changed u-boot path on disk) - for @paolosabatino 2023-02-18 07:46:26 -03:00
Ricardo Pardini
faa0d7ee8f
odroidc2: u-boot: use minimal patchset for v22.01 u-boot
- symptoms:
  - no video display in u-boot
  - can't boot from SD (but does from eMMC)
- this has proven to solve nothing, but is still neat
- real problem is probably the FIP?
2023-02-18 07:46:18 -03:00
Ricardo Pardini
522917bb8f
armbian-next: clearfog/cubox/odroidxu4: patching Makefile armv5 to armv7-a so uboot compiles with modern gcc
- have absolutely no idea if this works. there's also some other `armv5` variants to try if this does not.
- XU4's CPU is Exynos5422 ARM Cortex-A15 which should be armv7-a indeed, so why not?
- i.MX 6 series is ARM Cortex-A9 or Cortex-A7, which should be armv7-a indeed, so why not?
- ARMADA A388 is 32-bit Cortex A9, which should be armv7-a indeed, so why not?
2023-02-18 07:41:30 -03:00
Ricardo Pardini
4a9529dd34
armbian-next: qemu-uboot-arm64 and qemu-uboot-x86 new boards
- sharing most UEFI code, will replace the `virtual` one soon
- x86: patch uboot defconfig to use the `q35` machine type, not `i440fx`
  - separate x86 bootscript, due to non-uInitrd-ness of it
  - hack ramdisk load address both in u-boot source and bootscript
  - use 32-bit u-boot, not 64-bit
- grub: introduce `UEFI_GRUB=skip`, does not deploy GRUB (but does the kernel packages, etc)
- auto-enable qcow2 output for these
- works with both distro's and Armbian's kernels
2023-02-18 07:40:33 -03:00
schwar3kat
8e87237cbf Clean_up_mbox_format_in_rk3399-ehci-probe-usb2.patch
U-boot-rockchip64. No code changes. Original patch applied and new patch generated then mbox tweaked to retain relevant details. Prevents patching errors in armbian-next.
2023-01-18 16:55:37 +01:00
Igor Pečovnik
23bf63454f
Bananapi M5 - switch to more recent boot loader (#4675) 2023-01-09 14:53:19 +01:00
schwar3kat
25c8de0056
add-board-orangepi-r1-plus-lts-patch-remove-trailing-spaces (#4668)
and line feeds. Improve parser compatibility. No functional changes.
2023-01-08 11:10:57 +01:00
Ricardo Pardini
1b64cfa271 bananapim2s: rename u-boot patch folder, required, since board file was renamed in #4644 2023-01-05 17:43:00 +01:00
Ricardo Pardini
e2c55c5f23 BananaPi M2S: u-boot 22.10; remove patch from 22.07 2023-01-02 11:31:44 +01:00
jeanrhum
2c58242006
Initial support for Bananapi M2S (#4597)
* Initial support for Bananapi M2S

BPI-M2S is a small form factor SBC based on the Amlogic A311D chipset (or s922x, not supported yet):

- Amlogic A311D (Quad A73 + Dual A53) CPU
- 4GB LPDDR4 RAM
- 16GB eMMC
- Mali G52-MP4 GPU
- HDMI 2.1 output
- 2 Gigabit ports
- 40 pins GPIO
- 1x USB-A 2.0
- 1 USB-C (5V power)

Not working/tested:
- 2nd ethernet port
- MIPI DSI/CSI

* Edge kernel for BPI M2S

* filename fixes; call attention to sharing FIP blobs

* Adding u-boot patches for BPI M2S

* meson-g12.conf update after amlogic FIP blobs for Bananapi M2S are now part of librelec FIP repo

Co-authored-by: Ricardo Pardini <ricardo@pardini.net>
2023-01-01 14:28:49 +01:00
Vyacheslav
8207377583
Update u-boot patches for JetHub D1/D1+: (#4602)
- add rescue boot from microSD
- revert JetHub D1 eth mac generation with manufacturer OUI

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

Signed-off-by: Viacheslav Bocharov <adeep@lexina.in>
2022-12-23 00:10:37 +01:00
swordow
1166723044
Fix rk3399 ehci probe failed for usb2 in uboot (#4512)
* mod: separate some network driver patchs

* fix: rk3399 ehci probe failed in uboot, using patch from here:https://lore.kernel.org/all/20220701185959.GC1700@begut/

* mod: format rk3399 ehci probe usb2 patch
2022-12-12 20:00:16 +01:00
Alban Browaeys
c3596f401a
Fixed u-boot v2022.07 compilation for Helios64 (#4480)
* Fixed u-boot v2022.07 compilation for Helios64

* Move Helios64 back from EOS to community supported as images can be assembled

Co-authored-by: Igor <igor@armbian.com>
2022-11-24 12:51:32 +01:00
Oleg
28c6be0489
Fix u-boot Station M1 (#4462)
* fix u-boot station m1

* fix config station m1
2022-11-19 08:08:56 +01:00
Ricardo Pardini
eb4c090a38
tinkerboard-2: move to "legacy" 21.07 u-boot; firmware & kernel DTS fixes (5.18/19,6.0) (#4449)
- notes in the board file about the RAM issues (tested, confirmed working blob change of #4383 by @pinhaozhang working with u-boot 21.07; `blobless` also works with ATF v2.7 on my known-good-RAM boards)
- tinkerboard-2: add full firmware, for the rtl8822ce PCIe Wifi default card in the tb2 as shipped by ASUS
- tinkerboard-2: uboot: rename `TARGET_TINKER-2_RK3399` to `TARGET_TINKER2_RK3399` to avoid warnings all over
- tinkerboard-2: slower but working Tinkerboard 2S eMMC (HS400+ES to HS200)
  - both for u-boot and kernel.
  - should not affect 2, only 2S
2022-11-16 22:04:38 +01:00
Ricardo Pardini
9ad65d83eb
More updates for Radxa's Amlogic boards (radxa-zero and radxa-zero2) (#4429)
* `meson64`: `6.0`: g12a and g12b pinmux patches from Radxa

* u-boot: `radxa-zero2`: Radxa's patches for the Zero2 on `v2022.10`

* u-boot: `radxa-zero2`: use `v2022.10` plus Radxa's patches

* `meson64` u-boot v2022.10: change `BOOT_TARGET_DEVICES` to try to boot USB, NVME and SCSI before SD, MMC, PXE, DHCP

* `radxa-zero`: include v2022.10 standard patches (eg: boot from USB first)
2022-11-14 14:59:45 +01:00
Oleg
21bbdbfb91
move u-boot-media to 2022.04 support USB (#4404)
* move u-boot-media to 2022.04 support USB

* fix name
2022-11-12 10:13:09 +01:00
Igor Pečovnik
d4d04b6978
Import several small fixes from Orangepi u-boot (#4411)
* Import several small fixes from Xunlong u-boot

Affected: Orangepi 3 LTS and Zero 2

* Remove not needed patch
2022-11-11 17:24:55 +01:00
Igor Pečovnik
f6a09def35
Moving patches to per board and removing obsolete (#4409) 2022-11-10 21:49:36 +01:00
Markus Hoffrogge
38db7daaf7
Fix U-Boot SUNXI enable-autoboot-keyed.patch for U-Boot v2022.07 [AR-1322] (#4403)
* Fix u-boot-sunxi/enable-autoboot-keyed.patch for U-Boot v2022.07

Resolves AR-1322

* Rename file u-boot-sunxi/enable-autoboot-keyed.patch.disabled

-> u-boot-sunxi/enable-autoboot-keyed.patch
Resolves AR-1322
2022-11-10 13:24:06 +01:00
Markus Hoffrogge
971207799b
Fix U-Boot SUNXI nand SPL (#4402)
This fix is provided by mainline U-Boot since v2022.10.
For details refer to:
5fd30ed785

fixes #4401
2022-11-10 13:23:46 +01:00
Igor Pečovnik
2813365dd2
Move known non working rockhip64 boards to previous boot loader (#4392)
* Move known non working rockhip64 boards to previous boot loader

* Auto label trigger this several times in a row
2022-11-07 21:29:00 +01:00
Igor Pečovnik
de26797423
Move all legacy u-boot patches under one general legacy folder (#4386)
* Move all legacy u-boot patches under one general legacy folder

* Move 32b Rockchip under 2022.04 and legacy for Miqi

Tested

* Move Rock 3A patch dir under legacy

* Move / merge meson64 patch folder into v2022.07

Merge 2022.04 (mainly Rockchip 32) into 2022.07, tested

* Remove not needed patch

* Add last kernel version to config
2022-11-06 20:32:46 +01:00
Igor Pečovnik
9f7d9ff5c3
Add CSC Odroid M1 with legacy, current and edge kernel (#4368)
* `odroidm1`.wip: hk's `legacy`= 4.19 and `edge`= mainline+tobetter's 5.19 rebased; *requires* `skip_spiboot=true`

- @TODO: family/etc naming is terrible with vendor kernels. Sorry. Fight over it and let me know?
- @TODO: config is very probably incomplete.
- new `boot-rockchip64-vendor.cmd`:
  - does not use fixed load_addr, instead use ramdisk_addr_r for everything
  - load kernel and initrd as late as possible
  - look for overlays twice:
    - once: with prefix and folder
    - twice: without prefix, nor folder; helps with vendor provided overlays like hk's and tobetter's
- wip: edge: tobetter's patchset rebased against 5.19.3
- wip: edge: bump to tobetter's 5.19
- legacy: .config `CONFIG_ARM64_VA_BITS_48=y`
- wip m1: update legacy config from odroid
- odroidm1: container/bpf stuff in legacy config

* Update configs and enable beta build target

* Adjust current kernel

* Update targets

* Remove everything but EDGE kernel

* Cleanup

* Fix

Co-authored-by: Ricardo Pardini <ricardo@pardini.net>
2022-10-30 21:09:16 +01:00
David Manouchehri
0d67456651
Add kASLR for rk3399 u-boot (#4311)
* Add rk3399's rng to u-boot.

* Add kASLR support to the NanoPi R4S' u-boot.

* Fix rng for rk3399.

The manual clocks screw it up, so remove those.
2022-10-26 18:30:33 +02:00
David Manouchehri
8662fdb2e0 Add rk3399's rng to u-boot. 2022-10-21 23:18:50 +02:00
Igor Pečovnik
f99b356ff4
Bump Rockchip64 u-boot to 2022.07 (#4246) 2022-10-14 09:19:50 +02:00
Igor Pečovnik
15cab819fe
Add support for Bananapi M5 / M2P (#4251)
* Add initial support for Bananapi M5 / M2P

* Move to a branch that was tested with eMMC
2022-10-04 10:50:00 +02:00
aiamadeus
8648dde23f
rockchip: fixes support for orangepi-r1plus (#4215)
* rockchip: replace r8152 patches with openwrt

* rockchip: fixes support for orangepi-r1plus

Co-authored-by: AmadeusGhost <42570690+AmadeusGhost@users.noreply.github.com>
2022-09-22 10:25:28 +02:00
Igor Pečovnik
3cb7175c66
Upgrade Allwinner boot loader to 2022.08 (#4168)
* Bump sunxi u-boot to 2022.07

* Clean configs
2022-09-15 11:08:20 +02:00
Vyacheslav
0177a65816
JetHome: u-boot: add bugfix for broken efi code (JetHub H1) (#4188) 2022-09-15 11:08:08 +02:00
Vyacheslav
3532e9cbed
Update JetHub D1 (j100) u-boot patchset to buildable state. (#4136) 2022-09-01 15:18:59 +02:00
Vyacheslav Bocharov
bed71ca1ee
JetHome: u-boot: add bugfix for broken efi code in commit a9bf024b2933bba0e23038892970a18b72dfaeb4 2022-08-24 12:20:47 +03:00
Vyacheslav Bocharov
1df58072da
JetHub: WiP: Update u-boot to 2022.07 and update jethub patchset
- update u-boot to 2022.07 for jethome family.
- add basic support for amlogic unifykey storage (WiP)
2022-08-11 12:50:31 +03:00
Igor Pečovnik
21fc940aaf
Several small bug fixes mainly outside supported areas (#4032)
* - disable few targets
- update unsupported kernel config
- bugfix on dtb install
- bugfix in download engine

* - fix broken compilation
- move onecloud to eos
2022-07-31 10:34:48 +02:00
catalinii
1fdbab346a
rock-5b: add initial radxa rock-5b .wip (#4026)
* rock-5b: add initial raxda rock-5b .wip (by @amazingfate); vendor u-boot & kernel

- .wip board
- using BOARDFAMILY `rk35xx`, which was for rock-3a
- patch by @piter75 uboot for working 'source' command so boot.scr can be used, and not extlinux
- .config: hammer CONFIG_JOYSTICK_XPAD & CONFIG_JOYSTICK_PSXPAD_SPI
- rock5 add kernel optiions by @lanefu
- disable CONFIG_LOCALVERSION_AUTO otherwise packaging goes insane
- make its kernel is own LINUXFAMILY to as to not mess up rock-3a
- CONFIG_VT=y & SKIP_BOOTSPLASH="yes"

* Add separate family for rock 5b - rockchip-rk3588

Co-authored-by: amazingfate <liujianfeng1994@gmail.com>
Co-authored-by: root <catalinii@yahoo.com>
2022-07-29 09:21:27 -07:00
Oleg
cfc1a6a4fc
move jetson-nano to media (#4017)
* move jetson-nano to media

* fix kernel legacy jetson-nano

* fix u-boot HDMI
2022-07-25 11:38:42 +02:00
brentr
663be6550f
Allow non-legacy RockPi-S images to boot from their built-in EMMC (aka SDNAND) chips (#4002)
This moves the console from UART2 to UART0 because it
relies on a upgraded Radxa loader blob that only supports console on UART0.
Discussion at:
https://forum.armbian.com/topic/11228-rock-pi-s-rk3308-cpu-is-it-supported-by-anything/page/3
2022-07-16 10:37:37 +02:00
Oleg
b74ced1476
media u-boot-2022.07 (#3960)
* media u-boot-2022.07

* rc5 to rc6
2022-07-08 15:52:27 +02:00
Yuntian Zhang
d998fe9910 Apply eMMC hack to Radxa Zero's U-Boot 2022-07-04 15:04:37 +08:00
schwar3kat
4df997bcf1
Refactored dts for orangepi-r1-lts
cleanup - removes an unnessesary Nanopi dts and includes relevant nodes in orangepi-r1-lts.dts
2022-06-25 13:40:09 +12:00
Paolo
2ca6a9381d
rockchip64: add rk3318-box tvbox board patch and configurations (#3921)
* rockchip64: add rk3318-box tvbox board patch and configurations
* rockchip64: add missing bcm43342 patch for edge kernel
2022-06-23 08:30:54 +02:00
Paolo Sabatino
5130cc32fd rockchip64: fix u-boot USB OTG patch name 2022-06-20 08:35:13 +02:00
Paolo Sabatino
d4daf41404 rockchip64: add sdmmc_ext node, mmc reset properties and otg usb fix to u-boot 2022-06-20 08:35:13 +02:00
Julian
25db39a749
Update remove-boot-messages-from-hdmi.patch.disabled (#3782)
Updating patch to hide u-boot on-screen tty.
2022-06-17 08:56:58 +02:00
Piotr Szczepanik
2b431a4915
Adjust u-boot configs for Station M1 and Station P1 (#3900) 2022-06-16 19:29:16 +02:00
Piotr Szczepanik
26437e36c1
Switched rockchip64 u-boot to v2022.04 (#3871)
* Switched rockchip64 u-boot to v2022.04

* Adjust u-boot config for NanoPi M4V2

* Adjust u-boot config for OrangePi 4

* Adjust u-boot config for Helios64

* Adjust u-boot config for clockworkpi a06

* Adjust u-boot config for OrangePi R1 Plus LTS

* Adjust u-boot config for OrangePi R1 Plus

* Adjust u-boot device tree for OrangePi R1 Plus LTS

* Adjust u-boot config for Tinkerboard 2

* Adjust u-boot config for RockPi S

* Adjust u-boot config for NanoPi R4S
2022-06-16 12:27:05 +02:00
Jianfeng Liu
597d2dac11
update rockchip64-edge to 5.18 (#3814) 2022-05-28 07:56:22 +02:00
Derek
c1eb4e0c64
Changes to allow building for Macchiatobin and building modules necessary to operate mcbin hardware (#3784)
* tf-a sources use mrvl_flash rather than 'all' target

* add armada 8k ethernet and SFP cages for macchiatobin use

* u-boot configuration for mcbin

* fix bootscript for u-boot variables

* separate ebin and mcbin with if statements

* add a8k PCIe and CPUFreq drivers for macchiatobin
2022-05-23 16:16:12 +02:00
CXM
1f54bc33b8
Add clockworkpi-a06 support (#3768)
* feat: add clockworkpi-a06 support

* fix: disable dpms & screensaver
2022-05-11 21:47:28 +02:00
Derek
325e40f773
patch u-boot defconfig to enable FIT image booting (#3710) 2022-05-03 06:39:30 +02:00
Vyacheslav
3504b0e725
Add latest patches with saradc support from u-boot for JetHub D1 (#3715) 2022-04-26 09:27:31 +02:00
Derek
9bd2e3cb1a
Espressobin patch cleanup (#3681)
* alias defined in patch 0007 is part of armada-372x.dtsi, so unnecessary in 37xx

* u-boot patch to dts shouldn't disable emmc or overwrite sdhci1

* update u-boot
2022-04-16 09:13:33 +02:00
The-going
993fadb929
u-boot: Add more regulator for bananapro board (#3670)
* u-boot: Add reg_ahci_5v status okay for bananapro board

* Add more regulators for bananapro

Author: Heiko Jehmlich <hje@jecons.de>

Signed-off-by: The-going <48602507+The-going@users.noreply.github.com>

* Rename patches for correct apply
2022-04-13 21:31:30 +03:00
Ukhellfire
2a8e1ecac1
Add Orange Pi 3 LTS Support (#3628)
* Orange Pi 3 LTS
* Enable build targets

Co-authored-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2022-04-12 20:13:37 +02:00
The-going
7881f5cd27
Fix warnings: redefined CONSOLE_STDIN_SETTINGS (#3660) 2022-04-11 00:41:55 +02:00
Paolo Sabatino
b87e8085fb rockchip: move u-boot to v2022.04 for tinkerboard and xt-q8l-v10 2022-04-10 16:45:44 +02:00
Paolo Sabatino
0777be9e75 rk322x: move edge flavour to kernel 5.17, adapt patches were necessary 2022-04-10 16:45:06 +02:00
Oleg
eb54a13b05
update kernel 5.17.1 station-p2-edge (#3637) 2022-04-05 16:18:38 +02:00
hzyitc
a48616551d
meson: add hostdev libfdt-dev compatibility patch (#3602) 2022-03-29 12:38:37 +02:00
Paolo Sabatino
2cbd35f3b2 rockchip: fix kernel device tree in u-boot 2022-03-24 09:21:56 +00:00
Paolo Sabatino
445062b8dc rockchip: advance tinkerboard u-boot to v2022.01 2022-03-24 09:21:56 +00:00
Paolo Sabatino
c674bac80c rockchip: advance tinkerboard u-boot to v2021.01 2022-03-24 09:21:56 +00:00
Oleg
f52a4193d0
Adding Pine64 Quartz64a as WIP target (#3539)
* add Quartz64a

* quartz64 to wip

* add m2\p2 current

* move patch archive
2022-03-20 22:58:21 +01:00
Paolo Sabatino
71d6e7db63 rk322x: bump to u-boot v2022.01 2022-03-18 17:26:46 +01:00
schwar3kat
6ff15fe54f
Add orangepi r1 plus lts (#3514)
* Rockchip64 Linux-5.10y - drivers for Motorcomm YT8531
renamed the previous "net-phy-Add-driver-for-Motorcomm-YT85xx-PHYs.patch" to "net-phy-Add-driver-for-Motorcomm-1-YT85xx-PHYs.patch" to fix patch order and added a new patch "net-phy-Add-driver-for-Motorcomm-2-YT8531-PHYs.patch"
The new YT8531 patch is sourced from from Lean's OpenWrt source rockchip/patches-5.10/601-net-phy-Add-driver-for-Motorcomm-YT8531-PHYs.patch.
It is intended to extend a patch identical to Armbian's "net-phy-Add-driver-for-Motorcomm-YT85xx-PHYs.patch" and is used without alteration.

* Add new board OrangePi R1 LTS (rk3328)
Includes uBoot and support for Linux-5.10y

* Rockchip64 Linux-5.15y drivers for YT8531 and other Motorcomm chips

YT8010, YT8510, YT8511, YT8512, YT8521. The driver patch set is sourced from Xunlong-OrangePi OpenWRT and is used as is, with only a name and makefile change.
A single patch set uses the same underlying source code as the Armbian Linux-5.10y set, but uses inbuilt logic to apply tweaks that depend on the Linux kernel version.
The patch is renamed similarly to the 5.10 patch set, net-phy-Add-driver-for-Motorcomm-T85xx+PHYs.patch to imply code base continuity with the previous similar Armbian patch sets.

* Rockchip64 Linux-5.15y support for Orange Pi R1 Plus LTS

Includes DTS and makefile changes. A driver for net phy YT8531C is in a separate commit

* change orangepi-r1plus-lts.csc to orangepi-r1plus-lts.conf

board is now supported

* - add patch also to 5.16.y
- fix wrong patch permission

* Fix Makefile patch

Co-authored-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2022-02-26 15:03:33 +01:00
Yuntian Zhang
3da96b2d77
Add support for Radxa Zero 2 (#3413)
Radxa Zero 2 is a small form factor SBC based on the Amlogic A311D
chipset that ships in a number of eMMC configurations:

- Amlogic A311D (Quad A73 + Dual A53) CPU
- 4GB LPDDR4 RAM
- 32/64/128GB eMMC
- Mali G52-MP4 GPU
- HDMI 2.1 output (micro)
- BCM4345 WiFi (2.4/5GHz a/b/g/n/ac) and BT 5.0
- 1x USB 2.0 port - Type C (OTG)
- 1x USB 3.0 port - Type C (Host)
- 1x micro SD Card slot
- 40 Pin GPIO header

Signed-off-by: Yuntian Zhang <yt@radxa.com>
2022-02-25 19:27:41 +01:00
Oleg
b3070c7eef
fix use auto dtb for extlinux (#3466) 2022-02-10 15:04:16 +01:00
Igor Pečovnik
e610f00bc7
Bump Meson64 u-boot to 2022.01 (#3418)
* Bump Meson64 u-boot to 2022.01

Tested VIM boards

* Move Jethub related patches under common meson64 patch collection

* Move jethub patch to per board and remove unneded settings
2022-01-20 23:18:55 +01:00
catalinii
f6143eff67
Fix the uboot for rock-3a (#3271)
* Sync kernel config with radxa and remove packaging patch

* Merge the rockchip64 legacy config as well

* Lower priority of EFI partitioning against DOS partitioning which is used by Armbian

Co-authored-by: Catalin Toda <catalinii@yahoo.com>
2021-12-25 11:57:26 -05:00
Vyacheslav
5efc78b531
JetHome JetHub D1/H1 patch/bsp updates (#3348)
* JetHome: Update u-boot patches: fix emmc work on JetHub D1
* JetHome: update kernel patches with last updates for JetHub devices.
* JetHome: Update Bluetooth init script to more stable start.
2021-12-14 12:08:26 +01:00
Paolo
d876b9a5e1
rk322x: minor device tree fixes and upgrades (#3334)
Introduced a couple of device tree sets for MXQ_PRO and R29_MXQ boards
2021-12-10 00:08:03 +01:00
Piotr Szczepanik
3c4b890ead
Moved rk35xx image names patch into a Rock 3A specific folder 2021-12-07 21:45:19 +01:00
Piotr Szczepanik
c2a1962013
Add SoC based image names (rk3566/rk3568) in rk35xx u-boot 2021-12-06 22:36:12 +01:00
Vyacheslav
c8358d4151
JetHome: Update U-Boot to 2022.01-rc2. Clean u-boot patches. (#3264)
* JetHome: Fix governor, cosmetic fixes, update u-boot to 2022.01-rc3

* JetHome: Clean u-boot patches for 2022.01-rc3.
2021-12-03 20:50:36 +01:00
Oleg
21d5340b35
fix sound HDMI rk3399 and bootsplash (#3260) 2021-11-17 07:22:04 +01:00
Oleg
320bf63430
Added usb boot support for NanoPC T4 (#3256) 2021-11-15 12:46:38 +01:00
Piotr Szczepanik
f93fd61ce9
Fixed u-boot v2021.07 compilation for Helios64 [AR-973] 2021-11-14 22:04:24 +01:00
Igor Pečovnik
c10cf6edb7
Rename Rockpi 3a to wip and enable nightly builds (#3252) 2021-11-14 21:22:02 +01:00
Igor Pecovnik
1c75b8fb91
Fix broken u-boot compilation on Rockpi S
- moving to CSC since we have no dedicated maintainer
- disabling build targets
2021-11-12 07:22:10 +01:00
Piotr Szczepanik
71ff7b3b98
Switched rockchip64 u-boot to v2021.07 (#3233)
* Switched rockchip64 u-boot to v2021.07

* Switched OrangePi R1 Plus to include mainline's R2S device tree

* Added unsingned signed comparison patch from Paolo to fix rk3328 reboots
2021-11-11 23:49:52 +01:00
Igor Pečovnik
36c06fec28
Bump sunxi to 5.15.y (#3236) 2021-11-07 00:04:02 +01:00
Piotr Szczepanik
fd33c6545b
Moved remaining u-boot rockchip64 mainline patches to new directory 2021-10-27 20:28:50 +02:00
Oleg
aba9e063c0
add start usb Station P1 (#3220)
* add start usb

* Make higher boot priority on USB on all RK3399

Co-authored-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2021-10-27 19:05:45 +02:00
Oleg
7789fef83f
u-boot usb m1 (#3221) 2021-10-27 18:56:02 +02:00
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