SPL to u-boot

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

SPL to u-boot

跳至解决方案
2,691 次查看
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!

标签 (1)
标记 (1)
0 项奖励
回复
1 解答
2,619 次查看
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 项奖励
回复
2 回复数
2,620 次查看
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 项奖励
回复
2,633 次查看
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 项奖励
回复