From: Sebastian Reichel <sre@kernel.org>
To: Pavel Machek <pavel@ucw.cz>
Cc: ksummit-discuss@lists.linuxfoundation.org
Subject: Re: [Ksummit-discuss] [TECH TOPIC] mobile phones
Date: Sun, 2 Jul 2017 13:28:26 +0200 [thread overview]
Message-ID: <20170702112826.zirafz7lbo5lnabd@earth> (raw)
In-Reply-To: <20170628211008.GA19571@amd>
[-- Attachment #1: Type: text/plain, Size: 2509 bytes --]
Hi,
On Wed, Jun 28, 2017 at 11:10:08PM +0200, Pavel Machek wrote:
> > > So to be exact... u-boot does not know about battery charging. And
> > > NoLo can only do very, very slow charging.
> >
> > Yes. The idea is, that normally NoLo only charges far enough, that
> > Linux can be booted.
> >
> > > Yes, unfortunately that does not work quite well here. Voltage goes
> > > too low before Linux can boot, so it resets, but it is still high
> > > enough for the bootloader, so it attempts to boot Linux one more time,
> > > but battery is empty and voltage goes too low before Linux can boot, ...
> >
> > I guess your battery is not the fittest anymore?
>
> I guess that's one issue. (One of my batteries is actually so bad that
> GSM modem fails with it.)
>
> Well, I guess Debian boots a little longer than Maemo. Plus, I believe
> we should charge the battery from kernel by default; it will enable
> running fsck etc, and it will mean slow userspace boot will not
> break...
That sounds like really bad battery :)
> > > > On N950 there is an unsupported gps connected via i2c iirc (with
> > > > unknown protocol that needs to be RE'd) and TI's WiLink provides
> > > > GPS on a shared UART link with bluetooth-style header using yet
> > > > another protocol. I agree, that we should have a GPS subsystem.
> > >
> > > Two GPSes in one box, interesting design. Are both of them connected
> > > to useful antenna?
> >
> > Actually there are probably 3 GPS implementations in Droid 4:
> >
> > * WL1285
> > * MDM6600 modem
> > * LTE modem
> >
> > As far as I understand it modems are required to have GPS access in
> > US. I'm not yet sure which of the implementations is used by Droid 4's
> > stock system, but Motorola explicitly added a driver for the WL1285 GPS
> > making it a likely candidate (The userspace part is a closed source
> > shared object used by Android).
>
> Interesting :-). I guess you could do really fair comparison of the
> chipsets.
>
> (Binary driver -- bad Motorola :-( )
Yeah :( Note, that Nokia also has binary driver for the N900 (which
had been reverse engineered) and a different on on N950 (which has
not been reverse engineered so far).
> > > +static int generic_protect(struct power_supply *psy)
> > > +{
> > > + union power_supply_propval val;
> > > + int res;
> > > + int mV, mA, mOhm = 430, mVadj = 0;
> >
> > 430 mOhm?
>
> Yes, 0.43 Ohm.
What's the source of this value?
-- Sebastian
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
next prev parent reply other threads:[~2017-07-02 11:28 UTC|newest]
Thread overview: 43+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-06-25 10:48 Pavel Machek
2017-06-25 23:55 ` NeilBrown
2017-06-26 6:43 ` Geert Uytterhoeven
2017-06-26 6:49 ` Tony Lindgren
2017-06-26 11:12 ` Pavel Machek
2017-06-26 11:49 ` Tony Lindgren
2017-06-26 13:14 ` Pavel Machek
2017-06-26 13:49 ` Tony Lindgren
2017-06-26 20:49 ` Pavel Machek
2017-06-27 7:18 ` Tony Lindgren
2017-06-27 12:14 ` Sebastian Reichel
2017-06-27 21:57 ` Pavel Machek
2017-06-28 16:01 ` Sebastian Reichel
2017-06-28 20:27 ` Pavel Machek
2017-07-02 12:03 ` Sebastian Reichel
2017-06-27 21:57 ` Pavel Machek
2017-06-26 8:34 ` Pavel Machek
2017-06-26 11:20 ` Mark Brown
2017-06-26 12:22 ` Pavel Machek
2017-06-27 11:40 ` Mark Brown
2017-06-28 18:37 ` Pavel Machek
2017-07-02 12:11 ` Sebastian Reichel
2017-06-26 22:23 ` Alexandre Belloni
2017-06-27 7:06 ` Pavel Machek
2017-06-27 12:39 ` Sebastian Reichel
2017-06-27 21:57 ` Pavel Machek
2017-06-28 16:45 ` Sebastian Reichel
2017-06-28 21:10 ` Pavel Machek
2017-07-02 11:28 ` Sebastian Reichel [this message]
2017-07-02 18:14 ` Pavel Machek
2017-06-26 10:54 ` Mark Brown
2017-06-26 11:14 ` Pavel Machek
2017-06-26 11:49 ` Mark Brown
2017-06-26 12:38 ` Pavel Machek
2017-06-26 16:34 ` Mark Brown
2017-06-27 11:41 ` Sebastian Reichel
2017-06-28 14:38 ` Linus Walleij
2017-06-28 15:58 ` Arnd Bergmann
2017-06-28 16:04 ` Laurent Pinchart
2017-06-28 16:25 ` Pavel Machek
2017-06-28 18:26 ` Mark Brown
2017-06-28 17:01 ` Pavel Machek
2017-06-28 19:03 ` Tony Lindgren
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170702112826.zirafz7lbo5lnabd@earth \
--to=sre@kernel.org \
--cc=ksummit-discuss@lists.linuxfoundation.org \
--cc=pavel@ucw.cz \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox