Image

Can Intel DAL python commands access the UEFI interfaces on the UUT?

Post Reply
YouGotIt
Member
Posts: 5
Joined: Thu Apr 26, 2018 1:36 am

Can Intel DAL python commands access the UEFI interfaces on the UUT?

Post by YouGotIt » Wed May 02, 2018 1:42 am

I am a bios run control debugger hobbyist.
Mostly JTAG based debugger, like Asset XDP or Intel DCI.
Intel DAL has a rich set of commands to access HW resource on the target system.
I am thinking about that if it can access the UEFI resources on the target?
Such as Run Time services, Boot Services?
Is it possible to call functions on UUT from host DAL?

User avatar
armstrong
Member
Posts: 23
Joined: Sun Apr 01, 2018 4:34 pm

Re: Can Intel DAL python commands access the UEFI interfaces on the UUT?

Post by armstrong » Wed May 02, 2018 11:47 am

For sure, if it is really necessary. You can copy your UEFI binary into a reserved memory region and change EIP to execute it.

User avatar
BobJC
Member
Posts: 21
Joined: Wed Apr 04, 2018 2:07 pm

Re: Can Intel DAL python commands access the UEFI interfaces on the UUT?

Post by BobJC » Wed May 02, 2018 12:01 pm

I don’t think above practice is applicable since DXE core is skipped and you might not be able to rewind the stack after the invoke. I remember ITP used to have a script macro named loadimage(), which could copy the image to proper memory region and search memory for DXE RT service LoadImage() then invoke the service with the copied image’s entry point address.

matt.huang
Enthusiast
Posts: 30
Joined: Fri Apr 20, 2018 12:06 pm

Re: Can Intel DAL python commands access the UEFI interfaces on the UUT?

Post by matt.huang » Wed May 02, 2018 3:26 pm

Yes it can, and some of the companies have already implemented in their black box test plans. I've seen some of the OEM features contains python scripts extracted from Intel DAL and run it via a base board co-processor to fetch & debug the same host on the board when the system crashes.

Post Reply