[OpenBMC]: Porting OpenBMC to a aarch64 SoC

wangmin at phytium.com.cn wangmin at phytium.com.cn
Thu Mar 4 20:34:53 AEDT 2021


Hi folks,

 

I am trying porting OpenBMC to a aarch64 SoC.  Just to clarify, the porting
work makes OpenBMC to run on a aarch64 machine. But there are many errors
during the porting process. Currently, the linux kernel and OS had been
successfully compiled by using the configuration
<https://github.com/openbmc/openbmc/blob/master/poky/meta/conf/machine/inclu
de/arm/arch-armv8a.inc> , while the u-boot failed to be compiled. 

 

ubuntu at ubuntu:build$ bitbake linux-aspeed

Loading cache: 100%
|###########################################################################
############################################################################
########################| Time: 0:00:02

Loaded 3548 entries from dependency cache.

Parsing recipes: 100%
|###########################################################################
############################################################################
######################| Time: 0:00:02

Parsing of 2387 .bb files complete (2384 cached, 3 parsed). 3551 targets,
353 skipped, 0 masked, 0 errors.

NOTE: Resolving any missing task queue dependencies

 

Build Configuration:

BB_VERSION           = "1.46.0"

BUILD_SYS            = "aarch64-linux"

NATIVELSBSTRING      = "ubuntu-18.04"

TARGET_SYS           = "aarch64-openbmc-linux"

MACHINE              = "s2500"

DISTRO               = "openbmc-phosphor"

DISTRO_VERSION       = "0.1.0"

TUNE_FEATURES        = "aarch64 armv8a"

TARGET_FPU           = ""

meta                 

meta-poky            

meta-oe              

meta-networking      

meta-perl            

meta-python          

meta-webserver       

meta-phosphor        

meta-aspeed          

meta-openpower       

meta-phytium         

meta-s2500          

workspace            = "master:abb3d515c30e1be83f21fb6916fe5be4edad0be7"

 

WARNING: The Linux kernel on your build host was not configured to provide
process I/O statistics. (CONFIG_TASK_IO_ACCOUNTING is not set)

Initialising tasks: 100%
|###########################################################################
############################################################################
###################| Time: 0:00:04

Sstate summary: Wanted 3 Found 3 Missed 0 Current 466 (100% match, 100%
complete)

NOTE: Executing Tasks

NOTE: Tasks Summary: Attempted 1548 tasks of which 1547 didn't need to be
rerun and all succeeded.

 

 

Summary: There was 1 WARNING message shown.

ubuntu at ubuntu:build$ ls -alsh tmp/deploy/images/s2500/

total 19M

4.0K drwxr-xr-x 2 ubuntu ubuntu 4.0K Mar  4 02:22 .

4.0K drwxrwxr-x 5 ubuntu ubuntu 4.0K Nov 24 19:28 ..

36K -rw-r--r-- 2 ubuntu ubuntu  34K Mar  4 02:22
aspeed-bmc-phytium-s2500--5.4.39+git0+30079d65ac-r0-s2500-20210304070353.dtb

4.0K lrwxrwxrwx 2 ubuntu ubuntu   78 Mar  4 02:22
aspeed-bmc-phytium-s2500.dtb ->
aspeed-bmc-phytium-s2500--5.4.39+git0+30079d65ac-r0-s2500-20210304070353.dtb

4.0K lrwxrwxrwx 2 ubuntu ubuntu   78 Mar  4 02:22
aspeed-bmc-phytium-s2500-s2500.dtb ->
aspeed-bmc-phytium-s2500--5.4.39+git0+30079d65ac-r0-s2500-20210304070353.dtb

4.0K lrwxrwxrwx 2 ubuntu ubuntu   61 Mar  4 02:22 fitImage -> fitImage--5.4.
39+git0+30079d65ac-r0-s2500-20210304070353.bin

5.2M -rw-r--r-- 2 ubuntu ubuntu 5.2M Mar  4 02:22
fitImage--5.4.39+git0+30079d65ac-r0-s2500-20210304070353.bin

4.0K lrwxrwxrwx 2 ubuntu ubuntu   61 Mar  4 02:22 fitImage-s2500.bin ->
fitImage--5.4.39+git0+30079d65ac-r0-s2500-20210304070353.bin

4.0K -rw-r--r-- 2 ubuntu ubuntu 1.6K Mar  4 02:22
fitImage-its--5.4.39+git0+30079d65ac-r0-s2500-20210304070353.its

4.0K lrwxrwxrwx 2 ubuntu ubuntu   65 Mar  4 02:22 fitImage-its-s2500 ->
fitImage-its--5.4.39+git0+30079d65ac-r0-s2500-20210304070353.its

4.0K -rw-r--r-- 2 ubuntu ubuntu 2.2K Mar  4 02:22
fitImage-its-obmc-phosphor-initramfs-s2500--5.4.39+git0+30079d65ac-r0-s2500-
20210304070353.its

4.0K lrwxrwxrwx 2 ubuntu ubuntu   96 Mar  4 02:22
fitImage-its-obmc-phosphor-initramfs-s2500-s2500 ->
fitImage-its-obmc-phosphor-initramfs-s2500--5.4.39+git0+30079d65ac-r0-s2500-
20210304070353.its

5.2M -rw-r--r-- 2 ubuntu ubuntu 5.2M Mar  4 02:22
fitImage-linux.bin--5.4.39+git0+30079d65ac-r0-s2500-20210304070353.bin

4.0K lrwxrwxrwx 2 ubuntu ubuntu   71 Mar  4 02:22 fitImage-linux.bin-s2500
-> fitImage-linux.bin--5.4.39+git0+30079d65ac-r0-s2500-20210304070353.bin

6.4M -rw-r--r-- 2 ubuntu ubuntu 6.4M Mar  4 02:22
fitImage-obmc-phosphor-initramfs-s2500--5.4.39+git0+30079d65ac-r0-s2500-2021
0304070353.bin

4.0K lrwxrwxrwx 2 ubuntu ubuntu   92 Mar  4 02:22
fitImage-obmc-phosphor-initramfs-s2500-s2500 ->
fitImage-obmc-phosphor-initramfs-s2500--5.4.39+git0+30079d65ac-r0-s2500-2021
0304070353.bin

1.2M -rw-r--r-- 2 ubuntu ubuntu 1.2M Mar  4 02:12
obmc-phosphor-initramfs-s2500-20210304070353.rootfs.cpio.xz

4.0K -rw-r--r-- 2 ubuntu ubuntu  120 Mar  4 01:20
obmc-phosphor-initramfs-s2500-20210304070353.rootfs.manifest

392K -rw-r--r-- 2 ubuntu ubuntu 389K Mar  4 01:20
obmc-phosphor-initramfs-s2500-20210304070353.testdata.json

4.0K lrwxrwxrwx 2 ubuntu ubuntu   60 Mar  4 02:12
obmc-phosphor-initramfs-s2500.cpio.xz ->
obmc-phosphor-initramfs-s2500-20210304070353.rootfs.cpio.xz

4.0K lrwxrwxrwx 2 ubuntu ubuntu   61 Mar  4 01:20
obmc-phosphor-initramfs-s2500.manifest ->
obmc-phosphor-initramfs-s2500-20210304070353.rootfs.manifest

   0 lrwxrwxrwx 2 ubuntu ubuntu   59 Mar  4 01:20
obmc-phosphor-initramfs-s2500.testdata.json ->
obmc-phosphor-initramfs-s2500-20210304070353.testdata.json

ubuntu at ubuntu:build$ 

ubuntu at ubuntu:build$ cd
/home/ubuntu/openbmc-2.8.0/build/tmp/work/aarch64-openbmc-linux/phosphor-ipm
i-host/1.0+gitAUTOINC+21addc5793-r1/image/usr/bin/

ubuntu at ubuntu:bin$ file ipmid 

ipmid: ELF 64-bit LSB executable, ARM aarch64, version 1 (SYSV), dynamically
linked, interpreter /lib/ld-linux-aarch64.so.1,
BuildID[sha1]=cd6c539c856b52153cd99dde44acd18ecc058c13, for GNU/Linux
3.14.0, with debug_info, not stripped

 

 

The following text snippets shows the problems that were encountered during
the process of my porting.

 

 

ubuntu at ubuntu:build$ bitbake obmc-phosphor-image

Loading cache: 100%
|###########################################################################
############################################################################
########################| Time: 0:00:01

Loaded 3548 entries from dependency cache.

Parsing recipes: 100%
|###########################################################################
############################################################################
######################| Time: 0:00:02

Parsing of 2387 .bb files complete (2384 cached, 3 parsed). 3551 targets,
353 skipped, 0 masked, 0 errors.

NOTE: Resolving any missing task queue dependencies

 

Build Configuration:

BB_VERSION           = "1.46.0"

BUILD_SYS            = "aarch64-linux"

NATIVELSBSTRING      = "ubuntu-18.04"

TARGET_SYS           = "aarch64-openbmc-linux"

MACHINE              = "s2500"

DISTRO               = "openbmc-phosphor"

DISTRO_VERSION       = "0.1.0"

TUNE_FEATURES        = "aarch64 armv8a"

TARGET_FPU           = ""

meta                 

meta-poky            

meta-oe              

meta-networking      

meta-perl            

meta-python          

meta-webserver       

meta-phosphor        

meta-aspeed          

meta-openpower       

meta-phytium         

meta-s2500          

workspace            = "master:abb3d515c30e1be83f21fb6916fe5be4edad0be7"

 

WARNING: The Linux kernel on your build host was not configured to provide
process I/O statistics. (CONFIG_TASK_IO_ACCOUNTING is not set)

Initialising tasks: 100%
|###########################################################################
############################################################################
###################| Time: 0:00:09

Sstate summary: Wanted 64 Found 16 Missed 48 Current 1323 (25% match, 96%
complete)

NOTE: Executing Tasks

ERROR: u-boot-aspeed-sdk-1_v2019.04+gitAUTOINC+09e0e88ee0-r0 do_compile:
oe_runmake failed

ERROR: u-boot-aspeed-sdk-1_v2019.04+gitAUTOINC+09e0e88ee0-r0 do_compile:
Execution of
'/home/ubuntu/openbmc-2.8.0/build/tmp/work/s2500-openbmc-linux/u-boot-aspeed
-sdk/1_v2019.04+gitAUTOINC+09e0e88ee0-r0/temp/run.do_compile.5502' failed
with exit code 1:

make: Entering directory
'/home/ubuntu/openbmc-2.8.0/build/tmp/work/s2500-openbmc-linux/u-boot-aspeed
-sdk/1_v2019.04+gitAUTOINC+09e0e88ee0-r0/git'

make -C
/home/ubuntu/openbmc-2.8.0/build/tmp/work/s2500-openbmc-linux/u-boot-aspeed-
sdk/1_v2019.04+gitAUTOINC+09e0e88ee0-r0/build
KBUILD_SRC=/home/ubuntu/openbmc-2.8.0/build/tmp/work/s2500-openbmc-linux/u-b
oot-aspeed-sdk/1_v2019.04+gitAUTOINC+09e0e88ee0-r0/git \

-f
/home/ubuntu/openbmc-2.8.0/build/tmp/work/s2500-openbmc-linux/u-boot-aspeed-
sdk/1_v2019.04+gitAUTOINC+09e0e88ee0-r0/git/Makefile 

make[1]: Entering directory
'/home/ubuntu/openbmc-2.8.0/build/tmp/work/s2500-openbmc-linux/u-boot-aspeed
-sdk/1_v2019.04+gitAUTOINC+09e0e88ee0-r0/build'

set -e; : '  CHK     include/config/uboot.release'; mkdir -p
include/config/;        echo "2019.04$(/bin/bash
/home/ubuntu/openbmc-2.8.0/build/tmp/work/s2500-openbmc-linux/u-boot-aspeed-
sdk/1_v2019.04+gitAUTOINC+09e0e88ee0-r0/git/scripts/setlocalversion
/home/ubuntu/openbmc-2.8.0/build/tmp/work/s2500-openbmc-linux/u-boot-aspeed-
sdk/1_v2019.04+gitAUTOINC+09e0e88ee0-r0/git)" < include/config/auto.conf >
include/config/uboot.release.tmp; if [ -r include/config/uboot.release ] &&
cmp -s include/config/uboot.release include/config/uboot.release.tmp; then
rm -f include/config/uboot.release.tmp; else : '  UPD
include/config/uboot.release'; mv -f include/config/uboot.release.tmp
include/config/uboot.release; fi

ln -fsn
/home/ubuntu/openbmc-2.8.0/build/tmp/work/s2500-openbmc-linux/u-boot-aspeed-
sdk/1_v2019.04+gitAUTOINC+09e0e88ee0-r0/git source

set -e; : '  CHK     include/generated/timestamp_autogenerated.h'; mkdir -p
include/generated/;        (if test -n "${SOURCE_DATE_EPOCH}"; then
SOURCE_DATE="@${SOURCE_DATE_EPOCH}"; DATE=""; for date in gdate date.gnu
date; do ${date} -u -d "${SOURCE_DATE}" >/dev/null 2>&1 && DATE="${date}";
done; if test -n "${DATE}"; then LC_ALL=C ${DATE} -u -d "${SOURCE_DATE}"
+'#define U_BOOT_DATE "%b %d %C%y"'; LC_ALL=C ${DATE} -u -d "${SOURCE_DATE}"
+'#define U_BOOT_TIME "%T"'; LC_ALL=C ${DATE} -u -d "${SOURCE_DATE}"
+'#define U_BOOT_TZ "%z"'; LC_ALL=C ${DATE} -u -d "${SOURCE_DATE}" +'#define
U_BOOT_DMI_DATE "%m/%d/%Y"'; LC_ALL=C ${DATE} -u -d "${SOURCE_DATE}"
+'#define U_BOOT_BUILD_DATE 0x%Y%m%d'; else return 42; fi; else LC_ALL=C
date +'#define U_BOOT_DATE "%b %d %C%y"'; LC_ALL=C date +'#define
U_BOOT_TIME "%T"'; LC_ALL=C date +'#define U_BOOT_TZ "%z"'; LC_ALL=C date
+'#define U_BOOT_DMI_DATE "%m/%d/%Y"'; LC_ALL=C date +'#define
U_BOOT_BUILD_DATE 0x%Y%m%d'; fi) <
/home/ubuntu/openbmc-2.8.0/build/tmp/work/s2500-openbmc-linux/u-boot-aspeed-
sdk/1_v2019.04+gitAUTOINC+09e0e88ee0-r0/git/Makefile >
include/generated/timestamp_autogenerated.h.tmp; if [ -r
include/generated/timestamp_autogenerated.h ] && cmp -s
include/generated/timestamp_autogenerated.h
include/generated/timestamp_autogenerated.h.tmp; then rm -f
include/generated/timestamp_autogenerated.h.tmp; else : '  UPD
include/generated/timestamp_autogenerated.h'; mv -f
include/generated/timestamp_autogenerated.h.tmp
include/generated/timestamp_autogenerated.h; fi

make -f
/home/ubuntu/openbmc-2.8.0/build/tmp/work/s2500-openbmc-linux/u-boot-aspeed-
sdk/1_v2019.04+gitAUTOINC+09e0e88ee0-r0/git/scripts/Makefile.build
obj=scripts/basic

/bin/bash
/home/ubuntu/openbmc-2.8.0/build/tmp/work/s2500-openbmc-linux/u-boot-aspeed-
sdk/1_v2019.04+gitAUTOINC+09e0e88ee0-r0/git/scripts/mkmakefile \

 
/home/ubuntu/openbmc-2.8.0/build/tmp/work/s2500-openbmc-linux/u-boot-aspeed-
sdk/1_v2019.04+gitAUTOINC+09e0e88ee0-r0/git . 2019 04

  GEN     ./Makefile

rm -f .tmp_quiet_recordmcount

make -f
/home/ubuntu/openbmc-2.8.0/build/tmp/work/s2500-openbmc-linux/u-boot-aspeed-
sdk/1_v2019.04+gitAUTOINC+09e0e88ee0-r0/git/scripts/Makefile.build
obj=scripts

if [ -f
/home/ubuntu/openbmc-2.8.0/build/tmp/work/s2500-openbmc-linux/u-boot-aspeed-
sdk/1_v2019.04+gitAUTOINC+09e0e88ee0-r0/git/.config -o -d
/home/ubuntu/openbmc-2.8.0/build/tmp/work/s2500-openbmc-linux/u-boot-aspeed-
sdk/1_v2019.04+gitAUTOINC+09e0e88ee0-r0/git/include/config ]; then \

           echo >&2 "
/home/ubuntu/openbmc-2.8.0/build/tmp/work/s2500-openbmc-linux/u-boot-aspeed-
sdk/1_v2019.04+gitAUTOINC+09e0e88ee0-r0/git is not clean, please run 'make
mrproper'"; \

           echo >&2 "  in the
'/home/ubuntu/openbmc-2.8.0/build/tmp/work/s2500-openbmc-linux/u-boot-aspeed
-sdk/1_v2019.04+gitAUTOINC+09e0e88ee0-r0/git' directory.";\

           /bin/false; \

fi;

make -f
/home/ubuntu/openbmc-2.8.0/build/tmp/work/s2500-openbmc-linux/u-boot-aspeed-
sdk/1_v2019.04+gitAUTOINC+09e0e88ee0-r0/git/scripts/Makefile.build
obj=scripts/dtc

set -e; : '  CHK     include/generated/version_autogenerated.h'; mkdir -p
include/generated/; (echo \#define PLAIN_VERSION \"2019.04""\"; echo
\#define U_BOOT_VERSION \"U-Boot \" PLAIN_VERSION; echo \#define
CC_VERSION_STRING \"$(LC_ALL=C aarch64-openbmc-linux-gcc
--sysroot=/home/ubuntu/openbmc-2.8.0/build/tmp/work/s2500-openbmc-linux/u-bo
ot-aspeed-sdk/1_v2019.04+gitAUTOINC+09e0e88ee0-r0/recipe-sysroot --version |
head -n 1)\"; echo \#define LD_VERSION_STRING \"$(LC_ALL=C
aarch64-openbmc-linux-ld.bfd --version | head -n 1)\"; ) <
include/config/uboot.release >
include/generated/version_autogenerated.h.tmp; if [ -r
include/generated/version_autogenerated.h ] && cmp -s
include/generated/version_autogenerated.h
include/generated/version_autogenerated.h.tmp; then rm -f
include/generated/version_autogenerated.h.tmp; else : '  UPD
include/generated/version_autogenerated.h'; mv -f
include/generated/version_autogenerated.h.tmp
include/generated/version_autogenerated.h; fi

