Commit Graph

813 Commits

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