[Buildroot] [PATCH v2 8/9] atmel: add a flashing helper and documentation

Alexandre Belloni alexandre.belloni at free-electrons.com
Sat May 16 21:53:00 UTC 2015


Hi,

On 14/05/2015 at 06:37:23 +0300, Baruch Siach wrote :
> On Wed, May 13, 2015 at 09:22:56PM +0200, Alexandre Belloni wrote:
> > +You can then flash the board using the provided flasher.sh script in board/atmel:
> > +
> > +board/atmel/flasher.sh <builddir_path> <interface> <board>
> > +
> > +For example:
> > +board/atmel/flasher.sh /tmp/atmel_sama5d3_xplained/ /dev/ttyACM0 sama5d3_xplained
> 
> Since you didn't mention out of tree build in this document, I think 
> './output/' would be better as first argument example. Adding a comment on out 
> of tree build would be nice, though.
> 

Yeah, I thought about that and that is why I used ./output in usage().

I'll switch to:

"
For example, for an out of tree build made in
/tmp/atmel_sama5d3_xplained/ for the sama5d3 Xplained, you would use:
board/atmel/flasher.sh /tmp/atmel_sama5d3_xplained/ /dev/ttyACM0 sama5d3_xplained
"

-- 
Alexandre Belloni, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com



More information about the buildroot mailing list