I.mx6SoloX U-boot custom commands

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

I.mx6SoloX U-boot custom commands

1,885 次查看
kbante1995
Contributor I

How can we create custom commands in u-boot using yocto project ?

Ex .-> in uboot if I enter=>verify_pmic -> it should read all the important registers related to that pmic and log into one txt file .

I am using below u-boot version and built by yocto project .

U-Boot 2018.03-4.14.98-2.3.0+g0e20792 (Mar 29 2020 - 18:26:39 +0000)

arm-poky-linux-gnueabi-gcc (GCC) 7.3.0
GNU ld (GNU Binutils) 2.30.0.20180208

标签 (2)
0 项奖励
回复
2 回复数

1,776 次查看
radhikasomaiya
Senior Contributor II

Hi  Vasim Akram,

You can add your custom command in u-boot using U_BOOT_CMD() macro in U-Boot source. You can take the reference of i2c command to implement your command in u-boot source.

Regards,

Radhika

0 项奖励
回复

1,776 次查看
Rita_Wang
NXP TechSupport
NXP TechSupport

Could you tell us which version of BSP are you using? For the uboot command you can see our user guide and release note documents.

0 项奖励
回复