i´m not sure if this is the right place to ask this question, but i think it´s at least somewhat fitting. I´m currently evaluating the RPi as a learning platform for the assembly language and basic computer architecture at my university. Unfortunately it´s not possible to give away a Rpi to every student, so i´m trying to use QEMU to emulate the RPi for home use, so students could write parts of the code at home and test it before putting it on the real hardware at the university. Unfortunately QEMU does not emulate the bcm2835, so there is no gpiomem file. So my idea was to copy the gpiomem file from a real RPi and write an emulation for basic periphery like a LED and a button and make them write/read the file. The user could basically just change the memory mapping in his assembly code and would be good to go. Now i´m currently having a problem, i couldn't find a way to copy the gpiomem file from my RPi. Has anyone ever tried something like this and is it even possible to copy the file and use it in the way i would like to?
Thanks in advance.