problem compiling new Kernel

Started by mike1968, February 10, 2013, 12:40:16 PM

Previous topic - Next topic

mike1968

Hello all,

I will try to build my own Kernel.

I install all teh tools from the step-by-step instruktion from the wiki.

when I start the uboot build i got this error:

uboot-allwinner
root@michael-netbook:/home/michael/olinuxino# cd uboot-allwinner/
root@michael-netbook:/home/michael/olinuxino/uboot-allwinner#
make a13_olinuxino CROSS_COMPILE=arm-linux-gnueabi-
make: *** Keine Regel, um »a13_olinuxino« zu erstellen.  Schluss.

please help

thx michael

JohnS

I guess you could help yourself by sticking to English.  Sorry, but it's probably true...

jwischka

did you

git checkout sunxi

before you tried to make?

Quote from: mike1968 on February 10, 2013, 12:40:16 PM
Hello all,

I will try to build my own Kernel.

I install all teh tools from the step-by-step instruktion from the wiki.

when I start the uboot build i got this error:

uboot-allwinner
root@michael-netbook:/home/michael/olinuxino# cd uboot-allwinner/
root@michael-netbook:/home/michael/olinuxino/uboot-allwinner#
make a13_olinuxino CROSS_COMPILE=arm-linux-gnueabi-
make: *** Keine Regel, um »a13_olinuxino« zu erstellen.  Schluss.

please help

thx michael

aauer1

Hi,

first of all, I think you are trying to build u-boot and not the kernel. To compile u-boot, you have to do the following steps:

1. make A13-OLinuXino_config
2. make

Cheers,
Andreas

mike1968

Quote from: aauer1 on February 12, 2013, 08:12:24 PM
Hi,

first of all, I think you are trying to build u-boot and not the kernel. To compile u-boot, you have to do the following steps:

1. make A13-OLinuXino_config
2. make

Cheers,
Andreas

Hello Andreas,

yes, you are rigth...i follow the step by step instruction,,,so i try to compile u-boot(did i need this??)
i get this error:
root@michael-netbook:~/olinuxino/uboot-allwinner# make A13-OLinuXino_config
make: *** No rule to make target `A13-OLinuXino_config'.  Stop.
make: *** [A13-OLinuXino_config] Fehler 1
root@michael-netbook:~/olinuxino/uboot-allwinner#

mike1968

ok...
I jumped to the next step..."Building the Kernel"

all seems ok...can create the .config file, but then i continue i get this massage:

root@michael-netbook:~/linux-sunxi# make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- uImage
make: arm-linux-gnueabi-gcc: Kommando nicht gefunden
  CHK     include/linux/version.h
  CHK     include/generated/utsrelease.h
make[1]: »include/generated/mach-types.h« ist bereits aktualisiert.
  CC      kernel/bounds.s
/bin/sh: arm-linux-gnueabi-gcc: not found
make[1]: *** [kernel/bounds.s] Fehler 127
make: *** [prepare0] Fehler 2


please help me :-\ >:(..

aauer1

You have to install a cross compiler. If you are using Ubuntu you can use Synaptic to install gcc-arm-linux-gnueabi (I'm not sure if the package has exactly that name).
Then the command should be available.

Cheers,
Andreas

mike1968

Quote from: aauer1 on February 12, 2013, 11:48:17 PM
You have to install a cross compiler. If you are using Ubuntu you can use Synaptic to install gcc-arm-linux-gnueabi (I'm not sure if the package has exactly that name).
Then the command should be available.

Cheers,
Andreas

Thank you very much Andreas

It works and seem my problem is solved
:) ;) :D ;D

Best regards
Michael