Hacking b2g on Raspberry Pi: Difference between revisions

m
(update with new patch and unfreeze of gecko/gaia)
 
(4 intermediate revisions by 3 users not shown)
Line 43: Line 43:


Note: if you're configured your RPi to output through the touchscreen, and you disconnect the touchscreen (when the RPi is powered off, of course), then after rebooting the RPi may still try to output through the nonexistent screen.  This bug is not yet understood and seems to be a kernel issue.  But you can still follow the directions above to revert to HDMI output.
Note: if you're configured your RPi to output through the touchscreen, and you disconnect the touchscreen (when the RPi is powered off, of course), then after rebooting the RPi may still try to output through the nonexistent screen.  This bug is not yet understood and seems to be a kernel issue.  But you can still follow the directions above to revert to HDMI output.
Touchscreen input (using the PiTFT) seems not to work by now.


== Building b2g for RPi ==
== Building b2g for RPi ==
Line 59: Line 61:
  ./config.sh rpi
  ./config.sh rpi


The config.sh step can take quite a while, because it downloads a large amount of data.  Once that finishes, you need to apply a patch to the gecko checkout (for now; the patches are making their way through reviews etc.).  [http://pastebin.mozilla.org/7160741 Download the patch from here] and then apply to your <code>B2G/gecko</code> subdirectory by running the command
The config.sh step can take quite a while, because it downloads a large amount of data.  Once that finishes, you need to apply a patch to the gecko checkout (for now; the patches are making their way through reviews etc.).  [https://www.dropbox.com/s/j5bbuifod7pjusi/ffos-rpi-04.patch?dl=0 Download the patch from here] and then apply to your <code>B2G/gecko</code> subdirectory by running the command


  (cd gecko && git apply [the patch you downloaded])
  (cd gecko && git apply [the patch you downloaded])
Line 223: Line 225:


You can also flash your SD card anew at any time by following the instructions above.  But this should usually not be necessary.
You can also flash your SD card anew at any time by following the instructions above.  But this should usually not be necessary.
[[Category:Firefox OS]]
[[Category:Raspberry Pi]]
canmove, Confirmed users, Bureaucrats and Sysops emeriti
960

edits