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

196

16601 readers
1743 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
 
you are viewing a single comment's thread
view the rest of the comments
[–] alphapuggle@programming.dev 37 points 11 months ago (5 children)

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) (1 children)

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 (1 children)

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 (1 children)

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 (1 children)

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 (1 children)

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.