s32g image build

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 
1,804件の閲覧回数
athul_am
Contributor II

hi ,

Can someone let me know the steps to build an ubuntu image for Nxp s32grdb2.I need to enable all ethernet ports in the image also.

The manual i have is bsp 28.0 version and after the repo migration it is not working.

 

Thanks in Advance

0 件の賞賛
返信
1 解決策
1,791件の閲覧回数
chenyin_h
NXP Employee
NXP Employee

Hello, @athul_am

Thanks for the questions.

BSP28 is relatively old, you may carefully reference the following link for the details:

https://community.nxp.com/t5/S32G-Knowledge-Base/How-to-build-older-Auto-Linux-BSPs/ta-p/1637516

I tried the following command according to the BSP user manual and seems it could start the building without issues:

 

git clone https://github.com/nxp-auto-linux/linux-bsp-utils.git

cd linux-bsp-utils/codeaurora_migration/

./migrate.sh --full --work_path ./BSP28 --release_branch release/bsp28.0

cd BSP28/auto-bsp/

./sources/meta-alb/scripts/host-prepare.sh

. nxp-setup-alb.sh -m s32g274ardb2ubuntu

cd build_s32g274ardb2ubuntu

bitbake fsl-image-ubuntu-base

 

You may help to try it on your own building machines

Hope it helps.

 

Best Regards

Chenyin

元の投稿で解決策を見る

3 返答(返信)
1,779件の閲覧回数
chenyin_h
NXP Employee
NXP Employee

Hello, @athul_am

Thank you for the reply.

As far as I know, the ubuntu version is 20.04 before BSP36 by default, if you would use the BSP36 or newer one, the default one is 22.04, If targeting Ubuntu-20.04 images on these newer BSPs, add the following line in /conf/local.conf.

UBUNTU_TARGET_VERSION = "20.04.1"

Currently for building BSPs, I suggest using the command listed in the BSP user manual for building the Ubuntu based images, in details described in chapter 3.1.3: BSP ubuntu build.

Hope it helps.

 

Best Regards

Chenyin

0 件の賞賛
返信
1,792件の閲覧回数
chenyin_h
NXP Employee
NXP Employee

Hello, @athul_am

Thanks for the questions.

BSP28 is relatively old, you may carefully reference the following link for the details:

https://community.nxp.com/t5/S32G-Knowledge-Base/How-to-build-older-Auto-Linux-BSPs/ta-p/1637516

I tried the following command according to the BSP user manual and seems it could start the building without issues:

 

git clone https://github.com/nxp-auto-linux/linux-bsp-utils.git

cd linux-bsp-utils/codeaurora_migration/

./migrate.sh --full --work_path ./BSP28 --release_branch release/bsp28.0

cd BSP28/auto-bsp/

./sources/meta-alb/scripts/host-prepare.sh

. nxp-setup-alb.sh -m s32g274ardb2ubuntu

cd build_s32g274ardb2ubuntu

bitbake fsl-image-ubuntu-base

 

You may help to try it on your own building machines

Hope it helps.

 

Best Regards

Chenyin

1,788件の閲覧回数
athul_am
Contributor II

Hi @chenyin_h,

Thank you for the Response it is not mandatory that i use the 28 version i can use the latest version also,

my usecase is to build an image for the s32grdb2 board with all the ports enabled. I would like to build the fsl-image-bluebox as it was used in earlier boards but it gives me error that i need the ubuntu 20.04 and not 22.04. Is there any issue with that image regarding the ubuntu version.

Sorry if the above question is something dumb.

Best Regards,

Athul

 

0 件の賞賛
返信