(→On Ubuntu boot system) |
(→On Ubuntu boot system: More details about after chroot.) |
||
| Line 63: | Line 63: | ||
The shell prompt will change. Welcome to MeeGo! | The shell prompt will change. Welcome to MeeGo! | ||
| + | * Note that you can change to any other virtual desktop (say via Ctrl-Alt-F4) and login into Ubuntu again. Since MeeGo's filesystem is mounted on top of Ubuntu's and they are running the same kernel, it's possible to copy binaries missing from MeeGo from Ubuntu. For example, I transferred working copies of "lsof" and "locate" that way. | ||
| + | |||
| + | === On MeeGo chroot === | ||
| + | |||
| + | * Verify that you are running in MeeGo userland by trying, for example, "which uxlaunch" or something similar for a binary that Ubuntu doesn't include. | ||
| + | * Launch GUI with | ||
| + | startx& | ||
| + | On my system, the command took me to virtual desktop 8. To get back to the text console, type Ctrl-Alt-F2 again. You may freely change among Ubuntu text console, MeeGo text console and MeeGo GUI. | ||
| + | * On the MeeGo GUI, you should get an xterm popping up under the ancient twm window manager. These are X failsafe defaults. It should be possible to start gdm instead, but I haven't tried it. | ||
| + | * Note that the graphical display where the X server runs is :0.0 and is unrelated to the number of the desktop where the GUI is running: | ||
| + | alison@ubuntu-installer:~$ echo $DISPLAY | ||
| + | :0.0 | ||
== Future plans == | == Future plans == | ||
Contents |
1-minute video at Flickr showing 3D hardware acceleration
The video shows the OGLES "Coverflow" demo from Imagination Technologies running on the SGX540 GPU which is part of the OMAP 4430 processor that powers the Pandaboard. Coverflow requires 3D hardware acceleration, so the video shows that the PVR closed-source drivers from Imagination and TI's open source Xorg shared-object libraries work with the MeeGo userland. Just to show that the platform really is MeeGo, I'm running the Handset UX's duihome alongside the graphics demo. OpenVG, the 2D hardware-accelerated graphics suite, also works fine on Panda-MeeGo.
The demo uses the kernel and drivers from the OMAP 4 image of Ubuntu 10.10. The Ubuntu image is installed on a microSD card using TI's instructions.
MeeGo was built using this kickstart file and the 1.1.80 snapshot (just because I had that image lying around the disk) and installed on a generic Kingston 16 GB USB stick using standard methods:
[alison@bonnet]$ dmesg| grep sd [789217.011903]$ sd 33:0:0:0: [sdc] Attached SCSI removable disk [alison@bonnet]$ mkdir -p /media/meego_usb [alison@bonnet]$ sudo umount /media/meego_usb [alison@bonnet]$ sudo mkfs.ext3 -L meego_usb /dev/sdc1 [alison@bonnet]$ sudo cp -rfp meego-panda-rootfs-morepkgs/* /media/meego_usb [alison@bonnet]$ sudo mount -t ext3 /dev/sdc1 /media/meego_usb [alison@bonnet]$ ls /media/meego_usb \/ boot/ etc/ lib/ media/ opt/ root/ srv/ tmp/ var/ bin/ dev/ home/ lost+found/ mnt/ proc/ sbin/ sys/ usr/ [alison@bonnet]$
Note that the image is not bootable. It doesn't need to be for the chroot hack to work.
ps axl | grep gdm
Locate the PIDs of gdm-binary and gdm-simple-slave and kill them:
kill -TERM <gdm-binary-pid> kill -TERM <gdm-simple-slave-pid>
If you type Ctrl-Alt-F7 to return to the workspace where Ubuntu was running X and gdm-greeter, you should now see a blank screen. Type
ps axl | grep gdm
and
ps axl | grep X
just to make sure.
chroot /media/meego_usb /bin/bash
The shell prompt will change. Welcome to MeeGo!
startx&
On my system, the command took me to virtual desktop 8. To get back to the text console, type Ctrl-Alt-F2 again. You may freely change among Ubuntu text console, MeeGo text console and MeeGo GUI.
alison@ubuntu-installer:~$ echo $DISPLAY :0.0