321 points · by dbasedweeb · 8y ago · 289 comments
> Microsoft-branded ARM microcontrollers running an embedded linux distribution. Microsoft rolls out security updates over Azure to reduce the risk of the device becoming part of a botnet.
It sounds great.
It's also a big swing for me in that I trust MS more than Google now to do the right thing. I'd have thought that impossible a couple of decades ago.
Don't be so eager to forgive them. They're not hugging Linux right now because they're a Good Company trying to Do No Evil.
The Home and Pro editions, meanwhile, are effectively "Xbox OS for PCs." They turn your computer into an entertainment appliance run and maintained by Microsoft itself. Of course they collect data, just like there are data-collection agents on all the nodes of your average production system cluster. When Microsoft is the sysadmin, Microsoft needs to collect ops data.
And, personally, I don't think that's a bad thing, per se. It's a choice you make. You can take control of your PC while still running Windows, if you like. (It's just a big hassle, because truly administering a modern Windows system is a big hassle.)
At a higher level, Gates seems more credible than Larry or Sergey to me. Totally biased by my history, but I'm pretty strong on that point. Gates mellowed out and seems more broadly interested in "greater good".
It makes terrific financial sense for them to take ownership, liability (and revenues) for a product class their native technology can't compete in.
MS for all their faults are at least still in the business of selling operating systems and not selling you.
The difference between the '90s and now is that in the '90s Microsoft spread FUD against Linux, and now segments of the Linux community are spreading FUD against Microsoft. FUD is bad no matter who spreads it.
On the other hand their contempt for the (paying!) customer is sill blatantly evident, it's right there in Windows 10 telemetry settings being reset.
All I can read into it is that it's in their best interest to stop being deliberately hostile towards Linux and open-source. We can trust them doing The Right Thing only as long as The Right Thing benefits them.
With that being said, there's a huge difference in acknowledging a company becoming more developer focused, and trusting a company. You shouldn't trust any company to do "the right thing", regardless of how noble their actions may seem on the outside. As Google have shown, your motto can literally be "do not evil" and in the space of a decade you are viewed as a monster.
The whole LOC drama train is tied to code that doesn't get compiled when you specify the architecture.
Me too. Good thing Google exists now :)
Microsoft now cares about subscriptions (office365, etc) and monthly recurring "rental" revenue. Anything that gets people to spin up more Azure VMs and pay for them monthly, forever, and possibly get locked into the hosting platform, they're totally OK with. Doesn't matter if it's a Linux VM or a Windows VM running on their hypervisors as long as people are paying the bills.
What's interesting to me here is Microsoft is building an IoT solution that allows manufacturers to delegate security to Microsoft instead of having to roll their own.
The general mindset has been that iot has a couple slices: the "thing" (air conditioner vibration sensor), how that thing is connected (Ethernet plugged directly into a smart vibration sensor, or vibration sensor plugged into a connected data-recording device), the transmission/storage of that data (cloud solution? Servers on site? Internet y/n?), Analysis of that data (Microsoft IoT platform? Rolled solution? Now defunct Autodesk iot platform?), and finally the acting upon data collected (chief engineer scheduling repairs/maintenance, project manager ordering new motors, whatever).
So many companies have tried "rolling their own" because they got it working on a raspberry pi or Arduino in a week, then find out their connectivity is not secure at scale (let alone that the solution can't scale at all).
Let specialists specialize. No reason not to let big daddy Microsoft handle the messy bits.
Disclosure, I work at electric imp, thus considering myself firmly in the "secure connection and transmission" slice of the pie.
Disclosure 2, we're partnered with Microsoft for their new IoT push, lol.
And now it gradually translates into "don't own your devices, cause you can't handle security", both for users and small and medium size vendors.
And the meaning of "device" is gradually translating to "any stuff we wear or use". Welcome to the shiny IoT future.
We shifted from consumer IoT devices because there's just no money there. Toy Mail is one of our only customers that made it work.
In my mind, the places to look for Iot solutions are generally the same places you need a hardhat and steel toe boots to enter.
Let specialists specialize. No reason not to let
big daddy Microsoft handle the messy bits.
If you're planning to make a product that will last 20 years - a residential thermostat, for example - using a third-party service as the foundation of your product seems naïve to me.I mean, Microsoft or AWS is at least better than a startup, in that they're less likely to go bankrupt - but even Windows XP, one of most long-lived products out there, was only supported for 12 years even with 'extended support'.
Not to mention the fact whoever provides the cloud services will likely be looking to make recurring revenue over those 20 years.
As for forever, hence why companies like Microsoft and EI have models for "continual update" on connected devices The idea being that the security upgrades never stop.
This is not about Windows technical capability - which is effectively every bit as good as Linux in this space. This is about, "OK, developers, you'd rather have Linux than Windows on your IoT device? Cool. Now get connected to Azure for that IoT data, we'll help you keep that device secure and up-to-date." It's about market share for Azure.
Really? Did you check out Windows Nano Server - https://docs.microsoft.com/en-us/windows-server/get-started/...
Well, it depends on what you want to do.
A really minimal XP with minlogon is around 10 Mb (actually around 20 MB that on NTFS compressed volumes are around 10), of which quite a bit is things that could be removed or greatly reduced in size recompiling the programs/dll's if the source was available, that won't do much, while with a decent amount of base tools it comes out at 30-40 MB or so.
Some references to a dedicated project:
[0] http://mistyprojects.co.uk/minixp/docs/files/index.html
> The Microsoft-secured Linux kernel used in the Azure Sphere IoT OS is shared under an OSS license so that silicon partners can rapidly enable new silicon innovations.” And those partners are also very comfortable with taking an open-source release and integrating that with their products.
I think it’d be cool if they released an open-source NT kernel for this, for diversity of kernels and because of NT’s reputation like you mentioned previously, but maybe they’re betting on there being many more engineers with Linux-based IoT development experience.
As an aside, really impressed with Microsoft recently. I’m still grossed out by the privacy policy of Windows 10, but it really seems like they’ve come up with an excellent strategy for the next decade.
For a while it was basically free (as in beer) up to an absurdly high volume (IIRC, million-ish devices?).
Maybe you are correct that there might not be a huge interest unless the solution is also free as in speech simply because of auditing needs of some of the IoT manufacturers.
MS would have to spend money and effort to get NT to be where linux is already, then spend more money and more effort to get people to adopt NT for IoT. In the end, there is no profit in being the OS for IoT.
Instead MS opts to have IoT pay cloud fees for Azure. It helps grow their cloud efforts and profits from existing investments. They don't have to fight linux, just work with it.
It looks like a developer gets to program the A7 and 2xM4F cores whilst the WiFi radio and Microsoft's "secure" Pluton thing run on a Andes N9 and Cortex M4 core respectively. I assume it is those cores which will be auto-updated in an attempt to defend against attack.
You lose functionality though, like being able to check doors etc. remotely.
I trust Apple and I trust Homekit so I'm not too concerned with that.
And god help us when all these IoT devices start talking IPv6... With no NAT and anemic firewalls on most routers? Oof.
Assign Unique Locals ( ULA ) to untrusted LAN devices and no Internet router will carry them.
Then your laptop or phone can additionally receive a routed prefix. Remember with IPv6 you can assign an arbitrary number of prefixes and addresses to each interface, or just one. It makes for very flexible routing.
But John Doe does not care, he wants convenience to the point where the IoT manufacturer knows everything about how they use the product.
Do the security right and the classic internet of shit botnet type vulnerabilities aren't really an issue (knock on wood...)
Anyway, we've managed to survive pitching internet connectivity instead of local network, and several customers have found use cases for it that I don't think local would be feasible for.
In the end it's not just "technically a LAN would be the most secure option here," I mean that's always the case. It can be more "our partners and solution are offering a so-far-unbroken security model, and connecting via the Internet makes the whole manufacturing, distribution, on-site enrolling, and monitoring cheaper and working out of the box."
I would think Windows could run on a Cortex-A7, no? Perhaps the specific parts they're using have a ridiculously-low clock rate or other painful limitations?
Cortex-Ms typically can't run linux (excepting uClinux) as they don't have the RAM and typically don't need to as they address a different need (dedicated function instead of general-purpose compute), and have far fewer peripheral interfaces. It used to be all about power profile, but the recent SoCs are getting pretty competitive there as well.
But as I said the traditional segmentation at this end of the spectrum is being re-cast seemingly every second week, and so terms such as 'microcontroller' are becoming less meaningful all the time. And who the hell can agree on just what 'embedded' means these days?
Or what it'll mean in 10 years, as power/radio/processor/sensor specs continue to improve. I'm speculating, but perhaps MS is banking on the low-end to grow, up into the Android/iOS space. So instead of our current 3-10 devices per family we'll have 30-100 devices. Hopefully, those devices will be secure. Maybe they'll be useful :-)
FWIW, my personal definition is "doesn't have an MMU"
[1] http://edition.cnn.com/TECH/computing/9810/01/whylinux.idg/
I think is a undisputed win.
A 500MHz A7 part is way too much silicon for an IoT node. How much external SDRAM and Flash are connected to that MediaTek core?
FreeRTOS is a pretty good fit for this situation. I am only disappointed that newlib is so ridiculously huge in comparison. Some functions in there are twice the size of FreeRTOS.
Not saying this isn't fun, but don't tell my boss ;).
Is that supposed to imply linux can't? Or that linux plus a GNU subsystem can't? I've personally run it on a lot lower end hardware than that seems to be.
Different markets really, sounds like Microsoft is targeting items like internet connected cameras (think Mirai endpoints). Where as Amazon is targeting low power prolific devices, eg. IoT buttons.
This may seem good, but my paranoid half (make it 9/10) thinks they could "hijack" the Linux user base by releasing software certified as Linux compatible that runs only under their Linux, and by being platinum members of the Linux Foundation they could be entitled to say that their Linux is the only true one.
Linux has large (majority?) market share in the server and IoT markets, but a very tiny market share when it comes to desktop.
I'm not as clear on the history, but was Linux ever pitched as capable of being real-time OS? I don't think so. The hard requirements for real-time generally lead to very different systems than general-purpose operating systems.
[1] https://en.wikipedia.org/wiki/Real-time_operating_system
Who would ever have thought that Microsoft, the great enemy of Linux, would release a product based around a Microsoft branded Linux kernel? Not I for one. Though having said that they have been increasingly opening up and making non-threatening noises towards open source of late. So, it's not _that_ much of a shock but it's still a shock! Microsoft is using Linux for IOT embedded devices, wow.
And then you point out that simultaneously the Linux Foundation, the Linux Foundation, is supporting a non-Linux kernel real-time OS for IOT embedded devices.
You could not make this stuff up.
> MediaTek is producing the first set of these new MCUs. These are low-powered, single-core ARM-A7 systems that run at 500MHz
Er... what kind of hardware is Windows IoT supposed to run on?
My professors at college taught a simple rule of thumb - if it can't run regular Linux it's probably a MCU. Finer print talked about the presence of a MMU being the key differentiator.
I've stuck to that definition so far. Might have to rewire if this gimmick catches on
SEP 20, 2011 Casio agrees to pay Microsoft an undisclosed sum for a deal that includes Microsoft's vow not to sue Casio's customers for using its Linux devices
Microsoft General Counsel Brad Smith and licensing chief Horacio Gutierrez sat down with Fortune recently to map out their strategy for getting FOSS users to pay royalties. Revealing the precise figure for the first time, they state that FOSS infringes on no fewer than 235 Microsoft patents.
It's a breathtaking number. (By comparison, for instance, Verizon's (Charts, Fortune 500) patent suit against Vonage (Charts), which now threatens to bankrupt the latter, was based on just seven patents, of which only three were found to be infringing.) "This is not a case of some accidental, unknowing infringement," Gutierrez asserts. "There is an overwhelming number of patents being infringed."
That is how I learned UNIX back in the day.
As anecdote, given the UNIX prices even for PCs, the teacher would carry a PC with Xenix into our lab and then each group would have about 20 minute turns to test what was already prepared typing on MS-DOS.
This is why getting a C compiler for MS-DOS mattered to many of us, we wanted to maximize our slot as much as possible, it wasn't about its qualities.
http://blog.zorinaq.com/i-contribute-to-the-windows-kernel-w... "I Contribute to the Windows Kernel. We Are Slower Than Other ...
Google is surprisingly open to build democratic orgs around its tech.
But then again, I wonder how many now-defunct open standards and projects thought the same thing.
I'm currently on the Espressif platform for our stack.
How does it compare overall and in terms of security?