./rock64_write_spi_flash.sh fails
#4
(08-05-2018, 12:32 AM)tllim Wrote:
(08-04-2018, 07:04 PM)yanagawa3 Wrote: Hi
I am newbie for rockpro64.

I have installed bionic-lxde-rockpro64-0.7.9-1067-arm64 into MicroSD.
It's working fine.

Then I want to have dual boot environment.

When I execute /usr/local/sbin/rock64_write_spi_flash.sh, not successful.

"line22: exit: Unknown package installed.: numeric argument required"

Am I something missing ?
Any help appreciated.

Rockpro64 V2.1

I thinks the rock64_write_spi_flash.sh only works on ROCK64 board, ayufan may not yet create one for ROCKPro64.

Thank you tllim and paradise.

spi_flash script looks like support both rock64 and rockpro64 boards.
I try to install u-boot-rockchip-rock64-xxxxxx.deb downloaded from ayufan repo.
However not successful.

------------------------------------------------------------------
if dpkg -s "u-boot-rockchip-rockpro64" &>/dev/null; then
    BOARD=rockpro64
    LOADER_NAME=rkspi_loader
elif dpkg -s "u-boot-rockchip-rock64" &>/dev/null; then
    BOARD=rock64
    LOADER_NAME=rksd_loader
else
    exit "Unknown package installed."
    exit 1
fi
------------------------------------------------------------


Messages In This Thread
./rock64_write_spi_flash.sh fails - by yanagawa3 - 08-04-2018, 07:04 PM
RE: ./rock64_write_spi_flash.sh fails - by tllim - 08-05-2018, 12:32 AM
RE: ./rock64_write_spi_flash.sh fails - by yanagawa3 - 08-05-2018, 02:10 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)