acageduser / DMA-Attack-Firmware-Customization

This cybersecurity guide provides a comprehensive approach to hardware obfuscation using LambdaConcept's PCIe Screamer Squirrel DMA board. It is intended for educational and research purposes only.
MIT License
17 stars 0 forks source link

Possibly missing info #2

Open hwrnr opened 1 month ago

hwrnr commented 1 month ago

I followed your tutorial, and I had error memprocfs couldn't initialize vmm.

Changing value of rw[21] to 1, just under following line

rw[20] <= 1; // CFGSPACE_STATUS_REGISTER_AUTO_CLEAR [master abort flag]

fixed my issue. Not sure what the issue is, but leaving it here as it may help someone else.

To give credit, following page suggested changing that value (in the video at the end of tutorial, before comments) https://blog.rabu.me/dma-create-custom-firmware/

acageduser commented 1 month ago

Interesting to see.

I built mine just fine while leaving rw[21] as the default and it ran fine with no issues. If I have the time, I will look into rw[21] and see what that controls. Glad you found a solution.

That link seems to be a pretty solid tutorial too! Doesn't go into too much depth, but it covers some things I perhaps did not such as flashing.