ARM: Fix configuration files for bare-metal binaries.

This commit is contained in:
Ali Saidi 2013-08-26 10:58:06 -05:00
parent dc18352e3c
commit e1b9c8c169

View file

@ -259,7 +259,8 @@ def makeArmSystem(mem_mode, machine_type, mdesc = None,
if bare_metal: if bare_metal:
# EOT character on UART will end the simulation # EOT character on UART will end the simulation
self.realview.uart.end_on_eot = True self.realview.uart.end_on_eot = True
self.mem_ranges = [AddrRange(mdesc.mem())] self.mem_ranges = [AddrRange(self.realview.mem_start_addr,
size = mdesc.mem())]
else: else:
self.kernel = binary('vmlinux.arm.smp.fb.2.6.38.8') self.kernel = binary('vmlinux.arm.smp.fb.2.6.38.8')
if dtb_filename is not None: if dtb_filename is not None: