[Gta04-owner] Impressions from running Replicant

Dr. H. Nikolaus Schaller hns at goldelico.com
Thu Jul 4 15:33:34 CEST 2013


Am 04.07.2013 um 12:55 schrieb Paul Kocialkowski:

> Le jeudi 04 juillet 2013 à 11:49 +0200, Dr. H. Nikolaus Schaller a
> écrit :
>> It appears that it has been synced upstream! At least my last repo sync
>> did complain about a kernel and device tree conflict. After deleting the
>> manually inserted trees I could sync and got the gta04 components.
> 
> Well, I'm actually right in the middle of it and didn't check that all
> components build already. This should be completed within the hour.

No problem! I can wait...

> 
> I also updated the Replicant wiki for Replicant 4.0:
> http://redmine.replicant.us/projects/replicant/wiki/GTA04Build
> http://redmine.replicant.us/projects/replicant/wiki/GTA04Installation
> 
> After building all the targets, the install script and the images will
> be found at out/target/product/gta04
> 
>> And now I even succeeded to compile the (I know not good working) kernel.
>> The 'make systemtarball' is still running with thousands of warnings.
> 
> I decided to put the 3.0 kernel as default here so that the device can
> be booted and give an idea of what Replicant 4.0 looks like on gta04.

I haven't tried it yet but it did compile.

> 
> About the warnings, well, not every developer cares about solving these.
> But as long as there's no error, things should be fine.

So far I have not yet seen an error. Maybe all these warnings come because I am using
llvm-gcc on Darwin and llvm is much more critical in its default warning level.

Most warnings are about const qualifiers, missing initializers and comparisons
of signed and unsigned values.

The result looks like this:

iMac:replicant-4.0 hns$ ls -l out/target/product/gta04/system.tar.bz2 out/target/product/gta04/kernel
-rw-r--r--  1 hns  hns    3710860  4 Jul 11:01 out/target/product/gta04/kernel
-rw-r--r--  1 hns  hns  139059457  4 Jul 15:21 out/target/product/gta04/system.tar.bz2
iMac:replicant-4.0 hns$ 

But I have not tried to run it.

> 
>> I had to apply some tweaks to compile it on Darwin (MacOS X). Mainly
>> it needs a -printf friendly find, a -r friendly sed and a elf.h source file. This
>> is not big magic, but some :) I am collecting every piece of information
>> so that I think I can share some blueprint for a build-on-mac-script soon.
> 
> Well, we only maintain build instructions for GNU/Linux (and it seems
> that only x86_64 works with 4.0) so for the rest… you're on your own :)

This is why I am writing down every step - others from the Replicant
project may find that eventually helpful (even for non-GTA04 devices).

On Darwin it appears to (cross) compile on 32 bit mode as well.

BR and tnx again for what you already have achieved!
Nikolaus Schaller



More information about the Gta04-owner mailing list