Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Xen: ARM

Deploying Xen ARM in Quadmo747-X/T20

 

 

Xen arm RSS feed   Index | Next | Previous | View Threaded


josep.subirats at bsc

Jul 4, 2012, 4:37 AM

Post #1 of 18 (1761 views)
Permalink
Deploying Xen ARM in Quadmo747-X/T20

Dear Mr. Ryu and Suh,

First of all, sorry for this long e-mail, although I think it can be
very useful for these people which just started taking steps in the
xen-arm world. :)

I'm working with a Quadmo747-X/T20 board, which is a Tegra2 Harmony
board, specs are in the following initial output from the serial board's
port and link:

TEGRA2
Board: Tegra2 Harmony board
DRAM: 1 GB

http://www.seco.com/en/item/quadmo747-x_t20/

I've succeeded in compiling xen-arm and linux-xen, which I obtained from
the following post:

http://lists.xen.org/archives/html/xen-devel/2012-02/msg00825.html

I used the cross-compiler which I obtained from:

https://aur.archlinux.org/packages.php?ID=48252

I tried the cross-compiler which came with the repositories in Kubuntu
11.04, but I got some errors, that's why I tried with this one
(conveniently modifying the TOOLCHAIN_PREFIX variable in the makefiles).

The thing is that I am able to compile the code and I obtain the
following files in xen-arm:

3434823 120K -rwxr-xr-x 1 jsubirat jsubirat 118K 2012-07-04 12:12 xen
3434635 68K -rw-r--r-- 1 jsubirat jsubirat 65K 2012-07-04 12:12 xen.gz
3434636 692K -rwxr-xr-x 1 jsubirat jsubirat 690K 2012-07-04 12:12 xen-syms

And the following ones in the linux-xen:

3436766 52M -rwxr-xr-x 1 root root 52M 2012-07-04 13:21 vmlinux
3436754 77M -rw-r--r-- 1 root root 77M 2012-07-04 13:21 vmlinux.o

I download the files into the board using the following commands:

tftpboot 0x8000 xen
tftpboot 0x1E800000 vmlinux
go 0x8000

At this point, I was expecting to see some Xen output, but instead I
obtain nothing, only "Starting application at 0x00008000" and nothing
else. I googled about it, and I found this post:

http://lists.xen.org/archives/html/xen-arm/2012-03/msg00008.html

He had the same problem as me, but I noticed that Wang was downloading
the xen file in a different memory position: 0xC0008000. I started
investigating this, and I observed that in the file xen/System.map, it says:

# cat xen/System.map
ff008000 A _start
[...]

So, I tried downloading xen in 0xC0008000 and 0xFF008000 positions, with
no success. I googled again, and I came accross with this post, which
mentions that the serial output is disabled by default in Xen:

http://web.archiveorange.com/archive/v/pyNG7oGVJuo074YY8sEI

I looked at the tegra250.c file and I saw a #if 0 preprocessor
instruction. I commented the #if 0 and the #endif, compiled again, but
still no output or anything showing any reaction.

What am I doing wrong? What can it be that causes this empty output? Am
I using a wrong direction to download xen? Should I receive some output,
even if I don't download the kernel (I ask this in order to save some
time while testing xen-arm boot, so I don't have to download each time,
until I manage to get xen-arm to work)? Many thanks in advance.

Best regards,

Josep Subirats


WARNING / LEGAL TEXT: This message is intended only for the use of the
individual or entity to which it is addressed and may contain
information which is privileged, confidential, proprietary, or exempt
from disclosure under applicable law. If you are not the intended
recipient or the person responsible for delivering the message to the
intended recipient, you are strictly prohibited from disclosing,
distributing, copying, or in any way using this message. If you have
received this communication in error, please notify the sender and
destroy and delete any copies you may have received.

http://www.bsc.es/disclaimer


josep.subirats at bsc

Jul 4, 2012, 4:37 AM

Post #2 of 18 (1680 views)
Permalink
Deploying Xen ARM in Quadmo747-X/T20 [In reply to]

Dear Mr. Ryu and Suh,

First of all, sorry for this long e-mail, although I think it can be
very useful for these people which just started taking steps in the
xen-arm world. :)

I'm working with a Quadmo747-X/T20 board, which is a Tegra2 Harmony
board, specs are in the following initial output from the serial board's
port and link:

TEGRA2
Board: Tegra2 Harmony board
DRAM: 1 GB

http://www.seco.com/en/item/quadmo747-x_t20/

I've succeeded in compiling xen-arm and linux-xen, which I obtained from
the following post:

http://lists.xen.org/archives/html/xen-devel/2012-02/msg00825.html

I used the cross-compiler which I obtained from:

https://aur.archlinux.org/packages.php?ID=48252

I tried the cross-compiler which came with the repositories in Kubuntu
11.04, but I got some errors, that's why I tried with this one
(conveniently modifying the TOOLCHAIN_PREFIX variable in the makefiles).

The thing is that I am able to compile the code and I obtain the
following files in xen-arm:

