On 01/30/2012 11:41 AM, Douglas Peterson wrote: > Sorry about the mis-reply. > > I need to produce an S-Record from the u-boot.bin file to give to > manufacturing for programming of flash. Put more simply, I need to execute a > command with u-boot.bin as input. I was hoping to inject this step into the > build process so that changes to u-boot.bin would be reflected in the > S-Record.
Look at objcopy (i.e. "objcopy -I binary -O srec u-boot.bin u-boot.srec"). Since it looks to be a one-time-thing (I don't think you want to do this for every build) you could do it by hand. But if you really want to do it in the build, create a patch to u-boot's main Makefile that add the objcopy command after it creates u-boot.bin... > -----Original Message----- > From: Stuart Hughes [mailto:[email protected]] > Sent: Saturday, January 28, 2012 9:35 AM > To: Douglas Peterson > Cc: [email protected] > Subject: Re: [Ltib] Execute command after u-boot.bin is created > > Hi Douglas, > > Please don't reply to other threads as it confused the archiver. > > Could you explain a little more about what you're trying to do, I don't > get what you want to do. > > Regards, Stuart > > On 27/01/12 20:31, Douglas Peterson wrote: >> I need to generate a file from the u-boot.bin file and I'd like to do >> this as part of the build process. What's the cleanest way to do that >> with LTIB? >> >> >> >> Douglas Peterson >> > _______________________________________________ > LTIB home page: http://ltib.org > > Ltib mailing list > [email protected] > https://lists.nongnu.org/mailman/listinfo/ltib -- Peter Barada [email protected] _______________________________________________ LTIB home page: http://ltib.org Ltib mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/ltib
