Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 Mar 2019 06:20:01 -0500
From:      Peter Garshtja <peter.garshtja@ambient-md.com>
To:        "freebsd-arm@freebsd.org" <freebsd-arm@freebsd.org>
Subject:   odroidc1 build kernel fails
Message-ID:  <95532d9f-458c-3534-9562-77928a2a4455@ambient-md.com>

next in thread | raw e-mail | index | archive | help
hi,

building the kernel for odroic1 board fails


make -j3 TARGET_ARCH=armv6 KERNCONF=ODROIDC1 buildkernel

.............

>>> stage 3.1: building everything
--------------------------------------------------------------
cd /usr/obj/usr/src/arm.armv6/sys/ODROIDC1; MACHINE_ARCH=armv6 MACHINE=arm CPUTYPE= CC="cc -target armv6-gnueabihf-freebsd12.0 --sysroot=/usr/obj/usr/src/arm.armv6/tmp -B/usr/obj/usr/src/arm.armv6/tmp/usr/bin" CXX="c++  -target armv6-gnueabihf-freebsd12.0 --sysroot=/usr/obj/usr/src/arm.armv6/tmp -B/usr/obj/usr/src/arm.armv6/tmp/usr/bin" CPP="cpp -target armv6-gnueabihf-freebsd12.0 --sysroot=/usr/obj/usr/src/arm.armv6/tmp -B/usr/obj/usr/src/arm.armv6/tmp/usr/bin" AS="as" AR="ar" LD="ld" LLVM_LINK="" NM=nm OBJCOPY="objcopy" RANLIB=ranlib STRINGS= SIZE="size" INSTALL="sh /usr/src/tools/install.sh" PATH=/usr/obj/usr/src/arm.armv6/tmp/legacy/usr/sbin:/usr/obj/usr/src/arm.armv6/tmp/legacy/usr/bin:/usr/obj/usr/src/arm.armv6/tmp/legacy/bin:/usr/obj/usr/src/arm.armv6/tmp/usr/sbin:/usr/obj/usr/src/arm.armv6/tmp/usr/bin:/sbin:/bin:/usr/sbin:/usr/bin make  -j 3 -J 15,16 -m /usr/src/share/mk  KERNEL=kernel all -DNO_MODULES_OBJ
--- machine ---
--- genoffset.o ---
--- vnode_if_newproto.h ---
--- machine ---
machine -> /usr/src/sys/arm/include
--- genoffset.o ---
cc -target armv6-gnueabihf-freebsd12.0 --sysroot=/usr/obj/usr/src/arm.armv6/tmp -B/usr/obj/usr/src/arm.armv6/tmp/usr/bin -c -O -pipe -g -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/ck/include -I/usr/src/sys/contrib/libfdt -I/usr/src/sys/gnu/dts/include -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -march=armv7a -funwind-tables -MD -MF.depend.genoffset.o -MTgenoffset.o -ffreestanding -fwrapv -gdwarf-2 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-parentheses-equality -Wno-error-unused-function -Wno-error-pointer-sign -Wno-error-shift-negative-value -Wno-address-of-packed-member -mfpu=none -std=iso9899:1999 /usr/src/sys/kern/genoffset.c
--- vnode_if_newproto.h ---
awk -f /usr/src/sys/tools/vnode_if.awk /usr/src/sys/kern/vnode_if.src -p
--- vnode_if_typedef.h ---
awk -f /usr/src/sys/tools/vnode_if.awk /usr/src/sys/kern/vnode_if.src -q
--- fdt_dtb_file ---
--- usbdevs_data.h ---
--- fdt_dtb_file ---
sh -c 'MACHINE=arm /usr/src/sys/tools/fdt/make_dtb.sh /usr/src/sys odroidc1.dts /usr/obj/usr/src/arm.armv6/sys/ODROIDC1'
--- usbdevs_data.h ---
awk -f /usr/src/sys/tools/usbdevs2h.awk /usr/src/sys/dev/usb/usbdevs -d
--- fdt_dtb_file ---
converting odroidc1.dts -> /usr/obj/usr/src/arm.armv6/sys/ODROIDC1/odroidc1.dtb
Error at /usr/src/sys/gnu/dts/arm/meson.dtsi:96:18: Expected numbers in array of cells
                                 interrupts = <GIC_SPI 26 IRQ_TYPE_EDGE_RISING>;
                                               ^
Error at /usr/src/sys/gnu/dts/arm/meson.dtsi:96:18: Expected ; at end of property
                                 interrupts = <GIC_SPI 26 IRQ_TYPE_EDGE_RISING>;
                                               ^
Failed to parse tree.
*** [fdt_dtb_file] Error code 1

make[2]: stopped in /usr/obj/usr/src/arm.armv6/sys/ODROIDC1
1 error

make[2]: stopped in /usr/obj/usr/src/arm.armv6/sys/ODROIDC1
*** [buildkernel] Error code 2

make[1]: stopped in /usr/src
1 error

make[1]: stopped in /usr/src
*** [buildkernel] Error code 2

make: stopped in /usr/src
1 error

make: stopped in /usr/src




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?95532d9f-458c-3534-9562-77928a2a4455>