Bug 13572

Summary: DE10-nano Devicetree defconfig not found
Product: [Build System, Metadata & Runtime] BitBake Reporter: Arvind Anche <arvind_anche>
Component: bitbakeAssignee: Richard Purdie <richard.purdie>
Status: RESOLVED INVALID QA Contact:
Severity: normal    
Priority: Undecided CC: poky.bs.watcher, poky.watcher, randy.macleod
Version: unspecified   
Target Milestone: ---   
Hardware: x86   
OS: x86_64   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: Yes (doc changes required)
Attachments:
Description Flags
Complete run log is attached none

Description Arvind Anche 2019-10-04 11:09:31 UTC
Created attachment 4575 [details]
Complete run log is attached

Hi, 
I want to build the latest uboot and kernel images for the DE10-nano board.
I am getting the below error message.
As per the documents i have set the below two variables on the terminal:
export UBOOT_CONFIG=de0-nano-soc
export IMAGE_BOOT_FILES=soc_system.rbf

I tried to look in the below directory for the socfpga_de0_nano_soc_defconfig file, but i don't see file here.
~/yocto/build/tmp/work-shared/cyclone5/kernel-source/arch/arm/configs

How can i proceed building the image now?
>> bitbake core-image-minimal

| NOTE: make -j 2 HOSTCC=gcc  -isystem/home/aanche/work/yocto/build/tmp/work/cyclone5-poky-linux-gnueabi/linux-altera-ltsi/4.14.130-ltsi+gitAUTOINC+567dd6b26f-r0/recipe-sysroot-native/usr/include -O2 -pipe -L/home/aanche/work/yocto/build/tmp/work/cyclone5-poky-linux-gnueabi/linux-altera-ltsi/4.14.130-ltsi+gitAUTOINC+567dd6b26f-r0/recipe-sysroot-native/usr/lib                         -L/home/aanche/work/yocto/build/tmp/work/cyclone5-poky-linux-gnueabi/linux-altera-ltsi/4.14.130-ltsi+gitAUTOINC+567dd6b26f-r0/recipe-sysroot-native/lib                         -Wl,--enable-new-dtags                         -Wl,-rpath-link,/home/aanche/work/yocto/build/tmp/work/cyclone5-poky-linux-gnueabi/linux-altera-ltsi/4.14.130-ltsi+gitAUTOINC+567dd6b26f-r0/recipe-sysroot-native/usr/lib                         -Wl,-rpath-link,/home/aanche/work/yocto/build/tmp/work/cyclone5-poky-linux-gnueabi/linux-altera-ltsi/4.14.130-ltsi+gitAUTOINC+567dd6b26f-r0/recipe-sysroot-native/lib                         -Wl,-rpath,/home/aanche/work/yocto/build/tmp/work/cyclone5-poky-linux-gnueabi/linux-altera-ltsi/4.14.130-ltsi+gitAUTOINC+567dd6b26f-r0/recipe-sysroot-native/usr/lib                         -Wl,-rpath,/home/aanche/work/yocto/build/tmp/work/cyclone5-poky-linux-gnueabi/linux-altera-ltsi/4.14.130-ltsi+gitAUTOINC+567dd6b26f-r0/recipe-sysroot-native/lib                         -Wl,-O1 -Wl,--allow-shlib-undefined -Wl,--dynamic-linker=/home/aanche/work/yocto/build/tmp/sysroots-uninative/x86_64-linux/lib/ld-linux-x86-64.so.2 HOSTCPP=gcc  -E socfpga_cyclone5_de0_nano_soc.dtb
|   CHK     scripts/mod/devicetable-offsets.h
| make[3]: *** No rule to make target 'arch/arm/boot/dts/socfpga_cyclone5_de0_nano_soc.dtb'.  Stop.
| make[2]: *** [arch/arm/Makefile:343: socfpga_cyclone5_de0_nano_soc.dtb] Error 2
| make[1]: *** [Makefile:146: sub-make] Error 2
| make: *** [Makefile:24: __sub-make] Error 2
| ERROR: oe_runmake failed
| WARNING: /home/aanche/work/yocto/build/tmp/work/cyclone5-poky-linux-gnueabi/linux-altera-ltsi/4.14.130-ltsi+gitAUTOINC+567dd6b26f-r0/temp/run.do_compile.1810:1 exit 1 from 'exit 1'
| ERROR: Function failed: do_compile (log file is located at /home/aanche/work/yocto/build/tmp/work/cyclone5-poky-linux-gnueabi/linux-altera-ltsi/4.14.130-ltsi+gitAUTOINC+567dd6b26f-r0/temp/log.do_compile.1810)
ERROR: Task (/home/aanche/work/yocto/build/../meta-altera/recipes-kernel/linux/linux-altera-ltsi_4.14.130.bb:do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 1146 tasks of which 1139 didn't need to be rerun and 1 failed.

Summary: 1 task failed:
  /home/aanche/work/yocto/build/../meta-altera/recipes-kernel/linux/linux-altera-ltsi_4.14.130.bb:do_compile
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.
Comment 1 Arvind Anche 2019-10-04 11:11:44 UTC
Following the instructions from below link:
https://rocketboards.org/foswiki/Documentation/BuildingYoctoOrAngstromForSoCFPGA
Comment 2 Randy MacLeod 2019-10-10 14:34:06 UTC
This layer isn't suppoted by the YP bugzilla. Check the layer README for support info.