beaglebone black kernel creation error

i followed the procedures to compile the kernel for beaglebone black

git clone git://github.com/beagleboard/kernel.git
cd kernel
git checkout 3.8
./patch.sh
cp configs/beaglebone kernel/arch/arm/configs/beaglebone_defconfig
wget http://arago-project.org/git/projects/?p=am33x-cm3.git;a=blob_plain;f=bin/am335x-pm-firmware.bin;hb=HEAD -O kernel/firmware/am335x-pm-firmware.bin
cd kernel
make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- beaglebone_defconfig -j4
make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- uImage dtbs LOADADDR=0x80008000 -j4
make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- uImage-dtb.am335x-boneblack LOADADDR=0x80008000 -j4

when i try to compile this step
$make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- uImage-dtb.am335x-boneblack LOADADDR=0x80008000 -j4 .
i got the following error

make: *** No rule to make target `uImage-dtb.am335x-boneblack’. Stop.
without this uImage-dtb.am335x-boneblack file i’m not able to boot the image from board

if any one faced such issues …help to resolve this resolve

thanks in advance

i followed the procedures to compile the kernel for beaglebone black
git clone git://github.com/beagleboard/kernel.git
cd kernel
git checkout 3.8
./patch.sh
cp configs/beaglebone kernel/arch/arm/configs/beaglebone_defconfig
wget
http://arago-project.org/git/projects/?p=am33x-cm3.git\\;a=blob\_plain\\;f=bin/am335x\-pm\-firmware\.bin\\;hb=HEAD
-O kernel/firmware/am335x-pm-firmware.bin
cd kernel
make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- beaglebone_defconfig -j4
make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- uImage dtbs
LOADADDR=0x80008000 -j4
make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi-
uImage-dtb.am335x-boneblack LOADADDR=0x80008000 -j4

when i try to compile this step
$make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi-
uImage-dtb.am335x-boneblack LOADADDR=0x80008000 -j4 .
i got the following error

make: *** No rule to make target `uImage-dtb.am335x-boneblack'. Stop.
without this uImage-dtb.am335x-boneblack file i'm not able to boot the
image from board

if any one faced such issues ..help to resolve this resolve

thanks in advance

I don't see the part when you followed the instructions as they were
written...

this:

cd kernel
make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- beaglebone_defconfig -j4
make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- uImage dtbs
LOADADDR=0x80008000 -j4
make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi-
uImage-dtb.am335x-boneblack LOADADDR=0x80008000 -j4

is not the same as:

cd kernel
cp ../configs/beaglebone .config
make ARCH=arm CROSS_COMPILE=arm-xxxx-linux-gnueabi- uImage dtbs

I have no idea where you are getting 'uImage-dtb.am335x-boneblack' part
from, but it is wrong.

Cheers,

hello jack ,

thanks for your reply,
to create a kernel image for beagle bone black i referred the following sites
[1] http://elinux.org/Building_BBB_Kernel#Downloading_and_building_the_Linux_Kernel and
[2] http://wiki.beyondlogic.org/index.php/BeagleBoneBlack_Building_Kernel
from this two link they said



$ make ARCH=arm CROSS_COMPILE=arm-linux-gnu- uImage-dtb.am335x-boneblack

| |

  • | - |

will create a kernel image for beagle bone black
but when i try to export above make command i got the "no rule to make target " error message

procedures i followed to create a kernel image

Hello siva,

I am facing the same problem. could u help me if issue got resolved for you.

make ARCH=arm CROSS_COMPILE=arm-linux-gnu- uImage-dtb.am335x-boneblack
gives me error saying “No rule to make target”

Hey any one help me , i am also facing same problem

make ARCH=arm CROSS_COMPILE=arm-linux-gnu- uImage-dtb.am335x-boneblack
gives me error saying “No rule to make target”

Thanks in advanced.

Hey any one help me , i am also facing same problem

make ARCH=arm CROSS_COMPILE=arm-linux-gnu- uImage-dtb.am335x-boneblack
gives me error saying “No rule to make target”

Thanks in advanced.

make -j8 ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- zImage modules dtbs

But why make this so complicated. Rather, follow these instructions:

http://eewiki.net/display/linuxonarm/BeagleBone+Black#BeagleBoneBlack-LinuxKernel

Regards,
John

$ make ARCH=arm CROSS_COMPILE=arm-linux-gnu- am335x-boneblack.dtb

try this... it worked for me.