make -f
/home/ubuntu/openbmc-2.8.0/build/tmp/work/s2500-openbmc-linux/u-boot-aspeed-
sdk/1_v2019.04+gitAUTOINC+09e0e88ee0-r0/git/scripts/Makefile.build obj=.

mkdir -p lib/

mkdir -p arch/arm/lib/

  aarch64-openbmc-linux-gcc
--sysroot=/home/ubuntu/openbmc-2.8.0/build/tmp/work/s2500-openbmc-linux/u-bo
ot-aspeed-sdk/1_v2019.04+gitAUTOINC+09e0e88ee0-r0/recipe-sysroot
-Wp,-MD,lib/.asm-offsets.s.d  -nostdinc -isystem
/home/ubuntu/openbmc-2.8.0/build/tmp/work/s2500-openbmc-linux/u-boot-aspeed-
sdk/1_v2019.04+gitAUTOINC+09e0e88ee0-r0/recipe-sysroot-native/usr/bin/aarch6
4-openbmc-linux/../../lib/aarch64-openbmc-linux/gcc/aarch64-openbmc-linux/9.
3.0/include -Iinclude
-I/home/ubuntu/openbmc-2.8.0/build/tmp/work/s2500-openbmc-linux/u-boot-aspee
d-sdk/1_v2019.04+gitAUTOINC+09e0e88ee0-r0/git/include
-I/home/ubuntu/openbmc-2.8.0/build/tmp/work/s2500-openbmc-linux/u-boot-aspee
d-sdk/1_v2019.04+gitAUTOINC+09e0e88ee0-r0/git/arch/arm/include -include
/home/ubuntu/openbmc-2.8.0/build/tmp/work/s2500-openbmc-linux/u-boot-aspeed-
sdk/1_v2019.04+gitAUTOINC+09e0e88ee0-r0/git/include/linux/kconfig.h
-I/home/ubuntu/openbmc-2.8.0/build/tmp/work/s2500-openbmc-linux/u-boot-aspee
d-sdk/1_v2019.04+gitAUTOINC+09e0e88ee0-r0/git/. -I. -D__KERNEL__ -D__UBOOT__
-Wall -Wstrict-prototypes -Wno-format-security -fno-builtin -ffreestanding
-std=gnu11 -fshort-wchar -fno-strict-aliasing -fno-PIE -Os
-fno-stack-protector -fno-delete-null-pointer-checks
-fmacro-prefix-map=/home/ubuntu/openbmc-2.8.0/build/tmp/work/s2500-openbmc-l
inux/u-boot-aspeed-sdk/1_v2019.04+gitAUTOINC+09e0e88ee0-r0/git/= -g
-fstack-usage -Wno-format-nonliteral -Wno-address-of-packed-member
-Werror=date-time -D__ARM__ -fno-pic -ffunction-sections -fdata-sections
-fno-common -ffixed-r9 -pipe -D__LINUX_ARM_ARCH__=7 -mtune=generic-armv7-a
-I/home/ubuntu/openbmc-2.8.0/build/tmp/work/s2500-openbmc-linux/u-boot-aspee
d-sdk/1_v2019.04+gitAUTOINC+09e0e88ee0-r0/git/arch/arm/mach-aspeed/include
-DDO_DEPS_ONLY    -D"KBUILD_STR(s)=#s"
-D"KBUILD_BASENAME=KBUILD_STR(asm_offsets)"
-D"KBUILD_MODNAME=KBUILD_STR(asm_offsets)"  -fverbose-asm -S -o
lib/asm-offsets.s
/home/ubuntu/openbmc-2.8.0/build/tmp/work/s2500-openbmc-linux/u-boot-aspeed-
sdk/1_v2019.04+gitAUTOINC+09e0e88ee0-r0/git/lib/asm-offsets.c

  aarch64-openbmc-linux-gcc
--sysroot=/home/ubuntu/openbmc-2.8.0/build/tmp/work/s2500-openbmc-linux/u-bo
ot-aspeed-sdk/1_v2019.04+gitAUTOINC+09e0e88ee0-r0/recipe-sysroot
-Wp,-MD,arch/arm/lib/.asm-offsets.s.d  -nostdinc -isystem
/home/ubuntu/openbmc-2.8.0/build/tmp/work/s2500-openbmc-linux/u-boot-aspeed-
sdk/1_v2019.04+gitAUTOINC+09e0e88ee0-r0/recipe-sysroot-native/usr/bin/aarch6
4-openbmc-linux/../../lib/aarch64-openbmc-linux/gcc/aarch64-openbmc-linux/9.
3.0/include -Iinclude
-I/home/ubuntu/openbmc-2.8.0/build/tmp/work/s2500-openbmc-linux/u-boot-aspee
d-sdk/1_v2019.04+gitAUTOINC+09e0e88ee0-r0/git/include
-I/home/ubuntu/openbmc-2.8.0/build/tmp/work/s2500-openbmc-linux/u-boot-aspee
d-sdk/1_v2019.04+gitAUTOINC+09e0e88ee0-r0/git/arch/arm/include -include
/home/ubuntu/openbmc-2.8.0/build/tmp/work/s2500-openbmc-linux/u-boot-aspeed-
sdk/1_v2019.04+gitAUTOINC+09e0e88ee0-r0/git/include/linux/kconfig.h
-I/home/ubuntu/openbmc-2.8.0/build/tmp/work/s2500-openbmc-linux/u-boot-aspee
d-sdk/1_v2019.04+gitAUTOINC+09e0e88ee0-r0/git/. -I. -D__KERNEL__ -D__UBOOT__
-Wall -Wstrict-prototypes -Wno-format-security -fno-builtin -ffreestanding
-std=gnu11 -fshort-wchar -fno-strict-aliasing -fno-PIE -Os
-fno-stack-protector -fno-delete-null-pointer-checks
-fmacro-prefix-map=/home/ubuntu/openbmc-2.8.0/build/tmp/work/s2500-openbmc-l
inux/u-boot-aspeed-sdk/1_v2019.04+gitAUTOINC+09e0e88ee0-r0/git/= -g
-fstack-usage -Wno-format-nonliteral -Wno-address-of-packed-member
-Werror=date-time -D__ARM__ -fno-pic -ffunction-sections -fdata-sections
-fno-common -ffixed-r9 -pipe -D__LINUX_ARM_ARCH__=7 -mtune=generic-armv7-a
-I/home/ubuntu/openbmc-2.8.0/build/tmp/work/s2500-openbmc-linux/u-boot-aspee
d-sdk/1_v2019.04+gitAUTOINC+09e0e88ee0-r0/git/arch/arm/mach-aspeed/include
-DDO_DEPS_ONLY    -D"KBUILD_STR(s)=#s"
-D"KBUILD_BASENAME=KBUILD_STR(asm_offsets)"
-D"KBUILD_MODNAME=KBUILD_STR(asm_offsets)"  -fverbose-asm -S -o
arch/arm/lib/asm-offsets.s
/home/ubuntu/openbmc-2.8.0/build/tmp/work/s2500-openbmc-linux/u-boot-aspeed-
sdk/1_v2019.04+gitAUTOINC+09e0e88ee0-r0/git/arch/arm/lib/asm-offsets.c

cc1: error: unknown value 'generic-armv7-a' for '-mtune'

cc1: note: valid arguments are: cortex-a35 cortex-a53 cortex-a57 cortex-a72
cortex-a73 thunderx thunderxt88p1 thunderxt88 octeontx octeontx81 octeontx83
thunderxt81 thunderxt83 emag xgene1 falkor qdf24xx exynos-m1 phecda
thunderx2t99p1 vulcan thunderx2t99 cortex-a55 cortex-a75 cortex-a76 ares
neoverse-n1 neoverse-e1 tsv110 saphira cortex-a57.cortex-a53
cortex-a72.cortex-a53 cortex-a73.cortex-a35 cortex-a73.cortex-a53
cortex-a75.cortex-a55 cortex-a76.cortex-a55 generic

/home/ubuntu/openbmc-2.8.0/build/tmp/work/s2500-openbmc-linux/u-boot-aspeed-
sdk/1_v2019.04+gitAUTOINC+09e0e88ee0-r0/git/./Kbuild:43: recipe for target
'lib/asm-offsets.s' failed

