From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michal Simek Date: Wed, 30 Apr 2014 15:34:08 +0200 Subject: [U-Boot] Unable to create BOOT.BIN using zynq-boot-bin.py In-Reply-To: References: Message-ID: <5360FBD0.6060303@monstr.eu> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 > 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: