Skip to main content
improved formatting, fixed grammar
Source Link
RPiAwesomeness
  • 3k
  • 4
  • 31
  • 52

I have buildbuilt my Linux kernel (3.0.1) for my raspberry piRaspberry Pi with thosethese following steps.:

1. Downloading kernel source
2. tar xvf source.tar.bz2
3. downloading arm cross compilation tool.
4. tar xvf arm-2010q1-202-arm-none-linux-gnueabi-i686-pc-linux-gnu.tar.bz2
5. setting up path for cross tool export PATH=$PATH:/home/shan/<cross tool folder>/bin/
6. after entering linux source dir make ARCH=arm versatile_defconfig (is this reliable   with raspberry pi)
7. make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi-
8. zImage is generated in /arch/arm/boot

My question is, how couldcan I build kernel.img.? I think it contains zImage + ramdisk but how could ican I build this? 

Can anyone guide me to making ramdisk and pack these two into kernel.img file? I want to boot this kernel in raspberry pion my Raspberry Pi.

I have build my Linux kernel (3.0.1) for my raspberry pi with those following steps.

1. Downloading kernel source
2. tar xvf source.tar.bz2
3. downloading arm cross compilation tool.
4. tar xvf arm-2010q1-202-arm-none-linux-gnueabi-i686-pc-linux-gnu.tar.bz2
5. setting up path for cross tool export PATH=$PATH:/home/shan/<cross tool folder>/bin/
6. after entering linux source dir make ARCH=arm versatile_defconfig (is this reliable   with raspberry pi)
7. make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi-
8. zImage is generated in /arch/arm/boot

My question is how could I build kernel.img. I think it contains zImage + ramdisk but how could i build this? Can anyone guide me to making ramdisk and pack these two into kernel.img file? I want to boot this kernel in raspberry pi.

I have built my Linux kernel (3.0.1) for my Raspberry Pi with these following steps:

1. Downloading kernel source
2. tar xvf source.tar.bz2
3. downloading arm cross compilation tool.
4. tar xvf arm-2010q1-202-arm-none-linux-gnueabi-i686-pc-linux-gnu.tar.bz2
5. setting up path for cross tool export PATH=$PATH:/home/shan/<cross tool folder>/bin/
6. after entering linux source dir make ARCH=arm versatile_defconfig (is this reliable   with raspberry pi)
7. make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi-
8. zImage is generated in /arch/arm/boot

My question is, how can I build kernel.img? I think it contains zImage + ramdisk but how can I build this? 

Can anyone guide me to making ramdisk and pack these two into kernel.img file? I want to boot this kernel on my Raspberry Pi.

edited tags
Link
Krzysztof Adamski
  • 9.6k
  • 1
  • 38
  • 53

I have build my Linux kernel (3.0.1) for my raspberry pi with those following steps.

1. Downloading kernel source
2. tar xvf source.tar.bz2
3. downloading arm cross compilation tool.
4. tar xvf arm-2010q1-202-arm-none-linux-gnueabi-i686-pc-linux-gnu.tar.bz2
5. setting up path for cross tool export PATH=$PATH:/home/shan/<cross tool folder>/bin/
6. after entering linux source dir make ARCH=arm versatile_defconfig (is this reliable   with raspberry pi)
7. make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi-
8. zImage is generated in /arch/arm/boot

My question is how could I build kernel.img. I think it contains zImage + ramdisk but how could i build this? Can anyone guide me to making ramdisk and pack these two into kernel.img file? I want to boot this kernel in raspberry pi.

Thank you.

I have build my Linux kernel (3.0.1) for my raspberry pi with those following steps.

1. Downloading kernel source
2. tar xvf source.tar.bz2
3. downloading arm cross compilation tool.
4. tar xvf arm-2010q1-202-arm-none-linux-gnueabi-i686-pc-linux-gnu.tar.bz2
5. setting up path for cross tool export PATH=$PATH:/home/shan/<cross tool folder>/bin/
6. after entering linux source dir make ARCH=arm versatile_defconfig (is this reliable   with raspberry pi)
7. make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi-
8. zImage is generated in /arch/arm/boot

My question is how could I build kernel.img. I think it contains zImage + ramdisk but how could i build this? Can anyone guide me to making ramdisk and pack these two into kernel.img file? I want to boot this kernel in raspberry pi.

Thank you.

I have build my Linux kernel (3.0.1) for my raspberry pi with those following steps.

1. Downloading kernel source
2. tar xvf source.tar.bz2
3. downloading arm cross compilation tool.
4. tar xvf arm-2010q1-202-arm-none-linux-gnueabi-i686-pc-linux-gnu.tar.bz2
5. setting up path for cross tool export PATH=$PATH:/home/shan/<cross tool folder>/bin/
6. after entering linux source dir make ARCH=arm versatile_defconfig (is this reliable   with raspberry pi)
7. make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi-
8. zImage is generated in /arch/arm/boot

My question is how could I build kernel.img. I think it contains zImage + ramdisk but how could i build this? Can anyone guide me to making ramdisk and pack these two into kernel.img file? I want to boot this kernel in raspberry pi.

Tweeted twitter.com/#!/StackRaspi/status/257678126874775553
Source Link
Loading