Hi,

On 27. 08. 22 11:31, Noyal Johnson wrote:
Hi,
!!!! X64 Exception Type - 06 (#UD - Invalid Opcode)

CPU Apic ID - 00000000 !!!!

!!! Cant find image information !!!

Do you know what kind of instruction it is? Probably dumping "RIP" + some bytes 
around
and then decoding it would help.

I suspect probably your compiler emits something not quite enabled. Typical 
problems in some other projects was that GCC emited some SSE instruction for 
memcpy().
This might not be enabled in coreboot startup (sorry, don't know it is long 
time ago I looked). The UEFI itself has some ABI which mandates what should be 
enabled (FPU unit for example).

Also, make sure you use right GCC to compile everything. Maybe the defaults for 
your compiler are not sane.

Thanks,
Rudolf




I tried loading Uefipayload in which network stack drivers are merged at 
compile time, still the result was same.


But, when I tried loading the network stack drivers compiled in same edk2 tool 
and network controller driver in the actual BIOS present in CRB, all the 
network stack drivers was successfully loaded and ethernet was initilized.


I am suspecting that network stack driver / controller driver is trying to 
execute a particular instruction which is not supported in coreboot. Whether 
any instruction sets I have to separately enable in coreboot. If no, what could 
be the reason for this exception.


Regards,

Noyal Johnson

_______________________________________________
coreboot mailing list -- coreboot@coreboot.org
To unsubscribe send an email to coreboot-le...@coreboot.org
_______________________________________________
coreboot mailing list -- coreboot@coreboot.org
To unsubscribe send an email to coreboot-le...@coreboot.org

Reply via email to