maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Nokia N800 (https://talk.maemo.org/forumdisplay.php?f=25)
-   -   boot from sdcard with a kernel that support screen rotation [and more général boot..] (https://talk.maemo.org/showthread.php?t=26886)

jlmalet 2009-02-15 17:13

boot from sdcard with a kernel that support screen rotation [and more général boot..]
 
Hi all,
maybe it has been allready discussed somewhere but searching with sdcard and rotation keywords didn't gave any usefull result
so I need : a boot from sdcard (internal slot) and a screen rotation
I managed to boot from sdcard (basically the script just create a kernel image with an initramfs that allow choose root device and flash all on the n800 boot partition)
when I want to activate rotation, the tutorial says to flash again the device :( so the previous kernel with initramfs that allow to boot from sdcard will be... overwritten.... so I can't have both at the same time...
  1. isn't it possible to use the boot partition of n800 to store a real bootloader like lilo or grub?
  2. if not why don't provide a kernel + initramfs that will do a kexec to the /boot/kernel of the root device (then allowing to update the kernel without flashing, just put a new image and boot!)
  3. how can I both sdcard boot and rotation support?
thanks and regards,
JLM

GeneralAntilles 2009-02-15 17:38

Re: boot from sdcard with a kernel that support screen rotation [and more général boo
 
http://wiki.maemo.org/Booting_from_a_flash_card
http://wiki.maemo.org/Rotation

jlmalet 2009-02-15 18:07

Re: boot from sdcard with a kernel that support screen rotation [and more général boo
 
yes I allready read both of those....
just for your information both require to flash your n800.... both will flash with different kernel and initramfs, then when you activate rotation you loose boot from sdcard, and when you activate boot from sdcard you loos rotation.... endless loop

Bundyo 2009-02-15 18:28

Re: boot from sdcard with a kernel that support screen rotation [and more général boo
 
The only things you need for rotation are kernel and X.

jlmalet 2009-02-15 18:30

Re: boot from sdcard with a kernel that support screen rotation [and more général boo
 
yes but where can I find this kernel? how can I use this kernel in the booting from sdcard tutorial?
thanks

fanoush 2009-02-15 18:36

Re: boot from sdcard with a kernel that support screen rotation [and more général boo
 
There is no initramfs as a part of kernel so boot from SD is not directly related to kernel. For bootmenu you reflash jffs2 partiton called initfs. These are two separate matters.

RogerS 2009-02-15 20:12

Re: boot from sdcard with a kernel that support screen rotation [and more général boo
 
I'm with JLM -- I want no ambiguity before altering my system this way. (Or: these ways.)

Three more-experienced users indicate there is no conflict between these two goals.

But when I read the two wiki pages it's not at all clear to me if I need to do one procedure before the other, or make any changes in one of them to account for the other.

If not, could someone just say, "Do [ rotation | flash-card-boot] first, then do the other."

If some step needs to be changed or omitted if you're doing both, could that be pointed out?

I know that I would appreciate such specificity.

Thanks,
Roger

BrentDC 2009-02-15 20:32

Re: boot from sdcard with a kernel that support screen rotation [and more général boo
 
I'm pretty sure just about everyone in this thread has more Linux knowledge than I, but...

Here is my layman's understanding:

Rotation == Kernel
Dual Booting == initfs

Rotation <==> Dual Booting.

So, do them in whatever order you like, I don't think they effect each other. I would try Dual Booting first then Rotation, though.

jlmalet 2009-02-15 21:42

Re: boot from sdcard with a kernel that support screen rotation [and more général boo
 
ok so I'm trying it, since I already have a sdcard boot n800.... I'm just trying the rotate tutorial

I get the following error
couldn't find package osso-software-version-rx34-unlocked

I ignored and tried to go further (yes I know this is bad to ignore errors but well.... who never try never knows)

then I get the error :
kernel-diablo-flasher depend on flash-and-reboot
package flash-and-reboot is not installed
xserver-xomap depend on libhall (>=0.5.10); however version of libhall on system is 0.5.10~git20071003-lossol

any idea?
thanks
JLM

GeneralAntilles 2009-02-15 21:47

Re: boot from sdcard with a kernel that support screen rotation [and more général boo
 
Quote:

Originally Posted by RogerS (Post 264701)
But when I read the two wiki pages it's not at all clear to me if I need to do one procedure before the other, or make any changes in one of them to account for the other.

There's no indication of their relationship because there is no relationship. :\

jlmalet 2009-02-15 22:31

Re: boot from sdcard with a kernel that support screen rotation [and more général boo
 
Quote:

Originally Posted by jlmalet (Post 264716)
ok so I'm trying it, since I already have a sdcard boot n800.... I'm just trying the rotate tutorial

I get the following error
couldn't find package osso-software-version-rx34-unlocked

I ignored and tried to go further (yes I know this is bad to ignore errors but well.... who never try never knows)

then I get the error :
kernel-diablo-flasher depend on flash-and-reboot
package flash-and-reboot is not installed
xserver-xomap depend on libhall (>=0.5.10); however version of libhall on system is 0.5.10~git20071003-lossol

any idea?
thanks
JLM

note : extra-devels catalog is activated...

jlmalet 2009-02-18 20:52

Re: boot from sdcard with a kernel that support screen rotation [and more général boo
 
hi all,
since I had no more reply I just tried to force the install.... and well it worked appart that now if I use apt-get it complains that it has a missing dependency on flash-and-reboot and that it don't know how to install it.... and this is really trouble maker because I can't update the n800.... so does anyone know what is the repository that I shall add to have this? this will be greatly appreciated
thanks in advance

so I confirm that you can follow both tutorial in any way and that you can have both feature activated, however I recommend doing sdcard boot first
best regards
JLM


All times are GMT. The time now is 00:34.

vBulletin® Version 3.8.8