I patch and compile the kernel, replace the zImage in the factory image but the kernel does not start as the old kernel here is the new kernel i build, could you check is on older verison board whether I build it correctly? here is the kernel in arch/arm/boot/zImage: http://pan.baidu.com/s/1AHWce 2014-02-21 9:19 GMT+08:00 Nishanth Menon <nm@ti.com>:
On 02/20/2014 06:56 PM, 孙钰 wrote:
Is there any instrucution I could follow to compile the kernel or build a image for panda board B3
Let me try a generic linux approach for the same:
on xubuntu 12.04 (yeah, I know it is sacrilege in a suse list ;) ): sudo apt-get install gcc-arm-linux-gnueabi
you could alternatively pick up a cross compiler from http://www.mentor.com/embedded-software/sourcery-tools/sourcery-codebench/ed...
git clone git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git cd linux git checkout v3.14-rc3
patch -p1< a.diff
make -j6 CROSS_COMPILE=arm-linux-gnueabi- ARCH=arm omap2plus_defconfig make -j6 CROSS_COMPILE=arm-linux-gnueabi- ARCH=arm zImage dtbs
mount the sdcard -> if /media/boot is where MLO and u-boot.img is located, (without an uEnv.txt and using the u-boot defaults:) cp arch/arm/boot/zImage /media/boot/zImage cp arch/arm/boot/dts/omap4-panda-es.dtb /media/boot/zImage
sync; sudo umount /media/boot/
-- Regards, Nishanth Menon
-- 孙钰 Address:北航新主楼F1015 -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org