Re: [Xen-devel] error while compiling Xen from the source

2016-06-10 Thread Safa Hamza
i'm really confused
i build xen from the source in pc running ubuntu mate but while trying to
do the same steps in order to build xen on other pc running 12.04 i got
this error

this is the log where xen is build successfully

checking for python-config... /usr/bin/python-config
checking Python.h usability... yes
checking Python.h presence... yes
checking for Python.h... yes
checking for PyArg_ParseTuple in -lpython2.7... yes
checking whether Python setup.py brokenly enables -D_FORTIFY_SOURCE... yes
checking for xgettext... /usr/bin/xgettext
checking for iasl... /usr/bin/iasl
checking uuid/uuid.h usability... yes
checking uuid/uuid.h presence... yes
checking for uuid/uuid.h... yes



*checking for uuid_clear in -luuid... yeschecking uuid.h usability...
nochecking uuid.h presence... nochecking for uuid.h... no*
checking curses.h usability... yes
checking curses.h presence... yes
checking for curses.h... yes
checking for clear in -lcurses... yes
checking ncurses.h usability... yes
checking ncurses.h presence... yes
checking for ncurses.h... yes

 and this is the log where the error is shown

checking uuid/uuid.h usability... yes
> checking uuid/uuid.h presence... yes
> checking for uuid/uuid.h... yes
>


*checking for uuid_clear in -luuid... no > checking uuid.h usability... no
> checking uuid.h presence... no > checking for uuid.h... no*
> configure: error: cannot find a valid uuid library
> configure: error: ./configure failed for tools
>

the problem is there is no difference

On Fri, Jun 10, 2016 at 3:47 PM, Wei Liu  wrote:

> On Fri, Jun 10, 2016 at 04:41:01PM +0200, Safa Hamza wrote:
> > but in this case .. this error is back
> >
> > checking uuid/uuid.h usability... yes
> > checking uuid/uuid.h presence... yes
> > checking for uuid/uuid.h... yes
> > checking for uuid_clear in -luuid... no
> > checking uuid.h usability... no
> > checking uuid.h presence... no
> > checking for uuid.h... no
> > configure: error: cannot find a valid uuid library
> > configure: error: ./configure failed for tools
> >
> > despite i installed the uuid-dev package
> >
>
> You can read various logs (say config.log) to figure out what went
> wrong. But even if you manage to fix that, the experience is not going
> to be useful in general.
>
> I'm afraid I don't have other further suggestions other than having a
> clean and working build environment. Personally I use Debian, but I know
> other developers who use Arch, Gentoo, Fedora, Ubuntu, OpenSuse and
> CentOS. You can try to build xen in a clean installation of one of the
> above.
>
> Wei.
>
___
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel


Re: [Xen-devel] error while compiling Xen from the source

2016-06-10 Thread Safa Hamza
but in this case .. this error is back

checking uuid/uuid.h usability... yes
checking uuid/uuid.h presence... yes
checking for uuid/uuid.h... yes
checking for uuid_clear in -luuid... no
checking uuid.h usability... no
checking uuid.h presence... no
checking for uuid.h... no
configure: error: cannot find a valid uuid library
configure: error: ./configure failed for tools

despite i installed the uuid-dev package

On Fri, Jun 10, 2016 at 4:33 PM, Wei Liu  wrote:

