I have built u-boot for several platforms and when I flashed u-boot to the disk it never acted up.
But on RockPro64 I have a problem building my own image. The default FreeBSD 13.1 image works fine.
U-boot README package instructions:
It seems the disk get corrupted when I write this to an existing microsd disk with an existing disk scheme.
If I write u-boot first then create scheme and partition the disk needs fscking.
This may be a result of me using a tiny 256MB microsd card? I figured u-boot and EFI would be fine.
I don't understand the flashing regime.
So 'seek=' is where to begin writing on the disk with dd? That is in bytes?
What is the bs=512 doing here? Setting the sector size?
When should I be flashing u-boot? Before creating my disk scheme or after?
On my i-MX6 u-boot I never had a problem but the flasher looks different.
Why are they using oseek instead?
But on RockPro64 I have a problem building my own image. The default FreeBSD 13.1 image works fine.
U-boot README package instructions:
Code:
To install this bootloader on an sdcard just do:
dd if=/usr/local/share/u-boot/u-boot-rockpro64/idbloader.img of=/path/to/sdcarddevice seek=64 bs=512 conv=sync
dd if=/usr/local/share/u-boot/u-boot-rockpro64/u-boot.itb of=/path/to/sdcarddevice seek=16384 bs=512 conv=sync
It seems the disk get corrupted when I write this to an existing microsd disk with an existing disk scheme.
If I write u-boot first then create scheme and partition the disk needs fscking.
Code:
CYLINDER GROUP 95: INTEGRITY CHECK FAILED
UNEXPECTED SOFT UPDATE INCONSISTENCY
REBUILD CYLINDER GROUP? yes
CYLINDER GROUP 96: INTEGRITY CHECK FAILED
UNEXPECTED SOFT UPDATE INCONSISTENCY
REBUILD CYLINDER GROUP? yes
CYLINDER GROUP 97: INTEGRITY CHECK FAILED
UNEXPECTED SOFT UPDATE INCONSISTENCY
REBUILD CYLINDER GROUP? yes
^C
root@rockpro64:~ #
***** FILE SYSTEM MARKED DIRTY *****
This may be a result of me using a tiny 256MB microsd card? I figured u-boot and EFI would be fine.
I don't understand the flashing regime.
So 'seek=' is where to begin writing on the disk with dd? That is in bytes?
What is the bs=512 doing here? Setting the sector size?
When should I be flashing u-boot? Before creating my disk scheme or after?
On my i-MX6 u-boot I never had a problem but the flasher looks different.
Code:
dd if=u-boot.imx of=/dev/whatever bs=1k oseek=1 conv=sync