All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] x86: binman build error (fdtget)
@ 2017-01-10 13:21 Stefan Roese
  2017-01-11  4:12 ` Bin Meng
  0 siblings, 1 reply; 3+ messages in thread
From: Stefan Roese @ 2017-01-10 13:21 UTC (permalink / raw)
  To: u-boot

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [U-Boot] x86: binman build error (fdtget)
  2017-01-10 13:21 [U-Boot] x86: binman build error (fdtget) Stefan Roese
@ 2017-01-11  4:12 ` Bin Meng
  2017-01-11  5:59   ` Stefan Roese
  0 siblings, 1 reply; 3+ messages in thread
From: Bin Meng @ 2017-01-11  4:12 UTC (permalink / raw)
  To: u-boot

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [U-Boot] x86: binman build error (fdtget)
  2017-01-11  4:12 ` Bin Meng
@ 2017-01-11  5:59   ` Stefan Roese
  0 siblings, 0 replies; 3+ messages in thread
From: Stefan Roese @ 2017-01-11  5:59 UTC (permalink / raw)
  To: u-boot

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-01-11  5:59 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-01-10 13:21 [U-Boot] x86: binman build error (fdtget) Stefan Roese
2017-01-11  4:12 ` Bin Meng
2017-01-11  5:59   ` Stefan Roese

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.