Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange
    Post Closed as "unclear what you're asking" by goldilocks
    Tweeted twitter.com/#!/StackRaspi/status/329006488033062912
4 added 22 characters in body
source | link

This problem has been solvedOverview: I wanted to compile 3. Answer is simple:
use6.11+ linux kernel for my raspberry, after the git clonemake instead of downloading zip archive file from Github.

I finally find that the internal file structure is corrupted when the big ZIP archive has been extractedcommand, maybe some missing of symbol links or else.


For people who has interestthere were no image files in the compiling process, I decide not to remove words below. It will be nice if someone find them a little helpfularch/arm/boot.


What I've done so far:

1 Download the linux code from github.com/raspberrypi/linux and cross-compile tools from github.com/raspberrypi/tools, all in zip format.

2 Extract and deploy them like this:
export KERNEL_SRC = /home/loon/Downloads/linux-rpi-3.6.y/
export CCPREFIX = /home/loon/Downloads/arm-bcm2708-linux-gnueabi/bin/arm-bcm2708-linux-gnueabi-

3 Do clean work before: loon@ubuntu:~/Downloads/linux-rpi-3.6.y$ make mrproper

4 Copy the config file from current Raspberry system: (from /proc/)
zcat config.gz > ~/Downloads/linux-rpi-3.6.y/.config

5 Then make it:
loon@ubuntu:~/Downloads/linux-rpi-3.6.y$ make ARCH=arm CROSS_COMPILE=${CCPREFIX}

6 The making process ends like these:

CC [M] drivers/usb/serial/zio.o
LD [M] drivers/usb/serial/usbserial.o
LD drivers/usb/built-in.o
LD drivers/built-in.o
loon@ubuntu:~/Downloads/linux-rpi-3.6.y$ cd arch/arm/boot/

Shouldn't there be zImage or Image in arch/arm/boot? But all I found are:
loon@ubuntu:~/Downloads/linux-rpi-3.6.y/arch/arm/boot$ ls
bootp compressed dts install.sh Makefile


This problem has been solved by myself. Answer is simple:
use git clone instead of downloading zip archive file from Github.

I finally find that the internal file structure is corrupted when the big ZIP archive has been extracted, maybe some missing of symbol links or else.

Compilation using source code from git clone will get the desired Image and zImage. in arch/arm/boot

This problem has been solved. Answer is simple:
use git clone instead of downloading zip archive file from Github.

I finally find that the internal file structure is corrupted when the big ZIP archive has been extracted, maybe some missing of symbol links or else.


For people who has interest in the compiling process, I decide not to remove words below. It will be nice if someone find them a little helpful.


What I've done so far:

1 Download the linux code from github.com/raspberrypi/linux and cross-compile tools from github.com/raspberrypi/tools, all in zip format.

2 Extract and deploy them like this:
export KERNEL_SRC = /home/loon/Downloads/linux-rpi-3.6.y/
export CCPREFIX = /home/loon/Downloads/arm-bcm2708-linux-gnueabi/bin/arm-bcm2708-linux-gnueabi-

3 Do clean work before: loon@ubuntu:~/Downloads/linux-rpi-3.6.y$ make mrproper

4 Copy the config file from current Raspberry system: (from /proc/)
zcat config.gz > ~/Downloads/linux-rpi-3.6.y/.config

5 Then make it:
loon@ubuntu:~/Downloads/linux-rpi-3.6.y$ make ARCH=arm CROSS_COMPILE=${CCPREFIX}

6 The making process ends like these:

CC [M] drivers/usb/serial/zio.o
LD [M] drivers/usb/serial/usbserial.o
LD drivers/usb/built-in.o
LD drivers/built-in.o
loon@ubuntu:~/Downloads/linux-rpi-3.6.y$ cd arch/arm/boot/

Shouldn't there be zImage or Image in arch/arm/boot? But all I found are:
loon@ubuntu:~/Downloads/linux-rpi-3.6.y/arch/arm/boot$ ls
bootp compressed dts install.sh Makefile


Compilation using source code from git clone will get the desired Image and zImage.

Overview: I wanted to compile 3.6.11+ linux kernel for my raspberry, after the make command, there were no image files in arch/arm/boot.


What I've done:

1 Download the linux code from github.com/raspberrypi/linux and cross-compile tools from github.com/raspberrypi/tools, all in zip format.

2 Extract and deploy them like this:
export KERNEL_SRC = /home/loon/Downloads/linux-rpi-3.6.y/
export CCPREFIX = /home/loon/Downloads/arm-bcm2708-linux-gnueabi/bin/arm-bcm2708-linux-gnueabi-

3 Do clean work before: loon@ubuntu:~/Downloads/linux-rpi-3.6.y$ make mrproper

4 Copy the config file from current Raspberry system: (from /proc/)
zcat config.gz > ~/Downloads/linux-rpi-3.6.y/.config

5 Then make it:
loon@ubuntu:~/Downloads/linux-rpi-3.6.y$ make ARCH=arm CROSS_COMPILE=${CCPREFIX}

6 The making process ends like these:

