Skip to content

Makefile: prefer mkimage for sunxi images#238

Merged
apritzel merged 1 commit into
linux-sunxi:masterfrom
jameshilliard:mkimage-fallback
May 19, 2026
Merged

Makefile: prefer mkimage for sunxi images#238
apritzel merged 1 commit into
linux-sunxi:masterfrom
jameshilliard:mkimage-fallback

Conversation

@jameshilliard

Copy link
Copy Markdown
Contributor

U-Boot's mkimage supports generating Allwinner eGON boot images with the sunxi_egon image type. Prefer that when available, since mkimage is maintained and commonly packaged with U-Boot tools.

Keep mksunxiboot as a fallback for setups with older mkimage versions or without mkimage installed.

U-Boot's mkimage supports generating Allwinner eGON boot images with
the sunxi_egon image type. Prefer that when available, since mkimage
is maintained and commonly packaged with U-Boot tools.

Keep mksunxiboot as a fallback for setups with older mkimage versions
or without mkimage installed.

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>

@apritzel apritzel left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, looks good, and mkimage is indeed the more reliable tool moving forward. Tested by misspelling mkimage and sunxi_egon, to test the fallback paths.

@apritzel apritzel merged commit 53f54d6 into linux-sunxi:master May 19, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants