Simulate the way Samsungs vmmuh_goto_EL2 works in QEMU: PART 1: Build ATF U-boot and Linux


Im stuck at porting KVM to my M205G so I tried simulating the way it works on QEMU. So ATF ARM Trusted Firmware runs in EL3 and then it load U-boot.
Then U-boot loads Linux kernel at EL1 normally U-boot would load it at EL2 but S-Boot loads it at EL1 so I change to EL1 Then Linux use SMC to call to EL3 invoking ATF to move it to EL2. In my case in QEMU I will implement exception handler that makes Linux go to EL2 in ATF exception handler framework.
But in real Samsung Exynos its implemented in the chip itself SiP exception handler Thats part 1.
I will upload part 2 later because my dad forces me to sleep now lmao : Thanks for watching! Btw links: - Pure Linux 4.4 wo Android patches with sleirsgoevys KVM patch for testing in QEMU: - ARM Trusted firmware repo: - U-boot repo: - ARM GCC: PS: Long time no video thanks to exams :

Источник: rutube.ru

Сообщение от Commenton: Необходимо стартовать сессию