I2c driver on Up-Extreme
Hello, I am new to Uefi and I am attempting to write a program with Edk2 to talk to the I2c bus on the Up-Extreme. To do this I am executing .efi files in the UEFI shell and I am noticing that LocateHandleProtocol cannot find any I2c handles in the handle data base.
Does anyone know if Up-Extreme has a UEFI I2c driver?
Also, how do I access the I2c bus in the UEFI shell?
Answers
-
@Ruvim
you have to know how to control I2C controller based on Intel and write by yourself.
you can refer Linux Kernel I2C driver for Intel to know how to control it. -
Hi @Ruvim,
I'm also working on the Up Xtreme board and facing the same issue as you.
I added the I2C DXE driver to my project (UEFI_APPLICATION), InitializeI2c was successful but I2cHostDriverStart and I2cHostDriverSupported returned "UNSUPPORTED".
I also try to call LocateHandleBuffer but the return status is "NOT FOUND", DeviceHandleCount and DeviceHandleBuffer equal 0.
If you can resolve the issue on your side or have any information please share them with me.
Thank you very much!
Categories
- All Categories
- 63 Announcements & News
- 48 Product News - New Product/Product Change Notice/ End-of-life
- 96 Welcome Developers!
- 45 Unboxing & Project Sharing
- 22 Tech Updates
- 3.4K UP Products
- 15 UP 7000
- 1 UP Squared i12
- 11 UP Xtreme i12
- 13 UP Squared Pro 7000
- 1 UP Element i12 Edge
- 23 UP Squared V2
- 65 UP 4000
- 23 UP Xtreme i11
- 34 UP Squared 6000
- 56 UP Squared Pro
- 136 UP Xtreme
- 820 UP Squared
- 1.4K UP Board
- 74 UP Core Plus
- 217 UP Core
- 3 UP Xtreme Lite
- 40 UP AI Edge
- 264 Starter Kits & Peripheral