메뉴
HN
Hacker News 12일 전

하이쿠(Haiku) OS, 애플 M1 맥에서 구동 성공

IMP
6/10
핵심 요약

개발자 smrobtzz가 BeOS 기반의 오픈소스 운영체제인 하이쿠(Haiku) OS를 애플 M1 맥북에어에 성공적으로 부팅시켰습니다. 현재 마우스 버벅임, USB 인식 문제, 색상 왜곡 등 초기 단계의 버그가 존재하지만, 개발자 커뮤니티를 중심으로 패키지 매니저 설정 및 크로스 컴파일 등 ARM64 환경 구축을 위한 활발한 논의가 진행 중입니다.

번역된 본문

저의 Haiku arm64 진행 상황 (개발 OS)

smrobtzz (2026년 5월 1일, 오후 6:23) 21 약간의 수정을 거쳐 UTM에서 Haiku가 부팅되었습니다. 하지만 마우스 움직임이 느리고 끊겨서, UTM에서 Haiku arm64를 사용하는 건 그다지 즐겁지 않네요. [이미지: 2784×1904 139 KB] 좋아요 10개

KENZ (2026년 5월 2일, 오전 7:44) 22 나이틀리 빌드 이미지가 "부트스트랩(Bootstrap) 이미지"인지 아니면 "언부트스트랩(Unbootstrapped)" 상태인지 알고 싶습니다. ARM64 나이틀리 빌드에 개발 환경을 어떻게 구축할 수 있는지 알고 싶습니다. 현재 나이틀리 이미지에는 git, gcc 또는 기타 개발 패키지가 전혀 없습니다. 패키지를 빌드하고 테스트할 환경을 설정하는 가이드가 있을까요? 아니면 최근 이미지는 데스크톱 부팅까지는 가능하지만, 사용자 영역(userland) 개발을 하려면 OS에 고쳐야 할 것들이 아직 많은 걸까요? 좋아요 1개

PulkoMandy (2026년 5월 2일, 오후 2:40) 23 해당 이미지는 "언부트스트랩" 상태이지만, 유일한 차이점은 초기 패키지 세트가 빌드된 방식뿐입니다. 릴리스 아카이브 중 하나를 다운로드하여 haikuports를 설정할 수 있으며, 이를 통해 패키지를 빌드하기에 충분히 괜찮은 패키지 세트를 갖출 수 있을 것입니다. (아니면 적어도 시도해 보고 무엇이 누락되었는지 확인할 수는 있을 겁니다.) pkgman을 사용하여 몇 가지를 설치할 수도 있지만, 현재로서는 haikuports 빌더가 없기 때문에 패키지 세트가 꽤 제한적일 것입니다. 이 부분은 나중에 추가되지 않을까 생각됩니다. 좋아요 2개

DigitalBox (2026년 5월 3일, 오전 8:37) 24 제 경우에는 pkgman이 어떤 패키지도 설치할 수 없고 "지원되지 않는 작업(operation not supported)"이라는 에러가 발생합니다. [스크린샷: 1920×1218 288 KB]

PulkoMandy (2026년 5월 3일, 오전 11:04) 25 이 문제는 이미지가 OpenSSL 지원 없이 빌드되었기 때문일 수 있습니다. 그 경우라면, 실제로 유용한 작업을 하기는 매우 어려울 것입니다.

Begasus (2026년 5월 3일, 오후 12:04) 26 패키지가 Depots(저장소)에 있다면 링크를 가져와서 wget을 사용해 다운로드할 수 있습니다. 저도 haikuporter/haikuports를 설정하기 위해 riscv64 이미지에서 이와 같은 약간의 꼼수를 부려야 했습니다.

