Skip to content

Instantly share code, notes, and snippets.

@janjongboom
Created February 23, 2015 12:02
Show Gist options
  • Save janjongboom/8faddcbfc361acab4ec4 to your computer and use it in GitHub Desktop.
Save janjongboom/8faddcbfc361acab4ec4 to your computer and use it in GitHub Desktop.
Flash Jan's experimental build for rpi
  1. Follow instructions to install the prebuilt version for rpi from here: https://wiki.mozilla.org/Hacking_b2g_on_Raspberry_Pi
  2. Boot rpi and connect to wired network. Find the IP it's registered via nmap --open -p 5555 192.168.2.*
  3. Connect over adb: (f.e.) adb connect 192.168.2.100
  4. Checkout jan-os/gecko-dev, rpi branch; and use it as your GECKO_PATH
  5. Think this only works on Ubuntu by the way, but:
  6. In B2G, ./config.sh rpi && ./build.sh gecko && ./flash.sh gecko
  7. Checkout jan-os/janos, gpio branch
  8. Run make reset-phone
  9. adb logcat to see if flashing succeeded

Don't know how to connect the WebIDE at this point

@janjongboom
Copy link
Author

Also works on OSX by the way but need to force gcc-4.8

@SunboX
Copy link

SunboX commented Feb 27, 2015

Thanks! Works really great using your image from here: https://gist.github.com/janjongboom/94d575526a689687a6b8 😃 Thanks for your great work! 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment