Freek,

Unfortunally - no success!
Her'e my outputs:

./sd-card.sh
2+0 records in
1024+0 records out
1024 bytes (1.0 kB, 1.0 KiB) copied, 0.00331344 s, 309 kB/s

# df -h /dev/sdf1
Filesystem      Size  Used Avail Use% Mounted on
/dev/sdf1        31G   16K   31G   1% /run/media/root/A402-8523

# xzcat openSUSE-Leap42.3-ARM-JeOS-raspberrypi3.aarch64-2017.07.26-Build1.1.raw.xz | dd bs=4M of=/dev/sdf1 iflag=fullblock oflag=direct; sync
383+1 records in
383+1 records out
1607467008 bytes (1.6 GB, 1.5 GiB) copied, 136.038 s, 11.8 MB/s

# df -h /dev/sdf1
Filesystem      Size  Used Avail Use% Mounted on
/dev/sdf1        31G   16K   31G   1% /run/media/root/A402-8523

Shouldn't be a difference there before/after?

# fdisk -l /dev/sdf
Disk /dev/sdf: 30.2 GiB, 32395755520 bytes, 63272960 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x00006e4d

Device     Boot Start      End  Sectors  Size Id Type
/dev/sdf1  *     2048 63272958 63270911 30.2G  c W95 FAT32 (LBA)

Board doesn't boot. SD-card is new an working well with different filesystems, when formatted.

Regards


Am 26.07.18 um 17:25 schrieb Freek de Kruijf:
Op donderdag 26 juli 2018 17:14:38 CEST schreef Sten Bert:
Thank you for the fast reply!
Of course. - But that was the only path that was working rudimental and
promised a similar way as on x86-PC.
The section marked as(easiest)dind't work at all- rainbow screen!
Maybe there's a hint missing about the preparation of the sd-card?
You may need to clear the highest blocks on the SD card.

I use in bash:

dev=sdX
ssize=$(/usr/sbin/blockdev --getss /dev/$dev)
[ $ssize -ne 512 ] && echo "Sector size not equal 512" && exit 1
size=$(/usr/sbin/blockdev --getsz /dev/$dev)
dd if=/dev/zero of=/dev/$dev obs=1 seek=$(($size - 2)) count=2


--
To unsubscribe, e-mail: [email protected]
To contact the owner, e-mail: [email protected]

Reply via email to