July 29, 2020

Allwinner sunxi lingo

My Orange Pi boards use either the Allwinner H3 or H5 chips. I find myself studying the U-Boot and Linux sources, and the hot tip is to look for files and directories with the string "sunxi".

In those files, there are various conditionals for different specific chipsets. Often those conditionals have names like CONFIG_ARCH_SUN8I or you find routines with names like "sun8i_write_dword()". You may see things like this:

#if (defined CONFIG_ARCH_SUN8IW6P1) || (defined CONFIG_ARCH_SUN9IW1P1)
#elif (defined CONFIG_ARCH_SUN8IW6P1) || (defined CONFIG_ARCH_SUN8IW7P1)
The most useful resource I have found is this:

My H3 is a "sun8i", specifically a "sun8iw7p1".

My H5 is a "sun50i", specifically a "sun50iw2p1"

There are further comments and a table in the link above.


Have any comments? Questions? Drop me a line!

Tom's electronics pages / tom@mmto.org