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) It seems to have something to do with stuff in the data partition being out of sync with the executables being installed. Dave Hylands ----- Original Message ----- > From: "Jared Hirsch" <[email protected]> > To: [email protected] > Sent: Thursday, November 14, 2013 4:29:19 PM > Subject: Re: [b2g] mavericks + vmware + hamachi: "flash.sh -h" works, > "flash.sh" doesnt > > Update: *any* number of args seems to trigger good behavior, while no args > consistently fails. Looking at the script to understand why. > > On Nov 13, 2013, at 4:21 PM, Jared Hirsch <[email protected]> wrote: > > > TL;DR: I can only flash my hamachi if I call `flash.sh -h`. Omitting the -h > > causes it to fail every time. Why? > > > > Hey all, > > > > Just digging into FXOS development, have been working on flashing my > > hamachi for a couple of days. My setup is as follows: > > > > * Retina MBP running Mavericks > > * VMware Fusion 6.0.1 > > * Using the fxosqa VM[1] with adb 1.0.31 > > * Created a separate directory ~/Projects/B2G_hamachi > > * Ran through the build steps in [2], essentially: git fetch, ./config.sh > > hamachi, and ./build.sh > > > > Now, if I attempt to flash the device by doing `./flash.sh`, I consistently > > get a failure where adb crashes, the flash.sh script hangs, and I only see > > a few lines of output[3]. > > > > But, weirdly, if I add the -h argument to flash.sh, it works just fine. > > > > I've taken a cursory look at flash.sh, but it's not clear to me just why > > passing this argument makes it work. If anybody has insight, I'd love an > > explanation. > > > > Cheers, > > > > Jared > > > > [1] (omitting the link, it's behind LDAP anyway) > > [2] > > https://developer.mozilla.org/en-US/docs/Mozilla/Firefox_OS/Preparing_for_your_first_B2G_build > > [3] https://pastebin.mozilla.org/3598761 > > _______________________________________________ > > dev-b2g mailing list > > [email protected] > > https://lists.mozilla.org/listinfo/dev-b2g > > _______________________________________________ > dev-b2g mailing list > [email protected] > https://lists.mozilla.org/listinfo/dev-b2g > _______________________________________________ dev-b2g mailing list [email protected] https://lists.mozilla.org/listinfo/dev-b2g
