Re: [Embeddedxen-devel] Information on Embedded Xen for ARM
Brought to you by:
rossierd
From: ROSSIER D. <Dan...@he...> - 2009-06-25 14:57:11
|
> -----Original Message----- > From: Venkatraman V [mailto:ven...@gm...] > Sent: jeudi, 25. juin 2009 13:41 > To: ROSSIER Daniel > Subject: Re: Information on Embedded Xen for ARM > > Hello Daniel, > > I had downloaded the sources from sourceforge. Could you please help me > in knowing the order in which i should go about the build process? > > I saw a .config file in the un-tarred directory, so I just did a > > make ARCH=arm CROSS_COMPILE=/scratchbox/compilers/arm-linux-2007q1- > 21/bin/arm-none-linux-gnueabi- > > It built completely and zImage was created under xen > (xen/arch/arm/boot/zImage). > > Once this was done, I assumed, this to be the kernel image to be given > to qemu, which i did, using the following command: > > sudo qemu-system-arm -M spitz -kernel ./xen/arch/arm/boot/zImage - > mtdblock ../kgdb/pxa_nand_rootfs_ecc -hda ../linux- > 2.6.27.8_console/scsi.img -serial stdio > > where > 1) pxa_nand_rootd_ecc is a nand flash i had created (with just the > busybox), since you have to give a mtd device for PXA (spitz) in qemu) > > 2) the scsi.img is a filesystem image (ext2) which could be excluded > too. > > However, this is the error (in italics) I receive: > > Error: unrecognized/unsupported machine ID (r1 = 0x000002c9). > > Available machine support: > > ID (hex) NAME > 00000196 Intel HCDDBBVA0 Development Platform (aka Mainstone) / > EmbeddedXEN (xen-pxa270-qemu) > > Please check your kernel config and/or bootloader. > > Yes, this is normal since the image is compiled for a Mainstone/PXA270 platform. If you want to use the image with a Spitz board, you simply need to adapt the machine-specific files accordingly. But I would recommend to use Mainstone as the emulated PXA270 platform. > Please let me know as to where I am going wrong? > > Regards > > VenkatRaman > > Daniel ps: you can also retrieve the last version grom git, but be careful because the .config is currently for a Colibri/PXA270 board (just need to change the CONFIG_MACH_xxx in .config) > > > > On Tue, Jun 23, 2009 at 11:50 AM, ROSSIER Daniel <Daniel.Rossier@heig- > vd.ch> wrote: > Hi Venkatraman, > > > -----Original Message----- > > From: Venkatraman V [mailto:ven...@gm...] > > Sent: mardi, 23. juin 2009 07:18 > > To: ROSSIER Daniel > > Subject: Information on Embedded Xen for ARM > > > > Hello Daniel, > > > > I saw your project on source forge, regarding the Embedded Xen for > ARM. > > Way to go! > > > > I would like to have some information regarding the project (which I > > couldnt find). > > > > - Is it like an embedded hypervisor for ARM ? > > > > or > > > > - Is it a Hypervisor, bundled with the Linux 2.6.18 and the miniOS > > kernel, to show the possibility of multi-kernel functionality on > > embedded systems? > > > Well, both statemetns are corrects; the hypervisor is embedded within a > single image including Linux 2.6.18 and miniOS. In the coming days, > we will also provide the Xenomai subtree which contains all APIs for > hard realtime applications (see http://www.xenomai.org). > > Indeed, we want to dig into multi-kernel (and virtualization) > approaches for embedded systems, especially for hard realtime and also > for applications and OS migrating from one environment to another. > > > Would download the binary and try it on qemu and would give my > > feedback. > > > Thanks. Please don't hesitate to ask questions if any, or simply keep > us informed about your feedback and ideas. > > > Regards > > > > VenkatRaman > > > > PS: I am new to virtualization and linux environment, please bear > with > > me, in case I ask irrelevant questions... > No worry. > > Daniel |