Commit Graph

12 Commits

Author SHA1 Message Date
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
Viacheslav Bocharov
2da100c902 JetHome: fix u-boot patches for corrent rescue button handling 2024-02-28 14:22:25 +03:00
Viacheslav Bocharov
0f52a512d4 Revert JetHub u-boot patches for emmc clock phase fix 2024-02-09 17:07:08 +03: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
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
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
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