ts-7000
[Top] [All Lists]

Re: [ts-7000] Re: Qt/Embedded - almost there!

To:
Subject: Re: [ts-7000] Re: Qt/Embedded - almost there!
From: Scott Zimmerman <>
Date: Mon, 17 Aug 2009 13:06:31 -0700


Thanks Doug,

I definitely want to go with option 1.  My application doesn't need the Debian.  I just need enough to run Qt fullscreen.  I was actually using ratpoison on my 7390 anyway.  I have only ever been able to make the 512mbsd-latest.dd file into a bootable SD card.  I see the other images up there for tslinux, but could never get any of them to boot.  You obviously can't just dd them onto a card and there don't seem to be any instructions that show me how to make one.  I really just want something that boots to a shell prompt and then be able to run my application from there.

This brings me to one last question - does the Qt implementation I just built require X11 to be installed on the 7390 or is it complete?  If it needs X, then it seems like I'll have to go down the road the Dunge2 is going to build an eabi version of X11.

Thanks again for all your help.  I'm trying to document all this so I can post it back to the list.  I'd love to post something about the difference between running the 512mbsd images as well as all the tarballs required to run an EABI root with Qt.  I think that would be really useful.

...Zz

On Mon, Aug 17, 2009 at 12:44 PM, Doug <> wrote:
 

--- In ts-7000%40yahoogroups.com, Scott Zimmerman <> wrote:
>
> Okay,
>
> So I've been able to use my nice EABI cross compiler to build all of Qt
> including tslib. Everything looks good and I can even cross compile a
> simple example using the Ubuntu version of qmake and then cleaning up the
> makefile it produces. When I look at the executable, it's definitely ELF.
> But when I copy the executable to my 7390, I get a "No such file or
> directory" error when I try to run it.

Hey Scott,

This is what I was talking about when I said you need an EABI root file system :-) It's because you're running an OABI root file system, so when you try to run the executable, it's getting that error because (I believe) it can't find the right ld-linux and libc and all that stuff. So yeah, it's because you need an EABI root file system with glibc 2.9.

You have two options at this point:

1) You can replace the Debian glibc libraries you're currently using on the 7390 with the ones in your cross toolchain's sys-root folder (so this will replace the Debian libc with your new EABI version). This will cause all the Debian stuff to quit working because they were linked against the Debian OABI root. I think BusyBox (fastboot) will still work though, because it's statically linked. But if you tried to boot into the full Debian boot it wouldn't work.

2) Make a different cross toolchain that matches the 7390's libraries and compile tslib and Qt using it. In that case you would have to choose a glibc version that matches what's on your TS-7390 root file system--e.g. follow the cross compiler instructions from before, but choose glibc 2.3.6 and disable EABI. This won't give you any of the benefits of the faster EABI stuff.

I think TS has a 7390 EABI root file system dd image, but it probably uses an older version of glibc. If you want to go that route, you'll probably need to re-make your tool chain to use the appropriate version of glibc.




__._,_.___


Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: =Email Delivery: Digest | m("yahoogroups.com?subject","ts-7000-fullfeatured");=Change Delivery Format: Fully Featured">Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | =Unsubscribe

__,_._,___
<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU