[U-Boot] x86: binman build error (fdtget)

Stefan Roese sr at denx.de
Wed Jan 11 06:59:07 CET 2017


Hi Bin,

On 11.01.2017 05:12, Bin Meng wrote:
> On Tue, Jan 10, 2017 at 9:21 PM, Stefan Roese <sr at denx.de> wrote:
>> Hi Simon,
>>
>> I just tried to build a new U-Boot image for an x86 platform and
>> get this compilation error:
>>
>> ...
>>   CC      lib/display_options.o
>>   LD      lib/built-in.o
>>   LD      u-boot
>>   OBJCOPY u-boot-x86-16bit.bin
>>   OBJCOPY u-boot-nodtb.bin
>>   CAT     u-boot-dtb.bin
>>   COPY    u-boot.bin
>>   BINMAN  u-boot.rom
>> binman: Error running 'fdtget u-boot.dtb / -p': <type 'str'>
>> Makefile:1081: recipe for target 'u-boot.rom' failed
>> make: *** [u-boot.rom] Error 1
>>
>
> I suspect your dtc/fdtget version is old. I am using dtc 1.4.2.

Yes, simple as that. After upgrading to the latest and greatest
dtc version from its git repo, building now works just fine.

Thanks,
Stefan


More information about the U-Boot mailing list