{"payload":{"feedbackUrl":"https://github.com/orgs/community/discussions/53140","repo":{"id":727674774,"defaultBranch":"master","name":"u-boot","ownerLogin":"rgantois","currentUserCanPush":false,"isFork":true,"isEmpty":false,"createdAt":"2023-12-05T10:49:19.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/47940290?v=4","public":true,"private":false,"isOrgOwned":false},"refInfo":{"name":"","listCacheKey":"v0:1701773427.0","currentOid":""},"activityList":{"items":[{"before":"b24ada52ea3232d13b882c8a9e56e6829c4251e6","after":"d64e0b4780c2bf3d48828d678b62d3f313a62c8a","ref":"refs/heads/microchip-ung","pushedAt":"2023-12-05T14:00:57.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"rgantois","name":"Romain Gantois","path":"/rgantois","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/47940290?s=80&v=4"},"commit":{"message":"mtd: mtdpart: Introduce GPT parser for MTD NOR flash devices\n\nMTD devices can be partitioned using a fixed partitioning scheme defined in\nthe relevant device tree node. Dynamic partitioning is also possible, using\nMTD parsers. They are capable of parsing partition tables on the device at\nboot time.\n\nAdd support for GPT parsing at the MTD layer. The parser logic makes use of\na common set of GPT helpers and typedefs exposed by the part_efi.h header.\n\nThe main issue with GPT partitioning are the userspace tools which are\nalready capable of writing a partition table. Not using them would require\nre-inventing the wheel, but on the other side they are block-oriented tools\nwith absolutely no knowledge of the specificities of MTD flashes. Tools\nsuch as parted or fdisk act upon block devices and not mtd devices, so we\nneed a block abstraction for writing the table. Thus, the only possible\nsolution so far is the use of mtdblock in-between, which raises two main\nconcerns: the lack of bad-block handling and wear-leveling. In order to\navoid risky situations, the parser will only parse NORs.\n\nTODO: Justify use case when we get feedback from µchip\n\nExample usage:\n\nOn a linux system:\n> echo \"\ndevice: /dev/mtdblock0\nunit: sectors\nfirst-lba: 40\nlast-lba: 32734\nsector-size: 512\n\nstart=40, size=8\nstart=48, size=80\nstart=128, size=32600\n\" | sfdisk /dev/mtdblock0\n\nResult in U-Boot:\n> mtd list\n!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\n!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\n!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\n!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\n!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\n!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\n!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\n!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\n!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\n!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\n!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\n!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\n!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\n!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\n!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\n!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\n\nSigned-off-by: Romain Gantois ","shortMessageHtmlLink":"mtd: mtdpart: Introduce GPT parser for MTD NOR flash devices"}},{"before":"98c0e1379470152eee4caa7aecbc2726966d789a","after":"b24ada52ea3232d13b882c8a9e56e6829c4251e6","ref":"refs/heads/microchip-ung","pushedAt":"2023-12-05T12:34:44.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"rgantois","name":"Romain Gantois","path":"/rgantois","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/47940290?s=80&v=4"},"commit":{"message":"move fixed-partitions stuff out of add_mtd_partitions_of\n\nSigned-off-by: Romain Gantois ","shortMessageHtmlLink":"move fixed-partitions stuff out of add_mtd_partitions_of"}},{"before":null,"after":"98c0e1379470152eee4caa7aecbc2726966d789a","ref":"refs/heads/microchip-ung","pushedAt":"2023-12-05T10:50:27.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"rgantois","name":"Romain Gantois","path":"/rgantois","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/47940290?s=80&v=4"},"commit":{"message":"temp\n\nSigned-off-by: Romain Gantois ","shortMessageHtmlLink":"temp"}}],"hasNextPage":false,"hasPreviousPage":false,"activityType":"all","actor":null,"timePeriod":"all","sort":"DESC","perPage":30,"startCursor":"Y3Vyc29yOnYyOpK7MjAyMy0xMi0wNVQxNDowMDo1Ny4wMDAwMDBazwAAAAPBomgd","endCursor":"Y3Vyc29yOnYyOpK7MjAyMy0xMi0wNVQxMDo1MDoyNy4wMDAwMDBazwAAAAPBdQ5a"}},"title":"Activity · rgantois/u-boot"}