Content-Type: multipart/alternative; boundary="_58fa78d8-4836-4bca-b1d5-392f578b69e1_" --_58fa78d8-4836-4bca-b1d5-392f578b69e1_ Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable Hello, I finally resolved the u-boot MMC mystery. After hearing that the MMC support for vertex should work while for connex it definitly does'nt, I compared both "base.patch"es for vertex and connex and found in the verdex version this interesting pease of patch, which made a change specificly excluded for vertex archtecture. I applied this patch ro connex version of u-boot and after compiling and flashing it realy worked :-) Index: u-boot-1.2.0/cpu/pxa/mmc.c =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- u-boot-1.2.0.orig/cpu/pxa/mmc.c +++ u-boot-1.2.0/cpu/pxa/mmc.c @@ -529,6 +529,7 @@ mmc_init(int verbose) #if defined (CONFIG_LUBBOCK) || (defined (CONFIG_GUMSTIX) && !defined(CONF= IG_PXA27X)) set_GPIO_mode( GPIO6_MMCCLK_MD ); set_GPIO_mode( GPIO8_MMCCS0_MD ); + set_GPIO_mode( GPIO53_MMCCLK_MD ); #endif CKEN |=3D CKEN12_MMC; /* enable MMC unit clock */ #if defined(CONFIG_ADSVIX) Maybe someone should remove this from the verdex patch and apend it to the connex patch. I have attached a fixed version for connex. Best regards, Christoph > Date: Fri, 31 Aug 2007 07:36:26 -0700 > From: dhylands@gmail.com > To: gumstix-users@lists.sourceforge.net > Subject: Re: [Gumstix-users] Problems with MMC in newest release >=20 > Hi Craig, >=20 > > > So maybe, if I actually installed u-boot and did a power cycle it > > > might work? > > > > Yes, that could well be it. "go" skips over a lot of the CPU setup > > code, so it might not leave the GPIO lines configured correctly. >=20 > Ok, so I installed the 1513 version of u-boot, and I get the same > result (works until 1.1.4, but fails under 1.2.0) >=20 > U-Boot 1.1.4 (Nov 6 2006 - 11:20:03) - 400 MHz - 1161 >=20 > *** Welcome to Gumstix *** >=20 > U-Boot code: A3F00000 -> A3F25DE4 BSS: -> A3F5AF00 > RAM Configuration: > Bank #0: a0000000 64 MB > Flash: 16 MB > Using default environment >=20 > SMC91C1111-0 > Net: SMC91C1111-0 > Hit any key to stop autoboot: 0 > GUM> mmcinit > MMC found. Card desciption is: > Manufacturer ID =3D 300000 > HW/FW Revision =3D e 0 > Product Name =3D 000000 > Serial Number =3D b70000 > Month =3D 3 > Year =3D 2007 > GUM> fatload mmc 0 a2000000 cx-1513-u-boot.bin > reading cx-1513-u-boot.bin >=20 > 160672 bytes read > GUM> protect off 1:0-1 > Un-Protect Flash Sectors 0-1 in Bank # 1 > .. done > GUM> erase 1:0-1 > Erase Flash Sectors 0-1 in Bank # 1 > .. done > GUM> cp.b a2000000 0 ${filesize} > Copy to Flash... done > GUM> reset > resetting ... >=20 >=20 > U-Boot 1.2.0 (Aug 30 2007 - 08:03:04) - 400 MHz - 1513 >=20 > *** Welcome to Gumstix *** >=20 > DRAM: 64 MB > Flash: 16 MB > Using default environment >=20 > SMC91C1111-0 > Net: SMC91C1111-0 > Hit any key to stop autoboot: 0 > GUM> mmcinit > No MMC card found > GUM> >=20 > I also did a power cycle and got the same results. >=20 > Not sure if it matters, but I'm using a kingston MMC mobile 256 Mb > card (dual voltage). I bought five on eBay, so I'd be happy to send > you one for testing. >=20 > --=20 > Dave Hylands > Vancouver, BC, Canada > http://www.DaveHylands.com/ >=20 > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > gumstix-users mailing list > gumstix-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gumstix-users _________________________________________________________________ Schnell, einfach und kostenlos auf Windows Live=99 Hotmail umsteigen! http://g.msn.com/8HMBEN/14811??PS=3D= --_58fa78d8-4836-4bca-b1d5-392f578b69e1_ Content-Type: text/html; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable
Hello,

I = finally resolved the u-boot MMC mystery. After hearing that the MMC
supp= ort for vertex should work while for connex it definitly does'nt,
I comp= ared both "base.patch"es for vertex and connex and found
in the verdex v= ersion this interesting pease of patch, which made a
change specificly e= xcluded for vertex archtecture. I applied this
patch ro connex version o= f u-boot and after compiling and flashing
it realy worked :-)

