Pandaboards are special. You have to manually put the pandaboard in fastboot mode because any 'reboot' command causes it to just shutdown and not reboot, so I had to change some things in ./flash.sh:
I tested this flash.sh file against a pandaboard and for an unagi build, and it works as expected. The Unagi build runs all the previous commands, and the pandabuild excludes the ones in the if statements.
exclude some commands if flashing panda
Hi, thanks for the patch. It tried it, but it doesn't work for me. The board doesn't restart and fastboot ignores all commands. If you don't restart the board, how do you get into a state where you can flash the images?
The problem with rebooting might be that the board's boot loader hangs during the reboot, such that it looks like it shut down. I see this sometimes, but you won't notice without serial output.
I'd definitely take the second part where you skipped over erasing the userdata partition. For the other parts, could you make them dependent on a command-line switch; something like '--no-reboot'?
Thanks for the review, but we switched gears and this is no longer being used for automation.