On 30 January 2015 at 17:48, Ard Biesheuvel ard.biesheuvel@linaro.org wrote:
On 30 January 2015 at 10:16, Varad Gautam varadgautam@gmail.com wrote:
On 01/28/15 at 06:16 PM Ard Biesheuvel ard.biesheuvel@linaro.org wrote:
Nice bug! Do you have a git tree somewhere?
I set one up here [1].
Is the arm kernel functional on other uefi platforms which I can refer to?
You should be able to run it under QEMU, look at my wiki page here
https://wiki.linaro.org/LEG/UEFIforQEMU
[1] https://github.com/varadgautam/linux/tree/topic-leg-uefi-dev
I tried building your branch and booting it under UEFI on QEMU. I can boot the zImage from the shell, and I can trace it into the kernel proper via GDB, but then it hits an early exception somewhere. I can dig a bit deeper but that takes time.
Not the kernel proper, but the decompressor
Command line, for reference
qemu-system-aarch64 -M virt -cpu cortex-a15 -m 512 -bios Build/ArmVirtualizationQemu-ARM/RELEASE_GCC48/FV/QEMU_EFI.fd -nographic -drive if=none,id=boot,file=fat:$HOME/linux-arm-build/arch/arm/boot,format=raw -device virtio-blk-device,drive=boot
Thanks, Varad