# U-boot for Orange PI 2W

**URL:** <https://dietpi.com/forum/t/u-boot-for-orange-pi-2w/22415>\
**Category:** Troubleshooting\
**Created:** [3 January 2025 19:39 UTC](https://dietpi.com/forum/t/u-boot-for-orange-pi-2w/22415 "2025-01-03T19:39:56Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![SamRep](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/s/b9bd4f/32.png) [@SamRep](https://dietpi.com/forum/u/SamRep)\
**Post date:** [3 January 2025 19:39 UTC](https://dietpi.com/forum/t/u-boot-for-orange-pi-2w/22415/1 "2025-01-03T19:39:56Z")

</div>

Anyone here has any experience in accessing u-boot on Orange PI Zero 2W.  
I installed dietPI for testing but the device will be in vibrating areas, so SD CARD will not survive.

So I am trying to force the OPI Zero 2W to boot fron tftp instead of the SD Card.  
Any help will be extremelly appreciated.

PS: i already put an TTL/USB and connected to UART0 but the OPI never stops at uboot level ever. I have few with 2G and 4G

One more time - many thanks

---

<div class="post-metadata">

**Author:** ![MichaIng](https://dietpi.com/forum/user_avatar/dietpi.com/michaing/32/7_2.png) [@MichaIng](https://dietpi.com/forum/u/MichaIng)\
**Post date:** [4 January 2025 12:11 UTC](https://dietpi.com/forum/t/u-boot-for-orange-pi-2w/22415/2 "2025-01-04T12:11:29Z")

</div>

So you cannot abort boot in U-Boot phase by hitting ctrl+c or similar via serial console?

Mainline U-Boot has some TFTP boot target, to try as fallback if everything else fails. But not sure in this particular case. But more importantly you need to flash U-Boot to the SPI storage. Let me check whether our bootloader build even ships with an SPI image. Or did you do/flash that already?

EDIT: Nope. I see it has a 16 MiB SPI flash, but our U-Boot build does not contain a dedicated image for it, and no function to flash to it. Is there an SPI/MTD device visible, i.e. does the kernel at least support/provide access to it?

```sh
cat /proc/mtd
ls -l /dev/mtd*

```

---

<div class="post-metadata">

**Author:** ![system](https://dietpi.com/forum/uploads/default/original/1X/7e1021de2213860bce185915ce2c1786e56490ec.png) [@system](https://dietpi.com/forum/u/system)\
**Post date:** [2 July 2025 00:12 UTC](https://dietpi.com/forum/t/u-boot-for-orange-pi-2w/22415/3 "2025-07-02T00:12:19Z")

</div>

Closed on 2 July 2025 00:12 UTC

This topic was automatically closed 178 days after the last reply. New replies are no longer allowed.
