YOU ARE DOWNLOADING DOCUMENT

Please tick the box to continue:

Transcript
Page 1: LinuxCon Japan 2010 Porting MeeGo to Other devices 20100927

Porting MeeGo to Other devices

Mitsutaka Amano [email protected] / @mitsutaka_amano

MIRACLE LINUX CORPORATION

Page 2: LinuxCon Japan 2010 Porting MeeGo to Other devices 20100927

09/27/10 2

My bio

● Mitsutaka Amano (blog.mitsutaka.org)

● Moblin

● moblin 1.x

– Contributed as a maintainer of Moblin Image Creator.● moblin 2.x

– Localization– Speaking at some events.

● MeeGo

● MeeGo v1.x

– Released the Netbook Japanese edition(v1.0).– Porting to other devices.

Page 3: LinuxCon Japan 2010 Porting MeeGo to Other devices 20100927

09/27/10 3

Agenda

● About the MeeGo

● My activity for MeeGo

● Porting step by step

● Issues, In the future

● Misc. Demo

Page 4: LinuxCon Japan 2010 Porting MeeGo to Other devices 20100927

09/27/10 4

My activity for MeeGo

● How to port MeeGo to other devices● Focused on Nexus One(Google, HTC)

Page 5: LinuxCon Japan 2010 Porting MeeGo to Other devices 20100927

09/27/10 5

About the MeeGo

The new Linux distrobution, community

Headed up by Intel, Maemo by Nokia

Target smartphones, netbooks, In-Vehicle Infortainment, Connected TV, Media Phones

Page 6: LinuxCon Japan 2010 Porting MeeGo to Other devices 20100927

09/27/10 6

Difficulty

● Easy: Supported devices by MeeGo● Normal: Unsupported Netbooks● Hard: OMAP based platforms● Harder: Smartphones● Hardest: Unsupported architecture platforms

Page 7: LinuxCon Japan 2010 Porting MeeGo to Other devices 20100927

09/27/10 7

Step1: How to restore your devices

● Nexus One● Unlock the bootloader via fastboot cmd.

– $ fastboot oem unlock● Copying files to mtdblock from PC via

fastboot cmd.– $ fastboot flash userdata userdata.img– $ fastboot flash boot boot.img– $ fastboot flash system system.img– $ fastboot flash recovery recovery.img

Page 8: LinuxCon Japan 2010 Porting MeeGo to Other devices 20100927

09/27/10 8

Step2: Creating an image

● Boot from microSD● mic2(0.17 or later). MeeGo Image Creator

● --format raw --arch armv7l● Write a raw image to the microSD

Page 9: LinuxCon Japan 2010 Porting MeeGo to Other devices 20100927

09/27/10 9

Step2: Creating an image

● Android kernel 2.6.29● Change the firmware path to “/etc/firmware”● Start with mahimahi_config● Use bcm4329.ko as the wifi driver

Page 10: LinuxCon Japan 2010 Porting MeeGo to Other devices 20100927

09/27/10 10

zImage fastboot

Loading zImage....

Mounting rootfs from/dev/mmcblk0p1....

Executing /sbin/init...

Step3: Boot

● fastboot● Load zImage to devices● ./fastboot -c 'init=/sbin/init rootwait

root=/dev/mmcblk0p1 rootfstype=ext3 rw' boot zImage

Page 11: LinuxCon Japan 2010 Porting MeeGo to Other devices 20100927

09/27/10 11

Step4: Display X Window and the Desktop

● Handset UX(Direct UI)● xorg-x11-fbdev, (xorg-x11-evdev)● mesa-dri-swrast-driver

● Portrait default is refered of aava● /etc/meegotouch/devices.conf

● Software rendering (Too slow)

Page 12: LinuxCon Japan 2010 Porting MeeGo to Other devices 20100927

09/27/10 12

Step5: Merge to the MeeGo kernel

● Working now!● Merge to MeeGo v1.1● Kernel 2.6.35

● ARM MSM is no supported ● [GIT PULL] ARM MSM update for 2.6.35

● No merge

Page 13: LinuxCon Japan 2010 Porting MeeGo to Other devices 20100927

09/27/10 13

Next step: Release

● microSD image and zImage● Kickstart file● MeeGo for NexusOne(MSMQSD) will

released(Snapshots)

Page 14: LinuxCon Japan 2010 Porting MeeGo to Other devices 20100927

09/27/10 14

Issues, In the future

● Hardware acceleration support(EGL)● Peripheral support(Sensors, Multi-touch, H/W

buttons, Telephony stack)● Complete replacement!

● Android => MeeGo :-)● Boot from mtdblock partition

● Support any smartphones. HTC, SonyEricsson, etc

Page 15: LinuxCon Japan 2010 Porting MeeGo to Other devices 20100927

09/27/10 15

Misc.

● Android Debug Bridge(adb)● /system/bin/sh -> /bin/bash

● http://wiki.meego.com/ARM/MSMQSD

Page 16: LinuxCon Japan 2010 Porting MeeGo to Other devices 20100927

09/27/10 16

URLs

MeeGo official page: http://meego.com/

Technical notes, Wiki page: http://wiki.meego.com/

MeeGo Japanese site: http://meego.jp/

MeeGo Users Group: http://meego-users.jp/

Bugzilla: http://bugzilla.meego.com/

Source code repository: http://meego.gitorious.org/

Page 17: LinuxCon Japan 2010 Porting MeeGo to Other devices 20100927

09/27/10 17

Demo

Page 18: LinuxCon Japan 2010 Porting MeeGo to Other devices 20100927

09/27/10 18

Q&A

Page 19: LinuxCon Japan 2010 Porting MeeGo to Other devices 20100927

09/27/10 19

Thank you!


Related Documents