make[2]: *** [lib/asm-offsets.s] Error 1

make[2]: *** Waiting for unfinished jobs....

cc1: error: unknown value 'generic-armv7-a' for '-mtune'

cc1: note: valid arguments are: cortex-a35 cortex-a53 cortex-a57 cortex-a72
cortex-a73 thunderx thunderxt88p1 thunderxt88 octeontx octeontx81 octeontx83
thunderxt81 thunderxt83 emag xgene1 falkor qdf24xx exynos-m1 phecda
thunderx2t99p1 vulcan thunderx2t99 cortex-a55 cortex-a75 cortex-a76 ares
neoverse-n1 neoverse-e1 tsv110 saphira cortex-a57.cortex-a53
cortex-a72.cortex-a53 cortex-a73.cortex-a35 cortex-a73.cortex-a53
cortex-a75.cortex-a55 cortex-a76.cortex-a55 generic

/home/ubuntu/openbmc-2.8.0/build/tmp/work/s2500-openbmc-linux/u-boot-aspeed-
sdk/1_v2019.04+gitAUTOINC+09e0e88ee0-r0/git/./Kbuild:64: recipe for target
'arch/arm/lib/asm-offsets.s' failed

make[2]: *** [arch/arm/lib/asm-offsets.s] Error 1

/home/ubuntu/openbmc-2.8.0/build/tmp/work/s2500-openbmc-linux/u-boot-aspeed-
sdk/1_v2019.04+gitAUTOINC+09e0e88ee0-r0/git/Makefile:1589: recipe for target
'prepare0' failed

make[1]: *** [prepare0] Error 2

make[1]: Leaving directory
'/home/ubuntu/openbmc-2.8.0/build/tmp/work/s2500-openbmc-linux/u-boot-aspeed
-sdk/1_v2019.04+gitAUTOINC+09e0e88ee0-r0/build'

Makefile:148: recipe for target 'sub-make' failed

make: *** [sub-make] Error 2

make: Leaving directory
'/home/ubuntu/openbmc-2.8.0/build/tmp/work/s2500-openbmc-linux/u-boot-aspeed
-sdk/1_v2019.04+gitAUTOINC+09e0e88ee0-r0/git'

WARNING: exit code 1 from a shell command.

 

ERROR: Logfile of failure stored in:
/home/ubuntu/openbmc-2.8.0/build/tmp/work/s2500-openbmc-linux/u-boot-aspeed-
sdk/1_v2019.04+gitAUTOINC+09e0e88ee0-r0/temp/log.do_compile.5502

Log data follows:

| DEBUG: Executing shell function do_compile

| NOTE: make -j 4 CROSS_COMPILE=aarch64-openbmc-linux-
CC=aarch64-openbmc-linux-gcc
--sysroot=/home/ubuntu/openbmc-2.8.0/build/tmp/work/s2500-openbmc-linux/u-bo
ot-aspeed-sdk/1_v2019.04+gitAUTOINC+09e0e88ee0-r0/recipe-sysroot V=1
HOSTCC=gcc
-isystem/home/ubuntu/openbmc-2.8.0/build/tmp/work/s2500-openbmc-linux/u-boot
-aspeed-sdk/1_v2019.04+gitAUTOINC+09e0e88ee0-r0/recipe-sysroot-native/usr/in
clude -O2 -pipe
-L/home/ubuntu/openbmc-2.8.0/build/tmp/work/s2500-openbmc-linux/u-boot-aspee
d-sdk/1_v2019.04+gitAUTOINC+09e0e88ee0-r0/recipe-sysroot-native/usr/lib
-L/home/ubuntu/openbmc-2.8.0/build/tmp/work/s2500-openbmc-linux/u-boot-aspee
d-sdk/1_v2019.04+gitAUTOINC+09e0e88ee0-r0/recipe-sysroot-native/lib
-Wl,--enable-new-dtags
-Wl,-rpath-link,/home/ubuntu/openbmc-2.8.0/build/tmp/work/s2500-openbmc-linu
x/u-boot-aspeed-sdk/1_v2019.04+gitAUTOINC+09e0e88ee0-r0/recipe-sysroot-nativ
e/usr/lib
-Wl,-rpath-link,/home/ubuntu/openbmc-2.8.0/build/tmp/work/s2500-openbmc-linu
x/u-boot-aspeed-sdk/1_v2019.04+gitAUTOINC+09e0e88ee0-r0/recipe-sysroot-nativ
e/lib
-Wl,-rpath,/home/ubuntu/openbmc-2.8.0/build/tmp/work/s2500-openbmc-linux/u-b
oot-aspeed-sdk/1_v2019.04+gitAUTOINC+09e0e88ee0-r0/recipe-sysroot-native/usr
/lib
-Wl,-rpath,/home/ubuntu/openbmc-2.8.0/build/tmp/work/s2500-openbmc-linux/u-b
oot-aspeed-sdk/1_v2019.04+gitAUTOINC+09e0e88ee0-r0/recipe-sysroot-native/lib
-Wl,-O1
STAGING_INCDIR=/home/ubuntu/openbmc-2.8.0/build/tmp/work/s2500-openbmc-linux
/u-boot-aspeed-sdk/1_v2019.04+gitAUTOINC+09e0e88ee0-r0/recipe-sysroot-native
/usr/include
STAGING_LIBDIR=/home/ubuntu/openbmc-2.8.0/build/tmp/work/s2500-openbmc-linux
/u-boot-aspeed-sdk/1_v2019.04+gitAUTOINC+09e0e88ee0-r0/recipe-sysroot-native
/usr/lib -C
/home/ubuntu/openbmc-2.8.0/build/tmp/work/s2500-openbmc-linux/u-boot-aspeed-
sdk/1_v2019.04+gitAUTOINC+09e0e88ee0-r0/git
O=/home/ubuntu/openbmc-2.8.0/build/tmp/work/s2500-openbmc-linux/u-boot-aspee
d-sdk/1_v2019.04+gitAUTOINC+09e0e88ee0-r0/build DEVICE_TREE=ast2600-s2500

| make: Entering directory
'/home/ubuntu/openbmc-2.8.0/build/tmp/work/s2500-openbmc-linux/u-boot-aspeed
-sdk/1_v2019.04+gitAUTOINC+09e0e88ee0-r0/git'

| make -C
/home/ubuntu/openbmc-2.8.0/build/tmp/work/s2500-openbmc-linux/u-boot-aspeed-
sdk/1_v2019.04+gitAUTOINC+09e0e88ee0-r0/build
KBUILD_SRC=/home/ubuntu/openbmc-2.8.0/build/tmp/work/s2500-openbmc-linux/u-b
oot-aspeed-sdk/1_v2019.04+gitAUTOINC+09e0e88ee0-r0/git \

| -f
/home/ubuntu/openbmc-2.8.0/build/tmp/work/s2500-openbmc-linux/u-boot-aspeed-
sdk/1_v2019.04+gitAUTOINC+09e0e88ee0-r0/git/Makefile

| make[1]: Entering directory
'/home/ubuntu/openbmc-2.8.0/build/tmp/work/s2500-openbmc-linux/u-boot-aspeed
-sdk/1_v2019.04+gitAUTOINC+09e0e88ee0-r0/build'

| set -e; : '  CHK     include/config/uboot.release'; mkdir -p
include/config/;       echo "2019.04$(/bin/bash
/home/ubuntu/openbmc-2.8.0/build/tmp/work/s2500-openbmc-linux/u-boot-aspeed-
sdk/1_v2019.04+gitAUTOINC+09e0e88ee0-r0/git/scripts/setlocalversion
/home/ubuntu/openbmc-2.8.0/build/tmp/work/s2500-openbmc-linux/u-boot-aspeed-
sdk/1_v2019.04+gitAUTOINC+09e0e88ee0-r0/git)" < include/config/auto.conf >
include/config/uboot.release.tmp; if [ -r include/config/uboot.release ] &&
cmp -s include/config/uboot.release include/config/uboot.release.tmp; then
rm -f include/config/uboot.release.tmp; else : '  UPD
include/config/uboot.release'; mv -f include/config/uboot.release.tmp
include/config/uboot.release; fi

| ln -fsn
/home/ubuntu/openbmc-2.8.0/build/tmp/work/s2500-openbmc-linux/u-boot-aspeed-
sdk/1_v2019.04+gitAUTOINC+09e0e88ee0-r0/git source