3434823 120K -rwxr-xr-x 1 jsubirat jsubirat 118K 2012-07-04 12:12 xen
3434635 68K -rw-r--r-- 1 jsubirat jsubirat 65K 2012-07-04 12:12 xen.gz
3434636 692K -rwxr-xr-x 1 jsubirat jsubirat 690K 2012-07-04 12:12 xen-syms

And the following ones in the linux-xen:

3436766 52M -rwxr-xr-x 1 root root 52M 2012-07-04 13:21 vmlinux
3436754 77M -rw-r--r-- 1 root root 77M 2012-07-04 13:21 vmlinux.o

I download the files into the board using the following commands:

tftpboot 0x8000 xen
tftpboot 0x1E800000 vmlinux
go 0x8000

At this point, I was expecting to see some Xen output, but instead I
obtain nothing, only "Starting application at 0x00008000" and nothing
else. I googled about it, and I found this post:

http://lists.xen.org/archives/html/xen-arm/2012-03/msg00008.html

He had the same problem as me, but I noticed that Wang was downloading
the xen file in a different memory position: 0xC0008000. I started
investigating this, and I observed that in the file xen/System.map, it says:

# cat xen/System.map
ff008000 A _start
[...]

So, I tried downloading xen in 0xC0008000 and 0xFF008000 positions, with
no success. I googled again, and I came accross with this post, which
mentions that the serial output is disabled by default in Xen:

http://web.archiveorange.com/archive/v/pyNG7oGVJuo074YY8sEI

I looked at the tegra250.c file and I saw a #if 0 preprocessor
instruction. I commented the #if 0 and the #endif, compiled again, but
still no output or anything showing any reaction.

What am I doing wrong? What can it be that causes this empty output? Am
I using a wrong direction to download xen? Should I receive some output,
even if I don't download the kernel (I ask this in order to save some
time while testing xen-arm boot, so I don't have to download each time,
until I manage to get xen-arm to work)? Many thanks in advance.

Best regards,

Josep Subirats


WARNING / LEGAL TEXT: This message is intended only for the use of the
individual or entity to which it is addressed and may contain
information which is privileged, confidential, proprietary, or exempt
from disclosure under applicable law. If you are not the intended
recipient or the person responsible for delivering the message to the
intended recipient, you are strictly prohibited from disclosing,
distributing, copying, or in any way using this message. If you have
received this communication in error, please notify the sender and
destroy and delete any copies you may have received.

http://www.bsc.es/disclaimer


josep.subirats at bsc

Jul 12, 2012, 6:48 AM

Post #3 of 18 (1664 views)
Permalink
Re: Deploying Xen ARM in Quadmo747-X/T20 [In reply to]

Hello,

Could anyone give me a tip on this topic? Hasn't anybody deployed
xen-arm on a Tegra? I've tried everything without success. I'm redoing
the same things over and over again trying to modify different things
but I haven't found any solution yet. Any help will be much appreciated.

Many thanks,

Josep

WARNING / LEGAL TEXT: This message is intended only for the use of the
individual or entity to which it is addressed and may contain
information which is privileged, confidential, proprietary, or exempt
from disclosure under applicable law. If you are not the intended
recipient or the person responsible for delivering the message to the
intended recipient, you are strictly prohibited from disclosing,
distributing, copying, or in any way using this message. If you have
received this communication in error, please notify the sender and
destroy and delete any copies you may have received.

http://www.bsc.es/disclaimer

_______________________________________________
Xen-arm mailing list
Xen-arm [at] lists
http://lists.xen.org/cgi-bin/mailman/listinfo/xen-arm


josep.subirats at bsc

Jul 12, 2012, 6:48 AM

Post #4 of 18 (1667 views)
Permalink
Re: Deploying Xen ARM in Quadmo747-X/T20 [In reply to]

Hello,

Could anyone give me a tip on this topic? Hasn't anybody deployed
xen-arm on a Tegra? I've tried everything without success. I'm redoing
the same things over and over again trying to modify different things
but I haven't found any solution yet. Any help will be much appreciated.

Many thanks,

Josep

WARNING / LEGAL TEXT: This message is intended only for the use of the
individual or entity to which it is addressed and may contain
information which is privileged, confidential, proprietary, or exempt
from disclosure under applicable law. If you are not the intended
recipient or the person responsible for delivering the message to the
intended recipient, you are strictly prohibited from disclosing,
distributing, copying, or in any way using this message. If you have
received this communication in error, please notify the sender and
destroy and delete any copies you may have received.

http://www.bsc.es/disclaimer

_______________________________________________
Xen-arm mailing list
Xen-arm [at] lists
http://lists.xen.org/cgi-bin/mailman/listinfo/xen-arm


post4pavan at gmail

Jul 12, 2012, 8:28 AM

Post #5 of 18 (1667 views)
Permalink
Re: Deploying Xen ARM in Quadmo747-X/T20 [In reply to]

Hi,

Have you tried this:

tftp 0xC0008000 xen
go 0xC0008000




On Wed, Jul 4, 2012 at 5:07 PM, Josep Subirats <josep.subirats [at] bsc>wrote:

