# HG changeset patch # User William Roberts # Date 1256303470 -3600 # Node ID 1cc01d306e6b53e64b9d96d446894e7a90abb42a # Parent 33bd282ab944036070609a35154c4ec6b5620e77 Remove incorrect "How to build" documentation and scripts diff -r 33bd282ab944 -r 1cc01d306e6b omap3530/Building_the_beagle_baseport.html --- a/omap3530/Building_the_beagle_baseport.html Wed Oct 14 14:22:52 2009 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,92 +0,0 @@ - - - - Symbian^2 on the Beagle Board - - - - -

Symbian^2 on the Beagle Board

- -

Purpose and Scope

- - This document is a guide to running the the Symbian^2 on the Beagle board. - -

Getting the Symbian^2 release

- -

The beagle board base port will only work in conjuntion with the SOSCO patched version of Symbian^2. This assumes the following release opps_baseline sf_2.0.b_003_SOSCO_OPPS_003_TMP. This release must be installed acording to the by following the steps on the OPP database.

- -

Ensure that the Syborg rom builds and boots before proceeding.

- - -

Getting the Beagle board baseport

- -

At the time of writing the Beagle board baseport is only available in the SOSCO perforce repositary. The source is located at:

- -
//LPD/development/baseporting/clean/beagleboard/personal/andrewps/foundation_latest/src/cedar/generic/base/omap3530/
- -

There should be a CBR release coming soon.

- - -

Compiling the Beagle board baseport

- -

Get the base source code by calling getsource on all components found using envinfo | findstr base_.

- -

To compile the beagle board baseport use the metabld script omap3530/buildscripts/reallycleanbuild.mbc:

- -
metabld reallycleanbuild.mbc
- -

I usually collect a log by doing something like

- -
metabld reallycleanbuild.mbc 2>&1 | tee 20090714_1641_build_the_beagle_bsp.txt
- - -

Building a Beagle board textshell image

- -

To build a textshell rom the following lines have to be commented out of \epoc32\include\bldvariant.hrh.

- -
-#include <bldcodeline.hrh>		
-#include <bldprivate.hrh>
-#include <bldpublic.hrh>
-#include <bldregional.hrh> 
-		
- -

Note that these lines must be put back to build a GUI image.

- -

Use the standard textshell build comand:

- -
rom -v=beagle -i=armv5
- -
rombuild rom.oby
- - -

Booting a Beagle board ROM

- -

Copy your image to an MMC or SD card and call it BEAGLEARMV5D.IMG. If your Beagle board is not setup to autoboot from removable media then you must connect to the bootloader configuration shell over the beagle boards serial connection and type the following:

- -
set bootcmd 'mmcinit ; fatload mmc 0:1 0x81000000 BEAGLEARMV5D.IMG ; go 0x81000000'; saveenv
- -

When you reboot the beagle board the textshell rom should be automatically loaded.

- - -

Building a Beagle board S60 image

- -

Ensure that \epoc32\include\bldvariant.hrh is clean.

- -

Update \epoc32\rom\lpd_override\base.iby to include the Beagle baseport:

- -
-#elif defined(__BEAGLE__)
-#include <base_beagle.iby>
-		
- -

Copy the files beagle.oby and base_beagle.iby from \epoc32\rom\include into \epoc32\rom\lpd_override\.

- -

Build the s60 image using the following command:

- -
call \epoc32\tools\buildrom_lpd.cmd beagle Symbian2.oby -D_EABI=ARMV5 -DCOLOR  -DSYMBIAN_EXCLUDE_IPSEC -D_PORTRAIT_ -es60ibymacros -nosymbols -D__LOCALES_01_IBY__
- - - - \ No newline at end of file diff -r 33bd282ab944 -r 1cc01d306e6b omap3530/beagleboard/rom/base_beagle.iby --- a/omap3530/beagleboard/rom/base_beagle.iby Wed Oct 14 14:22:52 2009 +0100 +++ b/omap3530/beagleboard/rom/base_beagle.iby Fri Oct 23 14:11:10 2009 +0100 @@ -130,9 +130,5 @@ extension[VARID]= \epoc32\release\ARMV5\BUILD_DIR\_beagle_usbv.dll \sys\bin\usbv.DLL #endif -#ifdef SYNAPTICS_TOUCH_PAD -extension[VARID]= \epoc32\release\ARMV5\BUILD_DIR\synapticsclearpad.dll \sys\bin\synapticsclearpad.dll -#endif - //extension[VARID]=\epoc32\release\ARMV5\BUILD_DIR\_beagle_ekeyb.dll \sys\bin\ekeyb.dll extension[VARID]=\epoc32\release\ARMV5\BUILD_DIR\_omap3530_serialkeyboard.DLL \sys\bin\ekeyb.dll \ No newline at end of file diff -r 33bd282ab944 -r 1cc01d306e6b omap3530/beagleboard/rom/build_beagle_touchpad.bat --- a/omap3530/beagleboard/rom/build_beagle_touchpad.bat Wed Oct 14 14:22:52 2009 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,4 +0,0 @@ - -call \epoc32\tools\buildrom_lpd.cmd beagle Symbian2.oby -D_EABI=ARMV5 -DCOLOR -DSYMBIAN_EXCLUDE_IPSEC -D_PORTRAIT_ -es60ibymacros -nosymbols -D__LOCALES_01_IBY__ -DSYNAPTICS_TOUCH_PAD - -