Slashdot Mirror


Tesla Starts To Release Its Cars' Open-Source Linux Software Code (zdnet.com)

An anonymous reader writes: Tesla cars are powered not only by batteries but by open-source software. Until recently, though, Tesla hasn't lived up to its obligations under open-source licenses, but now Tesla is finally releasing some of its Linux source code for the Model S and X cars. The Tesla GitHub repository contains the code for the Model S/X 2018.12 software release. Specifically, it holds the system image on the Tesla Autopilot platform, the kernel sources for its underlying hardware, and the code for its Nvidia Tegra-based infotainment system.

Tesla will release additional open-source code for other systems in their cars soon. According to Tesla, "Work is underway on preparing sources in other areas as well, together with a more coordinated information page. We wanted to let you know about this material as it is available now while work continues on the other parts." The electric car thought-leader will also update its code as updated software releases are made.

57 of 83 comments (clear)

  1. This is a good sign by Aurelfell · · Score: 2

    Regardless of your position on Open Source, this kind of openness helps Tesla look more like a thought leader and less like a pyramid scheme.

    1. Re:This is a good sign by Lunix+Nutcase · · Score: 1

      How does taking years to come into GPL compliance make Tesla and thought-leader?

    2. Re:This is a good sign by Aurelfell · · Score: 1

      Fair point.

    3. Re:This is a good sign by Actually,+I+do+RTFA · · Score: 1

      This kind of "lack of IP" (similar to their opened patents) is what makes it look more like a pyramid scheme and less of a business. A pyramid scheme that may, in addition to enriching Elon, make electric cars more viable, but a still scheme.

      --
      Your ad here. Ask me how!
    4. Re:This is a good sign by Megol · · Score: 1

      AFAIK the one time MS was caught distributing GPL contaminated software they verified it and re-released the software under the GPL.
      But you obviously have something more recent in mind?

    5. Re:This is a good sign by Lunix+Nutcase · · Score: 1

      Because anyone on Wall Street cares about what someone on Slashdot posts? You’re joking, right?

    6. Re:This is a good sign by taustin · · Score: 1

      If others follow his example, he's a thought leader. Even if he's leading them in a direction you don't like.

    7. Re:This is a good sign by jrumney · · Score: 1

      A leader would release source code at the same time as launching the product. I don't think Tesla deserves any accolades for fulfilling their legal obligation 6 years too late.

    8. Re:This is a good sign by Lunix+Nutcase · · Score: 1

      Again, you think Slashdot actually matters to any investor? If this conspiracy were real it would be posted on a site that was actually relevant like Reddit.

    9. Re:This is a good sign by Lunix+Nutcase · · Score: 1

      Funny thing about Musk cocksuckers. They have horrible comebacks and make up ridiculously stupid comebacks. Oh and funny thing you mention 4chan as it’s also far more relevant than this site.

      No one who is a big time investor either posts or cares about something posted to Slashdot.

    10. Re:This is a good sign by novakyu · · Score: 1

      Um, others already "follow" his example.

      You are not being a "thought leader" when you spot a police car on the freeway and slow down to the posted speed limit, which is the car-analogy version of what Tesla's doing here.

    11. Re:This is a good sign by Type44Q · · Score: 1

      Try harder, shill. It's early; more coffee?

    12. Re:This is a good sign by Type44Q · · Score: 1

      I second the question.

    13. Re:This is a good sign by Carewolf · · Score: 1

      If, and that's a big if, they actually release the source code and don't do what Microsoft does which is to talk about it, but never do it.

      Or like Apple, release it to begin with, but then slowly forget to update their opensource website with new software releases, until the open source parts of the iPhone haven't been released for the last 4 years despite their browser engine being LGPL.

  2. Point of order by AlanObject · · Score: 4, Insightful

    This seems like a thread where I can expect the usual Tesla haters to use this topic to illustrate how corrupt, lawless, out-of-control, stupid or just plain evil (probably all) Tesla is.

    So I thought I would just get ahead of all that and leave this here:

    While our preference is that companies provide adequate CCS immediately, we realize that this can be a challenging process and recognize that Tesla has struggled for years with upstreams to yield proper CCS. We believe Tesla's new approach also has merit, because it allows the entire community to discuss and contribute in public and collaboratively assist Tesla in complying with the GPL.

    I have struggled with this myself in the past. What do you do when your source code reveals an API to some licensed module which is not itself open source and you are under NDA not to reveal its details? I am sure Telsa's work involves a lot of that.

    1. Re:Point of order by Lunix+Nutcase · · Score: 2

      Strange how other companies are not given this benefit of the doubt on Slashdot. Other companies are simply painted as evil with a broad brush. *cough* VMWare *cough* But, hey, it’s Tesla so it’s okay that they’ve violated the GPL for many years. Because being consistent and holding them to the same standard laughably as anyone else makes you a “hater.” *rolls eyes*

    2. Re:Point of order by zlives · · Score: 1

      word from the Benevolent Leader is Tesla==Thought leader, your job is to disseminate the word... not to question his will.

    3. Re:Point of order by Actually,+I+do+RTFA · · Score: 3, Insightful

      What do you do when your source code reveals an API to some licensed module which is not itself open source and you are under NDA not to reveal its details? I am sure Telsa's work involves a lot of that.

      Use BSD/MIT open source to build off of? I mean, I get it's hard. But building off open-source software is building off a valuable asset. I don't get to build on land and say "well, getting the deed was too hard."

      --
      Your ad here. Ask me how!
    4. Re:Point of order by Anonymous Coward · · Score: 1

      What do you do when your source code reveals an API to some licensed module which is not itself open source and you are under NDA not to reveal its details?

      No one is forcing you to use the other licensed module and no one is forcing you to use the GPL software.

      What you are effectively coming to is. I have this software I want to use with a proprietary license, but I really like this stuff under the GPL I can get for free, use for free and get benefits of the ongoing development process, bug fixes etc. So I've decided it's far more important to me to adhere to the proprietary license, so I'll just say fuck you to the GPL license to adhere to that.

      How come the story is never the other way around? I decide in order to keep the obligations of the open source license, I'd stick two fingers up to the proprietary license.

      There is no tough choice here, if the licenses are incompatible, then pick which one you value more and don't use the other.

    5. Re:Point of order by Lunix+Nutcase · · Score: 2

      Exactly. No one forced Tesla and the Prophet Elon (peace be upon him) to use Linux so, just like any other company, they deseve no “woe is me” sympathies for being a chronic, years-long GPL violator.

      Don’t want to agree to the software license then don’t use the damn code.

    6. Re:Point of order by AmiMoJo · · Score: 2

      What do you do when your source code reveals an API to some licensed module which is not itself open source and you are under NDA not to reveal its details?

      Offer the open source code owner some cash to licence it for you? If it's worth something to you it makes sense.

      --
      const int one = 65536; (Silvermoon, Texture.cs)
      SJW, n: "Someone I don't like, and by the way I'm a fuckwit" - AC
    7. Re:Point of order by Lunix+Nutcase · · Score: 1

      How dare you expect Tesla to abide by the license of the software they chose to use! Don’t you know that that makes you a “hater?”

    8. Re:Point of order by Lunix+Nutcase · · Score: 1

      Great, but it’s not being a hater to call out Elon for violating the GPL for years and years.

    9. Re:Point of order by jrumney · · Score: 1

      What do you do when your source code reveals an API to some licensed module which is not itself open source and you are under NDA not to reveal its details?

      If you wrote the software yourself, you rewrite it to come into compliance with the license. If the software was supplied to you by a vendor, you give them an ultimatum to solve the issue within a reasonable timeframe and to indemnify you against any claims for the period where you are shipping non-compliant software. Going 6 years without a solution is not reasonable.

    10. Re:Point of order by AlanObject · · Score: 1

      If you can't comply with your obligation to release your code ... because proprietary ... then don't fucking start by using open source in the first place.

      If the SFC is approving of Tesla's efforts then I doubt you or me is going to find fault they didn't find. Granted that they were slow and they may have started off in bad faith (not proven) but that is not where they are now. The SFC text cites NVidia and Parrot ("upstream vendors") as the problem in this case and this issue rests with them just as much as Tesla.

    11. Re:Point of order by Lunix+Nutcase · · Score: 1

      No, it’s quite easy to find fault in their six years of violating the GPL. Especiallt when no other company would be given such leeway for being such a long-term violator.

    12. Re:Point of order by Waccoon · · Score: 1

      Look at it this way. If you violate the licensing terms of a commercial product, that 3rd party vendor will be all over your ass with lawsuits. It's hard, but you comply because that's business.

      The simple reason why a lot of companies are lax with GPL/FOSS compliance is because it's easier to get away with it. Either that, or they're flying a bit too much from the seat of their pants (typical Silicon Valley mindset).

    13. Re:Point of order by Actually,+I+do+RTFA · · Score: 1

      It should be noted that even if one uses a non-copyleft base to build off of, generally you end up given back a lot of code anyway.

      Very true. But the GP was talking about the difficulty of interacting with proprietary code (and even APIs!) from GPL code. But yeah, if you contribute back, other people help maintain it. So anything that's not worth the upkeep cost of keeping a secret should be contributed back.

      --
      Your ad here. Ask me how!
    14. Re:Point of order by DeBaas · · Score: 1

      *cough* whataboutism *cough*

      --
      ---
    15. Re:Point of order by tlhIngan · · Score: 1

      Look at it this way. If you violate the licensing terms of a commercial product, that 3rd party vendor will be all over your ass with lawsuits. It's hard, but you comply because that's business.

      The simple reason why a lot of companies are lax with GPL/FOSS compliance is because it's easier to get away with it. Either that, or they're flying a bit too much from the seat of their pants (typical Silicon Valley mindset).

      How come when it comes to movies and music, it's "free the content!" and "movie industry makes too much money" or "copyright is too long" and "piracy is the way to go!".

      But when a GPL violation occurs, which is a bog-standard copyright violation, aka piracy, it's never about "the content should be free!" or "the evil content industry"? (You can't really violate the GPL - you can not agree to follow it, but it means instead of the GPL,. you're back to All Rights Reserved copyright, and thus, a "GPL Violation" is really a copyright violation because you didn't agree to the GPL, so instead you've agreed to your default rights under copyright law which you violated).

      Somehow, if it's OK when it's other people's content, but when it's your content, it's "hands off!".

  3. Dupe by Thelasko · · Score: 2

    This story only got 24 comments when it was posted last week.

    --
    One of our competitors trademarked the term "hypothesis". From now on, we will call them "boneheaded ideas".
    1. Re:Dupe by zlives · · Score: 1

      curse of fridays

  4. Wait for it by ausekilis · · Score: 1

    Someone is gonna get Snes9X running on there, and use car controls to run Mario Kart. Autopilot, go!

    1. Re:Wait for it by godrik · · Score: 1

      > Someone is gonna get Snes9X running on there, and use car controls to run Mario Kart. Autopilot, go!

      Or do the reverse, use Mario Kart's AI to drive the car!

  5. How do you like your NERD KING now?! by Thud457 · · Score: 1
    --

    the preceding comment is my own and in no way reflects the opinion of the Joint Chiefs of Staff

  6. Stopping distant by glenebob · · Score: 2

    Maybe they'll release they're Stopping Distance Control Software source code. Seems like it could use some peer review.

    1. Re:Stopping distant by religionofpeas · · Score: 1

      Why ? Do you think that's in the kernel ?

    2. Re:Stopping distant by glenebob · · Score: 1
    3. Re:Stopping distant by religionofpeas · · Score: 1

      Yes, I'm aware of the issue.

      The question was if that code is part of their Linux kernel, or if it's part of their application software that runs on top of it ? The GPL requirements only apply to modifications of existing kernel code, not user level applications.

  7. Re:Prime reason to avoid open source at all costs by JamesNorton · · Score: 1

    Even you know thats stupid hence the AC posting. Go away dumbass isint their a MAGA rally you can attend.

    The tired "Trump supporters are idiots" refrain. Well done.

  8. MS owned ? by rojash · · Score: 1

    So now that MS might buy Github, which hosts Tesla OSS code, we can expect MS code to run cars ? {{shudder}}

    1. Re:MS owned ? by Lunix+Nutcase · · Score: 1

      Is this word salad supposed to mean something?

  9. Re:Prime reason to avoid open source at all costs by jrumney · · Score: 1

    The GPL is quite simple. Figuring out all the dependencies in a complex system, and what to do about all the oddball packages with their own non-standard licenses is the more difficult part. But most companies don't do the due diligence properly. The legal department isn't technically capable of figuring out what the dependencies are, and the software department considers it an unwelcome distraction from their main job, so it does have a tendency to be superficially signed off with many things missed out. Even popular base distros for embedded work like Yocto have GPL dependencies several layers deep in widely used libraries lurking there to trap the unwary.

  10. Getting hacked? by AlanObject · · Score: 1

    As someone whose vehicle currently runs the specified version, I now happily await the hacking that my car is sure to get.

    If you are blaming this on the disclosure requirement of GPL I think you are off base. One of the benefits of open source is that potential or actual exploits are discovered and fixed more quickly. So if getting your car hacked is your concerned you should be in favor of Tesla publishing all of it, not just the GPL portion.

    1. Re:Getting hacked? by Bert64 · · Score: 1

      Not so much discovered more quickly, many bugs have remained for years undiscovered, although once discovered fixes are usually much quicker. The benefit is that everyone is at the same level - we all have equal access to the code.

      If something is closed source, only a few have access to the code and most of them have goals which are contrary to yours.
      Also just because something is closed source doesn't mean the code isn't out there, it just means that acquiring it is illegal and/or difficult - criminals and governments will often have access to sourcecode for things, while legitimate researchers don't. What are the chances that the NSA used windows source code to develop their eternalblue exploits?

      --
      http://spamdecoy.net - free throwaway anonymous email - avoid spam!
  11. GPL and open source are not the same thing by Antique+Geekmeister · · Score: 1

    Under most open source licenses, Tesla could keep its modifications secret from everyone, even the people it shipped the binary software to. For GPL licenses, which are free softwae licenses, they _must_ make the modificatons available. The Linux kernel is published with a GPL license. Enormous amounts of other software, such as Xen and Nagios, are _not_ and keep their modifications secret.

  12. The stock value isn't selling thousands of cars by raymorris · · Score: 1

    Tesla as a company is valued similar to the world's largest car companies, who sell millions of cars every year, and have for a long time. Tesla sells thousands - and loses money on every one. In order for the price people are paying for Tesla stock to be justified by the business, Tesla would need to:

    Grow over a thousand times bigger
    Be making money rather than losing money
    Do so consistently, predictably

    Nobody has made money on Tesla as a business, Tesla loses money. Lots of people have made money on Tesla, though - how? By getting the next sucker down the line to pay even more for the nearly worthless stock. That's a pyramid scheme.

    This is where the Tesla fanbois jump in and say "Tesla is going to be the biggest car company in the world!". Maybe so. Maybe 50 years from now Tesla will be as big, and as profitable, as BMW or Honda. Heck, there's even a tiny chance they could be as big as Nissan and Toyota put together. IF and when that happens, the company will be worth $300 / share. Right now, the company is worth about as much than the guys who make seatbelts for Toyota. The business is worth about 5-10 cents / share, people are paying nearly $300. The difference between it's value as a business and what people are paying, in hopes that they can sell it to another sucker for more before it comes crashing down, is the pyramid scheme.

  13. Re: The stock value isn't selling thousands of car by joh · · Score: 1

    Come on. Tesla sold and delivered not âzthousands of carsâoe but 100000 cars last year. And Tesla isnâ(TM)t making profits only because it is heavily investing into factories for cars and batteries. They definitely are making profits with the cars they sell.

    This does not mean that Tesla is guaranteed to succeed, but it certainly isnâ(TM)t exactly failing yet either.

  14. And Nissan 100 million. More Leafs than Teslas by raymorris · · Score: 1

    While Nissan sold a 100 MILLION.
    They've sold more Nissan Leafs than Tesla has sold total cars, and the Leaf is just a footnote for Nissan.

    In any recent period, if Tesla sold X thousand, Nissan sold X million. Nissan isn't one of the top most valuable car companies. Why is Tesla?

    Oh btw Nissan (and BMW and Chrysler and all the others) make money when they sell cars.

    1. Re:And Nissan 100 million. More Leafs than Teslas by DeBaas · · Score: 1

      Justified or not, people invest because of what they think Tesla will be in the long term. And, like others said, Tesla is selling the cars at a profit, but has invested heavily, which will take some time to pay off.
      The reason why many, including me, believe Tesla has a chance to become a dominating car brand is not just that they make cool electric cars (the Leaf may sell well, and be a very sensible choice, but is hardly cool). It is also how they changed the speed of development of new models, the OTA updates which means your car keeps getting better. That is also a big chance for the car industry.

      It's a gamble, as buying stock always is. I'm planning to buy some $TSLA. I know it's a gamble, but I just like the tech and how Tesla has made it all a reality. If it hadn't been for Tesla, the hybrid tech from the Prius would probably be the most advanced use of electric power. All those other electric cars would not have been there if Tesla hadn't shown it to be viable. The Leaf maybe, but other brands... At the very least Tesla sped things up a lot.

      --
      ---
    2. Re:And Nissan 100 million. More Leafs than Teslas by Cash+Mitchell · · Score: 1

      The numbers and relations you claim are way off, which is particularly egregious given that so much of this data is readily available in press releases from Nissan and Tesla.

      While Nissan sold a 100 MILLION.

      In what time period, or should I say era? According to Nissan's own press report, the Renault-Nissan-Mitsubishi alliance combined sold 10.6 million units in 2017, with Nissan's portion being 5.8 million. Your claim is off by almost a factor of 20! To put how outrageous your claim is in context, the total number of cars produced worldwide, over all companies and excluding commercial vehicles, appears to only be about 73 million! Even including commercial vehicles still falls short of 100 million.

      They've sold more Nissan Leafs than Tesla has sold total cars, and the Leaf is just a footnote for Nissan.

      In another press release, also from January 2018, Nissan states that they sold their 300,000th Leaf vehicle. Meanwhile, in February 2018, it has been reported that Tesla delivered their 300,000th vehicle. So your claim that Nissan has sold more Leafs than Tesla has sold total cars is certainly debatable. With currently available data from searching the web, it looks like Nissan and Tesla were roughly at parity in Feb. 2018 in terms of electric vehicles sold.

      In any recent period, if Tesla sold X thousand, Nissan sold X million.

      That is a bit of disingenuous comparison. Of course Nissan sells more cars than Tesla currently does since Nissan is a much older and larger company and it manufactures more types of vehicles and at many different price levels. Meanwhile, Tesla is a much younger company that so far has mostly catered to the luxury market (though it is starting to push the prices down with its newer Model 3). Nevertheless, your relational claim of "if Tesla sold X thousand, Nissan sold X million" is way off, again by almost a factor of 20! Per the figure I cited above, Nissan sold 5.8 million vehicles in 2017 while Tesla delivered 101,312 Model S and Model X vehicles in 2017 (note that Tesla also sold a handful of Model 3s in 2017 not included in the 101,312 figure). The correct relation, which is only good for 2017, is that Nissan sold about 57 times as many vehicles as Tesla did, not 1000 times as you claimed. But who cares about comparing total vehicles sold over all types!

      The appropriate comparison here is the number of electric passenger cars sold and with that we see a much different perspective. Per the above figures, Tesla and Nissan appear to be at near parity over Tesla's entire production history. But since you said "in any recent period", let's look at more recent, shorter term, data. According to Tesla's press release, they delivered 29,997 Teslas in Q1 2018. By contrast, in the same time period (January through March 2018), Nissan sold 23,989 Leafs. Note that Nissan reports its sales by month, per region, so one has to add up the Leaf sale figures for Japan, Europe, and the US across the January through March 2018 production and sales PDFs, all found here. Point is, in the most recent quarter, Tesla outsold the

    3. Re:And Nissan 100 million. More Leafs than Teslas by raymorris · · Score: 1

      > Note that Nissan reports its sales by month, per region, so one has to add up the Leaf sale figures for Japan, Europe, and the US across the January through March 2018 production and sales PDFs, all found here.

      Or on your first link, you may notice they've sold 540,623 electric vehicles. It's buried in the article since electric is kind of a footnote for Nissan-Renault. Still almost twice as many as Tesla, but not a particularly significant part of their business.

    4. Re:And Nissan 100 million. More Leafs than Teslas by Cash+Mitchell · · Score: 1

      Or on your first link, you may notice they've sold 540,623 electric vehicles. It's buried in the article since electric is kind of a footnote for Nissan-Renault. Still almost twice as many as Tesla, but not a particularly significant part of their business.

      First, you decided to compare Tesla specifically with Nissan (only) and the Nissan Leaf, using absurdly false numbers that you gave with zero citation. If you wanted to compare Tesla's output to not just one manufacturer but the automotive conglomerate that is Nissan, Renault, and Mitsubishi, you should have stated that!

      Second, I did notice that particular statistic, all on my own, without you helping me out; it's literally only stated in the second sentence of the piece, right at the top, in a bulleted-list! Far from "buried in the article" as you again claim.

      Third, your (new) comparison is also absurd. The press release says that 540,623 electric vehicles produced by Nissan, Renault, and Mitsubishi combined is (a) a cumulative total since 2010 and (b) most likely includes more than just passenger cars. Meanwhile, Tesla's very first production car, the Roadster, first rolled off the line in 2008 and was only built in limited quantities from 2008-2012 (about 2450 of them in total). Tesla only moved to "mass" manufacturing in 2012 with the Model S, with their total car production rate ramping up linearly or perhaps a little bit better (particularly since 2015). See here for sources on this data; I don't think your reply deserves more research efforts on my part.

      In short, the combined efforts of three long-standing industry giants trying to sell electric vehicles doesn't even exceed twice the number of (luxury) electric cars sold by an extremely young upstart car company. That is an impressive accomplishment for Tesla and it's supported by the data and fair analysis. You can't just ignore all of that and/or move goalposts to unfair comparisons chosen to confirm your own biases. (Well, you can, but others don't have to continue to listen.)

    5. Re:And Nissan 100 million. More Leafs than Teslas by raymorris · · Score: 1

      > was only built in limited quantities from 2008-2012

      They are still a boutique manufacturer. A footnote.

      > the combined efforts of three long-standing industry giants trying to sell electric

      Since we agree Tesla isn't anywhere near the same ballpark as Nissan-Renault as a company, perhaps you'd like to explain why their stock is valued as if they were quite a bigger and more successful than Nissan-Renault? Also GM, Ford, Toyota, etc. The stock is priced as if they were biggest, most successful car company in the world, while their actual production isn't even in the top ten.

    6. Re:And Nissan 100 million. More Leafs than Teslas by Cash+Mitchell · · Score: 1

      They are still a boutique manufacturer. A footnote.

      That is your opinion and a speculative one at that. I am not interested in discussing opinions, future predictions, the stock market, etc. I just wanted to provide some corrections to some false claims you made.

      Since we agree Tesla isn't anywhere near the same ballpark as Nissan-Renault as a company

      No, it was clear from my previous comments that we don't agree on that point, at all. Please don't put words in my mouth.

      Also, there is no such single company as Nissan-Renault. Nissan, Renault, and Mitsubishi are three, independently traded, separate companies that have a strategic partnership. So your (new) comparison is indeed between a single company (Tesla), and the combined efforts of three separate companies (Nissan, Renault, and Mitsubishi) to design, produce, and sell electric vehicles.

  15. Could happen. Stock price assumes is already did by raymorris · · Score: 1

    > believe Tesla has a chance to become a dominating car brand

    There is certainly a chance. Currently their stock is valued the same as the company that ALREADY IS the biggest car company in the world. The current stock price assumes Tesla will beat all the big companies, with 100% certainty, and soon. In fact Tesla isn't even in the top 5, probably not the top ten.

    > It's a gamble, as buying stock always is. I'm planning to buy some

    At the current stock price, it's not really a gamble. Long term, you can either lose your money or get really, really lucky and they grow a thousand times as large so you break even. (Except you'd still actually lose money due to opportunity cost). It's virtually impossible for an investor to make money on Tesla in the long term - they'll have to be amazingly successful, one of the most successful companies in history, in order for you to just break even.

  16. Pro tip: Read pages before linking to them by raymorris · · Score: 1

    > Nissan, Renault, and Mitsubishi are three, independently traded, separate companies

    Not exactly. If you were able to post a link that worked, you could have clicked on your link, and without even scrolling down past the first screen, seen that Renault controls Nissan, owning more 40% of it, and Nissan controls with Mitsubishi, with majority ownership. The Renault board therefore controls all three companies, and buying Renault stock ("traded") means you are also buying Nissan and Mitsubishi. Additionally Nissan owns a significant percentage of Renault, meaning Renault is part Nissan, which is again part Renault again, further cementing the companies together.

    Next time you're about to post a link, you may wish to read it first.