> Dear Mr. Ryu and Suh,
>
> First of all, sorry for this long e-mail, although I think it can be very
> useful for these people which just started taking steps in the xen-arm
> world. :)
>
> I'm working with a Quadmo747-X/T20 board, which is a Tegra2 Harmony board,
> specs are in the following initial output from the serial board's port and
> link:
>
> TEGRA2
> Board: Tegra2 Harmony board
> DRAM: 1 GB
>
> http://www.seco.com/en/item/quadmo747-x_t20/
>
> I've succeeded in compiling xen-arm and linux-xen, which I obtained from
> the following post:
>
> http://lists.xen.org/archives/html/xen-devel/2012-02/msg00825.html
>
> I used the cross-compiler which I obtained from:
>
> https://aur.archlinux.org/packages.php?ID=48252
>
> I tried the cross-compiler which came with the repositories in Kubuntu
> 11.04, but I got some errors, that's why I tried with this one
> (conveniently modifying the TOOLCHAIN_PREFIX variable in the makefiles).
>
> The thing is that I am able to compile the code and I obtain the following
> files in xen-arm:
>
> 3434823 120K -rwxr-xr-x 1 jsubirat jsubirat 118K 2012-07-04 12:12 xen
> 3434635 68K -rw-r--r-- 1 jsubirat jsubirat 65K 2012-07-04 12:12
> xen.gz
>
> 3434636 692K -rwxr-xr-x 1 jsubirat jsubirat 690K 2012-07-04 12:12
> xen-syms
>
> And the following ones in the linux-xen:
>
> 3436766 52M -rwxr-xr-x 1 root root 52M 2012-07-04 13:21 vmlinux
> 3436754 77M -rw-r--r-- 1 root root 77M 2012-07-04 13:21
> vmlinux.o
>
> I download the files into the board using the following commands:
>
> tftpboot 0x8000 xen
> tftpboot 0x1E800000 vmlinux
> go 0x8000
>
> At this point, I was expecting to see some Xen output, but instead I
> obtain nothing, only "Starting application at 0x00008000" and nothing else.
> I googled about it, and I found this post:
>
> http://lists.xen.org/archives/html/xen-arm/2012-03/msg00008.html
>
> He had the same problem as me, but I noticed that Wang was downloading the
> xen file in a different memory position: 0xC0008000. I started
> investigating this, and I observed that in the file xen/System.map, it says:
>
> # cat xen/System.map
> ff008000 A _start
> [...]
>
> So, I tried downloading xen in 0xC0008000 and 0xFF008000 positions, with
> no success. I googled again, and I came accross with this post, which
> mentions that the serial output is disabled by default in Xen:
>
> http://web.archiveorange.com/archive/v/pyNG7oGVJuo074YY8sEI
>
> I looked at the tegra250.c file and I saw a #if 0 preprocessor
> instruction. I commented the #if 0 and the #endif, compiled again, but
> still no output or anything showing any reaction.
>
> What am I doing wrong? What can it be that causes this empty output? Am I
> using a wrong direction to download xen? Should I receive some output, even
> if I don't download the kernel (I ask this in order to save some time while
> testing xen-arm boot, so I don't have to download each time, until I manage
> to get xen-arm to work)? Many thanks in advance.
>
> Best regards,
>
> Josep Subirats
>
>
> WARNING / LEGAL TEXT: This message is intended only for the use of the
> individual or entity to which it is addressed and may contain information
> which is privileged, confidential, proprietary, or exempt from disclosure
> under applicable law. If you are not the intended recipient or the person
> responsible for delivering the message to the intended recipient, you are
> strictly prohibited from disclosing, distributing, copying, or in any way
> using this message. If you have received this communication in error,
> please notify the sender and destroy and delete any copies you may have
> received.
>
> http://www.bsc.es/disclaimer <http://www.bsc.es/disclaimer.htm>
>
> _______________________________________________
> Xen-arm mailing list
> Xen-arm [at] lists
> http://lists.xen.org/cgi-bin/mailman/listinfo/xen-arm
>
>


--
✉ Regards :: Krishna Pavan ✍


post4pavan at gmail

Jul 12, 2012, 8:28 AM

Post #6 of 18 (1669 views)
Permalink
Re: Deploying Xen ARM in Quadmo747-X/T20 [In reply to]

Hi,

Have you tried this:

tftp 0xC0008000 xen
go 0xC0008000




On Wed, Jul 4, 2012 at 5:07 PM, Josep Subirats <josep.subirats [at] bsc>wrote:

