SliTaz SliTaz Forum

You are not logged in.

#1 2013-05-24 00:39:30

ronald
Member
Registered: 2013-05-24
Posts: 3

cookutils and the RasPi

Hi,

I have no previous experience cooking, as every thing I needed was already available for my x86 machine.

On my RasPi, I have installed cookutils, but noted there is no tazdev, so I couldn't follow the walk through that I found, and also am now confused after seeing i486 host mentioned and cross directories in the armhf toolchain tarball.

Should I be using an x86 machine to cross compile packages for RasPi, or can it be done natively?

Thanks for any help on steps I need to take

Offline

#2 2013-05-24 09:38:32

subreptice
Member
Registered: 2013-03-10
Posts: 54

Re: cookutils and the RasPi

Hi ronald,

If you need to cook, you need slitaz4 stable operating system (on some x86 machine)

Have a look at this thread :

http://forum.slitaz.org/topic/cooking-crosstxt#post-24690

@everybody

"Our" distro was severely noted, here.

http://www.linuxuser.co.uk/reviews/distro-super-test-pi-edition

But it is in the headlist, and people seems agree server side rocks.

Personnaly, I'm still struggle with x86 kernel "menuconfig-urations" for now,

but maybe after 22 June, I could obtain a Rasp for some time, and work with you, emgi, whoever wants.

Offline

#3 2013-05-27 13:25:31

ronald
Member
Registered: 2013-05-24
Posts: 3

Re: cookutils and the RasPi

I have had a couple of attempts at installing and testing the SliTaz Prebuilt arm cross toolchain.

Running the README test

arm-slitaz-linux-gnuaebi-gcc -v -o test.out test.c

I have a missing file libmpc.so.2

I notice this library is only available in the cooking repository, but I'm guessing that it needs to be cross-compiled for the arm toolchain if it really is needed.

EDIT: I did find and install this x86 library from the Tazpanel and now dont get this error.

However, now I am missing libopcodes-2.22.so and that is not on the list.

The next test command from the README is puzzling me a little.

readelf -h test.out

I would expect it should be

arm-slitaz-linux-gnuaebi-readelf -h test.out

as I think we are dealing with an arm elf there.

Thanks

Offline

#4 2013-05-30 00:38:19

ronald
Member
Registered: 2013-05-24
Posts: 3

Re: cookutils and the RasPi

The cross.txt walk through does get me to the end sucessfully and the suggested tests work.

The arm-setup isn't found and I  skipped.

If the arm toolchain is downloaded and installed the steps in cross.txt regarding the building of the toolchain may be skipped by the looks of things.

Somehow on both installations I have ended up with a cooking kernel in the grub startup even though I selected stable wherever possible. Maybe a package is doing an upgrade, Is there a way to lock it down to stable?

Thanks.

Offline

#5 2013-05-30 06:19:56

totoetsasoeur
Moderator
Registered: 2011-03-29
Posts: 247

Re: cookutils and the RasPi

You need to install <cross-arm-binutils> package from undigest:

http://pkgs.slitaz.org/search.sh?receipt=cross-arm-binutils&version=undigest

Offline

#6 2013-05-31 05:24:57

alanyih
Administrator
Registered: 2011-04-02
Posts: 532

Re: cookutils and the RasPi

@ronald,

The cross.txt walk through does get me to the end sucessfully and the suggested tests work.

The arm-setup isn't found and I skipped.

cross.txt

26 Create a chroot (use last tazdev)

27 ---------------------------------

28 # tazdev gen-chroot --arch=arm

29 # tazdev chroot

30

31 Clone cookutils to get last cook and cross

# wget http://mirror.slitaz.org/packages/cooking/tazdev-1.9.tazpkg

# tazpkg -i tazdev-1.9.tazpkg

Try again!

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.016 seconds, 7 queries executed - Memory usage: 1.55 MiB (Peak: 1.77 MiB) ]