Compiling Linux - Arrow SoCKit Edition: The SD Cardimage has a wrong format

Hi,

I’ve just built a SD card image according to this description. However,
if I look at the partition list, either under Linux or under u-boot, it
seems that the custom partition storing the preloader and the u-boot is
of custom type 0x2d. I was expecting there 0xA2. I get the following output on the PC-Linux host:

$ sudo fdisk -l
Disk /dev/loop0: 568 MiB, 595591168 bytes, 1163264 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: 0xb9f05e55

Device Boot Start End Sectors Size Id Type
/dev/loop0p1 * 6144 210943 204800 100M c W95 FAT32 (LBA)
/dev/loop0p2 210944 1161215 950272 464M 83 Linux
/dev/loop0p3 2048 6143 4096 2M 2d unknown

and in u-boot, on the SoCKIT board:

|mmc rescan|
|mmc part|
|Partition Map for MMC device 0 – Partition Type: DOS|

|Part Start Sector Num Sectors UUID Type|
|||1 6144 204800 b9f05e55-01 0c Boot|
|||2 210944 950272 b9f05e55-02 83|
|||3 2048 4096 b9f05e55-03 2d|
|SOCFPGA_CYCLONE5 #|

Yocto creates this card image as
"Angstrom-arrow-sockit-console-image-glibc-ipk-v2016.12-arrow-sockit.rootfs.socfpga-sdimg".
The board does not boot from this card.

I have also tested the u-boot and the Linux kernel from this build by installing them on a SD-Card with a custom preloader. Both work, but the deafult settings of the u-boot are broken (syntax error in mmc calls).

It would be great to have a reference image of the SD card produced using this
tutorial. Before trying to fix it myself I’d like to know if someone has succeeded this way.