> Dear Mr. Ryu and Suh,
>
> First of all, sorry for this long e-mail, although I think it can be very
> useful for these people which just started taking steps in the xen-arm
> world. :)
>
> I'm working with a Quadmo747-X/T20 board, which is a Tegra2 Harmony board,
> specs are in the following initial output from the serial board's port and
> link:
>
> TEGRA2
> Board: Tegra2 Harmony board
> DRAM: 1 GB
>
> http://www.seco.com/en/item/quadmo747-x_t20/
>
> I've succeeded in compiling xen-arm and linux-xen, which I obtained from
> the following post:
>
> http://lists.xen.org/archives/html/xen-devel/2012-02/msg00825.html
>
> I used the cross-compiler which I obtained from:
>
> https://aur.archlinux.org/packages.php?ID=48252
>
> I tried the cross-compiler which came with the repositories in Kubuntu
> 11.04, but I got some errors, that's why I tried with this one
> (conveniently modifying the TOOLCHAIN_PREFIX variable in the makefiles).
>
> The thing is that I am able to compile the code and I obtain the following
> files in xen-arm:
>
> 3434823 120K -rwxr-xr-x 1 jsubirat jsubirat 118K 2012-07-04 12:12 xen
> 3434635 68K -rw-r--r-- 1 jsubirat jsubirat 65K 2012-07-04 12:12
> xen.gz
>
> 3434636 692K -rwxr-xr-x 1 jsubirat jsubirat 690K 2012-07-04 12:12
> xen-syms
>
> And the following ones in the linux-xen:
>
> 3436766 52M -rwxr-xr-x 1 root root 52M 2012-07-04 13:21 vmlinux
> 3436754 77M -rw-r--r-- 1 root root 77M 2012-07-04 13:21
> vmlinux.o
>
> I download the files into the board using the following commands:
>
> tftpboot 0x8000 xen
> tftpboot 0x1E800000 vmlinux
> go 0x8000
>
> At this point, I was expecting to see some Xen output, but instead I
> obtain nothing, only "Starting application at 0x00008000" and nothing else.
> I googled about it, and I found this post:
>
> http://lists.xen.org/archives/html/xen-arm/2012-03/msg00008.html
>
> He had the same problem as me, but I noticed that Wang was downloading the
> xen file in a different memory position: 0xC0008000. I started
> investigating this, and I observed that in the file xen/System.map, it says:
>
> # cat xen/System.map
> ff008000 A _start
> [...]
>
> So, I tried downloading xen in 0xC0008000 and 0xFF008000 positions, with
> no success. I googled again, and I came accross with this post, which
> mentions that the serial output is disabled by default in Xen:
>
> http://web.archiveorange.com/archive/v/pyNG7oGVJuo074YY8sEI
>
> I looked at the tegra250.c file and I saw a #if 0 preprocessor
> instruction. I commented the #if 0 and the #endif, compiled again, but
> still no output or anything showing any reaction.
>
> What am I doing wrong? What can it be that causes this empty output? Am I
> using a wrong direction to download xen? Should I receive some output, even
> if I don't download the kernel (I ask this in order to save some time while
> testing xen-arm boot, so I don't have to download each time, until I manage
> to get xen-arm to work)? Many thanks in advance.
>
> Best regards,
>
> Josep Subirats
>
>
> WARNING / LEGAL TEXT: This message is intended only for the use of the
> individual or entity to which it is addressed and may contain information
> which is privileged, confidential, proprietary, or exempt from disclosure
> under applicable law. If you are not the intended recipient or the person
> responsible for delivering the message to the intended recipient, you are
> strictly prohibited from disclosing, distributing, copying, or in any way
> using this message. If you have received this communication in error,
> please notify the sender and destroy and delete any copies you may have
> received.
>
> http://www.bsc.es/disclaimer <http://www.bsc.es/disclaimer.htm>
>
> _______________________________________________
> Xen-arm mailing list
> Xen-arm [at] lists
> http://lists.xen.org/cgi-bin/mailman/listinfo/xen-arm
>
>


--
✉ Regards :: Krishna Pavan ✍


josep.subirats at bsc

Jul 12, 2012, 8:59 AM

Post #7 of 18 (1668 views)
Permalink
Re: Deploying Xen ARM in Quadmo747-X/T20 [In reply to]

Hi Krishna,

Many thanks for your answer. Yes, I've tried what you mention but still I get no output in the terminal... Any more ideas? Thanks again!

Josep


Enviado de Samsung MobileKrishna Pavan <post4pavan [at] gmail> escribió:Hi,

Have you tried this:

tftp 0xC0008000 xen
go 0xC0008000




On Wed, Jul 4, 2012 at 5:07 PM, Josep Subirats <josep.subirats [at] bsc> wrote:
Dear Mr. Ryu and Suh,

First of all, sorry for this long e-mail, although I think it can be very useful for these people which just started taking steps in the xen-arm world. :)

I'm working with a Quadmo747-X/T20 board, which is a Tegra2 Harmony board, specs are in the following initial output from the serial board's port and link:

TEGRA2
Board:   Tegra2 Harmony board
DRAM:   1 GB

http://www.seco.com/en/item/quadmo747-x_t20/

I've succeeded in compiling xen-arm and linux-xen, which I obtained from the following post:

http://lists.xen.org/archives/html/xen-devel/2012-02/msg00825.html

I used the cross-compiler which I obtained from:

https://aur.archlinux.org/packages.php?ID=48252

I tried the cross-compiler which came with the repositories in Kubuntu 11.04, but I got some errors, that's why I tried with this one (conveniently modifying the TOOLCHAIN_PREFIX variable in the makefiles).

