On 16 January 2018 at 09:00, Kai <[email protected]> wrote:
> I found I've tried not very long ago, but the obstacle was that I could not
> compile it successfully.
> "make dtbs" did not generate any *.dtb file (seems it builds related tools
> like dtc),
> while,
> "dtc -I dts -O dtb xxx" warned as:
>>
>> Error: arch/arm/boot/dts/sun7i-a20-cubieboard2.dts:46.1-9 syntax error
>> FATAL ERROR: Unable to parse input tree
>
> even when nothing is changed to the source code, that is newly updated.
>
> What steps am I missing to compile it?
Add the configs mentioned earlier to arch/arm/configs/sunxi_defconfig then
make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- sunxi_defconfig
then
make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- dtbs to generate new dtb files

Simplest way would be to use latest armbian image and then add the
spdif overlay (sun7i-a20-spdif-out)
to the boot environment https://docs.armbian.com/Hardware_Allwinner_overlays/
CK
>
> --
> You received this message because you are subscribed to the Google Groups
> "linux-sunxi" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to