이 문서는 PandaBoard에 Firefox OS 올리기 위한 가이드 입니다. PandaBoard는 모바일 운영 체제를 개발하기위한 저가의 OMAP 4 기반의 개발 보드입니다.
이 가이드는 SD card가 최소 4 GB의 사용 가능 용량이 있다고 가정합니다.
Format the SD card
이 OMAPpedia 가이드를 참조하여 SD card를 Format하세요.
usb를 인식하기 위하여 다음 단계를 따르세요. B2G를 위해 file의 mode 부분을 "0666"으로 사용하는 것이 안전합니다.
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
After configuring for the pandaboard, we now pull in Negatus. This is an agent that runs on the device and can help automate/debug it. Negatus will build itself automatically after you run ./build.sh, but you need to install libnspr(
apt-get install libnspr4-dev). After building the image, then tricky part is flashing it onto your pandaboard.
Try to follow instructions here, up to and including 'Initial setup, part 3'. You can skip 'Initial setup, part 1' which has been done during the build step. After completing 'Initial setup, part 3' return here.
Now you're free to run the
./flash.sh command, and hopefully all will be well. If the
flash.sh script tries to erase the userdata partition, remove that line. It's a known issue listed in the instructions.
After flashing is complete 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).
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 remove the power source and plug it back in. 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
If you get on adb devices "??????????? no permision", even as root, check the section "Configuring USB Access" on this site and correct or add the right udev rules. Don't forget to restart the udev service after the changes.