I wish to copy the another architecture files in bitbake process

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

I wish to copy the another architecture files in bitbake process

1,908 Views
toshihiro_kambe
Contributor II

Hi,

 

I using the i.MX8Q board(MCIMX8M-EVKB).

I wish the copy to files in bitbake process, but I got the following error in bitbake.

> ERROR: {Delete} do_package_qa: QA Issue: (ARM, expected AArch64) on {My Directory}/fileA.bin
> Architecture did not match (x86, expected AArch64) on {My Directory}/fileB.bin

> Architecture did not match (ARM, expected AArch64) on {My Directory}/fileC.bin [arch]

These files are not match the architecture (x86 or ARM, not AArch64). 

But These files not need the cross-compilte to i.MX8Q. 
So I want to copy the file as is in the bitbake process.

I am avoiding the error by following the steps below.

<Now Steps>
zip the these files(fileA.bin fileB.bin and file.C) in same directory in sources.
And delete the files.

bitbake was complete(non error by this zip file).
I use unzip command after write the image to SD card.

And using the these files(not need cross compile to i.MX8Q).

BTW:
I change to 644 these files by chmod command.
But I got same error in bitbake.

 

Best regards,

Toshihiro Kambe

Labels (1)
0 Kudos
4 Replies

1,889 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello toshihiro,

 

For the MX8M bitbake has the functionality of compile the code and aarch64 is the architecture that support the i.MX8, if you are putting other architecture or copy with the bitbake, you have to use other architecture.

Regards

0 Kudos

1,873 Views
toshihiro_kambe
Contributor II

Dear Bio_TICFSL-san,

Thank you for your response.

>you have to use other architecture.

if copy the another architecture, I need use archiver file(e.g. zip , 7z and others)?

 

Best regards

Toshihiro Kambe

0 Kudos

1,864 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello,

You have to use another architecture where yocto is going to be read, like linux. do not think this is going to work with the aarch64.

 

Regards

 

0 Kudos

1,846 Views
toshihiro_kambe
Contributor II

Dear Bio_TICFSL-san,

Thank you for your response and advice.

Best regards.

0 Kudos