| set -e; : '  CHK     include/generated/timestamp_autogenerated.h'; mkdir
-p include/generated/;      (if test -n "${SOURCE_DATE_EPOCH}"; then
SOURCE_DATE="@${SOURCE_DATE_EPOCH}"; DATE=""; for date in gdate date.gnu
date; do ${date} -u -d "${SOURCE_DATE}" >/dev/null 2>&1 && DATE="${date}";
done; if test -n "${DATE}"; then LC_ALL=C ${DATE} -u -d "${SOURCE_DATE}"
+'#define U_BOOT_DATE "%b %d %C%y"'; LC_ALL=C ${DATE} -u -d "${SOURCE_DATE}"
+'#define U_BOOT_TIME "%T"'; LC_ALL=C ${DATE} -u -d "${SOURCE_DATE}"
+'#define U_BOOT_TZ "%z"'; LC_ALL=C ${DATE} -u -d "${SOURCE_DATE}" +'#define
U_BOOT_DMI_DATE "%m/%d/%Y"'; LC_ALL=C ${DATE} -u -d "${SOURCE_DATE}"
+'#define U_BOOT_BUILD_DATE 0x%Y%m%d'; else return 42; fi; else LC_ALL=C
date +'#define U_BOOT_DATE "%b %d %C%y"'; LC_ALL=C date +'#define
U_BOOT_TIME "%T"'; LC_ALL=C date +'#define U_BOOT_TZ "%z"'; LC_ALL=C date
+'#define U_BOOT_DMI_DATE "%m/%d/%Y"'; LC_ALL=C date +'#define
U_BOOT_BUILD_DATE 0x%Y%m%d'; fi) <
/home/ubuntu/openbmc-2.8.0/build/tmp/work/s2500-openbmc-linux/u-boot-aspeed-
sdk/1_v2019.04+gitAUTOINC+09e0e88ee0-r0/git/Makefile >
include/generated/timestamp_autogenerated.h.tmp; if [ -r
include/generated/timestamp_autogenerated.h ] && cmp -s
include/generated/timestamp_autogenerated.h
include/generated/timestamp_autogenerated.h.tmp; then rm -f
include/generated/timestamp_autogenerated.h.tmp; else : '  UPD
include/generated/timestamp_autogenerated.h'; mv -f
include/generated/timestamp_autogenerated.h.tmp
include/generated/timestamp_autogenerated.h; fi

| make -f
/home/ubuntu/openbmc-2.8.0/build/tmp/work/s2500-openbmc-linux/u-boot-aspeed-
sdk/1_v2019.04+gitAUTOINC+09e0e88ee0-r0/git/scripts/Makefile.build
obj=scripts/basic

| /bin/bash
/home/ubuntu/openbmc-2.8.0/build/tmp/work/s2500-openbmc-linux/u-boot-aspeed-
sdk/1_v2019.04+gitAUTOINC+09e0e88ee0-r0/git/scripts/mkmakefile \

|
/home/ubuntu/openbmc-2.8.0/build/tmp/work/s2500-openbmc-linux/u-boot-aspeed-
sdk/1_v2019.04+gitAUTOINC+09e0e88ee0-r0/git . 2019 04

|   GEN     ./Makefile

| rm -f .tmp_quiet_recordmcount

| make -f
/home/ubuntu/openbmc-2.8.0/build/tmp/work/s2500-openbmc-linux/u-boot-aspeed-
sdk/1_v2019.04+gitAUTOINC+09e0e88ee0-r0/git/scripts/Makefile.build
obj=scripts

| if [ -f
/home/ubuntu/openbmc-2.8.0/build/tmp/work/s2500-openbmc-linux/u-boot-aspeed-
sdk/1_v2019.04+gitAUTOINC+09e0e88ee0-r0/git/.config -o -d
/home/ubuntu/openbmc-2.8.0/build/tmp/work/s2500-openbmc-linux/u-boot-aspeed-
sdk/1_v2019.04+gitAUTOINC+09e0e88ee0-r0/git/include/config ]; then \

|         echo >&2 "
/home/ubuntu/openbmc-2.8.0/build/tmp/work/s2500-openbmc-linux/u-boot-aspeed-
sdk/1_v2019.04+gitAUTOINC+09e0e88ee0-r0/git is not clean, please run 'make
mrproper'"; \

|         echo >&2 "  in the
'/home/ubuntu/openbmc-2.8.0/build/tmp/work/s2500-openbmc-linux/u-boot-aspeed
-sdk/1_v2019.04+gitAUTOINC+09e0e88ee0-r0/git' directory.";\

|         /bin/false; \

| fi;

| make -f
/home/ubuntu/openbmc-2.8.0/build/tmp/work/s2500-openbmc-linux/u-boot-aspeed-
sdk/1_v2019.04+gitAUTOINC+09e0e88ee0-r0/git/scripts/Makefile.build
obj=scripts/dtc

| set -e; : '  CHK     include/generated/version_autogenerated.h'; mkdir -p
include/generated/;           (echo \#define PLAIN_VERSION \"2019.04""\";
echo \#define U_BOOT_VERSION \"U-Boot \" PLAIN_VERSION; echo \#define
CC_VERSION_STRING \"$(LC_ALL=C aarch64-openbmc-linux-gcc
--sysroot=/home/ubuntu/openbmc-2.8.0/build/tmp/work/s2500-openbmc-linux/u-bo
ot-aspeed-sdk/1_v2019.04+gitAUTOINC+09e0e88ee0-r0/recipe-sysroot --version |
head -n 1)\"; echo \#define LD_VERSION_STRING \"$(LC_ALL=C
aarch64-openbmc-linux-ld.bfd --version | head -n 1)\"; ) <
include/config/uboot.release >
include/generated/version_autogenerated.h.tmp; if [ -r
include/generated/version_autogenerated.h ] && cmp -s
include/generated/version_autogenerated.h
include/generated/version_autogenerated.h.tmp; then rm -f
include/generated/version_autogenerated.h.tmp; else : '  UPD
include/generated/version_autogenerated.h'; mv -f
include/generated/version_autogenerated.h.tmp
include/generated/version_autogenerated.h; fi

| make -f
/home/ubuntu/openbmc-2.8.0/build/tmp/work/s2500-openbmc-linux/u-boot-aspeed-
sdk/1_v2019.04+gitAUTOINC+09e0e88ee0-r0/git/scripts/Makefile.build obj=.

| mkdir -p lib/

| mkdir -p arch/arm/lib/

|   aarch64-openbmc-linux-gcc
--sysroot=/home/ubuntu/openbmc-2.8.0/build/tmp/work/s2500-openbmc-linux/u-bo
ot-aspeed-sdk/1_v2019.04+gitAUTOINC+09e0e88ee0-r0/recipe-sysroot
-Wp,-MD,lib/.asm-offsets.s.d  -nostdinc -isystem
/home/ubuntu/openbmc-2.8.0/build/tmp/work/s2500-openbmc-linux/u-boot-aspeed-
sdk/1_v2019.04+gitAUTOINC+09e0e88ee0-r0/recipe-sysroot-native/usr/bin/aarch6
4-openbmc-linux/../../lib/aarch64-openbmc-linux/gcc/aarch64-openbmc-linux/9.
3.0/include -Iinclude
-I/home/ubuntu/openbmc-2.8.0/build/tmp/work/s2500-openbmc-linux/u-boot-aspee
d-sdk/1_v2019.04+gitAUTOINC+09e0e88ee0-r0/git/include
-I/home/ubuntu/openbmc-2.8.0/build/tmp/work/s2500-openbmc-linux/u-boot-aspee
d-sdk/1_v2019.04+gitAUTOINC+09e0e88ee0-r0/git/arch/arm/include -include
/home/ubuntu/openbmc-2.8.0/build/tmp/work/s2500-openbmc-linux/u-boot-aspeed-
sdk/1_v2019.04+gitAUTOINC+09e0e88ee0-r0/git/include/linux/kconfig.h
-I/home/ubuntu/openbmc-2.8.0/build/tmp/work/s2500-openbmc-linux/u-boot-aspee
d-sdk/1_v2019.04+gitAUTOINC+09e0e88ee0-r0/git/. -I. -D__KERNEL__ -D__UBOOT__
-Wall -Wstrict-prototypes -Wno-format-security -fno-builtin -ffreestanding
-std=gnu11 -fshort-wchar -fno-strict-aliasing -fno-PIE -Os
-fno-stack-protector -fno-delete-null-pointer-checks
-fmacro-prefix-map=/home/ubuntu/openbmc-2.8.0/build/tmp/work/s2500-openbmc-l
inux/u-boot-aspeed-sdk/1_v2019.04+gitAUTOINC+09e0e88ee0-r0/git/= -g
-fstack-usage -Wno-format-nonliteral -Wno-address-of-packed-member
-Werror=date-time -D__ARM__ -fno-pic -ffunction-sections -fdata-sections
-fno-common -ffixed-r9 -pipe -D__LINUX_ARM_ARCH__=7 -mtune=generic-armv7-a
-I/home/ubuntu/openbmc-2.8.0/build/tmp/work/s2500-openbmc-linux/u-boot-aspee
d-sdk/1_v2019.04+gitAUTOINC+09e0e88ee0-r0/git/arch/arm/mach-aspeed/include
-DDO_DEPS_ONLY    -D"KBUILD_STR(s)=#s"
-D"KBUILD_BASENAME=KBUILD_STR(asm_offsets)"
-D"KBUILD_MODNAME=KBUILD_STR(asm_offsets)"  -fverbose-asm -S -o
lib/asm-offsets.s
/home/ubuntu/openbmc-2.8.0/build/tmp/work/s2500-openbmc-linux/u-boot-aspeed-
sdk/1_v2019.04+gitAUTOINC+09e0e88ee0-r0/git/lib/asm-offsets.c

