macOS Big Sur Installer no longer relies on Board IDs/Model IDs to judge compatibility, appears instead to use Board ID for older hardware and the new model codes (which have been around since T2 time IIRC) for M1s
To get the list of boardids/model codes:
hdiutil mount -nobrowse -noverify /path/to/Install macOS Big Sur.app/Contents/SharedSupport/SharedSupport.dmg
- python2:
cat /Volumes/Shared\ Support/com_apple_MobileAsset_MacSoftwareUpdate/com_apple_MobileAsset_MacSoftwareUpdate.xml | python -c "import sys; import plistlib; p=plistlib.readPlist(sys.stdin); print ' | '.join(p['Assets'][0]['SupportedDeviceModels']) + ' )'"
- python3:
cat /Volumes/Shared\ Support/com_apple_MobileAsset_MacSoftwareUpdate/com_apple_MobileAsset_MacSoftwareUpdate.xml | python3 -c "import sys; import plistlib; p=plistlib.loads(sys.stdin.buffer.read()); print(' | '.join(p['Assets'][0]['SupportedDeviceModels']) + ' )')"
- copy and paste into script case statement