|
|
Line 36: |
Line 36: |
| * Start watcher by hand: | | * Start watcher by hand: |
| ** adb shell am start -a android.intent.action.MAIN -n com.mozilla.watcher/.WatcherMain | | ** adb shell am start -a android.intent.action.MAIN -n com.mozilla.watcher/.WatcherMain |
|
| |
| == Building the Android OS for the Pandaboard (WE DO NOT USE THIS) ==
| |
| <ol>
| |
| <li>Initialize your [http://source.android.com/source/initializing.html build environment].</li>
| |
| <ul><li>Currently Ubuntu 11.10 64-bit is known to work. Ubuntu 10.04 LTS is what Google recommends, though this is currently untested. 32-bit versions of Ubuntu are known to cause problems.</li></ul>
| |
| <li>Get the [http://source.android.com/source/downloading.html android OS source]</li>
| |
| <ul>
| |
| <li>Currently, you want to pull master</li>
| |
| <li>4.0.3 tag doesn't work, NOTE: This may change in the future</li>
| |
| <li>If repo stops pulling items down mid-way, just start it again. It is smart enough to pick up where it left off.</li>
| |
| </ul>
| |
| <li>Adjust the screen resolution in device/ti/panda/BoardConfig.mk</li>
| |
| <ul>
| |
| <li>BOARD_KERNEL_CMDLINE := console=ttyO2,115200n8 mem=1G androidboot.console=ttyO2 omapdss.def_disp=dvi omapfb.mode=dvi:1600x1200MR-24@60</li>
| |
| <li>[http://omappedia.org/wiki/Bootargs_for_enabling_display#How_to_read_and_set_EDID_timings_for_HDMI Reference] for other resolutions</li>
| |
| </ul>
| |
| <li>Download the [http://code.google.com/android/nexus/drivers.html#pandaiml74k GFX drivers for the pandaboard].</li>
| |
| <ul><li>Extract them to the root of your Android OS source tree.</li></ul>
| |
| <li>Follow the instructions at [http://quidecco.com/cgi-bin/cgi_ref_by_path/referer/http_3a_2f_2fwrla.ch_2fblog_2f2012_2f02_2fplaying-with-pandas_2f/url/http_3a_2f_2fsource-android.frandroid.com_2fdevice_2fti_2fpanda_2fREADME/ <androidsrc>/device/ti/panda/README] for instructions on how to build and flash your sdcard with the new build.</li>
| |
| <li>Setup dhcp on eth0 as mentioned in the readme (we might have to hack this for now as the mac addresses change):<code>adb shell dhcpcd eth0</code>
| |
| </ol>
| |
|
| |
| It takes about 30-40 minutes to build on a reasonably fast machine (i7, 8Gb RAM). Currently this will produce a build of androidOS that will change its MAC address on each boot if configured with DHCP. This may be something we change by either applying a kernel patch, or by ensuring pandas always use static IPs. So the above instructions may be modified to accommodate that patch once we figure that out.
| |
|
| |
|
| == Making an OS Image For Distribution == | | == Making an OS Image For Distribution == |
Line 87: |
Line 64: |
| </ul> | | </ul> |
| </ol> | | </ol> |
|
| |
| == Flashing Cards Remotely Without Removing From Panda ==
| |
| It should be possible to use the fastboot mechanism on the device to flash a replacement OS onto the board remotely. However, we haven't yet had time to work out those steps yet. We will update this section when we do.
| |
|
| |
| == Easier Image Building ==
| |
|
| |
| We should be able to use linaro-android-media-create to create our images:
| |
| * http://www.omappedia.com/wiki/Android_Panda_Pre_Built#Building_a_Custom_Image
| |
| * https://wiki.linaro.org/Resources/HowTo/L-M-C
| |
| * More info on how images are laid out: http://www.omappedia.com/wiki/Android_eMMC_Booting
| |
|
| |
| [http://people.mozilla.com/~tmielczarek/linaro-android-mac-fix.img.bz2 Sample Image that Ted made.]
| |
|
| |
|
| == Bugs, Remaining issues == | | == Bugs, Remaining issues == |
| * {{bug|786414}} - crash while trying to update sut agent via 'updt' command. | | * {{bug|786414}} - crash while trying to update sut agent via 'updt' command. |