Re: Qtmoko and u-boot

2011-04-04 Thread giacomo 'giotti' mariani

Hi, Ed,

I am using mine u-boot with few fixes, it's not without bugs, but it
probably has less bugs than openmoko's u-boot:

http://wiki.openmoko.org/wiki/U-boot-gena2x

Also i'd suggest to try reducing sd card clock in kernel params (in
u-boot env, glamo_mci.sd_max_clk=1500).

Hello Gennady,
   I've always had some problem with glamo timing (at least I think).

Would you mind spend a couple of words about the glamo_mci.sd_max_clk 
option? Maybe adding it in the wiki [1] :-)


Thank you very much
   Giacomo

[1] http://wiki.openmoko.org/wiki/U-boot-gena2x#Useful_kernel_options

--
##
giacomo 'giotti' mariani
gpg --keyserver pool.sks-keyservers.net --recv-key 0x99bfa859
O  ASCII ribbon campaign: stop HTML mail
www.asciiribbon.org
##


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


Re: Qtmoko and u-boot

2011-04-02 Thread Ed Kapitein
On 04/01/2011 11:24 PM, W. B. Kranendonk wrote:
 --- On Fri, 4/1/11, Ed Kapitein e...@kapitein.org wrote:
 On 04/01/2011 05:20 PM, Gennady
 Kupava wrote:
 В Птн, 01/04/2011 в 17:00 +0200, Ed Kapitein
 пишет:
 On Friday 01 April 2011 14:52:02 David Matthews
 wrote:
 I had a few problems with several uSD
 Any chance all of them are broken? I got a whole collection of Sandisk uSD 
 cards that gave up the gost a while back, making me distrust my Freerunner, 
 my laptop, some camera's and some card readers.

 Do your filesystems only get corrupted when using it in your FR?

 Boudewijn

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

The card themselves are fine when used on my desktop computer, several
read write cycles give no errors at all.
So the corruption only happens in conjunction with the FR.
It is a pity that i can't trigger the corruption in anyway, so it is a
matter of waiting for a while and see if the FS stays clean.

so, i'll just have to wait and see what happens.

Kind regards,
Ed


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


Qtmoko and u-boot

2011-04-01 Thread Ed Kapitein
Hi All,

I had a few problems with several uSD cards lately and i am trying to figure 
out what is going wrong.
It used to be much more stable than it is now, i have massive file system 
corruption on a weekly basis.
So i decided to downgrade to u-boot (was using qi) and back to an old andy-
tracking kernel. Also i reverted back to xorg-server using the fbdev driver 
instead of the glamo driver.

But i noticed that Qtmoko won't boot when using u-boot, it works fine when 
using qi.
Is there something i can do to use u-boot and qtmoko together?

Kind regards,
Ed

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


Re: Qtmoko and u-boot

2011-04-01 Thread David Matthews

I had a few problems with several uSD cards lately and i am trying to figure
out what is going wrong.
It used to be much more stable than it is now, i have massive file system
corruption on a weekly basis.
So i decided to downgrade to u-boot (was using qi) and back to an old andy-
tracking kernel. Also i reverted back to xorg-server using the fbdev driver
instead of the glamo driver.


Ed - do you have a nand install and are the problems occurring after a
reboot? If so it's probably the same issue I posted about several weeks back
- I did post a work around as well, which for me at least, works fine.
--
David Matthews
m...@dmatthews.org

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


Re: Qtmoko and u-boot

2011-04-01 Thread Ed Kapitein
On Friday 01 April 2011 14:52:02 David Matthews wrote:
 I had a few problems with several uSD cards lately and i am trying to
 figure out what is going wrong.
 It used to be much more stable than it is now, i have massive file system
 corruption on a weekly basis.
 So i decided to downgrade to u-boot (was using qi) and back to an old
 andy- tracking kernel. Also i reverted back to xorg-server using the
 fbdev driver instead of the glamo driver.
 
 Ed - do you have a nand install and are the problems occurring after a
 reboot? If so it's probably the same issue I posted about several weeks
 back - I did post a work around as well, which for me at least, works
 fine.

Hi David,

Thanks for the reply, but my situation is different.
I have qtmoko on nand and gentoo on uSD, and qi as a bootloader to choose 
between the two,
Even without rebooting the FR it start to mess up my uSD card filesystem.
sometimes files that are unreadable are just fine after a reboot, sometimes the 
files are really messed up and need to be restored.
It might well be that the glamo is getting bad or that there is another kind 
of hardware failure going on.

I tried using ext2fs and ext3fs but hat does not change anything.

ATM i am booting the SD card form nor boot and qtmoko from qi.
But i would like to be able to use nand u-boot to boot from the SD card and 
from nand.

Kind regrads,
Ed


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


Re: Qtmoko and u-boot

