pr0v3rbs/FirmAE

Mips64 architecture kernel

Opened this issue · 2 comments

Hi , I came across a firmware which belongs to netgear (WMS5316_FW_V2.1.7),
The architecture of the firmware is mips64 , but the mips kernel provided by FirmAE is mips32.
Is there some script or tool which can compile the mips64 architecture kernel

Currently, FirmAE does not support mips64 cause the toolchain is the musl-cross of the Firmadyne.
However, the latest musl-cross supports x86_64 architecture. link
Moreover, FirmAE uses the kernel-v4.1 for all the architectures, so it may be compatible with the latest musl-cross.

Sorry for my misunderstanding, musl-cross does not support mips64. However, I found musl-cross-make repository which supports mips64 and also aarch64.
The kernel-v4.1 is old, so it only supports the old version of gcc (5.3.0) and the other libraries, too. I'm testing now to build the compiler.