Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 Mar 2019 15:24:24 -0500
From:      peter garshtja <peter.garshtja@ambient-md.com>
To:        Andreas Tobler <andreast-list@fgznet.ch>
Cc:        freebsd-arm@freebsd.org
Subject:   Re: odroidc1 build kernel fails
Message-ID:  <CALFUBVGdZ7YgbOukUFg1DNmOmJnh-i9xS_QWQ0Gn9L6D_=wS-Q@mail.gmail.com>
In-Reply-To: <28191a9b-81e0-5bc5-c3eb-cc698a5c82fe@fgznet.ch>
References:  <95532d9f-458c-3534-9562-77928a2a4455@ambient-md.com> <28191a9b-81e0-5bc5-c3eb-cc698a5c82fe@fgznet.ch>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <standard
input>: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 <andreast-list@fgznet.ch> 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 = <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>;
> >                                                 ^
>
> 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
>
>
>
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CALFUBVGdZ7YgbOukUFg1DNmOmJnh-i9xS_QWQ0Gn9L6D_=wS-Q>