[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vp / vr / w / wg / wsg / wsr / x / y ] [Home]
4chanarchives logo
Are computer units inside cars running on Lunix?
Images are sometimes not shown due to bandwidth/network limitations. Refreshing the page usually helps.

You are currently reading a thread in /g/ - Technology

Thread replies: 50
Thread images: 5
File: 1464103172159.png (3 MB, 1920x1080) Image search: [Google]
1464103172159.png
3 MB, 1920x1080
>>
>>54737829
yes
>>
>>54737829
Prob since Linux dominates everything but desktop
that is if you mispelled Linux and didn't mean little unix
>>
>>54737865
I wonder if it will ever rise in popularity on desktops again.
>>
no, they usually run RTOSs
>>
The ECUs I've messed with don't use Linux. Linux is overkill for an ECU.

An ECU basically monitors sensors and does the right thing based on a look up table. So it reads the crankshaft postition sensor and oh look it's time to give cylinder one some fuel. Well our throttle is set at such and such, the manifold air pressure sensor says we have this much air, and our rpms are pretty high so we need a little extra fuel to cool the cylinder to prevent knocking. So let's look it up in our ROMS chart. Okay it says turn the injector on for this many milliseconds.

You can right that as baremetal microcontroller code. You might use a RTOS to make your life easier. Linux could do it but you'd spend your time doing things like turning a fuel injector in to a character device file.
>>
Yes.

http://www.autoblog.com/2014/04/12/tesla-model-s-owners-hack-their-cars-find-ubuntu/
>>
>>54737829
Yes.

In vehicle entertainment systems typically run Linux.

GPS like Tom Tom run Linux.

Head over to LWN dot net to see many articles on Linux in cars.
>>
>>54737865
Desktops are a dying market and pretty much fucking irrelevant
>>
>>54737829
Kek, why is there a twingo on the front of that tesla
>>
>>54737865
>Linux dominates everything but desktop
>this is what lincucks actually believe

>>54737829
Nope. They run real-time OSs.
>>
>>54738389
linux can be real time
>>
>>54737829
Some, others run QNX, others probably run something else
>>
>>54738409

Hi, welcome to OSs 101.
>>
Yea, brah. Most even use Ubentu
>>
File: gas.powered.tesla.jpg (89 KB, 600x800) Image search: [Google]
gas.powered.tesla.jpg
89 KB, 600x800
>>54738389
Tesla uses linux heavily in their cars.
They give out patents along with the source code.
>>
yeah this is why people doomsdaying about ransomware in cars are fucking stupid
>>
>>54738474

In the CAN or in peripheral shit like the GPS?
>>
>>54738560
Linux is multitasking

Can Windows not multitasking?
>>
>>54738560
the linux-based pc is connected to the can bus and it uses it to control the electric roof or the suspension height.

I don't know the details but it is highly possible that all the autopilot features that works when the car is moving are running on the linux platform.
>>
>>54738389
If you need a real time OS for cars how come I can play Need for Speed on my MacBook?
>>
>>54738651
because if it hangs for a split second (hundreds of millisecs) you don't even notice it and your virtual car stops in time. Real cars don't stop in time.
>>
>>54738651

You don't know what real-time means and/or how OSs work.
>>
>>54738609

Good to know, that's bretty cool.
>>
>>54738677
>implying it matters if I brake a hundreth of a second later
>>
File: 1458071894354.jpg (38 KB, 417x550) Image search: [Google]
1458071894354.jpg
38 KB, 417x550
>>54738517
isn't the point of ransomware that people will pay for data that would be otherwise lost? If you got ransomware on your car you could just tow it into the dealership and get them flash a new OS into the car, no?
>>
>>54738754
>implying the car wil not move about 100ft a second
>implying that you or the car itself can't avoid an accident just by gaining 10 more feet of space
>>
>>54738754
One hundredth of a second. No, it doesn't matter if you brake 10MS late. What would matter is sensor timing. DI engines injecting at TDC, delay in cam readings, etc.

