Subject: arm-sdk: second partition in devuan_jessie_1.0.0_arm64_raspi3.img.xz is not block aligned

From: Gregory Nowak <[email-masked]>
Date: Tue, 23 May 2017 21:32:39 -0700

Package: arm-sdk
Severity: normal

Dear Maintainer,
The second partition in devuan_jessie_1.0.0_arm64_raspi3.img.xz is not aligned to physical block boundaries. Here's the output of parted's print command before alignment:

Model: Generic STORAGE DEVICE (scsi)
Disk /dev/sdb: 15.5GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags:

Number  Start   End     Size    Type     File system  Flags
 1      512B    64.0MB  64.0MB  primary  fat16        lba
  2      64.0MB  1982MB  1918MB  primary  ext4

Here's the output of parted's print command after the second partition is deleted, and created with alignment:

Model: Generic STORAGE DEVICE (scsi)
Disk /dev/sdb: 15.5GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags:

Number  Start   End     Size    Type     File system  Flags
 1      512B    64.0MB  64.0MB  primary  fat16        lba
  2      65.0MB  15.5GB  15.5GB  primary

So, once aligned, the second partition should start at 65MB, or at sector 126976.

-- System Information:

Architecture: aarch64

Kernel: Linux 4.10.0-rc5-v8+ (SMP w/4 CPU cores; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)