android
  #121  
Old 02-08-2011, 09:48 AM
slade slade is offline
Member
 
Join Date: Oct 2010
Posts: 118
Default

wow that is really cool!! Thank you!! I would also like to announce the next steps. I currently failed to manage to run a successful compile for android. But since time is currently limited I started digging into rockbox again.
-> Kernel 2.6.24 successfully compiled and is now fully bug free also with ext2
-> I will do a quick and dirty messing around: I will format my sd card to ext2 and mount it at bootup which contains the entire cramfs. I will put sdl into the cramfs and bind my mmc to / root and try to start up rockbox. the cool thing is. if it can't mount the sd card everything is back to normal (so take it out and everything is fine). Also I wouldnt need to flash my device anymore since I can work on the sd card instead.
Reply With Quote

Advertisement [Remove Advertisement]

  #122  
Old 02-08-2011, 01:28 PM
Lorenz092 Lorenz092 is offline
Member
 
Join Date: Jan 2011
Location: Italy
Posts: 449
Default

Quote:
Originally Posted by slade View Post
wow that is really cool!! Thank you!! I would also like to announce the next steps. I currently failed to manage to run a successful compile for android. But since time is currently limited I started digging into rockbox again.
-> Kernel 2.6.24 successfully compiled and is now fully bug free also with ext2
-> I will do a quick and dirty messing around: I will format my sd card to ext2 and mount it at bootup which contains the entire cramfs. I will put sdl into the cramfs and bind my mmc to / root and try to start up rockbox. the cool thing is. if it can't mount the sd card everything is back to normal (so take it out and everything is fine). Also I wouldnt need to flash my device anymore since I can work on the sd card instead.
Yeah
Reply With Quote

  #123  
Old 02-08-2011, 07:39 PM
lestatar's Avatar
lestatar lestatar is offline
Ultra Senior Member
 
Join Date: Dec 2009
Location: Hong Kong now, but NYC always
Posts: 4,657
Default

__________________
DAPs:2xRBFuze8+16GB|SonyE345|ZenV+,Micro,Xtra40GBx2|RBG igabeatFX|RCAOpal
IEMs:PanaHJE900|Nuforce 700x|HippoVB|iMetal590,i490|SM PL-21|CX300|EP630,Aurvana
Guitars:IbanezS540,JS1200|Ovation
PoolCues: a bunch
A Glossary for Newbies
Reply With Quote

  #124  
Old 02-09-2011, 04:17 AM
slade slade is offline
Member
 
Join Date: Oct 2010
Posts: 118
Default

ok guys i got a reply from a freescale developer.
We need do:
Quote:
arch/arm/mach-mx5/ to modify your mach-mx37. Try to compare each file.
That should be it. I have two more exams one on friday and one on the 18th.
So if you guys want to help looking thru all the code and just compare differences that would be sweet.

You would need to download
Android 9.3 Freescale Release for MX5x
and the YP-R0 Kernel sources from Samsung.
And then compare arch/arm/mach-mx5 from Android Release
and arch/arm/mach-mx37 from Samsung Kernel.

Important are include files as well as different structs or ENUMs.
I have already started but now I need to focus on my exams. And would really appreciate if you guys find some time too. You wouldn't even need to be a coder. Its just about differences.

Thanks and btw, the dirty messing around failed for now. I am having troubles since my Debug mode didn't work. No worries though I'll get it fixed soon.
Reply With Quote

  #125  
Old 02-09-2011, 05:14 AM
lebellium's Avatar
lebellium lebellium is offline
Samsung Moderator
 
Join Date: Sep 2007
Location: Paris
Posts: 3,597
Default

How to compare files? With an hexa editor?
And where is the Android 9.3 download link?

Thanks
__________________
I'm French^^ *GenerationMP3 Samsung Moderator*
Reply With Quote

  #126  
Old 02-09-2011, 07:29 AM
SoulSyde's Avatar
SoulSyde SoulSyde is offline
Junior Member
 
Join Date: May 2010
Posts: 14
Default