|   aarch64-openbmc-linux-gcc
--sysroot=/home/ubuntu/openbmc-2.8.0/build/tmp/work/s2500-openbmc-linux/u-bo
ot-aspeed-sdk/1_v2019.04+gitAUTOINC+09e0e88ee0-r0/recipe-sysroot
-Wp,-MD,arch/arm/lib/.asm-offsets.s.d  -nostdinc -isystem
/home/ubuntu/openbmc-2.8.0/build/tmp/work/s2500-openbmc-linux/u-boot-aspeed-
sdk/1_v2019.04+gitAUTOINC+09e0e88ee0-r0/recipe-sysroot-native/usr/bin/aarch6
4-openbmc-linux/../../lib/aarch64-openbmc-linux/gcc/aarch64-openbmc-linux/9.
3.0/include -Iinclude
-I/home/ubuntu/openbmc-2.8.0/build/tmp/work/s2500-openbmc-linux/u-boot-aspee
d-sdk/1_v2019.04+gitAUTOINC+09e0e88ee0-r0/git/include
-I/home/ubuntu/openbmc-2.8.0/build/tmp/work/s2500-openbmc-linux/u-boot-aspee
d-sdk/1_v2019.04+gitAUTOINC+09e0e88ee0-r0/git/arch/arm/include -include
/home/ubuntu/openbmc-2.8.0/build/tmp/work/s2500-openbmc-linux/u-boot-aspeed-
sdk/1_v2019.04+gitAUTOINC+09e0e88ee0-r0/git/include/linux/kconfig.h
-I/home/ubuntu/openbmc-2.8.0/build/tmp/work/s2500-openbmc-linux/u-boot-aspee
d-sdk/1_v2019.04+gitAUTOINC+09e0e88ee0-r0/git/. -I. -D__KERNEL__ -D__UBOOT__
-Wall -Wstrict-prototypes -Wno-format-security -fno-builtin -ffreestanding
-std=gnu11 -fshort-wchar -fno-strict-aliasing -fno-PIE -Os
-fno-stack-protector -fno-delete-null-pointer-checks
-fmacro-prefix-map=/home/ubuntu/openbmc-2.8.0/build/tmp/work/s2500-openbmc-l
inux/u-boot-aspeed-sdk/1_v2019.04+gitAUTOINC+09e0e88ee0-r0/git/= -g
-fstack-usage -Wno-format-nonliteral -Wno-address-of-packed-member
-Werror=date-time -D__ARM__ -fno-pic -ffunction-sections -fdata-sections
-fno-common -ffixed-r9 -pipe -D__LINUX_ARM_ARCH__=7 -mtune=generic-armv7-a
-I/home/ubuntu/openbmc-2.8.0/build/tmp/work/s2500-openbmc-linux/u-boot-aspee
d-sdk/1_v2019.04+gitAUTOINC+09e0e88ee0-r0/git/arch/arm/mach-aspeed/include
-DDO_DEPS_ONLY    -D"KBUILD_STR(s)=#s"
-D"KBUILD_BASENAME=KBUILD_STR(asm_offsets)"
-D"KBUILD_MODNAME=KBUILD_STR(asm_offsets)"  -fverbose-asm -S -o
arch/arm/lib/asm-offsets.s
/home/ubuntu/openbmc-2.8.0/build/tmp/work/s2500-openbmc-linux/u-boot-aspeed-
sdk/1_v2019.04+gitAUTOINC+09e0e88ee0-r0/git/arch/arm/lib/asm-offsets.c

| cc1: error: unknown value 'generic-armv7-a' for '-mtune'

| cc1: note: valid arguments are: cortex-a35 cortex-a53 cortex-a57
cortex-a72 cortex-a73 thunderx thunderxt88p1 thunderxt88 octeontx octeontx81
octeontx83 thunderxt81 thunderxt83 emag xgene1 falkor qdf24xx exynos-m1
phecda thunderx2t99p1 vulcan thunderx2t99 cortex-a55 cortex-a75 cortex-a76
ares neoverse-n1 neoverse-e1 tsv110 saphira cortex-a57.cortex-a53
cortex-a72.cortex-a53 cortex-a73.cortex-a35 cortex-a73.cortex-a53
cortex-a75.cortex-a55 cortex-a76.cortex-a55 generic

|
/home/ubuntu/openbmc-2.8.0/build/tmp/work/s2500-openbmc-linux/u-boot-aspeed-
sdk/1_v2019.04+gitAUTOINC+09e0e88ee0-r0/git/./Kbuild:43: recipe for target
'lib/asm-offsets.s' failed

| make[2]: *** [lib/asm-offsets.s] Error 1

| make[2]: *** Waiting for unfinished jobs....

| cc1: error: unknown value 'generic-armv7-a' for '-mtune'

| cc1: note: valid arguments are: cortex-a35 cortex-a53 cortex-a57
cortex-a72 cortex-a73 thunderx thunderxt88p1 thunderxt88 octeontx octeontx81
octeontx83 thunderxt81 thunderxt83 emag xgene1 falkor qdf24xx exynos-m1
phecda thunderx2t99p1 vulcan thunderx2t99 cortex-a55 cortex-a75 cortex-a76
ares neoverse-n1 neoverse-e1 tsv110 saphira cortex-a57.cortex-a53
cortex-a72.cortex-a53 cortex-a73.cortex-a35 cortex-a73.cortex-a53
cortex-a75.cortex-a55 cortex-a76.cortex-a55 generic

|
/home/ubuntu/openbmc-2.8.0/build/tmp/work/s2500-openbmc-linux/u-boot-aspeed-
sdk/1_v2019.04+gitAUTOINC+09e0e88ee0-r0/git/./Kbuild:64: recipe for target
'arch/arm/lib/asm-offsets.s' failed

| make[2]: *** [arch/arm/lib/asm-offsets.s] Error 1

|
/home/ubuntu/openbmc-2.8.0/build/tmp/work/s2500-openbmc-linux/u-boot-aspeed-
sdk/1_v2019.04+gitAUTOINC+09e0e88ee0-r0/git/Makefile:1589: recipe for target
'prepare0' failed

| make[1]: *** [prepare0] Error 2

| make[1]: Leaving directory
'/home/ubuntu/openbmc-2.8.0/build/tmp/work/s2500-openbmc-linux/u-boot-aspeed
-sdk/1_v2019.04+gitAUTOINC+09e0e88ee0-r0/build'

| Makefile:148: recipe for target 'sub-make' failed

| make: *** [sub-make] Error 2

| make: Leaving directory
'/home/ubuntu/openbmc-2.8.0/build/tmp/work/s2500-openbmc-linux/u-boot-aspeed
-sdk/1_v2019.04+gitAUTOINC+09e0e88ee0-r0/git'

| ERROR: oe_runmake failed

| WARNING: exit code 1 from a shell command.

| ERROR: Execution of
'/home/ubuntu/openbmc-2.8.0/build/tmp/work/s2500-openbmc-linux/u-boot-aspeed
-sdk/1_v2019.04+gitAUTOINC+09e0e88ee0-r0/temp/run.do_compile.5502' failed
with exit code 1:

| make: Entering directory
'/home/ubuntu/openbmc-2.8.0/build/tmp/work/s2500-openbmc-linux/u-boot-aspeed
-sdk/1_v2019.04+gitAUTOINC+09e0e88ee0-r0/git'

| make -C
/home/ubuntu/openbmc-2.8.0/build/tmp/work/s2500-openbmc-linux/u-boot-aspeed-
sdk/1_v2019.04+gitAUTOINC+09e0e88ee0-r0/build
KBUILD_SRC=/home/ubuntu/openbmc-2.8.0/build/tmp/work/s2500-openbmc-linux/u-b
oot-aspeed-sdk/1_v2019.04+gitAUTOINC+09e0e88ee0-r0/git \

| -f
/home/ubuntu/openbmc-2.8.0/build/tmp/work/s2500-openbmc-linux/u-boot-aspeed-
sdk/1_v2019.04+gitAUTOINC+09e0e88ee0-r0/git/Makefile

| make[1]: Entering directory
'/home/ubuntu/openbmc-2.8.0/build/tmp/work/s2500-openbmc-linux/u-boot-aspeed
-sdk/1_v2019.04+gitAUTOINC+09e0e88ee0-r0/build'

| set -e; : '  CHK     include/config/uboot.release'; mkdir -p
include/config/;       echo "2019.04$(/bin/bash
/home/ubuntu/openbmc-2.8.0/build/tmp/work/s2500-openbmc-linux/u-boot-aspeed-
sdk/1_v2019.04+gitAUTOINC+09e0e88ee0-r0/git/scripts/setlocalversion
/home/ubuntu/openbmc-2.8.0/build/tmp/work/s2500-openbmc-linux/u-boot-aspeed-
sdk/1_v2019.04+gitAUTOINC+09e0e88ee0-r0/git)" < include/config/auto.conf >
include/config/uboot.release.tmp; if [ -r include/config/uboot.release ] &&
cmp -s include/config/uboot.release include/config/uboot.release.tmp; then
rm -f include/config/uboot.release.tmp; else : '  UPD
include/config/uboot.release'; mv -f include/config/uboot.release.tmp
include/config/uboot.release; fi

