Balena not booting on Intel Edison

I just flashed balena-cloud-xxxxxx-intel-edison-2.15.1+rev1-v7.16.6 to my intel Edison.
It doesn’t boot. From console this is all I can read:
Error reading from serial device
** Bad device :7 0x100000 **
Error: Invalid Boot Flag (found 0xffef, expected 0xaa55)

Kernel loading failed …

zboot - Boot bzImage

Usage:
zboot [addr] [size] [initrd addr] [initrd size]
addr - The optional starting address of the bzimage.
If not set it defaults to the environment
variable “fileaddr”.
size - The optional size of the bzimage. Defaults to
zero.
initrd addr - The address of the initrd image to use, if any.
initrd size - The size of the initrd image to use, if any.

Unknown boot mode: boot
Saving Environment to MMC…
Writing to MMC(0)… done
Resetting to default boot mode and reboot…
resetting …


PSH KERNEL VERSION: b0182929
WR: 20104000


SCU IPC: 0x800000d0 0xfffce92c

PSH miaHOB version: TNG.B0.VVBD.0000000c

microkernel built 10:14:01 Jan 13 2015

******* PSH loader *******
PCM page cache size = 192 KB
Cache Constraint = 0 Pages
Arming IPC driver …
Adding page store pool …
PagestoreAddr(IMR Start Address) = 0x04899000
pageStoreSize(IMR Size) = 0x00080000

*** Ready to receive application ***

U-Boot 2015.10 (Jul 25 2018 - 15:38:47 +0000)

CPU: x86_64, vendor Intel, device 406a8h
Watchdog enabled
DRAM: 980.6 MiB
MMC: tangier_sdhci: 0, tangier_sdhci: 1
Using default environment

In: serial
Out: serial
Err: serial
Net: Net Initialization Skipped
No ethernet found.
Hit any key to stop autoboot: 0
Target:blank
Partitioning already done…
Flashing already done…
Probing DFU…
Saving Environment to MMC…
Writing to redundant MMC(0)… done
** Bad device :7 0x100000 **
Error: Invalid Boot Flag (found 0xffef, expected 0xaa55)

Kernel loading failed …

zboot - Boot bzImage

Usage:
zboot [addr] [size] [initrd addr] [initrd size]
addr - The optional starting address of the bzimage.
If not set it defaults to the environment
variable “fileaddr”.
size - The optional size of the bzimage. Defaults to
zero.
initrd addr - The address of the initrd image to use, if any.
initrd size - The size of the initrd image to use, if any.

Unknown boot mode: boot
Saving Environment to MMC…
Writing to MMC(0)… done
Resetting to default boot mode and reboot…
resetting …


PSH KERNEL VERSION: b0182929
WR: 20104000


SCU IPC: 0x800000d0 0xfffce92c

PSH miaHOB version: TNG.B0.VVBD.0000000c

microkernel built 10:14:01 Jan 13 2015

******* PSH loader *******
PCM page cache size = 192 KB
Cache Constraint = 0 Pages
Arming IPC driver …
Adding page store pool …
PagestoreAddr(IMR Start Address) = 0x04899000
pageStoreSize(IMR Size) = 0x00080000

*** Ready to receive application ***

U-Boot 2015.10 (Jul 25 2018 - 15:38:47 +0000)


Solved flashing with Intel’s Flash Tool.
The script has a bug