Hi Ralf,
we are currently using one single jetson-demo.c for both the TK1 and the
TX1.
In principle, this seemed a good idea to reduce the amount of config files.
However, if I enlarge the amount of memory of the root cell for the TX1,
then the inmate for the two boards need to be put at different addresses.
Should I split the demo config once again ?
Many thanks and best regards,
Claudio
2017-02-24 13:36 GMT+01:00 Claudio Scordino <[email protected]>:
> Hi Ralf,
>
> probably it was just pasted from another board, but it's worth fixing it.
>
> However, since we have a few other pending fixes for this config, we'll
> send a patch next week fixing all at once.
>
> Many thanks and best regards,
>
> Claudio
>
>
> 2017-02-23 21:37 GMT+01:00 Ralf Ramsauer <[email protected]>
> :
>
>> On 12/07/2016 01:43 PM, Ralf Ramsauer wrote:
>> > From: Claudio Scordino <[email protected]>
>> >
>> > This patch adds the config file for Jetson TX1.
>> >
>> > Signed-off-by: Claudio Scordino <[email protected]>
>> > Signed-off-by: Bruno Morelli <[email protected]>
>> > [ralf: remove trailing newline in jetson-tx1.c, amend commit message,
>> > align debug_console, add config file revision]
>> > Signed-off-by: Ralf Ramsauer <[email protected]>
>> > ---
>> > configs/jetson-tx1.c | 465 ++++++++++++++++++++++++++++++
>> +++++++++++++++++++++
>> > 1 file changed, 465 insertions(+)
>> > create mode 100644 configs/jetson-tx1.c
>> >
>> > diff --git a/configs/jetson-tx1.c b/configs/jetson-tx1.c
>> > new file mode 100644
>> > index 0000000000..cf80aa4786
>> > --- /dev/null
>> > +++ b/configs/jetson-tx1.c
>> > @@ -0,0 +1,465 @@
>> > +/*
>> > + * Jailhouse Jetson TX1 support
>> > + *
>> > + * Copyright (C) 2016 Evidence Srl
>> > + *
>> > + * Authors:
>> > + * Claudio Scordino <[email protected]>
>> > + * Bruno Morelli <[email protected]>
>> > + *
>> > + * This work is licensed under the terms of the GNU GPL, version 2.
>> See
>> > + * the COPYING file in the top-level directory.
>> > + *
>> > + * NOTE: Add "mem=1920M vmalloc=512M" to the kernel command line.
>> > + */
>> > +
>> > +#include <jailhouse/types.h>
>> > +#include <jailhouse/cell-config.h>
>> > +
>> > +#define ARRAY_SIZE(a) (sizeof(a) / sizeof(a[0]))
>> > +
>> > +struct {
>> > + struct jailhouse_system header;
>> > + __u64 cpus[1];
>> > + struct jailhouse_memory mem_regions[55];
>> > + struct jailhouse_irqchip irqchips[2];
>> > +} __attribute__((packed)) config = {
>> > + .header = {
>> > + .signature = JAILHOUSE_SYSTEM_SIGNATURE,
>> > + .revision = JAILHOUSE_CONFIG_REVISION,
>> > + .hypervisor_memory = {
>> > + .phys_start = 0xfc000000,
>> > + .size = 0x4000000,
>> > + },
>>
>> Hi Claudio and Bruno,
>>
>> TX1 comes with 4GiB of memory, that reaches from 0x80000000 to
>> 0x17fffffff, right?
>>
>> Is there any reason why you plcae the hypervisor at 0xFC000000, in the
>> middle of the physical memory?
>>
>> Ralf
>>
>
>
>
> --
> Claudio Scordino, Ph.D.
> Project Manager - Funded research projects
>
> Evidence Srl
> Via Carducci 56
> 56010 S.Giuliano Terme - Pisa - Italy
> Phone: +39 050 99 11 224
> Mobile: + 39 393 811 7491
> Fax: +39 050 99 10 812
> http://www.evidence.eu.com
>
> *VISIT US AT EMBEDDED WORLD 2017 --- Hall 4 Stand 545*
>
>
--
Claudio Scordino, Ph.D.
Project Manager - Funded research projects
Evidence Srl
Via Carducci 56
56010 S.Giuliano Terme - Pisa - Italy
Phone: +39 050 99 11 224
Mobile: + 39 393 811 7491
Fax: +39 050 99 10 812
http://www.evidence.eu.com
*VISIT US AT EMBEDDED WORLD 2017 --- Hall 4 Stand 545*
--
You received this message because you are subscribed to the Google Groups
"Jailhouse" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.