public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] Unable to create BOOT.BIN using zynq-boot-bin.py
@ 2014-04-30 11:08 Heshsham Abdul Basit
  2014-04-30 13:34 ` Michal Simek
  0 siblings, 1 reply; 2+ messages in thread
From: Heshsham Abdul Basit @ 2014-04-30 11:08 UTC (permalink / raw)
  To: u-boot

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

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

end of thread, other threads:[~2014-04-30 13:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-04-30 11:08 [U-Boot] Unable to create BOOT.BIN using zynq-boot-bin.py Heshsham Abdul Basit
2014-04-30 13:34 ` Michal Simek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox