Debian 12 SDK

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

Debian 12 SDK

跳至解决方案
1,998 次查看
AngelF
Contributor III

Hello,

We have read that NXP has released a new version based on Debian 12 (kernel 6.6.3) for i.MX processors
We want to use it in our own design based on i.MX8m plus, so we need to port uboot and kernel.
Could you please help us to find out how to get the toolchain, rootfs, uboot and kernel source code ?
kind regards and thank you

Angel

0 项奖励
回复
1 解答
1,884 次查看
AngelF
Contributor III

Hi Chavira,

Thank you very much for your help.
This could be an option, but we are also considering building the toolchain from NXP release 6.1.22_2.0.0, as this release includes gcc 12.2.
Both Debian 12 and gcc 12.2 include glibc 2.36, and this is an important point when our customers need to cross-compile their FW.

Best regards

Angel

在原帖中查看解决方案

0 项奖励
回复
6 回复数
1,965 次查看
Chavira
NXP TechSupport
NXP TechSupport

HI @AngelF!

Thank you for contacting NXP Support!

 

You can see all the documentation available for Debian in the links below:

 

https://www.nxp.com/design/design-center/software/embedded-software/linux-software-and-development-t...

 

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

 

Best Regards!

Chavira

0 项奖励
回复
1,942 次查看
AngelF
Contributor III

Hi Chavira,

Thank you very much for your help.

My host is ubuntu 24.04, so I follow steps and now I have everything ready to generate Debian images inside a docker container.

Now we need to be able to offer our customers a toolchain so that they can cross-compile their applications in standalone mode aoutside the container. So we would like to be able to generate the toolchain in the same way as we generate it with yocto (populate_sdk command).
How can we get the toolchain using Flexbuild?

Best regards and thank you

Angel

0 项奖励
回复
1,937 次查看
Chavira
NXP TechSupport
NXP TechSupport

HI @AngelF!

 

According with previous cases of the same topic.

After installing flex-builder and setting up compiling environment, you could find toolchain(GCC) is deployed in /usr/bin folder.

 

$ which aarch64-linux-gnu-gcc
/usr/bin/aarch64-linux-gnu-gcc

 

Glibc is deployed in /usr/aarch64-linux-gnu/lib/ folder.

 

If the tool chain doesn´t exist please let me know.

 

Best Regards!

Chavira

0 项奖励
回复
1,915 次查看
AngelF
Contributor III

Hi Chavira,

Yes, I can find aarch64-linux-gnu-gcc and glibc in the container, but I was trying to generate the whole toolchain instead of copying file by file.
When installing NXP yocto firmware, we can use the populate_sdk command to generate the full toolchain and we can deploy to customers in a "professional" way.
So, with Debian 12, is it possible to generate a complete toolchain or do we have to go file by file?
Best regards and thank you

Angel

0 项奖励
回复
1,891 次查看
Chavira
NXP TechSupport
NXP TechSupport

Hi @AngelF!

 

Talking with the internal team I got the next answer:

 

To cross-compile applications in standalone mode, users can use aarch64-linux-gnu-gcc compiler, which is installed by command "sudo apt-get install -y crossbuild-essential-arm64 gcc-aarch64-linux-gnu g++-aarch64-linux-gnu binutils-aarch64-linux-gnu" on Ubuntu host.

 

Best Regards!

Chavira

0 项奖励
回复
1,885 次查看
AngelF
Contributor III

Hi Chavira,

Thank you very much for your help.
This could be an option, but we are also considering building the toolchain from NXP release 6.1.22_2.0.0, as this release includes gcc 12.2.
Both Debian 12 and gcc 12.2 include glibc 2.36, and this is an important point when our customers need to cross-compile their FW.

Best regards

Angel

0 项奖励
回复