Open carlosgonz0 opened 1 year ago
Yes and no,
I mean, I made it boot, got serial, USB, audio working somewhat, and got the ADSP to boot... but with Quectel's ADSP blobs.
There's two show-stopping issues with the BM818, and some other issues that need to be taken into account by anyone who'd want to use it:
The ADSP firmware blobs included in the firmware are built as a single file that doesn't fit in RAM. In Linux, the files are split into sections and pushed into memory piece by piece. There are some tools to split the files, and they seem to do the splitting just fine, but the ADSP refuses to boot with them. I was able to boot the modem using Quectel's blobs, but that leads to a no-functional-imei and god knows how many EFS issues (this is the reason I haven't released anything)
The modem has 128Mb of RAM, from which about 80-90 are allocated to the ADSP / Trustzone etc. This leaves me with 30Mb of RAM for both the kernel and the entire userspace, which is very very low. While there's just enough memory to boot, just pushing some files to the flash through ADB makes it exhaust the memory and kills it forcing to reboot.
You need to repartition the modem and reformat the ADSP firmware partition so it can be mounted by linux and pushed to the adsp. I made some small tools for that, but that means your warranty is totally void from the second you try to flash it
You need to replace the SBL in the modem, as the factory one will refuse to boot anything but its ThreadX kernel. You can flash Quectel's SBL into place, but this too will void your warranty
I made two tools related to the Broadmobi:
I also have (although so far they're not publicly shared so nobody kills their modems):
I basically ended up at a point where I'm not sure if it's worth to keep trying to make it work, as it'll be only a crippled down version of what's available for the Quectel, and probably prone to a lot of issues due to the low available memory, when you can put a different module in there and call it a day
I think it should be good using this firmware to Librem 5 not matter if the firmware it is REDUCED to L5 modem but benefits and improvement the L5 modem with: powersave, heatsave, unblob, freedom.
This modem will be to L5, i hope this modem has more RAM and ROM
https://www.sierrawireless.com/iot-modules/4g-modules/em7565/
Hi Any progress for the development of the firmware for L5 modem?