Building linux kernal with flex-builder

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

Building linux kernal with flex-builder

跳至解决方案
1,022 次查看
nagurvalisayyad
Contributor I

Hi,

   We are using LS1046ardb kit in dpdk mode. Now we want to change the usdpaa dts file to bring few of the ethernet ports to linux. We have done the changes in fsl-ls1046a-rdb-usdpaa.dts file. We are facing the compilation issues to generate the binary files.

The following are the sequence of commands executed:

1) export CROSS_COMPILE = aarch64-linux-gnu-

    export ARCH=arm64

2) flex-builder -c linux

3) flex-builder -i mkitb -r ubuntu:main

4) flex-builder -i mklinux -r ubuntu

5) flex-builder -i mkbootpartition

6) flex-builder -i mkrfs

7) flex-builder -i merge-component

flex-builder -i packrfs

While executing the above commands, at the 5th command of mkbootpartition, we are getting the error of "Error in opening the file: pfe.itb" and exits.

Please guide us in solving the above error or if some other method is there to change the dts and incorporate those changes in the target board.

Thanks--

Nagurvali Sayyad.

Please guide us in correcti

0 项奖励
回复
1 解答
1,001 次查看
yipingwang
NXP TechSupport
NXP TechSupport

1. $ source setup.env

2. $ flex-builder -c linux

Go to folder flexbuild_lsdk2108/components/linux/linux, modify dpdk dts file arch/arm64/boot/dts/freescale/fsl-ls1046a-rdb-usdpaa.dts.

3. $ flex-builder -c linux

4. $ flex-builder -i mkbootpartition

If your problem remains, please provide your build console log.

在原帖中查看解决方案

0 项奖励
回复
1 回复
1,002 次查看
yipingwang
NXP TechSupport
NXP TechSupport

1. $ source setup.env

2. $ flex-builder -c linux

Go to folder flexbuild_lsdk2108/components/linux/linux, modify dpdk dts file arch/arm64/boot/dts/freescale/fsl-ls1046a-rdb-usdpaa.dts.

3. $ flex-builder -c linux

4. $ flex-builder -i mkbootpartition

If your problem remains, please provide your build console log.

0 项奖励
回复