From owner-freebsd-arm@freebsd.org Tue Mar 5 20:24:40 2019 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5FA211512199 for ; Tue, 5 Mar 2019 20:24:40 +0000 (UTC) (envelope-from peter.garshtja@ambient-md.com) Received: from mail-lj1-x22d.google.com (mail-lj1-x22d.google.com [IPv6:2a00:1450:4864:20::22d]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B909286EAD for ; Tue, 5 Mar 2019 20:24:39 +0000 (UTC) (envelope-from peter.garshtja@ambient-md.com) Received: by mail-lj1-x22d.google.com with SMTP id v10so8773250lji.3 for ; Tue, 05 Mar 2019 12:24:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ambient-md-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=k47uCQyadxjV48xyDBGKJlCYYMaJyZ47/6tJFutusqU=; b=Jc3KNcCA3CanShC5+sgnbYSM0EDJGFE6HBIdPuW7LEwhR6kXlJmt6i3h4TSM9NvzUB uCGozY9pgPlkvTzVNlpYQGTfaH969TWXK68dvfKdhugFiY6ifFBzRZ/G2w7oZmlr5G7k k7UP8TsbG807gDzKNkJgPsj0csFqNaOXvqhDdBhgrFL8rqrTCMi2bKRKpzRD0Hvjm1LN p+R2D28qRUHHM2tTL/jrS3TK8lG39ShbK8fcnn1g3aMg/pyq1WFX/ubGSoTY1vj7N88B tLL4eLf9LEMjbwK92Mew0DdNhJE46CTp5h9+tNFO2o7rHDsmH2jR/FW45W1s3RUT/vFF fcxg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=k47uCQyadxjV48xyDBGKJlCYYMaJyZ47/6tJFutusqU=; b=oRcW9qGPMxHK5rnm3NJwRsRR5Eqbkrr4LiFmC7rVs3esbF97oErKSWBXh7i+fdrY12 4OVWIVXcHSqcZ89z99gmkhd4vkUDtP8rN4IMXuRsOlVICK3qSdd6K/XZwh8osPSYJkkI npuhMpNkGxSekgM2q59tzX/FB05k0o6s8sofORVTG2LKoTb5wat9woWu1NhVDL4Tv4FO AKjfq+SbliD1Q++9UcaZxq/HLs8PrnCwxhuAyTVox2FviP3MsP96c0SLGM7qRp+Aq/bi ocFhgAd4yfD8dXsE05vSSQFkx8mbEdHCiz+rXKwG6HIM5E5sHvq1RhnfHptNMgkqm915 eA2A== X-Gm-Message-State: APjAAAU0ss1QIneaSZ7aOXlFqLbVlWpiX+WWnZ+FOP/36OpswfMLv8M6 2fKtikOp+/BPfIoqoqWZbLq8dcTAYYSWl2qnIy82++Ks X-Google-Smtp-Source: APXvYqzgMPVDkEfqm6kPiAg27xyq+0QIQiB+tRIW3m3T+uEwmgXi2FSyV/h/RnEobvisMPrkt4x/5BTKnQRddDwdHmI= X-Received: by 2002:a2e:9117:: with SMTP id m23mr276924ljg.94.1551817477449; Tue, 05 Mar 2019 12:24:37 -0800 (PST) MIME-Version: 1.0 References: <95532d9f-458c-3534-9562-77928a2a4455@ambient-md.com> <28191a9b-81e0-5bc5-c3eb-cc698a5c82fe@fgznet.ch> In-Reply-To: <28191a9b-81e0-5bc5-c3eb-cc698a5c82fe@fgznet.ch> From: peter garshtja Date: Tue, 5 Mar 2019 15:24:24 -0500 Message-ID: Subject: Re: odroidc1 build kernel fails To: Andreas Tobler Cc: freebsd-arm@freebsd.org X-Rspamd-Queue-Id: B909286EAD X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-6.99 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; NEURAL_HAM_SHORT(-0.99)[-0.994,0]; REPLY(-4.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Mar 2019 20:24:40 -0000 Still no luck, changed the arch type to arm7, also I reverted the meson8b.dtsi and meson.dtsi to revision 324819. Source tree is at 343792. Output of failed build 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.armv7/sys/ODROIDC1' awk -f /usr/src/sys/tools/usbdevs2h.awk /usr/src/sys/dev/usb/usbdevs -d --- fdt_dtb_file --- Error at :6:11: Unable to locate input file /include/ "meson.dtsi" ^ Unable to merge node: L2 Unable to merge node: uart_AO Unable to merge node: uart_A Unable to merge node: uart_B Unable to merge node: uart_C Unable to merge node: i2c_A Unable to merge node: i2c_B Failed to find node with label: gic Failed to parse tree. *** [fdt_dtb_file] Error code 1 make[2]: stopped in /usr/obj/usr/src/arm.armv7/sys/ODROIDC1 1 error make[2]: stopped in /usr/obj/usr/src/arm.armv7/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 Sorry, the console output is taken from the cell phone. On Tue, Mar 5, 2019, 14:37 Andreas Tobler wrote: > On 05.03.19 12:20, Peter Garshtja wrote: > > > 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 = IRQ_TYPE_EDGE_RISING>; > > ^ > > Error at /usr/src/sys/gnu/dts/arm/meson.dtsi:96:18: Expected ; at end of > property > > interrupts = IRQ_TYPE_EDGE_RISING>; > > ^ > > If you take an older meson.dtsi and an older meson8b.dtsi it should > build fine. (under src/sys/gnu/dts/arm) > > The version you should try is lower than 324820. Iow, the import of the > dts's from Linux 'broke' the build. > > To get an older version you can 'svn up -r 324819 meson.dtsi' in the > above mentioned directory, the same for meson8b.dtsi. > > > I recently built and booted a kernel for my odroids. > > hth, > Andreas > > > >