CC [M] drivers/usb/serial/zio.o
LD [M] drivers/usb/serial/usbserial.o
LD drivers/usb/built-in.o
LD drivers/built-in.o
loon@ubuntu:~/Downloads/linux-rpi-3.6.y$ cd arch/arm/boot/

Shouldn't there be zImage or Image in arch/arm/boot? But all I found are:
loon@ubuntu:~/Downloads/linux-rpi-3.6.y/arch/arm/boot$ ls
bootp compressed dts install.sh Makefile


This problem has been solved by myself. Answer is simple:
use git clone instead of downloading zip archive file from Github.

I finally find that the internal file structure is corrupted when the big ZIP archive has been extracted, maybe some missing of symbol links or else.

Compilation using source code from git clone will get the desired Image and zImage in arch/arm/boot

3 added 446 characters in body
source | link

This problem has been solved. Answer is simple:
use git clone instead of downloading zip archive file from Github.

I finally find that the internal file structure is corrupted when the big ZIP archive has been extracted, maybe some missing of symbol links or else.


For people who has interest in the compiling process, I decide not to remove words below. It will be nice if someone find them a little helpful.


What I've done so far:

1 Download the linux code from github.com/raspberrypi/linux and cross-compile tools from github.com/raspberrypi/tools, all in zip format.

2 Extract and deploy them like this:
export KERNEL_SRC = /home/loon/Downloads/linux-rpi-3.6.y/
export CCPREFIX = /home/loon/Downloads/arm-bcm2708-linux-gnueabi/bin/arm-bcm2708-linux-gnueabi-

3 Do clean work before: loon@ubuntu:~/Downloads/linux-rpi-3.6.y$ make mrproper

4 Copy the config file from current Raspberry system: (from /proc/)
zcat config.gz > ~/Downloads/linux-rpi-3.6.y/.config

5 Then make it:
loon@ubuntu:~/Downloads/linux-rpi-3.6.y$ make ARCH=arm CROSS_COMPILE=${CCPREFIX}

6 The making process ends like these:

CC [M] drivers/usb/serial/zio.o
LD [M] drivers/usb/serial/usbserial.o
LD drivers/usb/built-in.o
LD drivers/built-in.o
loon@ubuntu:~/Downloads/linux-rpi-3.6.y$ cd arch/arm/boot/

Shouldn't there be zImage or Image in arch/arm/boot? But all I found are:
loon@ubuntu:~/Downloads/linux-rpi-3.6.y/arch/arm/boot$ ls
bootp compressed dts install.sh Makefile


I hopeCompilation using source code from git clone will get the details are sufficient, please tell me if I miss something importantdesired Image and zImage. Thanks for any help!

What I've done so far:

1 Download the linux code from github.com/raspberrypi/linux and cross-compile tools from github.com/raspberrypi/tools, all in zip format.

2 Extract and deploy them like this:
export KERNEL_SRC = /home/loon/Downloads/linux-rpi-3.6.y/
export CCPREFIX = /home/loon/Downloads/arm-bcm2708-linux-gnueabi/bin/arm-bcm2708-linux-gnueabi-

3 Do clean work before: loon@ubuntu:~/Downloads/linux-rpi-3.6.y$ make mrproper

4 Copy the config file from current Raspberry system: (from /proc/)
zcat config.gz > ~/Downloads/linux-rpi-3.6.y/.config

5 Then make it:
loon@ubuntu:~/Downloads/linux-rpi-3.6.y$ make ARCH=arm CROSS_COMPILE=${CCPREFIX}

6 The making process ends like these:

CC [M] drivers/usb/serial/zio.o
LD [M] drivers/usb/serial/usbserial.o
LD drivers/usb/built-in.o
LD drivers/built-in.o
loon@ubuntu:~/Downloads/linux-rpi-3.6.y$ cd arch/arm/boot/

Shouldn't there be zImage or Image in arch/arm/boot? But all I found are:
loon@ubuntu:~/Downloads/linux-rpi-3.6.y/arch/arm/boot$ ls
bootp compressed dts install.sh Makefile


I hope the details are sufficient, please tell me if I miss something important. Thanks for any help!

This problem has been solved. Answer is simple:
use git clone instead of downloading zip archive file from Github.

I finally find that the internal file structure is corrupted when the big ZIP archive has been extracted, maybe some missing of symbol links or else.


For people who has interest in the compiling process, I decide not to remove words below. It will be nice if someone find them a little helpful.


What I've done so far:

1 Download the linux code from github.com/raspberrypi/linux and cross-compile tools from github.com/raspberrypi/tools, all in zip format.

2 Extract and deploy them like this:
export KERNEL_SRC = /home/loon/Downloads/linux-rpi-3.6.y/
export CCPREFIX = /home/loon/Downloads/arm-bcm2708-linux-gnueabi/bin/arm-bcm2708-linux-gnueabi-

3 Do clean work before: loon@ubuntu:~/Downloads/linux-rpi-3.6.y$ make mrproper

4 Copy the config file from current Raspberry system: (from /proc/)
zcat config.gz > ~/Downloads/linux-rpi-3.6.y/.config

