{"id":16883375,"url":"https://github.com/hardillb/rpi-gadget-image-creator","last_synced_at":"2025-04-06T07:09:42.361Z","repository":{"id":47133834,"uuid":"242233237","full_name":"hardillb/rpi-gadget-image-creator","owner":"hardillb","description":"Takes a standard Raspbian Lite image and adds USB Ethernet gadget config","archived":false,"fork":false,"pushed_at":"2025-03-22T16:01:52.000Z","size":30,"stargazers_count":186,"open_issues_count":1,"forks_count":33,"subscribers_count":12,"default_branch":"master","last_synced_at":"2025-03-30T06:41:20.958Z","etag":null,"topics":["docker","qemu-arm","raspberry-pi","usb"],"latest_commit_sha":null,"homepage":"https://www.hardill.me.uk/wordpress/2020/02/21/building-custom-raspberry-pi-sd-card-images/","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hardillb.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","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},"funding":{"github":["hardillb"],"patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":null}},"created_at":"2020-02-21T21:23:56.000Z","updated_at":"2025-03-22T16:01:56.000Z","dependencies_parsed_at":"2024-10-13T16:21:44.216Z","dependency_job_id":null,"html_url":"https://github.com/hardillb/rpi-gadget-image-creator","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/hardillb%2Frpi-gadget-image-creator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hardillb%2Frpi-gadget-image-creator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hardillb%2Frpi-gadget-image-creator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hardillb%2Frpi-gadget-image-creator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hardillb","download_url":"https://codeload.github.com/hardillb/rpi-gadget-image-creator/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247445667,"owners_count":20939958,"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":["docker","qemu-arm","raspberry-pi","usb"],"created_at":"2024-10-13T16:11:30.103Z","updated_at":"2025-04-06T07:09:42.354Z","avatar_url":"https://github.com/hardillb.png","language":"Shell","funding_links":["https://github.com/sponsors/hardillb"],"categories":[],"sub_categories":[],"readme":"# Raspbery Pi USB Gadget Image Builder\n\nA script to add USB Ethernet Gadget configuration to a standard Raspbian Lite SD Card image. \nThis should work with Raspberry Pi Zero, Zero W and 4.\n\nCurrently only tested on Linux and with Docker Desktop + WSL on Windows 10, but should also run on OSx \n\nDoesn't work with current Bullseye based images\n\n\n## Requirements\n\n - Docker\n - expect\n\n## Install\n\nClone the repo\n\n```\ngit clone https://github.com/hardillb/rpi-gadget-image-creator.git\n```\n\nCopy the raspbian lite image into the `rpi-gadget-image-creator`  directory.\n\n## Running\n\n```\n./setup.sh 2019-09-26-raspbian-buster-lite.img\n```\n\nTo build a 64bit OS image you need to add `-64` before the image name. 64bit versions will run on Pi 3 and Pi 4 hardware.\n\n```\n./setup.sh -64 2020-08-20-raspios-buster-arm64.img\n```\n\n\nOnce complete you can write the image file to a SD Card with any of the usual tools e.g. `dd` or `balena-etch`.\nYou can find instructions on the Raspberry Pi website [here](https://www.raspberrypi.org/documentation/installation/installing-images/README.md)\n\n## TODO\n\nLook at repackaging everything into an extention to DockerPi so the whole thing runs in the container.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhardillb%2Frpi-gadget-image-creator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhardillb%2Frpi-gadget-image-creator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhardillb%2Frpi-gadget-image-creator/lists"}