Running u-boot using tftp in imx8mp evk

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Running u-boot using tftp in imx8mp evk

3,496 Views
habib_farahani
Contributor III

Hello,

I am working on customizing u-boot for our upcoming project based on imx8.  Currently, I have a imx8mp evk and would like to just load my experimental u-boot into RAM using tftpboot and run it.  When I tftp u-boot.bin and issue go $[loadaddr} I get an exception.  What is the correct procedure?  I would like to circumvent programming the development u-bot in emmc and would like to load it in RAM and go.

What about SPL section which I believe should be loaded in internal SRAM?

 

Thanks in advance

0 Kudos
Reply
1 Reply

3,437 Views
joanxie
NXP TechSupport
NXP TechSupport

I'm not sure of your detailed steps, you can refer to the 4.4.1.4 and 4.4.1.5 of enclosed file

for SPL, according to the user guide, On i.MX 8M SoC, the second program loader (SPL) is enabled in U-Boot. SPL is implemented as the first-level bootloader running on TCML (For i.MX 8M Nano and i.MX 8M Plus, the first-level bootloader runs in OCRAM).
It is used to initialize DDR and load U-Boot, U-Boot DTB, Arm trusted firmware, and TEE OS (optional) from the boot device into the memory. After SPL completes loading the images, it jumps to the Arm trusted firmware BL31 directly. The BL31 starts the optional BL32 (TEE OS) and BL33 (U-Boot) for continue booting kernel.

0 Kudos
Reply