God, I wish I could understand 1% of what you guys are talking about in this thread because I am so hopeful for a Samsung player with Rockbox! : )
__________________
My Equipment | ♫ Last.fm
Reply With Quote

  #127  
Old 02-09-2011, 07:39 AM
lestatar's Avatar
lestatar lestatar is offline
Ultra Senior Member
 
Join Date: Dec 2009
Location: Hong Kong now, but NYC always
Posts: 4,657
Default

^ Ditto. I only understand like 5% of the stuff but my prayers are with these awesome peeps.
__________________
DAPs:2xRBFuze8+16GB|SonyE345|ZenV+,Micro,Xtra40GBx2|RBG igabeatFX|RCAOpal
IEMs:PanaHJE900|Nuforce 700x|HippoVB|iMetal590,i490|SM PL-21|CX300|EP630,Aurvana
Guitars:IbanezS540,JS1200|Ovation
PoolCues: a bunch
A Glossary for Newbies
Reply With Quote

  #128  
Old 02-09-2011, 08:01 AM
Lorenz092 Lorenz092 is offline
Member
 
Join Date: Jan 2011
Location: Italy
Posts: 449
Default

Well to explore a source code isn't usefull an hex editor...you should open them with notepad or a better editor.

As I know some programming languages, I think I could give an eye to the sources!!
I'm really happy to help you slade

EDIT: where to download android sources?? Are these ok http://lxr.linux.no/#linux+v2.6.36.2/arch/arm/mach-mx5 ??

A quick analisys: there are a lot of differences in the file cpu.c, there is the same function name tough.
devicece.s are completely different...I think I've cought the wrong sources

EDIT 2: could these be usefull? http://android.git.kernel.org/?p=ker....git;a=summary

Last edited by Lorenz092; 02-09-2011 at 08:18 AM.
Reply With Quote

  #129  
Old 02-09-2011, 02:05 PM
slade slade is offline
Member
 
Join Date: Oct 2010
Posts: 118
Default

i am sorry I honestly forgot the link:

http://www.freescale.com/webapp/sps/...X51EVKJ&fpsp=1
you need to download:
IMX51_R93_ANDROID_SOURCE_CODE: Android R9.3 Demo Image, documentation and Source Code for BSP and Codecs.

Thank you guys.
For Windows I would suggest Notepad++ and Open both of the files in a split window.

Thank you so much!!!
Reply With Quote

  #130  
Old 02-09-2011, 02:51 PM
lebellium's Avatar
lebellium lebellium is offline
Samsung Moderator
 
Join Date: Sep 2007
Location: Paris
Posts: 3,597
Default

Looks like registration is required to download the file :/
__________________
I'm French^^ *GenerationMP3 Samsung Moderator*
Reply With Quote

  #131  
Old 02-10-2011, 03:54 AM
Lorenz092 Lorenz092 is offline
Member
 
Join Date: Jan 2011
Location: Italy
Posts: 449
Default

Quote:
Originally Posted by slade View Post
i am sorry I honestly forgot the link:

http://www.freescale.com/webapp/sps/...X51EVKJ&fpsp=1
you need to download:
IMX51_R93_ANDROID_SOURCE_CODE: Android R9.3 Demo Image, documentation and Source Code for BSP and Codecs.

Thank you guys.
For Windows I would suggest Notepad++ and Open both of the files in a split window.

Thank you so much!!!
I've just downloaded everything and I'm familiar with Notepad ++ so I'll start to check the sources...

I will attach the folder said by slade here in the forum so everyone can contribute
Reply With Quote

  #132  
Old 02-10-2011, 04:10 AM
slade slade is offline
Member
 
Join Date: Oct 2010
Posts: 118
Default

ok here is the source of the samsung kernel mach-mx37. I have the 9.3 on my linux so I'll post this later or if lorenz is faster he can
Attached Files
File Type: zip mach-mx37.zip (86.7 KB, 3 views)
Reply With Quote

  #133  
Old 02-10-2011, 04:26 AM
Lorenz092 Lorenz092 is offline
Member
 
