LS1028a uboot build

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

LS1028a uboot build

915 Views
sjane
Contributor I

Hi,

bitbake -c menuconfig virtual/bootloader  after saving the changes to .config

bitbake -c compile -f virtual/bootloader fails with  below error as oe_runmake failed.

fsl-linux/u-boot-qoriq/2023.04+AUTOINC+49b102d988+fslgit-r0/git/include/config ]; then \
| echo >&2 " /export/home2/yocto-sdk/build_ls1028ardb/tmp/work/ls1028ardb-fsl-linux/u-boot-qoriq/2023.04+AUTOINC+49b102d988+fslgit-r0/git is not clean, please run 'make mrproper'"; \
| echo >&2 " in the '/export/home2/yocto-sdk/build_ls1028ardb/tmp/work/ls1028ardb-fsl-linux/u-boot-qoriq/2023.04+AUTOINC+49b102d988+fslgit-r0/git' directory.";\
| /bin/false; \
| fi;
| /export/home2/yocto-sdk/build_ls1028ardb/tmp/work/ls1028ardb-fsl-linux/u-boot-qoriq/2023.04+AUTOINC+49b102d988+fslgit-r0/git is not clean, please run 'make mrproper'
| in the '/export/home2/yocto-sdk/build_ls1028ardb/tmp/work/ls1028ardb-fsl-linux/u-boot-qoriq/2023.04+AUTOINC+49b102d988+fslgit-r0/git' directory.
| make[1]: *** [/export/home2/yocto-sdk/build_ls1028ardb/tmp/work/ls1028ardb-fsl-linux/u-boot-qoriq/2023.04+AUTOINC+49b102d988+fslgit-r0/git/Makefile:1881: prepare3] Error 1
| make[1]: Leaving directory '/export/home2/yocto-sdk/build_ls1028ardb/tmp/work/ls1028ardb-fsl-linux/u-boot-qoriq/2023.04+AUTOINC+49b102d988+fslgit-r0/build/ls1028ardb_tfa_SECURE_BOOT_defconfig'
| make: *** [Makefile:177: sub-make] Error 2
| make: Leaving directory '/export/home2/yocto-sdk/build_ls1028ardb/tmp/work/ls1028ardb-fsl-linux/u-boot-qoriq/2023.04+AUTOINC+49b102d988+fslgit-r0/git'
| ERROR: oe_runmake failed
| WARNING: exit code 1 from a shell command.
ERROR: Task (/export/home2/yocto-sdk/sources/meta-qoriq/recipes-bsp/u-boot/u-boot-qoriq_2023.04.bb:do_compile) failed with exit code '1'

I have to bitbake clean and rerun to succeed. I need to enable pci support in the uboot menuconfig. I need to bring up wifi module on pcie2 . Kindly guide how to proceed.

 

with regards,

Sjane

0 Kudos
Reply
1 Reply

857 Views
LFGP
NXP TechSupport
NXP TechSupport
dear @sjane,
before add support at menuconfig you need to create a new layer for WIFI into the BSP, also you will need the driver and add a node into the DTS.
Please contact your module maker WIFI (vendor) in order to get steps to add the layer to the BSP.