Cross-compile toolchains

I thought that I would take a look at some of the alternatives out there. I have used T2 (many times) and Buildroot:

T2: http://t2-project.org/
Buildroot: http://buildroot.uclibc.org/
Crosstool-NG: http://crosstool-ng.org/
OpenEmbedded: http://www.openembedded.org/wiki/Main_Page
PTXdist: http://www.pengutronix.de/software/ptxdist/index_en.html


Posted on 29 Oct 2011, 18:29


Comments:

Posted on 29 Oct 2011, 22:35 by linuxcbon
Cross-compile toolchains
There is also :
Aboriginal Linux http://www.landley.net/aboriginal/
Scratchbox http://sourceforge.net/projects/scratchbox/
CLFS http://trac.cross-lfs.org/

Don't know if good or bad.
Maybe size and speed comparison is needed.


Posted on 29 Oct 2011, 24:36 by BarryK
T2: ARM1176JZF-S CPU
I am curious, decided to try a test build for an ARM CPU. Using T2, as that is what I know best, and it has an option for the ARM1176JZF-S CPU, which is the one used in the RaspberryPi alpha boards.

T2 does not have any configuration settings specific to the RaspberryPi board -- it would be very much in the interests of the RasPi people to send a board to Rene, the chief guy at T2.

I got the latest T2 from SVN, have just started it running now, it is currently downloading source packages.



Posted on 29 Oct 2011, 24:39 by BarryK
Thumb instructions
The ARM CPU has these things called "thumb instructions", I left that turned off, as that was the default.

But apparently they can make the generated code more efficient for 16-bit operations.



Posted on 30 Oct 2011, 5:01 by Iguleder1
"Common" repo
Barry, I could help with the ARM efforts - I built this repository. I started the build at 0:00 and went to sleep - I woke up and everything was built successfuly :)

The packages are here and were built in a dpup chroot environment - we could do the same with an ARM one.

It also include most of the "common" repo -incl. stuff like udev. Take a look at the size - those packages are very small.


Posted on 30 Oct 2011, 7:39 by BarryK
Re dpup packages
Iguleder,
That's great. I mentioned recently that one of the Dpup initiatives should perhaps become another "official" Puppy. But then I started wondering if perhaps there might be too many official puppies, considering that Lucid is still one of them.

I think that a group of us will have to discuss this sometime.

About ARM, one problem, it appears, is that there are so many variants of the ARM architecture. We have to do a compile for one particular architecture, a "generic ARM" compile would be too inefficient.

With T2, I already have some scripts for, not just importing the binary pkgs into Woof, but to convert them into PETs. So, it's all ready to go.

I'm far from an expert on this, but cross-compiling is very complex and chroot on it's own won't do it I think. That is, running in an x86 PC, compiling for an ARM target. However, that is what T2 is designed for.



Posted on 30 Oct 2011, 8:03 by zygo
Allfine Net Browser (ARM 920)
I noticed this
http://www.diskdepot.co.uk/acatalog/allfine-white-7-mini-netbook-notebook-computer-allfine-01002.htm
http://www.tjhughes.co.uk/fcp/product/brands-for-less/Computing/Allfine-Net-Browser/10247
selling for 50 pounds. It comes with win ce but this struggles -- see the reviews http://www.amazon.co.uk/product-reviews/B003OCBPP0 . If it can be booted from the SD card slot then would 128MB RAM be plenty to run Puppy?


Posted on 30 Oct 2011, 9:12 by Raffy
ARM11 is actually an ARMv6
The RasPI FAQ is getting long, but it was mentioned by Eben that "..an ARM11 is actually an ARMv6 device (handles unaligned pointers nicely - only v5 and earlier can't..)" (quotes have been edited slightly).


Posted on 30 Oct 2011, 10:13 by Raffy
Development Board
Here are links to development board ARM11 OK6410 S3C6410: US$134.74 and US$179.67 (as shipped to Australia). The board has "Samsung S3C6410 processor, ARM1176JZF-S core clocked at 533MHz/667MHz; 128 Mbytes of DDR memory..".

Will this be useful?


Posted on 30 Oct 2011, 24:54 by Raffy
VM for R-PI
Here's a link to a RaspberryPI Virtual Machine. Also a link to Debian Armel packages.


Posted on 31 Oct 2011, 7:40 by BarryK
Re RasPi VM
Raffy,
Fantastic. I will take a look at this soon.

I was resisting it, but I seem to have got sucked into the RaspberryPi vortex of enthusiasm for an as-yet non-existing product.
I have had experiences of vapourware that has turned out to be a big disappointment when it finally did arrive, after much hype, or even failed to appear, so I was staying reserved about RasPi for awhile.



Posted on 31 Oct 2011, 8:29 by Raffy
Being Reserved - OK
That's OK, Barry, the good news is that the ARM1176JZF-S processor seems to be everywhere, described as "high-performance .. in excess of 550MHz in [2005] 90nm process technologies, features a vector floating-point unit that accelerates 3D graphics, and is the first to incorporate ARM TrustZone security technology [that] facilitates the development of portable security solutions that are compatible with different operating systems". Its reference manual is 759 pages long.


Posted on 32 Oct 2011, 6:38 by scsijon
ARM1176JZF-S
you only have to look at some of the automated fridges with lcd displays for this one and it's compatriots, there is even one with wifi so you can order from your 'local'supermarket's online shopping list system.


Posted on 32 Oct 2011, 6:49 by scsijon
cross-compiling
what i really got on to say, is that qt has already got cross-compiling built into it's system, so I wonder how much different a non-qt source would have to be for Creator (qt's build system package) to actually fail the package. Maybe pemasu would know, i'm too new to qt to give an opinion on this!


Posted on 32 Oct 2011, 8:35 by Raffy
Resources about RISC-OS and ARM
Here is a link to Theo Marketto's collection of Acorn technical documents.


Posted on 6 Nov 2011, 10:08 by BarryK
Ordered ARM board
Raffy,
Thanks for the link:

http://www.aliexpress.com/product-fm/503734975-Free-Shipping-ARM11-OK6410-S3C6410-Android-2-3-4-WinCe-7-0-development-board-4-3-wholesalers.html

I have ordered one. I want hardware to play with! This has the same CPU as the RasPi, different GPU.



Posted on 8 Nov 2011, 10:24 by ttuuxxx
arm
Hi Barry I had a look at that board you ordered, it doesn't have any sata connections and only 1 usb, so I guess you'll need a usb splitter to use it, well usually the keyboard ,mouse and usb thumb stick, etc.
ttuuxxx


Posted on 8 Nov 2011, 12:38 by BarryK
Another board
ttuuxxx,
Well, strictly, it has two:

* One USB Host interface supporting USB1.1 protocol;
* One USB Slave (MINI-USB) interface supporting USB2.0 protocol;


There is also a "keyboard interface".

If I had known about it, I would have ordered this board:

http://www.minidevs.com/Tiny6410.html

They have a lot of on-line support, plus extra add-on boards. Well, why not, I might buy that one as well.

Hmmm, that website is down right now. Here is info via alibaba.com, it is available with different size LCD touchscreens, also comes with Ubuntu:

http://www.aliexpress.com/product-fm/481991595-F80B-Tiny6410-4-3-Touch-Screen-533-MHz-S3C6410-256M-Memory-2G-Nand-Flash-Android2-3-wholesalers.html

The first link has Ubuntu available for download, which I can probably get to work on the board that I have ordered.



Posted on 8 Nov 2011, 13:41 by Raffy
Android as Default
Both boards would likely have Android as default OS, and the first board (what you ordered) would be closer to the limited hardware options of the RP.

If anyone finds an ARM1176JZF-S-based board using mainstream Linux, please post here. TIA.


Posted on 8 Nov 2011, 14:56 by broomdodger
Another distributor
BarryK
another distributor for those ARM boards
http://www.andahammer.com/
possibly more/different info



Posted on 8 Nov 2011, 17:44 by BarryK
Re mainstream Linux
Raffy,
That tiny6410 comes with Ubuntu 9.10. If you look at the minidevs.com site, it has all the info.



Posted on 8 Nov 2011, 18:29 by Ted Dog
ARM based kindle
I hope my kindle ARM version would be puppifed. Its 4M of storage, 600x800 screen,keyboard, mic & speaker, Wifi & 3G for about $100 USD, one USB port.


Posted on 8 Nov 2011, 18:46 by ttuuxxx
arm
hi Barry why not just buy a arm tablet on ebay, you usually get one for around $100 that way possibly maybe it may have woof support in the future. http://www.ebay.com.au/dsc/i.html?_nkw=tablet+arm&_sacat=0&_odkw=tablet+arm&_osacat=0&_trksid=p3286.c0.m270.l1313&LH_TitleDesc=1
ttuuxxx


Posted on 8 Nov 2011, 19:10 by BarryK
Which arm
ttuuxxx,
I want something that has the same CPU as the RaspberryPi, the arm1176jzf-s. Can't get the same GPU though.