Skip to content
By using Twitter’s services you agree to our Cookies Use. We and our partners operate globally and use cookies, including for analytics, personalisation, and ads.
  • Home Home Home, current page.
  • About

Saved searches

  • Remove
  • In this conversation
    Verified accountProtected Tweets @
Suggested users
  • Verified accountProtected Tweets @
  • Verified accountProtected Tweets @
  • Language: English
    • Bahasa Indonesia
    • Bahasa Melayu
    • Català
    • Čeština
    • Dansk
    • Deutsch
    • English UK
    • Español
    • Filipino
    • Français
    • Hrvatski
    • Italiano
    • Magyar
    • Nederlands
    • Norsk
    • Polski
    • Português
    • Română
    • Slovenčina
    • Suomi
    • Svenska
    • Tiếng Việt
    • Türkçe
    • Ελληνικά
    • Български език
    • Русский
    • Српски
    • Українська мова
    • עִבְרִית
    • العربية
    • فارسی
    • मराठी
    • हिन्दी
    • বাংলা
    • ગુજરાતી
    • தமிழ்
    • ಕನ್ನಡ
    • ภาษาไทย
    • 한국어
    • 日本語
    • 简体中文
    • 繁體中文
  • Have an account? Log in
    Have an account?
    · Forgot password?

    New to Twitter?
    Sign up
marcan42's profile
Hector Martin
Hector Martin
Hector Martin
@marcan42

Tweets

Hector Martin

@marcan42

If it ain't broke, I'll fix it! I'm porting Linux to Apple Silicon Macs at @AsahiLinux. http://patreon.com/marcan  | http://github.com/sponsors/marcan 

Tokyo, Japan
marcan.st
Joined May 2009

Tweets

  • © 2021 Twitter
  • About
  • Help Center
  • Terms
  • Privacy policy
  • Imprint
  • Cookies
  • Ads info
Dismiss
Previous
Next

Go to a person's profile

Saved searches

  • Remove
  • In this conversation
    Verified accountProtected Tweets @
Suggested users
  • Verified accountProtected Tweets @
  • Verified accountProtected Tweets @

Promote this Tweet