KENZ (2026년 5월 4일, 오전 2:31) 27 Depot 서버에서 arm64용으로 미리 빌드된 개발 패키지를 찾을 수 없었습니다. 하지만 FAT32 디스크 이미지를 통해 QEMU 호스트에서 ARM64 Haiku 게스트로 파일을 가져오는 방법을 찾았습니다. MacOS 디스크 유틸리티로 FAT32로 포맷된 디스크 이미지를 생성하고, Mac에 마운트하여 파일을 넣은 다음, 아래의 명령어처럼 QEMU 게스트에 연결하면 됩니다. qemu-system-aarch64
-M virt
-cpu max
-m 2G
-smp 4
-bios /opt/homebrew/share/qemu/edk2-aarch64-code.fd
-device qemu-xhci,id=usb
-drive file=haiku-master-hrev59671-arm64-mmc.image,if=none,id=drv0,format=raw
-device usb-storage,bus=usb.0,drive=drv0
-device usb-kbd,bus=usb.0
-device usb-tablet,bus=usb.0
-device ramfb
-display cocoa,zoom-to-fit=on
-device qemu-xhci,id=usb2
-drive file=../shared.img,format=raw,if=none,id=usb-shared
-device usb-storage,bus=usb2.0,drive=usb-shared
-serial stdio x86_64 Haiku 또는 적어도 Linux에서 ARM64 Haiku용 .hpkgs를 크로스 컴파일할 수 있어야 하지 않을까요? 좋아요 1개

smrobtzz (2026년 5월 5일, 오전 1:43) 28 gcc를 포함한 여러 개발 도구를 크로스 컴파일하는 부트스트랩 이미지를 컴파일할 수 있습니다. 수동으로 haikuporter를 호출하여 패키지를 크로스 컴파일하는 것도 가능할 것이지만, 구체적인 방법은 저도 잘 모르겠습니다. 좋아요 1개

PulkoMandy (2026년 5월 12일, 오후 1:12) 29 부트스트랩 이미지의 핵심 아이디어는 이를 이용해 haikuporter를 실행하고 더 많은 패키지를 빌드할 수 있다는 것입니다. 베타 6에서 이미 이 작업을 진행할 계획인지는 모르겠습니다. (아직 이르고 릴리스를 더 지연시키고 싶지 않을 수도 있습니다.) 하지만 나중에 haikuports를 위한 빌드봇(buildbot)을 구축할 가능성이 높습니다. CPU를 에뮬레이션하여 실행 속도가 너무 느려지는 것을 방지하기 위해, 네이티브 ARM 시스템(또는 그 위에서 가상화된 환경)에서 이를 실행하는 것이 더 쉬울 수도 있습니다. 좋아요 1개

smrobtzz (2026년 5월 14일, 오후 8:08) 30 M1 맥북에어에서 데스크톱으로 부팅되었습니다. 8개 코어가 모두 돌아가고 있고, USB는 겨우 작동하며, 화면 색상이 약간 이상하지만, 그래도 잘 작동합니다! [사진: 1920×2560 1.01 MB] 좋아요 36개

jamesfmacmilne (2026년 5월 14일, 오후 8:22) 31 이걸 제대로 작동하게 만들면 인터넷을 뒤흔들어 놓으실 겁니다. 좋아요 2개

Philipingram25 (2026년 5월 14일, 오후 9:15) 32 눈이 아파 보이네요.

smrobtzz (2026년 5월 14일, 오후 11:33) 33 이제 색상 공간 변환이 적용되었습니다! [사진: 1920×2560 896 KB] 좋아요 37개

