This is a guide to setting up Firefox OS on a PandaBoard. The PandaBoard is a low-cost OMAP 4 based development board for developing mobile operating systems.
These instructions assume you have an SD Card with at least 4 GB of capacity available.
Format the SD card
Format the SD card by following this guide
To enable usb communication with the pandaboard, follow these steps. For B2G, you're safe to use "0666" as your file mode.
Verify that the pandaboard is accessible by plugging it in to your computer using USB, and running:
If you see something from Texas Instruments, then you found your pandaboard! If not, I found luck by unplugging all the wires, and only connecting the pandaboard to USB.
Building and flashing
Try to follow instructions here, up to Step 3. After Step 3, you're free to run the
./flash.sh command, and hopefully all will be well. You may need to manually reboot the machine by unplugging the usb and power cords and plugging them back in (power cord should be plugged in first).
flash.sh script tries to erase the userdata partition, remove that line. It's a known issue listed in the instructions.
Here are the work arounds for known issues:
"waiting for OMAP4XXX..." when trying to use usbboot
If you see this message, then unplug all cables from the pandaboard. Only plug in the pandaboard via USB. Do not connect power. Try now, and run
Fastboot errors while flashing
If you're having trouble running commands in fastboot, I found success after running them with
sudo <fastboot command...>)
Also, if you have trouble getting your pandaboard into fastboot mode (ie: no devices listed if you do a
fastboot devices call), then you can:
- Unplug all the things from the pandaboard
- Hold down the GPIO button
- Plug in the power while still holding the button
- Watch the solid status light, and once the light starts to flash, let go of the GPIO button
This will put the pandaboard into fastboot mode.
Can't connect to adb
If you see the device in lsusb, but not in adb/fastboot devices and the lights are off, then power cycle the pandaboard. If the lights are on, you may need to wait a while (30seconds max) for it to be registered on adb.
Sometimes, flashing will claim to be successful, but it isn't. Reflash the pandaboard (ie: run
./flash.sh) and try again. I recommend plugging in power first, and then plugging in the usb cable