View Single Post
Old 08-04-2016, 03:23 AM   #22
Hanspeter
Connoisseur
Hanspeter doesn't litterHanspeter doesn't litter
 
Posts: 77
Karma: 150
Join Date: Jul 2014
Device: Kindel PW1, Voyager
Quote:
Originally Posted by knc1 View Post
Things have changed, this is not as difficult as it may seem.

You have a fairly recent Linux distribution (Ubuntu did you say?).
You will want a flavor that is running the same or at least nearly the same kernel version as the newer touchscreen devices (3.0.x).

Install full binfmt_misc support (which should include qemu-static).

Now you can simply execute any arm binary on your Intel/PC.

Then install an armel (Debian/Jessie is a good match for recent touchscreen devices) distribution in your directory tree.

Add qemu-static to that tree.

Now when you chroot into that directory, everything will 'just work' and you can do native builds for the Kindles.

There are lots and lots of 'HowTo' documents on the 'net for the above process.
I wasn't aware of that approach. You are right my last cross compile is about 8 years ago. It was for the VDR project on the Siemens M740AV DVBT/SAT receiver http://open7x0.org/

I understood what the idea of the new setup is and I like it. Will have to dig into it and document my results. So I can add it to the Wiki when I find the time later on.
Because that was the first place, after the forum, where I tried to find information or a how to about compiling code for the kindle. But this will take some time as my spare time for this projects is limited.

HaPe
Hanspeter is offline   Reply With Quote