Adding Support for Mikrotik RBGrooveGA-52HPacn

I am trying to add support for the Mikrotik GrooveA 52 AC. I managed to get openwrt booted on the device, but I can't get the mtd partition mounted. I am not confident that the partitions are setup correctly. I was hoping I could dump them from the mikrotik kernel, but I am also having trouble getting the objects dumped most likely due to my limited reverse engineering knowledge. Does anyone have any ideas on how I can extract the partitions from the device or the kernel?

If you want to find the OEM partition layouts, early dmesg (from OEM firmware) will show these to you. You may also find this in a decoded supout (decoder). You also want to check which GPIOs are used (and what for).
Sometimes, we can get information from the RouterOS GPL dumps:

From a quick look, it seems very similar to the supported

Thanks for the response. Indeed I have used the mikrotik_routerboard-wap-g-5hact2hnd.dts as a template and it seems to be working so maybe my search is over.

I haven't managed to get a descent console on the RouterOS as of yet. Do you know of a way to launch a shell that is not the mikrotik one?

I have looked through the links on GitHub that you sent and I will do so again, but I think they are too old for this model. I will try the supout method that you suggested. Thanks for that!

On old RouterOS versions (downgrade), you can use exploits to enable the devel login, and scp busybox on to the device for tools:

Yes, Mikrotik uses ancient Linux, but I would expect this device to be detailed in these dumps. I only see one ac Mikrotik Groove, so I guessed that they referred to it in source as g52c. You should be able to find this board code in the hard_config data.

else if (strncmp(board_type, "g52c", sizeof(board_type)) == 0) {
		mips_machgroup = MACH_GROUP_MT_RB700;
		mips_machtype = MACH_MT_GROOVE_52AC;
			return platform_add_devices(
			    g52c_devices,  ARRAY_SIZE(g52c_devices));
1 Like

Ok, so thanks to @johnth I was able to get the partition format figured out. Now on to the drivers!