{"payload":{"feedbackUrl":"https://github.com/orgs/community/discussions/53140","repo":{"id":54748072,"defaultBranch":"master","name":"sortbootorder","ownerLogin":"pcengines","currentUserCanPush":false,"isFork":false,"isEmpty":false,"createdAt":"2016-03-25T21:18:24.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/18077083?v=4","public":true,"private":false,"isOrgOwned":true},"refInfo":{"name":"","listCacheKey":"v0:1719487795.0","currentOid":""},"activityList":{"items":[{"before":"a7c8b665d43ddea5754185a0aed2f6d17d5b458e","after":null,"ref":"refs/heads/new-cbfs-api-support","pushedAt":"2024-06-27T11:29:55.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"pietrushnic","name":"Piotr Król","path":"/pietrushnic","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1071894?s=80&v=4"}},{"before":"1d3b4698646ac29a7b77588b116fbf4b6d0a13bd","after":"e7e11531807908b94cbed38734b85e20c1bb7ce7","ref":"refs/heads/master","pushedAt":"2024-06-27T11:29:52.000Z","pushType":"pr_merge","commitsCount":2,"pusher":{"login":"pietrushnic","name":"Piotr Król","path":"/pietrushnic","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1071894?s=80&v=4"},"commit":{"message":"Merge pull request #83 from pcengines/new-cbfs-api-support\n\nWIP: Support for the new CBFS API","shortMessageHtmlLink":"Merge pull request #83 from pcengines/new-cbfs-api-support"}},{"before":"1e4848a40637e0d378c1680f590873b94433c630","after":"a7c8b665d43ddea5754185a0aed2f6d17d5b458e","ref":"refs/heads/new-cbfs-api-support","pushedAt":"2024-06-14T23:57:18.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"pietrushnic","name":"Piotr Król","path":"/pietrushnic","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1071894?s=80&v=4"},"commit":{"message":"Support for the new CBFS API\n\nThe following changes are necessary due to the removal of the legacy\nCBFS API from coreboot in February 2024.\n\nThe bootorder fetching logic has been refactored in this commit to\nenhance code readability and maintainability. The changes include:\n\n- Replacing `cbfs_get_handle` and `cbfs_get_file_content` with\n `cbfs_map` for mapping the bootorder file.\n- Removing redundant code and simplifying the logic for fetching the\n bootorder from CBFS.\n- Adding `cbfs_unmap` calls to ensure proper unmapping of the bootorder\n data.\n- Consolidating error checks and aligning the bootorder file handling\n with the new mapping approach.\n\nThese changes streamline the bootorder fetching process and ensure\nbetter resource management.\n\nSigned-off-by: Piotr Król ","shortMessageHtmlLink":"Support for the new CBFS API"}},{"before":"3743c10c05261db5f75f7f7247f130043a39db33","after":"1e4848a40637e0d378c1680f590873b94433c630","ref":"refs/heads/new-cbfs-api-support","pushedAt":"2024-06-07T11:03:16.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"pietrushnic","name":"Piotr Król","path":"/pietrushnic","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1071894?s=80&v=4"},"commit":{"message":"cleanup afrter fixing overflow bugs\n\nSigned-off-by: Piotr Król ","shortMessageHtmlLink":"cleanup afrter fixing overflow bugs"}},{"before":"3ce645dbcfe09479b62b9715d6704f612b57b6aa","after":"3743c10c05261db5f75f7f7247f130043a39db33","ref":"refs/heads/new-cbfs-api-support","pushedAt":"2024-06-07T10:34:31.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"miczyg1","name":"Michał Żygowski","path":"/miczyg1","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/30656491?s=80&v=4"},"commit":{"message":"sortbootorder.c: Print only printable characters\n\nSigned-off-by: Michał Żygowski ","shortMessageHtmlLink":"sortbootorder.c: Print only printable characters"}},{"before":"1675fa2d00d67ad47875de7db96e87c95ed3f944","after":"3ce645dbcfe09479b62b9715d6704f612b57b6aa","ref":"refs/heads/new-cbfs-api-support","pushedAt":"2024-06-07T10:24:24.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"pietrushnic","name":"Piotr Król","path":"/pietrushnic","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1071894?s=80&v=4"},"commit":{"message":"hexdump results\n\nSigned-off-by: Piotr Król ","shortMessageHtmlLink":"hexdump results"}},{"before":"1c7df172f0abd1dd7a2eba7aed49319f60d94a7f","after":"1675fa2d00d67ad47875de7db96e87c95ed3f944","ref":"refs/heads/new-cbfs-api-support","pushedAt":"2024-06-06T23:58:34.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"pietrushnic","name":"Piotr Król","path":"/pietrushnic","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1071894?s=80&v=4"},"commit":{"message":"experiments to read bootorder\n\nSigned-off-by: Piotr Król ","shortMessageHtmlLink":"experiments to read bootorder"}},{"before":"61054a698eb67869745b2a13bcb99a728c3ce530","after":"1c7df172f0abd1dd7a2eba7aed49319f60d94a7f","ref":"refs/heads/new-cbfs-api-support","pushedAt":"2024-06-06T22:00:14.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"pietrushnic","name":"Piotr Król","path":"/pietrushnic","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1071894?s=80&v=4"},"commit":{"message":"more debug logs\n\nSigned-off-by: Piotr Król ","shortMessageHtmlLink":"more debug logs"}},{"before":"441f49700639c3b8d59206f73a7e7931492726bb","after":"61054a698eb67869745b2a13bcb99a728c3ce530","ref":"refs/heads/new-cbfs-api-support","pushedAt":"2024-06-06T21:24:51.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"pietrushnic","name":"Piotr Król","path":"/pietrushnic","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1071894?s=80&v=4"},"commit":{"message":"add debug logs\n\nSigned-off-by: Piotr Król ","shortMessageHtmlLink":"add debug logs"}},{"before":"b26b431d5ae5c8763f98ca4e018ae7d57fa43463","after":"441f49700639c3b8d59206f73a7e7931492726bb","ref":"refs/heads/new-cbfs-api-support","pushedAt":"2024-06-06T15:37:45.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"pietrushnic","name":"Piotr Król","path":"/pietrushnic","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1071894?s=80&v=4"},"commit":{"message":"Refactor bootorder fetching logic and improve error handling\n\nRefactor the bootorder fetching logic to improve readability and\nmaintainability. The changes include:\n\n- Reorganize and update the include directives for better clarity.\n- Replace dynamic memory allocation with a static structure for\n bootorder region.\n- Add detailed debug print statements to trace the process of locating,\n reading, and processing the bootorder region.\n- Improve error handling and validation checks for bootorder data.\n- Ensure consistent formatting and adherence to coding standards.\n\nThese changes enhance the robustness of the bootorder fetching mechanism\nand provide better insights during debugging.\n\nSigned-off-by: Piotr Król ","shortMessageHtmlLink":"Refactor bootorder fetching logic and improve error handling"}},{"before":"203e3a2a8bcc26797802d579632f8b6da848398c","after":"b26b431d5ae5c8763f98ca4e018ae7d57fa43463","ref":"refs/heads/new-cbfs-api-support","pushedAt":"2024-06-06T13:14:50.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"pietrushnic","name":"Piotr Król","path":"/pietrushnic","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1071894?s=80&v=4"},"commit":{"message":"Use fmap functions for reading BOOTORDER\n\nThis patch updates the fetch_bootorder function to use fmap functions\nfor locating and reading the BOOTORDER area. The changes include:\n\n- Replacing cbfs_map with fmap_locate_area to locate the BOOTORDER\n region.\n- Allocating memory for bootorder_data and reading the BOOTORDER area\n using fmap_read_area.\n- Adding error handling for fmap_locate_area and fmap_read_area.\n- Replacing cbfs_unmap with free to deallocate bootorder_data.\n\nThese changes improve the robustness of the fetch_bootorder function by\nensuring proper memory management and error handling.\n\nSigned-off-by: Piotr Król ","shortMessageHtmlLink":"Use fmap functions for reading BOOTORDER"}},{"before":null,"after":"203e3a2a8bcc26797802d579632f8b6da848398c","ref":"refs/heads/new-cbfs-api-support","pushedAt":"2024-06-06T10:17:09.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"pietrushnic","name":"Piotr Król","path":"/pietrushnic","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1071894?s=80&v=4"},"commit":{"message":"Support for the new CBFS API\n\nThe following changes are necessary due to the removal of the legacy\nCBFS API from coreboot in February 2024.\n\nThe bootorder fetching logic has been refactored in this commit to\nenhance code readability and maintainability. The changes include:\n\n- Replacing `cbfs_get_handle` and `cbfs_get_file_content` with\n `cbfs_map` for mapping the bootorder file.\n- Removing redundant code and simplifying the logic for fetching the\n bootorder from CBFS.\n- Adding `cbfs_unmap` calls to ensure proper unmapping of the bootorder\n data.\n- Consolidating error checks and aligning the bootorder file handling\n with the new mapping approach.\n\nThese changes streamline the bootorder fetching process and ensure\nbetter resource management.\n\nSigned-off-by: Piotr Król ","shortMessageHtmlLink":"Support for the new CBFS API"}}],"hasNextPage":false,"hasPreviousPage":false,"activityType":"all","actor":null,"timePeriod":"all","sort":"DESC","perPage":30,"startCursor":"Y3Vyc29yOnYyOpK7MjAyNC0wNi0yN1QxMToyOTo1NS4wMDAwMDBazwAAAARwv219","endCursor":"Y3Vyc29yOnYyOpK7MjAyNC0wNi0wNlQxMDoxNzowOS4wMDAwMDBazwAAAAReCyBf"}},"title":"Activity · pcengines/sortbootorder"}