[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Ltib] Execute command after u-boot.bin is created
From: |
Douglas Peterson |
Subject: |
Re: [Ltib] Execute command after u-boot.bin is created |
Date: |
Mon, 30 Jan 2012 18:13:38 +0000 |
Thanks Peter,
I didn't know if there was a 'cleaner' way to do it than modifying the Makefile.
Btw, objcopy is not sufficient for our needs. Our SREC is more complicated. A
tool called srec_cat does the job.
Douglas
-----Original Message-----
From: address@hidden [mailto:address@hidden On Behalf Of Peter Barada
Sent: Monday, January 30, 2012 9:01 AM
To: address@hidden
Subject: Re: [Ltib] Execute command after u-boot.bin is created
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:address@hidden
> Sent: Saturday, January 28, 2012 9:35 AM
> To: Douglas Peterson
> Cc: address@hidden
> 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
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/ltib
--
Peter Barada
address@hidden
_______________________________________________
LTIB home page: http://ltib.org
Ltib mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/ltib
Re: [Ltib] __getpagesize: Assertion `_rtld_global_ro._dl_pagesize != 0' failed, Stuart Hughes, 2012/01/28