Hi,

Am Montag, Februar 03, 2020 00:33 CET, schrieb Klaus Küchemann 
<macipho...@googlemail.com>:

>
> > Am 02.02.2020 um 23:01 schrieb Sebastian Reitenbach 
> > <sebas...@l00-bugdead-prods.de>:
> >
> >
> > dd if=miniroot66.fs of=/dev/rsd2c
> > mount /dev/sd2i /mnt
> > mkdir /mnt/rockchip
> > cp /usr/local/share/dtb/arm64/rockchip/rk3328-rock64.dtb /mnt/rockchip
> > umount /mnt
> > dd if=/usr/local/share/u-boot/rock64-rk3328/idbloader.img of=/dev/sd2c 
> > seek=64
> > dd if=/usr/local/share/u-boot/rock64-rk3328/u-boot.itb of=/dev/sd2c 
> > seek=16384
> >
>
> should be   :
>
> dd if=miniroot66.fs of=/dev/rsd2c bs=1m
> dd if=/usr/local/share/u-boot/rock64-rk3328/idbloader.img of=/dev/sd2c bs=512 
> seek=64 conv=sync
> dd if=/usr/local/share/u-boot/rock64-rk3328/u-boot.itb of=/dev/sd2c bs=512 
> seek=16384 conv=sync
>

The major difference I see is leaving out copying the rk3328-rock64.dtb onto 
the disk? The bs=1m
in the first dd line, fails for me after a while on my desktop, so I can't use 
it, and have to use the default block size.
the other two dd lines have bs=512 but that's the default, so could be omitted, 
and I ran sync just
at the very end.
So I think my prepared SD card should be fine, at least it boots on the other 
Rock64 I have, as well
as the SD card with installed OpenBSD from the other Rock64 has the same issue 
on this non-booting
device.

>
> > the device itself boots the u-boot-erase-spi-rock64.img from 
> > ayufan-rock64/linux-u-boot
> >
>
> Normally u-boot-erase-spi-rock64.img from ayufan is used to erase(delete) the 
> onboard-SPI-flash ,
> not to boot from. If you had erased the SPI you can only boot from SD-card`s 
> u-boot.
> If you didn’t  finish the erase ( so that the SPI is further loaded with 
> ayufan`s u-boot)
> you should short GPIO- pins 20+21 to be able to boot from the SD-card`s 
> u-boot.
>
I had this erase around, since I struggled a bit with getting the other Rock64 
to run a couple
of days earlier (that at that time, was my first ARC SoC). The erase did finish 
properly,
and afterwards it boots the NetBSD image, as well as the other SD card from the 
other Rock64
without issues.

cheers,
Sebastian

>
> Regards
>
> Klaus
>

Reply via email to