{"id":13471727,"url":"https://github.com/thirtythreeforty/businesscard-linux","last_synced_at":"2025-05-16T03:04:01.819Z","repository":{"id":37493475,"uuid":"184192415","full_name":"thirtythreeforty/businesscard-linux","owner":"thirtythreeforty","description":"A Buildroot distribution small enough to run on my business card","archived":false,"fork":false,"pushed_at":"2020-05-19T14:41:43.000Z","size":14274,"stargazers_count":1828,"open_issues_count":13,"forks_count":187,"subscribers_count":49,"default_branch":"master","last_synced_at":"2025-05-13T14:15:07.969Z","etag":null,"topics":["allwinner-f1c100s","buildroot","lichee-nano","linux"],"latest_commit_sha":null,"homepage":"https://www.thirtythreeforty.net/posts/2019/12/my-business-card-runs-linux/","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/thirtythreeforty.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}},"created_at":"2019-04-30T04:36:48.000Z","updated_at":"2025-05-10T14:09:55.000Z","dependencies_parsed_at":"2022-07-16T15:30:39.700Z","dependency_job_id":null,"html_url":"https://github.com/thirtythreeforty/businesscard-linux","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thirtythreeforty%2Fbusinesscard-linux","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thirtythreeforty%2Fbusinesscard-linux/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thirtythreeforty%2Fbusinesscard-linux/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thirtythreeforty%2Fbusinesscard-linux/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thirtythreeforty","download_url":"https://codeload.github.com/thirtythreeforty/businesscard-linux/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254459088,"owners_count":22074605,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["allwinner-f1c100s","buildroot","lichee-nano","linux"],"created_at":"2024-07-31T16:00:48.737Z","updated_at":"2025-05-16T03:03:56.804Z","avatar_url":"https://github.com/thirtythreeforty.png","language":"Makefile","funding_links":[],"categories":["Makefile","linux","Inactive","Uncategorized"],"sub_categories":["Custom","Uncategorized"],"readme":"# Business Card Linux\n\n[![Actions Status](https://github.com/thirtythreeforty/businesscard-linux/workflows/CI/badge.svg)](https://github.com/thirtythreeforty/businesscard-linux/actions)\n\nThis is the Linux distribution small enough to run from the 8MB of storage on my Linux-powered business card.\nIt is powered by the Allwinner F1C100s, a $1.40 Linux-capable ARM system-on-chip.\nThis repository is the source code for its firmware image, based on Buildroot 2019.05.\nThis directory is a \"Buildroot external,\" providing a few patches, additional packages, and board support files on top of mainline Buildroot.\n\nFor a complete write-up, see my [blog post][blog-post] about the project.\n\n![business card top](doc/images/businesscard-top.jpg)\n\n## Patched Linux and U-Boot\n\nI lightly patched the Linux kernel and U-Boot to get all the hardware peripherals working.\nYou can find my forks here:\n\n- [Linux][linux-f1c100s] v5.0.2 (patched to enable USB gadget mode)\n- [U-Boot][uboot-f1c100s] (patched to support the F1C100s)\n\n## Build\n\nMake sure submodules are initialized:\n\n\tgit submodule update --init\n\nChange to the top-level Buildroot directory:\n\n\tcd buildroot\n\nInitialize the configuration, including the defconfig and this external directory:\n\n\tmake BR2_EXTERNAL=$PWD/../ thirtythreeforty_businesscard_defconfig\n\nAnd compile:\n\n\tmake\n\nThis may take a couple hours to do from scratch, depending on the speed of your machine.\n\n## Installation\n\nIf you have a [Lichee Pi Nano][lichee-nano] with a flash chip, or one of my blank business cards, you can flash it with the following command.\nMake sure the board is in FEL mode using `dmesg` or similar.\n\n\toutput/host/bin/sunxi-fel -p spiflash-write 0 output/images/flash.bin\n\nYou can erase the card after it boots by simply logging in (as `root`) and erasing the flash manually:\n\n\tdd if=/dev/zero of=/dev/mtd0\n\nDon't erase it unless you're prepared to burn a new image!\n\n## License\n\nSubject to the below exceptions, code is released under the GNU General Public License, version 2 or (at your option) any later version.\nSee also the [Buildroot license notice][buildroot-license] for more nuances about the meaning of this license.\n\nPatches are not covered by this license. Instead, they are covered by the license of the software to which the patches are applied.\n\nFinally, files in the `businesscard-flashdrive` package, including its README, my resume, and my photography, remain proprietary and are not released under the GPL.\nIf you would like to build your own firmware based on this, simply remove those files, or deselect the package during build.\n\n[blog-post]: https://www.thirtythreeforty.net/posts/2019/12/my-business-card-runs-linux/\n[linux-f1c100s]: https://github.com/thirtythreeforty/linux.git\n[uboot-f1c100s]: https://github.com/thirtythreeforty/u-boot.git\n[lichee-nano]: https://www.seeedstudio.com/Sipeed-Lichee-Nano-Linux-Development-Board-16M-Flash-WiFi-Version-p-2893.html\n[buildroot-license]: https://buildroot.org/downloads/manual/manual.html#legal-info-buildroot\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthirtythreeforty%2Fbusinesscard-linux","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthirtythreeforty%2Fbusinesscard-linux","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthirtythreeforty%2Fbusinesscard-linux/lists"}