In sys/utils/firmware.c is a handy routine fw_get_image_type(char *file) which checks the name of an uploaded file to see whether its one of the ‘special’ files - rom image, bootloaded and so on.
I’ve modified this to check for an alternative, project-specific, file name - imagine the shambles if all ‘real world’ image files were called ‘image.bin’. (Something it would be nice to have configurable).
However in Net+OS 7.4 this routine isn’t called (just upgraded from 7.1).
Anyone any idea whether there’s now an alternative call which will do what I want? Or any other solution?