How Can I flash u-boot?

Hi!

Is there a guide to flash u-boot?

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

Cheers

It is in the lx2160a_build readme file. GitHub - SolidRun/lx2160a_build: Scripts to build basic images for LX2160A COM express type 7 modules

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?

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.

OK. Thanks for the update.