# How Can I flash u-boot?

**URL:** <https://community.solid-run.com/t/how-can-i-flash-u-boot/897>\
**Category:** NXP LX2160\
**Created:** [September 15, 2024, 12:49pm UTC](https://community.solid-run.com/t/how-can-i-flash-u-boot/897 "2024-09-15T12:49:38Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Morta](https://avatars.discourse-cdn.com/v4/letter/m/f05b48/32.png) [@Morta](https://community.solid-run.com/u/Morta)\
**Post date:** [September 15, 2024, 12:49pm UTC](https://community.solid-run.com/t/how-can-i-flash-u-boot/897/1 "2024-09-15T12:49:38Z")

</div>

Hi!

Is there a guide to flash u-boot?

I want to flash my self builded u-boot with Secure Boot

Cheers

---

<div class="post-metadata">

**Author:** ![jnettlet](https://dub1.discourse-cdn.com/flex005/user_avatar/community.solid-run.com/jnettlet/32/62_2.png) [@jnettlet](https://community.solid-run.com/u/jnettlet)\
**Post date:** [September 16, 2024, 12:23pm UTC](https://community.solid-run.com/t/how-can-i-flash-u-boot/897/2 "2024-09-16T12:23:57Z")

</div>

It is in the lx2160a\_build readme file. [GitHub - SolidRun/lx2160a\_build: Scripts to build basic images for LX2160A COM express type 7 modules](https://github.com/SolidRun/lx2160a_build?tab=readme-ov-file#deploying)

---

<div class="post-metadata">

**Author:** ![Morta](https://avatars.discourse-cdn.com/v4/letter/m/f05b48/32.png) [@Morta](https://community.solid-run.com/u/Morta)\
**Post date:** [September 16, 2024, 3:13pm UTC](https://community.solid-run.com/t/how-can-i-flash-u-boot/897/3 "2024-09-16T15:13:00Z")

</div>

There is a u-boot.bin builded when I do Secure Boot as build option but nowhere how to flash u-boot.bin to the ROM.

Or is the XSPI IMG the same as the binary u-boot.bin?

---

<div class="post-metadata">

**Author:** ![jnettlet](https://dub1.discourse-cdn.com/flex005/user_avatar/community.solid-run.com/jnettlet/32/62_2.png) [@jnettlet](https://community.solid-run.com/u/jnettlet)\
**Post date:** [September 17, 2024, 7:27am UTC](https://community.solid-run.com/t/how-can-i-flash-u-boot/897/4 "2024-09-17T07:27:25Z")

</div>

You can not just flash build and secure a single u-boot.bin image. u-boot.bin is taken and built into the TF-A fip image that is generated as the BL33 code. You can take a look at the runme.sh file in build\_lx2160a and see how TF-A (atf in that script) collects the different pieces and builds an image.

---

<div class="post-metadata">

**Author:** ![Morta](https://avatars.discourse-cdn.com/v4/letter/m/f05b48/32.png) [@Morta](https://community.solid-run.com/u/Morta)\
**Post date:** [September 18, 2024, 8:58am UTC](https://community.solid-run.com/t/how-can-i-flash-u-boot/897/5 "2024-09-18T08:58:01Z")

</div>

OK. Thanks for the update.
