On Tue, Sep 28, 2021 at 11:28:59AM +0000, Vincent Pelletier wrote: > On Mon, 27 Sep 2021 14:04:56 +0000, Vincent Pelletier <plr.vincent@xxxxxxxxx> wrote: > > (please keep me cc'ed in replies) > [...] > > This code builds fine: > > $ dtc -I dts -O dtb -o test.dtbo test.dts > > $ > > But then when disassembling the output, I get: > > $ dtc -I dtb -O dts test.dtbo > > <stdout>: ERROR (property_name_chars): /__fixups__:/soc/gpio@7e200000: Bad character '/' in property name > > ERROR: Input tree has errors, aborting (use -f to force output) > > I just noticed 1.6.1 was released (but not packaged yet by my > distribution, it seems), so I reproduced from git master as of > > commit e33ce1d6a8c7e54e3ad12cff33690b6da0aee1dc (HEAD -> master, origin/master, origin/main, origin/HEAD) > Author: David Gibson <david@xxxxxxxxxxxxxxxxxxxxx> > Date: Fri Sep 24 23:39:56 2021 +1000 > > flattree: Use '\n', not ';' to separate asm pseudo-ops > > and I confirm the error is still present. Thanks for checking, and yes, this definitely looks like a dtc bug. -- David Gibson | I'll have my music baroque, and my code david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_ | _way_ _around_! http://www.ozlabs.org/~dgibson
Attachment:
signature.asc
Description: PGP signature