[elbe-users] ARM allwinner msdoshd: Specify binary blob

Manuel Traut manuel.traut at linutronix.de
Thu Feb 1 14:42:01 CET 2018


On Thu, Feb 01, 2018 at 02:18:35PM +0100, Ralf Schlatterbeck wrote:
> This is still open: How do I use the binary-blob feature, in my case the
> file is not found. Do I have to copy it to the target somehow? Or put it
> in the .tgz file inside the .xml?
> 
> On Wed, Jan 31, 2018 at 10:37:16AM +0100, Ralf Schlatterbeck wrote:
> > So I'm now using the following:
> > <binary offset="8"
> >  blocksize="1024">u-boot-sunxi-with-spl-bananapi-m2+edu.bin</binary>
> > 
> > The attributes in the stanza above translate to the respective
> > parameters of the dd command, 'blocksize' maps to the 'bs' parameter of
> > dd and 'offset' maps to 'skip'.
> > 
> > But this doesn't work, the file is not found during build:
> > 
> > running cmd +dd if="/var/cache/elbe/ab9b64a8-c871-46ac-9d26-785250a3bfd6/u-boot-sunxi-with-spl-bananapi-m2+edu.bin" of="/var/cache/elbe/ab9b64a8-c871-46ac-9d26-785250a3bfd6/sdcard.img" seek="8" bs="1024" conv=notrunc+
> > ------------------------------------------------------------------------------
> > dd: failed to open '/var/cache/elbe/ab9b64a8-c871-46ac-9d26-785250a3bfd6/u-boot-sunxi-with-spl-bananapi-m2+edu.bin': No such file or directory
> > 
> > Do I have to copy the file to the image or to the running kvm instance
> > somehow before being able to reference it in the 'binary' stanza?

yes; as shown in the example i posted before:

      <t2p_mv path="/boot/u-boot-sunxi-with-spl.bin">u-boot-sunxi-with-spl.bin</t2p_mv>

  Manuel



More information about the elbe-users mailing list