{"id":17911443,"url":"https://github.com/tklauser/mkubootenv","last_synced_at":"2025-06-14T08:34:47.966Z","repository":{"id":6284029,"uuid":"7518165","full_name":"tklauser/mkubootenv","owner":"tklauser","description":"U-Boot environment image creator","archived":false,"fork":false,"pushed_at":"2013-02-06T12:03:42.000Z","size":136,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-02-08T20:29:40.178Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C","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/tklauser.png","metadata":{"files":{"readme":"README","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":"2013-01-09T09:22:14.000Z","updated_at":"2024-07-19T19:37:42.000Z","dependencies_parsed_at":"2022-09-02T23:50:56.306Z","dependency_job_id":null,"html_url":"https://github.com/tklauser/mkubootenv","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/tklauser%2Fmkubootenv","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tklauser%2Fmkubootenv/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tklauser%2Fmkubootenv/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tklauser%2Fmkubootenv/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tklauser","download_url":"https://codeload.github.com/tklauser/mkubootenv/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246952273,"owners_count":20859811,"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":[],"created_at":"2024-10-28T19:38:17.309Z","updated_at":"2025-04-03T06:43:01.438Z","avatar_url":"https://github.com/tklauser.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"mkubootenv\n==========\n\nCreate an U-Boot environmet image suitable for flashing. The input is a text\nfile containing environment variable definitions in the format “name=value”,\nsepareated by newlines.\n\nThe output) is stored as a list of \"name=value\" strings, where each of the the\nstrings is terminated by a NULL byte ('\\0'). The end of the list is marked by a\ndouble NULL byte.\n\nThe environment is preceeded by a 32 bit CRC over the list of strings.\n\nUsage\n-----\n\nusage: mkubootenv [-s \u003csize\u003e] \u003csource file\u003e \u003ctarget file\u003e\n\nOptions:\n  -s \u003csize\u003e  set size of the target image file to \u003csize\u003e bytes. If \u003csize\u003e is\n             bigger than the source file, the target image gets padded with\n\t     null bytes. If \u003csize\u003e is smaller than the source file, an error is\n\t     emitted.\n  -r         reverse operation: get plaintext env file (target) from binary\n             image file (source)\n\nFile formats\n------------\n\nThe U-Boot environment is stored in a simple file format, described in\ninclude/environment.h of the U-Boot source tree as follows:\n\n/**************************************************************************\n *\n * The \"environment\" is stored as a list of '\\0' terminated\n * \"name=value\" strings. The end of the list is marked by a double\n * '\\0'. New entries are always added at the end. Deleting an entry\n * shifts the remaining entries to the front. Replacing an entry is a\n * combination of deleting the old value and adding the new one.\n *\n * The environment is preceeded by a 32 bit CRC over the data part.\n *\n **************************************************************************\n */\n\nThe input file format for mkubootenv is a simple text file containing\n'name=value' pairs, separated by newlines ('\\n'). This means, there are _no\nnewlines allowed_ inside the variable names or values.\n\nSee the example/ directory for an example input file (uboot_env.env) and its\ncorresponding output file (uboot_env.bin).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftklauser%2Fmkubootenv","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftklauser%2Fmkubootenv","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftklauser%2Fmkubootenv/lists"}