klange changed the topic of #osdev to: Operating System Development || Don't ask to ask---just ask! || For 3+ LoC, use a pastebin (for example https://gist.github.com/) || Stats + Old logs: http://osdev-logs.qzx.com New Logs: https://libera.irclog.whitequark.org/osdev || Visit https://wiki.osdev.org and https://forum.osdev.org || Books: https://wiki.osdev.org/Books
qookie has quit [Server closed connection]
qookie has joined #osdev
goliath has quit [Quit: SIGSEGV]
Reinhilde has quit [Server closed connection]
antranigv_ has joined #osdev
antranigv has quit [Ping timeout: 260 seconds]
Ellenor has joined #osdev
antranigv_ is now known as antranigv
edr has quit [Quit: Leaving]
terrorjack has quit [Quit: The Lounge - https://thelounge.chat]
terrorjack has joined #osdev
skipwich has quit [Remote host closed the connection]
skipwich has joined #osdev
Benjojo has quit [Server closed connection]
Benjojo has joined #osdev
jcea has quit [Ping timeout: 248 seconds]
fgarcia has quit [Read error: Connection reset by peer]
fgarcia has joined #osdev
agent314 has joined #osdev
fgarcia_ has joined #osdev
fgarcia has quit [Ping timeout: 258 seconds]
fgarcia_ is now known as fgarcia
geist has quit [Server closed connection]
geist has joined #osdev
fgarcia has quit [Ping timeout: 248 seconds]
fgarcia has joined #osdev
chiselfuse has quit [Remote host closed the connection]
chiselfuse has joined #osdev
sham1_ is now known as sham1
agent314 has quit [Quit: WeeChat 4.5.2]
agent314 has joined #osdev
xvmt has quit [Remote host closed the connection]
xvmt has joined #osdev
GeDaMo has joined #osdev
netbsduser` has joined #osdev
EmanueleDavalli has joined #osdev
Lucretia has joined #osdev
DoubleJ has quit [Server closed connection]
DoubleJ has joined #osdev
bombuzal has quit [Server closed connection]
bombuzal has joined #osdev
netbsduser` has quit [Ping timeout: 248 seconds]
agent314 has quit [Ping timeout: 248 seconds]
agent314 has joined #osdev
goliath has joined #osdev
agent314 has quit [Ping timeout: 258 seconds]
basil has quit [Server closed connection]
EmanueleDavalli has quit [Quit: Leaving]
basil has joined #osdev
Left_Turn has joined #osdev
JTL has quit [Server closed connection]
JTL has joined #osdev
EmanueleDavalli has joined #osdev
Left_Turn has quit [Ping timeout: 258 seconds]
agent314 has joined #osdev
agent314 has quit [Ping timeout: 258 seconds]
Left_Turn has joined #osdev
Turn_Left has joined #osdev
Left_Turn has quit [Ping timeout: 248 seconds]
karenw has joined #osdev
badtuple has joined #osdev
Left_Turn has joined #osdev
Turn_Left has quit [Ping timeout: 255 seconds]
badtuple has quit [Ping timeout: 248 seconds]
Matt|home has quit [Ping timeout: 260 seconds]
JerryXiao has quit [Server closed connection]
JerryXiao has joined #osdev
karenw has quit [Ping timeout: 248 seconds]
EmanueleDavalli has quit [Ping timeout: 248 seconds]
EmanueleDavalli has joined #osdev
jcea has joined #osdev
da5id has joined #osdev
edr has joined #osdev
Turn_Left has joined #osdev
ad__ has joined #osdev
<ad__> hi all, maybe you can help me with some uefi stuff. I am using tianocore. From a simple application, i need to access i2c on a Qcom chip
Left_Turn has quit [Ping timeout: 248 seconds]
<ad__> new to uefi, so i have not clear the basics. Is the low level i2c driver supposed to be provided from the chip rom ? Or is it part of uefi ?
<Ermine> firmware should know about i2c bus on your device
<zid> uefi has a little driver paltform for i2c devices I think
<pog> ad__: if oyu have the EFI_HANDLE of the device, you can use LocateProtocol() on it iirc
<zid> so that vendors can bundle simple i2c device drivers with your firmware
<Ermine> i2c protocol is not specified in uefi though
<bslsk05> ​uefi.org: Just a moment...
<pog> it is in PI
<zid> That's the API reference at least
<pog> so if you have the GUID and a struct that matches you can query the protocol
<Ermine> so yeah, applications should use a driver
<zid> idk how you're supposed to actually use any of the drivers you have
<zid> or if you even have any
<Ermine> There's always an option
<Ermine> ExitBootServices and do usual OS business
<zid> I'd just assume there wasn't a driver or that it didn't work, and write one myself, yea :P
<pog> EFI_CHEESE_PROTOCOL
* pog locates
<ad__> thanks all
<ad__> so fro mmy app i am doing:
<ad__> gBS->LocateHandleBuffer(ByProtocol,
<ad__> &gEfiI2cIoProtocolGuid,
<ad__> gut getting a 14 (NOT FOUND)
<ad__> *but
<Ermine> cheeseProtocol->giveCheese(cheeseProtocol, &pog);
* pog returns EFI_FASCINATED
<ad__> If i look the console (im am on a android fastboot application) i see UEFI start ... and later, - 0x09EEDB000 [ 1821] I2C.efi
<Ermine> giveCheeseEx allows to specify cheese typw
<pog> i wonder if it's not possible to do that in boot services then
<ad__> so i am supposing a driver is already there
<pog> i can't think of a reason why not
<pog> ad__: is this the protocol you're trying to locate? https://uefi.org/specs/PI/1.8A/V5_I2C_Protocol_Stack.html#efi-pei-i2c-io
<bslsk05> ​uefi.org: Just a moment...
Turn_Left has quit [Read error: Connection reset by peer]
Left_Turn has joined #osdev
<ad__> pog: sorry, i am really a beginner here, was trying access to gEfiI2cIoProtocolGuid. I just need to try to access a certain i2c bus/address, mainly just a "read" on a sensor. Have seen edkII contains I2cDxe driver. But maybe there is no need for it ?
<pog> ad__: no worries, i only know about boot-time stuff so anything that happens at DXE/PEI is a bit of a mystery to me and i can only offer vague suggestions
alexander has quit [Server closed connection]
alexander has joined #osdev
<zid> I am a very advanced form of google that actually works
<kof673> so like from 10-15 years ago :D
Turn_Left has joined #osdev
<kof673> 10-15-20-25 somewhere around there
Left_Turn has quit [Ping timeout: 248 seconds]
<ad__> pog: btw, trying now to use EFI_PEI_I2C_IO as you suggested that seems the simplier way, let'see
jcea has quit [Ping timeout: 248 seconds]
badtuple has joined #osdev
jcea has joined #osdev
netbsduser` has joined #osdev
xenos1984 has quit [Ping timeout: 248 seconds]
xenos1984 has joined #osdev
netbsduser` has quit [Ping timeout: 258 seconds]
Gooberpatrol66 has quit [Quit: Konversation terminated!]
dude12312414 has joined #osdev
dude12312414 has quit [Remote host closed the connection]
Gooberpatrol66 has joined #osdev
jcea has quit [Ping timeout: 248 seconds]
xenos1984 has quit [Ping timeout: 248 seconds]
arminweigl has quit [Server closed connection]
arminweigl has joined #osdev
xenos1984 has joined #osdev
sortie has quit [Remote host closed the connection]
sortie has joined #osdev
karenw has joined #osdev
karenw has quit [Remote host closed the connection]
karenw has joined #osdev
GeDaMo has quit [Quit: 0wt 0f v0w3ls.]
ring0_starr has joined #osdev
EmanueleDavalli has quit [Ping timeout: 248 seconds]
EmanueleDavalli has joined #osdev
tigerbrother has quit [Quit: Ping timeout (120 seconds)]
tigerbrother has joined #osdev
nortti has quit [Server closed connection]
nortti has joined #osdev
goliath has quit [Quit: SIGSEGV]
EmanueleDavalli has quit [Quit: Leaving]
GitSlay has joined #osdev
GitSlay has quit [Quit: Textual IRC Client: www.textualapp.com]
Turn_Left has quit [Read error: Connection reset by peer]
badtuple has quit [Ping timeout: 258 seconds]
Lucretia has quit [Remote host closed the connection]
sortie has quit [Quit: Leaving]
sortie has joined #osdev