Ian Campbell
2012-Mar-13 08:55 UTC
Re: [XenARM] An error during compiling linux(vex-express-dt)
On Tue, 2012-03-13 at 04:15 +0000, Josh Zhao wrote:> Hi Ian, > After enabling the option of "Versatile Express Cortex-A9x4 tile" in > platform type, the linux managed to be compiled.Hrm, that seems like an odd option to require... Are you sure you have checked out dvrable.git#vexpress-dt? The head of that branch is 9e332dccad2 "Revert "HACK! call flush_cache_all() after updating translation..." while you report that you are running 55b02d2f4445 "Merge branch 'drm-fixes' of git..." which looks to me like a mainline Linux commit (Linus is the committer) and not something from David's tree. Ah! 55b02d2f4445 is dvrable.git#master not #vexpress-dt. You need to switch to the correct branch. I've added xen-devel to the CC since that is a better place to find people interested in this port to ARM. (xen-arm is more focused on the PV ARM port, I've added a note to this effect to the wiki page http://wiki.xen.org/wiki/Xen_ARMv7_with_Virtualization_Extensions )> When tried running it, I have the same problem as posted thread > before: http://www.gossamer-threads.com/lists/xen/arm/233932, a data > abort.You need the patch "arm: support fewer LR registers than virtual irqs" by Stefano Stabellini (please search the xen-devel list archives) to run on the A15 model. v4 was posted on 23 Feb, it is not quite in its final form but is good enough for you to be going on with. Thanks, Ian.> > > > > > 在 2012年3月13日 上午8:22,Josh Zhao <joshsystem@gmail.com>写道: > 1. The linux version is this: > > josh@josh-ThinkPad-Edge:~/project/xen/linux$ git show > commit 55b02d2f4445ad625213817a1736bf2884d32547 > Merge: 2240a7b cd5cfce > Author: Linus Torvalds <torvalds@linux-foundation.org> > Date: Wed Dec 14 19:45:40 2011 -0800 > > Merge branch 'drm-fixes' of > git://people.freedesktop.org/~airlied/linux > > * 'drm-fixes' of > git://people.freedesktop.org/~airlied/linux: > drm/radeon/kms: add some new pci ids > > josh@josh-ThinkPad-Edge:~/project/xen/linux$ git branch > master > * origin/vexpress-dt > > 2. I saved it as .config and the compiling command is this: > export > ARM_LINUX_PATH=/home/josh/project/xen/gcc-4.6.0-nolibc/arm-unknown-li nux-gnueabi/bin > export PATH=$ARM_LINUX_PATH:$PATH > export ARCH=arm > export XEN_TARGET_ARCH=arm > export CROSS_COMPILE=arm-unknown-linux-gnueabi- > > make > > > > > 在 2012年3月12日 下午10:59,Ian Campbell > <Ian.Campbell@citrix.com>写道: > > On Mon, 2012-03-12 at 13:41 +0000, Josh Zhao wrote: > > Hi all, > > I followed the instruction in wiki > > > http://wiki.xen.org/wiki/Xen_ARMv7_with_Virtualization_Extensions as > > like this: > > 1. git the specific vexpress-dt branch of > > git://xenbits.xen.org/people/dvrabel/linux.git > > > Please can you tell us the precise version, e.g. the > output of "git > show". > > > 2. download configuration file and copy it into > source code folder. > > > What did you save it as in the source code folder? Was > it ".config"? > > > 3. compile. > > With what command line exactly? > > Thanks, > Ian. > > > >_______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel