What is the minimum amount of RAM required to run Linux Kernel in ARM cortex-a5?

1

I want to know what is the minimum amount of RAM required to run Linux Kernel (4.6) in ARM cortex-a5.

Now I am using 32MB PSRAM but whenever I am loading vmlinux (elf format) through debugger to PSRAM there memcpy() is not working which is located internally in printk.

My PSRAM starting address is 0x20000000. So, for making the entry point of elf I modified arch/arm/Kconfig as below,

config PAGE_OFFSET
    hex
    default PHYS_OFFSET if !MMU
    default 0x40000000 if VMSPLIT_1G
    default 0x80000000 if VMSPLIT_2G
    default 0xB0000000 if VMSPLIT_3G_OPT
 (-)default 0xC0000000
 (+)default 0x20000000

So, whenever memcpy() is getting it is stucking. Plz let me know where I am doing wrong here.

Vmlinux size with debug symbols: 10.9 MB. Loading_DTB @ higher memory location.

linux
memory
linux-kernel
arm
asked on Super User Jun 28, 2016 by Anindya • edited Jun 28, 2016 by sawdust

0 Answers

Nobody has answered this question yet.


User contributions licensed under CC BY-SA 3.0