> On Fri, Jun 10, 2016 at 03:25:40PM +0100, Safa Hamza wrote:
> > but while compiling xen (make dist) i got this error
> >
> >
> > lib/libvhd.so: undefined reference to `uuid_copy@UUID_1.0'
> > lib/libvhd.so: undefined reference to `uuid_clear@UUID_1.0'
> > lib/libvhd.so: undefined reference to `uuid_generate@UUID_1.0'
> > lib/libvhd.so: undefined reference to `uuid_unparse@UUID_1.0'
> > lib/libvhd.so: undefined reference to `uuid_is_null@UUID_1.0'
> > lib/libvhd.so: undefined reference to `uuid_compare@UUID_1.0'
> > lib/libvhd.so: undefined reference to `uuid_parse@UUID_1.0'
> > collect2: error: ld returned 1 exit status
> > make[5]: *** [vhd-util] Error 1
> > make[5]: Leaving directory `/home/lauterbach/xen1/tools/blktap2/vhd'
> > make[4]: *** [subdir-install-vhd] Error 2
> > make[4]: Leaving directory `/home/lauterbach/xen1/tools/blktap2'
> > make[3]: *** [subdirs-install] Error 2
> > make[3]: Leaving directory `/home/lauterbach/xen1/tools/blktap2'
> > make[2]: *** [subdir-install-blktap2] Error 2
> > make[2]: Leaving directory `/home/lauterbach/xen1/tools'
> > make[1]: *** [subdirs-install] Error 2
> > make[1]: Leaving directory `/home/lauterbach/xen1/tools'
> > make: *** [install-tools] Error 2
> >
>
> The need to install libgcc.deb by hand and these error indicate
> something very wrong with your build environment. I suggest you use a
> clean slate install.
>
> These errors have nothing to do with the Xen build system really.
>
> Wei.
>
> >
> > On Fri, Jun 10, 2016 at 2:53 PM, Safa Hamza 
> wrote:
> >
> > > the uuid library is already installed.. i solved the problem by
> > > downloading  libgcc.deb then i installed this package with "dpkg -i"
> command
> > >
> > > On Fri, Jun 10, 2016 at 3:23 PM, Wei Liu  wrote:
> > >
> > >> On Fri, Jun 10, 2016 at 01:03:49PM +0100, Safa Hamza wrote:
> > >> > i'm working now with another PC running ubuntu 12.04 ..
> > >> > while configuring Xen from the source i got this error
> > >> >
> > >> > checking uuid/uuid.h usability... yes
> > >> > checking uuid/uuid.h presence... yes
> > >> > checking for uuid/uuid.h... yes
> > >> > checking for uuid_clear in -luuid... no
> > >> > checking uuid.h usability... no
> > >> > checking uuid.h presence... no
> > >> > checking for uuid.h... no
> > >> > configure: error: cannot find a valid uuid library
> > >>
> > >> This.
> > >>
> > >> Please install the uuid development library in your distro.
> > >>
> > >>
> > >> Wei.
> > >>
> > >
> > >
>
___
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel


Re: [Xen-devel] error while compiling Xen from the source

2016-06-10 Thread Safa Hamza
but while compiling xen (make dist) i got this error


lib/libvhd.so: undefined reference to `uuid_copy@UUID_1.0'
lib/libvhd.so: undefined reference to `uuid_clear@UUID_1.0'
lib/libvhd.so: undefined reference to `uuid_generate@UUID_1.0'
lib/libvhd.so: undefined reference to `uuid_unparse@UUID_1.0'
lib/libvhd.so: undefined reference to `uuid_is_null@UUID_1.0'
lib/libvhd.so: undefined reference to `uuid_compare@UUID_1.0'
lib/libvhd.so: undefined reference to `uuid_parse@UUID_1.0'
collect2: error: ld returned 1 exit status
make[5]: *** [vhd-util] Error 1
make[5]: Leaving directory `/home/lauterbach/xen1/tools/blktap2/vhd'
make[4]: *** [subdir-install-vhd] Error 2
make[4]: Leaving directory `/home/lauterbach/xen1/tools/blktap2'
make[3]: *** [subdirs-install] Error 2
make[3]: Leaving directory `/home/lauterbach/xen1/tools/blktap2'
make[2]: *** [subdir-install-blktap2] Error 2
make[2]: Leaving directory `/home/lauterbach/xen1/tools'
make[1]: *** [subdirs-install] Error 2
make[1]: Leaving directory `/home/lauterbach/xen1/tools'
make: *** [install-tools] Error 2


On Fri, Jun 10, 2016 at 2:53 PM, Safa Hamza  wrote:

