[U-Boot] Unable to create BOOT.BIN using zynq-boot-bin.py

Michal Simek monstr at monstr.eu
Wed Apr 30 15:34:08 CEST 2014


Hi,

first of all this is related to  xilinx git repo that's
why you shouldn't use this mainline mailing list for that.

I will reply on this in private email.

Thanks,
Michal

On 04/30/2014 01:08 PM, Heshsham Abdul Basit wrote:
> Hi,
> 
> I compiled U-boot source from master-next branch, after copying ps7_init.c
> and .h files from h/w project,
> 
> Now I get u-boot-spl u-boot-spl.bin
> 
> I wanted to get BOOT.BIN that I can put in SD card and boot my linux
> kernel.  However I am unable to run the script for BOOT.BIn generation a
> can be seen below:
> 
> 
> [root at xilinx tools]# ./zynq-boot-bin.py -u u-boot-spl -o BOOT.BIN
> Input file is: u-boot-spl
> Output file is: BOOT.BIN
> Using /home/Hannan/master-next/u-boot-xlnx/tools/u-boot-spl to get image
> length - it is 470104 (0x72c58) bytes
> Loaded to the OCM image should fit into 3 mapped pages of OCM - 192K
> (0x30000), specified  0x72c58
> Traceback (most recent call last):
>   File "./zynq-boot-bin.py", line 217, in <module>
>     0) #start_exec)
>   File "./zynq-boot-bin.py", line 132, in image_generator
>     exit (ERROR_DEFS['HEAD'])
> NameError: global name 'ERROR_DEFS' is not defined
> [root at xilinx tools]#
> 
> 
> Please help what is going on wrong here
> 
> 
> 
> _______________________________________________
> U-Boot mailing list
> U-Boot at lists.denx.de
> http://lists.denx.de/mailman/listinfo/u-boot
> 


-- 
Michal Simek, Ing. (M.Eng), OpenPGP -> KeyID: FE3D1F91
w: www.monstr.eu p: +42-0-721842854
Maintainer of Linux kernel - Microblaze cpu - http://www.monstr.eu/fdt/
Maintainer of Linux kernel - Xilinx Zynq ARM architecture
Microblaze U-BOOT custodian and responsible for u-boot arm zynq platform


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 263 bytes
Desc: OpenPGP digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20140430/68ce040e/attachment.pgp>


More information about the U-Boot mailing list