maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Alternatives (https://talk.maemo.org/forumdisplay.php?f=36)
-   -   Introducing ubiboot N9 (multiboot OS loader) (https://talk.maemo.org/showthread.php?t=89345)

saleki 2013-08-16 22:30

I forgot to mention that I'm using Ubuntu as my only os. I'm back on normal boot now just to get rid of Nemo (got 16G N9). It would be great to write guide for removing Nemo and reparation. Setting up telnet on Ubuntu 13.04 to connect wasn't easy at all.

afropanda 2013-08-23 05:25

Re: Introducing ubiboot N9 (multiboot OS loader)
 
I've installed ubiboot but when i chose Nemo it only shows black screen,nitdroid and meego works

peterleinchen 2013-08-23 06:02

Re: Introducing ubiboot N9 (multiboot OS loader)
 
Quote:

Originally Posted by afropanda (Post 1368840)
I've installed ubiboot but when i chose Nemo it only shows black screen,nitdroid and meego works

Afair this is an often seen bug (due to ...), but only on first boot.
Even the screen is black, you will be able to ssh into nemo with USB networking.

juiceme 2013-08-23 06:30

Re: Introducing ubiboot N9 (multiboot OS loader)
 
Also it depends on what was the Nemo filesystem image you installed :)
Some images work immediately correct, some need a second boot to show up the UI.

And just as peterleinchen says, if the screen is dark just stick in the USB connector, set up your USB network connection as 192.168.2.14/24 and you will be able to ssh to the Nemo as root on 192.168.2.15. From the console you can then say "reboot" and next boot you should have the UI show up correctly.

afropanda 2013-08-23 06:37

Re: Introducing ubiboot N9 (multiboot OS loader)
 
Quote:

Originally Posted by juiceme (Post 1368843)
Also it depends on what was the Nemo filesystem image you installed :)
Some images work immediately correct, some need a second boot to show up the UI.

And just as peterleinchen says, if the screen is dark just stick in the USB connector, set up your USB network connection as 192.168.2.14/24 and you will be able to ssh to the Nemo as root on 192.168.2.15. From the console you can then say "reboot" and next boot you should have the UI show up correctly.

how will i do this

juiceme 2013-08-23 06:44

Re: Introducing ubiboot N9 (multiboot OS loader)
 
Here is a nice hack needed for ubiboot if you want to experiment with Wayland on Nemomobile.

Background:
When you use Wayland instead of X11, the default framebuffer configuration of N9 is not correct. (that's 3 framebuffers, each sized 2MB)
Instead you would need to have one larger FB with 6MB of memory allocated to it.
The solution to this is to add kernel command line parameters "vram=6m omapfb.vram=0:6M", but the curren implementation of ubiboot has automatically parsed command line with no option to add your own parameters to it.

Solution:
You can get around this by injecting the needed parameters as sedscript arguments to the comman line mangler.
In ubiboot.conf there's the following line: G_NEMO_INITSCRIPT="\/sbin\/init"
You need to change that to G_NEMO_INITSCRIPT="\/sbin\/init\ vram\=6m\ omapfb.vram\=0\:6M"

In the next ubiboot release there will be a feature for appending your own command line arguments, but meanwhile you can use this hack to experiment with Wayland :D

juiceme 2013-08-23 06:55

Re: Introducing ubiboot N9 (multiboot OS loader)
 
Quote:

Originally Posted by afropanda (Post 1368847)
how will i do this

You mean, how to set up the USB networking?

If you use Linux, when you connect N9 to a computer in SDK mode most propably your device is recognized as network device and an USB ethernet device is created in the kernel. (which shows up as usb0: device in ifconfig)
In Nemo the SDK mode is default, as opposed to in Harmattan where by default you are asked whether to use USB memory mode or USB SDK mode.

The difference is that in Harmattan when you connect the device in SDK mode, it will launch up /usr/sbin/dnsmasq with DHCP offer, giving the address to your PC automatically.
With Nemo, you have to do this manually.

You can either set it up in the Network manager, or put the following lines in your /etc/network/interfaces:
Code:

auto usb0
iface usb0 inet static
address 192.168.2.14
netmask 255.255.255.0

If you are using some Windows variant, you propably need to install NDIS drivers and do some other dirty windows magic to make it work :)

afropanda 2013-08-23 06:56

Re: Introducing ubiboot N9 (multiboot OS loader)
 
Quote:

Originally Posted by juiceme (Post 1368848)
Here is a nice hack needed for ubiboot if you want to experiment with Wayland on Nemomobile.

Background:
When you use Wayland instead of X11, the default framebuffer configuration of N9 is not correct. (that's 3 framebuffers, each sized 2MB)
Instead you would need to have one larger FB with 6MB of memory allocated to it.
The solution to this is to add kernel command line parameters "vram=6m omapfb.vram=0:6M", but the curren implementation of ubiboot has automatically parsed command line with no option to add your own parameters to it.

Solution:
You can get around this by injecting the needed parameters as sedscript arguments to the comman line mangler.
In ubiboot.conf there's the following line: G_NEMO_INITSCRIPT="\/sbin\/init"
You need to change that to G_NEMO_INITSCRIPT="\/sbin\/init\ vram\=6m\ omapfb.vram\=0\:6M"

In the next ubiboot release there will be a feature for appending your own command line arguments, but meanwhile you can use this hack to experiment with Wayland :D

Sir is there other explanation/way for a person like me can understand,im not one of those computer geeks:(

afropanda 2013-08-23 06:59

Re: Introducing ubiboot N9 (multiboot OS loader)
 
Quote:

Originally Posted by juiceme (Post 1368854)
You mean, how to set up the USB networking?

If you use Linux, when you connect N9 to a computer in SDK mode most propably your device is recognized as network device and an USB ethernet device is created in the kernel. (which shows up as usb0: device in ifconfig)
In Nemo the SDK mode is default, as opposed to in Harmattan where by default you are asked whether to use USB memory mode or USB SDK mode.

The difference is that in Harmattan when you connect the device in SDK mode, it will launch up /usr/sbin/dnsmasq with DHCP offer, giving the address to your PC automatically.
With Nemo, you have to do this manually.

You can either set it up in the Network manager, or put the following lines in your /etc/network/interfaces:
Code:

auto usb0
iface usb0 inet static
address 192.168.2.14
netmask 255.255.255.0

If you are using some Windows variant, you propably need to install NDIS drivers and do some other dirty windows magic to make it work :)

can this be done in terminal in meego?

juiceme 2013-08-23 07:10

Re: Introducing ubiboot N9 (multiboot OS loader)
 
Quote:

Originally Posted by afropanda (Post 1368856)
Sir is there other explanation/way for a person like me can understand,im not one of those computer geeks:(

Hmm. okay, I will try to explain...

Wayland is a new window manager, it's a development to (evantually) replace X11 in unix/linux systems.
X11 is really old piece of software, it was new when I learned Unix and you need to belive that was long long time ago :D
X has been extended way beyond it's architechtural limits, and it is time to get a newly designed, sleeker system.

Now, currently Nemo and Harmattan both use X11. That's basically what draws up your screen in the device and does a lot of other things behind the scenes too.

Nemo is currently swithcing to use Wayland, which means a lot of things need to be changed. This is still experimental, there are no ready-made images to use, you need to tweak your device a lot to make it work.

Eventually (I hope) it will be possible to install Nemo with full Wayland support and all applications just as you install it now, as a FS image but that will take some time still.


All times are GMT. The time now is 16:41.

vBulletin® Version 3.8.8