mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Pavel Machek <pavel@ucw.cz>
To: "Pali Rohár" <pali.rohar@gmail.com>
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: Wed, 10 Apr 2013 11:26:06 +0200	[thread overview]
Message-ID: <20130410092606.GA16074@amd.pavel.ucw.cz> (raw)
In-Reply-To: <201303302351.06611@pali>

Hi!

> 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

Well, it compiles, and seems to work. Includes extensive
documentation, but...

How do I put the device into mode where it responds to 0xffff? It
seems to be there for only a second after power off...?

n90- has very confusing startup sequence...

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

Hmm, I did, seems I'm alone there :-(.
									Pavel
PS: I seem to need attached patches to get defconfig to compile:

diff --git a/arch/arm/mach-omap2/board-rx51-peripherals.c b/arch/arm/mach-omap2/board-rx51-peripherals.c
index 9fe4bdf..4aa13ce 100644
--- a/arch/arm/mach-omap2/board-rx51-peripherals.c
+++ b/arch/arm/mach-omap2/board-rx51-peripherals.c
@@ -1037,7 +1037,7 @@ static struct hsi_board_info __initdata rx51_ssi_cl[] = {
 			.mode = HSI_MODE_FRAME,
 			.channels = 4,
 			.speed = 55000,
-			.arb_mode = HSI_ARB_RR,
+//			.arb_mode = HSI_ARB_RR,
 			},
 		.rx_cfg = {
 			.mode = HSI_MODE_FRAME,
diff --git a/arch/arm/mach-omap2/board-rx51-smc.S b/arch/arm/mach-omap2/board-rx51-smc.S
index 70e2eb7..bdfb2d7 100644
--- a/arch/arm/mach-omap2/board-rx51-smc.S
+++ b/arch/arm/mach-omap2/board-rx51-smc.S
@@ -20,7 +20,7 @@
  *          with number of parametrs
  */
 ENTRY(rx51_ppa_smc)
-	.arch_extension sec
+//	.arch_extension sec
 	stmfd	sp!, {r4-r12, lr}
 	mov	r12, r0		@ Copy the secure service ID
 	mov	r3, r2		@ Copy the pointer to va_list in R3
diff --git a/drivers/char/hw_random/omap3-rom-asm.S b/drivers/char/hw_random/omap3-rom-asm.S
index ce82e16..65d2b5e 100644
--- a/drivers/char/hw_random/omap3-rom-asm.S
+++ b/drivers/char/hw_random/omap3-rom-asm.S
@@ -12,7 +12,7 @@
 #include <asm/assembler.h>
 
 ENTRY(omap3_rng_call_rom_asm)
-	.arch_extension sec
+//	.arch_extension sec
 	stmfd	sp!, {r4-r12, lr}
 	stmfd	sp!, {r0-r3}
 	bl	v7_flush_dcache_all

-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

  parent reply	other threads:[~2013-04-10  9:26 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-30 20:04 [PATCH] " 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
2013-04-09 23:55             ` Pavel Machek
2013-04-10  9:26             ` Pavel Machek [this message]
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=20130410092606.GA16074@amd.pavel.ucw.cz \
    --to=pavel@ucw.cz \
    --cc=anton@enomsg.org \
    --cc=dwmw2@infradead.org \
    --cc=freemangordon@abv.bg \
    --cc=joerg@openmoko.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=pali.rohar@gmail.com \
    /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

all inboxes | Powered by JetHome®