Hi All,
Currently, I'm working on linux kernel bootup task on "Arm-A78" CPU.
Linux kernel version : linux-kernel 5.10.39.
Uboot version : U-Boot 2021.10-rc2
Currently, Uboot is execute successfully and it's load kernel and Device tree on RAM which is configured by uboot and now kernel start it's execution from the RAM.
Problem : Kernel execution stuck at "pr_info" function, Using debugger I found that, When CPU tries to execute atomic (LDXR, STXR) instruction from the "_percpu_or_case_32" function which is in "_pcp_protect" function which is part of percpu.h file of the kernel, It's not able to read from memory as well as not able to write the memory by "STXR" instruction.
Question : Is this problem with kernel or uboot configurations or something missing in kernel configuration, Or is there any solution for that?
Please help me the same.
Regards,
Romit
Thanks,It's issue because of device type memory.. But memory attribute is already set for normal memory using MAIR_EL1 system register by kernel itself but it has not effect on memory... Have you any idea about this? Or any solution to change memory type ? from device to normal?
Does the kernel really boot in EL1? Or in EL2?
Yeah, I confirmed that kernel is boot in EL1...