| ln -fsn
/home/ubuntu/openbmc-2.8.0/build/tmp/work/s2500-openbmc-linux/u-boot-aspeed-
sdk/1_v2019.04+gitAUTOINC+09e0e88ee0-r0/git source

| set -e; : '  CHK     include/generated/timestamp_autogenerated.h'; mkdir
-p include/generated/;      (if test -n "${SOURCE_DATE_EPOCH}"; then
SOURCE_DATE="@${SOURCE_DATE_EPOCH}"; DATE=""; for date in gdate date.gnu
date; do ${date} -u -d "${SOURCE_DATE}" >/dev/null 2>&1 && DATE="${date}";
done; if test -n "${DATE}"; then LC_ALL=C ${DATE} -u -d "${SOURCE_DATE}"
+'#define U_BOOT_DATE "%b %d %C%y"'; LC_ALL=C ${DATE} -u -d "${SOURCE_DATE}"
+'#define U_BOOT_TIME "%T"'; LC_ALL=C ${DATE} -u -d "${SOURCE_DATE}"
+'#define U_BOOT_TZ "%z"'; LC_ALL=C ${DATE} -u -d "${SOURCE_DATE}" +'#define
U_BOOT_DMI_DATE "%m/%d/%Y"'; LC_ALL=C ${DATE} -u -d "${SOURCE_DATE}"
+'#define U_BOOT_BUILD_DATE 0x%Y%m%d'; else return 42; fi; else LC_ALL=C
date +'#define U_BOOT_DATE "%b %d %C%y"'; LC_ALL=C date +'#define
U_BOOT_TIME "%T"'; LC_ALL=C date +'#define U_BOOT_TZ "%z"'; LC_ALL=C date
+'#define U_BOOT_DMI_DATE "%m/%d/%Y"'; LC_ALL=C date +'#define
U_BOOT_BUILD_DATE 0x%Y%m%d'; fi) <
/home/ubuntu/openbmc-2.8.0/build/tmp/work/s2500-openbmc-linux/u-boot-aspeed-
sdk/1_v2019.04+gitAUTOINC+09e0e88ee0-r0/git/Makefile >
include/generated/timestamp_autogenerated.h.tmp; if [ -r
include/generated/timestamp_autogenerated.h ] && cmp -s
include/generated/timestamp_autogenerated.h
include/generated/timestamp_autogenerated.h.tmp; then rm -f
include/generated/timestamp_autogenerated.h.tmp; else : '  UPD
include/generated/timestamp_autogenerated.h'; mv -f
include/generated/timestamp_autogenerated.h.tmp
include/generated/timestamp_autogenerated.h; fi

| make -f
/home/ubuntu/openbmc-2.8.0/build/tmp/work/s2500-openbmc-linux/u-boot-aspeed-
sdk/1_v2019.04+gitAUTOINC+09e0e88ee0-r0/git/scripts/Makefile.build
obj=scripts/basic

| /bin/bash
/home/ubuntu/openbmc-2.8.0/build/tmp/work/s2500-openbmc-linux/u-boot-aspeed-
sdk/1_v2019.04+gitAUTOINC+09e0e88ee0-r0/git/scripts/mkmakefile \

|
/home/ubuntu/openbmc-2.8.0/build/tmp/work/s2500-openbmc-linux/u-boot-aspeed-
sdk/1_v2019.04+gitAUTOINC+09e0e88ee0-r0/git . 2019 04

|   GEN     ./Makefile

| rm -f .tmp_quiet_recordmcount

| make -f
/home/ubuntu/openbmc-2.8.0/build/tmp/work/s2500-openbmc-linux/u-boot-aspeed-
sdk/1_v2019.04+gitAUTOINC+09e0e88ee0-r0/git/scripts/Makefile.build
obj=scripts

| if [ -f
/home/ubuntu/openbmc-2.8.0/build/tmp/work/s2500-openbmc-linux/u-boot-aspeed-
sdk/1_v2019.04+gitAUTOINC+09e0e88ee0-r0/git/.config -o -d
/home/ubuntu/openbmc-2.8.0/build/tmp/work/s2500-openbmc-linux/u-boot-aspeed-
sdk/1_v2019.04+gitAUTOINC+09e0e88ee0-r0/git/include/config ]; then \

|         echo >&2 "
/home/ubuntu/openbmc-2.8.0/build/tmp/work/s2500-openbmc-linux/u-boot-aspeed-
sdk/1_v2019.04+gitAUTOINC+09e0e88ee0-r0/git is not clean, please run 'make
mrproper'"; \

|         echo >&2 "  in the
'/home/ubuntu/openbmc-2.8.0/build/tmp/work/s2500-openbmc-linux/u-boot-aspeed
-sdk/1_v2019.04+gitAUTOINC+09e0e88ee0-r0/git' directory.";\

|         /bin/false; \

| fi;

| make -f
/home/ubuntu/openbmc-2.8.0/build/tmp/work/s2500-openbmc-linux/u-boot-aspeed-
sdk/1_v2019.04+gitAUTOINC+09e0e88ee0-r0/git/scripts/Makefile.build
obj=scripts/dtc

| set -e; : '  CHK     include/generated/version_autogenerated.h'; mkdir -p
include/generated/;           (echo \#define PLAIN_VERSION \"2019.04""\";
echo \#define U_BOOT_VERSION \"U-Boot \" PLAIN_VERSION; echo \#define
CC_VERSION_STRING \"$(LC_ALL=C aarch64-openbmc-linux-gcc
--sysroot=/home/ubuntu/openbmc-2.8.0/build/tmp/work/s2500-openbmc-linux/u-bo
ot-aspeed-sdk/1_v2019.04+gitAUTOINC+09e0e88ee0-r0/recipe-sysroot --version |
head -n 1)\"; echo \#define LD_VERSION_STRING \"$(LC_ALL=C
aarch64-openbmc-linux-ld.bfd --version | head -n 1)\"; ) <
include/config/uboot.release >
include/generated/version_autogenerated.h.tmp; if [ -r
include/generated/version_autogenerated.h ] && cmp -s
include/generated/version_autogenerated.h
include/generated/version_autogenerated.h.tmp; then rm -f
include/generated/version_autogenerated.h.tmp; else : '  UPD
include/generated/version_autogenerated.h'; mv -f
include/generated/version_autogenerated.h.tmp
include/generated/version_autogenerated.h; fi

| make -f
/home/ubuntu/openbmc-2.8.0/build/tmp/work/s2500-openbmc-linux/u-boot-aspeed-
sdk/1_v2019.04+gitAUTOINC+09e0e88ee0-r0/git/scripts/Makefile.build obj=.

| mkdir -p lib/

| mkdir -p arch/arm/lib/

|   aarch64-openbmc-linux-gcc
--sysroot=/home/ubuntu/openbmc-2.8.0/build/tmp/work/s2500-openbmc-linux/u-bo
ot-aspeed-sdk/1_v2019.04+gitAUTOINC+09e0e88ee0-r0/recipe-sysroot
-Wp,-MD,lib/.asm-offsets.s.d  -nostdinc -isystem
/home/ubuntu/openbmc-2.8.0/build/tmp/work/s2500-openbmc-linux/u-boot-aspeed-
sdk/1_v2019.04+gitAUTOINC+09e0e88ee0-r0/recipe-sysroot-native/usr/bin/aarch6
4-openbmc-linux/../../lib/aarch64-openbmc-linux/gcc/aarch64-openbmc-linux/9.
3.0/include -Iinclude
-I/home/ubuntu/openbmc-2.8.0/build/tmp/work/s2500-openbmc-linux/u-boot-aspee
d-sdk/1_v2019.04+gitAUTOINC+09e0e88ee0-r0/git/include
-I/home/ubuntu/openbmc-2.8.0/build/tmp/work/s2500-openbmc-linux/u-boot-aspee
d-sdk/1_v2019.04+gitAUTOINC+09e0e88ee0-r0/git/arch/arm/include -include
/home/ubuntu/openbmc-2.8.0/build/tmp/work/s2500-openbmc-linux/u-boot-aspeed-
sdk/1_v2019.04+gitAUTOINC+09e0e88ee0-r0/git/include/linux/kconfig.h
-I/home/ubuntu/openbmc-2.8.0/build/tmp/work/s2500-openbmc-linux/u-boot-aspee
d-sdk/1_v2019.04+gitAUTOINC+09e0e88ee0-r0/git/. -I. -D__KERNEL__ -D__UBOOT__
-Wall -Wstrict-prototypes -Wno-format-security -fno-builtin -ffreestanding
-std=gnu11 -fshort-wchar -fno-strict-aliasing -fno-PIE -Os
-fno-stack-protector -fno-delete-null-pointer-checks
-fmacro-prefix-map=/home/ubuntu/openbmc-2.8.0/build/tmp/work/s2500-openbmc-l
inux/u-boot-aspeed-sdk/1_v2019.04+gitAUTOINC+09e0e88ee0-r0/git/= -g
-fstack-usage -Wno-format-nonliteral -Wno-address-of-packed-member
-Werror=date-time -D__ARM__ -fno-pic -ffunction-sections -fdata-sections
-fno-common -ffixed-r9 -pipe -D__LINUX_ARM_ARCH__=7 -mtune=generic-armv7-a
-I/home/ubuntu/openbmc-2.8.0/build/tmp/work/s2500-openbmc-linux/u-boot-aspee
d-sdk/1_v2019.04+gitAUTOINC+09e0e88ee0-r0/git/arch/arm/mach-aspeed/include
-DDO_DEPS_ONLY    -D"KBUILD_STR(s)=#s"
-D"KBUILD_BASENAME=KBUILD_STR(asm_offsets)"
-D"KBUILD_MODNAME=KBUILD_STR(asm_offsets)"  -fverbose-asm -S -o
lib/asm-offsets.s
/home/ubuntu/openbmc-2.8.0/build/tmp/work/s2500-openbmc-linux/u-boot-aspeed-
sdk/1_v2019.04+gitAUTOINC+09e0e88ee0-r0/git/lib/asm-offsets.c

