Yocto error for the file change in scu fw folder

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

Yocto error for the file change in scu fw folder

886 Views
viswa_kondapall
Contributor IV

Hi,

We changed the DDR and done necessary changes in the configuration. As the new imx8qx_dcd_933MHz.cfg  file is replaced in the place of old one, then the below issues is coming

Any fine dependency with configuration or the DD file is stopping for the configuration.

//---------------------------------------------------------------------------------------------------------------------------

DDfile : for compilation : not geting which is creating the error.

//---------------

do_compile() {
    echo "compiling scfw"
    export TOOLS="${TOPDIR}/../sources/ccu-external-toolchain/"
    tar xjf ${TOPDIR}/../sources/ccu-external-toolchain/gcc-arm-none-eabi-7-2018-q2-update-linux.tar.bz2 -C ${TOPDIR}/../sources/ccu-external-toolchain/
    oe_runmake clean
    oe_runmake qx B=mek R=B0 DL=5 D=1 DDR_CON=imx8qx_dcd_933MHz    
}

//------------------------------------------------------------------------------------------------------------------

Initialising tasks: 100% |################################################################################################################################| Time: 0:00:02
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
ERROR: cup-scfw-1.0-r0 do_compile: oe_runmake failed
ERROR: cup-scfw-1.0-r0 do_compile: Function failed: do_compile (log file is located at /home/work/temp/cup-yocto-V1-1/imx-yocto-bsp/build_imx8dx-cup/tmp/work/aarch64-poky-linux/cup-scfw/1.0-r0/temp/log.do_compile.8267)
ERROR: Logfile of failure stored in: /home/work/temp/cup-yocto-V1-1/imx-yocto-bsp/build_imx8dx-cup/tmp/work/aarch64-poky-linux/cup-scfw/1.0-r0/temp/log.do_compile.8267
Log data follows:
| DEBUG: Executing shell function do_compile
| compiling scfw
| NOTE: make -j 2 clean
| NOTE: make -j 2 qx B=mek R=B0 DL=5 D=1 DDR_CON=imx8qx_dcd_933MHz
| Generating platform/board/mx8qx_mek/dcd/imx8qx_dcd_933MHz.h
| Generating platform/board/mx8qx_mek/dcd/imx8qx_dcd_933MHz_retention.h
| sed: couldn't open file bin/dcd.sed: No such file or directory
| Makefile:398: recipe for target 'platform/board/mx8qx_mek/dcd/imx8qx_dcd_933MHz.h' failed
| make: *** [platform/board/mx8qx_mek/dcd/imx8qx_dcd_933MHz.h] Error 4
| make: *** Waiting for unfinished jobs....
| sed: couldn't open file bin/retention.sed: No such file or directory
| Makefile:417: recipe for target 'platform/board/mx8qx_mek/dcd/imx8qx_dcd_933MHz_retention.h' failed
| make: *** [platform/board/mx8qx_mek/dcd/imx8qx_dcd_933MHz_retention.h] Error 4
| ERROR: oe_runmake failed
| WARNING: exit code 1 from a shell command.
| ERROR: Function failed: do_compile (log file is located at /home/work/temp/cup-yocto-V1-1/imx-yocto-bsp/build_imx8dx-cup/tmp/work/aarch64-poky-linux/cup-scfw/1.0-r0/temp/log.do_compile.8267)
ERROR: Task (/home/work/temp/cup-yocto-V1-1/imx-yocto-bsp/sources/meta-cup-scfw/recipes-cup-scfw/cup-scfw/cup-scfw_1.0.bb:do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 479 tasks of which 473 didn't need to be rerun and 1 failed.

Summary: 1 task failed:
/home/work/temp/cup-yocto-V1-1/imx-yocto-bsp/sources/meta-cup-scfw/recipes-cup-scfw/cup-scfw/cup-scfw_1.0.bb:do_compile
Summary: There were 3 WARNING messages shown.
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.

Regards,

Viswa

Tags (1)
0 Kudos
3 Replies

708 Views
viswa_kondapall
Contributor IV

We are using Imx8dx/qxp.

My doubt is that SCUFW need to compile with M4 compiler independently.?? for the this new ddr dcd cfg file. we changed the DDR size , accordingly changed the DDR dcd cfg file to the respective ddr spec. Then while compilation of new cfg file is getting errors in compilation.

Build Configuration:
BB_VERSION           = "1.38.0"
BUILD_SYS            = "x86_64-linux"
NATIVELSBSTRING      = "ubuntu-16.04"
TARGET_SYS           = "aarch64-poky-linux"
MACHINE              = "imx8dx_ruby"
DISTRO               = "fsl-imx-wayland"
DISTRO_VERSION       = "4.14-sumo"
TUNE_FEATURES        = "aarch64"

Regards,

Viswanath K

0 Kudos

708 Views
jimmychan
NXP TechSupport
NXP TechSupport

I don't know which BSP are you using.

Anyway, you can download the document from here:

i.MX Software | NXP 

e.g.

Please read the i.MX_Porting_Guide.pdf for the DDR porting details.

0 Kudos

708 Views
jimmychan
NXP TechSupport
NXP TechSupport

could you tell me which board are you using?

what is the version of the Yocto BSP?

0 Kudos