5 Then make it:
loon@ubuntu:~/Downloads/linux-rpi-3.6.y$ make ARCH=arm CROSS_COMPILE=${CCPREFIX}

6 The making process ends like these:

CC [M] drivers/usb/serial/zio.o
LD [M] drivers/usb/serial/usbserial.o
LD drivers/usb/built-in.o
LD drivers/built-in.o
loon@ubuntu:~/Downloads/linux-rpi-3.6.y$ cd arch/arm/boot/

Shouldn't there be zImage or Image in arch/arm/boot? But all I found are:
loon@ubuntu:~/Downloads/linux-rpi-3.6.y/arch/arm/boot$ ls
bootp compressed dts install.sh Makefile


Compilation using source code from git clone will get the desired Image and zImage.

2 edited body
source | link

What I've done so far:

1 Download the linux code from github.com/raspberrypi/linux and cross-compile tools from github.com/raspberrypi/tools, all in zip format.

2 Extract and deploy them like this:
export KERNEL_SRC = /home/loon/Downloads/linux-rpi-3.6.y/
export CCPREFIX = /home/loon/Downloads/arm-bcm2708-linux-gnueabi/bin/arm-bcm2708-linux-gnueabi-

3 Do clean work before: loon@ubuntu:~/Downloads/linux-rpi-3.6.y$ make mkpropermrproper

4 Copy the config file from current Raspberry system: (from /proc/)
zcat config.gz > ~/Downloads/linux-rpi-3.6.y/.config

5 Then make it:
loon@ubuntu:~/Downloads/linux-rpi-3.6.y$ make ARCH=arm CROSS_COMPILE=${CCPREFIX}

6 The making process ends like these:

CC [M] drivers/usb/serial/zio.o
LD [M] drivers/usb/serial/usbserial.o
LD drivers/usb/built-in.o
LD drivers/built-in.o
loon@ubuntu:~/Downloads/linux-rpi-3.6.y$ cd arch/arm/boot/

Shouldn't there be zImage or Image in arch/arm/boot? But all I found are:
loon@ubuntu:~/Downloads/linux-rpi-3.6.y/arch/arm/boot$ ls
bootp compressed dts install.sh Makefile


I hope the details are sufficient, please tell me if I miss something important. Thanks for any help!

What I've done so far:

1 Download the linux code from github.com/raspberrypi/linux and cross-compile tools from github.com/raspberrypi/tools, all in zip format.

2 Extract and deploy them like this:
export KERNEL_SRC = /home/loon/Downloads/linux-rpi-3.6.y/
export CCPREFIX = /home/loon/Downloads/arm-bcm2708-linux-gnueabi/bin/arm-bcm2708-linux-gnueabi-

3 Do clean work before: loon@ubuntu:~/Downloads/linux-rpi-3.6.y$ make mkproper

4 Copy the config file from current Raspberry system: (from /proc/)
zcat config.gz > ~/Downloads/linux-rpi-3.6.y/.config

5 Then make it:
loon@ubuntu:~/Downloads/linux-rpi-3.6.y$ make ARCH=arm CROSS_COMPILE=${CCPREFIX}

6 The making process ends like these:

CC [M] drivers/usb/serial/zio.o
LD [M] drivers/usb/serial/usbserial.o
LD drivers/usb/built-in.o
LD drivers/built-in.o
loon@ubuntu:~/Downloads/linux-rpi-3.6.y$ cd arch/arm/boot/

Shouldn't there be zImage or Image in arch/arm/boot? But all I found are:
loon@ubuntu:~/Downloads/linux-rpi-3.6.y/arch/arm/boot$ ls
bootp compressed dts install.sh Makefile


I hope the details are sufficient, please tell me if I miss something important. Thanks for any help!

What I've done so far:

1 Download the linux code from github.com/raspberrypi/linux and cross-compile tools from github.com/raspberrypi/tools, all in zip format.

2 Extract and deploy them like this:
export KERNEL_SRC = /home/loon/Downloads/linux-rpi-3.6.y/
export CCPREFIX = /home/loon/Downloads/arm-bcm2708-linux-gnueabi/bin/arm-bcm2708-linux-gnueabi-

3 Do clean work before: loon@ubuntu:~/Downloads/linux-rpi-3.6.y$ make mrproper

4 Copy the config file from current Raspberry system: (from /proc/)
zcat config.gz > ~/Downloads/linux-rpi-3.6.y/.config

5 Then make it:
loon@ubuntu:~/Downloads/linux-rpi-3.6.y$ make ARCH=arm CROSS_COMPILE=${CCPREFIX}

6 The making process ends like these:

CC [M] drivers/usb/serial/zio.o
LD [M] drivers/usb/serial/usbserial.o
LD drivers/usb/built-in.o
LD drivers/built-in.o
loon@ubuntu:~/Downloads/linux-rpi-3.6.y$ cd arch/arm/boot/

Shouldn't there be zImage or Image in arch/arm/boot? But all I found are:
loon@ubuntu:~/Downloads/linux-rpi-3.6.y/arch/arm/boot$ ls
bootp compressed dts install.sh Makefile


I hope the details are sufficient, please tell me if I miss something important. Thanks for any help!

1
source | link