[Oberon] FPGA - Save / Restore OBERON.FS
Tomas Kral
thomas.kral at email.cz
Thu Apr 13 20:43:16 CEST 2017
Hi,
EDIT, at the end
EDIT(2), at the end
Reading some earlier post by Paul Read, I look for `dd' syntax to save
and restore my work on uSD card.
Providing
uSD card is formatted as 256MB FAT + 65MB OBERON.
Restore my work indexed as `1' may work like this,
$ dd if=OBERON1.FS of=/dev/sdc bs=1024 seek=262145
By how about saving the work first,
$ dd if=/dev/sdc of=OBERON1.FS bs=1024 skip=262145 count=???
What count should I use?
`System.Watch' may give a clue, but does not seem exact.
EDIT, correction
I could also use a fixed value of the whole 65MB Oberon partition, but
not sure if below is correct
$ dd if=/dev/sdc of=OBERON1.FS bs=1024 skip=262145
count=$((65*1024))
EDIT(2), correction
Reading `dd' manual, allows for suffixes,
$ dd if=/dev/sdc of=OBERON1.FS bs=1K skip=265K
count=65K
Correct?
Many thanks.
Tomas
More information about the Oberon
mailing list