[PATCH] u-boot support for sdhc card on gta01

2009-03-15 Thread Frederic Leroy
Hello,

I try to get u-boot working with sdhc cards on gta01. I applied patch from Alex 
[1]
but it don't work for my sdhc card.
Digging s3c2410 documents, I get it working with a new patch (attached) to 
apply on
top Alex's patchs, against u-boot origin/stable.

If you wan't to test it, I published my version of u-boot here :
http://www.starox.org/pub/openmoko/u-boot/

A user already reports me that it won't work with his card, you're
warned ;)

-- 
Frédéric Leroy

[1] 
http://lists.openmoko.org/pipermail/openmoko-kernel/2008-December/007268.html

http://lists.openmoko.org/pipermail/openmoko-kernel/2008-December/007269.html
diff -r 27e0e0acc9b3 cpu/arm920t/s3c24x0/mmc.c
--- a/cpu/arm920t/s3c24x0/mmc.c	Sat Mar 14 22:42:47 2009 +0100
+++ b/cpu/arm920t/s3c24x0/mmc.c	Sat Mar 14 21:59:38 2009 +
@@ -135,6 +135,9 @@
 
 	debug(mmc_block_rd dst %lx src %lx len %d\n, (ulong)dst, src, len);
 
+	/* Set up time - ref S3C2410A page 440 (19-4) */
+	sdi-SDIDTIMER = 0x;
+
 	/* set block len */
 	resp = mmc_cmd(MMC_CMD_SET_BLOCKLEN, len, CMD_F_RESP);
 	sdi-SDIBSIZE = len;
@@ -186,6 +189,8 @@
 
 	if (!(sdi-SDIDSTA  S3C2410_SDIDSTA_XFERFINISH))
 		debug(mmc_block_read; transfer not finished!\n);
+
+	sdi-SDIDSTA = S3C2410_SDIDSTA_XFERFINISH;
 
 	return 0;
 }
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: New Golden Delicious Offer: Freerunner now 279 EUR - debug board 49 EUR

2009-02-07 Thread Frederic Leroy
Hello,

Le Fri, 6 Feb 2009 21:27:05 +0100,
Dr. H. Nikolaus Schaller h...@computer.org a écrit :

 Hi all,
 I just want to let you know that we (Golden Delicious and our
 partner TRIsoft) have been able to reduce our price for the
 Freerunner to support as many free and open source projects as
 possible (FOSDEM starts tomorrow...).

My debug board cable is broken. Did you sell this one apart ?

Regards,

-- 
Frederic Leroy

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Debug board v3 and neo1973 (gta01)

2009-01-29 Thread Frederic Leroy
Le Wed, 28 Jan 2009 13:02:47 +,
Andy Green a...@openmoko.com a écrit :

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 Only certain magical versions of libftdi will work.  0.8 works fine
 here, nothing later did.
 

So, I updated my software to libftdi 0.8 and openocd r130,
without success.

I could borrow a multimeter today.
The fpc cable is good, the connector on the debug board seems good.
Testing the neo side gives stranges results.

The first test I made, was to verify contacts between the 45pins
 on the cable and the h-tp150[23458] dots on the neo pcb. It worked
 once.

Then I unplugged the cable, made various tests with both side
(un)plugged. There is continuity between the connectors (wire on the
white plastic), but the h-tp150* dots didn't beep again.

I didn't succeed anymore with the first test.  

Then, I try to use openocd, and notice that the neo screen flashes less
often. So the connector on the neo pcb seem's dead :(

I didn't have tools to make electronics and soldier wires to h-tp150*
dots, so I wonder if someone had already got success with scotch and
small copper wire ? wiring these dots to the 20 pins empty connector of
the debug board ?

--
Frederic Leroy


P.S : 

What is the led7 on the debug board ? It blinks randomly when the
cable moves. And googling around, I didn't found if it is good that the
neo screen flashes and stay sometimes on until I launch openocd.

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Debug board v3 and neo1973 (gta01)

2009-01-28 Thread Frederic Leroy
Hello, 

I can't make openocd work with my neo.
I checked carefully cables, use several usb port and have
mainly test with a self-powered hub.
When I plug the usb cable in the debug board or launch openocd, the
screen of the neo flashes white. Sometimes, it just stay white when
plugging the board on the pc.
Is-it a good behaviour ?

I try to use openocd with this configuration, and tried with changing
speed to 0,4,8 : 

telnet_port 
gdb_port 
interface ft2232
jtag_speed 0
ft2232_vid_pid 0x1457 0x5118
ft2232_layout jtagkey
reset_config trst_and_srst
jtag_device 4 0x1 0xf 0xe
daemon_startup attach
target arm920t little reset_run 0 arm920t
working_area 0 0x20 0x4000 backup
run_and_halt_time 0 5000

You can found the output of openocd here : 
http://pastebin.com/m2e2b52b9

The version of openocd I tried was the ubuntu one, and the static one
made by bitbake with the fso-makefile configuration.

-- 
Frederic Leroy

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: VAR market

2008-12-17 Thread Frederic Leroy
Le Wed, 17 Dec 2008 14:14:33 +0100,
Marcus Bauer mba...@bearstech.com a écrit :

 What is hackable:1 ?
 
 
 Hackable:1 is based on the DebianOnFreerunner but packaging the
 OM2007.2 applications, extending and bugfixing them. It is intended to
 become a stable platform for the VAR market and fun to use for
 everybody else.

What is the VAR market ?
Is it related to this :
http://en.wikipedia.org/wiki/Value_at_risk

-- 
Frédéric Leroy

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [debian] Evince works and is nice for ebooks

2008-09-25 Thread Frederic Leroy
Le Thu, 25 Sep 2008 13:05:53 +0200,
[EMAIL PROTECTED] a écrit :

 Michele Renda [EMAIL PROTECTED]
 writes:
 
  I am currently using epdf and it work well too
 
 The nice thing IMHO with Evince is that it supports many formats:
 - djvu
 - pdf
 - cbz (xipped archive of images)

Nice !

 and some others. 

Does it support plucker(.pdb) files too ? I've got a lot of these.

-- 
Frederic Leroy

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community