- Follow instructions to install the prebuilt version for rpi from here: https://wiki.mozilla.org/Hacking_b2g_on_Raspberry_Pi
- Boot rpi and connect to wired network. Find the IP it's registered via
nmap --open -p 5555 192.168.2.*
- Connect over adb: (f.e.)
adb connect 192.168.2.100
- Checkout jan-os/gecko-dev, rpi branch; and use it as your
GECKO_PATH
- Think this only works on Ubuntu by the way, but:
- In B2G, ./config.sh rpi && ./build.sh gecko && ./flash.sh gecko
- Checkout jan-os/janos, gpio branch
- Run
make reset-phone
adb logcat
to see if flashing succeeded
Don't know how to connect the WebIDE at this point
Also works on OSX by the way but need to force gcc-4.8