> the uuid library is already installed.. i solved the problem by
> downloading  libgcc.deb then i installed this package with "dpkg -i" command
>
> On Fri, Jun 10, 2016 at 3:23 PM, Wei Liu  wrote:
>
>> On Fri, Jun 10, 2016 at 01:03:49PM +0100, Safa Hamza wrote:
>> > i'm working now with another PC running ubuntu 12.04 ..
>> > while configuring Xen from the source i got this error
>> >
>> > checking uuid/uuid.h usability... yes
>> > checking uuid/uuid.h presence... yes
>> > checking for uuid/uuid.h... yes
>> > checking for uuid_clear in -luuid... no
>> > checking uuid.h usability... no
>> > checking uuid.h presence... no
>> > checking for uuid.h... no
>> > configure: error: cannot find a valid uuid library
>>
>> This.
>>
>> Please install the uuid development library in your distro.
>>
>>
>> Wei.
>>
>
>
___
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel


Re: [Xen-devel] error while compiling Xen from the source

2016-06-10 Thread Safa Hamza
the uuid library is already installed.. i solved the problem by downloading
 libgcc.deb then i installed this package with "dpkg -i" command

On Fri, Jun 10, 2016 at 3:23 PM, Wei Liu  wrote:

> On Fri, Jun 10, 2016 at 01:03:49PM +0100, Safa Hamza wrote:
> > i'm working now with another PC running ubuntu 12.04 ..
> > while configuring Xen from the source i got this error
> >
> > checking uuid/uuid.h usability... yes
> > checking uuid/uuid.h presence... yes
> > checking for uuid/uuid.h... yes
> > checking for uuid_clear in -luuid... no
> > checking uuid.h usability... no
> > checking uuid.h presence... no
> > checking for uuid.h... no
> > configure: error: cannot find a valid uuid library
>
> This.
>
> Please install the uuid development library in your distro.
>
>
> Wei.
>
___
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel


Re: [Xen-devel] error while compiling Xen from the source

2016-06-10 Thread Safa Hamza
i'm working now with another PC running ubuntu 12.04 ..
while configuring Xen from the source i got this error

checking uuid/uuid.h usability... yes
checking uuid/uuid.h presence... yes
checking for uuid/uuid.h... yes
checking for uuid_clear in -luuid... no
checking uuid.h usability... no
checking uuid.h presence... no
checking for uuid.h... no
configure: error: cannot find a valid uuid library
configure: error: ./configure failed for tools


i even build the uuid library from the source

cd libuuid-1.0.3

./configure --prefix=/usr/local

make

sudo make install

but still the same problem





On Fri, Jun 3, 2016 at 4:23 PM, Wei Liu  wrote:

> On Fri, Jun 03, 2016 at 05:21:33PM +0200, Safa Hamza wrote:
> > i did what u asked me to do but there is no warning msg
> > but when i downloaded xen from the source  git clone git://
> > xenbits.xen.org/xen.git
> >  without this git checkout -b RELEASE-4.3.1 RELEASE-4.3.1
> > it worked fine , i just wonder why !!
> >
>
> Did you perhaps use -j$NUM? In that case please either go through all
> the output or don't use -j.
>
> Wei.
>
> >
> > On Thu, Jun 2, 2016 at 5:26 PM, Wei Liu  wrote:
> >
> > > On Thu, Jun 02, 2016 at 04:22:25PM +0100, Safa Hamza wrote:
> > > > hello
> > > > in order to build   Xen from the source on my host (Intel x86-x64
> running
> > > > Ubuntu mate)
> > > > I downloaded Xen Source Code from
> > > > git clone git://xenbits.xen.org/xen.gitthen
> > > > git checkout -b RELEASE-4.3.1 RELEASE-4.3.1
> > > > I configured it successfully but when I want to compiled, an error
> > > showed up
> > > >
> > > >
> > > >
> > > > cc1: all warnings being treated as errors
> > >
> > > You happen to trim out the root cause of your failure.
> > >
> > > Look for the warning message (maybe just a few lines above) and fix
> > > that.
> > >
> > > Wei.
> > >
>
___
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel


Re: [Xen-devel] error while compiling Xen from the source

2016-06-03 Thread Safa Hamza
i did what u asked me to do but there is no warning msg
but when i downloaded xen from the source  git clone git://
xenbits.xen.org/xen.git
 without this git checkout -b RELEASE-4.3.1 RELEASE-4.3.1
it worked fine , i just wonder why !!


On Thu, Jun 2, 2016 at 5:26 PM, Wei Liu  wrote:

> On Thu, Jun 02, 2016 at 04:22:25PM +0100, Safa Hamza wrote:
> > hello
> > in order to build   Xen from the source on my host (Intel x86-x64 running
> > Ubuntu mate)
> > I downloaded Xen Source Code from
> > git clone git://xenbits.xen.org/xen.gitthen
> > git checkout -b RELEASE-4.3.1 RELEASE-4.3.1
> > I configured it successfully but when I want to compiled, an error
> showed up
> >
> >
> >
> > cc1: all warnings being treated as errors
>
> You happen to trim out the root cause of your failure.
>
> Look for the warning message (maybe just a few lines above) and fix
> that.
>
> Wei.
>
___
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel


[Xen-devel] error while compiling Xen from the source

2016-06-02 Thread Safa Hamza
hello
in order to build   Xen from the source on my host (Intel x86-x64 running
Ubuntu mate)
I downloaded Xen Source Code from
git clone git://xenbits.xen.org/xen.gitthen
git checkout -b RELEASE-4.3.1 RELEASE-4.3.1
I configured it successfully but when I want to compiled, an error showed up



cc1: all warnings being treated as errors
/home/safa/xen/tools/blktap/drivers/../../../tools/Rules.mk:89: recipe for
target 'block-qcow.o' failed
make[5]: *** [block-qcow.o] Error 1
make[5]: Leaving directory '/home/safa/xen/tools/blktap/drivers'
/home/safa/xen/tools/blktap/../../tools/Rules.mk:105: recipe for target
'subdir-install-drivers' failed
make[4]: *** [subdir-install-drivers] Error 2
make[4]: Leaving directory '/home/safa/xen/tools/blktap'
/home/safa/xen/tools/blktap/../../tools/Rules.mk:100: recipe for target
'subdirs-install' failed
make[3]: *** [subdirs-install] Error 2
make[3]: Leaving directory '/home/safa/xen/tools/blktap'
/home/safa/xen/tools/../tools/Rules.mk:105: recipe for target
'subdir-install-blktap' failed
make[2]: *** [subdir-install-blktap] Error 2
make[2]: Leaving directory '/home/safa/xen/tools'
/home/safa/xen/tools/../tools/Rules.mk:100: recipe for target
'subdirs-install' failed
make[1]: *** [subdirs-install] Error 2
make[1]: Leaving directory '/home/safa/xen/tools'
Makefile:74: recipe for target 'install-tools' failed
make: *** [install-tools] Error 2


how can I fix it... it may be a missing package!!  I didn't find the
solution after spending a long time googling
i  I’ll appreciate your help
___
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel


Re: [Xen-devel] run xen on hikey board

2016-04-15 Thread Safa Hamza
thanks for your reply

can you explain more .. which patch you mean..
writing   " make dist-xen XEN_TARGET_ARCH=arm64
CROSS_COMPILE=aarch64-linux-gnu-"

is not enough for building xen on hikey  board !!
because i didn't find any patch for  xen

Regards





On Thu, Apr 14, 2016 at 9:13 PM, Julien Grall  wrote:

> On 14/04/2016 12:39, Safa Hamza wrote:
>
>> hello
>>
>
> Hello,
>
>   to build xen on hikey board ..only should i write
>>
>> make dist-xen XEN_TARGET_ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu-
>>
>>
>>
>> there is no CONFIG_EARLY_PRINTK like other board (omap5432 , cubie ..)
>>
>
> Nobody adds earlyprintk support for the hikey board. Feel free to send a
> patch for it.
>
> However, CONFIG_EARLY_PRINTK should not be necessary unless you are trying
> to debug early boot.
>
> Regards,
>
> --
> Julien Grall
>
___
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel


[Xen-devel] run xen on hikey board

2016-04-14 Thread Safa Hamza
hello
 to build xen on hikey board ..only should i write

make dist-xen XEN_TARGET_ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu-



there is no  CONFIG_EARLY_PRINTK like other board (omap5432 , cubie ..)

Regards
___
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel


[Xen-devel] i don't get any eth0 while running xen on omap5

2016-03-21 Thread Safa Hamza
i get xen running on omap5 board with linux dom0 and ubuntu 14.04 lts file
system

i Get the linux kernel source from

git clone git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git


now i'm trying to install some guests but the problem i don't have internet
connexion


when typing "ifconfig" i don't get any "eth0" only" lo losetup" despite in
/etc/network/interfaces there is eth0 .

i think the problem is in my kernel configuration but i don't know to fix
it ..

i'll apprecite your help

Regards
___
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel


Re: [Xen-devel] (no subject)

2016-03-20 Thread Safa Hamza
i solve the problem

On Thu, Mar 17, 2016 at 1:20 PM, Safa Hamza  wrote:

> i'm trying to run xen on omap5 and installing some guests ..  it seems it
> works and a xen boot dom0 as shown the screen shot
> but with this arago project i can't download any package ..all commands
> such as apt-get ,update ... are not found
> i tried to have another file system but its not working ..
> can you help me .. with which file system can i work
> thanks
>
___
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel


[Xen-devel] (no subject)

2016-03-19 Thread Safa Hamza
i'm trying to run xen on omap5 and installing some guests ..  it seems it
works and a xen boot dom0 as shown the screen shot
but with this arago project i can't download any package ..all commands
such as apt-get ,update ... are not found
i tried to have another file system but its not working ..
can you help me .. with which file system can i work
thanks
___
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel


Re: [Xen-devel] help

2016-03-15 Thread Safa Hamza
   2.398352] SYSEN1: no parameters
[2.401215] SYSEN2: no parameters
[2.404489] omap_i2c 4807.i2c: bus 0 rev0.12 at 400 kHz
[2.411055] omap_i2c 4807c000.i2c: bus 4 rev0.12 at 400 kHz
[2.416843] drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
[2.448585] EXT3-fs (mmcblk0p2): error: couldn't mount because of
unsupported optional features (240)
[2.453480] EXT2-fs (mmcblk0p2): error: couldn't mount because of
unsupported optional features (244)
[2.602885] EXT4-fs (mmcblk0p2): recovery complete
[2.605400] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data
mode. Opts: (null)
[2.610379] VFS: Mounted root (ext4 filesystem) on device 179:2.
[2.623192] devtmpfs: mounted
[2.623584] Freeing unused kernel memory: 340K (c079e000 - c07f3000)
INIT: version 2.88 booting
Starting udev
[3.169771] udev[871]: starting version 164
[5.205065] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some
data may be corrupt. Please run fsck.
[5.400187] EXT4-fs (mmcblk1p4): recovery complete
[5.400309] EXT4-fs (mmcblk1p4): mounted filesystem with ordered data
mode. Opts: (null)
[5.492162] random: nonblocking pool is initialized
ERROR: could not open directory
/lib/modules/3.15.0-rc2-00199-g0c0a3e5-dirty: No such file or directory
WARNING: -e needs -E or -F
ERROR: could not open directory
/lib/modules/3.15.0-rc2-00199-g0c0a3e5-dirty: No such file or directory
FATAL: could not search modules: No such file or directory
Starting Bootlog daemon: bootlogd: cannot allocate pseudo tty: No such file
or directory
bootlogd.
[5.831227] EXT4-fs (mmcblk0p2): re-mounted. Opts: data=ordered
ALSA: Restoring mixer settings...
Configuring network interfaces... /usr/sbin/alsactl: load_state:1686: No
soundcards found...
ifconfig: SIOCGIFFLAGS: No such device
done.
hwclock: can't open '/dev/misc/rtc': No such file or directory
Mon Jul  1 15:13:00 UTC 2013
hwclock: can't open '/dev/misc/rtc': No such file or directory
INIT: Entering runlevel: 5
Starting telnet daemon.
hwclock: can't open '/dev/misc/rtc': No such file or directory
Starting syslogd/klogd: done
Starting thttpd.
Stopping Bootlog daemon: bootlogd.

***
 no console appears .. i guess the problem in the file system ... but this
file works fine with the linux kernel in omap5 without  the xen hypervisor

should i make any changement in the rootfs so it can works with xen
hypervisor !! or any other solution !!
Regards


On Fri, Mar 11, 2016 at 6:16 PM, Wei Liu  wrote:

> Add back xen-devel
>
> On Fri, Mar 11, 2016 at 05:23:22PM +0100, Safa Hamza wrote:
> > ok .. can u tell me how compile xen with debug symbols !!  i have
> xen-syms
> > after compiling xen with "make dist-xen XEN_TARGET_ARCH=arm32
> > CROSS_COMPILE=arm-linux-gnueabihf- CONFIG_EARLY_PRINTK=omap5432"   is
> this
> > the kernel  with  debug symbols
> >
>
> I'm not sure if you did the right thing because I've never done any ARM
> development. I'll let other people answer your question.
>
> Wei.
>
> > On Fri, Mar 11, 2016 at 5:09 PM, Wei Liu  wrote:
> >
> > > On Fri, Mar 11, 2016 at 11:02:26AM -0500, Konrad Rzeszutek Wilk wrote:
> > > > On Fri, Mar 11, 2016 at 04:47:47PM +0100, Safa Hamza wrote:
> > > > > now i did just like u said ...  a new error appears
> > > >
> > > > Adding XEn-devel back. Please reply all.
> > > >
> > > > >
> > >
> **
> > > > > U-Boot# fdt addr $dtb_addr_r
> > > > > U-Boot# fdt resize
> > > > > U-Boot# fdt set /chosen xen,xen-bootargs \"$xen_bootargs\"
> > > > > U-Boot# fdt resize
> > > > > U-Boot# fdt set /chosen xen,dom0-bootargs \"$dom0_bootargs\"
> > > > > U-Boot# fdt resize
> > > > > U-Boot# fdt mknode /chosen modules
> > > > > U-Boot# fdt set /chosen/modules '#address-cells' <1>
> > > > > U-Boot# fdt set /chosen/modules '#size-cells' <1>
> > > > > U-Boot# fdt mknode /chosen/modules module@0
> > > > > libfdt fdt_add_subnode(): FDT_ERR_NOSPACE
> > > > >
> > >
> **
> > > > > but when i wrote  fdt resize before  fdt mknode /chosen/modules
> > > module@0
> > > > > this error disappear but still the execution stops as i mentioned
> > > before
> &

Re: [Xen-devel] help

2016-03-11 Thread Safa Hamza
i did just like u said ...  a new error appears
**
U-Boot# fdt addr $dtb_addr_r
U-Boot# fdt resize
U-Boot# fdt set /chosen xen,xen-bootargs \"$xen_bootargs\"
U-Boot# fdt resize
U-Boot# fdt set /chosen xen,dom0-bootargs \"$dom0_bootargs\"
U-Boot# fdt resize
U-Boot# fdt mknode /chosen modules
U-Boot# fdt set /chosen/modules '#address-cells' <1>
U-Boot# fdt set /chosen/modules '#size-cells' <1>
U-Boot# fdt mknode /chosen/modules module@0
libfdt fdt_add_subnode(): FDT_ERR_NOSPACE
**
but when i wrote  fdt resize before  fdt mknode /chosen/modules module@0
this error disappear but still the execution stops as i mentioned before

On Fri, Mar 11, 2016 at 5:02 PM, Konrad Rzeszutek Wilk <
konrad.w...@oracle.com> wrote:

> On Fri, Mar 11, 2016 at 04:47:47PM +0100, Safa Hamza wrote:
> > now i did just like u said ...  a new error appears
>
> Adding XEn-devel back. Please reply all.
>
> >
> **
> > U-Boot# fdt addr $dtb_addr_r
> > U-Boot# fdt resize
> > U-Boot# fdt set /chosen xen,xen-bootargs \"$xen_bootargs\"
> > U-Boot# fdt resize
> > U-Boot# fdt set /chosen xen,dom0-bootargs \"$dom0_bootargs\"
> > U-Boot# fdt resize
> > U-Boot# fdt mknode /chosen modules
> > U-Boot# fdt set /chosen/modules '#address-cells' <1>
> > U-Boot# fdt set /chosen/modules '#size-cells' <1>
> > U-Boot# fdt mknode /chosen/modules module@0
> > libfdt fdt_add_subnode(): FDT_ERR_NOSPACE
> >
> **
> > but when i wrote  fdt resize before  fdt mknode /chosen/modules module@0
> > this error disappear but still the execution stops as i mentioned before
> >
> > On Fri, Mar 11, 2016 at 4:20 PM, Konrad Rzeszutek Wilk <
> > konrad.w...@oracle.com> wrote:
> >
> > > On Fri, Mar 11, 2016 at 10:20:01AM -0500, Konrad Rzeszutek Wilk wrote:
> > > > On Fri, Mar 11, 2016 at 04:05:58PM +0100, Safa Hamza wrote:
> > >
> > > And please do not drop Xen-devel. Adding it back on.
> > >
> > > > > i did like u said but nothing change ..
> > > > >
> > > >
> > > > No you didn't. See below:
> > > > > U-Boot# setenv dom0_bootargs 'console=hvc0,115200n8 earlyprintk=xen
> > > debug'
> > > >
> > > > You still have 115200n8
> > >
>
___
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel


[Xen-devel] help

2016-03-10 Thread Safa Hamza
hello
i'm trying to run xen on omap5 following
this
http://wiki.xenproject.org/wiki/Xen_ARM_with_Virtualization_Extensions/OMAP5432_uEVM

the execution stops at this point

**
U-Boot SPL 2013.10-rc2 (Mar 08 2016 - 14:23:51)
OMAP5432 ES2.0
SPL: Please implement spl_start_uboot() for your board
SPL: Direct Linux boot not active!
reading u-boot.img
reading u-boot.img


U-Boot 2013.10-rc2 (Mar 08 2016 - 14:23:51)

CPU  : OMAP5432 ES2.0
Board: OMAP5432 uEVM
I2C:   ready
DRAM:  2 GiB
MMC:   OMAP SD/MMC: 0, OMAP SD/MMC: 1
Using default environment

Net:   No ethernet found.
Hit any key to stop autoboot:  0
mmc0 is current device
reading boot.scr
** Unable to read file boot.scr **
reading uEnv.txt
** Unable to read file uEnv.txt **
** File not found /boot/zImage **
U-Boot# setenv dtb_addr_r 0x825f
U-Boot# setenv xen_addr_r 0x9000
U-Boot# setenv kernel_addr_r 0xa000
U-Boot# setenv xen_bootargs 'sync_console console=dtuart dtuart=serial2'
U-Boot# setenv dom0_bootargs 'console=hvc0,115200n8 earlyprintk=xen debug
ignore_loglevel root=/dev/mmcblk0p2 rw rootwait fixrtc'
U-Boot# fatload mmc 0:1 $dtb_addr_r omap5-uevm.dtb
reading omap5-uevm.dtb
44836 bytes read in 7 ms (6.1 MiB/s)
U-Boot# fatload mmc 0:1 $xen_addr_r xen-uImage
reading xen-uImage
787372 bytes read in 43 ms (17.5 MiB/s)
U-Boot# fatload mmc 0:1 $kernel_addr_r zImage
reading zImage
4284248 bytes read in 213 ms (19.2 MiB/s)
U-Boot# fdt addr $dtb_addr_r
U-Boot# fdt resize
U-Boot# fdt set /chosen xen,xen-bootargs \"$xen_bootargs\"
U-Boot# fdt resize
U-Boot# fdt set /chosen xen,dom0-bootargs \"$dom0_bootargs\"
U-Boot# fdt resize
U-Boot# fdt mknode /chosen modules
U-Boot# fdt set /chosen/modules '#address-cells' <1>
U-Boot# fdt set /chosen/modules '#size-cells' <1>
U-Boot# fdt mknode /chosen/modules module@0
U-Boot# fdt set /chosen/modules/module@0 compatible xen,linux-zimage
xen,multiboot-module
U-Boot# fdt set /chosen/modules/module@0 reg <$kernel_addr_r 0xa0>
U-Boot# bootm $xen_addr_r - $dtb_addr_r
## Booting kernel from Legacy Image at 9000 ...
   Image Name:
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:787308 Bytes = 768.9 KiB
   Load Address: 8020
   Entry Point:  8020
   Verifying Checksum ... OK
