V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
shawnzhong
V2EX  ›  Apple

Apple DTK 细节流出

  •  3
     
  •   shawnzhong · 2020-07-07 11:21:13 +08:00 · 9154 次点击
    这是一个创建于 1360 天前的主题,其中的信息可能已经有所发展或是发生改变。

    翻译自 https://twitter.com/YRH04E/status/1279716564187729927

    第一次 V2EX 发帖,译得比较生硬请见谅

    硬件相关

    • 不支持 Thunderbolt 设备

    • 最多支持两个显示器:USB-C 和 HDMI

      • USB-C 走 DisplayPort 协议最高可以支持 5K 显示器

      • HDMI 2.0 最高 4K 显示器

      • 不支持 Thunderbolt 协议(如苹果自家的 Thunderbolt 显示器或 LG UltraFine 5K 27MD5KA )

      • LG UltraFine 4K 和 UltraFine 5K 27MD5KL 可以走 DisplayPort 协议并支持 4K

      • Apple Pro Display XDR 支持 5K

    • 风扇不支持变速

    • 连接 USB-C 设备时,系统不休眠

    • USB-A 不支持 Apple USB SuperDrive,但可以用 USB-C 转 USB-A 的转换器

    • 不支持 Apple Watch 解锁

    • 不支持 Apple Pay

    • 拔出 USB 设备时可能会出现音频故障

    • 强制关机需要拔下电源线

    • 纽扣电池可以持续约 6 个月,此后断电会重置系统时钟

    • 不支持在另一个卷上安装 macOS,也不支持在恢复模式中重装

    • 重置或擦除设备需要用 tethered restore with Apple Configurator 2 (不是很懂如何翻译...)

    • 不支持在恢复模式中擦除设备,也不支持用 Find My 远程擦除

    Rosetta 2

    • 依赖于 4K 内存页大小的应用程序将无法运行,如某些浏览器和语言运行时

    • Rosetta 仅在 DTK 上使用 “performance core”(大概指 CPU 大核?)

    • Rosetta 返回的 CPU ID 是 VirtualApple 而不是 “Genuine Intel”

    • Rosetta 仅部分实施了运行时保护

      • 系统验证程序库是否合法 (enforce Library Validation),保护动态链接器的环境变量,并验证可执行文件的签名

      • 但是进程可以在运行时执行未签名或签名无效的代码

    软件相关

    • 不支持播放 HDCP,4K HDR 和受保护的视频内容

    • 不支持 4K 内存页大小

    • 不支持 Hypervisor.framework

    • 某些浮点运算的支持和 Intel Mac 并不完全一致(如 flushing denormals 和 cumulative exception flags )

    第 1 条附言  ·  2020-07-08 22:40:08 +08:00

    继续翻译一些推特,有些可能比较碎:

    https://twitter.com/bartreardon/status/1277902890342866944:

    • Apple DTK 很赞,入手三个半小时就重新编译好我所有的代码,目前为止都能成功运行。

    • 我把一个七年前的 ObjC 项目重新编译到了 arm 架构上,发现可以正常使用。(译者注:这里原po应该想强调的是7年前的源码不需要修改就能直接编译。)

    • 除了 Electron 和 x86 hypervisors 之外都很赞。(译者注:Electron 得等上游的 Chromium,不过 Apple 说会帮忙移植 Chromium,详见 WWDC Platforms State of the Union 20分钟左右。以及 VSCode 依赖 Electron 所以应该暂时无法在 DTK 上运行。x86 hypervisors 是真的没办法了)

    • DOSBox 可以直接运行并玩游戏,感觉还不错。运行 Commander Keen 4 (一款 DOS 游戏)时 CPU 占用率在 16% 左右,声音完整、动画流畅。 不确定是否运行在 Rosetta 下。(译者注:应该是)

    • 苹果自家开发的 Aperture 不可用,提示推荐迁移到 Photos 或别的应用。

    https://twitter.com/bartreardon/status/1278214382292365312:

    • WebEx 语音视频会议一个半小时,x86翻译下 CPU 最高约 250%,平均 160% ~ 170%,背部风扇开始吹风。

    https://twitter.com/FEEDFACEh/status/1278899485016375296:

    • 刚拿到 DTK 三小时,因为乱搞 boot loader 变砖了。

    https://twitter.com/YRH04E/status/1279715782860120064:

    • 如何重置 DTK

      1. 从 Universal App Quick Start Program 网站上下载 .ipsw 格式的恢复映像和 Apple Configurator 2 开发版

      2. 用 USB-C 线连上另一个 Mac

      3. 引导 DTK 进入 DFU 模式:断电,按住电源开关,重新连上电,松开电源开关

      4. 在 Apple Configurator 2 里选择“恢复”(原文为 “revive”)

    • Mac 用 .ipsw 格式的映像感觉真怪... (译者注:ipsw 应该是 iPhone/iPod Software 的简写,用在 macOS 上是挺怪的...)

    32 条回复    2020-09-22 10:57:02 +08:00
    gainsurier
        1
    gainsurier  
       2020-07-07 11:26:18 +08:00 via iPhone
    请问 Rosetta 2 支持 avx 指令吗?
    Xusually
        2
    Xusually  
       2020-07-07 11:26:25 +08:00
    “重置或擦除设备需要用 tethered restore with Apple Configurator 2 (不是很懂如何翻译...)”
    只能用一台装有 Apple Configurator 2 的 Mac 用 usb 连接 DTK 来恢复或者抹掉。
    Apple Configurator 2 是一个企业级的配置工具,用 usb 连接其他的 apple 设备做配置。
    clrss
        3
    clrss  
       2020-07-07 11:27:37 +08:00
    以后 mac 也要越狱了?

    作为电脑肯定能拿 root 权限, 但关不了 SIP, root 权力也有限.
    shawnzhong
        4
    shawnzhong  
    OP
       2020-07-07 11:32:36 +08:00   ❤️ 1
    @gainsurier

    > 请问 Rosetta 2 支持 avx 指令吗?

    不能,详见 [https://developer.apple.com/documentation/apple_silicon/about_the_rosetta_translation_environment]( https://developer.apple.com/documentation/apple_silicon/about_the_rosetta_translation_environment)

    > Rosetta translates all x86_64 instructions, but it doesn’t support the execution of some newer instruction sets and processor features, such as AVX, AVX2, and AVX512 vector instructions.
    JonyYou
        5
    JonyYou  
       2020-07-07 11:36:06 +08:00 via iPhone
    不支持 HDCP 是不是网飞看不了哦?
    jdjingdian
        6
    jdjingdian  
       2020-07-07 11:41:55 +08:00
    不支持重装有点难受啊,希望只是 dtk 的特性,要是以后的 arm mac 也需要用 apple configurator 来配置的话,会吐的
    geniussoft
        7
    geniussoft  
       2020-07-07 12:12:28 +08:00
    关注一下
    agagega
        8
    agagega  
       2020-07-07 12:38:13 +08:00 via iPhone
    意思是发布会上的那个 XDR 也是用 5K 模式显示的吗
    nguoidiqua
        9
    nguoidiqua  
       2020-07-07 12:50:49 +08:00
    不知日常使用的性能表现如何
    Jirajine
        10
    Jirajine  
       2020-07-07 12:55:48 +08:00 via Android
    arm 的标准比 x86 封闭的多,以后的电脑可能都没得 root 用了。
    别说解锁越狱,Google 一个 safety net 就能把你卡得死死的。
    vk42
        11
    vk42  
       2020-07-07 12:59:59 +08:00   ❤️ 1
    @Jirajine 这跟 arm 还是 x86 没啥关系,整机商想封闭啥平台都能封闭,参考游戏主机平台
    wclebb
        12
    wclebb  
       2020-07-07 13:03:12 +08:00 via iPhone
    Thunderbolt 貌似是 Intel CPU 才有,ARM 得有 apple 硬件开发出来才行吧?
    shawnzhong
        13
    shawnzhong  
    OP
       2020-07-07 13:05:05 +08:00
    @agagega 如果发布会上用的是同样的 DTK 的话,的确只能 6K 的 XDR 上显示的 5K 。要是不是同一台就说不准了...
    Jirajine
        14
    Jirajine  
       2020-07-07 13:12:13 +08:00 via Android   ❤️ 1
    @vk42 不能说没关系,arm 确实更封闭。市面上的 arm 消费者产品几乎无一例外都是不开放的。
    举个例子,根据微软的认证要求:
    https://docs.microsoft.com/en-us/previous-versions/windows/hardware/cert-program/windows-hardware-certification-requirements-for-client-and-server-systems?redirectedfrom=MSDN
    x86 平台:必须允许用户完全控制 secure boot
    arn 平台:必须禁止用户修改 secure boot
    其他的 arm 设备更不用说,Android,iOS,现在连 arm 的 mac 也是如此。
    gggxxxx
        15
    gggxxxx  
       2020-07-07 13:20:12 +08:00 via iPhone
    以后像 iPhone 那样软硬件给锁死就恶心了。系统不让抹盘重装,不能降级,也不能装其他系统。硬件硬盘内存全部焊接在主板上,只能官网天价选配.......

    如果正式 arm mac 真是这样封闭的话,用户一起请愿开放吧,或者抵制 apple 。厨子掌权这么多年真该接受下市场的惩罚。
    tiramice
        16
    tiramice  
       2020-07-07 13:26:28 +08:00 via iPhone   ❤️ 7
    总结一下就是只有两项不支持:这也不支持,那也不支持🐶
    TypeError
        17
    TypeError  
       2020-07-07 13:29:32 +08:00 via Android
    鸡肋,要是价格还高那彻底没意义了,
    AMD PC 多好
    autoxbc
        18
    autoxbc  
       2020-07-07 13:30:20 +08:00
    大概 Arm Mac 发布时直接支持 USB 4
    vk42
        19
    vk42  
       2020-07-07 13:44:34 +08:00   ❤️ 2
    @Jirajine 你把因果关系搞错了,限制是厂商加的,不是架构加的。Secure Boot 的历史你可以去了解一下,当时微软想借 Secure Boot 控制用户设备,结果被反垄断诉讼倒逼得加了必须能关闭的选项,所以这反而证明了这些限制都是商业目标导向的……
    sharpy
        20
    sharpy  
       2020-07-07 14:11:37 +08:00
    苹果整的 t1 t2 芯片,拒绝模块化组机,不就是为了最大化利润吗
    wsseo
        21
    wsseo  
       2020-07-07 15:56:25 +08:00
    我倒是觉得封闭好,这样才能保值。
    NG6
        22
    NG6  
       2020-07-07 16:08:15 +08:00
    a12z 毕竟是为 iPad 设计的芯片,想达到更多现有 pc 支持的特性肯定要等专为 Mac 涉及的芯片出来后才能实现,估计得等 1,2 代了
    wclebb
        23
    wclebb  
       2020-07-07 16:35:49 +08:00
    @autoxbc #18 仔细想想真有可能。
    moooookey
        24
    moooookey  
       2020-07-07 16:46:07 +08:00
    mac 886 , 厨子¥%@#@……&% 唉,一言难尽,且看吧
    systemcall
        25
    systemcall  
       2020-07-07 21:34:13 +08:00 via Android
    有 secure boot 之类的东西,再加上各种恶心用户用的设计,以后 Mac 怕是会和手机和游戏机一样用户什么事情都做不了
    看会不会像 win8 出来的时候那样抵制,感觉希望渺茫
    JerryCha
        26
    JerryCha  
       2020-07-07 21:48:06 +08:00
    obviously,这是个只能拿来迁移应用的开发机。真正上市产品会补齐一部分 features
    Jirajine
        27
    Jirajine  
       2020-07-07 21:55:50 +08:00 via Android
    @vk42 那么为什么这种“倒逼”不对 arm 生效呢,如果 Android 和 iOS 的封闭还可以解释成移动端的天然特性,但 Windows 和 macos 本来都相当开放,一到 arm 就开始封闭起来。不管是什么原因导致的,arm 普遍更封闭的现象却是事实,所以我对未来迁移到 arm 平台的设备都比较悲观。
    alphatoad
        28
    alphatoad  
       2020-07-08 07:03:11 +08:00 via iPhone
    ARM 当然可以有 UEFI,但现在 arm 设备都是整机,没有兼容机市场
    t2 芯片也是默认引导签名的,虽然可以关闭,苹果乐意完全可以强制 secure boot
    shawnzhong
        29
    shawnzhong  
    OP
       2020-07-08 22:47:22 +08:00
    @nguoidiqua 更新了一些性能相关的推文。

    @Jirajine @vk42 更新了一条乱搞 boot loader 结果变砖的推文,**可能**真的在 DTK 上收紧了 Secure Boot 。
    westtide
        30
    westtide  
       2020-07-11 16:58:43 +08:00
    「强制关机需要拔下电源线」........ 这一条有点幽默
    drquest
        31
    drquest  
       2020-08-03 13:09:54 +08:00
    tethered restore with Apple Configurator 2 的意思是
    “使用 Apple Configurator 2 进行线刷”
    就是类似与刷手机那样,用 Type-C 线,一头插在“保姆机”上,一头插在 DTK 的一个 type-c 口上,然后从“保姆机”把 ipsw 刷进 DTK
    iHTCboy
        32
    iHTCboy  
       2020-09-22 10:57:02 +08:00
    用 Apple Configurator 2 还原 DTK 失败,

    在论坛看到,需要注意点:
    这 2 软件需要 beta 版本:
    Apple Configurator beta 4 or 5
    Xcode 12 beta 6 or 12.2 beta


    否则就会遇到报错:
    The operation couldn’t be completed. (AMRestoreErrorDomain error 10 - Failed to handle message type StatusMsg) [AMRestoreErrorDomain – 0xA (10)]


    其实官网有教程:

    https://download.developer.apple.com/Documentation/Universal_App_Quick_Start_Program_Resources/Restoring_Developer_Transition_Kit.pdf

    ### Restoring Developer Transition Kit
    Instructions
    1. Download and Install prerequisites
    - Your host Mac may be running macOS Catalina 10.15.5 or later
    - Download Xcode 12 beta 1 and Apple Configurator 2.13 beta 1 from developer.apple.com
    - Launch Xcode 12 beta 1 and allow components to install
    - Quit Xcode 12 beta 1 and launch Apple Configurator 2.13 beta 1 2. Place the device in DFU mode
    - Shutdown the device
    - Unplug the power cable
    - Hold the Power button
    - While holding the power button, reconnect the power cable - Continue holding the power button for 2-3 seconds
    3. Connect to Host Mac
    - Use a USB-C cable (USB-C charge cable is fine)
    - Connect to USB-C port closest to HDMI port on the device - Launch Apple Configurator 2.13 beta 1
    - Ensure the device is present in the devices window
    4. Restoring the device
    - Drag the IPSW file dowloaded from developer.apple.com over to the device
    - Select “Restore” from the alert that appears
    - The restore process will now begin. The restore process will take some time. Even if the Apple Configurator progress bar isn’t moving, progress is being made. You should also see a progress bar on the device if a display is connected
    - The progress sheet in Configurator may not dismiss until the device is in macOS Setup Assistant
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   3319 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 29ms · UTC 13:34 · PVG 21:34 · LAX 06:34 · JFK 09:34
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.