Hi Ali,

Do you have any update on this (more than 2047MB of RAM for ARMv8)? Do the
changes only amount to a few lines in rtsm_ve-aemv8a.dts and FSConfig.py /
RealView.py?

For example, in the dts file, there is:

/memreserve/ 0x80000000 0x00010000;

and

memory@80000000 {
                device_type = "memory";
                reg = <0x00000000 0x80000000 0 0x80000000>,
                      <0x00000008 0x80000000 0 0x80000000>;
        };

And in RealView.py, this function:

class VExpress_EMM64(VExpress_EMM):
    def setupBootLoader(self, mem_bus, cur_sys, loc):
        self.nvmem = SimpleMemory(range = AddrRange(0, size = '64MB'))
        self.nvmem.port = mem_bus.master
        cur_sys.boot_loader = loc('boot_emm.arm64')
        cur_sys.atags_addr = 0x8000000
        cur_sys.load_addr_mask = 0xfffffff
        cur_sys.load_offset = 0x80000000

Thanks,

Ivan


On Mon, May 26, 2014 at 4:50 PM, Ali Saidi via gem5-users <
gem5-users@gem5.org> wrote:

> For ARMv7 you can only really use 2047MB of RAM with the memory map we
> have in the simulator. It would be possible to use more with the LPAE
> extensions we recently implemented, but it would certainly required some
> work on your part to define a new memory map and modify a dtb file
> appropriately. For ARMv8 it’s much easier to get more RAM, however it too
> doesn’t work outside the box. To make this work you need to again modify a
> DTB file and the armv8 boot loader start address to match that address.
> I’ve got the latter mostly working and will try to get you some
> instructions in the next week.
>
> Ali
>
>
>
> On May 21, 2014, at 1:52 PM, Embedded Systems MadHatter via gem5-users <
> gem5-users@gem5.org> wrote:
>
> > Hello,
> > I'm trying to launch simulations with ARMv7, ARMv8 and X86, but
> unfortunately I cannot use more than 2GB of RAM for the simulation. How can
> I set a simulation with more than 2GB of RAM ?
> >
> > My current parameter is: --mem-type=DDR3_1600_x64 --mem-size=2GB
> > _______________________________________________
> > gem5-users mailing list
> > gem5-users@gem5.org
> > http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
>
> _______________________________________________
> gem5-users mailing list
> gem5-users@gem5.org
> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
>
_______________________________________________
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to