{"id":15017606,"url":"https://github.com/ikluft/piflash","last_synced_at":"2025-04-09T19:42:38.407Z","repository":{"id":56836030,"uuid":"151898792","full_name":"ikluft/piflash","owner":"ikluft","description":"Write (\"flash\") a Raspberry Pi boot image to an SD card, with features for power users (auto-unwrap archive files) or newbies (safety checks to avoid erasing wrong device)","archived":false,"fork":false,"pushed_at":"2022-11-13T07:53:07.000Z","size":493,"stargazers_count":10,"open_issues_count":1,"forks_count":1,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-23T21:45:44.603Z","etag":null,"topics":["linux","perl","perl5","raspberry-pi","sd-card"],"latest_commit_sha":null,"homepage":"","language":"Perl","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/ikluft.png","metadata":{"files":{"readme":"README.md","changelog":"Changes","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-10-07T02:20:20.000Z","updated_at":"2022-10-23T04:14:41.000Z","dependencies_parsed_at":"2023-01-22T23:46:03.211Z","dependency_job_id":null,"html_url":"https://github.com/ikluft/piflash","commit_stats":null,"previous_names":[],"tags_count":12,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ikluft%2Fpiflash","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ikluft%2Fpiflash/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ikluft%2Fpiflash/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ikluft%2Fpiflash/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ikluft","download_url":"https://codeload.github.com/ikluft/piflash/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248101182,"owners_count":21047919,"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":["linux","perl","perl5","raspberry-pi","sd-card"],"created_at":"2024-09-24T19:50:44.628Z","updated_at":"2025-04-09T19:42:38.388Z","avatar_url":"https://github.com/ikluft.png","language":"Perl","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Name\n\n*piflash* - Raspberry Pi SD-flashing script with safety checks to avoid erasing the wrong device\n\n# Synopsis\n\n    piflash [--verbose] [--resize] [--config conf-file] input-file output-device\n\n    piflash [--verbose] --sdsearch\n\n    piflash --version\n\n# Featured article\n\n\u003ca href=\"https://opensource.com/article/19/3/piflash\"\u003e\n\u003cimg src=\"doc/raspberrypi_board_vector_red.png\" height=176 width=\"312\" align=\"left\"\u003e\n\u003cb\u003e\"Getting started with PiFlash: Booting your Raspberry Pi on Linux\"\u003c/b\u003e\n\u003c/a\u003e\n\u003cbr\u003e\nby Ian Kluft at OpenSource.com\n\u003cbr\u003e\nMarch 15, 2019\n\u003cbr clear=all\u003e\n\n# Description\n\nPiFlash writes (or \"flashes\") an SD card for a Raspberry Pi. It includes safety checks so that it can only erase and write to an SD card, not another device on the system. The safety checks are probably of most use to beginners. For more advanced users (like the author) it also has the convenience of flashing directly from the file formats downloadable from raspberrypi.org without extracting a .img file from a zip/gz/xz file.\n\n## User documentation\n\n* [PiFlash program usage and installation](https://metacpan.org/pod/distribution/PiFlash/bin/piflash)\n* [Online resources for PiFlash](https://metacpan.org/pod/distribution/PiFlash/doc/resources.pod)\n  * [Where to download Raspberry Pi bootable images](https://metacpan.org/pod/distribution/PiFlash/doc/resources.pod#Where-to-download-Raspberry-Pi-bootable-images)\n  * [Presentations and Articles](https://metacpan.org/pod/distribution/PiFlash/doc/resources.pod#Presentations-and-Articles)\n* [PiFlash release on CPAN](https://metacpan.org/release/PiFlash)\n* [PiFlash source code on GitHub](https://github.com/ikluft/piflash)\n\nPiFlash documentation is available as Unix man-pages and as Perl POD (Plain Old Documentation).\nOnce installed, you can run `man` or `perldoc` from a shell to read the documentation:\n\n    % man piflash\n\nor\n \n    % perldoc piflash\n \n## Developer documentation\n\n* [PiFlash](https://metacpan.org/pod/PiFlash) - Raspberry Pi SD-flashing script with safety checks to avoid erasing the wrong device\n* [PiFlash::Command](https://metacpan.org/pod/PiFlash::Command) - process/command running utilities for piflash\n* [PiFlash::Hook](https://metacpan.org/pod/PiFlash::Hook) - named dispatch/hook library for PiFlash\n* [PiFlash::Inspector](https://metacpan.org/pod/PiFlash::Inspector) - PiFlash functions to inspect Linux system devices to flash an SD card for Raspberry Pi\n* [PiFlash::MediaWriter](https://metacpan.org/pod/PiFlash::MediaWriter) - write to Raspberry Pi SD card installation with scriptable customization\n* [PiFlash::Object](https://metacpan.org/pod/PiFlash::Object) - object functions for PiFlash classes\n* [PiFlash::Plugin](https://metacpan.org/pod/PiFlash::Plugin) - plugin extension interface for PiFlash\n* [PiFlash::State](https://metacpan.org/pod/PiFlash::State) - PiFlash::State class to store configuration, device info and program state\n\n## Participation in PiFlash\n\nSee the [Contributing to PiFlash](CONTRIBUTING.md) docs.\n\n* [Code of Conduct](CONTRIBUTING.md#code-of-conduct)\n* [Submitting an issue](CONTRIBUTING.md#submitting-an-issue)\n* [Submitting a Pull Request](CONTRIBUTING.md#submitting-a-pull-request)\n\nWhen reporting a bug, please include the full output using the --verbose option. That will include all of the\nprogram's state information, which will help understand the bigger picture what was happening on your system.\nFeel free to remove information you don't want to post in a publicly-visible bug report - though it's helpful\nto add \"[redacted]\" where you removed something so it's clear what happened.\n\nFor any SD card reader hardware which piflash fails to recognize (and therefore refuses to write to),\nplease describe the hardware as best you can including name, product number, bus (USB, PCI, etc),\nany known controller chips.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fikluft%2Fpiflash","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fikluft%2Fpiflash","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fikluft%2Fpiflash/lists"}