Setting up development environment using QEMU.
From: Adam Lee <hidden>
Date: 2012-06-08 14:20:50
From: Adam Lee <hidden>
Date: 2012-06-08 14:20:50
On Fri, Jun 8, 2012 at 6:46 PM, Adam Lee [off-list ref] wrote:quoted
On Fri, Jun 08, 2012 at 06:08:44PM +0600, Aft nix wrote:quoted
Sure about this? Check the output of `file vmlinux`You were right then. $file vmlinux $vmlinux: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), statically linked, not strippedquoted
What's the arch of your host system, and your toolchain?$uname -ar $Linux kernel.vbox 2.6.32-220.el6.x86_64 #1 SMP Tue Dec 6 19:48:22 GMT 2011 x86_64 x86_64 x86_64 GNU/Linux $gcc -v Using built-in specs. Target: x86_64-redhat-linux
So, just add ARCH var when you making, like this: make ARCH=i386 menuconfig make ARCH=i386 bzImage Tested OK. -- Regards, Adam Lee -------------------------------- E-mail: adam8157 at gmail.com Website: http://adam8157.info --------------------------------