Can we natively run Ubuntu on the Desire?

executivul

Member
Oct 3, 2007
14
0
0
Hello,
I'm a recent Android user and I'm fascinated by this phone, much over iPhone/iOS.
I'm an old Linux dog and I was wondering about the Desire running Linux.
I've seen recently somebody started Ubuntu on the HD2 by modifying the bootloader (haret), we have the Linux kernel booting natively on the Desire, so instead of an Android image can't we just boot a linux image?
The vnc running solution is not quite what I have in mind. I want to run Ubuntu natively on the hardware so I have a few questions:
-does the desire kernel support KMS? or should I try to compile an xorg driver for the snapdragon video chipset?
-do the other drivers from the kernel can be accessed as simply as in linux? I mean in linux every driver I need is compiled in the kernel, so the desire kernel should already have all the necessary drivers in it, for wifi, touchscreen, etc, just for the sistem to use them. So can a linux use them like android does?
-r/w access I think can be bypassed as long as we boot from the sd card, I've seen the solution on this forum, correct me if I'm wrong.
-I've developed a few branch distros based on Ubuntu for my work, but all of them are x86/x64 based, so it's just package customisations, here ve have a non x86 CPU so it must all be cross-compiled, i know there are arm repos for Ubuntu, are they snapdragon compatible?

I know this area is Android development and not Ubuntu development but here are all the guys that really know something about the inners of the system.

Please pardon my English, I did my best.
 

abc27

Senior Member
Apr 16, 2010
785
137
0
I tried to get Debian to boot on the Desire and it turned to be impossible to boot. If you can get Debian to boot than naturally Ubuntu would boot without any issues.

I was using the VNC method though.
 

judison

Senior Member
May 18, 2010
136
28
0
Sao Paulo
www.judison.org
Well,

you can't install Ubuntu right away...
but you can make a fairly usable Linux modifying some of the available ROMs around.

The most difficulty thing is the X11 system, I don't know if there are any driver...
if android use Framebuffer, maybe you can run X11 over FB.

the rest all can be arranged... removing dalvik & core android... add basic gnome stuff, &c...

if you find some solution for dual boot and want to make a "normal" linux for HTC Desire, I can help you in this :p for I don't want to be flashing a custom image, then my normal "daily-use" android every now and then :D
 

abc27

Senior Member
Apr 16, 2010
785
137
0
It would be brilliant if we could get Maemo running on the Desire. Considering it is after all just Debian linux it should not be an impossible task. The only difficulty is drivers but that will come with time.
 

executivul

Member
Oct 3, 2007
14
0
0
These days I'm busy with my exams,
I started the thread earlier than I can get to work for data/ideas collecting.

Now for what I plan on doing:
-boot a kernel and load the initial files from the sd card instead of internal flash:
h**p://forum.xda-developers.com/showthread.php?t=689911
-put a simple init script to show "hello world" and drop you to a bash prompt,
from there is Linux installing/debugging

The drivers should be provided by the kernel: /dev/eth0 or /dev/wifi0 for wifi, /dev/fb0 framebuffer, etc etc etc.