|   aarch64-openbmc-linux-gcc
--sysroot=/home/ubuntu/openbmc-2.8.0/build/tmp/work/s2500-openbmc-linux/u-bo
ot-aspeed-sdk/1_v2019.04+gitAUTOINC+09e0e88ee0-r0/recipe-sysroot
-Wp,-MD,arch/arm/lib/.asm-offsets.s.d  -nostdinc -isystem
/home/ubuntu/openbmc-2.8.0/build/tmp/work/s2500-openbmc-linux/u-boot-aspeed-
sdk/1_v2019.04+gitAUTOINC+09e0e88ee0-r0/recipe-sysroot-native/usr/bin/aarch6
4-openbmc-linux/../../lib/aarch64-openbmc-linux/gcc/aarch64-openbmc-linux/9.
3.0/include -Iinclude
-I/home/ubuntu/openbmc-2.8.0/build/tmp/work/s2500-openbmc-linux/u-boot-aspee
d-sdk/1_v2019.04+gitAUTOINC+09e0e88ee0-r0/git/include
-I/home/ubuntu/openbmc-2.8.0/build/tmp/work/s2500-openbmc-linux/u-boot-aspee
d-sdk/1_v2019.04+gitAUTOINC+09e0e88ee0-r0/git/arch/arm/include -include
/home/ubuntu/openbmc-2.8.0/build/tmp/work/s2500-openbmc-linux/u-boot-aspeed-
sdk/1_v2019.04+gitAUTOINC+09e0e88ee0-r0/git/include/linux/kconfig.h
-I/home/ubuntu/openbmc-2.8.0/build/tmp/work/s2500-openbmc-linux/u-boot-aspee
d-sdk/1_v2019.04+gitAUTOINC+09e0e88ee0-r0/git/. -I. -D__KERNEL__ -D__UBOOT__
-Wall -Wstrict-prototypes -Wno-format-security -fno-builtin -ffreestanding
-std=gnu11 -fshort-wchar -fno-strict-aliasing -fno-PIE -Os
-fno-stack-protector -fno-delete-null-pointer-checks
-fmacro-prefix-map=/home/ubuntu/openbmc-2.8.0/build/tmp/work/s2500-openbmc-l
inux/u-boot-aspeed-sdk/1_v2019.04+gitAUTOINC+09e0e88ee0-r0/git/= -g
-fstack-usage -Wno-format-nonliteral -Wno-address-of-packed-member
-Werror=date-time -D__ARM__ -fno-pic -ffunction-sections -fdata-sections
-fno-common -ffixed-r9 -pipe -D__LINUX_ARM_ARCH__=7 -mtune=generic-armv7-a
-I/home/ubuntu/openbmc-2.8.0/build/tmp/work/s2500-openbmc-linux/u-boot-aspee
d-sdk/1_v2019.04+gitAUTOINC+09e0e88ee0-r0/git/arch/arm/mach-aspeed/include
-DDO_DEPS_ONLY    -D"KBUILD_STR(s)=#s"
-D"KBUILD_BASENAME=KBUILD_STR(asm_offsets)"
-D"KBUILD_MODNAME=KBUILD_STR(asm_offsets)"  -fverbose-asm -S -o
arch/arm/lib/asm-offsets.s
/home/ubuntu/openbmc-2.8.0/build/tmp/work/s2500-openbmc-linux/u-boot-aspeed-
sdk/1_v2019.04+gitAUTOINC+09e0e88ee0-r0/git/arch/arm/lib/asm-offsets.c

| cc1: error: unknown value 'generic-armv7-a' for '-mtune'

| cc1: note: valid arguments are: cortex-a35 cortex-a53 cortex-a57
cortex-a72 cortex-a73 thunderx thunderxt88p1 thunderxt88 octeontx octeontx81
octeontx83 thunderxt81 thunderxt83 emag xgene1 falkor qdf24xx exynos-m1
phecda thunderx2t99p1 vulcan thunderx2t99 cortex-a55 cortex-a75 cortex-a76
ares neoverse-n1 neoverse-e1 tsv110 saphira cortex-a57.cortex-a53
cortex-a72.cortex-a53 cortex-a73.cortex-a35 cortex-a73.cortex-a53
cortex-a75.cortex-a55 cortex-a76.cortex-a55 generic

|
/home/ubuntu/openbmc-2.8.0/build/tmp/work/s2500-openbmc-linux/u-boot-aspeed-
sdk/1_v2019.04+gitAUTOINC+09e0e88ee0-r0/git/./Kbuild:43: recipe for target
'lib/asm-offsets.s' failed

| make[2]: *** [lib/asm-offsets.s] Error 1

| make[2]: *** Waiting for unfinished jobs....

| cc1: error: unknown value 'generic-armv7-a' for '-mtune'

| cc1: note: valid arguments are: cortex-a35 cortex-a53 cortex-a57
cortex-a72 cortex-a73 thunderx thunderxt88p1 thunderxt88 octeontx octeontx81
octeontx83 thunderxt81 thunderxt83 emag xgene1 falkor qdf24xx exynos-m1
phecda thunderx2t99p1 vulcan thunderx2t99 cortex-a55 cortex-a75 cortex-a76
ares neoverse-n1 neoverse-e1 tsv110 saphira cortex-a57.cortex-a53
cortex-a72.cortex-a53 cortex-a73.cortex-a35 cortex-a73.cortex-a53
cortex-a75.cortex-a55 cortex-a76.cortex-a55 generic

|
/home/ubuntu/openbmc-2.8.0/build/tmp/work/s2500-openbmc-linux/u-boot-aspeed-
sdk/1_v2019.04+gitAUTOINC+09e0e88ee0-r0/git/./Kbuild:64: recipe for target
'arch/arm/lib/asm-offsets.s' failed

| make[2]: *** [arch/arm/lib/asm-offsets.s] Error 1

|
/home/ubuntu/openbmc-2.8.0/build/tmp/work/s2500-openbmc-linux/u-boot-aspeed-
sdk/1_v2019.04+gitAUTOINC+09e0e88ee0-r0/git/Makefile:1589: recipe for target
'prepare0' failed

| make[1]: *** [prepare0] Error 2

| make[1]: Leaving directory
'/home/ubuntu/openbmc-2.8.0/build/tmp/work/s2500-openbmc-linux/u-boot-aspeed
-sdk/1_v2019.04+gitAUTOINC+09e0e88ee0-r0/build'

| Makefile:148: recipe for target 'sub-make' failed

| make: *** [sub-make] Error 2

| make: Leaving directory
'/home/ubuntu/openbmc-2.8.0/build/tmp/work/s2500-openbmc-linux/u-boot-aspeed
-sdk/1_v2019.04+gitAUTOINC+09e0e88ee0-r0/git'

| WARNING: exit code 1 from a shell command.

| 

ERROR: Task
(/home/ubuntu/openbmc-2.8.0/meta-aspeed/recipes-bsp/u-boot/u-boot-aspeed-sdk
_2019.04.bb:do_compile) failed with exit code '1'

NOTE: Tasks Summary: Attempted 3593 tasks of which 3591 didn't need to be
rerun and 1 failed.

 

Summary: 1 task failed:

 
/home/ubuntu/openbmc-2.8.0/meta-aspeed/recipes-bsp/u-boot/u-boot-aspeed-sdk_
2019.04.bb:do_compile

Summary: There was 1 WARNING message shown.

Summary: There were 2 ERROR messages shown, returning a non-zero exit code.

 

 

Any help will be greatly appreciated.

 

Thanks!

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ozlabs.org/pipermail/openbmc/attachments/20210304/d58a55b5/attachment-0001.htm>


More information about the openbmc mailing list