News for hackers. Stuff that matters.
Re:Attempting Linux on Microsoft Dev Kit 2023 by gtirloni on Tuesday November 01, 2022 @07:00AM (#33419492)
TL;DR; It doesn't boot Linux (even 6.x)
Re:Attempting Linux on Microsoft Dev Kit 2023 by tyingq on Tuesday November 01, 2022 @07:18AM (#33419653)
Though the article mentions this:

"Patrick Wildt, an OpenBSD maintainer replied to one of my tweets and told me he had OpenBSD 7.2 up and running on his, so I thought I would at least try that out."

And on twitter he mentions it's unmodified OpenBSD..."@bluerise told me OpenBSD would work just by flashing a USB pen drive. He was right..."

So it's likely possible with some experimentation.

Re:Attempting Linux on Microsoft Dev Kit 2023 by zinekeller on Tuesday November 01, 2022 @07:26AM (#33419725)
I guess that there's something weird that trips the Linux kernel, but at least it's possible to boot third-party OSes.
Re:Attempting Linux on Microsoft Dev Kit 2023 by adrian_b on Tuesday November 01, 2022 @08:34AM (#33420293)
It is very good that it is possible to boot non-Windows OSes.

Nevertheless, using this computer will require a lot of reverse-engineering work for various devices, e.g. the GPU, the WiFi interface and many others. For now, OpenBSD can use only a frame buffer for display.

There was not long ago a presentation from Lenovo about the support of Linux on their products.

They make a laptop with the same Qualcomm chip. After some efforts, their Linux team has succeeded to boot Linux on it, but many of the peripherals are not working yet and they do not intend to provide official support for Linux on it, because there is no help or documentation from Qualcomm.

Re:Attempting Linux on Microsoft Dev Kit 2023 by zinekeller on Tuesday November 01, 2022 @08:50AM (#33420454)
> Nevertheless, using this computer will require a lot of reverse-engineering work for various devices, e.g. the GPU, the WiFi interface and many others. For now, OpenBSD can use only a frame buffer for display

Unfortunately you're right, reverse-engineering Adreno would take monumental effort.

Re:Attempting Linux on Microsoft Dev Kit 2023 by zozbot234 on Tuesday November 01, 2022 @09:09AM (#33420663)
The freedreno driver supports some Adreno GPU's already, so adding support for this ought to be quite possible.
Re:Attempting Linux on Microsoft Dev Kit 2023 by kcb on Tuesday November 01, 2022 @10:01AM (#33421358)
Nope. OpenGL, Vulkan, OpenGL ES is all already there.
Re:Attempting Linux on Microsoft Dev Kit 2023 by tyingq on Tuesday November 01, 2022 @08:55AM (#33420507)
> For now, OpenBSD can use only a frame buffer for display

Patrick Wildt posted the boot log for OpenBSD if anyone's curious what else OpenBSD sees on the device (and doesn't see).

https://t.co/DCKHBUyvJZ

Re:Attempting Linux on Microsoft Dev Kit 2023 by aseipp on Tuesday November 01, 2022 @09:49AM (#33421212)
Freedreno already has OGL 4.3 for supported devices and I believe people have confirmed it's working on the ThinkPad X13s, so graphics isn't that far off. Wifi I think works as well by now with the latest kernels/dbt, but other stuff like power management or audio I don't know about. The nice little NPU is almost certainly never going to go anywhere either (I know of no reasonably usable NPU with any open source linux driver.)

Honestly the reality is that people will still buy this for Linux usage, even if some of the peripheral support is bad, because the options for UEFI-capable "desktop class" ARMv8 is still pretty bad. You can't buy anything with reasonable upstream support that is ARMv8.2+ capable, and almost no easy-acquirable ARMv8.2+ silicon exists even without upstream support -- except Apple, of course. Maybe the best alternative I know of is those NXP Layerscape processors. But this comes stacked with RAM and NVMe out of the box, compared to those.

These things are relatively fast, completely integrated OOTB, and can fit under your desk and so it'll still be a hit because it ticks all those boxes even if like, the camera doesn't work. It's honestly a very good price for an all-in-one CI machine that you could throw in a closet or whatever.

Re:Attempting Linux on Microsoft Dev Kit 2023 by raesene9 on Tuesday November 01, 2022 @07:14AM (#33419623)
FWIW whilst it doesn't run Linux directly at the moment, it runs WSL2 just fine, and you can setup Windows OpenSSH server to launch WSL2's bash on connection, so you can use it for remote Linux work ok.
Re:Attempting Linux on Microsoft Dev Kit 2023 by trelane on Tuesday November 01, 2022 @08:43AM (#33420372)
Or you could buy hardware that comes with and supports Linux, instead of relying on Microsoft's walled garden for your Linux needs.
Re:Attempting Linux on Microsoft Dev Kit 2023 by rcarmo on Tuesday November 01, 2022 @07:28AM (#33419743)
I'm a bit biased here, but trying this kind of thing on a machine that is both completely new and designed to be a Windows development kit has somewhat predictable outcomes.

(I suspect it will eventually be a click-through process, but to flip the script I don't typically try to run Windows on my Raspberry Pis -- and have reasonable expectations of the outcomes if I do, even with WoR)

That said, I would _definitely_ buy one for myself if it was available in my country, to run WSL2 and do some ARM development (full disclosure: I'm an MS FTE who's primarily Linux and Mac-centric, _and_ writing at taoofmac.com for 20 years, so I try to have an even stance in these things).

Re:Attempting Linux on Microsoft Dev Kit 2023 by rcarmo on Tuesday November 01, 2022 @02:04PM (#33424946)
Since this keeps getting upvoted and downvoted in waves and is thus obviously garnering some attention, allow me to point out that the Khadas Edge 2 is a pretty amazing ARM SBC that runs Ubuntu just fine, and would most certainly have been a much better experience for the OP.

It's on my list of prospective Xmas "self-presents", although I would still need to spend a little more to match the devkit specs (although it is available in a "pro" config that is closer).

Re:Attempting Linux on Microsoft Dev Kit 2023 by realgeniushere on Tuesday November 01, 2022 @07:32AM (#33419782)
Unrealistic and unfair expectations here. Microsoft isn’t doing anything to stop you from booting other OSes on this device. OpenBSD devs did the work, so OpenBSD boots on it. Linux devs now need to do the same if they want to support this dev kit. Not Microsoft’s problem.
Re:Attempting Linux on Microsoft Dev Kit 2023 by tyingq on Tuesday November 01, 2022 @07:40AM (#33419855)
>OpenBSD devs did the work

It doesn't appear they did anything specific for this kit, nothing obvious in the changelog anyway. Perhaps just some combination of things they've done for other UEFI bootable Arm64 hardware.

Re:Attempting Linux on Microsoft Dev Kit 2023 by realgeniushere on Tuesday November 01, 2022 @07:51AM (#33419955)
Okay. Anyway, OpenBSD works, proving that there’s nothing stopping Linux from working except the time and interest of Linux developers. I’m sure they are interested and the necessary modifications will be made soon enough.
Re:Attempting Linux on Microsoft Dev Kit 2023 by contextfree on Tuesday November 01, 2022 @07:40AM (#33419864)
The article seems like less a critique and more of an informational report of this person's experience.
Re:Attempting Linux on Microsoft Dev Kit 2023 by realgeniushere on Tuesday November 01, 2022 @07:42AM (#33419879)
>Whilst I enjoy this kind of tinkering, it was disappointing that a "Dev Kit", built for developers can neither boot Linux, nor enable a custom Linux Kernel for WSL2.

What's that I hear Hacker News and Reddit cry? "It's a Dev Kit for Windows, you moron!" That may be the case, but Microsoft "Loves Linux", and clearly has worked hard to make WSL2 available out of the box on these devices.

It’s not a scathing attack or anything, but it is in fact critical of Microsoft.

Re:Attempting Linux on Microsoft Dev Kit 2023 by contextfree on Tuesday November 01, 2022 @09:34AM (#33421007)
Fair enough, but those were a couple sentences out of a multipage article. I just get tired of comments for any article that involves Microsoft in some way turning into generic arguments over whether people should like or hate Microsoft, overshadowing the actual content of the article. The arguments tend to rehash the same tropes over and over and are pretty tedious and not interesting.

But I guess I'm just adding to the problem by turning it into an equally tedious meta-argument. I'll stop now ...

Re:Attempting Linux on Microsoft Dev Kit 2023 by rzzzt on Tuesday November 01, 2022 @07:49AM (#33419938)
Embedded-looking systems usually need an FDT blob for booting Linux, this seems to be the missing piece according to the article. It shouldn't be hard to provide it on the hardware developer's end, while a bit more complicated to infer from the OS developer side.
Re:Attempting Linux on Microsoft Dev Kit 2023 by realgeniushere on Wednesday November 02, 2022 @07:27AM (#33434069)
And yet, somehow, OpenBSD works just fine already. Perhaps relatedly, this device is UEFI based, so unlike most ARM devices, it has a standard boot process and hardware enumeration mechanism.
Re:Attempting Linux on Microsoft Dev Kit 2023 by orthoxerox on Tuesday November 01, 2022 @08:03AM (#33420064)
> What's that I hear Hacker News and Reddit cry? "It's a Dev Kit for Windows, you moron!" That may be the case, but Microsoft "Loves Linux", and clearly has worked hard to make WSL2 available out of the box on these devices.

If people start buying MS Dev Kits to run Linux CI agents on them this defeats the whole purpose of having a dev kit: getting more people to write programs on and for Windows 11 on ARM.

Re:Attempting Linux on Microsoft Dev Kit 2023 by bayindirh on Tuesday November 01, 2022 @08:29AM (#33420252)
That's an ARM platform sold by Microsoft. It's supporting Windows alright, but it's a hardware platform at the end of the day.

Dev kits are unlimited/unlocked machines by historical definition. They should allow experimentation. Locking Linux behind WSL2 is Microsoft's dream, and being oblivious about it won't help us in the future.

People get crazy when people point out that Microsoft is deprecating it's 3rd party CA slowly, or making secure boot permanent step by step, or systemd slowly adds support for closed down hardware platforms which doesn't allow running unsigned/unsanctioned kernels.

GPLv3 came to being because of TiVO pulled off a similar thing, and required its kernels to be signed by their own private key.

Now why we allow another company do it and applaud them for doing so?

If we want general computing to live, we need to have mechanisms to allow us to tinker with our own devices, and shouldn't need a company to sanction a specific kernel behind closed doors.

It's 90s all over again, sigh.

> If people start buying MS Dev Kits to run Linux CI agents on them this defeats the whole purpose of having a dev kit

We're running Linux on computers bundled with Windows out of the box. So, are we defeating the purpose of the devices we buy with our own money? Same for installing ROMs to android devices, and Jailbreaking iOS devices.

The device is mine. I paid for it. I should be able to do whatever I want with it.

Re:Attempting Linux on Microsoft Dev Kit 2023 by trelane on Tuesday November 01, 2022 @08:41AM (#33420356)
> We're running Linux on computers bundled with Windows out of the box.

No all of us are. Fortunately, it's not the 90s, let alone the early 00s. We have the option of buying Linux preinstalled. It would be nice if we didn't collectively squander the opportunity.

The wider point, though, is spot on. Hardware should obey its owner, not the company or companies that made it.

Re:Attempting Linux on Microsoft Dev Kit 2023 by bayindirh on Tuesday November 01, 2022 @08:46AM (#33420403)
> We have the option of buying Linux preinstalled. It would be nice if we didn't collectively squander the opportunity.

Of course you're right, but all hardware is certified for Windows at the design stage, and only a subset (EliteBook, ThinkPad, XPS, etc.) is designed and verified against Linux kernel. Kernel needs to workaround a great deal of cut corners or shenanigans (incomplete ACPI tables, anyone?) to be able to function on these systems.

Re:Attempting Linux on Microsoft Dev Kit 2023 by trelane on Tuesday November 01, 2022 @08:59AM (#33420555)
I don't think it's true that all hardware is certified for Windows.

Yes, most hardware is not designed nor verified for running against Linux. Most hardware doesn't run OSX either.

The solution, as with Mac, is to only buy systems with Linux pre-installed and supported.

> Kernel needs to workaround a great deal of cut corners or shenanigans (incomplete ACPI tables, anyone?) to be able to function on these systems.

Yes, exactly. Just like with Macs, one should buy systems where the firmware (including ACPI) is designed to run Linux. Hackintoshes are interesting, but few seriously consider that the main way of running OSX.

Re:Attempting Linux on Microsoft Dev Kit 2023 by bayindirh on Tuesday November 01, 2022 @09:45AM (#33421160)
I meant all "PC" hardware, sorry for being vague. Also, macOS has an official hardware partner.

All in all, we're on the same page. The rest is being pedantic about word semantics. :)

> The solution, as with Mac, is to only buy systems with Linux pre-installed and supported.

Yes!

Re:Attempting Linux on Microsoft Dev Kit 2023 by trelane on Tuesday November 01, 2022 @09:53AM (#33421255)
Agreed. Right on then. Cheers! :)
Re:Attempting Linux on Microsoft Dev Kit 2023 by pjmlp on Tuesday November 01, 2022 @09:33AM (#33420959)
It is a platform for Windows Developers.
Re:Attempting Linux on Microsoft Dev Kit 2023 by bayindirh on Tuesday November 01, 2022 @09:38AM (#33421051)
Nope. It’s just an ARM PC, sold by Microsoft. Not different from a Dell desktop PC, or anything in the same category which comes with Windows pre installed.
Re:Attempting Linux on Microsoft Dev Kit 2023 by pjmlp on Tuesday November 01, 2022 @09:40AM (#33421072)
That is your interpretation, not Microsoft's.

"Windows Dev Kit 2023 (code name “Project Volterra”) is the latest Arm device built for Windows developers with a Neural Processing Unit (NPU) that provides best-in-class AI computing capacity, multiple ports, and a stackable design for desktops and rack deployment. Purpose-built with everything you need to develop, debug, and test native Windows apps for Arm."

https://learn.microsoft.com/en-us/windows/arm/dev-kit

Re:Attempting Linux on Microsoft Dev Kit 2023 by bayindirh on Tuesday November 01, 2022 @09:44AM (#33421140)
And the text you quoted is Microsoft's interpretation (or marketing text) of the hardware they're selling.

We repurpose many purpose built things for other ends. People called as hackers for doing that back in the day, and we applauded them.

Why the change now?

Re:Attempting Linux on Microsoft Dev Kit 2023 by thfuran on Tuesday November 01, 2022 @10:07AM (#33421419)
I don't think many have ever applauded people complaining that products designed, marketed, and sold for one purpose are not fit for some other purpose, but rather for making them work anyways.
Re:Attempting Linux on Microsoft Dev Kit 2023 by bayindirh on Tuesday November 01, 2022 @10:16AM (#33421541)
Many do applaud the people who jailbreak iOS, unlock game consoles and android phones by major manufacturers, reverse engineer systems to add features they need or repurpose old/legacy or bleeding edge systems to do what they need.

We everyday try to convince people that hacking is not malicious by nature, but means to make things do things which are not designed to do out of the box.

Every day, everywhere, incl. this very site. Which is called Hacker News, BTW.

Re:Attempting Linux on Microsoft Dev Kit 2023 by thfuran on Tuesday November 01, 2022 @11:18AM (#33422407)
>Many do applaud the people who jailbreak iOS,

Yeah, but not people whining that iphones don't run Ubuntu out of the box.

Re:Attempting Linux on Microsoft Dev Kit 2023 by bayindirh on Tuesday November 01, 2022 @02:22PM (#33425235)
Instead they skip the hardware and root their Android devices. Many people would run another mobile OS on their iOS devices if the process was easier.
Re:Attempting Linux on Microsoft Dev Kit 2023 by pjmlp on Tuesday November 01, 2022 @09:49AM (#33421215)
For starters those hackers can start by supporting OEMs that care about doing business selling hardware with Linux, develop the next PI clone with RISC-V or something.

Not every developer is a UNIX developer, and not every piece of hardware has to run a POSIX clone.

Re:Attempting Linux on Microsoft Dev Kit 2023 by bayindirh on Tuesday November 01, 2022 @10:20AM (#33421590)
Trusting your experience, can you please give me examples to OEMs which support Linux on their customer accessible hardware by default for the last two decades, and can you also detail on which devices we run Linux mainly for our daily needs, and what these devices are designed and certified for?

Of course not every developer is a UNIX developer. I don't expect that.

But, I just need an example for a device which I can buy for the last two decades and which is primarily designed for running Linux, and accessible by ordinary developers (i.e. not costing two kidneys and an arm, has a home/portable form factor, and is serially produced).

Re:Attempting Linux on Microsoft Dev Kit 2023 by thfuran on Tuesday November 01, 2022 @11:03AM (#33422180)
You refuse to buy from a company that hasn't been selling linux-focused hardware for several decades? Do you think that's the right approach for getting companies to enter that market? I personally don't think many companies in the space are much interested in a 20 year ROI.
Re:Attempting Linux on Microsoft Dev Kit 2023 by bayindirh on Tuesday November 01, 2022 @02:19PM (#33425195)
No. Instead I buy highly curated, cutting edge DIY systems. These systems come with rough edges, which are smoothed over in a couple of years, and I use the system with all of its features for seven years or so.

Because all of the desktop systems provided the big manufacturers are either not Linux ready or very limited in hardware & configuration flexibility or both (most of the time).

Since the systems are not Linux friendly, I always rolled my own from components which are designed to work with Windows.

Re:Attempting Linux on Microsoft Dev Kit 2023 by pjmlp on Tuesday November 01, 2022 @11:09AM (#33422269)
Tuxedo and System 76 come to mind, as lots of local OEM vendors.

My Asus 1215B netbook for travel purposes has been sold with Linux on it.

Re:Attempting Linux on Microsoft Dev Kit 2023 by trelane on Tuesday November 01, 2022 @12:30PM (#33423506)
> My Asus 1215B netbook for travel purposes has been sold with Linux on it.

Too soon! I miss the netbook days. Too bad Microsoft killed them.

Re:Attempting Linux on Microsoft Dev Kit 2023 by pjmlp on Tuesday November 01, 2022 @12:53PM (#33423827)
Actually the tablets and Chromebooks, killed them, not the selling XP licenses at discount prices.

Google OSes cost zero, with a proper experience and a store Joe and Jane care about.

Re:Attempting Linux on Microsoft Dev Kit 2023 by justsomehnguy on Tuesday November 01, 2022 @03:11PM (#33425948)
Can you rlaborate why do you think MS killed them?

For me it was a shitty hardware (Intel Atoms coupled with slooow HDDs or tiny and slow eMMC SSDs) with the market eaten by smartphones (for always on Internet connectivity) and iPads/tablets for anything requiring a bigger screen but not yet a full notebook.

Re:Attempting Linux on Microsoft Dev Kit 2023 by bayindirh on Tuesday November 01, 2022 @02:21PM (#33425214)
Tuxedo and System76 are nice. Too bad that I don't live in the US. It's literally impossible to find such system here. So I always had to roll my own.

Netbooks are nice devices, but they were never intended for developers.

Re:Attempting Linux on Microsoft Dev Kit 2023 by pjmlp on Tuesday November 01, 2022 @04:16PM (#33426870)
Tuxedo is an European brand.

Developers use whatever they can, including crap Chromebooks as thin clients to cloud instances.

Re:Attempting Linux on Microsoft Dev Kit 2023 by bayindirh on Tuesday November 01, 2022 @05:45PM (#33427997)
Nice. Having a manufacturer on this side of the pond is good, however I’m not in Europe, either. :)

Not every developer can/want to use cloud instances, like not every developer is $OS_OF_CHOICE developer.

Re:Attempting Linux on Microsoft Dev Kit 2023 by pjmlp on Wednesday November 02, 2022 @03:51AM (#33432476)
I am quite certain there are other OEMs on that region as well.

Developer is someone that writes code with a programming language, that is all.

Re:Attempting Linux on Microsoft Dev Kit 2023 by int_19h on Wednesday November 02, 2022 @08:45AM (#33434814)
Star Labs is in UK, but they claim to ship worldwide.

https://starlabs.systems/

Re:Attempting Linux on Microsoft Dev Kit 2023 by bayindirh on Wednesday November 02, 2022 @10:08AM (#33436020)
Thanks for sharing, I'll look into it. Importing it here will possibly double the price of the system I ordered, but it's again good to know.

Thanks again.

Re:Attempting Linux on Microsoft Dev Kit 2023 by flyinghamster on Tuesday November 01, 2022 @10:28AM (#33421689)
> Locking Linux behind WSL2 is Microsoft's dream, and being oblivious about it won't help us in the future.

> People get crazy when people point out that Microsoft is deprecating it's 3rd party CA slowly, or making secure boot permanent step by step

I've long thought WSL and friends were a stalking horse for precisely the sort of locked-down environment I hate, and I've been expecting this incremental approach ever since XP started requiring activation. However, I'd notice that this particular bit of kit doesn't forbid you from disabling "Secure" Boot. It sounds more to me like there's some sort of kernel/device tree issue here and not Microsoft being dickish (at least directly).

I'd suspect that Microsoft will support Linux on it in much the way Apple "supports" Linux on M1 hardware, that is, "We won't stop you, but you're on your own, and if you break it you own both pieces."

Re:Attempting Linux on Microsoft Dev Kit 2023 by bayindirh on Tuesday November 01, 2022 @10:32AM (#33421733)
Not providing the device tree for including in the Linux kernel is breaking by negligence in my book.

Looks like ARM and RISC-V will be the next open frontier for Linux in the near future. x86 is going to the way of intense lock down in an accelerating pace.

ARM also supports these technologies, but at least it'll be more accessible and more diverse, I hope.

Re:Attempting Linux on Microsoft Dev Kit 2023 by uni_rule on Tuesday November 01, 2022 @11:12AM (#33422312)
I don't see it going anywhere nearly as far since their bootloader situation is still so broken. There just isn't any one size fits all solution for booting linux on arm, even on machines that do have open bootloades. At that point it only works if the manufactueres explicitly help to allow such a thing (or on phones they get custom recoveries), which makes it just as bad if not worse than x86's status quo.
Re:Attempting Linux on Microsoft Dev Kit 2023 by jaywalk on Tuesday November 01, 2022 @12:09PM (#33423195)
Why would they do anything to actively support Linux on a device that is explicitly meant for developing Windows applications on ARM?

They allow Secure Boot to be disabled, which is nice. Expecting anything more from them is absurd.

Re:Attempting Linux on Microsoft Dev Kit 2023 by wilsonnb3 on Tuesday November 01, 2022 @12:38PM (#33423614)
Because according to Microsoft themselves, "Microsoft ♥ Linux"
Re:Attempting Linux on Microsoft Dev Kit 2023 by jaywalk on Tuesday November 01, 2022 @12:54PM (#33423844)
Ok, sure. Does that mean they have to support Linux on every device they put out? Why not complain that they don't support Linux on Xbox?
Re:Attempting Linux on Microsoft Dev Kit 2023 by bayindirh on Tuesday November 01, 2022 @02:25PM (#33425285)
No, being an ethical company they shouldn't actively hinder it. Linux people will give the necessary effort to support it.

No manufacturer ever openly supported Linux in their consumer systems, and never supported Linux in their professional lines (ThinkPad, Compaq NX, EliteBook, XPS, etc.) openly, to not sour their relations with Microsoft.

Linux happened to work by miracle because of well laid out hardware and high quality BIOS implementations. In fact, they were vetting the hardware/software to be compatible with Linux, but never acknowledged it.

Microsoft is trying to close that hole by forcing secure boot and retiring 3rd party CA.

Re:Attempting Linux on Microsoft Dev Kit 2023 by bitwize on Tuesday November 01, 2022 @12:19PM (#33423349)
About 10 or 12 years ago I said that the future of Linux on the desktop is as a VM running under a Windows hypervisor. It took longer than expected but that future is within sight.
Re:Attempting Linux on Microsoft Dev Kit 2023 by pjmlp on Tuesday November 01, 2022 @01:10PM (#33424071)
Actually that is how long I have been using VMware and Virtual Box to run it, the exception being my aging netbook.
Re:Attempting Linux on Microsoft Dev Kit 2023 by bayindirh on Tuesday November 01, 2022 @02:25PM (#33425293)
This is a very bleak future to be honest.
Re:Attempting Linux on Microsoft Dev Kit 2023 by int_19h on Wednesday November 02, 2022 @08:42AM (#33434784)
That's literally what WSLg is.
Re:Attempting Linux on Microsoft Dev Kit 2023 by bitwize on Wednesday November 02, 2022 @08:49AM (#33434859)
The idea behind my statement was that you won't get Linux any other way.
Re:Attempting Linux on Microsoft Dev Kit 2023 by kenjackson on Tuesday November 01, 2022 @11:33AM (#33422598)
> Dev kits are unlimited/unlocked machines by historical definition.

Wait, what? That seems to be very wrong, at least in my experience. Going back to the original Sega Dev Kits and the Atari Jaguar Dev Kit, and now to the XBox and PS dev kits -- none of those make it easy to run whatever you want.

In my experience Dev Kits are targeted toward a specific set of use cases. And they're meant to enable those -- anything else is "you're on your own".

Re:Attempting Linux on Microsoft Dev Kit 2023 by bayindirh on Tuesday November 01, 2022 @02:30PM (#33425355)
If we're putting this Dev kit to the same category with non-general computing devices' dev kits, the outlook becomes a much more bleak:

So, Windows is not a general computing OS and the platform running Windows is not a general computing device anymore.

So, we're ending the era of most ubiquitous general computing platform (PC), and the general computing itself, and converting Windows to a firmware for a very closed platform.

Acknowledging and accepting this is a great step forward for walled gardens and a huge step backwards for us.

I for one don't welcome our computer controlling, platform limiting, Linux loving overlords.

Re:Attempting Linux on Microsoft Dev Kit 2023 by kenjackson on Tuesday November 01, 2022 @03:09PM (#33425929)
Windows is a general computing OS. I'm not sure where you're getting the idea that it's not. Even in the article it states that WSL2 seemed to run fine.

The issue is if the DevKit is intended for any and everything. My point is that they never were. Were the original iPhone dev kits set up to easily run Windows Mobile? Are car devkits that can accomodate Apple Car Play or Android Auto, easily able to run their Windows equivalent?

All these kits have platforms in mind when building them and are tested to support them. Anything above and beyond is use at your own risk.

Re:Attempting Linux on Microsoft Dev Kit 2023 by bayindirh on Tuesday November 01, 2022 @03:20PM (#33426080)
All the dev kits you point are not dev kits for general purpose computing devices. So, the point is moot.

If Windows is a general computing OS, the hardware is also general computing hardware. If the hardware is not intended to be used for general computing, then the thing running on it is not a general computing OS, but just a firmware to fulfill some tasks.

My argument is accepting that "Microsoft Dev Kit" is built to run a specific piece of software brings us to a slippery slope that any and every Windows certified system is also won't be a general computing hardware from now on, esp. on ARM platform.

Hence we can see that Dev Kit 2023 is the first step of locking down the platform for once and for all.

If we see the platform as a general computing platform, and Windows as a general computing OS, then we shouldn't get offended by the effort to run Linux or other OS on it, and similarly we shouldn't get offended by the request.

WSL is just a virtualization platform. Accepting that WSL2 works fine also brings us to the slippery slope that future hardware doesn't need to support Linux on bare metal, because we have already have WSL2.

What happens when (not if, but when) the 3rd party CA expires/gets discontinued or Microsoft discontinues (or intentionally breaks) WSL2 or both to cripple or block Linux from running on bare metal on consumer devices?

Will we run x86 servers at home to run Linux, then?

I don't believe that Microsoft envisions a future where Windows capable platforms have the ability boot anything other than Windows. It'll be a firmware in the proverbial sense, not an OS, because we won't have a general computing platform which can run any OS which understands that hardware.

Re:Attempting Linux on Microsoft Dev Kit 2023 by kenjackson on Tuesday November 01, 2022 @04:18PM (#33426909)
The HW is intended for and can be used for general purpose computing. I think you seem to think that for something to be general purpose it has to be able to run everything. I've never heard that definition before and honestly, if that's the case then there is no general purpose computing HW in existence. The standard definition is that it can run, in a reasonable way, most consumer/productivity workloads. It's not about saying "This HW doesn't run Linux" or "It doesn't run Adobe Premiere 12.2".

I think you simply want to run other OSes on a device. That's a fine thing to want, but I think you're conflating that desire with other concepts.

Re:Attempting Linux on Microsoft Dev Kit 2023 by pabs3 on Wednesday November 02, 2022 @01:18AM (#33431679)
> GPLv3 came to being because of TiVO pulled off a similar thing, and required its kernels to be signed by their own private key.

Actually TiVO didn't do that, instead they made their proprietary software running on top of Linux break when you modified Linux. The GPLv3 doesn't prevent that either, even though RMS wanted it to. Also, even GPLv2 requires users to be able to modify, rebuild and reinstall the vendor installed GPLed software.

https://events19.linuxfoundation.org/wp-content/uploads/2017... https://sfconservancy.org/blog/2021/mar/25/install-gplv2/ https://sfconservancy.org/blog/2021/jul/23/tivoization-and-t...

Agreed with everything else in your post though.

Re:Attempting Linux on Microsoft Dev Kit 2023 by orthoxerox on Wednesday November 02, 2022 @02:09AM (#33431906)
> The device is mine. I paid for it. I should be able to do whatever I want with it.

You are absolutely right, of course. It just doesn't mean Microsoft should help you run whatever you want on it.

Re:Attempting Linux on Microsoft Dev Kit 2023 by bayindirh on Wednesday November 02, 2022 @03:00AM (#33432160)
> It just doesn't mean Microsoft should help you run whatever you want on it.

You are absolutely right, of course. It just does mean I expect Microsoft to not spend effort to hinder the possibilities.

I just don't want a second season to Halloween Documents, that's all. Keep the platform open. We (the developers) will do the rest.

Re:Attempting Linux on Microsoft Dev Kit 2023 by pjmlp on Tuesday November 01, 2022 @09:32AM (#33420953)
Of course, apparently only UNIX folks are developers.
Re:Attempting Linux on Microsoft Dev Kit 2023 by jglathe on Friday November 04, 2022 @02:20AM (#33462840)
why compile for a dead market. F'n hell no. I will tinker with this thing nonetheless, just for the fun of it and to learn something. FreeBSD(or was it OpenBSD?) already boots on this thing, which should make writing up a device tree not impossible.
Re:Attempting Linux on Microsoft Dev Kit 2023 by atemerev on Tuesday November 01, 2022 @08:24AM (#33420217)
What an interesting device. Sadly, it is available only in the US and maybe a few other countries. If you try to access the MS store page from, say, Switzerland, they are very passively-aggressively saying "Page not found". I hate so much these availability restrictions.
Re:Attempting Linux on Microsoft Dev Kit 2023 by belltaco on Tuesday November 01, 2022 @08:42AM (#33420361)
I really enjoyed the post till this:

> Whilst I enjoy this kind of tinkering, it was disappointing that a "Dev Kit", built for developers can neither boot Linux, nor enable a custom Linux Kernel for WSL2.

> What's that I hear Hacker News and Reddit cry? "It's a Dev Kit for Windows, you moron!" That may be the case, but Microsoft "Loves Linux", and clearly has worked hard to make WSL2 available out of the box on these devices.

If something is named "Dev Kit" does it have to revolve around supporting a monoculture right out of the box? Secure boot is trivially unlockable, and Microsoft is losing money on the R&D and probably hardware as well. Someone will probably figure out how to get Linux natively running.

Looks like they're just not happy that they're not able to immediately (ab)use the hardware meant for Windows on ARM developers for dozens or hundreds of cheap CI/CD machines for their commercial operation, which would prompt MS to raise the price for everyone or make it closed for verified Windows devs only(like Xbox Dev kits).

I respect the grind, and Hacker News is all about using and abusing hardware in unintended ways, but I don't like the attitude and expectations in the quoted parts that everything should revolve around their niche use case of being able to run cheap CI/CD servers just because it has dev in it's name.

Re:Attempting Linux on Microsoft Dev Kit 2023 by pjmlp on Tuesday November 01, 2022 @09:35AM (#33421012)
If something says it is for developers, does it have to revolve around UNIX clones as if there aren't any other kind of developers?
Re:Attempting Linux on Microsoft Dev Kit 2023 by yjftsjthsd-h on Tuesday November 01, 2022 @11:20AM (#33422432)
It's not about unix, it's about running anything and everything that you want.
Re:Attempting Linux on Microsoft Dev Kit 2023 by pjmlp on Tuesday November 01, 2022 @12:52PM (#33423810)
You can build your own PC then.
Re:Attempting Linux on Microsoft Dev Kit 2023 by trelane on Tuesday November 01, 2022 @12:25PM (#33423431)
> does it have to revolve around UNIX clones as if there aren't any other kind of developers?

The irony of saying this in the context of Windows is thick enough one could cut it and use it to build a sizeable home.

Re:Attempting Linux on Microsoft Dev Kit 2023 by com2kid on Tuesday November 01, 2022 @12:57PM (#33423883)
Windows was the dominant operating system for developers for nearly two decades.

Up until about a decade ago, Microsoft arguably made the world's only good IDE. (ignoring some relics from the 80s!)

It isn't as if Windows is some developer wasteland.

Re:Attempting Linux on Microsoft Dev Kit 2023 by trelane on Tuesday November 01, 2022 @03:36PM (#33426321)
> Windows was the dominant operating system for developers for nearly two decades.

This is rather my point.

It's still the case that, in many businesses, nobody got fired for buying Microsoft.

Re:Attempting Linux on Microsoft Dev Kit 2023 by yellowapple on Tuesday November 01, 2022 @03:38PM (#33426365)
> Up until about a decade ago, Microsoft arguably made the world's only good IDE.

If you're referring to Visual Studio then I think you and I have very different definitions of "good".

Re:Attempting Linux on Microsoft Dev Kit 2023 by com2kid on Tuesday November 01, 2022 @06:09PM (#33428292)
> If you're referring to Visual Studio then I think you and I have very different definitions of "good".

Go to 2010 Linux and find me an IDE with:

1. A functioning graphical debugger that works across multiple languages, both native and JITed

2. A fully featured WYSIWYG UI editor that can generate backing code in multiple languages

3. Comes with a SQL engine setup and ready to use for development, that it can seamlessly connect to for testing out code locally[1]

4. Can step from your code into SQL statements and back again

5. Can step from code you are debugging on a remote box, to SQL code running on yet another machine, and back again

6. Has functional, production ready, data binding that works with arbitrary data sources, that also fully integrates with the GUI builder

7. Integrates with source control

8. Integrates with task/work item management

9. Enables the workflow of you get an email about a fault on a server in a test environment, you click a link, and the IDE connects to the remote machine, downloads symbols, and starts up in the debugger

10. Automatically fetches the proper debugging symbols for the version of code you are debugging

And again, this was all doable across a multitude of languages.

IIRC Eclipse was the nearest "competitor" and it was slower than molasses and didn't have anything near the same feature set.

Visual Studio is an impressive piece of software. Has it had some buggy releases? Yeah. Does it feel super outdated now? Yes it does, in comparison, VS Code's ability to navigate around files/projects is incredible.

But I had a better developer experience using Visual Studio and C# a dozen years ago (!!!) than I have with Node JS now.

[1] The modern cloud version of this is such a disaster.

Re:Attempting Linux on Microsoft Dev Kit 2023 by ungamedplayer on Tuesday November 01, 2022 @08:40PM (#33429971)
This may be obvious to you, and I am trying not to put words in your mouth.

Linux and UNIX doesn't build tooling this way, because they believe that you make one tool to do one thing well, and these things you mention while related are not one thing. You'd use the OS as an IDE in this context.

The mindset is changing over time, systemd, vscode, etc.

Re:Attempting Linux on Microsoft Dev Kit 2023 by pjmlp on Wednesday November 02, 2022 @03:47AM (#33432452)
No they don't, this is cargo cult from UNIX FOSS community based on a famous book remark.

No commercial UNIX has ever followed that mantra.

Re:Attempting Linux on Microsoft Dev Kit 2023 by yellowapple on Wednesday November 02, 2022 @10:49AM (#33436724)
> No commercial UNIX has ever followed that mantra.

No commercial UNIX besides macOS/iOS has enjoyed anywhere near GNU/Linux's success, either.

Re:Attempting Linux on Microsoft Dev Kit 2023 by worthless-trash on Wednesday November 02, 2022 @08:19PM (#33444889)
I dunno man, gcc as a binary, make as a binary, shell as a binary, wget, up2date, dnf .. its not integrated...
Re:Attempting Linux on Microsoft Dev Kit 2023 by yellowapple on Tuesday November 01, 2022 @10:15PM (#33430701)
Having lots of features != being of high quality. If Eclipse was "slower than molasses", then VS was a brick - as many a poor computer of mine from back then can attest, fans a-spinning at speeds that made hurricanes feel like gentle breezes all because I'd double-click on some random file that VS decided "hey I can open this therefore I should be the default" (and thanks to all that feeping creaturism, that was a lot of files).

Meanwhile, Emacs worked fine. Netbeans worked fine. Eclipse worked okay. Qt Creator existed (though I can't attest to how well it worked then). There were definitely options, and while sure, they lacked a lot of those fancy bells and whistles, at the end of the day were those really worth turning computers into passenger jets?

> But I had a better developer experience using Visual Studio and C# a dozen years ago (!!!) than I have with Node JS now.

That bar is so low that even ants have to duck to get under it.

Re:Attempting Linux on Microsoft Dev Kit 2023 by bayindirh on Tuesday November 01, 2022 @08:51AM (#33420464)
When installing other operating systems to hardware platforms became abusing such platforms?

What we expect next? BSA to raid my home because I run Linux on my Microsoft branded hardware, or connect Microsoft mouse to a Linux box?

Re:Attempting Linux on Microsoft Dev Kit 2023 by justsomehnguy on Tuesday November 01, 2022 @10:03AM (#33421378)
> and Microsoft is losing money on the ... hardware as well

I prefer to use 'not earning' in this situations. This device were never intended to bring money directly in the first place and anything successful [developed with the help of this device] can bring thousands and millions of revenue. It's investing for a revenue multiplier.

Re:Attempting Linux on Microsoft Dev Kit 2023 by anaisbetts on Tuesday November 01, 2022 @11:44AM (#33422771)
Insane expectations. Imagine buying a brand-new Mac Mini with an extremely new processor (ARM is not like x86-64, every single SOC has its own distinct way to bring up the machine) and blaming Apple that your favorite Linux distro didn't immediately flawlessly work
Re:Attempting Linux on Microsoft Dev Kit 2023 by zozbot234 on Tuesday November 01, 2022 @08:43AM (#33420368)
Tl;dr: it boots OpenBSD successfully already, so getting Linux to run can't be that hard even though mainline support is obviously not here yet. Someone will figure out how to boot a Linux kernel on this, probably the PostmarketOS or Asahi folks.
Re:Attempting Linux on Microsoft Dev Kit 2023 by alexellisuk on Tuesday November 01, 2022 @01:13PM (#33424112)
Mainline support is available, we are missing the device tree blobs for this specific unit. OpenBSD AFAIK boots in APCI mode so doesn't require them.
Re:Attempting Linux on Microsoft Dev Kit 2023 by zozbot234 on Tuesday November 01, 2022 @04:12PM (#33426817)
So Linux ought to boot on this hardware if acpi=force (documented at https://www.kernel.org/doc/html/latest/arm64/arm-acpi.html ) is used?
Re:Attempting Linux on Microsoft Dev Kit 2023 by mikedelago on Tuesday November 01, 2022 @09:14AM (#33420732)
I'd love a powerful ARM machine that supports linux, and I don't want to use Windows with WSL either. Looking forward to further development.
Re:Attempting Linux on Microsoft Dev Kit 2023 by julianbuse on Tuesday November 01, 2022 @02:30PM (#33425359)
the apple silicon macs are probably your best bet right now.
Re:Attempting Linux on Microsoft Dev Kit 2023 by schaefer on Tuesday November 01, 2022 @09:48AM (#33421192)
The article mentions trying USB boot media known to work with the Lenovo x13s…

I wish there was a reference to that. I’d love to read an up to date report on how hardware support for that arm laptop is coming along.

Re:Attempting Linux on Microsoft Dev Kit 2023 by rcarmo on Tuesday November 01, 2022 @02:00PM (#33424893)
A friend of mine has one. Have yet to get my hands on it, but he reports great battery life and calls it "very snappy". Then again, he is not a developer (he's a salesperson in the medical industry), so YMMV.
Re:Attempting Linux on Microsoft Dev Kit 2023 by wezm on Wednesday November 02, 2022 @08:35PM (#33445030)
Re:Attempting Linux on Microsoft Dev Kit 2023 by grecy on Tuesday November 01, 2022 @10:30AM (#33421707)
So, ah, how well does windows run? Can you even tell it's running on ARM instead of x86?

Anything interesting to report about that?

Re:Attempting Linux on Microsoft Dev Kit 2023 by wezm on Wednesday November 02, 2022 @08:36PM (#33445044)
It runs really well. There's nothing at all that makes it obvious it's running an entirely different architecture.
Re:Attempting Linux on Microsoft Dev Kit 2023 by squarefoot on Tuesday November 01, 2022 @10:38AM (#33421806)
Meanwhile, of all the boards around meant to run Linux, and there's a boatload of them, I fail to see a single one that prevents to install Microsoft software on purpose.
Re:Attempting Linux on Microsoft Dev Kit 2023 by jglathe on Friday November 04, 2022 @05:14PM (#33473863)
good one
Re:Attempting Linux on Microsoft Dev Kit 2023 by irusensei on Tuesday November 01, 2022 @10:55AM (#33422043)
Surprised that OP managed to disable secure boot (implies there is a normal UEFI boot style firmware), managed to at least attempt to boot certain Linux versions and got OpenBSD working. Seriously I thought this thing was going to be locked to the bone or restricted by black magic arcane hardware like the M1.

Color me (pleasantly) surprised.

Re:Attempting Linux on Microsoft Dev Kit 2023 by MisterTea on Tuesday November 01, 2022 @11:31AM (#33422574)
> Surprised that OP managed to disable secure boot (implies there is a normal UEFI boot style firmware)

Windows RT tablets had UEFI/ACPI. I Assume it was easier to bolt Intel baggage onto Arm machines so they didn't have to change core windows kernel components which are probably deeply anchored to the PC architecture.

Re:Attempting Linux on Microsoft Dev Kit 2023 by rcarmo on Tuesday November 01, 2022 @02:07PM (#33424991)
I haven't tracked Windows ARM beyond the IoT editions, but you are mostly right. I see it as good re-use of something that makes complete sense if you want to match Intel configuration and hardware security options.