Single board computer GPIO HAL?

More
4 years 10 months ago #229293 by Mike_Eitel
My "impression" was that they are not real hw connected but by some "sw-glue" with is only known and supported by Intel. I could not even convince them to get a raw shema or box-diagram. So this thing is sitting on my bench, unused, having original w10 in internal disk, a lcnc on m2 and a rtai lcnc on external ssd. All quite 1.5 years old and not up to date. I also have a pci adapter, I tented for running different lpt boards. Idea was to have a universal "test" system on my bench with 7i76e, plus 7i42, plus a simple lpt with tmc2209. But lost the fun in it.
Mike

Please Log in or Create an account to join the conversation.

More
4 years 10 months ago #229317 by blazini36
That is probably not the case. All Intel (and probably all other) CPU/chipsets contain GPIO. Usually the maker of the motherboard writes a bios that defines the purpose of the GPIO. Those GPIO pins are not normally used for GPIO like we use it around here but that doesn't necessarily mean it can't be.

I'm pretty sure Seeed is a Chinese company. I don't think they have knowledgeable English speaking people around to answer questions like this. Intel has documentation on these things and I've found references to GPIO configuration tools but alot of it requires privilege with Intel that we just wouldn't have. It's pretty likely that these GPIO pins come straight off the PCH, I found document #633935-005 that explains some things about the GPIO, but nothing specific like hardware registers or anything like that. The bios itself does reference the pin numbers and these likely correspond directly with the chipset pins.

This will probably go nowhere since I doubt many people around here picked up one of these boards. There's a couple of guys on the machinekit forum that are wizards about stuff like this, but that group seems pretty dead lately. Posted over there to see what they think.

Please Log in or Create an account to join the conversation.

More
4 years 10 months ago #229330 by blazini36
Ok, Yeah Intel responded to me and I found the datasheet for Gemini Lake CPUs. I think I had to log in so I don't know if I can share it publicly but it contains the pin assignments and register map for the SOC and it looks like all the bios pin referenced correspond directly with the SOC pins listed in the datasheet.

Question is, what is Intel SOC GPIO capable of?

Please Log in or Create an account to join the conversation.

More
4 years 10 months ago #229332 by rodw

 I've been using Odroid H2's but availability on those has been spotty for months. I just figure since the thing does have GPIO, 
The Odroid H2+ has been discontinued due to lack of CPU supply.

Very disappointing but these seem a nice substitute.

Please Log in or Create an account to join the conversation.

More
4 years 10 months ago #229334 by blazini36
Pretty sure it's not quite discontinued yet, Ameridroid is still taking preorders. Even so the CPU isn't really their problem, its the 2.5gb nics. The J4125 on the Odyssey is likely pin compatible with the H2+'s J4115 because they both started out with a J4105. These are just minor refreshes of the CPUs, they bump up the clock speed and continue selling it. Seeed's boards have a bunch of different serials because of soldered RAM and EMMC options some are still in stock and Seeed told me they will be restocked on the 21st.

So if the H2 doesn't pop back up they either just don't want to run it anymore or they don't want to make the changes for peripheral chips that they may need to substitute.

Please Log in or Create an account to join the conversation.

More
4 years 10 months ago #229335 by rodw
I just found the gpio docs in the linux kernel.
www.kernel.org/doc/html/latest/driver-api/gpio/index.html

I think with the gpio numbers and these docs, you probably have enough info to write a gpio kernel driver. Beyond me though..
The following user(s) said Thank You: Mike_Eitel

Please Log in or Create an account to join the conversation.

Time to create page: 0.213 seconds
Powered by Kunena Forum