![]() |
#1 |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 423
Karma: 1517132
Join Date: Jun 2006
Location: Madrid, Spain
Device: quaderno, remarkable2, yotaphone2, prs950, iliad, onhandpc, newton
|
![]()
I've done some tests using scratchbox and iliad executables work in it!
Scratchbox is a cross-comiling development environment for linux that uses qemu (or real hardware) to execute the "alien" executables (arm in our case) but native tools for cross-compiling and execute the scripts. It's used for maemo development (the nokia 770 webpad). Using the atached script to execute iliad binaries (edit the script to change the username so that it matches the one of your machine), I was able to execute xpdf and xebreader. Attached is a screenshot of this nice moment (executing iliad's xpdf in scrtachbox) ![]() It's used as in: [sbox-armgcc401libc232: ~] > ./iliad.sh usr/bin/xpdf launch4-a5.pdf |
![]() |
![]() |
![]() |
#2 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 607
Karma: 2157
Join Date: Oct 2005
Device: NCR3125, Nokia 770,...
|
Of course, you must install scratchbox :-)
http://www.scratchbox.org/download/ http://www.scratchbox.org/download/f...s/1.0/tarball/ This would provide activity enough while you stay in the "paid not shipped" limbo. Last edited by arivero; 07-21-2006 at 08:06 AM. |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Uebermensch
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,583
Karma: 1094606
Join Date: Jul 2003
Location: Italy
Device: Kindle
|
If you run Debian or Ubuntu, you can also install Scratchbox this way:
Add the following to /etc/apt/sources.list: deb http://scratchbox.org/debian/ ./ Then: $ apt-get update $ apt-get install scratchbox-core scratchbox-devkit-debian \ scratchbox-devkit-doctools scratchbox-devkit-perl scratchbox-libs \ scratchbox-toolchain-arm-gcc3.3-glibc2.3 \ scratchbox-toolchain-i686-gcc3.3-glibc2.3 You need to set up your user with Scratchbox. Type the following: $ sudo /scratchbox/sbin/sbox_adduser $USER Restart your session in order for the group changes to take affect. Once you're back in, log in to your scratchbox: $ /scratchbox/login |
![]() |
![]() |
![]() |
#4 | |
Uebermensch
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,583
Karma: 1094606
Join Date: Jul 2003
Location: Italy
Device: Kindle
|
Quote:
|
|
![]() |
![]() |
![]() |
#5 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 607
Karma: 2157
Join Date: Oct 2005
Device: NCR3125, Nokia 770,...
|
It is a technicality. I suppose the "paid" status qualifies for begging :-) but not all of the content is GPL'd so it can not be distributed.
|
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Uebermensch
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,583
Karma: 1094606
Join Date: Jul 2003
Location: Italy
Device: Kindle
|
*grin*
Is it possible that you attach a list of all files on the iLiad? Like, ls / -Rla > content.txt |
![]() |
![]() |
![]() |
#7 |
Addict
![]() ![]() Posts: 302
Karma: 116
Join Date: May 2006
Device: Iliad, dude!
|
I can't get it to run, it always complains about a missing cpu transparency type. I installed qemu, including qemu-arm. Alas, the list of cpu transparency types is empty in sb-menu. Any hints what I could do?
|
![]() |
![]() |
![]() |
#8 | |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 423
Karma: 1517132
Join Date: Jun 2006
Location: Madrid, Spain
Device: quaderno, remarkable2, yotaphone2, prs950, iliad, onhandpc, newton
|
Quote:
$ dpkg --get-selections | grep "scratch\|qemu\|bios" bochsbios install qemu install scratchbox-core install scratchbox-devkit-cputransp install scratchbox-devkit-debian install scratchbox-devkit-perl install scratchbox-libs install scratchbox-toolchain-arm-gcc4.01-glibc2.3 install scratchbox-toolchain-host-gcc install vgabios install $ cat /etc/debian_version 3.1 $ grep scratch /etc/apt/sources.list # scratchbox deb http://scratchbox.org/debian/ ./ Here are the instructions I used as a guide for installing scratchbox in this machine: http://www.scratchbox.org/documentat...nstalldoc.html I'm right now preparing a toolchain for scratchbox using gcc 2.4.2 and glibc 2.3.3 (hope it's ok for the iliad, as crosstool didn't had glibc 2.3.2 in the recommended configurations for arm target). |
|
![]() |
![]() |
![]() |
#9 |
Addict
![]() ![]() Posts: 302
Karma: 116
Join Date: May 2006
Device: Iliad, dude!
|
Hey, it works now. I didn't install scratchbox-devkit-cputransp. Thanks!
|
![]() |
![]() |
![]() |
#10 |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 423
Karma: 1517132
Join Date: Jun 2006
Location: Madrid, Spain
Device: quaderno, remarkable2, yotaphone2, prs950, iliad, onhandpc, newton
|
More news.
I've finished compiling the gcc 3.4 and libc 2.3.3 and setup a new target in scratchbox using that new toolchain. Then, copied the contents of the iliad (yay, now I've mine :-b) to that new scrtachbox user. I've noticed two things: 1. The libc of the iliad is a 2.3.4, although it's name is 2.3.3 (but hope that the binaries I compile using this new toolchain work) 2. Some of the programs in the iliad use BOTH the X server and the framebuffer directly (that is, /dev/fb0). An example of this is the xebreader and scribble. Attached is a screenshot using pageBar and xpdf executed in the scratchbox with the DISPLAY exported to a Xnest in my desktop :-). And it works (clicking in the pagebar you go to other pages), ect. |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
iLiad Scratchbox VNC Server Usage | BTolputt | iRex Developer's Corner | 2 | 02-02-2009 01:57 AM |
Building Windows Binaries | itimpi | Calibre | 4 | 01-30-2009 01:22 PM |
iLiad colinux + scratchbox ? | ericshliao | iRex Developer's Corner | 2 | 01-28-2009 09:18 AM |
iLiad Integration of ScratchBox and iRex Official SDK | ericshliao | iRex Developer's Corner | 3 | 10-09-2008 03:51 PM |
iLiad Scratchbox and app testing | Mythago | iRex Developer's Corner | 2 | 03-28-2007 01:27 PM |