## Flattened Device Tree blob at 825f
   Booting using the fdt blob at 0x825f
   Loading Kernel Image ... OK
   reserving fdt memory region: addr=825f size=c000
   Using Device Tree in place at 825f, end 825fefff

Starting kernel ...

- UART enabled -
- CPU  booting -
- Xen starting in Hyp mode -
- Zero BSS -
- Setting up control registers -
- Turning on paging -
- Ready -
(XEN) Checking for initrd in /chosen
(XEN) RAM: 8000 - feff
(XEN)
(XEN) MODULE[0]: 825f - 825fc000 Device Tree
(XEN) MODULE[1]: a000 - a0a0 Kernel
(XEN)  RESVD[0]: 825f - 825fc000
(XEN)
(XEN) Command line: sync_console console=dtuart dtuart=serial2
(XEN) Placing Xen at 0xfee0-0xff00
(XEN) Update BOOTMOD_XEN from 8020-80305701 =>
fee0-fef05701
(XEN) Xen heap: fa00-fe00 (16384 pages)
(XEN) Dom heap: 503808 pages
(XEN) Domain heap initialised
(XEN) Platform: TI OMAP5
(XEN) Looking for dtuart at "serial2", options ""
 Xen 4.7-unstable
(XEN) Xen version 4.7-unstable (root@) (arm-linux-gnueabihf-gcc (Linaro GCC
2014.11) 4.9.3 20141031 (prerelease)) debug=y Tue Mar  1 15:02:30 CET 2016
(XEN) Latest ChangeSet: Sun Feb 28 16:03:51 2016 -0500 git:42391c6
(XEN) Console output is synchronous.
(XEN) Processor: 412fc0f2: "ARM Limited", variant: 0x2, part 0xc0f, rev 0x2
(XEN) 32-bit Execution:
(XEN)   Processor Features: 1131:00011011
(XEN) Instruction Sets: AArch32 A32 Thumb Thumb-2 ThumbEE Jazelle
(XEN) Extensions: GenericTimer Security
(XEN)   Debug Features: 02010555
(XEN)   Auxiliary Features: 
(XEN)   Memory Model Features: 10201105 2000 0124 02102211
(XEN)  ISA Features: 02101110 13112111 21232041 2131 10011142 
(XEN) Set AuxCoreBoot1 to fee0004c (0020004c)
(XEN) Set AuxCoreBoot0 to 0x20
(XEN) Generic Timer IRQ: phys=30 hyp=26 virt=27 Freq: 6144 KHz
(XEN) GICv2: WARNING: The GICC size is too small: 0x1000 expected 0x2000
(XEN) GICv2 initialization:
(XEN) gic_dist_addr=48211000
(XEN) gic_cpu_addr=48212000
(XEN) gic_hyp_addr=48214000
(XEN) gic_vcpu_addr=48216000
(XEN) gic_maintenance_irq=25
(XEN) GICv2: 192 lines, 2 cpus, secure (IID 043b).
(XEN) Using scheduler: SMP Credit Scheduler (credit)
(XEN) Allocated console ring of 16 KiB.
(XEN) VFP implementer 0x41 architecture 4 part 0x30 variant 0xf rev 0x0
(XEN) Bringing up CPU1
- CPU 0001 booting -
- Xen starting in Hyp mode -
- Setting up control registers -
- Turning on paging -
- Ready -
(X