Problem witch Kernel image compiling A20 Lime 2

Started by Blastmun, July 01, 2015, 12:03:24 AM

Previous topic - Next topic

Blastmun

Hello, i would make my own bootable SD car for Olimex Lime 2.
I use the official topic:  https://github.com/OLIMEX/OLINUXINO/tree/master/SOFTWARE/A20/A20-build

But step 3.2 :
------------------------------------------------------------------------------------------
Now you can continue with kernel image compiling

# make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- -j4 uImage

when this finish's you will have uImage ready and the result should be:

Kernel: arch/arm/boot/zImage is ready
UIMAGE  arch/arm/boot/uImage
Image Name:   Linux-3.4.90+
Created:      Tue Aug 19 16:23:22 2014
Image Type:   ARM Linux Kernel Image (uncompressed)
Data Size:    4596072 Bytes = 4488.35 kB = 4.38 MB
Load Address: 40008000
Entry Point:  40008000
Image arch/arm/boot/uImage is ready
----------------------------------------------------------------------------------------

I have this result:


My image name is Linux-3.4.103+ not 3.4.90+. Yet i followed commands  :-\ .
If anyone can help me

Gerrit

QuoteMy image name is Linux-3.4.103+ not 3.4.90+. Yet i followed commands

It is just a newer version, you did nothing wrong :) go on with it.

Blastmun

Okè!
But Step 7.
I take this?
7.1 for A20-OLinuXino_Lime2 board download the script.bin file using wget command
# wget https://github.com/OLIMEX/OLINUXINO/raw/master/SOFTWARE/A20/A20-build/scripts_a20_Lime2_34_90_camera_rel_2/script.bin
Because it's not 3.4.103+  :-\

And step 8 :

Download debian rootfs with the file name "debian_FS_34_90_camera_A20-olimex.tgz" , which is available
only as a torrent. You would need a torrent client for it (Azureus, uTorrent, qBittorrent, etc).

The link to the torrent file is:

https://www.olimex.com/wiki/images/2/29/Debian_FS_34_90_camera_A20-olimex.torrent

It's not good version too :s

Gerrit

QuoteIt's not good version too :s

again this is not relevant. just go on


sanchezz81

#5
Hi to all!

I have the same problem. I need to build kernel module, but due to lack of headers in /usr/src i desided to cross compile. I followed instructions, but during kernel compilation got some errors about kernel modules. With this image my A20-Micro boots, but not working properly. So is where any download link to 3.4.90+ headers, or 3.4.90+ kernel sources?
Thanks in advance

UPD:

alex@alex-GA-MA790GP-DS4H:~/a20/linux-sunxi$ make ARCH=arm CROSS_COMPILE=/home/alex/MYIR/Sources/arm-2010q1/bin/arm-none-linux-gnueabi- -j4 INSTALL_MOD_PATH=out modules

*******
CC [M]  drivers/usb/serial/whiteheat.o
  CC [M]  drivers/usb/serial/vivopay-serial.o
  LD [M]  drivers/usb/serial/usbserial.o
  Building modules, stage 2.
  MODPOST 1101 modules
WARNING: drivers/net/wireless/bcmdhd/bcmdhd: 'bcmsdh_probe' exported twice. Previous export was in drivers/net/wireless/bcm4330/bcm4330.ko
WARNING: drivers/net/wireless/bcmdhd/bcmdhd: 'bcmsdh_remove' exported twice. Previous export was in drivers/net/wireless/bcm4330/bcm4330.ko
ERROR: "__sync_fetch_and_and_4" [drivers/staging/line6/line6usb.ko] undefined!
ERROR: "__sync_fetch_and_or_4" [drivers/staging/line6/line6usb.ko] undefined!
make[1]: *** [__modpost] Error 1
make: *** [modules] Error 2

Das anyone have such errors during compilation?

Blastmun

This does not work, the two appears tux. Then appears a think that I can move the mouse with a black background