{"id":16944646,"url":"https://github.com/krgn/custom_x86_64","last_synced_at":"2026-05-15T18:34:22.746Z","repository":{"id":152791423,"uuid":"244357157","full_name":"krgn/custom_x86_64","owner":"krgn","description":null,"archived":false,"fork":false,"pushed_at":"2020-03-05T07:53:42.000Z","size":136,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-10-09T23:36:25.273Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Elixir","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/krgn.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":".github/CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":".github/CODE_OF_CONDUCT.md","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":{"open_collective":"nerves-project"}},"created_at":"2020-03-02T11:44:28.000Z","updated_at":"2024-08-24T22:53:04.000Z","dependencies_parsed_at":null,"dependency_job_id":"29191d95-5cb7-492f-9844-9b359d099ae1","html_url":"https://github.com/krgn/custom_x86_64","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/krgn/custom_x86_64","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/krgn%2Fcustom_x86_64","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/krgn%2Fcustom_x86_64/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/krgn%2Fcustom_x86_64/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/krgn%2Fcustom_x86_64/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/krgn","download_url":"https://codeload.github.com/krgn/custom_x86_64/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/krgn%2Fcustom_x86_64/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33074867,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-15T11:35:32.926Z","status":"ssl_error","status_checked_at":"2026-05-15T11:35:31.362Z","response_time":103,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":"2024-10-13T21:18:50.882Z","updated_at":"2026-05-15T18:34:22.714Z","avatar_url":"https://github.com/krgn.png","language":"Elixir","funding_links":["https://opencollective.com/nerves-project"],"categories":[],"sub_categories":[],"readme":"# Generic x86_64 System\n\n[![CircleCI](https://circleci.com/gh/nerves-project/nerves_system_x86_64/tree/master.svg?style=svg)](https://circleci.com/gh/nerves-project/nerves_system_x86_64/tree/master)\n[![Hex version](https://img.shields.io/hexpm/v/nerves_system_x86_64.svg \"Hex version\")](https://hex.pm/packages/nerves_system_x86_64)\n\nThis is the base Nerves System configuration for a generic x86_64 system.\n\n| Feature              | Description                     |\n| -------------------- | ------------------------------- |\n| CPU                  | Intel                           |\n| Memory               | 512 MB+ DRAM                    |\n| Storage              | Hard disk/SSD/etc. (/dev/sda)   |\n| Linux kernel         | 4.19                            |\n| IEx terminal         | Display - tty0                  |\n| Hardware I/O         | None                            |\n| Ethernet             | Yes                             |\n\nPlease contact us about this if you're really interested in it. We don't\nexercise it regularly except as a base for other x86_64 projects.\n\n## Using\n\nThe most common way of using this Nerves System is create a project with `mix\nnerves.new` and to export `MIX_TARGET=x86_64`. See the [Getting started\nguide](https://hexdocs.pm/nerves/getting-started.html#creating-a-new-nerves-app)\nfor more information.\n\nIf you need custom modifications to this system for your device, clone this\nrepository and update as described in [Making custom\nsystems](https://hexdocs.pm/nerves/systems.html#customizing-your-own-nerves-system)\n\nIf you're new to Nerves, check out the\n[nerves_init_gadget](https://github.com/nerves-project/nerves_init_gadget)\nproject for creating a starter project. It will get you started with the basics\nlike bringing up networking, initializing the writable application data\npartition, and enabling ssh-based firmware updates.  It's easiest to begin by\nusing the wired Ethernet interface 'eth0' and DHCP.\n\n## Root disk naming\n\nIf you have multiple SSDs, or other devices connected, it's\npossible that Linux will enumerate those devices in a nondeterministic order.\nThis can be mitigated by using `udev` to populate the `/dev/disks/by-*`\ndirectories, but even this can be inconvenient when you just want to refer to\nthe drive that provides the root filesystem. To address this, `erlinit` creates\n`/dev/rootdisk0`, `/dev/rootdisk0p1`, etc. and symlinks them to the expected\ndevices. For example, if your root file system is on `/dev/mmcblk0p1`, you'll\nget a symlink from `/dev/rootdisk0p1` to `/dev/mmcblk0p1` and the whole disk\nwill be `/dev/rootdisk0`. Similarly, if the root filesystem is on `/dev/sdb1`,\nyou'd still get `/dev/rootdisk0p1` and `/dev/rootdisk0` and they'd by symlinked\nto `/dev/sdb1` and `/dev/sdb` respectively.\n\n## Provisioning devices\n\nThis system supports storing provisioning information in a small key-value store\noutside of any filesystem. Provisioning is an optional step and reasonable\ndefaults are provided if this is missing.\n\nProvisioning information can be queried using the Nerves.Runtime KV store's\n[`Nerves.Runtime.KV.get/1`](https://hexdocs.pm/nerves_runtime/Nerves.Runtime.KV.html#get/1)\nfunction.\n\nKeys used by this system are:\n\nKey                    | Example Value     | Description\n:--------------------- | :---------------- | :----------\n`nerves_serial_number` | `\"12345678\"`      | By default, this string is used to create unique hostnames and Erlang node names. If unset, it defaults to part of the Ethernet adapter's MAC address.\n\nThe normal procedure would be to set these keys once in manufacturing or before\ndeployment and then leave them alone.\n\nFor example, to provision a serial number on a running device, run the following\nand reboot:\n\n```elixir\niex\u003e cmd(\"fw_setenv nerves_serial_number 12345678\")\n```\n\nThis system supports setting the serial number offline. To do this, set the\n`NERVES_SERIAL_NUMBER` environment variable when burning the firmware. If you're\nprogramming MicroSD cards using `fwup`, the commandline is:\n\n```sh\nsudo NERVES_SERIAL_NUMBER=12345678 fwup path_to_firmware.fw\n```\n\nSerial numbers are stored on the MicroSD card so if the MicroSD card is\nreplaced, the serial number will need to be reprogrammed. The numbers are stored\nin a U-boot environment block. This is a special region that is separate from\nthe application partition so reformatting the application partition will not\nlose the serial number or any other data stored in this block.\n\nAdditional key value pairs can be provisioned by overriding the default provisioning.conf\nfile location by setting the environment variable\n`NERVES_PROVISIONING=/path/to/provisioning.conf`. The default provisioning.conf\nwill set the `nerves_serial_number`, if you override the location to this file,\nyou will be responsible for setting this yourself.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkrgn%2Fcustom_x86_64","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkrgn%2Fcustom_x86_64","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkrgn%2Fcustom_x86_64/lists"}