00:00
qookie has quit [Server closed connection]
00:00
qookie has joined #osdev
00:17
goliath has quit [Quit: SIGSEGV]
00:22
Reinhilde has quit [Server closed connection]
00:23
antranigv_ has joined #osdev
00:24
antranigv has quit [Ping timeout: 260 seconds]
00:26
Ellenor has joined #osdev
00:27
antranigv_ is now known as antranigv
00:54
edr has quit [Quit: Leaving]
02:43
terrorjack has joined #osdev
03:01
skipwich has quit [Remote host closed the connection]
03:02
skipwich has joined #osdev
03:06
Benjojo has quit [Server closed connection]
03:07
Benjojo has joined #osdev
03:27
jcea has quit [Ping timeout: 248 seconds]
03:37
fgarcia has quit [Read error: Connection reset by peer]
03:41
fgarcia has joined #osdev
04:22
agent314 has joined #osdev
04:25
fgarcia_ has joined #osdev
04:27
fgarcia has quit [Ping timeout: 258 seconds]
04:28
fgarcia_ is now known as fgarcia
04:33
geist has quit [Server closed connection]
04:33
geist has joined #osdev
04:52
fgarcia has quit [Ping timeout: 248 seconds]
04:54
fgarcia has joined #osdev
05:08
chiselfuse has quit [Remote host closed the connection]
05:09
chiselfuse has joined #osdev
05:09
sham1_ is now known as sham1
05:30
agent314 has quit [Quit: WeeChat 4.5.2]
05:30
agent314 has joined #osdev
06:00
xvmt has quit [Remote host closed the connection]
06:05
xvmt has joined #osdev
06:20
GeDaMo has joined #osdev
06:26
netbsduser` has joined #osdev
06:53
EmanueleDavalli has joined #osdev
07:15
Lucretia has joined #osdev
07:32
DoubleJ has quit [Server closed connection]
07:33
DoubleJ has joined #osdev
08:18
bombuzal has quit [Server closed connection]
08:19
bombuzal has joined #osdev
08:24
netbsduser` has quit [Ping timeout: 248 seconds]
08:25
agent314 has quit [Ping timeout: 248 seconds]
08:43
agent314 has joined #osdev
09:09
goliath has joined #osdev
09:24
agent314 has quit [Ping timeout: 258 seconds]
09:47
basil has quit [Server closed connection]
09:51
EmanueleDavalli has quit [Quit: Leaving]
09:51
basil has joined #osdev
09:51
Left_Turn has joined #osdev
10:03
JTL has quit [Server closed connection]
10:07
JTL has joined #osdev
10:09
EmanueleDavalli has joined #osdev
10:18
Left_Turn has quit [Ping timeout: 258 seconds]
10:24
agent314 has joined #osdev
10:30
agent314 has quit [Ping timeout: 258 seconds]
10:32
Left_Turn has joined #osdev
10:45
Turn_Left has joined #osdev
10:46
Left_Turn has quit [Ping timeout: 248 seconds]
10:59
karenw has joined #osdev
11:01
badtuple has joined #osdev
11:14
Left_Turn has joined #osdev
11:16
Turn_Left has quit [Ping timeout: 255 seconds]
11:22
badtuple has quit [Ping timeout: 248 seconds]
11:31
Matt|home has quit [Ping timeout: 260 seconds]
11:35
JerryXiao has quit [Server closed connection]
11:35
JerryXiao has joined #osdev
12:12
karenw has quit [Ping timeout: 248 seconds]
12:19
EmanueleDavalli has quit [Ping timeout: 248 seconds]
12:26
EmanueleDavalli has joined #osdev
12:29
jcea has joined #osdev
12:30
da5id has joined #osdev
12:49
edr has joined #osdev
13:33
Turn_Left has joined #osdev
13:35
ad__ has joined #osdev
13:36
<
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
13:36
Left_Turn has quit [Ping timeout: 248 seconds]
13:37
<
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 ?
13:38
<
Ermine >
firmware should know about i2c bus on your device
13:38
<
zid >
uefi has a little driver paltform for i2c devices I think
13:38
<
pog >
ad__: if oyu have the EFI_HANDLE of the device, you can use LocateProtocol() on it iirc
13:39
<
zid >
so that vendors can bundle simple i2c device drivers with your firmware
13:39
<
Ermine >
i2c protocol is not specified in uefi though
13:39
<
bslsk05 >
uefi.org: Just a moment...
13:39
<
zid >
That's the API reference at least
13:39
<
pog >
so if you have the GUID and a struct that matches you can query the protocol
13:39
<
Ermine >
so yeah, applications should use a driver
13:39
<
zid >
idk how you're supposed to actually use any of the drivers you have
13:39
<
zid >
or if you even have any
13:41
<
Ermine >
There's always an option
13:41
<
Ermine >
ExitBootServices and do usual OS business
13:41
<
zid >
I'd just assume there wasn't a driver or that it didn't work, and write one myself, yea :P
13:42
<
pog >
EFI_CHEESE_PROTOCOL
13:42
<
ad__ >
so fro mmy app i am doing:
13:42
<
ad__ >
gBS->LocateHandleBuffer(ByProtocol,
13:42
<
ad__ >
&gEfiI2cIoProtocolGuid,
13:42
<
ad__ >
gut getting a 14 (NOT FOUND)
13:44
<
Ermine >
cheeseProtocol->giveCheese(cheeseProtocol, &pog);
13:44
* pog
returns EFI_FASCINATED
13:44
<
ad__ >
If i look the console (im am on a android fastboot application) i see UEFI start ... and later, - 0x09EEDB000 [ 1821] I2C.efi
13:45
<
Ermine >
giveCheeseEx allows to specify cheese typw
13:45
<
pog >
i wonder if it's not possible to do that in boot services then
13:45
<
ad__ >
so i am supposing a driver is already there
13:45
<
pog >
i can't think of a reason why not
13:49
<
bslsk05 >
uefi.org: Just a moment...
13:51
Turn_Left has quit [Read error: Connection reset by peer]
13:53
Left_Turn has joined #osdev
13:53
<
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 ?
13:58
<
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
14:03
alexander has quit [Server closed connection]
14:03
alexander has joined #osdev
14:04
<
zid >
I am a very advanced form of google that actually works
14:06
<
kof673 >
so like from 10-15 years ago :D
14:07
Turn_Left has joined #osdev
14:07
<
kof673 >
10-15-20-25 somewhere around there
14:10
Left_Turn has quit [Ping timeout: 248 seconds]
14:11
<
ad__ >
pog: btw, trying now to use EFI_PEI_I2C_IO as you suggested that seems the simplier way, let'see
14:40
jcea has quit [Ping timeout: 248 seconds]
15:15
badtuple has joined #osdev
15:21
jcea has joined #osdev
16:33
netbsduser` has joined #osdev
17:01
xenos1984 has quit [Ping timeout: 248 seconds]
17:15
xenos1984 has joined #osdev
17:23
netbsduser` has quit [Ping timeout: 258 seconds]
17:32
Gooberpatrol66 has quit [Quit: Konversation terminated!]
17:35
dude12312414 has joined #osdev
17:36
dude12312414 has quit [Remote host closed the connection]
18:03
Gooberpatrol66 has joined #osdev
18:22
jcea has quit [Ping timeout: 248 seconds]
18:26
xenos1984 has quit [Ping timeout: 248 seconds]
18:39
arminweigl has quit [Server closed connection]
18:39
arminweigl has joined #osdev
18:41
xenos1984 has joined #osdev
19:06
sortie has quit [Remote host closed the connection]
19:08
sortie has joined #osdev
19:21
karenw has joined #osdev
19:23
karenw has quit [Remote host closed the connection]
19:24
karenw has joined #osdev
19:34
GeDaMo has quit [Quit: 0wt 0f v0w3ls.]
19:38
ring0_starr has joined #osdev
19:40
EmanueleDavalli has quit [Ping timeout: 248 seconds]
19:48
EmanueleDavalli has joined #osdev
20:57
tigerbrother has quit [Quit: Ping timeout (120 seconds)]
20:57
tigerbrother has joined #osdev
21:29
nortti has quit [Server closed connection]
21:29
nortti has joined #osdev
21:29
goliath has quit [Quit: SIGSEGV]
21:52
EmanueleDavalli has quit [Quit: Leaving]
22:04
GitSlay has joined #osdev
22:59
Turn_Left has quit [Read error: Connection reset by peer]
23:10
badtuple has quit [Ping timeout: 258 seconds]
23:30
Lucretia has quit [Remote host closed the connection]
23:33
sortie has quit [Quit: Leaving]
23:36
sortie has joined #osdev