The thing is that I am able to compile the code and I obtain the following files in xen-arm:

3434823 120K -rwxr-xr-x  1 jsubirat jsubirat 118K 2012-07-04 12:12 xen
3434635  68K -rw-r--r--  1 jsubirat jsubirat  65K 2012-07-04 12:12 xen.gz                                                                                           
3434636 692K -rwxr-xr-x  1 jsubirat jsubirat 690K 2012-07-04 12:12 xen-syms 

And the following ones in the linux-xen:

3436766  52M -rwxr-xr-x  1 root     root      52M 2012-07-04 13:21 vmlinux
3436754  77M -rw-r--r--  1 root     root      77M 2012-07-04 13:21 vmlinux.o

I download the files into the board using the following commands:

tftpboot 0x8000 xen
tftpboot 0x1E800000 vmlinux
go 0x8000

At this point, I was expecting to see some Xen output, but instead I obtain nothing, only "Starting application at 0x00008000" and nothing else. I googled about it, and I found this post:

http://lists.xen.org/archives/html/xen-arm/2012-03/msg00008.html

He had the same problem as me, but I noticed that Wang was downloading the xen file in a different memory position: 0xC0008000. I started investigating this, and I observed that in the file xen/System.map, it says:

# cat xen/System.map
ff008000 A _start
[...]

So, I tried downloading xen in 0xC0008000 and 0xFF008000 positions, with no success. I googled again, and I came accross with this post, which mentions that the serial output is disabled by default in Xen:

http://web.archiveorange.com/archive/v/pyNG7oGVJuo074YY8sEI

I looked at the tegra250.c file and I saw a #if 0 preprocessor instruction. I commented the #if 0 and the #endif, compiled again, but still no output or anything showing any reaction.

What am I doing wrong? What can it be that causes this empty output? Am I using a wrong direction to download xen? Should I receive some output, even if I don't download the kernel (I ask this in order to save some time while testing xen-arm boot, so I don't have to download each time, until I manage to get xen-arm to work)? Many thanks in advance.

Best regards,

Josep Subirats


WARNING / LEGAL TEXT: This message is intended only for the use of the individual or entity to which it is addressed and may contain information which is privileged, confidential, proprietary, or exempt from disclosure under applicable law. If you are not the intended recipient or the person responsible for delivering the message to the intended recipient, you are strictly prohibited from disclosing, distributing, copying, or in any way using this message. If you have received this communication in error, please notify the sender and destroy and delete any copies you may have received.

http://www.bsc.es/disclaimer

_______________________________________________
Xen-arm mailing list
Xen-arm [at] lists
http://lists.xen.org/cgi-bin/mailman/listinfo/xen-arm




--
✉ Regards :: Krishna Pavan ✍


josep.subirats at bsc

Jul 12, 2012, 8:59 AM

Post #8 of 18 (1663 views)
Permalink
Re: Deploying Xen ARM in Quadmo747-X/T20 [In reply to]

Hi Krishna,

Many thanks for your answer. Yes, I've tried what you mention but still I get no output in the terminal... Any more ideas? Thanks again!

Josep


Enviado de Samsung MobileKrishna Pavan <post4pavan [at] gmail> escribió:Hi,

Have you tried this:

tftp 0xC0008000 xen
go 0xC0008000




On Wed, Jul 4, 2012 at 5:07 PM, Josep Subirats <josep.subirats [at] bsc> wrote:
Dear Mr. Ryu and Suh,

First of all, sorry for this long e-mail, although I think it can be very useful for these people which just started taking steps in the xen-arm world. :)

I'm working with a Quadmo747-X/T20 board, which is a Tegra2 Harmony board, specs are in the following initial output from the serial board's port and link:

TEGRA2
Board:   Tegra2 Harmony board
DRAM:   1 GB

http://www.seco.com/en/item/quadmo747-x_t20/

I've succeeded in compiling xen-arm and linux-xen, which I obtained from the following post:

http://lists.xen.org/archives/html/xen-devel/2012-02/msg00825.html

I used the cross-compiler which I obtained from:

https://aur.archlinux.org/packages.php?ID=48252

I tried the cross-compiler which came with the repositories in Kubuntu 11.04, but I got some errors, that's why I tried with this one (conveniently modifying the TOOLCHAIN_PREFIX variable in the makefiles).

The thing is that I am able to compile the code and I obtain the following files in xen-arm:

3434823 120K -rwxr-xr-x  1 jsubirat jsubirat 118K 2012-07-04 12:12 xen
3434635  68K -rw-r--r--  1 jsubirat jsubirat  65K 2012-07-04 12:12 xen.gz                                                                                           
3434636 692K -rwxr-xr-x  1 jsubirat jsubirat 690K 2012-07-04 12:12 xen-syms 

And the following ones in the linux-xen:

3436766  52M -rwxr-xr-x  1 root     root      52M 2012-07-04 13:21 vmlinux
3436754  77M -rw-r--r--  1 root     root      77M 2012-07-04 13:21 vmlinux.o

I download the files into the board using the following commands:

