Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

u-boot: only append suffix when creating multiple u-boot variants #3021

Merged
merged 1 commit into from
Oct 6, 2018

Conversation

chewitt
Copy link
Member

@chewitt chewitt commented Oct 6, 2018

This change simplifies SBC image filenames by only appending the board-type suffix when the image file is one of multiple u-boot variants, e.g. LibreELEC-RK3399.arm-8.90.006-rockpro64.img.gz will remain the same. If the device has its own u-boot variant and entry in scripts/uboot-helper the name is shortened, e.g. LibreELEC-TinkerBoard.arm-8.90.006-rk3288.img.gz becomes shortened to LibreELEC-TinkerBoard.arm-8.90.006.img.gz. To work the scripts/uboot-helper entries just need to match the buildsystem $DEVICE name.

Copy link
Member

@Kwiboo Kwiboo left a comment

Choose a reason for hiding this comment

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

Looks good, but may not be useful for Rockchip without more changes as UBOOT_SYSTEM must match SoC name for bootloader install script to select correct blobs.
Best approach for fixing the strange TinkerBoard and MiQi image names will be to merge the TinkerBoard/MiQi devices into a common RK3288 soc device.

https://github.com/LibreELEC/LibreELEC.tv/blob/master/projects/Rockchip/bootloader/install#L5

@CvH CvH merged commit c84efd6 into LibreELEC:master Oct 6, 2018
@chewitt chewitt deleted the uboot-suffix branch January 17, 2019 12:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants