[u-boot - feature suggestion] enable GPT support
- kernel target: mvebu
- u-boot target: clearfrog
- OpenWrt / TOS: trunk
Whilst u-boot
source provides GPT support (probably since around 2012) it seems to be lacking downstream however, as indicated by:
- OpenWrt forum comment from developer
- attempt to boot from GPT device producing (which would be logical if u-boot does not understand the partition layout in the first place)
** Unrecognized filesystem type **
- according to source doc there would be a cli gpt command in u-boot, which however when executed producing:
Unknown command 'gpt'
As a consequence booting from a GPT device (other than the build-in eMMC), as per Turris KB article does not work.
MBR appears nowadays often being referred to as legacy partition table, also being less secure and less capable in comparison to GPT and thus this feature suggestion.
If I had coding abilities I would have certainly produced a PR instead of opening this task. Just got as far as discovering the build conf for u-boot but then getting lost, also when trying to compare to source code.
Since u-boot
is maintained upstream a feature request has been submitted but it remains to be seen how it will be received. Considering pervious experience with upstream this issue been opened here in case the TOS dev might be interested to implement it and finds the capacity for doing so.