Please help , i invested in getting m2.nvme adapter and 1TB ssd, trying to install rockpi4b-rk-u-boot-latest but i am getting below errors .
$ sudo apt-get install -f -y rockpi4b-rk-u-boot-latest
Reading package lists… Done
Building dependency tree
Reading state information… Done
rockpi4b-rk-u-boot-latest is already the newest version (2017.09-2695-g7c49a7da79).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
2 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up rockpi4b-rk-ubootimg (2017.09-2695-g7c49a7da79) …
Consider upgrading device bootloader with ‘rockpi4b_upgrade_bootloader.sh’.
Missing board bootloader image: /usr/lib/u-boot-rockpi4b/rockpi4b-rk-uboot.img
dpkg: error processing package rockpi4b-rk-ubootimg (–configure):
installed rockpi4b-rk-ubootimg package post-installation script subprocess returned error exit status 1
dpkg: dependency problems prevent configuration of rockpi4b-rk-u-boot-latest:
rockpi4b-rk-u-boot-latest depends on rockpi4b-rk-ubootimg (= 2017.09-2695-g7c49a7da79); however:
Package rockpi4b-rk-ubootimg is not configured yet.
Version of rockpi4b-rk-ubootimg on system, provided by rockpi4b-rk-ubootimg:all, is .
dpkg: error processing package rockpi4b-rk-u-boot-latest (–configure):
dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
Errors were encountered while processing:
rockpi4b-rk-ubootimg
rockpi4b-rk-u-boot-latest
E: Sub-process /usr/bin/dpkg returned an error code (1)
was it SPI was erased as showin in the first post after 2 days yesterday night shutdown and today its not booting, Router detects its ip both eth01 and wlan connected but nothing is running. No display.
I went ahead and did a further investigation creating this simple script:
#!/bin/bash
distros="bionic focal stretch buster"
releases="stable testing"
architectures="armhf arm64"
for distro in $distros; do
for release in $releases; do
for architecture in $architectures; do
echo "looking in $architecture@$distro-$release... "
curl -s https://apt.radxa.com/$distro-stable/dists/$distro/main/binary-$architecture/Packages |\
grep "Package: rockpi4b-rk-u-boot-latest" | sed -e 's/^/\t/'
done;
done;
done;
… and that produced the following output:
looking in armhf@bionic-stable...
Package: rockpi4b-rk-u-boot-latest
looking in arm64@bionic-stable...
Package: rockpi4b-rk-u-boot-latest
looking in armhf@bionic-testing...
Package: rockpi4b-rk-u-boot-latest
looking in arm64@bionic-testing...
Package: rockpi4b-rk-u-boot-latest
looking in armhf@focal-stable...
looking in arm64@focal-stable...
looking in armhf@focal-testing...
looking in arm64@focal-testing...
looking in armhf@stretch-stable...
looking in arm64@stretch-stable...
looking in armhf@stretch-testing...
looking in arm64@stretch-testing...
looking in armhf@buster-stable...
looking in arm64@buster-stable...
looking in armhf@buster-testing...
looking in arm64@buster-testing...
… i.e. this package is only available for bionic release; One could download the package and its dependency for that release and install it manually. Those files are located in:
I went ahead and did that. However, despite being the latest release on developer’s git, its over 1400 commits behind and it would be nice to have an updated version distributed to all repos, to facilitate the customers’ life.