{"id":39642765,"url":"https://github.com/eharmon/m68k-buildroot","last_synced_at":"2026-01-18T09:02:05.204Z","repository":{"id":196187254,"uuid":"694973627","full_name":"eharmon/m68k-buildroot","owner":"eharmon","description":"Linux Buildroot configuration for Macintosh with Motorola 68040","archived":false,"fork":false,"pushed_at":"2025-09-10T03:21:30.000Z","size":664,"stargazers_count":11,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-09-10T07:07:06.662Z","etag":null,"topics":["68040","68k","buildroot","linux","macintosh","quadra","retrocomputing"],"latest_commit_sha":null,"homepage":"","language":"Makefile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/eharmon.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2023-09-22T04:49:13.000Z","updated_at":"2025-09-10T03:21:34.000Z","dependencies_parsed_at":"2025-09-10T05:15:31.474Z","dependency_job_id":"fbae2a51-80aa-4d5b-a8eb-658306c49db8","html_url":"https://github.com/eharmon/m68k-buildroot","commit_stats":null,"previous_names":["eharmon/m68k-buildroot"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/eharmon/m68k-buildroot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eharmon%2Fm68k-buildroot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eharmon%2Fm68k-buildroot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eharmon%2Fm68k-buildroot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eharmon%2Fm68k-buildroot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eharmon","download_url":"https://codeload.github.com/eharmon/m68k-buildroot/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eharmon%2Fm68k-buildroot/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28534154,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-18T00:39:45.795Z","status":"online","status_checked_at":"2026-01-18T02:00:07.578Z","response_time":98,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["68040","68k","buildroot","linux","macintosh","quadra","retrocomputing"],"created_at":"2026-01-18T09:02:05.087Z","updated_at":"2026-01-18T09:02:05.199Z","avatar_url":"https://github.com/eharmon.png","language":"Makefile","funding_links":[],"categories":[],"sub_categories":[],"readme":"Buildroot Linux for 68k Macs\n============================\n\nPre-configured [Buildroot Linux](https://buildroot.org) for 68040-based Macintosh.\n\nTo setup the Buildroot environment, run:\n\n\t./setup.sh\n\nNow you can configure further using the standard Buildroot methods, please see the Buildroot documentation.\n\nAs an example, to build images simply run make:\n\n\tmake\n\nThe first build will take quite some time.\n\nBy default, a kernel, ramdisk, and ext2 volume will be built into the `images` directory.\n\nThe images are configured to DHCP using onboard ethernet and start an SSH server. There is only a `root` user with no password. Additional packages can be installed by configuring Buildroot.\n\nFor machines with smaller memory configurations, you can switch the kernel to build for size (-Os), disable kernel features (additional filesystems, IPv6, etc), and disable software packages. The default configuration will run well on systems with 64MiB, but may work on smaller systems.\n\nFirst boot will be very, very slow as the SSH host keys will be generated. Let it sit, it is not frozen.\n\nUsage\n-----\n\nTo boot these in Qemu, run:\n\n\t$ qemu-system-m68k -boot d \\\n\t    -M q800 -m 256M -rtc base=localtime \\\n\t    -net nic,model=dp83932 -net user \\\n\t    -append \"root=/dev/sda rw console=ttyS0\" \\\n\t    -kernel images/vmlinux \\\n\t    -drive file=images/rootfs.ext2,format=raw \\\n\t    -nographic\n\nTo boot on a real computer, use [Penguin](https://sourceforge.net/projects/linux-mac68k/files/Penguin%20Booter/Penguin-19/). The Linux/mac68k Project has a [useful FAQ](http://www.mac.linux-m68k.org/docs/penguin.php).\n\nRoughly, you can do the following to boot Linux from memory as a test. This will require a large amount of memory (64MiB+):\n\n1) Copy `vmlinux` and `rootfs.cpio.lz4` to your Mac.\n2) By default, Penguin is not configured to use as much memory as we need to load modern, larger Linux kernels and ramdisks.\n\t- On your 68k Mac, select the Penguin app and do File -\u003e Get Info.\n\t- Set the Minimum and Preferred memory to something large, like 50000. This ensures the app can allocate enough memory to load the entire kernel and ramdisk.\n\t- Close the Info window.\n3) Open Penguin and select File -\u003e Settings…. Select the Kernel tab.\n4) Choose a kernel file and select `vmlinux`.\n5) Check the RAM Disk box and select `rootfs.cpio.lz4`.\n6) Select the Options tab.\n7) In the command line, put `root=/dev/ram`.\n8) Click OK, save the settings if you like.\n9) Select File -\u003e Boot Now\n\nIf you'd like to install to disk, you'll need to copy the `rootfs.ext2` to a new ext2 partition on a SCSI disk. You can select this as the boot device by modifying the command line to put `root=/dev/sda2 rw`, where \"sda\" is mapped to the SCSI ID (a=1, b=2, etc) and the digit is the partition number.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feharmon%2Fm68k-buildroot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feharmon%2Fm68k-buildroot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feharmon%2Fm68k-buildroot/lists"}