How to boot bare board binary from U-Boot?

后端 未结 2 1391
攒了一身酷
攒了一身酷 2021-01-22 08:42

How can we boot independent bare board binary(not standalone binary which runs using U-Boot environment and not linux kernel) from U-Boot. My requirement is to reinitialize the

2条回答
  •  鱼传尺愫
    2021-01-22 09:25

    1. You can create the boot.bin with fsbl, bitstream, uboot.elf and you applications. Then flash in the QSPI flash and choose to boot from it.
    2. Or you can boot from TFTP. Here you need to create the boot.bin just with fsb, bitstream, and uboot.elf. You need the change the uboot header file to force it boot from tftp like tftpboot 0x0 hello.elf. Once booted it will grab the elf/bin file with tftp and boot the board with bootelf or go command.
    3. The same you can boot from SD card if there is one.

提交回复
热议问题