make CROSS_COMPILE=arm-none-linux-gnueabi- distclean
<Works fine>
make CROSS_COMPILE=arm-none-linux-gnueabi- omap3_beagle_defconfig
<Gives errors ...
scripts/basic/fixdep.c:107:23: error: sys/types.h: No such file or
directory
.and so on...
....
2.6_kernel/sys directory is indeed not available. Did the tar ball
miss the sys directory?
This solved my inital compile issues. Now I am having problem with
mkimage when building the Linux Image. I am seeing the below message.
Looks like mkimage is called with wrong options in the Makefile?
Options:
-f <MD5 name> Specify an input MD5 file. MD5s must be in
jigdo's
pseudo-base64 format
-j <jigdo name> Specify the input jigdo file
-t <template name> Specify the input template file
-m <item=path> Map <item> to <path> to find the files in the
mirror
-M <missing name> Rather than try to build the image, just check
that
all the needed files are available. If any are
missing,
list them in this file.
-v Make the output logging more verbose
-l <logfile> Specify a logfile to append to.
If not specified, will log to stderr
-o <outfile> Specify a file to write the ISO image to.
If not specified, will write to stdout
-q Quick mode. Don't check MD5sums. Dangerous!
-s <bytenum> Start byte number; will start at 0 if not
specified
-e <bytenum> End byte number; will end at EOF if not specified
-z Don't attempt to rebuild the image; simply print
its
size in bytes
Image arch/arm/boot/uImage is ready
sreekanth@sreekanth-ubuntu:~/Beagle/2.6_kernel$
This took a little bit of testing to track down, but it looks like you
have ubuntu's jigit installed which is providing an incompatible
version of mkimage for creating a beagleboard compatible u-boot
uImage.
Build just the native mkimage tool in u-boot (hence CROSS_COMPILE=<blank> ...)
cd u-boot/
make CROSS_COMPILE= distclean
make CROSS_COMPILE= omap3530beagle_config
make CROSS_COMPILE= tools
Add mImage to path:
PATH=/home/<user>/u-boot/tools:"${PATH}"
Follow your previous instructions and now rebuild the kernel: "make
CROSS_COMPILE=arm**** uImage"