Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Jun 2019 22:14:15 +0100
From:      Kaya Saman <kayasaman@optiplex-networks.com>
To:        Sergey Manucharian <sm@ara-ler.com>
Cc:        freebsd-arm@freebsd.org
Subject:   Re: Pine64-LTS and UART ports
Message-ID:  <d50bb684-bc50-36a5-e6fe-d418e9d11a85@optiplex-networks.com>
In-Reply-To: <20190624210245.GL2903@eldorado>
References:  <371fe0f0-9f91-e4ba-ff4e-8338fe9d63de@optiplex-networks.com> <20190623235732.4439b707@zeta.dino.sk> <ae92ac02-ce53-18fe-9eab-8b17e8d52cd2@optiplex-networks.com> <20190624133017.5a9689b7@zeta.dino.sk> <62ba1a30-25bc-af65-beb2-0e05dfc76c79@optiplex-networks.com> <20190624164512.0ea5c4d3@zeta.dino.sk> <75d6afff-8d83-57da-0a13-a4977d12cb87@optiplex-networks.com> <20190624204216.GK2903@eldorado> <20aea57b-1ac5-15e9-ab2b-7230b81b8378@optiplex-networks.com> <20190624210245.GL2903@eldorado>

next in thread | previous in thread | raw e-mail | index | archive | help

On 6/24/19 10:02 PM, Sergey Manucharian wrote:
> Excerpts from Kaya Saman's message from Mon 24-Jun-19 21:58:
>> :/usr/src/sys/gnu/dts/arm64/allwinner # dtc -@ -O dtb -I dts -o
>> sun50i-a64-pine64.dtb sun50i-a64-pine64.dts
>> Error at sun50i-a64-pine64.dts:106:22: Expected numbers in array of ce=
lls
>>   =C2=A0=C2=A0=C2=A0 cd-gpios =3D <&pio 5 6 GPIO_ACTIVE_LOW>;
>>   =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 ^
>> Error at sun50i-a64-pine64.dts:106:22: Expected ; at end of property
>>   =C2=A0=C2=A0=C2=A0 cd-gpios =3D <&pio 5 6 GPIO_ACTIVE_LOW>;
>>   =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 ^
>> Segmentation fault (core dumped)
> Use DTC from ports: sysutils/dtc, it's slightly different from the one
> from base.
>
> =CF=9E=CF=BB
>

Thanks for the hint Sergey.


I ran:


:/usr/src/sys/gnu/dts/arm64/allwinner # /usr/local/bin/dtc -f -b0 -@ -O=20
dtb -I dts -o sun50i-a64-pine64.dtb sun50i-a64-pine64.dts
Error: sun50i-a64-pine64.dts:45.1-9 syntax error
FATAL ERROR: Unable to parse input tree


If I am correct in the syntax error being on line 45 then it is the call=20
to sun50i-a64.dtsi


Regards,


Kaya




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?d50bb684-bc50-36a5-e6fe-d418e9d11a85>