Ind= ex: u-boot-1.2.0/cpu/pxa/mmc.c
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D
--- u-boot-1.2.0.orig/cpu/pxa/mmc.c
+++ u-boot-1.2.0/cpu= /pxa/mmc.c
@@ -529,6 +529,7 @@ mmc_init(int verbose)
 #if define= d (CONFIG_LUBBOCK) || (defined (CONFIG_GUMSTIX) && !defined(CONFIG_= PXA27X))
     set_GPIO_mode( GPIO6_MMCCLK_MD );
&= nbsp;    set_GPIO_mode( GPIO8_MMCCS0_MD );
+  &= nbsp; set_GPIO_mode( GPIO53_MMCCLK_MD );
 #endif
  &nb= sp;  CKEN |=3D CKEN12_MMC; /* enable MMC unit clock */
 #if de= fined(CONFIG_ADSVIX)

Maybe someone should remove this from the verde= x patch and apend it to the
connex patch. I have attached a fixed versio= n for connex.

Best regards,

Christoph



> Date: Fri, 31 Aug 2007 07:36:26 -0700
> From: = dhylands@gmail.com
> To: gumstix-users@lists.sourceforge.net
> = Subject: Re: [Gumstix-users] Problems with MMC in newest release
> > Hi Craig,
>
> > > So maybe, if I actually install= ed u-boot and did a power cycle it
> > > might work?
> &g= t;
> > Yes, that could well be it. "go" skips over a lot of the C= PU setup
> > code, so it might not leave the GPIO lines configured= correctly.
>
> Ok, so I installed the 1513 version of u-boot,= and I get the same
> result (works until 1.1.4, but fails under 1.2.= 0)
>
> U-Boot 1.1.4 (Nov 6 2006 - 11:20:03) - 400 MHz - 1161<= br>>
> *** Welcome to Gumstix ***
>
> U-Boot code: A= 3F00000 -> A3F25DE4 BSS: -> A3F5AF00
> RAM Configuration:
&= gt; Bank #0: a0000000 64 MB
> Flash: 16 MB
> Using default envi= ronment
>
> SMC91C1111-0
> Net: SMC91C1111-0
> H= it any key to stop autoboot: 0
> GUM> mmcinit
> MMC found. = Card desciption is:
> Manufacturer ID =3D 300000
> HW/FW Revisi= on =3D e 0
> Product Name =3D 000000
> Serial Number =3D b70000=
> Month =3D 3
> Year =3D 2007
> GUM> fatload mmc 0 a2= 000000 cx-1513-u-boot.bin
> reading cx-1513-u-boot.bin
>
&g= t; 160672 bytes read
> GUM> protect off 1:0-1
> Un-Protect F= lash Sectors 0-1 in Bank # 1
> .. done
> GUM> erase 1:0-1> Erase Flash Sectors 0-1 in Bank # 1
> .. done
> GUM> c= p.b a2000000 0 ${filesize}
> Copy to Flash... done
> GUM> re= set
> resetting ...
>
>
> U-Boot 1.2.0 (Aug 30 20= 07 - 08:03:04) - 400 MHz - 1513
>
> *** Welcome to Gumstix ***=
>
> DRAM: 64 MB
> Flash: 16 MB
> Using default e= nvironment
>
> SMC91C1111-0
> Net: SMC91C1111-0
>= ; Hit any key to stop autoboot: 0
> GUM> mmcinit
> No MMC c= ard found
> GUM>
>
> I also did a power cycle and got= the same results.
>
> Not sure if it matters, but I'm using a= kingston MMC mobile 256 Mb
> card (dual voltage). I bought five on e= Bay, so I'd be happy to send
> you one for testing.
>
> = --
> Dave Hylands
> Vancouver, BC, Canada
> http://www.D= aveHylands.com/
>
> ------------------------------------------= -------------------------------
> This SF.net email is sponsored by: = Splunk Inc.
> Still grepping through log files to find problems? Sto= p.
> Now Search log events and configuration files using AJAX and a b= rowser.
> Download your FREE copy of Splunk now >> http://get.= splunk.com/
> _______________________________________________
>= gumstix-users mailing list
> gumstix-users@lists.sourceforge.net
= > https://lists.sourceforge.net/lists/listinfo/gumstix-users

Der Outlook Express Nachfolger =96 schnellere und sicherere Verwaltung = Ihrer E-Mail-Konten! Windows Live Mail Beta = --_58fa78d8-4836-4bca-b1d5-392f578b69e1_--