2011-04-01 Thread Gennady Kupava
В Птн, 01/04/2011 в 17:00 +0200, Ed Kapitein пишет:
 On Friday 01 April 2011 14:52:02 David Matthews wrote:
  I had a few problems with several uSD cards lately and i am trying to
  figure out what is going wrong.
  It used to be much more stable than it is now, i have massive file system
  corruption on a weekly basis.
  So i decided to downgrade to u-boot (was using qi) and back to an old
  andy- tracking kernel. Also i reverted back to xorg-server using the
  fbdev driver instead of the glamo driver.
  
  Ed - do you have a nand install and are the problems occurring after a
  reboot? If so it's probably the same issue I posted about several weeks
  back - I did post a work around as well, which for me at least, works
  fine.
 
 Hi David,
 
 Thanks for the reply, but my situation is different.
 I have qtmoko on nand and gentoo on uSD, and qi as a bootloader to choose 
 between the two,
 Even without rebooting the FR it start to mess up my uSD card filesystem.
 sometimes files that are unreadable are just fine after a reboot, sometimes 
 the 
 files are really messed up and need to be restored.
 It might well be that the glamo is getting bad or that there is another kind 
 of hardware failure going on.
 
 I tried using ext2fs and ext3fs but hat does not change anything.
 
 ATM i am booting the SD card form nor boot and qtmoko from qi.
 But i would like to be able to use nand u-boot to boot from the SD card and 
 from nand.

Hi, Ed,

I am using mine u-boot with few fixes, it's not without bugs, but it
probably has less bugs than openmoko's u-boot:

http://wiki.openmoko.org/wiki/U-boot-gena2x

Also i'd suggest to try reducing sd card clock in kernel params (in
u-boot env, glamo_mci.sd_max_clk=1500).

And do backups. I am just removing sd card and do full dd dump of
contents to hdd, this takes 10 mins, but 100% error-proof, easy, fast
and painless recover. without any problems with partitions or anything
else.

Gennady.


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


Re: Qtmoko and u-boot

2011-04-01 Thread Ed Kapitein
On 04/01/2011 05:20 PM, Gennady Kupava wrote:
 В Птн, 01/04/2011 в 17:00 +0200, Ed Kapitein пишет:
 On Friday 01 April 2011 14:52:02 David Matthews wrote:
 I had a few problems with several uSD cards lately and i am trying to
 figure out what is going wrong.
 It used to be much more stable than it is now, i have massive file system
 corruption on a weekly basis.
 So i decided to downgrade to u-boot (was using qi) and back to an old
 andy- tracking kernel. Also i reverted back to xorg-server using the
 fbdev driver instead of the glamo driver.
 Ed - do you have a nand install and are the problems occurring after a
 reboot? If so it's probably the same issue I posted about several weeks
 back - I did post a work around as well, which for me at least, works
 fine.
 Hi David,

 Thanks for the reply, but my situation is different.
 I have qtmoko on nand and gentoo on uSD, and qi as a bootloader to choose 
 between the two,
 Even without rebooting the FR it start to mess up my uSD card filesystem.
 sometimes files that are unreadable are just fine after a reboot, sometimes 
 the 
 files are really messed up and need to be restored.
 It might well be that the glamo is getting bad or that there is another kind 
 of hardware failure going on.

 I tried using ext2fs and ext3fs but hat does not change anything.

 ATM i am booting the SD card form nor boot and qtmoko from qi.
 But i would like to be able to use nand u-boot to boot from the SD card and 
 from nand.
 Hi, Ed,

 I am using mine u-boot with few fixes, it's not without bugs, but it
 probably has less bugs than openmoko's u-boot:

 http://wiki.openmoko.org/wiki/U-boot-gena2x

 Also i'd suggest to try reducing sd card clock in kernel params (in
 u-boot env, glamo_mci.sd_max_clk=1500).

 And do backups. I am just removing sd card and do full dd dump of
 contents to hdd, this takes 10 mins, but 100% error-proof, easy, fast
 and painless recover. without any problems with partitions or anything
 else.

 Gennady.


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

Thanks i see that it uses the 2-4-2 timings, so i will try it after
running with the current setup for a while.
I do make backups, with rdiff-backup, so i have almost 2 years of
backups without wasting to much diskspace.

Kind regards,
Ed

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


Re: Qtmoko and u-boot

2011-04-01 Thread W. B. Kranendonk
--- On Fri, 4/1/11, Ed Kapitein e...@kapitein.org wrote:
 On 04/01/2011 05:20 PM, Gennady
 Kupava wrote:
  В Птн, 01/04/2011 в 17:00 +0200, Ed Kapitein
 пишет:
  On Friday 01 April 2011 14:52:02 David Matthews
 wrote:
  I had a few problems with several uSD

Any chance all of them are broken? I got a whole collection of Sandisk uSD 
cards that gave up the gost a while back, making me distrust my Freerunner, my 
laptop, some camera's and some card readers.

Do your filesystems only get corrupted when using it in your FR?

Boudewijn

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