Hi, I’m using SLQS04.00.27-lite.bin.tar
library and trying to update firmware on RC7620 in mips environment. There is no precompiled binary for mips, so I compiled it from sources:
make CPU=mips CROSS_COMPILE=/home/test/toolchain/mips/bin/mips-linux-
but after running fwdwl-litemips -f /mnt/persistent/test.spk
I got only:
Modem Manager rules Tested
litefw version :lite-fwSLQS04.00.27
INFO: QDL Port : /dev/ttyUSB0
INFO: Device Path: /dev/qcqmi0
INFO: FW Path : /mnt/persistent/test.spk
litefw_ExtractFirmwareParametersByPath Error: -1
Exiting Application!!!
When I tried to run it in strace
, I saw suspicious:
stat("/mnt/persistent/test.spk", {st_mode=S_IFREG|0644, st_size=34347243, ...}) = 0
openat(AT_FDCWD, "/mnt/persistent/test.spk", O_RDONLY|O_NOCTTY|O_NONBLOCK) = 4
fstat(4, {st_mode=S_IFREG|0644, st_size=34347243, ...}) = 0
mmap2(NULL, 0, PROT_READ, MAP_PRIVATE|MAP_POPULATE, 4, 0) = -1 EINVAL (Invalid argument)
close(4) = 0
Does it require some special compiler flags to be running, or is it not supported on mips at all.