[File] [PATCH] Magdir/firmware AMD MicroBlaze

A. IOOSS erdnaxe at crans.org
Fri May 30 18:45:58 UTC 2025


Hello,

I recently noticed that AMD MicroBlaze microcontrollers have a vector 
table at the beginning of their firmware with `IMM` and `BRAI` opcodes. 
This makes it easy for file to match the type of such firmware.

Attached you may find a patch that adds MicroBlaze detection to file.

This patch was tested using LittleKernel and RTEMS as of May 2025:
```
build-qemu-microblaze-test.bin: AMD MicroBlaze firmware, reset at 
0x90000050, big endian
build-zybo-microblaze-test.bin: AMD MicroBlaze firmware, reset at 
0x10000050, little endian
```

Thanks a lot,
-- A.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: microblaze.patch
Type: text/x-patch
Size: 1209 bytes
Desc: not available
URL: <https://mailman.astron.com/pipermail/file/attachments/20250530/b022da10/attachment.bin>


More information about the File mailing list