Re: Which FreeBSD image file should be used in conjunction with idbloader.img and u-boot.itb ?

From: Mario Marietto <marietto2008_at_gmail.com>
Date: Thu, 15 May 2025 23:00:30 UTC
 Hello. Is this order the correct one ?

# dd if=FreeBSD-14.2-RELEASE-arm64-aarch64-ROCKPRO64.img | pv | dd of=/dev/sdh

# dd if=idbloader.img of=/dev/sdh seek=64 bs=512 conv=sync

# dd if=u-boot.itb of=/dev/sdh seek=16384 bs=512 conv=sync


Not sure if it will work,because today I tried like this and it didn't work
:

# dd if=FreeBSD-14.2-RELEASE-arm64-aarch64-mini-memstick.img | pv | dd
of=/dev/sdh

# dd if=idbloader.img of=/dev/sdh seek=64 bs=512 conv=sync

# dd if=u-boot.itb of=/dev/sdh seek=16384 bs=512 conv=sync


Do you say that  FreeBSD-14.2-RELEASE-arm64-aarch64-ROCKPRO64.img is the
correct image to use and FreeBSD-14.2-RELEASE-arm64-aarch64-mini-memstick.img
is not ?



On Thu, May 15, 2025 at 11:52 PM 風來散人 <furaisanjin@gmail.com> wrote:

> Hello Mario.
>
> # dd if=idbloader.img of=FreeBSD-14.2-RELEASE-arm64-aarch64-ROCKPRO64.img
>> seek=64 bs=512 conv=sync,notrunc # dd if=u-boot.itb
>> of=FreeBSD-14.2-RELEASE-arm64-aarch64-ROCKPRO64.img seek=16384 bs=512
>> conv=sync,notrunc # dd if=FreeBSD-14.2-RELEASE-arm64-aarch64-ROCKPRO64.img
>> | pv | dd of=/dev/sdh
>
>
> If you do dd in this order, I think you overwrite u-boot by
> FreeBSD-14.2-RELEASE-arm64-aarch64-ROCKPRO64.img.
>
> Best regards,
> furaisanjin
>
>

-- 
Mario.