git not working in yocto hardknott

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

git not working in yocto hardknott

2,788 Views
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 Kudos
Reply
6 Replies

2,718 Views
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 Kudos
Reply

2,713 Views
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 Kudos
Reply

2,696 Views
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 Kudos
Reply

2,655 Views
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 Kudos
Reply

2,773 Views
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 Kudos
Reply

2,734 Views
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 Kudos
Reply