How to modify U-boot configuration in Linux user space

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

How to modify U-boot configuration in Linux user space

跳至解决方案
40,776 次查看
Huazhi_Hank_Gon
Contributor III

Hi,

Can I modify the u-boot configuration after booting into the Linux? I don't want to do that by entering into the u-boot setting prompt to do this.

Thanks...

Hank

标记 (2)
1 解答
20,270 次查看
ajithpv
Contributor V

Hi Huazhi,

               Even I also referred the same link which u provided in above query. For getting the "fw_setenv", do the following steps.

In uboot:

1) give 'env' (optional parameter) in uboot and compile it

2) this will generate the 'fw_printenv' in the U-Boot directory tools/env

3) Copy the fw_env.config file too.

3) follow the next steps from the "U-boot environment variables in linux link"

Please let me know any additional details you want for fw_printenv and fw_setenv.

Best regards

Ajith P V


在原帖中查看解决方案

23 回复数
968 次查看
Huazhi_Hank_Gon
Contributor III

Yes. It's not easy. We want to make some kind of updating program here, which requires us to change the booting parameters sometimes.

0 项奖励
回复
968 次查看
navanisrivastav
Contributor II

Hi,

Do you want to change environment variable or bootloader binary itself? Please specify.

0 项奖励
回复
968 次查看
Huazhi_Hank_Gon
Contributor III

Hi, I just want to change the environment variables.

0 项奖励
回复