Commit Graph

1078 Commits

Author SHA1 Message Date
jack
82f4c629b1 Enable armsom-sige7 early PD negotiation 2024-03-25 17:59:25 +01:00
Martin Schmiedel
d10e4b498d MBa8MPxL: add basic files for TQ MBa8MPxL boards
- add imx8m familie
- add MBa8MPxL and MBa8MPxL-RAS314 Boards (based on imx8m)

Signed-off-by: Martin Schmiedel <Martin.Schmiedel@tq-group.com>
2024-03-09 20:04:04 +01:00
Ricardo Pardini
f79c824a02 odroidm1: bump u-boot to v2024.04-rc3
- odroidm1: copy patches from v2023.10
- odroidm1: rebase u-boot patches against v2024.04-rc3
- odroidm1: drop v2023.10 u-boot patches
2024-03-09 20:03:29 +01:00
Ricardo Pardini
d6c1414d2f u-boot: rewrite/rebase u-boot patches for a few boards; drop long-forgotten old version patches; no actual changes
- I guess this is most of the u-boot's I've touched over the years; notable exception is the orangepi3b (patches live in Kwiboo's tree)
- this is in preparation for bumping versions, hopefully soon
- radxa-zero, radxa-zero2, khadas-vim3, khadas-vim3l: drop patches for old u-boot versions no longer used
2024-03-09 20:03:29 +01:00
c0rnelius
64649a76e6
patches: BananaPi M4 Zero: fixups (#6364)
U-Boot:
Update DRAM parameters and enable USB.
Backport sunxi reorganize mctl_mem_matches_* functions
Backport restore modified memory
Add delay to steady dram detection
Alphabetize dts

Linux:
Add spi1_cs1_pin to h616 dtsi
Add node to m4-zero dts
Alphabetize dts

Signed-off-by: Patrick Yavitz <pyavitz@xxxxx.com>
Co-authored-by: Patrick Yavitz <pyavitz@xxxxx.com>
2024-03-06 11:50:04 -05:00
ColorfulRhino
df8fe87f44 Add board: FriendlyElec CM3588 NAS 2024-03-06 00:53:11 +01:00
c0rnelius
d5133b6a43
Add board BananaPi M4 Zero (#6315)
* Add board BananaPi M4 Zero

Signed-off-by: Patrick Yavitz <pyavitz@xxxxx.com>

* HACK: wrong DRAM size: add extra barrier in mctl_mem_matches

People report that this is fixed by adding another "dsb();" at
the beginning of the mctl_mem_matches() function.

https://lore.kernel.org/all/ZWMv816r8YxPwsJO@BOB1/T/#mec26415158efa10e6f78c5c1a651bb834f8599c4
Signed-off-by: Patrick Yavitz <pyavitz@xxxxx.com>

* v2 add barrier and udelay to mctl_mem_matches function

Signed-off-by: Patrick Yavitz <pyavitz@xxxxx.com>

---------

Signed-off-by: Patrick Yavitz <pyavitz@xxxxx.com>
Co-authored-by: Patrick Yavitz <pyavitz@xxxxx.com>
2024-03-03 09:42:07 -05:00
Ricardo Pardini
9260163fbd khadas-vim3l: bump to u-boot v2024.01; boot-usb-first patch in board folder
- patch is slightly different for 2024.01
2024-03-02 20:47:31 +01:00
Viacheslav Bocharov
2da100c902 JetHome: fix u-boot patches for corrent rescue button handling 2024-02-28 14:22:25 +03:00
Tony
67529aeb2f
[Le Potato] bump u-boot to 2024.01 (#6297) 2024-02-25 11:14:13 -05:00
Igor Pecovnik
40c19e536e Fix random MAC on Orangepi 5 series
We don't want that MAC address is changed on every reboot
2024-02-24 23:23:00 +01:00
Ricardo Pardini
431f436710 mekotronics 3588: squash u-boot patches
- same as before but not touching the same file twice+
2024-02-23 11:23:10 +01:00
Ricardo Pardini
b84990cf83 mekotronics 3588: fix entering RK LOADER mode by keeping the RECOVERY button pressed during boot
- those patches are a mess, hopefully I'll find time to squash soon
2024-02-23 11:23:10 +01:00
Alex Shumsky
6154b98851 rk3318: enable uboot gpio command 2024-02-23 11:20:57 +01:00
Gunjan Gupta
2313d3111b vim1s/vim4 - fix intermittent boot issues when booting from uhs sd card on vim1s & vim4 2024-02-21 06:35:34 +05:30
Tony
6cbd2c776a
Update NanoPi K2 u-boot (#6277) 2024-02-15 12:35:17 -05:00
brentr
d10951de7c
Initial support for Radxa Rock S0 board (#6261)
* Initial support for Radxa Rock S0 board
* Lets start this board as a WIP target
---------
Co-authored-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2024-02-12 09:06:04 +01:00
Viacheslav Bocharov
0f52a512d4 Revert JetHub u-boot patches for emmc clock phase fix 2024-02-09 17:07:08 +03:00
c0rnelius
c4963a21d6
meson64: u-boot: v2024.01: bananapicm4io: sata support fixup (#6240)
Signed-off-by: Patrick Yavitz <pyavitz@xxxxx.com>
Co-authored-by: Patrick Yavitz <pyavitz@xxxxx.com>
2024-02-01 14:36:17 -05:00
c0rnelius
8eab8fd19b
meson64: bananapicm4io/m2s: u-boot: v2024.01 and WS dts fixup (#6233)
BananaPi CM4/M2S:

Update to u-boot v2024.01
Fixup meson-g12b-waveshare-cm4-io-base-b.dts

Removed from 'fanctrl' node
address-cells = <1>;
size-cells = <0>;

Signed-off-by: Patrick Yavitz <pyavitz@xxxxx.com>
Co-authored-by: Patrick Yavitz <pyavitz@xxxxx.com>
2024-02-01 08:06:28 -05:00
Gunjan Gupta
c47c9372bf
Khadas VIM1S & VIM4 - 5.15 kernel bump (#6201)
* meson-s4t7: bump u-boot to khadas-vims-u-boot-2019.01-v1.6-release
* Use khadas default bootargs as much as possible
* Add new hook to allow copying code into kernel
* meson-s4t7: legacy: Switch to 5.15 kernel
* meson-s4t7: add kernel-config for 5.15 kernel
* device tree overlays for 5.15 kernel for vim1s and vim4
* restructure packaging of bsp files for vim1s/vim4
* silence vblank warning on boot
* Remove display workaround as it doesn't work with 5.15 kernel
* Remove 5.4 kernel patches
2024-01-26 08:40:11 +01:00
Patrick Yavitz
e39d490d5e Radxa Zero: u-boot-v2023.07.02: eMMC boot fixup
In my initial commit I assumed CONFIG_USE_PREBOOT=y was enabled
by default. I was wrong.

As reported by MicroLinux (Salva) on DISCORD the unit was still
having issues booting. I sent him a patch I use which enables
preboot and he reported back that "It boots fine now".

NOTES: The patch he tested also had boot logo support enabled. In
my testing boot logo support is not required. If for some reason
in the future there are still eMMC boot issues, than maybe adding
a slight delay "sleep 2" to preboot would suffice.

https://github.com/armbian/build/pull/5858
Signed-off-by: Patrick Yavitz <pyavitz@xxxxx.com>
2024-01-22 21:17:05 +01:00
Alex Shumsky
f106da7fc8 rockchip64: fix uboot compressed btrfs handling 2024-01-22 21:16:39 +01:00
ARCW
9c4c0409a6
Add new borad "ASUS Tinker-Edge-R" (#6153)
* rockchip64: Add board "ASUS Tinker-Edge-R"

* rockchip64: Add board "ASUS Tinker-Edge-R": hammer for 6.6 current & 6.7 edge

- cleanup
- squash dtsi and dt into a single thing, rename to dashes
- change dtb reference in board file
- drop the 6.1 patch that has junk in it

---------

Co-authored-by: Ricardo Pardini <ricardo@pardini.net>
2024-01-21 14:56:20 -05:00
Ricardo Pardini
690cd7a508 khadas-vim3: bump to u-boot v2024.01; boot-usb-first patch in board folder
- patch is slightly different for 2024.01
2024-01-14 19:40:23 +01:00
c0rnelius
8bb7cc2579
patch: uboot: v2023.07.02: bananapicm4: sata boot support (#6149)
This does not change the current boot order and requires specific
hardware.

Test-on: BananaPi BPI-CM4IO Baseboard with BPI-CM4 Module

Signed-off-by: Patrick Yavitz <pyavitz@xxxxx.com>
Co-authored-by: Patrick Yavitz <pyavitz@xxxxx.com>
2024-01-11 18:15:39 -05:00
Gunjan Gupta
80f7e4a61d Fix patch and compilation failures in crust support patch 2023-12-27 11:56:37 +01:00
Gunjan Gupta
f78c95e798 Switch to upstream AXP313 support 2023-12-27 11:56:37 +01:00
Gunjan Gupta
a8f7dc2f90 Replace our led patch with orangepizero2's pwrled implementation 2023-12-27 11:56:37 +01:00
Gunjan Gupta
19fbdb6fe5 Allwinner: u-boot: Move some defconfig changes from patches to board config files 2023-12-27 11:56:37 +01:00
Alban Browaeys
0b2389a03a
Fixup compilation helios64 uboot (#6068)
* CONFIG_SYS_SCSI_MAX_DEVICE was replaced by a macro in U-Boot v2022.04
* Fixes u-boot for rockchip64 derivatives
* Fix missing include for cli_simple_run_command
* Do not return value in a void function
2023-12-24 09:14:54 +01:00
Keven
06c28cd39e
Add support for armsom-sige7 board (#6075) 2023-12-24 09:14:11 +01:00
Alban Browaeys
9bc637f738 Helios64: the chip temperature sensor is really a National lm75 2023-12-24 08:08:11 +01:00
Alex Shumsky
eec57ef6ce rk3318: add uboot Recovery button support 2023-12-18 10:03:17 +01:00
Muhammed Efe Cetin
dae967fd88 opi5: add mainline uboot support 2023-12-17 10:31:06 +01:00
Jihoon Han
4413601db2 odroidhc4: Fix u-boot not recognizing disks mounted in SATA ports during the boot process
Signed-off-by: Jihoon Han <rapid_renard@renard.kr>
2023-12-11 13:31:58 +01:00
Alex Shumsky
e504369708 rockchip64: fix uboot zstd decompression 2023-12-05 00:05:13 +01:00
Alex Shumsky
4707e71e35 rk3318-box: Enable uboot BTRFS support 2023-11-26 13:58:04 +01:00
jack
221f1ccd83 add board ArmSoM-w3; with uboot-patch and updated blobs 2023-11-03 08:12:58 +01:00
c0rnelius
0f0b3e5b63
Radxa Zero: u-boot-v2023.07.02 (#5858)
Update Das U-Boot to v2023.07.02
Patch: HACK: mmc: meson-gx: limit to 24MHz
db6738fed9

In my testing the patch is required for stable boot on REV 1.51.
It is not required on REV 1.4, but has no ill effects on boot.

Signed-off-by: Patrick Yavitz <pyavitz@xxxxx.com>
Co-authored-by: Patrick Yavitz <pyavitz@xxxxx.com>
2023-10-24 15:50:48 -04:00
c0rnelius
5b30b9250a
patch: uboot: v2023.07.02: bananapicm4: nvme boot support (#5840)
HACK: BOOT ORDER: NVMe SDCARD eMMC.

NOTES:
In my testing there has been no false starts or hangs up. Meaning
the boot process has been stable.

The downside to this in my opinion is that if there is an OS on
the NVMe it will always take boot priority. The drive would need
to be pulled or DD'd in order for SD eMMC boot to kick in.

Tested-on: Waveshare CM4-IO-BASE-B

Signed-off-by: Patrick Yavitz <pyavitz@xxxxx.com>
Co-authored-by: Patrick Yavitz <pyavitz@xxxxx.com>
2023-10-18 11:31:39 -04:00
Ricardo Pardini
027de20433 khadas-vim3l: bump to u-boot v2023.10; boot-usb-first patch now only in board folder
- drop kbi patch
2023-10-14 00:02:58 +02:00
Ricardo Pardini
7abc1a0130 khadas-vim3: bump to u-boot v2023.10; boot-usb-first patch now only in board folder
- drop kbi patch
2023-10-14 00:02:58 +02:00
Ricardo Pardini
6e45fb7e3e odroidn2l: bump to u-boot v2023.10; boot-usb-first patch now only in board folder
- with this, there are no more boards with `v2023.07`
2023-10-14 00:02:43 +02:00
Ricardo Pardini
d6fca17014 mixtile-blade3: enable pci3x4 nvme boot (requires u.2 -> m.2 adapter from blade3 case kit) 2023-10-13 18:03:31 +02:00
Viacheslav Bocharov
da5e6ec027 JetHome: update u-boot patchset. Add emmc clock RFT patches.
Signed-off-by: Viacheslav Bocharov <adeep@lexina.in>
2023-10-11 16:50:22 +02:00
Ricardo Pardini
587a278dab radxa-zero2: bump u-boot to v2023.10 2023-10-08 09:50:35 +02:00
Ricardo Pardini
0938c1f07e radxa-zero2: rewrite u-boot 2022.10 patches, no changes 2023-10-08 09:50:35 +02:00
Ricardo Pardini
6030fa1a4a
mekotronics-r58x-4g: enable pcie3x4 and nvme boot for vendor u-boot (#5795)
- switch back from rockchip#next-dev to radxa#next-dev
- add patch with defconfig and kernel-derived dtb
- NVMe boot works
- USB3 boot doesnt
2023-10-06 19:39:30 +02:00
Gunjan Gupta
23b1911296 allwinner: uboot: make consistent use of r_i2c across all stages from bootloader to kernel
In sunxi-6.1 and sunxi-6.5 kernel we have a patch that changes r_rsb to r_i2c. But same
change is not done for u-boot. Mixing use of r_rsb and r_i2c seems to cause issues if
its also something handled in crust. Hence making it consistent across u-boot and kernel
dts files
2023-10-06 13:00:02 +05:30
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