Building linux kernal with flex-builder

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

Building linux kernal with flex-builder

Jump to solution
1,015 Views
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 Kudos
Reply
1 Solution
994 Views
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.

View solution in original post

0 Kudos
Reply
1 Reply
995 Views
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 Kudos
Reply