Git Product home page Git Product logo

Comments (4)

daniestevez avatar daniestevez commented on September 28, 2024 1

I think that the problem is that your custom firmware is too large. The Maia SDR firmware only leaves around 39.2MiB of free RAM, since most of the RAM is reserved for IQ recordings.

It seems that the update firmware procedure needs at least twice the firmware size of free RAM, since /sbin/update_frm.sh does

head -c -33 ${FILE} > /opt/firmware.frm

and both /opt/firmware.frm and the original firmware file sit in a RAM filesystem. This explains why attempting to flash a 26MB image won't work.

In principle it would be possible to rework /sbin/update_frm.sh so that it works in-place, without duplicating the firmware file in RAM.

Note that killing the maia-httpd process and removing everything in the /root directory (which contains the maia-httpd binary and its assets) will increase the amount of free RAM to 44.7MiB (I'm reading these values from the "available" column of free), but still this doesn't seem sufficient to flash a 26MB image (I didn't test it).

from plutosdr-fw.

daniestevez avatar daniestevez commented on September 28, 2024

Transferring the issue to the plutosdr-fw repository...

from plutosdr-fw.

daniestevez avatar daniestevez commented on September 28, 2024

I have just checked that I can flash the ADI firmware v0.35 using the mass storage method on a Pluto rev. B that is running the Maia SDR v0.1.1 firmware.

Can you give more details about the problem? Does the LED flash rapidly after you eject the the mass storage device? After you attempt to flash the ADI firmware, does the Pluto boot to Linux correctly? What does the motd indicate when you log in by serial or ssh (you can also cat /etc/motd)?

from plutosdr-fw.

r4d10n avatar r4d10n commented on September 28, 2024

I am using a custom build of ADI firmware (~26MB vs ~11MB (stock v0.35) vs 13MB (maia)), which is probably causing the problem. I tried using the stock v0.35 as you suggested and it is working fine.

I am able to install this custom build by copying the pluto.frm to a stock v0.35 installed Pluto, but not to a maia-sdr installed Pluto. The custom build fw is uploaded here for your reference.

LEDs do not flash when I copy the custom fw and eject the mass storage device, which means it is not loading the custom firmware copied to the device. When I reconnect, it shows motd for maia-sdr.

from plutosdr-fw.

Related Issues (7)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.