Error flashing custom built ubuntu image on vim2


I am trying to flash an image built on Ubuntu 18.04 LTS with Kernel 5.2.0-rc6 using the fenix build tool. The build completed with no errors, but I am getting the “Creating Partitions [KO]” when trying to flash the image.

Please advice what went wrong.

You build the mianline kernel, which is only support SD card bootup, you can’t use USB Burning to burn it to the eMMC. You can dd it to the SD card, and boot from it.


I burned the SD-USB image from mainline 5.2.0-rc6 kernel to micro SD, and then tried booting. But the box boots to android instead of the micro sd card. I get the following errors in u-boot :

rsvmem check failed
Bad Linux ARM64 magic!
** Bad device usb 0 **
** Bad device usb 1 **
** Bad device usb 2 **
** Bad device usb 3 **
** Unrecognized filesystem type **
ee_gate_off ...
## Booting Android Image at 0x01080000 ...

Show the contents of the FAT partition on the SD card after writing the image.

It looks like you used your own kernel sources that do not have a patch to directly run the kernel (without using the mkimage utility).

@balbes150 For this Boot partition, I used Build Armbian from your github repo.

Can you tell me where can I get the patches?

@balbes150 I used s912-dev to compile, should I switch to s905-next for it to boot?

patches It’s the same thing.