SPL to u-boot

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

SPL to u-boot

Jump to solution
817 Views
Arm7
Contributor II

Hello, 

Is there a way to pass info from SPL to u-boot ?

In SPL I read a fuse and I have to pass it to u-boot.

Thank you!

Labels (1)
Tags (1)
0 Kudos
1 Solution
745 Views
dtony
Contributor III

 

 

Maybe you can try HANDOFF

config HANDOFF
bool "Pass hand-off information from SPL to U-Boot proper"
depends on BLOBLIST
help
It is useful to be able to pass information from SPL to U-Boot
proper to preserve state that is known in SPL and is needed in U-Boot.
Enable this to locate the handoff information in U-Boot proper, early
in boot. It is available in gd->handoff. The state state is set up
in SPL (or TPL if that is being used).

View solution in original post

0 Kudos
2 Replies
746 Views
dtony
Contributor III

 

 

Maybe you can try HANDOFF

config HANDOFF
bool "Pass hand-off information from SPL to U-Boot proper"
depends on BLOBLIST
help
It is useful to be able to pass information from SPL to U-Boot
proper to preserve state that is known in SPL and is needed in U-Boot.
Enable this to locate the handoff information in U-Boot proper, early
in boot. It is available in gd->handoff. The state state is set up
in SPL (or TPL if that is being used).

0 Kudos
759 Views
Harvey021
NXP TechSupport
NXP TechSupport

Hi @Arm7 

The uboot will query storage first, if there is no env, it will directly use the env at compile time.

Best regards

Harvey

0 Kudos