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

loader common error #430

Open
dkebler opened this issue May 6, 2020 · 1 comment
Open

loader common error #430

dkebler opened this issue May 6, 2020 · 1 comment

Comments

@dkebler
Copy link

dkebler commented May 6, 2020

Trying last step of prerelease upgrade (.10 from .9)

Looks like case statement in your script loader common script needs to be updated for new board package names. Looks like the -rockchip- is no longer part of name? This of course is script for last release .9 so maybe in .10 it's fixed?

Cannot detect board from u-boot-rock64-2020.01-ayufan-2013-gdb96b24f.

case "$PACKAGE_NAME" in
    *-rockchip-rock64-*)
        SD_LOADER=/usr/lib/u-boot-rock64/rksd_loader.img
        SPI_LOADER=/usr/lib/u-boot-rock64/rksd_loader.img
        BOARD=rock64
        ;;

    *-rockchip-rockpro64-*)
        SD_LOADER=/usr/lib/u-boot-rockpro64/rksd_loader.img
        SPI_LOADER=/usr/lib/u-boot-rockpro64/rkspi_loader.img
        BOARD=rockpro64
        ;;

    *-rockchip-pinebookpro-*)
        SD_LOADER=/usr/lib/u-boot-pinebookpro/rksd_loader.img
        SPI_LOADER=/usr/lib/u-boot-pinebookpro/rkspi_loader.img
        BOARD=pinebookpro
        ;;

    *-rockchip-rockpi4b-*)
        SD_LOADER=/usr/lib/u-boot-rockpi4b/rksd_loader.img
        SPI_LOADER=/usr/lib/u-boot-rockpi4b/rkspi_loader.img
        BOARD=rockpi4b
        ;;

    *)
        echo "Cannot detect board from $PACKAGE_NAME."
        exit 1
        ;;

Did change my copy to just *-rock64-* and ran again

@dkebler
Copy link
Author

dkebler commented May 6, 2020

oh well upgrade failed, won't begin to boot but burning new image .10.12 is fine, boots just have to redo all my installs.

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

No branches or pull requests

1 participant