tftpboot 0x8000 xen
tftpboot 0x1E800000 vmlinux
go 0x8000

At this point, I was expecting to see some Xen output, but instead I obtain nothing, only "Starting application at 0x00008000" and nothing else. I googled about it, and I found this post:

http://lists.xen.org/archives/html/xen-arm/2012-03/msg00008.html

He had the same problem as me, but I noticed that Wang was downloading the xen file in a different memory position: 0xC0008000. I started investigating this, and I observed that in the file xen/System.map, it says:

# cat xen/System.map
ff008000 A _start
[...]

So, I tried downloading xen in 0xC0008000 and 0xFF008000 positions, with no success. I googled again, and I came accross with this post, which mentions that the serial output is disabled by default in Xen:

http://web.archiveorange.com/archive/v/pyNG7oGVJuo074YY8sEI

I looked at the tegra250.c file and I saw a #if 0 preprocessor instruction. I commented the #if 0 and the #endif, compiled again, but still no output or anything showing any reaction.

What am I doing wrong? What can it be that causes this empty output? Am I using a wrong direction to download xen? Should I receive some output, even if I don't download the kernel (I ask this in order to save some time while testing xen-arm boot, so I don't have to download each time, until I manage to get xen-arm to work)? Many thanks in advance.

Best regards,

Josep Subirats


WARNING / LEGAL TEXT: This message is intended only for the use of the individual or entity to which it is addressed and may contain information which is privileged, confidential, proprietary, or exempt from disclosure under applicable law. If you are not the intended recipient or the person responsible for delivering the message to the intended recipient, you are strictly prohibited from disclosing, distributing, copying, or in any way using this message. If you have received this communication in error, please notify the sender and destroy and delete any copies you may have received.

http://www.bsc.es/disclaimer

_______________________________________________
Xen-arm mailing list
Xen-arm [at] lists
http://lists.xen.org/cgi-bin/mailman/listinfo/xen-arm




--
✉ Regards :: Krishna Pavan ✍


post4pavan at gmail

Jul 13, 2012, 4:00 AM

Post #9 of 18 (1663 views)
Permalink
Re: Deploying Xen ARM in Quadmo747-X/T20 [In reply to]

Hi, Given Below are the build instructions.

I think you are having problem with the initramfs.cpio.gz in your build.
I had when I was building it.
So hope you could make sure you have extracted and built that properly.

You can use these toolchains, as well
http://www.ertos.nicta.com.au/downloads/tools/arm-linux-3.4.4.tar.gz (or)
http://www.ertos.nicta.com.au/downloads/tools/arm-linux-3.4.4.tar.bz2
because, they are the ones, that are suggested in user guide.

Note :: These instructions are provided by Jae Min Ryu and are available in
the Xen-List's Archives.

- Build Instructions: -

1. extract root filesytem contents as following(This requires the root
privilege)
sudo tar -xvpf rootfs_dom0.tar.bz2

2. cp config_dom0 .config

3. make ARCH=arm

** Turn on target board, and download the xen-arm image(xen) and the kernel
image(vmlinux.out0).
** download addresse is :
***** xen-arm : 0x8000
***** guest kernel images : 0x1e800000

- booting domu -

** To boot domu (the rootfilesystem of dom0 already has prebuilt domu
kernel images, see images directory.)
# smd start <- start lightweight
# vm create /etc/xen/dom1
# xenconsole 1 <= This command switch console to dom 1.

* For domu build, use config_domu configuration file.
* Don't forget to copy the vmlinux.out1 to rootfs_dom0/images directory
after domu kernel build.


post4pavan at gmail

Jul 13, 2012, 4:00 AM

Post #10 of 18 (1662 views)
Permalink
Re: Deploying Xen ARM in Quadmo747-X/T20 [In reply to]

Hi, Given Below are the build instructions.

I think you are having problem with the initramfs.cpio.gz in your build.
I had when I was building it.
So hope you could make sure you have extracted and built that properly.

You can use these toolchains, as well
http://www.ertos.nicta.com.au/downloads/tools/arm-linux-3.4.4.tar.gz (or)
http://www.ertos.nicta.com.au/downloads/tools/arm-linux-3.4.4.tar.bz2
because, they are the ones, that are suggested in user guide.

Note :: These instructions are provided by Jae Min Ryu and are available in
the Xen-List's Archives.

- Build Instructions: -

1. extract root filesytem contents as following(This requires the root
privilege)
sudo tar -xvpf rootfs_dom0.tar.bz2

2. cp config_dom0 .config

3. make ARCH=arm

** Turn on target board, and download the xen-arm image(xen) and the kernel
image(vmlinux.out0).
** download addresse is :
***** xen-arm : 0x8000
***** guest kernel images : 0x1e800000

- booting domu -

** To boot domu (the rootfilesystem of dom0 already has prebuilt domu
kernel images, see images directory.)
# smd start <- start lightweight
# vm create /etc/xen/dom1
# xenconsole 1 <= This command switch console to dom 1.

