host icon indicating copy to clipboard operation
host copied to clipboard

allwinner: extend supported CPUS (H2, H3)

Open chenjeff622 opened this issue 5 years ago • 5 comments

as title. how do i porting please?

chenjeff622 avatar Jan 01 '21 12:01 chenjeff622

Could you contribute one?

If you want the headers, you could create a directory orangepi and use https://github.com/periph/host/tree/main/pine64 as an inspiration, then send a PR.

maruel avatar Jan 01 '21 16:01 maruel

okey. i will give a try.

chenjeff622 avatar Jan 08 '21 14:01 chenjeff622

@chenjeff622 Any progress on this? If not, I could pick this one up. I want to support the Orange Pi Zero (v1) with an Allwinner H2 CPU (ARMv7-A). Sadly, the allwinner package does not detect the CPU (see here the detection logic). The H2 is a 32 bit CPU with the device string allwinner,sun8i-h2-plus. Can I just extend the check for this type to support the CPU or is there more work to be done? What do you think @maruel?

f0086 avatar Sep 26 '22 12:09 f0086

https://github.com/periph/host/tree/main/allwinner You should to create h2 inside the folder. I don't have time to test my h3 board. Maybe we make it success together.

chenjeff622 avatar Sep 26 '22 13:09 chenjeff622

Even if the pinout is not supported, you can still use sysfs driver as a fallback. I'm happy to have more memory registered driver! I don't have one to develop and test on.

maruel avatar Sep 26 '22 23:09 maruel

I've implemented support for H2+ and H3 CPUs.

f0086 avatar Dec 13 '22 20:12 f0086