Install X11 for linux

Kevin Lambert
Does anybody have a package built which I could use to install X11
Tiny210v2 linux 3.0.8 tablet with the zImage built from source?

Reggie
you might need to add a bit more to that question Kevin :D

do you mean you've created your own 3.0.8 kernel from source?  and you want
to install X/X11 on the rootfs?

What are you using as the rootfs?  Debian? qtopia-linux? Ubuntu?  If it's
debian or ubuntu then you should easily be able to use apt-get to install
X/X11, if it's the qtopia-linux image, I'm not entirely sure how it deals
with packages and didn't get into the nitty-gritty of cross-compiling for
qtopia-linux.

Kevin Lambert
I built using the qtopia-linux 3.0.8 source that I downloaded from the
friendarm ftp site for the Tiny210.  Qtopia looks like it will accept ipk
files but the Package Manager wont let me install the x11 ipk for arm that
I found.  I was able to copy the libx11.so file out of the ipk and dropped
that into the root of my application to make it stop complaining about X11.

Reggie
I wasn't aware that there was a qtopia-linux 3.0.8 image, you learn
something new everyday :D

X11 usually isn't that small, there's usually a ton of junk all over the os
that it installs, so I'm not entirely sure what you've got going there but
if it works, great :)

My other thought would be to get something like debian/ubuntu running on it
, you can apt-get anything that you need to install once the first stage is
done and of course small stuff will compile directly on the 210 itself, you
don't have to install a desktop environment of course but there are plenty
of lightweight ones around.  It also makes it a breeze to develop in qemu.

I'd like to see friendlyarm do more with the modern distros as they cut out
a lot of development heartache/headaches and leave developers more time to
develop.

Kevin Lambert
I did look at Ubuntu but the last set of source had a note that the
touchscreen was not supported which made it fairly useless on a tablet. 
Ubuntu would make my life a lot simpler for this...

Reggie
well, the touchscreen drivers are really more of a kernel thing but of
course it requires setting up and the ts drivers weren't in the 3.0.8
sources afaik) however, there is a thread or 2 on the forums that deals
with it, so you might find some information there, perhaps if a few of us
got together between us we can thrash it all out into a a decent 3.0.8
kernel with ubuntu/debian that we might be able to submit back to
friendlyarm.

Kevin Lambert
If I had the time on this project I probably would try to get Ubuntu
working.  Its now whining about not being able to find javax.swing.JFrame
even though JAVA_HOME is set correctly as is the PATH variable.  I wish I
knew what java was looking for to find its jars.

Kevin Lambert
Well I tried installing ubuntu following the directions in
http://armworks.cc/index.php?title=Mini210S_ubuntu_sd onto my tiny210 but
only end up with a white screen so I had to go back to the qtopia based
linux.  I wasnt even able to get anything out the serial ports so Im not
sure what is going on.  What are the other two forums with X11 and/or
Ubuntu info?

Reggie
Hi Kevin, the other forums that you're asking about, it's actually a couple
of posts on THIS forum :-)

I actually wrote the tutorial that you worked from, did you get any console
output from com1 when you booted the SD card? You'll also notice that it
was written for a mini210S, not a tiny210, so you may need to build
yourself a kernel from the tiny210 kernel source code, lastly, which LCD
panel do you have?  You might need to fixup the cmdline in FriendlyArm.ini
to point to the correct LCD.

Kevin Lambert
I didn notice the change but figured that it would be minimal so I used the
zImage I built from the ubuntu source I downloaded from friendlyarm for the
tiny210 and changed the display type in FriendlyArm.ini to the S70 which is
what I am using.  No I didnt see any output on either COM1 or COM2 when
booting.  I had putty setup for 115200 since thats what I saw in
FriendlyArm.ini.

Reggie
115200 is correct.  I would also suggest using the superboot.bin from the
tiny210 dvds.

Kevin Lambert
Well it looks like we are scrapping using linux so Im focusing on Android
(yeah I do get the irony that android is sitting on linux).

Reggie
Kevin, I revisited my SD booting tutorial last night,I may have forgotten
to put a step in, you need to disable the initrd/initramfs stuff in the
kernel config and put noinitrd in the cmdline in FriendlyArm.ini

Reggie
oh wait, that's only if you use the 'Run' option in the friendlyarm.ini.