self._tick_rate = tickrate
if bool(kwargs):
- debug.error("Fix machine definition, unknown args: %s" % str(kwargs))
+ debug.warning("Machine base class does not understand the " +
+ "following machine arguments: %s" % str(kwargs))
def get_machine_name(self):
return self._machine_name
super(ETHMachine, self).__init__(options, ETHMachineOperations(self), **kwargs)
def get_buildall_target(self):
+ if 'buildall_target' in self._machines[self.name]:
+ return self._machines[self.name]['buildall_target']
return self.get_bootarch().upper() + "_Full"
def get_xphi_ncores(self):
'tickrate' : 2400,
'boot_timeout': 360,
'platform': 'apm88xxxx',
+ 'buildall_target': 'APM88xxxx',
'serial_binary': 'serial_kernel',
'boot_driver' : 'boot_armv8_generic'},
'tickrate' : 1950,
'boot_timeout': 360,
'platform': 'cn88xx',
+ 'buildall_target': 'ThunderX',
'serial_binary': 'serial_kernel',
'boot_driver' : 'boot_armv8_generic'},
'gorgonzola2': {'ncores' : 48,
'tickrate' : 1950,
'boot_timeout': 360,
'platform': 'cn88xx',
+ 'buildall_target': 'ThunderX',
'serial_binary': 'serial_kernel',
'boot_driver' : 'boot_armv8_generic'},
'roquefort': {'ncores' : 96,
'tickrate' : 1950,
'boot_timeout': 720,
'platform': 'cn88xx',
+ 'buildall_target': 'ThunderX',
'serial_binary': 'serial_kernel',
'boot_driver' : 'boot_armv8_generic'},
efi.addFile("/home/netos/tftpboot/Hagfish.efi", "Hagfish.efi")
efi.addFile(menulst_fullpath, "hagfish.cfg")
+ def get_buildall_target(self):
+ # XXX: this is a misnomer in hake for the a57v platform
+ return "QEMU"
+
class FVPMachineEFIOperations(FVPMachineBaseOperations):
def get_ncores(self):
return 1
+ def get_buildall_target(self):
+ return "VExpressEMM-A15"
+
def get_bootarch(self):
return "armv7"
# XXX: change this once we have proper zynq7 configurations
self.menulst_template = "menu.lst.armv7_zynq7"
+ def get_buildall_target(self):
+ return "Zynq7000"
+
def get_ncores(self):
return 1