linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Pali Rohár" <pali.rohar@gmail.com>
To: Pavel Machek <pavel@ucw.cz>
Cc: Anton Vorontsov <anton@enomsg.org>,
	David Woodhouse <dwmw2@infradead.org>,
	linux-kernel@vger.kernel.org,
	Joerg Reisenweber <joerg@openmoko.org>,
	Ivaylo Dimitrov <freemangordon@abv.bg>
Subject: Re: [PATCH v2] New Nokia RX-51 power supply battery driver
Date: Sat, 30 Mar 2013 23:51:05 +0100	[thread overview]
Message-ID: <201303302351.06611@pali> (raw)
In-Reply-To: <20130330214229.GA4322@amd.pavel.ucw.cz>

[-- Attachment #1: Type: Text/Plain, Size: 2648 bytes --]

On Saturday 30 March 2013 22:42:29 Pavel Machek wrote:
> On Sat 2013-03-30 11:35:26, Anton Vorontsov wrote:
> > On Sat, Mar 30, 2013 at 07:07:05PM +0100, Pavel Machek wrote:
> > > On Wed 2012-10-31 10:48:40, Pali Rohár wrote:
> > > > Hello, I fixed style issues and added it to Makefile and
> > > > Kconfig.
> > > > 
> > > > power_supply: Add Nokia RX-51 battery driver
> > > > 
> > > > This driver exporting battery design capacity,
> > > > temperature and voltage for battery in Nokia RX-51.
> > > > This driver is needed for open source battery
> > > > management on Nokia RX-51 (N900).
> > > > 
> > > > Signed-off-by: Pali Rohár <pali.rohar@gmail.com>
> > > 
> > > Reviewed-by: Pavel Machek <pavel@ucw.cz>
> > 
> > Thanks for the review, Pavel! Although, the patch is in
> > Linus' tree long ago. ;-)
> 
> Yeah... I did a bit of history-digging ;-). Now, I should
> figure out how to put custom kernel on n900 _and_ keep it in
> working state at the same time.
> 
> (I installed some kind of multiboot, then, apt decided to
> install some u-boot extension. Then it got interesting. I
> never got my own kernel to work, and u-boot magically
> disappeared, but I still have working phone :-).
> 
> 									Pavel

Hello Pavel,

here are some hints for booting 3.8+ kernel on n900:

"multiboot" package from Maemo Extras is horrible hack which can 
be used only for booting maemo 2.6.28 kernel. it flashing new 
kernel to n900 nand, then reboot device, start maemo init and 
mount/chroot into new os dir... after reboot it erasing kernel 
nand area where is normaly uboot placed, so do not install it!

uboot in Maemo Extras cannot boot 3.x kernels because autobuilder 
(Extras server app for buidling packages) has very old gcc which 
produced semi-(non)working uboot (can boot some 2.6 kernels).

my uboot builds compiled by gcc 4.7 (which can boot 3.8 kernel): 
http://atrey.karlin.mff.cuni.cz/~pali/u-boot/

info thread about uboot on n900:
http://talk.maemo.org/showthread.php?t=81613

kernel git repository with n900 patches (now based on v3.8-rc3):
https://gitorious.org/linux-n900/linux-n900

open source flasher 0xFFFF (working on x86-64 too) which can load 
kernel and initfs via usb to n900 RAM without flashing nand:
https://gitorious.org/0xffff/0xffff

rescueOS - minimalistic n900 initrams distribution with usb mass 
storage (eMMC and SD) and usb cdc ether for telnet console
http://206.253.166.96/N900/rescueOS/

If you need help with booting some upstream kernel on n900 join 
to freenode #maemo-alternatives channel :-)

-- 
Pali Rohár
pali.rohar@gmail.com

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

  reply	other threads:[~2013-03-30 22:51 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-30 20:04 [PATCH] New Nokia RX-51 power supply battery driver Pali Rohár
2012-10-30 22:39 ` Anton Vorontsov
2012-10-31  9:48   ` [PATCH v2] " Pali Rohár
2012-11-18 23:12     ` Anton Vorontsov
2012-11-19 12:18       ` Pali Rohár
2012-11-19 18:20         ` Anton Vorontsov
2012-11-21 19:20           ` Tony Lindgren
2012-12-17  6:55             ` Anton Vorontsov
2013-03-30 18:07     ` Pavel Machek
2013-03-30 18:35       ` Anton Vorontsov
2013-03-30 21:42         ` Pavel Machek
2013-03-30 22:51           ` Pali Rohár [this message]
2013-04-09 23:55             ` Pavel Machek
2013-04-10  9:26             ` Pavel Machek
2013-04-10 10:06             ` Pavel Machek

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=201303302351.06611@pali \
    --to=pali.rohar@gmail.com \
    --cc=anton@enomsg.org \
    --cc=dwmw2@infradead.org \
    --cc=freemangordon@abv.bg \
    --cc=joerg@openmoko.org \
    --cc=linux-kernel@vger.kernel.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;
as well as URLs for NNTP newsgroup(s).