Re: Freerunner won't charge

2011-07-01 Thread Ronald Tallent
So, there's no way to fix this thing? If I need to take it to an
electronics repair shop to get it fixed I can, just need to know what
part(s) will need to be repaired/replaced. Anyone know were I can get
hold of schematics for the mainboard? If it's a simple repair proceedure
I might be able to do it myself even.

--Ron




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


Re: Freerunner won't charge

2011-07-01 Thread Chuck Norris
01.07.2011 17:13, Ronald Tallent пишет:
 So, there's no way to fix this thing? If I need to take it to an
 electronics repair shop to get it fixed I can, just need to know what
 part(s) will need to be repaired/replaced. Anyone know were I can get
 hold of schematics for the mainboard? If it's a simple repair proceedure
 I might be able to do it myself even.

 --Ron




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


It can be software bug. I had that on fresh shr about 3 month ago.
Rolling back cured

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


[debian] cannot bootstrap libc6

2011-07-01 Thread Dmitry Chistikov
Hello,

I'm trying to install Debian on Openmoko Freerunner and have encountered
the following problem. Both cdebootstrap and debootstrap fail to install
a basic Debian system (stage debian of install.sh). Packages are
downloaded and extracted, but dpkg is refusing to install libc6:

===

[...]
I: Extracting zlib1g...
I: Installing core packages...
W: Failure trying to run: chroot /mnt/debian dpkg --force-depends --install 
/var/cache/apt/archives/libc6_2.13-8_armel.deb
root@hackable1:~# chroot /mnt/debian dpkg --force-depends --install 
/var/cache/apt/archives/libc6_2.13-8_armel.deb
(Reading database ... 349 files and directories currently installed.)
Unpacking libc6 (from .../libc6_2.13-8_armel.deb) ...

A copy of the C library was found in an unexpected directory:
  '/lib/arm-linux-gnueabi/libc-2.13.so'
It is not safe to upgrade the C library in this situation;
please remove that copy of the C library or get it out of
'/lib/arm-linux-gnueabi' and try again.

dpkg: error processing /var/cache/apt/archives/libc6_2.13-8_armel.deb 
(--install):
 subprocess new pre-installation script returned error exit status 1
Errors were encountered while processing:
 /var/cache/apt/archives/libc6_2.13-8_armel.deb

===

If libc-2.13.so and libc.so.6 are then moved to /lib, then dpkg begins
to wail about /lib/arm-linux-gnueabi/libdl-2.13.so, which suddenly emerges
out of nowhere. On next iteration there appears libm... So, as far as I can
see, all these files are just being unpacked from the very package I ask dpkg
to install.

Does this mean that Debian sid (unstable) armel is broken at the moment?
How can this problem be dealt with? Changing --force-depends to --force-all
does not help.

-- 
Dmitry Chistikov

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


Re: Freerunner won't charge

2011-07-01 Thread Ronald Tallent

 
 It can be software bug. I had that on fresh shr about 3 month ago.
 Rolling back cured 

Don't think it's software, I rolled back to one of my previously known
good backups and still had the problem. Also, if it was software it
should still charge when flashing or when sitting on the NAND/NOR boot
menus shouldn't it? It used to, not it doesn't.

Anyone have any other ideas?

--Ron




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


Re: Freerunner won't charge

2011-07-01 Thread Paul Fertser
Hi,

Ronald Tallent r...@tallent.ws writes:
 So, there's no way to fix this thing? If I need to take it to an
 electronics repair shop to get it fixed I can, just need to know what
 part(s) will need to be repaired/replaced. Anyone know were I can get
 hold of schematics for the mainboard? If it's a simple repair proceedure
 I might be able to do it myself even.

Schematics are available from [1]. I hope you'll find the cause and
will be able to use your cool device again :)

Basically, what you need to know is that charging is controlled by the
PMU chip, PCF50633, it's connected over SPI bus and you can easily
view dump of its registers from [2] (newer kernels might have a
slightly different path but the same filename). Schematics are pretty
much obvious but if you have any questions, feel free to ask here or
on #openmoko-cdevel irc channel.

[1] http://people.openmoko.org/joerg/schematics/
[2] /sys/class/i2c-adapter/i2c-0/0-0073/dump_regs
-- 
Be free, use free (http://www.gnu.org/philosophy/free-sw.html) software!
mailto:fercer...@gmail.com

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


Re: [debian] cannot bootstrap libc6

2011-07-01 Thread Timo Jyrinki
2011/7/1 Dmitry Chistikov dd1em...@gmail.com:
 I'm trying to install Debian on Openmoko Freerunner and have encountered
 the following problem. Both cdebootstrap and debootstrap fail to install
 a basic Debian system (stage debian of install.sh). Packages are
 downloaded and extracted, but dpkg is refusing to install libc6:
...
 Does this mean that Debian sid (unstable) armel is broken at the moment?
 How can this problem be dealt with? Changing --force-depends to --force-all
 does not help.

I'm not an expert on the installer, but unfortunately it may mean so.

You can try to use stable repositories instead by modifying the
install.sh script - you just need to make sure that you then don't
specify any phone software like Zhone at the install time, since those
are only available with the E17 that is in unstable and not in the
latest Debian release. I've been meaning to try out if that'd work for
some time, but haven't got a suitable extra microsd card and time slot
to check it out.

Then if you get a minimal installation ongoing, it's much easier to
install more software and experiment in a bootable system. The
unstable anyway is in a shaky situation at the moment, as still the
Python E17 dependencies are not in so they are also not installable.

-Timo

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