git not working in yocto hardknott

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

git not working in yocto hardknott

2,781 次查看
ejmfrancisco
Contributor I

I am new to building Yocto images so I follow the NXP guide on how to make Yocto Hardknott.

The image build was successful using "bitbake imx-image-full".

However, three concerns I encounter:

  1. NXP Experience is not showing built in models.
  2. Wifi in imx8mp-lpddr4-evk is not being detected.
  3. I want to use git to clone some works from github but 'git' is not found.

Can anyone help me solve this issue? Thank you!

 

0 项奖励
回复
6 回复数

2,711 次查看
Harvey021
NXP TechSupport
NXP TechSupport

Hi @ejmfrancisco 

I' m not sure the project image "imx-image-build" , have you followed up the Table 1. i.MX Yocto project images for those available images.

bin folder in the home directory to which you refer "setting up the Repo utility", then it is by default as stated per yocto user guide.

build directory in an external drive, which should work.

The syntax is right tested with bsp 5.15.32

 

Best regards

Harvey

 

0 项奖励
回复

2,706 次查看
ejmfrancisco
Contributor I

Hi, what I meant by bitbake imx-image-build is bitbake imx-image-full. And also, yes, I follow the exact steps the documentation provides. However, I always get this error. Do you know how to fix this one?

Screenshot from 2022-12-21 14-51-56.png

0 项奖励
回复

2,689 次查看
Harvey021
NXP TechSupport
NXP TechSupport

I've just tested build imx-image-full with bsp5.15.52 with success. 

An advice to this failure of task "fetch", you can try to download them manually, if no problem, then download it to <your yocto bsp dir>/downloads, and then have a copy of it with suffix ".done".

 

Best regards

Harvey

0 项奖励
回复

2,648 次查看
ejmfrancisco
Contributor I

I am actually building imx-linux-hardknott 5.10.72-2.2.2. Would BSP 5.15 still be compatible with my imx8mp-lpddr4-evk board?

I tried many times and I still received the same error. Was this an internal issue with qtbase and qtdeclarative?

0 项奖励
回复

2,766 次查看
Harvey021
NXP TechSupport
NXP TechSupport

Hi @ejmfrancisco 

Not sure of your first question, can you tell more with details?

To WiFi issue, have your loaded WiFI driver? modprobe moal wifi_mod=nxp/wifi_mod_para.conf and run ifconfig -a to check if it is there.

 To git command, you might need to build by adding it to conf/local.conf, recipes file for git too already included in sources/poky/meta/recipes-devtools/git$

 

Best regards

Harvey

 

0 项奖励
回复

2,727 次查看
ejmfrancisco
Contributor I

Thank you for your answer. However, I cannot confirm this one because I rebuilt my image.

Currently, the build returns an error while performing bitbake imx-image-build. My question is, is it possible to have the bin folder in the home directory and the build directory in an external drive?

Also, when adding git to local.conf, is the syntax IMAGE_INSTALL += "git" the right one to add?

0 项奖励
回复