diff --git a/proxyclient/linux.py b/proxyclient/linux.py index 380a3e3..c56dd74 100755 --- a/proxyclient/linux.py +++ b/proxyclient/linux.py @@ -51,7 +51,7 @@ print("Loading DTB to 0x%x..." % dtb_addr) iface.writemem(dtb_addr, dtb) -kernel_size = 32 * 1024 * 1024 +kernel_size = 512 * 1024 * 1024 kernel_base = u.memalign(2 * 1024 * 1024, kernel_size) print("Kernel_base: 0x%x" % kernel_base) diff --git a/proxyclient/utils.py b/proxyclient/utils.py index 6f18d15..13ddc47 100644 --- a/proxyclient/utils.py +++ b/proxyclient/utils.py @@ -25,14 +25,14 @@ class ProxyUtils(object): # clash with Python (m1n1 will normally not use *any* heap when running proxy ops though, # except when running very high-level operations like booting a kernel, so this should be # OK). - self.heap_size = 128 * 1024 * 1024 + self.heap_size = 1024 * 1024 * 1024 try: self.heap_base = p.heapblock_alloc(0) except ProxyRemoteError: # Compat with versions that don't have heapblock yet self.heap_base = (self.base + ((self.ba.top_of_kernel_data + 0xffff) & ~0xffff) - self.ba.phys_base) - self.heap_base += 128 * 1024 * 1024 # We leave 128MB for m1n1 heap + self.heap_base += 1024 * 1024 * 1024 # We leave 128MB for m1n1 heap self.heap = malloc.Heap(self.heap_base, self.heap_base + self.heap_size) self.malloc = self.heap.malloc