[Oberon] FPGA - Save / Restore OBERON.FS

Tomas Kral thomas.kral at email.cz
Fri Apr 14 08:00:26 CEST 2017


Hi Christopher,

Thank you, I have in the end resorted to: 
$ dd if=/dev/sdc of=OBERON1.FS bs=1K skip=265K
count=65K

`System.Watch' reports 921 sectors used, so I tempted to try
$ dd if=/dev/sdc of=OBERON1.FS bs=1K skip=265K
count=921, instead.

Which goes very fast on RPI here.

Tomas

On Thu, 13 Apr 2017 20:43:16 +0200
Tomas Kral <thomas.kral at email.cz> wrote:

> 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
> --
> Oberon at lists.inf.ethz.ch mailing list for ETH Oberon and related
> systems https://lists.inf.ethz.ch/mailman/listinfo/oberon



More information about the Oberon mailing list