|
![]() Opening Synaptic NOTE: This installation walk-through assumes the following
Install gccUbuntu does not come with gcc/make and other developer packages installed by default. Open Synaptic to add these. (shown right)
![]() Changing to Advanced Mode Find and select the following packages for installation (you will be prompted about additional packages, accept them)
![]() Select build-essential & gcc-3.3 Setup SDK Files for InstallationCreate a subdirectory under your current user's home directory called "aibo" (no quotes) e.g. /home/<user>/aibo Download ALL of the following OPEN-R SDK files from Sony and put them in the new folder ("aibo")
When complete, the "aibo" directory will look similar to below. NOTE: The OPEN-R "manuals" archive has already been extracted in the figure below (tar zxvf OPEN_R_SDK-docE-1.1.5-r1.tar.gz) this is not required to install, but you'll want to do that eventually to read the reference materials. ![]() Example /home/<user>/aibo directory ![]() Opening a Terminal Install the OPEN-R SDKOpen a terminal session. (shown right) In the new terminal session, navigate to the same location you placed the OPEN-R SDK files (/home/<user>/aibo in this walkthrough.) Execute the following commands to build the cross-compiler for the OPEN-R SDK
![]() Build OPEN-R Cross-Compiler Fetch a coffee or snack while the script runs... When the script completes, the last line of output should say Done. Otherwise something previous was not done correctly. ![]() Successful cross-compiler build Execute the following commands to install the OPEN-R SDK binary files and headers
NOTE: the last two commands fix file permissions so you won't have to be root or use "sudo" to compile your OPEN-R SDK objects. ![]() Extract binary files and headers Execute the following commands to install the OPEN-R SDK code samples
![]() Extract code samples Test Your New OPEN-R SDK InstallationNavigate to the HelloWorld sample directory and build the sample (assuming you are still at /home/<user>/aibo from previous steps)
Plug in your reader and/or insert your AIBO Programable Memory Stick (PMS). WARNING: Only use Sony Branded readers with the special AIBO memory sticks! ![]() Mounted memory stick/reader First copy the Base OPEN-R SDK memory stick files to your PMS. You'll You'll find them at the location /usr/local/OPEN_R_SDK/OPEN_R/MS_<model>/WCONSOLE/memprot/ ![]() Base OPEN-R SDK memory stick files for ERS-7 Next copy the HelloWorld build files on top of the Base files. You'll find them at the location /home/<user>/aibo/sample/common/HelloWorld/MS/ ![]() Copy your working WLANCONF.TXT file in the OPEN-R/SYSTEM/CONF/ directory of the memory stick. Boot up your AIBO with the HelloWorld PMS. Should only hear the standard short burst of tones. Telnet to your AIBO specifying port 59000. (e.g telnet 10.0.1.100 59000) After several lines of misc system info, !!! Hello World !!! should be output to the terminal. ![]() Hello World - It works! ![]() You are ready to start the OPEN-R SDK fun! |