• HugeNerd@lemmy.ca
    link
    fedilink
    English
    arrow-up
    43
    ·
    8 hours ago

    “it was actually a PY32F002B, powered by a 24 MHz Arm Cortex M0+ processor. The chip also carried 24KB of flash storage and 3KB of static RAM”

    To process a single button.

    • StarDreamer@lemmy.blahaj.zone
      link
      fedilink
      English
      arrow-up
      19
      ·
      edit-2
      8 hours ago

      Because an existing SoC at scale is cheaper than a custom ASIC.

      You see this all the time, custom keyboard running ARM+Linux, SmartNICs using RISC-V cores/FPGAs instead of ASIC accelerators. Even Microsoft refuses to commit to ASICs for network processing in their DCs and use FPGAs instead.

    • Jason2357@lemmy.ca
      link
      fedilink
      English
      arrow-up
      3
      ·
      2 hours ago

      Hardware isn’t the limitation, its willingness to fight locked down hardware and the power management of android. You might be able use ADB to control it, install termux and then with that, SSH server and then a server of some sort.

      In my experience, most phones don’t seem to boot sans battery, so its just a matter of time until the battery goes poof and your system goes down. Some manage it though - you do get a decent amount of hardware for the power consumption.

      • TimeNaan@lemmy.worldOP
        link
        fedilink
        English
        arrow-up
        1
        ·
        42 minutes ago

        Probably only replacing the screen would work at this point. Android is quite flexible but you need some touch input to operate it.

      • teyrnon@sh.itjust.works
        link
        fedilink
        English
        arrow-up
        1
        ·
        3 hours ago

        It just got dramatically worse, screen jumps up and down, unusable I won’t even be able to take phone calls. I can’t even restart it.

        • dandu3@lemmy.world
          link
          fedilink
          English
          arrow-up
          3
          ·
          54 minutes ago

          If it’s an OLED and it’s cracked you have only a couple hours to get your shit off of it before it goes completely blank. LCDs are usually somewhat fine depending on how they’re broken. They don’t get worse

          • teyrnon@sh.itjust.works
            link
            fedilink
            English
            arrow-up
            1
            ·
            41 minutes ago

            It took a day to go from partially fucked to unusable, the entire screen is like seizuring. There was no actual crack though, must have hit a rock or something getting lobbed onto the ground.

  • Armand1@lemmy.world
    link
    fedilink
    English
    arrow-up
    9
    ·
    11 hours ago

    24 MHz Arm Cortex M0+ processor. The chip also carried 24KB of flash storage and 3KB of static RAM.

    … a 10y old phone can barely load Google, and this is about 100x slower.

    Wild that you can serve anything with that hardware. Granted, static websites are basically just sending files over the wire.

    • BCsven@lemmy.ca
      link
      fedilink
      English
      arrow-up
      8
      ·
      10 hours ago

      The 10 year old phone OS probably is slowing all of that. If they flashed phone as a dedicated webserver it would probably be fine

    • disorderly@lemmy.world
      link
      fedilink
      English
      arrow-up
      6
      ·
      10 hours ago

      The webpage he hosted was a copy of his own blog post explaining the hack. It just about fit into the 20KB of available flash storage.

      We can infer that on every request, the whole static page needs to be spooled out of flash onto RAM (in chunks no larger than 3k), then sent out over Ethernet.

      That’s an awful lot of work for the chip. I’m not surprised at all that it errors out under heavy load. The request queue probably grows until it collides with the buffer that bucket brigades the web page to the network.

      I’m afraid to look up what optimizations were necessary to get that level of performance. It’s damned impressive work.

      • Lumisal@lemmy.world
        link
        fedilink
        English
        arrow-up
        2
        ·
        8 hours ago

        Ah, but what if you string together 100 of these as a cluster? Now u get a whole 2Mb of flash storage!

    • Maroon@lemmy.world
      link
      fedilink
      English
      arrow-up
      4
      ·
      7 hours ago

      What is this Brodie guy’s problem? Keeps calling it “dumb” and throwing shade for like 5 min before he actually gets on with what basically summarising the guys work.

      Like no one is expecting a high functioning website to run off of a vape, chill dude.