lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:	Wed, 10 Apr 2013 12:06:20 +0200
From:	Pavel Machek <pavel@....cz>
To:	Pali Rohár <pali.rohar@...il.com>
Cc:	Anton Vorontsov <anton@...msg.org>,
	David Woodhouse <dwmw2@...radead.org>,
	linux-kernel@...r.kernel.org,
	Joerg Reisenweber <joerg@...nmoko.org>,
	Ivaylo Dimitrov <freemangordon@....bg>
Subject: Re: [PATCH v2] New Nokia RX-51 power supply battery driver

Hi!

> > > 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 :-).
> 
> Hello Pavel,
> 
> here are some hints for booting 3.8+ kernel on n900:

Ok, I have compiled defconfig kernel (with patches, as indicated). 

sudo src/0xFFFF -m /data/l/linux-n900/arch/arm/boot/zImage -l -b

seems to boot it, I see kernel messages scrolling, but it reboots
instead of going to the GUI.

> "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!

I had it already :-(. Removed now. I tried running custom kernel, but
then multiboot interfered. I got u-boot installed with help from irc.

Unfortunately, the u-boot can not boot kernel-power, so I'm back to
original kernel without tethering :-(.

> 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/

Can I get away with using  u-boot package in the repositories?

									Pavel
-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