원문 보기
원문 보기 (영어)
My Haiku arm64 Progress Development OS smrobtzz May 1, 2026, 6:23pm 21 Got Haiku booting in UTM with some small fixes. Mouse movement is slow and choppy though, so it’s not especially fun to use Haiku arm64 in UTM 2784×1904 139 KB 10 Likes KENZ May 2, 2026, 7:44am 22 Are nightly images "Bootstrap image"s or “unbootstrapped” ones from? I want to know how can I make a hacking environment on an ARM64 nightly. There are no git, gcc or any development packages in the current nightly images. Are there any guide to set up build and test other packages? Or recent imaged is just started booting to Desktop, but there are many fix to the OS before userland hacking? 1 Like PulkoMandy May 2, 2026, 2:40pm 23 They are “unbootstrapped”, but the only difference is the way the initial set of packages was built. You can set up haikuports by downloading one of its release archives, and you should have a set of packages good enough to start building things there, or at least try and see what’s missing. You may be able to install some things from pkgman as well, but right now there is no haikuports builder, so the package set will be quite limited. I guess that will come sometime later? 2 Likes DigitalBox May 3, 2026, 8:37am 24 On my side, pkgman can’t install any package and I have the “operation not supported” error : Capture d’écran 2026-05-03 à 10.36.34 1920×1218 288 KB PulkoMandy May 3, 2026, 11:04am 25 This may be caused by the imagebeing built without openssl support. In which case, indeed it will be difficult to get anything useful done with it. Begasus May 3, 2026, 12:04pm 26 If the package is available in the depot you could grab the link there and use wget to pull it in, had to do some magic for that also on the riscv64 image to be able to setup haikuporter/haikuports. KENZ May 4, 2026, 2:31am 27 I couldn’t find prebuild dev packages for arm64 on depot server. But I found a way to bring files from QEMU host to ARM64 Haiku guest through FAT32 disk image. Create disk image formatted FAT32 by MacOS Disk Utility, then mount on Mac and place files, finally attach QEMU guest like qemu-system-aarch64 \ -M virt \ -cpu max \ -m 2G \ -smp 4 \ -bios /opt/homebrew/share/qemu/edk2-aarch64-code.fd \ -device qemu-xhci,id=usb \ -drive file=haiku-master-hrev59671-arm64-mmc.image,if=none,id=drv0,format=raw \ -device usb-storage,bus=usb.0,drive=drv0 \ -device usb-kbd,bus=usb.0 \ -device usb-tablet,bus=usb.0 \ -device ramfb \ -display cocoa,zoom-to-fit=on \ -device qemu-xhci,id=usb2 \ -drive file=../shared.img,format=raw,if=none,id=usb-shared \ -device usb-storage,bus=usb2.0,drive=usb-shared \ -serial stdio We should be able to cross-build some .hpkgs for ARM64 Haiku on x86_64 Haiku or at least Linux? 1 Like smrobtzz May 5, 2026, 1:43am 28 You can compile a bootstrap image which cross-builds a number of development tools including gcc. It’s probably possible to invoke haikuporter manually to cross-build packages too, though I don’t know how you would do that 1 Like PulkoMandy May 12, 2026, 1:12pm 29 The idea of the bootstrap image is that you can then use it to run haikuporter and build more packages. I don’t know if we plan to do that for beta6 already (may be a bit early and we don’t want to delay the release further), but later on we will likely set up a buildbot for haikuports. It may also be easier to do so if we can run this on a native ARM system (or virtualized on top of one), to not have to emulate the CPU and have things run too slowly. 1 Like smrobtzz May 14, 2026, 8:08pm 30 Booted to desktop on M1 MacBook Air. All 8 cores are running, USB is barely functional, and the screen is in funny colors, but it works. IMG_20260514_155120_611 1920×2560 1.01 MB 36 Likes jamesfmilne May 14, 2026, 8:22pm 31 Once you get this running right you’re going to break the internet 2 Likes Philipingram25 May 14, 2026, 9:15pm 32 That look like it hurt the eyes smrobtzz May 14, 2026, 11:33pm 33 Now with color space conversion IMG_20260514_192610_866 1920×2560 896 KB 37 Likes X512 May 14, 2026, 11:58pm 34 What was native hardware color space? 1 Like dakota May 15, 2026, 12:00am 35 I love this! I’d love haiku on my M1 iMac so much! 1 Like smrobtzz May 15, 2026, 12:02am 36 32-bit RGB with 10-bits per channel. You can change that of course but it’s somewhat non-trivial 2 Likes david.given May 15, 2026, 2:45pm 37 I’m getting strong Windows 3.1 Hot Dog vibes here. …I have a Pinebook Pro arm64 laptop, which runs Linux rather badly, but would run Haiku pretty well. It’s got uboot with devicetree; how close do you think we are to getting an image that would work on it? 1 Like rjzak May 15, 2026, 3:50pm 38 Is this in a VM or is Haiku able to boot Apple hardware? smrobtzz May 15, 2026, 9:26pm 39 I don’t have a Pinebook Pro, and the hardware I do have has very little in common with it. Unless another developer wants to support Pinebook Pro, Haiku won’t run on it. Looking at the device tree, it probably wouldn’t be too difficult to get Haiku booted to the desktop though. 1 Like smrobtzz May 15, 2026, 9:29pm 40 This is bare metal, no VM. m1n1+u-boot deal with the Apple-specific parts of booting, so we can boot UEFI images from USB like any PC 4 Likes ← previous page next page →