Hi,
We have got imx6 board(Wandboard). Now, we would like to compile linux source and put uImage to SD card(/boot/uImage). We are compiling linux source by:
export CC=`pwd`/gcc-linaro-arm-linux-gnueabihf-4.9-2014.09_linux/bin/arm-linux-gnueabihf-
make ARCH=arm CROSS_COMPILE=${CC} distclean
make ARCH=arm CROSS_COMPILE=${CC} wandboard_defconfig
make ARCH=arm CROSS_COMPILE=${CC} uImage
then it is giving error for last command make ARCH=arm CROSS_COMPILE=${CC} uImage
SHIPPED arch/arm/boot/compressed/hyp-stub.S
AS arch/arm/boot/compressed/hyp-stub.o
SHIPPED arch/arm/boot/compressed/lib1funcs.S
AS arch/arm/boot/compressed/lib1funcs.o
SHIPPED arch/arm/boot/compressed/ashldi3.S
AS arch/arm/boot/compressed/ashldi3.o
LD arch/arm/boot/compressed/vmlinux
OBJCOPY arch/arm/boot/zImage
Kernel: arch/arm/boot/zImage is ready
multiple (or no) load addresses:
This is incompatible with uImages
Specify LOADADDR on the commandline to build an uImage
make[1]: *** [arch/arm/boot/uImage] Error 1
make: *** [uImage] Error 2
as it suggests "Specify LOADADDR on the commandline to build an uImage"
after searching in web , came to know that command can be run as:
make ARCH=arm CROSS_COMPILE=${CC} uImage -j4 LOADADDR=0x10008000
this is creating uImage in /arch/arm/boot/. Now we are copying this uImage to SD card (/media/rootfs/boot/).
and also we have copied Ubuntu-Core rootfile system, dtbs(/media/rootfs/boot/dtbs/)
But it is not booting to Ubuntu.
We doubt we are not setting parameters in uEnv.txt (/media/rootfs/boot/uEnv.txt)
uEnv.txt file contents are:
uname_r=3.10.53
dtb=xyz.dtb
whether this 3.10.53 for uname_r is correct or not????? how to set uname_r and how to get this uname_r???