05-05-2021, 02:29 PM
Sorry, for my late response.
Of course. Simple build U-Boot and copy the two files (idbloader.img and u-boot.itb) to SD/MMC card where OpenBSD is installed:
(05-02-2021, 01:19 PM)Enig123 Wrote: BTW, for an already installed disk, is there a way to update u-boot without affecting a working os?
Of course. Simple build U-Boot and copy the two files (idbloader.img and u-boot.itb) to SD/MMC card where OpenBSD is installed:
Code:
dd if=/path/to/idbloader.img of=/dev/sd0c bs=512 seek=64 conv=sync
Code:
dd if=/path/to/u-boot.itb of=/dev/sd0c bs=512 seek=16384 conv=sync
Code:
/* Beware of bugs in the above code; I have only proved it correct, not tried it */