{"payload":{"feedbackUrl":"https://github.com/orgs/community/discussions/53140","repo":{"id":173290923,"defaultBranch":"master","name":"libubootenv","ownerLogin":"sbabic","currentUserCanPush":false,"isFork":false,"isEmpty":false,"createdAt":"2019-03-01T11:28:09.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/1411982?v=4","public":true,"private":false,"isOrgOwned":false},"refInfo":{"name":"","listCacheKey":"v0:1696766624.0","currentOid":""},"activityList":{"items":[{"before":"6b1c689dcce9f57659d07f105986d9f9f8bce2c8","after":"123383ebf42e4cfa14e0bca3523281fa36443481","ref":"refs/heads/master","pushedAt":"2024-07-06T10:55:24.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"sbabic","name":"Stefano Babic","path":"/sbabic","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1411982?s=80&v=4"},"commit":{"message":"src/uboot_env.c: Increase line length\n\nIncrease LINE_LENGTH from 1024 to 2048 because nowadays for some\nboards U-Boot CONFIG_SYS_CBSIZE (and CONFIG_SYS_PBSIZE respectively)\nis greater than 1024. This leads to truncating longer lines which\ncan be fatal in specific cases, for example with a long bootcmd.\n\nSigned-off-by: Leon Anavi \nAcked-by: Stefano Babic ","shortMessageHtmlLink":"src/uboot_env.c: Increase line length"}},{"before":"248ae58fc559c1140937b49c0fead1091d8c6d7b","after":"6b1c689dcce9f57659d07f105986d9f9f8bce2c8","ref":"refs/heads/master","pushedAt":"2024-05-29T14:54:51.000Z","pushType":"push","commitsCount":3,"pusher":{"login":"sbabic","name":"Stefano Babic","path":"/sbabic","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1411982?s=80&v=4"},"commit":{"message":"Let set a list of writable variables\n\nIn U-Boot, it is possible to list which variables could be changed via\nCONFIG_ENV_WRITEABLE_LIST. This was not supported by this library, but\nit does not raise a security leak. In fact, U-Boot will simply discard\nif a variable is not in the list. However, in user space any variable\ncan be set, and the output of fw_printenv is not what the bootloader\nreally accepts. This patch fills the gap and let add (just for YML\nconfiguration) a list of variables that can be set and their flags. The\ndefault policy is that all variables are accepted, exactly as it is done\nin U-Boot, and check is done only if the list is found in the\nconfiguration file.\n\nSigned-off-by: Stefano Babic ","shortMessageHtmlLink":"Let set a list of writable variables"}},{"before":"5a6f16a26c7e010d6f3e7f7f1a24fd5c21b09041","after":"248ae58fc559c1140937b49c0fead1091d8c6d7b","ref":"refs/heads/master","pushedAt":"2024-05-10T15:29:12.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"sbabic","name":"Stefano Babic","path":"/sbabic","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1411982?s=80&v=4"},"commit":{"message":"Update README.md\n\nRemoved unused entry for code.","shortMessageHtmlLink":"Update README.md"}},{"before":"0efb622f16351b4216a0111e0fa0c9c156b96dce","after":"5a6f16a26c7e010d6f3e7f7f1a24fd5c21b09041","ref":"refs/heads/master","pushedAt":"2024-04-21T14:37:10.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"sbabic","name":"Stefano Babic","path":"/sbabic","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1411982?s=80&v=4"},"commit":{"message":"Handle race conditions in UBI_IOCATT\n\nIf UBI_IOCATT was called while the attachment was already in progress\nwe may get an EEXIST error.\n\nIf this happens get the ubi_num with ubi_get_dev_id_from_mtd instead.\n\nSigned-off-by: James Hilliard \nAcked-by: Stefano Babic ","shortMessageHtmlLink":"Handle race conditions in UBI_IOCATT"}},{"before":"c478e8d92bd7676a249693f7d132bed7b17ae158","after":"0efb622f16351b4216a0111e0fa0c9c156b96dce","ref":"refs/heads/master","pushedAt":"2024-01-22T19:08:23.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"sbabic","name":"Stefano Babic","path":"/sbabic","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1411982?s=80&v=4"},"commit":{"message":"Use stdint.h integer types on FreeBSD\n\nFreeBSD and other BSDs have not defined u{8,32,64}, so use their\nstdint.h pendants.\n\nThis is in the BSD #ifdef path providing a shim for MTD which\nis not available on BSDs anyway.\n\nSigned-off-by: Christian Storm \nSigned-off-by: Stefano Babic ","shortMessageHtmlLink":"Use stdint.h integer types on FreeBSD"}},{"before":"3f4d15e36ceb58085b08dd13f3f2788e9299877b","after":"c478e8d92bd7676a249693f7d132bed7b17ae158","ref":"refs/heads/master","pushedAt":"2023-12-06T21:28:39.000Z","pushType":"push","commitsCount":3,"pusher":{"login":"sbabic","name":"Stefano Babic","path":"/sbabic","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1411982?s=80&v=4"},"commit":{"message":"uboot_env: Emulate %ms in sscanf()\n\nSigned-off-by: Christian Storm ","shortMessageHtmlLink":"uboot_env: Emulate %ms in sscanf()"}},{"before":"fc9a3991fa09a9326ce140ef3f453acf816a48ea","after":"3f4d15e36ceb58085b08dd13f3f2788e9299877b","ref":"refs/heads/master","pushedAt":"2023-10-08T12:05:04.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"sbabic","name":"Stefano Babic","path":"/sbabic","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1411982?s=80&v=4"},"commit":{"message":"Prepare 0.3.5\n\nSigned-off-by: Stefano Babic ","shortMessageHtmlLink":"Prepare 0.3.5"}},{"before":"beb2dc8c33bf80953cb65246d489fbc909e8051f","after":"fc9a3991fa09a9326ce140ef3f453acf816a48ea","ref":"refs/heads/master","pushedAt":"2023-10-06T15:54:41.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"sbabic","name":"Stefano Babic","path":"/sbabic","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1411982?s=80&v=4"},"commit":{"message":"Allow specifying UBI Volumes by MTD path\n\nIn cases where the env is in an unattached UBI volume we may need\nto specify the volume name via the MTD path to attach.\n\nFor this to work correctly we should first scan for any already\nattached UBI devices to see if they correspond to the mtd partition\nnumber in our configuration, if no corresponding attached mtd devices\nare found we should attempt to ubiattach to the configured MTD path.\n\nSigned-off-by: James Hilliard ","shortMessageHtmlLink":"Allow specifying UBI Volumes by MTD path"}},{"before":"3a9e42f2d783fafaa81abd5cc22fd54e846551ff","after":"beb2dc8c33bf80953cb65246d489fbc909e8051f","ref":"refs/heads/master","pushedAt":"2023-09-20T12:24:23.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"sbabic","name":"Stefano Babic","path":"/sbabic","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1411982?s=80&v=4"},"commit":{"message":"Add libuboot_namespace_from_dt\n\nMove code from fw_printenv to library. libuboot_namespace_from_dt looks\ninto DT and reads the namespace for the bootloader, if any.\n\nSigned-off-by: Stefano Babic \nSuggested-by: Frieder Schrempf \nReviewed-by: Frieder Schrempf ","shortMessageHtmlLink":"Add libuboot_namespace_from_dt"}},{"before":"eac01b42da9d949b1a5aa4760a3e972b1e9cd515","after":null,"ref":"refs/heads/coverity_scan","pushedAt":"2023-09-02T13:38:07.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"sbabic","name":"Stefano Babic","path":"/sbabic","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1411982?s=80&v=4"}},{"before":"1105150ef16caa28ff19fe3a4a4b1670e1c6099e","after":"3a9e42f2d783fafaa81abd5cc22fd54e846551ff","ref":"refs/heads/master","pushedAt":"2023-09-02T13:37:47.000Z","pushType":"push","commitsCount":4,"pusher":{"login":"sbabic","name":"Stefano Babic","path":"/sbabic","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1411982?s=80&v=4"},"commit":{"message":"README: fix Build dtatus link\n\nSigned-off-by: Stefano Babic ","shortMessageHtmlLink":"README: fix Build dtatus link"}},{"before":"061e05f90238d4009f14c161db27ecda31b8f2ce","after":"eac01b42da9d949b1a5aa4760a3e972b1e9cd515","ref":"refs/heads/coverity_scan","pushedAt":"2023-09-02T13:37:47.000Z","pushType":"push","commitsCount":8,"pusher":{"login":"sbabic","name":"Stefano Babic","path":"/sbabic","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1411982?s=80&v=4"},"commit":{"message":"docs: fw_env_config.md: Add info about namespace selection in YAML config\n\nSigned-off-by: Frieder Schrempf ","shortMessageHtmlLink":"docs: fw_env_config.md: Add info about namespace selection in YAML co…"}},{"before":"9f17a00ee56dc5cfb1d9b51e6639d67b64cb3309","after":"1105150ef16caa28ff19fe3a4a4b1670e1c6099e","ref":"refs/heads/master","pushedAt":"2023-09-02T13:31:06.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"sbabic","name":"Stefano Babic","path":"/sbabic","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1411982?s=80&v=4"},"commit":{"message":"validate_flags: Use isdigit() instead of strtoull()\n\nUsing strtoull() is unreliable for testing if the input is a number. It\nis implementation-defined, whether or not errno is set.\n\nFurthermore, the decimal type has to be handled separately from the hex\ntype. U-Boot will reject an \"0x10\" entry as decimal, \"16\" is expected\ninstead.\n\nReviewed-by: Stefano Babic \nSigned-off-by: Philip Oberfichtner ","shortMessageHtmlLink":"validate_flags: Use isdigit() instead of strtoull()"}},{"before":"4dfb5254fc0540a36e87914bc14644c047ea7678","after":"9f17a00ee56dc5cfb1d9b51e6639d67b64cb3309","ref":"refs/heads/master","pushedAt":"2023-07-05T06:46:52.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"sbabic","name":"Stefano Babic","path":"/sbabic","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1411982?s=80&v=4"},"commit":{"message":"Revert \"fw_setenv: fix bug when SPI flash write size != sector size\"\n\nThis reverts commit 44ecc1c216007272a6f99a104a71c9d410969d9e.\n\nmtd writesize was errouneously interpreted as maximum allowed size, but\nit is the minimum size. The patch raises performance issues because on\nNOR flashes single bytes are written.\n\nSigned-off-by: Stefano Babic ","shortMessageHtmlLink":"Revert \"fw_setenv: fix bug when SPI flash write size != sector size\""}},{"before":"94d22337a0f517dc4b793a88230c741914f8fefe","after":"e2f4b6b90fe7cb29e79279b0199ea82237f9b29a","ref":"refs/heads/gh-pages","pushedAt":"2023-06-02T11:15:18.909Z","pushType":"push","commitsCount":1,"pusher":{"login":"sbabic","name":"Stefano Babic","path":"/sbabic","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1411982?s=80&v=4"},"commit":{"message":"Aligned with 0.3.4\n\nSigned-off-by: Stefano Babic ","shortMessageHtmlLink":"Aligned with 0.3.4"}},{"before":"061e05f90238d4009f14c161db27ecda31b8f2ce","after":"4dfb5254fc0540a36e87914bc14644c047ea7678","ref":"refs/heads/master","pushedAt":"2023-06-02T11:11:10.342Z","pushType":"push","commitsCount":2,"pusher":{"login":"sbabic","name":"Stefano Babic","path":"/sbabic","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1411982?s=80&v=4"},"commit":{"message":"Prepare 0.3.4\n\nSigned-off-by: Stefano Babic ","shortMessageHtmlLink":"Prepare 0.3.4"}},{"before":"5d3e33c20360f7ee0905b82732810ce0db8fdf72","after":"061e05f90238d4009f14c161db27ecda31b8f2ce","ref":"refs/heads/coverity_scan","pushedAt":"2023-06-02T11:08:07.348Z","pushType":"push","commitsCount":16,"pusher":{"login":"sbabic","name":"Stefano Babic","path":"/sbabic","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1411982?s=80&v=4"},"commit":{"message":"Add compatibility with older version\n\nMake transition to new API simpler. Older application can still call\nlibuboot_read_config() as in the past. This function requires to have a\nvalid context as input.\n\nNewer applications just call libuboot_read_config_ext(struct uboot_env\n**ctx). It gets the pointer to an array of ctx. Allocation is done by\nthe libuboot_read_config_ext(9 function.\n\nOld API:\n\n\t// Allocate ctx\n\tstruct uboot_env *ctx;\n\tlibuboot_initialize(&ctx);\n\tlibuboot_read_config(ctx, configfile);\n\nNew API:\n\tstruct uboot_env *ctx;\n\tlibuboot_read_config_ext(&ctx, configfile);\n\nSigned-off-by: Stefano Babic \nTested-by: Joris Offouga ","shortMessageHtmlLink":"Add compatibility with older version"}},{"before":"91d06f201e2213afeee7f01f466d5f1e98208e94","after":"061e05f90238d4009f14c161db27ecda31b8f2ce","ref":"refs/heads/master","pushedAt":"2023-04-12T09:25:31.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"sbabic","name":"Stefano Babic","path":"/sbabic","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1411982?s=80&v=4"},"commit":{"message":"Add compatibility with older version\n\nMake transition to new API simpler. Older application can still call\nlibuboot_read_config() as in the past. This function requires to have a\nvalid context as input.\n\nNewer applications just call libuboot_read_config_ext(struct uboot_env\n**ctx). It gets the pointer to an array of ctx. Allocation is done by\nthe libuboot_read_config_ext(9 function.\n\nOld API:\n\n\t// Allocate ctx\n\tstruct uboot_env *ctx;\n\tlibuboot_initialize(&ctx);\n\tlibuboot_read_config(ctx, configfile);\n\nNew API:\n\tstruct uboot_env *ctx;\n\tlibuboot_read_config_ext(&ctx, configfile);\n\nSigned-off-by: Stefano Babic \nTested-by: Joris Offouga ","shortMessageHtmlLink":"Add compatibility with older version"}},{"before":"ba3e1e7a980b7fd72e18405633927c6e3d299544","after":"91d06f201e2213afeee7f01f466d5f1e98208e94","ref":"refs/heads/master","pushedAt":"2023-04-04T10:15:16.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"sbabic","name":"Stefano Babic","path":"/sbabic","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1411982?s=80&v=4"},"commit":{"message":"Move declaration to be compatible with older distro\n\nCI with focal reports:\n\n/builds/swupdate/swupdate/libubootenv/src/uboot_env.c:1247:4: error:\na label can only be part of a statement and a declaration is not a statement\n 1247 | struct uboot_ctx *newctx;\n\nJust move the declaration at the beginning of the function.\n\nSigned-off-by: Stefano Babic ","shortMessageHtmlLink":"Move declaration to be compatible with older distro"}},{"before":"27d8ef1147979f4d52969c797f8d3501fe587a52","after":"ba3e1e7a980b7fd72e18405633927c6e3d299544","ref":"refs/heads/master","pushedAt":"2023-04-01T09:09:37.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"sbabic","name":"Stefano Babic","path":"/sbabic","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1411982?s=80&v=4"},"commit":{"message":"CI: set verbosity to check errors\n\nSigned-off-by: Stefano Babic ","shortMessageHtmlLink":"CI: set verbosity to check errors"}},{"before":"85faccba7a26a34961d90a74179fc7963c5497ee","after":"27d8ef1147979f4d52969c797f8d3501fe587a52","ref":"refs/heads/master","pushedAt":"2023-04-01T08:57:22.000Z","pushType":"push","commitsCount":4,"pusher":{"login":"sbabic","name":"Stefano Babic","path":"/sbabic","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1411982?s=80&v=4"},"commit":{"message":"CI: Add dependency to libyaml\n\nSigned-off-by: Stefano Babic ","shortMessageHtmlLink":"CI: Add dependency to libyaml"}},{"before":"c6784ab6fae482f7e9d6d1a959ab64f545fa1a8c","after":"85faccba7a26a34961d90a74179fc7963c5497ee","ref":"refs/heads/master","pushedAt":"2023-03-31T15:49:04.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"sbabic","name":"Stefano Babic","path":"/sbabic","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1411982?s=80&v=4"},"commit":{"message":"doc: mark yaml example as such\n\nThis improves the rendering in HTML output of doxygen and\ndisplaying via Github.\n\nSigned-off-by: Michael Heimpold ","shortMessageHtmlLink":"doc: mark yaml example as such"}},{"before":"ce04db9178fb48d590b098e99189fca67880bcb0","after":"c6784ab6fae482f7e9d6d1a959ab64f545fa1a8c","ref":"refs/heads/master","pushedAt":"2023-03-30T17:15:05.000Z","pushType":"push","commitsCount":3,"pusher":{"login":"sbabic","name":"Stefano Babic","path":"/sbabic","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1411982?s=80&v=4"},"commit":{"message":"Add new configuration file in YAML\n\nLegacy configuration file was taken by U-Boot project. Its format is\nvery simple, but unflexible and it cannot be extended. Changes in the\nformat could lead to uncompatibility with U-Boot tools, that are still\npart of U-Boot.\n\nThis introduces a new format, letting the old format as fallback if YAML\ncannot be parsed. It uses the libyaml library.\n\nMultiple sets can be configured - an environment is not bound with the\nbootloader, and can be used for other purposes, but still having the\nfeatures provided by the handling for the bootloader (redundancy,\npower-cut safe).\n\nSee documentation for the format of the yaml file. Each not recognized\nkeyword generates an error.\n\nSigned-off-by: Stefano Babic ","shortMessageHtmlLink":"Add new configuration file in YAML"}},{"before":"0d12468c830bd472c28ec8d0c206d6e41fe2579d","after":"5d3e33c20360f7ee0905b82732810ce0db8fdf72","ref":"refs/heads/coverity_scan","pushedAt":"2023-03-21T19:51:08.000Z","pushType":"push","commitsCount":19,"pusher":{"login":"sbabic","name":"Stefano Babic","path":"/sbabic","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1411982?s=80&v=4"},"commit":{"message":"CMakeLists.txt: fix some inconsistent coding style\n\nSigned-off-by: Ming Liu ","shortMessageHtmlLink":"CMakeLists.txt: fix some inconsistent coding style"}},{"before":"108100622160bb0c7ef4b6186230fe1f26402791","after":"ce04db9178fb48d590b098e99189fca67880bcb0","ref":"refs/heads/master","pushedAt":"2023-03-21T19:51:08.000Z","pushType":"push","commitsCount":3,"pusher":{"login":"sbabic","name":"Stefano Babic","path":"/sbabic","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1411982?s=80&v=4"},"commit":{"message":"Apply consistent formatting to tables and headings\n\nFor headings, apply Title Case.\nFor the tables remove abbreviations and apply consistent spacing around.\nAlso use Title Case for the heading line.\n\nSigned-off-by: Michael Heimpold ","shortMessageHtmlLink":"Apply consistent formatting to tables and headings"}}],"hasNextPage":false,"hasPreviousPage":false,"activityType":"all","actor":null,"timePeriod":"all","sort":"DESC","perPage":30,"startCursor":"Y3Vyc29yOnYyOpK7MjAyNC0wNy0wNlQxMDo1NToyNC4wMDAwMDBazwAAAAR4YIpy","endCursor":"Y3Vyc29yOnYyOpK7MjAyMy0wMy0yMVQxOTo1MTowOC4wMDAwMDBazwAAAAMIUlaG"}},"title":"Activity · sbabic/libubootenv"}