Yocto project: meaning of machine file (.conf) variable

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

Yocto project: meaning of machine file (.conf) variable

264 Views
rprronad
Contributor III

Dear Experts,

 I need some clarity about uboot configuration in the machine file(below) variable and its assignment.

1. UBOOT_CONFIG ??= "sd ${@bb.utils.contains('MACHINE_FEATURES', 'optee', 'sd-optee', '', d)}"

2. UBOOT_MACHINE

3. UBOOT_CONFIG[sd] =

for above variable i went through the yocto project mega manual, but i couldn't get clarity & purpose so someone plz tell me about those variables usage in the machine file.



Thanks & Regards,
Ravikumar

0 Kudos
5 Replies

224 Views
rprronad
Contributor III

Hi @Chavira Thanks for your response. 


Yes, I'm referring the one of the MACHINE (.conf file), the notation of above function is different then Yocto documentation. 

So How the above function will works in the meta-layer for different storage (sd, qspi, emmc, etc)? 



Regards,

Ravikumar

0 Kudos

210 Views
Chavira
NXP TechSupport
NXP TechSupport

Hi @rprronad!
Thank you for contacting NXP Support!

Sorry for my misunderstanding.

I recommend not modifying that file, by default the Yocto is configured for "SD card" That configuration works for eMMC and SD Card boot, to add another configuration you can do it local.conf file, the additional configurations depend on the machine that you are using.

Please check chapter 5.5 of our Yocto Users Guide "U-Boot configuration" to see the configurations available depending on the board that you are using

https://www.nxp.com/docs/en/user-guide/IMX_YOCTO_PROJECT_USERS_GUIDE.pdf

Best Regards!
Chavira

200 Views
rprronad
Contributor III

Hi @Chavira 
Thanks for your response & sharing information.

1. Is there any shell script (.sh file) for copying the Linux source images(.dtb, zImage) into SD Card rootfs file system (EXT4, FAT) in the IMX6ULL Processor family?

 

2. What are all the procedure need to follow for the creation of SD Card ?

 

Thanks & Regards, 

Ravikumar 

 

 

0 Kudos

137 Views
Chavira
NXP TechSupport
NXP TechSupport

Hi @rprronad! 

You can flash your board using the UUU tool.

 

You can download the UUU tool at the link below:

 

https://github.com/nxp-imx/mfgtools/releases/tag/uuu_1.5.165

 

The procedure for SD cards can be under the UUU tool or done manually following the steps described in our Linux User Guide.

 

https://www.nxp.com/docs/en/user-guide/IMX_LINUX_USERS_GUIDE.pdf

 

Best Regards!

Chavira

0 Kudos

246 Views
Chavira
NXP TechSupport
NXP TechSupport

Hi @rprronad!

Thank you for contacting NXP Support!

 

Are you referring to a local.conf file?

 

You can see the function of the file in the Yocto documentation.

 

Best Regards!

Chavira