Hi all,

I am trying to compile my own ARM linux kernel to add support for
context switch in ARM. At first place, I try to compile VExpress_EMM
without m5struct.diff patch. But the kernel I compiled panics at the
boot time.

1) I download the kernel source code from
http://www.gem5.org/dist/current/arm/linux-arm-arch.tar.bz2.

2) I use the patch and config file from
http://www.gem5.org/dist/current/arm/vmlinux-emm-pcie-3.3.tar.bz2

3) I also use the two different ARM toolchains:
one is http://www.codesourcery.com/sgpp/lite/arm/portal/subscription3057
the other is http://crosstool-ng.org/

4) I simply copy the vexpress config and use:
  make ARCH=arm CROSS_COMPILER={my arm compiler} -j10 vmlinux
EXTRA_CFLAGS=-mno-unaligned-access
to do the compilation. Compilation is smooth.

5) I execute:
build/ARM/gem5.fast  configs/zi_configs/fs.py --kernel=vmlinux
--machine-type=VExpress_EMM
to run the kernel. vmlinux is my kernel and it is placed inside
binaries folder.

However, both two versions of my kernels get the same error:
  Unable to handle kernel paging request at virtual address ffffffff

Could anyone point out that what the problem is with my compilation?
Am I using the wrong source code, wrong config file, wrong toolchain,
or wrong command?

Thanks.

-- 
Best Regards,
Yan Zi
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to