Join Date: Jan 2011
Location: Italy
Posts: 449
Default

Quote:
Originally Posted by slade View Post
ok here is the source of the samsung kernel mach-mx37. I have the 9.3 on my linux so I'll post this later or if lorenz is faster he can
No problem....I had a problem and I need to redownload the package
Thanks!
Reply With Quote

  #134  
Old 02-10-2011, 04:34 AM
slade slade is offline
Member
 
Join Date: Oct 2010
Posts: 118
Default

ok guys here is the mach-mx51 from freescales
Attached Files
File Type: zip mach-mx51.zip (46.3 KB, 4 views)
Reply With Quote

  #135  
Old 02-10-2011, 04:36 AM
Lorenz092 Lorenz092 is offline
Member
 
Join Date: Jan 2011
Location: Italy
Posts: 449
Default

Quote:
Originally Posted by slade View Post
ok guys here is the mach-mx51 from freescales
haha well I tought the former package was the freescale one and I tought...uhm everything is the same!!

I've done a first analisys: with a tool I've checked wich files are different (content) and wich are present or not in a package.
An image equals thousand of words
Attached Images
File Type: jpg diffs.jpg (64.8 KB, 16 views)

Last edited by Lorenz092; 02-10-2011 at 05:03 AM.
Reply With Quote

  #136  
Old 02-10-2011, 05:15 AM
Lorenz092 Lorenz092 is offline
Member
 
Join Date: Jan 2011
Location: Italy
Posts: 449
Default

I'm using Notepad++ with compare plugin...really good!

I start to write some differences:

mm.c -> The structure is the same but addresses are different
usb.h -> Samsung deleted and added 2-3 function declarations (from line 22)
system.h -> some include added by samsung and "define debug". Same structure and function declarations but different instructions (maybe some specific samsung's hardware)
serial.h -> only some copyright changes and 3 constants are slighlty different
serial.c -> nothing serious; only some sames like mx37->mx51
sdma_script_code.h -> lots of differences. Mainly adresses and some constants are deleted by samsung
dma.h -> only these 2 diff #define MXC_SDHC_MMC_WML 512
#define MXC_SDHC_SD_WML 512

devices.c -> lots of differences. I think the structure is the same but it's personalized by samsung

Last edited by Lorenz092; 02-10-2011 at 05:24 AM.
Reply With Quote

  #137  
Old 02-10-2011, 05:32 AM
slade slade is offline
Member
 
Join Date: Oct 2010
Posts: 118
Default

could you list all includes? This will be the next step to add instructions to the include files.
Reply With Quote

  #138  
Old 02-10-2011, 05:38 AM
slade slade is offline
Member
 
Join Date: Oct 2010
Posts: 118
Default

Here is the include files and some freescale source folders which are used by compiling.
This is from Samsung Kernel
I will upload the rest in from freescale in a few
Attached Files
File Type: zip include_mx37.zip (5.64 MB, 1 views)
File Type: zip kernel_mx37.zip (114.7 KB, 1 views)
File Type: zip plat-mxc_mx37.zip (114.2 KB, 1 views)
Reply With Quote

  #139  
Old 02-10-2011, 05:47 AM
slade slade is offline
Member
 
Join Date: Oct 2010
Posts: 118
Default

here are the freescale sources.
Attached Files
File Type: zip plat-mxc_51.zip (1.27 MB, 2 views)
File Type: zip kernel_51.zip (991.5 KB, 1 views)
File Type: zip include_51.zip (4.69 MB, 1 views)
Reply With Quote

  #140  
Old 02-10-2011, 08:27 AM
Lorenz092 Lorenz092 is offline
Member
 
Join Date: Jan 2011
Location: Italy
Posts: 449
Default

Quote:
Originally Posted by slade View Post
could you list all includes? This will be the next step to add instructions to the include files.
List all includes of wich sources? The first contained in mach-mx** for both platforms?
Reply With Quote

Reply

Tags
r0, rockbox, samsung yp-r0

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



All times are GMT -5. The time now is 07:13 AM.