* [U-Boot-Users] Error on making u-boot
@ 2003-12-14 2:38 SAM SONG
2003-12-14 11:43 ` Cam
0 siblings, 1 reply; 2+ messages in thread
From: SAM SONG @ 2003-12-14 2:38 UTC (permalink / raw)
To: u-boot
Dear you all,
An error message came up when I used "make RPXlite_config"on my LINUX PC host as following:
ppc_8xx-objcopy -O srec timer timer.srec
ppc_8xx-objcopy -O binary hello_world.srec hello_world.bin 2>/dev/null
make[1]: *** [hello_world.bin] Error 1
make[1]: Leaving directory `/u-boot-1.0.0/examples'
make: *** [subdirs] Error 1
Have you met it?After masking three files,hello_world.bin,sched.bin
,timer.bin in Makefile of examples directory,it succeeded.But there aren't three files in the directory.I use Montavista Linux Pro 3.0.Any hints?
______________________________________
Sam Song
Shanghai Univ.
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.denx.de/pipermail/u-boot/attachments/20031214/9ae498ec/attachment.htm
^ permalink raw reply [flat|nested] 2+ messages in thread
* [U-Boot-Users] Error on making u-boot
2003-12-14 2:38 [U-Boot-Users] Error on making u-boot SAM SONG
@ 2003-12-14 11:43 ` Cam
0 siblings, 0 replies; 2+ messages in thread
From: Cam @ 2003-12-14 11:43 UTC (permalink / raw)
To: u-boot
SAM SONG
> Have you met it?After masking three files,hello_world.bin,sched.bin
> ,timer.bin in Makefile of examples directory,it succeeded.But there
> aren't three files in the directory.I use Montavista Linux Pro 3.0.Any
> hints?
There was recently a patch which works around a bug in the montavista
objcopy. The problem is that it doesn't handle SREC input (even if you
use -I srec).
The workaround is to ignore the problem - like you say the make will
succeed eventually, or change the commands in the examples/Makefile like
this:
Near the rule that says:
%.bin: %.srec
Replace this line:
$(OBJCOPY) -O binary $< $@ 2>/dev/null
With this line:
$(OBJCOPY) -O binary $(<:.srec=) $@ 2>/dev/null
-Cam
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-12-14 11:43 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-12-14 2:38 [U-Boot-Users] Error on making u-boot SAM SONG
2003-12-14 11:43 ` Cam
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox