Re: [U-Boot] [PATCH v3] Add 'sf update' command to do smart SPI flash update

2011-08-23 Thread Simon Glass
Hi Che-Liang. On Tue, Aug 23, 2011 at 8:41 PM, Che-liang Chiou wrote: > Hi Simon, > > I have a dumb question: How did you make u-boot run native under > Linux? Did you mock out all platform functions? Or did you bundle > u-boot with a emulator? Basically created a new architecture (like arm/x86)

Re: [U-Boot] [PATCH v3] Add 'sf update' command to do smart SPI flash update

2011-08-23 Thread Che-liang Chiou
Hi Simon, I have a dumb question: How did you make u-boot run native under Linux? Did you mock out all platform functions? Or did you bundle u-boot with a emulator? Regards, Che-Liang On Wed, Aug 24, 2011 at 6:16 AM, Mike Frysinger wrote: > On Tuesday, August 23, 2011 18:01:34 Simon Glass wrote

Re: [U-Boot] [PATCH v3] Add 'sf update' command to do smart SPI flash update

2011-08-23 Thread Mike Frysinger
On Tuesday, August 23, 2011 18:01:34 Simon Glass wrote: > That's a great trick. How much of the drivers did you implement in the > simulator? probably more than i'd like to admit, but not as many as i'd like ;) http://docs.blackfin.uclinux.org/doku.php?id=toolchain:sim#peripherals > How about thi

Re: [U-Boot] [PATCH v3] Add 'sf update' command to do smart SPI flash update

2011-08-23 Thread Simon Glass
Hi Mike, On Fri, Aug 19, 2011 at 3:28 PM, Mike Frysinger wrote: > On Friday, August 19, 2011 17:25:10 Simon Glass wrote: >> On Fri, Aug 19, 2011 at 3:15 PM, Mike Frysinger wrote: >> > On Friday, August 19, 2011 15:28:48 Simon Glass wrote: >> >> This adds a new SPI flash command which only rewrite

Re: [U-Boot] [PATCH v3] Add 'sf update' command to do smart SPI flash update

2011-08-19 Thread Mike Frysinger
On Friday, August 19, 2011 17:25:10 Simon Glass wrote: > On Fri, Aug 19, 2011 at 3:15 PM, Mike Frysinger wrote: > > On Friday, August 19, 2011 15:28:48 Simon Glass wrote: > >> This adds a new SPI flash command which only rewrites blocks if the > >> contents need to change. This can speed up SPI fla

Re: [U-Boot] [PATCH v3] Add 'sf update' command to do smart SPI flash update

2011-08-19 Thread Simon Glass
On Fri, Aug 19, 2011 at 3:15 PM, Mike Frysinger wrote: > On Friday, August 19, 2011 15:28:48 Simon Glass wrote: >> This adds a new SPI flash command which only rewrites blocks if the >> contents need to change. This can speed up SPI flash programming when much >> of the data is unchanged from what

Re: [U-Boot] [PATCH v3] Add 'sf update' command to do smart SPI flash update

2011-08-19 Thread Mike Frysinger
On Friday, August 19, 2011 15:28:48 Simon Glass wrote: > This adds a new SPI flash command which only rewrites blocks if the > contents need to change. This can speed up SPI flash programming when much > of the data is unchanged from what is already there. looks good to me. i'll give it a spin on