Obviously, these things don't matter to the Tesla.
>>
ECU uses microcontrollers and EEPROM since there is no use for an OS other than introducing lag and requiring more powerful hardware.

GPS and other touchscreens use either linux or windows.

Windows is pretty shit in this application. Lots of complaints about the touch screen crashing in newer trucks.
>>
EMBEDDED SYSTEMS
>>
>>54738317
You what
>>
>>54738317
Just because normies prefer a shit smartphone over a desktop doesn't mean it will die.
>>
>>54738219
A fuel injector as a character device file sounds so badass, I don't know what either is. I drive a 2016 mustang gt 5.0
>>
>>54738863
This does not work at fucking all how you think it does. 1/100th of a second delay will not make you crash any more than you were already going to.
>>
>>54739210
Sorry, I talked about hundreds of milliseconds originally, see
>>54738677
10ms is ok, hundreds of milliseconds are not. Typical non-RT OS can hang an app for few hundred ms before it returns the cpu to it.
>>
>>54738389
>>54737829
>>54738114
>>54739053
The most /g/ one uses ubuntu.
http://www.autoblog.com/2014/04/12/tesla-model-s-owners-hack-their-cars-find-ubuntu/

>>54738361
dank /o/ memes are the best
>>
>>54737829
Wat car is that? It looks so happy
>>
>>54740016
That's a Twesla, son
>>
>>54738754
No one cares if you brake a hundredth of a second later, but it definitely does matter if the ECU misses the fuel injection timing by a hundredth of a second.
Especially in diesels with multiple injection pulses.
About half of the ECU's job is to control injection/ignition timing.
>>
>>54738560
Tesla has 3 computers over the standard on-boards one. The dashboard is Tegra 4 running Ubuntu, clocks (behind the wheel) is Tegra 3, also Ubuntu. None of those has direct access to the CAN, instead they are in an old fashoned LAN with another computer running FreeRTOS, which is connected to CAN and allows the Ubuntu-based ones to control the car through Tesla's API (so no raw CAN frames from any linux app). It's all pretty well thought and awesome.
>>
https://shkspr.mobi/blog/2016/03/bmw-are-complying-with-the-gpl/
>>
>>54738389
but im using windows linux does dominate everything but desktop.
>>
Automotive Grade Linux
https://www.automotivelinux.org/

tl;dr: Many Europe car use CAN bus nowadays, and Linux will be use it to display info to user like dead headlight, broken sensor, etc.
Also, wifi, gps and entertainment stuff.
>>
File: 1446500254859.jpg (109 KB, 780x458) Image search: [Google]
1446500254859.jpg
109 KB, 780x458
>>54738219
Why do cars have so much code?
>>
>>54741224
Shit, that seems a little overkill for dash electronics.

Or does it have a bunch of useless features like tweeting your exact coordinates every other mile?
>>
>>54737829
why is it so happy?
>>
>>54743205
They have lots of features,like music player, navigation or web browser. It's still probably overkill, but I guess they wanted some performance buffer for future features like autopilot (which I assume runs/will run on the Tegra 4, though didn't read anything on the topic)
>>
>>54743205
>>54743998
Also the main screen allows for some multitasking with up to 3 apps visible, so the specs are rather reasonable.
>>
>>54737829
Generally yes. The can bus is far simpler, it's on the firmware level.
>>
If anybody has some more questions about CAN, i just had one course about it this semester, so i can maybe try and answer them.
Thread replies: 50
Thread images: 5

banner
banner
[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vp / vr / w / wg / wsg / wsr / x / y] [Home]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
If a post contains personal/copyrighted/illegal content you can contact me at [email protected] with that post and thread number and it will be removed as soon as possible.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com, send takedown notices to them.
This is a 4chan archive - all of the content originated from them. If you need IP information for a Poster - you need to contact them. This website shows only archived content.