Compile and port Android os in MS104-SH4AG board

by Hamilton Vera » Wed, 21 Apr 2010 03:04:32 GMT


Sponsored Links
 Any English information, I cannot read japanese.

I've never worked with SH4, and I don't know if android stands for that

But anyway you can start here:

 http://android.git.kernel.org/ 
 http://www.linuxfordevices.com/c/a/Linux-For-Devices-Articles/Porting-Android-to-a-new-device/ 
 http://www.mail-archive.com/android-disc... @googlegroups.com/msg10640.html
https://review.source.android.com/#dashboard,1001893




>



Compile and port Android os in MS104-SH4AG board

by Pankaj » Wed, 21 Apr 2010 19:07:31 GMT


 Thank you for the reply.


I have "MS104-SH4AG" and "MS104-LCD/AUDIO" board.

Configuration : CPU        : sh7764
                Product no : R5S77640N300BG
                Flash rom  : 16 MB
                SD Ram     : 64 MB

For hardware reference please see below link
 http://www.apnet.co.jp/product/ms104/ms104-sh4ag.html 
 http://www.apnet.co.jp/product/ms104/ms104-lcd_audio.html 


I want to run android on this device.
For that i apply following step
1) Download android source code.
2) Install all patch's in
https://review.source.android.com/#dashboard,1001893

after i compile android source code using
TARGET_ARCH=sh make
But it gives "unknown architecture" error.

I want to know that am i going right way or not.
Also that how can i build and mount android image file on PCB.

Can any one help me on this topic?
Please give me what can i do for compile source code for SuperH
architecture.




>


Sponsored Links


Compile and port Android os in MS104-SH4AG board

by Pankaj » Wed, 21 Apr 2010 19:09:52 GMT


 Thank you for the reply.


I have "MS104-SH4AG" and "MS104-LCD/AUDIO" board.

Configuration : CPU        : sh7764
                Product no : R5S77640N300BG
                Flash rom  : 16 MB
                SD Ram     : 64 MB

For hardware reference please see below link
 http://www.apnet.co.jp/product/ms104/ms104-sh4ag.html 
 http://www.apnet.co.jp/product/ms104/ms104-lcd_audio.html 


I want to run android on this device.
For that i apply following step
1) Download android source code.
2) Install all patch's in
https://review.source.android.com/#dashboard,1001893

after i compile android source code using
TARGET_ARCH=sh make
But it gives "unknown architecture" error.

I want to know that am i going right way or not.
Also that how can i build and mount android image file on PCB.

Can any one help me on this topic?
Please give me what can i do for compile source code for SuperH
architecture.





> >



Compile and port Android os in MS104-SH4AG board

by Bob Kerns » Thu, 22 Apr 2010 05:10:11 GMT


 Well, TARGET_ARCH=sh make doesn't look right!

I'm not familiar with that processor, so I don't know what value you
should use for TARGET_ARCH. Perhaps the clue is in this phrase:  -- but I often find it harder to understand English as katakana
than Japanese as kanji! What is  technology? Would that be a
processor architecture?

Anyway, I suspect what you're supposed to be typing is:

TARGET_ARCH=architecturename sh make

that is, run 'sh make' with the TARGET_ARCH environment variable set.

Anyway, you'll have better luck asking this on the android-porting
list.




> >



Other Threads

1. Browser based installation fails on G1

I had  chance to install an app on real h/w today and it went all the
way till the last step, when it came back with a "application install
unsuccessful" ( something close to that).

I created a .apk file and signed it with keytool and jarsigner. I then
verified it with jarsigner and put it on a webserver. From the G1
browser downloaded the file and it went through the permissions screen
and then I finally hit install. Comes back with a "install
unsuccessful" message.

The same install from the USB interface works just fine - I did a adb
install app.apk and it loaded it - no problem.
Any ideas on what's going on.

thanks
InC

--~--~---------~--~----~------------~-------~--~----~

2. Could not find HelloAndroid.apk!

Hi I've this error when I ran the android hello world:

[2008-09-20 21:13:34 - HelloAndroid] ------------------------------
[2008-09-20 21:13:34 - HelloAndroid] Android Launch!
[2008-09-20 21:13:34 - HelloAndroid] adb is running normally.
[2008-09-20 21:13:34 - HelloAndroid] Could not find HelloAndroid.apk!

but in error there is nothing :(

I'm using eclipse under debian sid

--~--~---------~--~----~------------~-------~--~----~

3. Help on Building Android Source code

4. Make-in/Make-Out Animation between tabs.

5. Content observers for SMS mailboxes

6. Tab layout... switch to landscape change tab...

7. THe Method getCurrentLocation(string) is undefined under LocationManager