* For domu build, use config_domu configuration file.
* Don't forget to copy the vmlinux.out1 to rootfs_dom0/images directory
after domu kernel build.


josep.subirats at bsc

Jul 16, 2012, 4:03 AM

Post #11 of 18 (1641 views)
Permalink
Re: Deploying Xen ARM in Quadmo747-X/T20 [In reply to]

Hi Krishna,

If I use this toolchain, I obtain the following error when compiling
xen-arm:

cc1: error: invalid option `abi=aapcs-linux'
xen/asm-offsets.c:1: error: bad value (armv7-a) for -march= switch

And the same when trying to compile linux-xen:

cc1: error: invalid option `abi=aapcs-linux'
xen/asm-offsets.c:1: error: bad value (armv7-a) for -march= switch

I could follow the instructions you gave me using a different compiler,
which I obtained from:

https://aur.archlinux.org/packages.php?ID=48252

However, with this I obtain no output. I also noted that the vmlinux I
obtained is sized 52MB (very big), and is named vmlinux, and not
vmlinux.out0 as the tuto explains. Am I doing anything wrong?

In any case, I sould still be able to run xen-arm (loaded at 0x8000 or
0xC0008000), even if the kernel is not running, given that it boots
first, isn't it? Or it depends upon the kernel to show any output? When
I execute "go 0x8000" or "go 0xC0008000", I obtain a "Starting
appliction at 0x8000..." and nothing else.

Many thanks,

Josep

WARNING / LEGAL TEXT: This message is intended only for the use of the
individual or entity to which it is addressed and may contain
information which is privileged, confidential, proprietary, or exempt
from disclosure under applicable law. If you are not the intended
recipient or the person responsible for delivering the message to the
intended recipient, you are strictly prohibited from disclosing,
distributing, copying, or in any way using this message. If you have
received this communication in error, please notify the sender and
destroy and delete any copies you may have received.

http://www.bsc.es/disclaimer

_______________________________________________
Xen-arm mailing list
Xen-arm [at] lists
http://lists.xen.org/cgi-bin/mailman/listinfo/xen-arm


josep.subirats at bsc

Jul 16, 2012, 4:03 AM

Post #12 of 18 (1633 views)
Permalink
Re: Deploying Xen ARM in Quadmo747-X/T20 [In reply to]

Hi Krishna,

If I use this toolchain, I obtain the following error when compiling
xen-arm:

cc1: error: invalid option `abi=aapcs-linux'
xen/asm-offsets.c:1: error: bad value (armv7-a) for -march= switch

And the same when trying to compile linux-xen:

cc1: error: invalid option `abi=aapcs-linux'
xen/asm-offsets.c:1: error: bad value (armv7-a) for -march= switch

I could follow the instructions you gave me using a different compiler,
which I obtained from:

https://aur.archlinux.org/packages.php?ID=48252

However, with this I obtain no output. I also noted that the vmlinux I
obtained is sized 52MB (very big), and is named vmlinux, and not
vmlinux.out0 as the tuto explains. Am I doing anything wrong?

In any case, I sould still be able to run xen-arm (loaded at 0x8000 or
0xC0008000), even if the kernel is not running, given that it boots
first, isn't it? Or it depends upon the kernel to show any output? When
I execute "go 0x8000" or "go 0xC0008000", I obtain a "Starting
appliction at 0x8000..." and nothing else.

Many thanks,

Josep

WARNING / LEGAL TEXT: This message is intended only for the use of the
individual or entity to which it is addressed and may contain
information which is privileged, confidential, proprietary, or exempt
from disclosure under applicable law. If you are not the intended
recipient or the person responsible for delivering the message to the
intended recipient, you are strictly prohibited from disclosing,
distributing, copying, or in any way using this message. If you have
received this communication in error, please notify the sender and
destroy and delete any copies you may have received.

http://www.bsc.es/disclaimer

_______________________________________________
Xen-arm mailing list
Xen-arm [at] lists
http://lists.xen.org/cgi-bin/mailman/listinfo/xen-arm


post4pavan at gmail

Jul 16, 2012, 7:01 AM

Post #13 of 18 (1642 views)
Permalink
Re: Deploying Xen ARM in Quadmo747-X/T20 [In reply to]

Hi Xen-ARM,Josep,

I have not seen any of that kind of error.

I have used that tool chain and other tool chains also.

Try with the latest tool chain. arm-none-linux-gnueabi

Make sure you pass the correct set of environment variables to the terminal.
(or)
you can make a modification by adding your tool-chain path to the main
Makefile.

I would like to remind you that, you have to place linux-xen in the Xen-ARM
Folder.


post4pavan at gmail

Jul 16, 2012, 7:01 AM

Post #14 of 18 (1655 views)
Permalink
Re: Deploying Xen ARM in Quadmo747-X/T20 [In reply to]

Hi Xen-ARM,Josep,

I have not seen any of that kind of error.

I have used that tool chain and other tool chains also.

Try with the latest tool chain. arm-none-linux-gnueabi

Make sure you pass the correct set of environment variables to the terminal.
(or)
you can make a modification by adding your tool-chain path to the main
Makefile.

