671
Cyberpunk Rule (i.imgur.com)
you are viewing a single comment's thread
view the rest of the comments
[-] wreckedcarzz@lemmy.world 130 points 11 months ago

Imagine only having one copy of the system so when a situation like this occurs, you lack the ability to automatically switch to a working one, re-download and retry, without danger of this occurring.

This was fixed a decade ago with Android. They could have literally taken the source code from aosp and added it, or at least converted it (if in different programming language), and never had this issue. It would cost $0 and minimal time. But no. That won't ever happen. It's built ford tough.

[-] alphapuggle@programming.dev 37 points 11 months ago

While the implementation of an A/B update system wouldn't be drag and drop from Android to a different OS, they absolutely could implement the same idea to prevent this issue.

The likely reason as to why is storage space, you need two copies of the system, while only one is running at a time. They probably put as little space into these infotainment systems as possible.

If they put more in new models, they'd then have to support two methods of updating the system. It's easier to tell the customer on the rare occasion that an error does happen "oops we made a fucky wucky it's on you to fix it"

[-] kogasa@programming.dev 17 points 11 months ago* (last edited 11 months ago)

There's no way storage space is the issue. It would cost pennies per car and take up no additional space or power. The size of map/gps data would dwarf the OS by an order of magnitude or more.

[-] alphapuggle@programming.dev 7 points 11 months ago

You're 100% right. It would be pennies for larger storage. However, that doesn't mean they wouldn't go for a smaller size to save those pennies.

I used to work on a car lot, and a disturbingly large number of cars had an SD card port that would only be used for map data. You had to purchase these cards from a dealer or the manufacturer specifically, and if you wanted map data the SD card had to be inserted. I saw this specifically on some Mazda, Mitsubishi, and Subaru models, though it wouldn't surprise me if Ford uses the same method.

[-] kogasa@programming.dev 2 points 11 months ago

They certainly wouldn't add more storage than they need. But "need" is a relative term. If having a bit more storage means you aren't bricking customer cars requiring expensive service, then you "need" the storage.

It's more likely that the update process itself is a bit more complicated than e.g. updating a phone, and unexpected errors in specific processes make it harder to guarantee the safety of the device. For example if an update fails because one of the devices failed to flash, one may not be able to easily re-flash it and it may indicate a hardware fault.

[-] alphapuggle@programming.dev 1 points 11 months ago

That's also a valid possibility. Not a big fan of the idea of an ECU or similar getting an OTA, but I guess it's better than doing a recall if there's an issue? Not that my 1990 or 2010 vehicles ever needed something updated in them.

I hate the future of vehicles. I don't believe that the infotainment system should ever be connected to important vehicle functions.

[-] kogasa@programming.dev 3 points 11 months ago

I agree totally. Ideally the car should be fully functional with barely any complex software like most cars before 2010. The only case where a failing software update should be able to brick your car is when it's fixing a low level OS bug that renders the car unsafe to drive without the update.

[-] wreckedcarzz@lemmy.world 14 points 11 months ago

Yeah likely, and I'd be super pissed about this. You're (ford) telling me you cheap fucks couldn't be asked to install two like, shit, even cheap-ass comsumer-grade 100gb ssds or something at the cost of like $10 a pop, before 'economies of scale', in my fucking 50k vehicle. I want the tow bill comped, I want the repair comped, I want an equivalent rental vehicle comped for the entire duration of the repair, I want it in writing that if this shit happens again that I'm going to get the same treatment as I am now, and my time isn't free either so I want complementary maintenance the next time I'm in here; or I'm driving straight through the front window as soon as the repair is done, and I'm not stopping with the first vehicle I crash into.

[-] 31337@sh.itjust.works 3 points 11 months ago* (last edited 11 months ago)

Yeah, I've worked on embedded systems (some projects involving automotive and heavy machinery), and the amount of penny-pinching they used when selecting components was pretty crazy. On one project I worked on, they didn't want to spend an extra 30 cents for a microcontroller with more flash, so we had to be very cognizant of every byte we used. Flash was so tight, our firmware would only fit if we used the highest optimization setting on the compiler (making debugging very difficult).

[-] ShortFuse@lemmy.world 7 points 11 months ago* (last edited 11 months ago)

That's the old A/B that requires 2x storage.

The new method uses snapshotting and compression:

https://source.android.com/docs/core/ota/virtual_ab

[-] reverendsteveii@lemm.ee 2 points 11 months ago

Cars cost tens of thousands of dollars. A 1tb ssd costs tens of dollars.

[-] czardestructo@lemmy.world 29 points 11 months ago

I work on consumer electronic ear buds. Frigging ear buds, and we support this...

[-] user224@lemmy.sdf.org 23 points 11 months ago

Even some decent modern Wi-Fi routers have such protection. There's working and backup partition. If a firmware update fails, it boots using the previous working partition.

This is a better explanation (in this case for Cisco Linksys EA3500):

Like several other Linksys devices, the EA3500 has a dual firmware layout: working and backup partitions. Unless you manually choose which partition by doing a manual uboot/tftp install, firmware flashes occur on the backup partition and the EA3500 shall reboot from the backup partition following from a firmware flash. The backup partition becomes the new working partition when the reboot was successful. The former working partition becomes the new backup partition.

Source: https://openwrt.org/toh/linksys/ea3500

[-] Oderus@lemmy.world 4 points 11 months ago

Motherboards for years have a backup firmware just in case you fry the primary firmware.

This Ford issue is laughable.

[-] Lath@kbin.social 13 points 11 months ago

Ford is only focused on finding new ways of having your car break down in the middle of nowhere.

[-] Frozengyro@lemmy.world 6 points 11 months ago

You don't earn the name 'found on road dead' without having to innovate once in awhile.

[-] thisbenzingring@lemmy.sdf.org 4 points 11 months ago

Fix Or Repair Daily

eh my F250 is a beast and keeps on going. Only has broken down on me one time because of an oil pressure sensor. On a 7.3L diesel the oil flow is a must!

[-] princessnorah@lemmy.blahaj.zone 3 points 11 months ago

Yeah, there are a few things that I’m okay with my car preventing me from driving, and oil pressure is absolutely one of them.

this post was submitted on 26 Dec 2023
671 points (100.0% liked)

196

16552 readers
1625 users here now

Be sure to follow the rule before you head out.

Rule: You must post before you leave.

^other^ ^rules^

founded 1 year ago
MODERATORS