07-25-2006, 10:21 AM | #1 |
Evangelist
Posts: 423
Karma: 1517132
Join Date: Jun 2006
Location: Madrid, Spain
Device: quaderno, remarkable2, yotaphone2, prs950, iliad, onhandpc, newton
|
How-to: build a toolchain for the iliad using crosstool
For more information on building a toolchain for the iliad using crosstool, see the wiki page (it's more detailed than this description):
Mobileread Wiki: Notes about building a toolchain for the iliad using crosstool Original post follows... Hi all! I've built a toolchain for the iliad using crosstool (for using it with scratchbox, but it also works without it). Here are the instructions (tested on Debian Sarge): 1. Untar the attached file in the home of your user (it's a tar.gz despite the .zip extension -- the .zip was a workaround to be able to upload the file). It should create a crosstool subdirectory 2. Download crosstool 0.42 (crosstool-0.42.tar.gz) from http://www.kegel.com/crosstool/crosstool-0.42.tar.gz to the crosstool subdirectory and unpack it there. You should have now a lot of files in ~/crosstool/crosstool-0.42/ 3. cd ~/crosstool/crosstool-0.42/ 4. cp ../demo-iliad.sh . 5. Edit demo-iliad.sh and change RESULT_TOP to suit your tastes 6. Execute the following ". ../prepare.sh" just to be sure there is no LD_LIBRARY_PATH set 7. Start compiling the new toolchain with "./demo-iliad.sh" 8. Wait a lot of time while the toolchain builds 9. That's all, you should have your new toolchain in the specified RESULT_TOP directory. Notes: 1. The libc is built against linux-2.4.19-rmk7-pxa2, but not linux-2.4.19-rmk7-pxa2-irex as irex hasn't published the patch yet. 2. The libc used is 2.3.3, but the iliad has 2.3.4 with the name renamed to 2.3.3; executables built with this toolchain should work in the iliad, but the executables in the iliad doesn't like the libc of the toolchain (no problem, but you should know it, just if a problem arises...) Have fun! Last edited by Antartica; 09-20-2008 at 09:08 AM. |
03-18-2007, 03:24 PM | #2 |
Evangelist
Posts: 423
Karma: 1517132
Join Date: Jun 2006
Location: Madrid, Spain
Device: quaderno, remarkable2, yotaphone2, prs950, iliad, onhandpc, newton
|
I'm preparing the instructions for building the toolchain from scrtach, aimed at iliad firmware 2.9
The "work in progress" wiki page is here: Notes about building a toolchain for the iliad using crosstool Any needed files will be attached to this post O:-). |
Advert | |
|
03-18-2007, 03:50 PM | #3 |
Groupie
Posts: 197
Karma: 16
Join Date: Apr 2006
Device: irex iliad, uk Kindle gen3
|
maybe someone could make a vmware (vmplayer is free) image with the crosscompiler already setup
|
03-19-2007, 05:07 AM | #4 | |
Fully Converged
Posts: 18,163
Karma: 14021202
Join Date: Oct 2002
Location: Switzerland
Device: Too many to count here.
|
Quote:
PS: We could also host the vmware image if it's kept to a minimum size. |
|
03-19-2007, 06:39 AM | #5 | |
Addicted to Porting
Posts: 1,697
Karma: 7194
Join Date: Oct 2006
Location: Indianapolis, IN
Device: iRex iLiad, Nokia 770, Samsung i760
|
Quote:
|
|
Advert | |
|
03-19-2007, 06:45 AM | #6 | |
Fully Converged
Posts: 18,163
Karma: 14021202
Join Date: Oct 2002
Location: Switzerland
Device: Too many to count here.
|
Quote:
|
|
03-19-2007, 06:54 AM | #7 |
Groupie
Posts: 197
Karma: 16
Join Date: Apr 2006
Device: irex iliad, uk Kindle gen3
|
someone made a 121MB image based off DSL (Damn small linux) for zaurus development.
no idea if this is compatible or just an example of how small you can make a build system. http://kopsisengineering.com/kopsis/SharpZaurusSdkDsl |
03-19-2007, 07:22 AM | #8 | ||
Pac-Man caught my iLiad.
Posts: 807
Karma: 3595
Join Date: Apr 2006
Location: Germany; next to Baltic Sea
Device: Boox Max Lumi, iRex iLiad (RIP)
|
Quote:
Quote:
[Edit:] Both sites don't have a waiting time like rapidshare after a download. It's free to up~ & download. Last edited by yokos; 03-19-2007 at 07:25 AM. |
||
03-19-2007, 07:54 AM | #9 | |
Übernerd
Posts: 238
Karma: 74
Join Date: Jun 2006
Location: Germany
Device: iRex iLiad
|
Quote:
with some sort of compression you should get some reasonable file size. (given that you can be able to fit a default ubuntu install into < 800 MB, example: http://www.vmware.com/vmtn/appliances/directory/693) |
|
03-19-2007, 08:22 AM | #10 | |
Addicted to Porting
Posts: 1,697
Karma: 7194
Join Date: Oct 2006
Location: Indianapolis, IN
Device: iRex iLiad, Nokia 770, Samsung i760
|
Quote:
|
|
03-19-2007, 02:34 PM | #11 | |
iLiad fan
Posts: 210
Karma: 3864
Join Date: Oct 2006
Device: iRex iLiad
|
Quote:
Anyway, if hosting is a big problem I can host it at home (I have ASDL2+) or at work (2Mib/s outgoing optical thingy), should be more than enough. |
|
03-19-2007, 02:45 PM | #12 |
Fully Converged
Posts: 18,163
Karma: 14021202
Join Date: Oct 2002
Location: Switzerland
Device: Too many to count here.
|
Sounds good. We would definitely store it @ MR as well but it would be necessary to find backup download sites.
|
03-19-2007, 05:25 PM | #13 | |
iLiad fan
Posts: 210
Karma: 3864
Join Date: Oct 2006
Device: iRex iLiad
|
Quote:
|
|
03-20-2007, 04:15 AM | #14 |
Addict
Posts: 261
Karma: 156
Join Date: Jul 2006
Device: iliad
|
my hoster recently offered me unlimited traffic - so i'd also love to donate a backup server.
|
03-20-2007, 04:31 AM | #15 |
Übernerd
Posts: 238
Karma: 74
Join Date: Jun 2006
Location: Germany
Device: iRex iLiad
|
what about this?
the download is not so nice, but mostly you get a steady connection between 70 and 100kb/s. and be warned, i have my Opera fed with some up2date adblocker list, so I can't see ads that may or may not be there. http://www.gigeshare.com/ |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
iLiad How to build iPDF with toolchain? | ericshliao | iRex Developer's Corner | 2 | 01-23-2008 11:15 AM |
iLiad now in the wiki: iliad unofficial toolchain | Antartica | iRex Developer's Corner | 22 | 12-26-2007 05:27 AM |
iLiad Compiling iLiad toolchain for MacOSX | Mike Kostousov | iRex Developer's Corner | 3 | 09-20-2007 11:54 PM |
iLiad iLiad cross-compiler toolchain available from iRex | Matthijs | iRex Developer's Corner | 16 | 10-29-2006 02:25 PM |
iLiad toolchain for your iLiad on your iLiad | scotty1024 | iRex Developer's Corner | 1 | 10-23-2006 03:17 PM |