Re: [U-Boot] mkimage can't read .tmp

2016-07-06 Thread Simon Glass
Hi Tom,

On 30 June 2016 at 09:46, Simon Glass  wrote:
>
> Hi Tom,
>
> On 27 June 2016 at 23:50, Tom Van Deun  wrote:
> > Hello all
> >
> > I have been trying to create a FIT image using mkimage using the command:
> >
> > mkimage -D "-I dts -O dtb -p 2000" -f name.its name.fit
> >
> > The output is:
> >
> > DTC: dts->dtb  on file "name.its"
> > mkimage: Can't read name.fit.tmp: Invalid argument
> > mkimage Can't add hashes to FIT blob
> >
> > No matter what I try, which arguments I add or remove or which 
> > modifications I make to the its file, I keep getting this output. 
> > Unfortunately I can't find much on Google for this exact issue. I found 
> > someone who solved the issue by installing DTC, but that is not the issue 
> > in my case.
> >
> > Uboot development tools, DTC and mkimage are all at the latest version.
> >
> > Does anyone have any idea what other issues might be causing this behavior?
>
> Not exactly, but I think this is failing on the mmap() call, probably
> in mmap_fdt(). Is there anything special about your filesystem?

I copied you on a patch that might help.

Regards,
SImon
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


Re: [U-Boot] mkimage can't read .tmp

2016-06-30 Thread Simon Glass
Hi Tom,

On 27 June 2016 at 23:50, Tom Van Deun  wrote:
> Hello all
>
> I have been trying to create a FIT image using mkimage using the command:
>
> mkimage -D "-I dts -O dtb -p 2000" -f name.its name.fit
>
> The output is:
>
> DTC: dts->dtb  on file "name.its"
> mkimage: Can't read name.fit.tmp: Invalid argument
> mkimage Can't add hashes to FIT blob
>
> No matter what I try, which arguments I add or remove or which modifications 
> I make to the its file, I keep getting this output. Unfortunately I can't 
> find much on Google for this exact issue. I found someone who solved the 
> issue by installing DTC, but that is not the issue in my case.
>
> Uboot development tools, DTC and mkimage are all at the latest version.
>
> Does anyone have any idea what other issues might be causing this behavior?

Not exactly, but I think this is failing on the mmap() call, probably
in mmap_fdt(). Is there anything special about your filesystem?

>
>
> Kind regards
> Tom

Regards,
Simon
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


[U-Boot] mkimage can't read .tmp

2016-06-29 Thread Tom Van Deun
Hello all

I have been trying to create a FIT image using mkimage using the command:

mkimage -D "-I dts -O dtb -p 2000" -f name.its name.fit

The output is:

DTC: dts->dtb  on file "name.its"
mkimage: Can't read name.fit.tmp: Invalid argument
mkimage Can't add hashes to FIT blob

No matter what I try, which arguments I add or remove or which modifications I 
make to the its file, I keep getting this output. Unfortunately I can't find 
much on Google for this exact issue. I found someone who solved the issue by 
installing DTC, but that is not the issue in my case.

Uboot development tools, DTC and mkimage are all at the latest version.

Does anyone have any idea what other issues might be causing this behavior?


Kind regards
Tom
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot