Commit Graph

727 Commits

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