Motorola Development Community

Member Login

Quick Search



Development Hacking, development, scripts etc


Reply
  #1  
Old 03-14-2009
muromec's Avatar
MotoFans MODR
 
Join Date: Oct 2007
Location: Odessa, Ukraine
Posts: 123
Thanks: 0
Thanked 45 Times in 26 Posts
Default sdhc support

http://ezxdev.org/qtopia/patches/2.4...-sdhc.patch.gz

tested on 4gb sdhc card: read ok (except last 60 bytes. wtf? ) write ok.
Reply With Quote
The Following 3 Users Say Thank You to muromec For This Useful Post:
Lubomyr (03-15-2009), marcolnx (12-19-2009), sabrod (03-15-2009)
  #2  
Old 03-15-2009
sabrod's Avatar
OpenEZX Test Monkey
 
Join Date: Mar 2008
Location: just at the other end of the line.
Posts: 881
Thanks: 75
Thanked 26 Times in 23 Posts
Default

Great! congrats...
Muromec, you are a motorola firmware predator already, but if qtopia bring sdhc support, they are finished!

Last edited by sabrod; 03-20-2009 at 08:44 PM.
Reply With Quote
  #3  
Old 03-20-2009
manolo9914's Avatar
MotoFans NWBE
 
Join Date: Nov 2008
Location: Mexico
Posts: 16
Thanks: 2
Thanked 0 Times in 0 Posts
Send a message via MSN to manolo9914
Default HI

Hi can you tell me How to instal it on my a1200e

(this patch suports sdhc with 8gb)

Thanks!!!
Reply With Quote
  #4  
Old 03-20-2009
manolo9914's Avatar
MotoFans NWBE
 
Join Date: Nov 2008
Location: Mexico
Posts: 16
Thanks: 2
Thanked 0 Times in 0 Posts
Send a message via MSN to manolo9914
Default HI

Hi can you tell me How to instal it on my a1200e, i'm noob on this hehe

(this patch suports sdhc with 8gb)

Thanks!!!
Reply With Quote
  #5  
Old 03-20-2009
sabrod's Avatar
OpenEZX Test Monkey
 
Join Date: Mar 2008
Location: just at the other end of the line.
Posts: 881
Thanks: 75
Thanked 26 Times in 23 Posts
Default

It's hard... requires cross compiling and linux kernel development setup and knowledge, with mkezx toolchain i guess.
(It's a patch against the kernel driver, so you need to rebuild the kernel after patching...)
I'd like if there was any tutorial, afaik, there is the motorola .doc in the kernel sources, but it's quite useless . And also, the kernel released by moto is afaik not functionnal, if you compile it without changing some bits....
I never been able to build anything for my A910, at least, but is it better on A1200??.

Last edited by sabrod; 03-20-2009 at 08:13 PM.
Reply With Quote
  #6  
Old 03-20-2009
manolo9914's Avatar
MotoFans NWBE
 
Join Date: Nov 2008
Location: Mexico
Posts: 16
Thanks: 2
Thanked 0 Times in 0 Posts
Send a message via MSN to manolo9914
Default

I would like to compile this, but.. my linux knowledge is very poor
Reply With Quote
  #7  
Old 03-21-2009
muromec's Avatar
MotoFans MODR
 
Join Date: Oct 2007
Location: Odessa, Ukraine
Posts: 123
Thanks: 0
Thanked 45 Times in 26 Posts
Default

here is prebuild kernel for a1200 with qtopia: http://ezxdev.org/qtopia/temp/vmlinuz_sdhc15

you need to add 2048 bytes of zeros to beginning of this file and flash it to /dev/mtd7 with flashcp.

first you need to place this file somewhere on phone. go to that dir and use this commands to flash:

Code:
dd if=/dev/zero bs=2048 count=1 of=mtd7 # make 2048 zeros
cat vmlinuz_sdhc15 >> mtd7 # append kernel to same file
flashcp -v mtd7 /dev/mtd7 # flash
this not works with regular motorola fw`s, only with angstrom/qtopia
Reply With Quote
  #8  
Old 03-21-2009
sabrod's Avatar
OpenEZX Test Monkey
 
Join Date: Mar 2008
Location: just at the other end of the line.
Posts: 881
Thanks: 75
Thanked 26 Times in 23 Posts
Default

Ah, yeah, thanks to satisfy my hanger of tests.
i'll try if for sure later tonight ... a good occasion to try phonetools, too .
i'll use this windows box and RSD for that, and try these autobuilds, too, but i feel a little bit like a loser because i can't figure out what to do to compile my custom 2.4 A910' kernel... (except injuring motorola and ask them for a source cleanup...) .
Maybe i'll use the hainan code and only patch the mmc/ wifi related bits... but damn, it seems hard!

Last edited by sabrod; 03-22-2009 at 07:03 PM.
Reply With Quote
  #9  
Old 03-21-2009
muromec's Avatar
MotoFans MODR
 
Join Date: Oct 2007
Location: Odessa, Ukraine
Posts: 123
Thanks: 0
Thanked 45 Times in 26 Posts
Default

>i can't figure out what to do to compile my custom 2.4 A910' kernel.

get source, copy config from arch/arm/def-configs/ezx-<phonecodehane>, run

Code:
make CROSS_COMPILE=arm-linux- ARCH=arm oldconfig 
make CROSS_COMPILE=arm-linux- ARCH=arm deps 
make CROSS_COMPILE=arm-linux- ARCH=arm zImage
arm-linux-gcc should be in your path. if you have no toolchain, use this: http://ezxdev.org/qtopia/sdk/old/arm-linux-ezx.tar.bz2

Last edited by muromec; 03-21-2009 at 08:25 PM.
Reply With Quote
  #10  
Old 03-21-2009
sabrod's Avatar
OpenEZX Test Monkey
 
Join Date: Mar 2008
Location: just at the other end of the line.
Posts: 881
Thanks: 75
Thanked 26 Times in 23 Posts
Default

I compile it without much problems, but nothing is true on the sources, i never could make it to work...
Reply With Quote
 
Reply

Tags
sdhc, support

Thread Tools
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
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
E6 patch - SDHC and SD support epinter E6 General Chat 28 01-01-2010 04:10 AM
support SDHC for E6/E6E lovegff E6 General Chat 142 09-24-2009 03:11 PM
help...format 8g sdhc card sam_fisher E6 General Chat 1 09-09-2009 05:27 PM
SD or SDHC???wats ur suggestion?? vinayinfo E6 General Chat 10 08-03-2009 11:23 AM
what is Sdhc kernel ? ravisoni7 E6 General Chat 16 07-14-2009 11:37 AM

 
Advertisement

Partner Links





Web Analytics