{"id":24443742,"url":"https://github.com/endlessm/eos-flash-tools","last_synced_at":"2025-10-06T00:18:38.439Z","repository":{"id":25594089,"uuid":"29028733","full_name":"endlessm/eos-flash-tools","owner":"endlessm","description":"Tools for reflashing devices that are distributed separately from the product software","archived":false,"fork":false,"pushed_at":"2021-04-22T01:15:46.000Z","size":79764,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-08-01T15:46:49.978Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":false,"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/endlessm.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":"2015-01-09T18:08:52.000Z","updated_at":"2022-07-26T16:11:24.000Z","dependencies_parsed_at":"2022-07-16T00:16:02.090Z","dependency_job_id":null,"html_url":"https://github.com/endlessm/eos-flash-tools","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/endlessm/eos-flash-tools","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/endlessm%2Feos-flash-tools","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/endlessm%2Feos-flash-tools/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/endlessm%2Feos-flash-tools/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/endlessm%2Feos-flash-tools/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/endlessm","download_url":"https://codeload.github.com/endlessm/eos-flash-tools/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/endlessm%2Feos-flash-tools/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278539003,"owners_count":26003496,"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","status":"online","status_checked_at":"2025-10-05T02:00:06.059Z","response_time":54,"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":[],"created_at":"2025-01-20T22:17:18.559Z","updated_at":"2025-10-06T00:18:38.424Z","avatar_url":"https://github.com/endlessm.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# eos-flash-tools\n\nThis repo contains the various flashing tools that aid in the image flashing process, but that do not live on the image itself.\n\n## eos-usb-reflash\n\nWe are taking advantage of the `eos-factory-test` service in order to automatically detect and run a new reflashing system. The system works as described [on its wiki page](https://phabricator.endlessm.com/w/field/automatic_usb_reflash/).\n\n### How to regenerate the necessary files\nHere are descriptions of the three files required on a drive to run this system.\n\n- `Endless_Factory_Test.tar`. This is a compressed folder that contains `start.sh`, the shell script that sets up the initramfs, and `initramfs-3.13.0-27.generic.img`, the compressed initramfs.\n- `Endless_Factory_Test.tar.sha256`, the sha256 checksum.\n- *.img.gz, the images that are to be flashed on the machine.\n_Note: If two images are to be flashed (in the case of a Sqwerty with 2 images, the image that will be flashed on the eMMC should have \"disk1\" in the name, as in \"eos2.2.disk1.img.gz\". The image for the SD card should similarly have \"disk2\" in the name. Any image that contains neither of these strings will be assumed to be an image that should be flashed for a single storage device machine)._\n\nFor convenience (until we have this set up for continuous integration / releases to S3), built files have been committed to eos-usb-reflash/usb-files under an architecture-specific directory.\n\nHere are instructions to generate these files from this repo.\n- Checkout the master version of this repo.\n- Build an initramfs using the included image.\n```\n    # cd eos-usb-reflash\n    # cp -R 99reflash /usr/lib/dracut/modules.d/ \n    # cd factory-test\n    # dracut -f --modules \"reflash\" initramfs.img $(uname -r)\n    # cd ..\n```\n- Package `factory-test` into an uncompressed tar archive without the top-level directory, using: \n```\n    # tar -C factory-test -c . -f Endless_Factory_Test.tar\n```\n- Make the sha256 checksum of that tar archive.\n```\n    # sha256sum Endless_Factory_Test.tar \u003e Endless_Factory_Test.tar.sha256\n```\n\n- Finally, the files `Endless_Factory_Test.tar` and `Endless_Factory_Test.tar.sha256` should be copied into the root directory of a USB Drive.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fendlessm%2Feos-flash-tools","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fendlessm%2Feos-flash-tools","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fendlessm%2Feos-flash-tools/lists"}