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.
User contributions licensed under CC BY-SA 3.0