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

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
Do you have a quick idea, why I see this error?
Thanks, Stefan

Hi Stefan,
On Tue, Jan 10, 2017 at 9:21 PM, Stefan Roese sr@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.
Do you have a quick idea, why I see this error?
Regards, Bin

Hi Bin,
On 11.01.2017 05:12, Bin Meng wrote:
On Tue, Jan 10, 2017 at 9:21 PM, Stefan Roese sr@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
participants (2)
-
Bin Meng
-
Stefan Roese