[Zaurus-devel] Event based zaurusd

2011-04-15 Thread Andrea Adami
Hello,

now that we are running 2.6.38 kernels can we move to the new event
based zaurusd [1]?
Any particular drawback?

Regards

Andrea


[1] http://metan.lindevdoc.org/git/?p=zaurusd.git/.git;a=summary

___
Zaurus-devel mailing list
Zaurus-devel@lists.linuxtogo.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/zaurus-devel


Re: [Zaurus-devel] Event based zaurusd

2011-04-15 Thread Andrea Adami
reading  following lines from linux-arm-kernel [2] I wonder if we
could have zaurusd as driver in kernel tree...


...
 Since this is a one-off kind of thing, a singleton driver that controls
 power, reset and some GPIO on the chip. I contemplate moving the
 stuff to either:

 drivers/misc/ux500/*
 include/linux/misc/ux500/*

 or:

 drivers/platform/arm/ux500/*
 include/linux/platform/arm/ux500/*

 Are any of these generally speaking good ideas?

Or maybe drivers/arm?
...


[2] http://lists.infradead.org/pipermail/linux-arm-kernel/2011-April/048211.html


Andrea

___
Zaurus-devel mailing list
Zaurus-devel@lists.linuxtogo.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/zaurus-devel


Re: [Zaurus-devel] mtd-utils - issues with flash_eraseall -j

2011-04-15 Thread Andrea Adami
On Thu, Mar 24, 2011 at 2:17 PM, Andrea Adami andrea.ad...@gmail.com wrote:
 Same failure with 2.6.38 on c7x0 / akita / spitz.

 Ideas?

 Andrea


 -- Forwarded message --
 From: Andrea Adami andrea.ad...@gmail.com
 Date: Wed, Mar 9, 2011 at 10:33 AM
 Subject: Re: mtd-utils - issues with flash_eraseall -j
 To: openembedded-de...@lists.openembedded.org


 I have a guess:

 Patchwork [5/5] mtd-utils: change flash_eraseall to use libmtd-wrapped ioctls

 http://patchwork.ozlabs.org/patch/57934/

 Then I've read that recently (1.4.x)
 ...The struct nand_oobinfo is able to record only 32 ECC code 
 positions,which
 is not enough for many big NAND chips. Therefore, this structure is replaced
 by struct nand_ecclayout in linux kernel from the version 2.6.17.
 Consequently, the ioctl command changed from MEMGETOOBSEL to ECCGETLAYOUT

 I was using 2.6.26 kernel.
 Please report if that happens on other hardware too.

 Thanks

 Andrea



 On Wed, Mar 9, 2011 at 1:14 AM, Andrea Adami andrea.ad...@gmail.com wrote:
 Hello,

 with the previous mtd-utils-1.3.1 I could do ' flash_eraseall -j
 /dev/mtd3' on my Zaurus/armv5te.

 With v. 1.4.1 (and 1.4.2 fwiw) I see following errors:

 ...
 flash_erase: error!: /dev/mtd3: MTD writeoob failure
                        error 22 (Invalid argument)
 Erasing 16 Kibyte @ 43f -- 99% complete libmtd: error!: unaligned 
 address 7
 1237640, mtd3 page size is 512
 flash_erase: error!: /dev/mtd3: MTD writeoob failure
                        error 22 (Invalid argument)
 Erasing 16 Kibyte @ 43f4000 -- 99% complete libmtd: error!: unaligned 
 address 7
 1254024, mtd3 page size is 512
 ...

 Anybody can confirm the issue?

 Regards

 Andrea



It seems the issue has been aknowledge and resolved upstream.

http://lists.infradead.org/pipermail/linux-mtd/2011-April/034599.html

Andrea

___
Zaurus-devel mailing list
Zaurus-devel@lists.linuxtogo.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/zaurus-devel


Re: [Zaurus-devel] Zaurus CF tests -- ok

2011-04-15 Thread Cyril Hrubis
Hi!
 After getting _good_ power supply, I was able to untar and rm ltp tree
 100 times so far. 2.6.38, ext3. (So metan no, I do not see any weird
 ext3 problems).

Hmm, I'm using original adapter, but who knows if it's okay to use...

 Another strange thing is... I see lots of duplicated keystrokes --
 like type pavel but machine understands paavel. But it only seems
 to happen when I'm _not_ trying to debug it?!

That seems to be side effect of machine under load (it has gpio keyboard).

 (
 So... just because something needs 5V does not mean you should charge
 it from USB.
 
 Yes, I'm talking about zaurus. I noticed that it crashed rather
 quickly when connected to USB power. (For example in tar/rm test).
 So I took multimeter, and there was 4.15..4.5V on USB :-(.
 
 With power from USB extension cable, it crashes in 5 minutes. It
 seems to toggle charger a lot, as voltage on the cable is only
 4.2..4.5V. I guess it is software problem in the charging code.
 )

The zaurus actually is AFAIK unable to run from battery when connected to the
external power, so weak power line may explain some of the strange behaviour.

-- 
metan

___
Zaurus-devel mailing list
Zaurus-devel@lists.linuxtogo.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/zaurus-devel