Hi Julien, ----- Original Message ----- > From: "Julien Wajsberg" <[email protected]> > To: "Dave Hylands" <[email protected]>, "Jared Hirsch" <[email protected]> > Cc: [email protected] > Sent: Friday, November 15, 2013 2:27:31 AM > Subject: Re: [b2g] mavericks + vmware + hamachi: "flash.sh -h" works, > "flash.sh" doesnt > > Le 15/11/2013 01:45, Dave Hylands a écrit : > > So ./flash.sh someword winds up being essentially the same as ./flash.sh -f > > which does a fullflash. > > > > ./flash.sh with no arguments just flashes gecko and gaia. > > > > I've found that when doing a gecko/gaia flash, I often have to do a > > reset-gaia (make -C gaia reset-gaia) > > isn't it what "./flash.sh gaia" does? Or maybe it does a install-gaia? > Does ./flash.sh flash gecko/gaia using fastboot, or using adb? I thought > it was adb. > > Could be useful to have comments at the start of ./flash.sh explaining > basically what we can use, because reading the source code is sometimes > misleading :)
There are 2 ways of flashing: 1 - flashing the entire image using fastboot 2 - flashing just gecko or just gaia, which uses adb "./flash.sh gecko" and "./flash.sh gaia" always use adb "./flash.sh -f" always uses fastboot ./flash.sh with no args uses fastboot for all devices except leo, hamachi, and helix, which use adb. ./fash.sh with no args tries to do the thing that works most consistently for a given device, and this can change over time. Dave Hylands _______________________________________________ dev-b2g mailing list [email protected] https://lists.mozilla.org/listinfo/dev-b2g
