mirror of
https://github.com/AsahiLinux/m1n1
synced 2024-11-10 09:44:13 +00:00
linux.py: support up to 512MB kernels
Some people apparently have the patience to load KASAN kernels over serial :-) Also bump the python-managed heap to 1GB. Signed-off-by: Hector Martin <marcan@marcan.st>
This commit is contained in:
parent
efa4452a47
commit
70f6bc7514
2 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
|
|
|
@ -25,7 +25,7 @@ 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:
|
||||
|
|
Loading…
Reference in a new issue