I would like to remind you that, you have to place linux-xen in the Xen-ARM
Folder.


josep.subirats at bsc

Jul 16, 2012, 7:15 AM

Post #15 of 18 (1637 views)
Permalink
Re: Deploying Xen ARM in Quadmo747-X/T20 [In reply to]

Hi Krishna,

I have been able to compile both xen-arm and linux-xen separately with
arm-none-linux-gnueabi. I ensured that I have the correct paths in the
TOOLCHAIN_PREFIX in both compilations.

However, I didn't know I had to place linux-xen in the xen-arm folder
(when? when compiling it?). I noticed, on the other hand, that I
needed to have the linux-xen folder in the same directory as xen-arm in
order to be able to compile linux-xen (as linux-xen was looking for some
files in ../xen-arm), but not the other way around. Following the
tutorial you gave me, I couldn't find these steps. Could you give me
more details on how to do this, please?

Many thanks for you help.

Best regards,

Josep

On 07/16/2012 04:01 PM, Krishna Pavan wrote:
> I would like to remind you that, you have to place linux-xen in the
> Xen-ARM Folder.

WARNING / LEGAL TEXT: This message is intended only for the use of the
individual or entity to which it is addressed and may contain
information which is privileged, confidential, proprietary, or exempt
from disclosure under applicable law. If you are not the intended
recipient or the person responsible for delivering the message to the
intended recipient, you are strictly prohibited from disclosing,
distributing, copying, or in any way using this message. If you have
received this communication in error, please notify the sender and
destroy and delete any copies you may have received.

http://www.bsc.es/disclaimer

_______________________________________________
Xen-arm mailing list
Xen-arm [at] lists
http://lists.xen.org/cgi-bin/mailman/listinfo/xen-arm


josep.subirats at bsc

Jul 16, 2012, 7:15 AM

Post #16 of 18 (1636 views)
Permalink
Re: Deploying Xen ARM in Quadmo747-X/T20 [In reply to]

Hi Krishna,

I have been able to compile both xen-arm and linux-xen separately with
arm-none-linux-gnueabi. I ensured that I have the correct paths in the
TOOLCHAIN_PREFIX in both compilations.

However, I didn't know I had to place linux-xen in the xen-arm folder
(when? when compiling it?). I noticed, on the other hand, that I
needed to have the linux-xen folder in the same directory as xen-arm in
order to be able to compile linux-xen (as linux-xen was looking for some
files in ../xen-arm), but not the other way around. Following the
tutorial you gave me, I couldn't find these steps. Could you give me
more details on how to do this, please?

Many thanks for you help.

Best regards,

Josep

On 07/16/2012 04:01 PM, Krishna Pavan wrote:
> I would like to remind you that, you have to place linux-xen in the
> Xen-ARM Folder.

WARNING / LEGAL TEXT: This message is intended only for the use of the
individual or entity to which it is addressed and may contain
information which is privileged, confidential, proprietary, or exempt
from disclosure under applicable law. If you are not the intended
recipient or the person responsible for delivering the message to the
intended recipient, you are strictly prohibited from disclosing,
distributing, copying, or in any way using this message. If you have
received this communication in error, please notify the sender and
destroy and delete any copies you may have received.

http://www.bsc.es/disclaimer

_______________________________________________
Xen-arm mailing list
Xen-arm [at] lists
http://lists.xen.org/cgi-bin/mailman/listinfo/xen-arm


post4pavan at gmail

Jul 17, 2012, 6:11 AM

Post #17 of 18 (1631 views)
Permalink
Re: Deploying Xen ARM in Quadmo747-X/T20 [In reply to]

Hi Xen-ARM & Josep,

I have been able to compile both xen-arm and linux-xen separately with
> arm-none-linux-gnueabi.
>

You have to do the compilation by placing in xen-arm root dir [source
folder]


> However, I didn't know I had to place linux-xen in the xen-arm folder
> (¿when? ¿when compiling it?).


Initially I too did the same.
later, I looked in to all the make files and found that.


> linux-xen was looking for some files in ../xen-arm, but not the other
> way around.
>

linux-xen and xen-arm will do the same

Please go through Makefiles, if ever you get an error.

--
✉ Regards :: Krishna Pavan ✍


post4pavan at gmail

Jul 17, 2012, 6:11 AM

Post #18 of 18 (1637 views)
Permalink
Re: Deploying Xen ARM in Quadmo747-X/T20 [In reply to]

Hi Xen-ARM & Josep,

I have been able to compile both xen-arm and linux-xen separately with
> arm-none-linux-gnueabi.
>

You have to do the compilation by placing in xen-arm root dir [source
folder]


> However, I didn't know I had to place linux-xen in the xen-arm folder
> (¿when? ¿when compiling it?).


Initially I too did the same.
later, I looked in to all the make files and found that.


> linux-xen was looking for some files in ../xen-arm, but not the other
> way around.
>

linux-xen and xen-arm will do the same

Please go through Makefiles, if ever you get an error.

--
✉ Regards :: Krishna Pavan ✍

Xen arm RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.