Block

  • Tweet with a location

    You can add location information to your Tweets, such as your city or precise location, from the web and via third-party applications. You always have the option to delete your Tweet location history. Learn more

    Your lists

    Create a new list


    Under 100 characters, optional

    Privacy

    Copy link to Tweet

    Embed this Tweet

    Embed this Video

    Add this Tweet to your website by copying the code below. Learn more

    Add this video to your website by copying the code below. Learn more

    Hmm, there was a problem reaching the server.

    By embedding Twitter content in your website or app, you are agreeing to the Twitter Developer Agreement and Developer Policy.

    Preview

    Why you're seeing this ad

    Log in to Twitter

    · Forgot password?
    Don't have an account? Sign up »

    Sign up for Twitter

    Not on Twitter? Sign up, tune into the things you care about, and get updates as they happen.

    Sign up
    Have an account? Log in »

    Two-way (sending and receiving) short codes:

    Country Code For customers of
    United States 40404 (any)
    Canada 21212 (any)
    United Kingdom 86444 Vodafone, Orange, 3, O2
    Brazil 40404 Nextel, TIM
    Haiti 40404 Digicel, Voila
    Ireland 51210 Vodafone, O2
    India 53000 Bharti Airtel, Videocon, Reliance
    Indonesia 89887 AXIS, 3, Telkomsel, Indosat, XL Axiata
    Italy 4880804 Wind
    3424486444 Vodafone
    » See SMS short codes for other countries

    Confirmation

     

    Welcome home!

    This timeline is where you’ll spend most of your time, getting instant updates about what matters to you.

    Tweets not working for you?

    Hover over the profile pic and click the Following button to unfollow any account.

    Say a lot with a little

    When you see a Tweet you love, tap the heart — it lets the person who wrote it know you shared the love.

    Spread the word

    The fastest way to share someone else’s Tweet with your followers is with a Retweet. Tap the icon to send it instantly.

    Join the conversation

    Add your thoughts about any Tweet with a Reply. Find a topic you’re passionate about, and jump right in.

    Learn the latest

    Get instant insight into what people are talking about now.

    Get more of what you love

    Follow more accounts to get instant updates about topics you care about.

    Find what's happening

    See the latest conversations about any topic instantly.

    Never miss a Moment

    Catch up instantly on the best stories happening as they unfold.

    1. Hector Martin‏ @marcan42 Jan 9
      • Report Tweet
      • Report NetzDG Violation

      So I'm working in understanding the Apple Silicon boot/OS provisioning process. This is all subject to change, but here are some takeaways according to my current understanding. References: https://support.apple.com/guide/deployment-reference-macos/startup-security-ior2b1833593/web … https://github.com/AsahiLinux/docs/wiki/M1-vs.-PC-Boot …

      2 replies 96 retweets 393 likes
      Show this thread
      Hector Martin‏ @marcan42 Jan 9
      • Report Tweet
      • Report NetzDG Violation

      Apple Silicon devices have a, by default, tightly controlled boot process similar to iOS. The bootloader is also quite dumb and cannot actually boot from external media. Internal storage (the SSD) is tightly coupled to parts of the boot process.

      11:28 PM - 9 Jan 2021
      • 17 Retweets
      • 67 Likes
      • sam hikari, Kanbaru enthusiast 🌟 other Andrea Dr. Thorn Patrick R. Akos Seres Tóth Gábor Baltazár Matando Just Zis Guy, You Know? Artem Timofeev
      1 reply 17 retweets 67 likes
        1. New conversation
        2. Hector Martin‏ @marcan42 Jan 9
          • Report Tweet
          • Report NetzDG Violation

          This means that in order to set up an Apple Silicon device to boot arbitrary code, you first need to set it up to boot macOS, or at least install a working recovery mode. In other words, if you wipe the entire disk, that's like wiping your UEFI firmware in a PC.

          1 reply 3 retweets 31 likes
          Show this thread
        3. Hector Martin‏ @marcan42 Jan 9
          • Report Tweet
          • Report NetzDG Violation

          You won't brick the thing, because there is DFU mode, but you will have to download a recovery bundle from Apple and install it first; just like there's no Linux on a PC without the manufacturer UEFI firmware (unless it's one of the rare coreboot supported ones).

          1 reply 2 retweets 27 likes
          Show this thread
        4. Hector Martin‏ @marcan42 Jan 9
          • Report Tweet
          • Report NetzDG Violation

          In addition, Apple has a mechanism they use to only allow recent versions of their software to be installed on devices, by requiring a "phone home" process when you install it. This requirement can be disabled *after* you have a working install.

          1 reply 4 retweets 22 likes
          Show this thread
        5. Hector Martin‏ @marcan42 Jan 9
          • Report Tweet
          • Report NetzDG Violation

          This makes sense; what Apple is doing is giving us advanced users a way to opt out of all of this, while making sure regular users cannot be compromised. The opt outs are stored on the SSD. So if you wipe your disk, Apple will treat your Mac like a secured device again.

          1 reply 15 retweets 49 likes
          Show this thread
        6. Hector Martin‏ @marcan42 Jan 9
          • Report Tweet
          • Report NetzDG Violation

          One neat thing though, is that in fact these security settings are *per OS install*. This means that it should be entirely possible to dual-boot a *fully secure macOS* and Linux. That means you should be able to run iOS apps in macOS (which is disallowed without security).

          4 replies 9 retweets 56 likes
          Show this thread
        7. Hector Martin‏ @marcan42 Jan 9
          • Report Tweet
          • Report NetzDG Violation

          This is like having an Android that can dual-boot the stock OS without OEM unlock and passing all SafetyNet checks, and also whatever custom OS you want without Gapps and anything else. Which is really cool.

          1 reply 2 retweets 41 likes
          Show this thread
        8. Hector Martin‏ @marcan42 Jan 9
          • Report Tweet
          • Report NetzDG Violation

          So the takeaway here is: Apple have built a very clever secureboot process previously unseen in any kind of desktop computer. They make us go through hoops to boot Linux, but those hoops are there to protect normal users.

          1 reply 39 retweets 156 likes
          Show this thread
        9. Hector Martin‏ @marcan42 Jan 9
          • Report Tweet
          • Report NetzDG Violation

          Once your Mac is set up with an OS install with permissive security, there is no phoning home or anything like that; that is just for from-scratch setups or if you need to reinstall.

          1 reply 1 retweet 30 likes
          Show this thread
        10. Hector Martin‏ @marcan42 Jan 9
          • Report Tweet
          • Report NetzDG Violation

          It is up to us (i.e. Asahi Linux) to provide recovery mechanisms that allow you to fix a broken Linux install without having to depend on additional Apple software or do a full machine restore (and we will, don't worry).

          1 reply 1 retweet 34 likes
          Show this thread
        11. Hector Martin‏ @marcan42 Jan 9
          • Report Tweet
          • Report NetzDG Violation

          In other words: Apple Silicon is like a Google Pixel device, but better. You need the factory OS to get to the "enable OEM unlock" toggle, and after that you're good. As long as you only mess with the installed OS (system/data partitions), you can do whatever you want.

          1 reply 7 retweets 49 likes
          Show this thread
        12. Hector Martin‏ @marcan42 Jan 9
          • Report Tweet
          • Report NetzDG Violation

          On Android there is a signed, verified boot chain, up until the OS kernel where unlocking is possible - exactly the same as on Apple Silicon. Apple Silicon allows multiple installed OSes, and that boundary is slightly before the OS kernel (includes OS loader and some firmware).

          1 reply 3 retweets 28 likes
          Show this thread
        13. Hector Martin‏ @marcan42 Jan 9
          • Report Tweet
          • Report NetzDG Violation

          If you truly wipe all storage on Android, you hard-brick the device (unless you can find private vendor tools to restore from a blank slate, if possible at all). On Apple Silicon you can always fix it with a documented process - but it does involve phoning home to Apple.

          2 replies 5 retweets 32 likes
          Show this thread
        14. Hector Martin‏ @marcan42 Jan 9
          • Report Tweet
          • Report NetzDG Violation

          Apple Silicon Macs do have a separate NOR flash for core system firmware and manufacturing settings (think: serial numbers, certificates, calibration data, etc) - if you wipe *that* then you have to send the thing off to Apple to fix it. But there is no reason for us to touch NOR

          1 reply 3 retweets 36 likes
          Show this thread
        15. Hector Martin‏ @marcan42 Jan 9
          • Report Tweet
          • Report NetzDG Violation

          I think that about sums things up for what to expect when setting up a Mac to run Asahi Linux. The actual process is all going to be automated in a `curl | sh` style thing in macOS or Recovery Mode, so regular users won't have to care much about the details either.

          2 replies 1 retweet 69 likes
          Show this thread
        16. Hector Martin‏ @marcan42 Jan 10
          • Report Tweet
          • Report NetzDG Violation

          Hector Martin Retweeted Xeno Kovah

          By the way, we have to thank @XenoKovah, @NikolajSchlej, and everyone else involved for designing this process and making this entire thing possible.https://twitter.com/XenoKovah/status/1339914714055368704 …

          Hector Martin added,

          Xeno Kovah @XenoKovah
          I purposely designed a mechanism so that M1 Macs would retain the capability to boot completely arbitrary code instead of XNU if users wanted. But you have to 1) reboot to recoveryOS with a physical power button press and 2) put in your SEP-backed credentials. https://twitter.com/NikolajSchlej/status/1339789591096614918 …
          Show this thread
          1 reply 5 retweets 70 likes
          Show this thread
        17. End of conversation

      Loading seems to be taking a while.

      Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.

        Promoted Tweet

        false

        • © 2021 Twitter
        • About
        • Help Center
        • Terms
        • Privacy policy
        • Imprint
        • Cookies
        • Ads info