Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 6 Mar 2019 10:58:12 -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:  <CALFUBVH0Q9mwHHsq6BqzY8EfzXVJf%2BFVfoUOMcJ26Bfb2hNSew@mail.gmail.com>
In-Reply-To: <CALFUBVF57YzEEoWPtMPzMjRH3bzDFhJtFiPe2oX2Zwbk3M200Q@mail.gmail.com>
References:  <95532d9f-458c-3534-9562-77928a2a4455@ambient-md.com> <28191a9b-81e0-5bc5-c3eb-cc698a5c82fe@fgznet.ch> <CALFUBVGdZ7YgbOukUFg1DNmOmJnh-i9xS_QWQ0Gn9L6D_=wS-Q@mail.gmail.com> <758622e6-c69e-3d84-f1ab-d28cf2e3cc6c@fgznet.ch> <CALFUBVF57YzEEoWPtMPzMjRH3bzDFhJtFiPe2oX2Zwbk3M200Q@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Looked into src tree and found the code submitted by John Wehle is @
r281412. I ran svnlite up -r 281412 meson.dtsi under sys/gnu/dts/arm, then
ran svn log meson.dtsi which generates an error that this file cannot be
found. So I downloaded with curl and that seems fixed the problem and
buildkernel is being rebuilt.

Also it looks like code in github is not in sync with svn scm.


On Wed, Mar 6, 2019, 07:04 peter garshtja <peter.garshtja@ambient-md.com>
wrote:

> Rebuilt from scratch, the build still fails with an error mentioned in the
> previous email.
>
> My src tree is releng 12.0, is your the same?
>
> Cheers
>
> On Tue, Mar 5, 2019, 16:45 Andreas Tobler <andreast-list@fgznet.ch> wrote:
>
>> On 05.03.19 21:24, peter garshtja wrote:
>> > 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.
>>
>> Ok, actually it is enough to revert meson.dtsi to r324819.
>> I rebuilt here, r344780 and it completed.
>>
>> Now I rebuild the whole tree again, will take some time.
>>
>> make -j8 buildworld buildkernel KERNCONF=ODROIDC1 TARGET=arm
>> TARGET_ARCH=armv7
>>
>> >
>> > 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.
>>
>> The output shows that it is a different error than the previous one.
>> Maybe you can try again with "-DNO_CLEAN -j1", or ommit the -j option to
>> make. Or if you have time, rebuild everything again.
>>
>> -jn often confuses the output, the real error is hidden or eaten up....
>>
>> Andreas
>>
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CALFUBVH0Q9mwHHsq6BqzY8EfzXVJf%2BFVfoUOMcJ26Bfb2hNSew>