Hi, thank you for your answer. I am sorry that it took me so long to try this out. But unfortunately this does not work with my NanoPi Neo Air. The error message is still: piBoardRev: Unable to determine board revision from /proc/cpuinfo. Is 2(0) the board revision number? In boardtype_friendlyelec.c the corresponding line is this:
{"sun8i", 0, NanoPi_NEO_Air, "NanoPi-NEO-Air", "2(0)"},
So, maybe 0 is the board revision number. I am unsure what causes the error, I did not find the error message directly in boardtype_friendlyelec.c. Most likely this function is related: getFieldValueInCpuInfo and not the getAllwinnerBoardID where I changed the two lines according to your instructions. The file /sys/devices/platform/board/info named there is empty on my devices and the corresponding folder does not exists. This seems like the error, could you post your /sys/devices/platform/board/info file content from your NanoPi Neo Air?
Thank you!