Skip to content

Kernel.img limit of 2MB #534

Closed Answered by rsta2
Frauholle64 asked this question in Q&A
Discussion options

You must be logged in to vote

Circle uses a static memory layout and needs to know, how big the kernel text and data segments can be. 2 MBytes is the default, but can be easily increased by using the option -d KERNEL_MAX_SIZE=0x400000 (to 4 MBytes for example) or by adding the following line to your Config.mk file:

DEFINE += -DKERNEL_MAX_SIZE=0x400000

This is reliable. The given value must be a multiple of 16 KBytes.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by rsta2
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants