From: Markus Valentin Date: Wed, 30 Nov 2016 12:32:08 +0100 Subject: [U-Boot] uefi: x86: uboot as uefi payload Message-ID: <1480505528.5722.24.camel@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi, im trying to run u-boot as uefi-payload for qemu this works totally fine. ? My real target is a Minnowboard Turbot. I did use the minnowmax_defconfig enabled CONFIG_EFI, CONFIG_EFI_STUB and CONFIG_EFI_STUB_64BIT. The Board has the latest uefi by Intel installed(0.93, X64). When i load U-Boot as payload for the board-uefi the efi_main function gets executed but the call to "cpu_call32" seems to get stuck ( i think its at the "retf"?arch/x86/cpu/call32.S:37).? Debuglog: Shell> u-boot-payload_64.efi U-Boot EFI Payload? gdt: 00000047, addr: 00000000784fd570 00: 00000000??00000000 08: 00cf9200??0000ffff 10: 00af9a00??0000ffff 18: 00cf9300??0000ffff 20: 00cf9a00??0000ffff 28: 00000000??00000000 30: 00cf9200??0000ffff 38: 00af9b00??0000ffff 40: 00000000??00000000 ?32-bit code segment: 20 ?page_table: 79313000 ?EFI table at 78787018 size 00000760 Does anyone have experiences with this issue or with running u-boot as uefi-64 payload at all? regard Markus ? -- DENX Software Engineering GmbH,????? Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-60 Fax: (+49)-8142-66989-80 Email: mv at denx.de