Problem Flashing ubuntu mate (Vim_Ubuntu-mate-16.04_V170220)

i have some trouble flashing the Vim_Ubuntu-mate-16.04_V170220

Can not find partition name “boot”

Debug LOG:

Caution! Your devices Erase group is 0x400
The erase range would be change to 0x36000~0xe8ffff
start = 221184,end = 15269886
start erase dtb…
start = 81920,end = 82943
dev # 1, , several blocks erased OK
[store]To run cmd[emmc dtb_write 0x0000000001000000 0x40000]
write emmc dtb
Partition table get from SPL is :
name offset size flag

0: bootloader 0 400000 0
1: reserved 2400000 4000000 0
2: cache 6c00000 0 0
3: env 7400000 800000 0
4: logo 8400000 2000000 1
5: ramdisk ac00000 2000000 1
6: rootfs d400000 1c4c00000 4
mmc read lba=0x12000, blocks=0x2
mmc read lba=0x12002, blocks=0x2
mmc_read_partition_tbl: mmc read partition OK!
partition table success
[burn_parts]
burn_num = 3
burn_part0 = logo
burn_part1 = ramdisk
burn_part2 = rootfs
[MSG]=====>To burn part [logo]
[MSG]itemSizeNotAligned 0x1bc0
[MSG]flash LOGIC partCap 0x2000000B
[MSG]Down(store) part(logo) sz(0x11b5b0) fmt(normal)
[MSG]totalSlotNum = 0, nextWriteBackSlot 18
[MSG]itemSizeNotAligned 0x1bc0
[fat]0x:leftSz 19f0 < BPS 2000, gotSz 99f0
[MSG]Burn Start…
[MSG]Burn complete
[MSG]Verify Start…
[MSG]To verify part logo in fmt normal
[MSG]Verify End
[MSG]VERIFY OK
[MSG]=====>To burn part [ramdisk]
[fat]Seek 0x3c6bb0 from 0x3bda20
[MSG]itemSizeNotAligned 0x1450
[MSG]flash LOGIC partCap 0x2000000B
[MSG]Down(store) part(ramdisk) sz(0x1737800) fmt(normal)
[MSG]totalSlotNum = 0, nextWriteBackSlot 372
[MSG]itemSizeNotAligned 0x1450
[fat]0x:leftSz 3b0 < BPS 2000, gotSz 63b0
[MSG]Burn Start…
[MSG]Burn complete
[MSG]Verify Start…
[MSG]To verify part ramdisk in fmt normal
[MSG]Verify End
[MSG]VERIFY OK
[MSG]=====>To burn part [rootfs]
[MSG]itemSizeNotAligned 0x1c20
[MSG]flash LOGIC partCap 0x1c4c00000B
[MSG]Down(store) part(rootfs) sz(0xc0000000) fmt(normal)
[MSG]totalSlotNum = 0, nextWriteBackSlot 1024
[MSG]itemSizeNotAligned 0x1c20
[MSG]Burn Start…
[fat]0x:leftSz 3e0 < BPS 2000, gotSz e3e0
[MSG]Burn complete
Downloading %100
[MSG]Verify Start…
[MSG]To verify part rootfs in fmt normal
[MSG]Verify End
[MSG]VERIFY OK
[MSG]=====>To burn part [bootloader]
[MSG]itemSizeNotAligned 0x1bf0
[MSG]Down(store) part(bootloader) sz(0xe0000) fmt(normal)
[MSG]totalSlotNum = 0, nextWriteBackSlot 14
[MSG]itemSizeNotAligned 0x1bf0
[fat]0x:leftSz 410 < BPS 2000, gotSz e410
[MSG]Burn Start…
mmc switch to boot0 success
mmc switch to boot1 success
mmc switch to user success
[MSG]align bootloader sz from 0xe0000 to 0x100000
[MSG]Burn complete
mmc switch to boot0 success
mmc switch to boot1 success
mmc switch to user success
[MSG]VERIFY OK

save_setting

[MSG]Set upgrade_step to 2
Saving Environment to aml-storage…
mmc env offset: 0x7400000
Writing to MMC(1)… done
[MSG]to close image
[MSG]Reload bmps env.
[MSG]======sdc burn SUCCESS.
[MSG]stop here as poweroff and powerkey not supported in platform!
[MSG]You can to reboot
GXL:BL1:9ac50e:a1974b;FEAT:ADFC318C;POC:3;RCY:0;EMMC:0;READ:0;0.0;CHK:0;
TE: 130770
BL2 Built : 13:48:56, Sep 23 2016.
gxl g7459bd4 - jianxin.pan@droid06
set vcck to 1120 mv
set vddee to 1000 mv
Board ID = 7
CPU clk: 1200MHz
DQS-corr enabled
DDR scramble enabled
DDR3 chl: Rank0+1 @ 768MHz - PASS
Rank0: 1024MB(auto)-2T-11
Rank1: 1024MB(auto)-2T-11
DataBus test pass!
AddrBus test pass!
-s
Load fip header from eMMC, src: 0x0000c200, des: 0x01400000, size: 0x00004000
New fip structure!
Load bl30 from eMMC, src: 0x00010200, des: 0x01100000, size: 0x0000d600
Load bl31 from eMMC, src: 0x00020200, des: 0x10100000, size: 0x00015400
Load bl33 from eMMC, src: 0x00038200, des: 0x01000000, size: 0x000a5c00
NOTICE: BL3-1: v1.0(debug):fb68908
NOTICE: BL3-1: Built : 18:30:11, Nov 1 2016
aml log : bl31 normal boot !
[Image: gxl_v1.1.3154-065f772 2016-09-29 14:08:54 yan.wang@droid05]
OPS=0x82
fa 24 65 83 9f 54 a9 a5 79 7b e6 97 [0.370937 Inits done]
secure task start!
high task start!
low task start!
INFO: BL3-1: Initializing runtime services
WARNING: No OPTEE provided by BL2 boot loader
ERROR: Error initializing runtime service opteed_fast
INFO: BL3-1: Preparing for EL3 exit to normal world
INFO: BL3-1: Next image address = 0x1000000
INFO: BL3-1: Next image spsr = 0x3c9
U-Boot 2015.01-g0f90c8e-dirty (Feb 20 2017 - 09:24:14)
DRAM: 2 GiB
Relocation Offset is: 76ecf000
register usb cfg[0][1] = 0000000077f61928
vpu: error: vpu: check dts: FDT_ERR_BADMAGIC, load default parameters
vpu: clk_level = 7
vpu: set clk: 666667000Hz, readback: 666660000Hz(0x300)
vpp: vpp_init
boot_device_flag : 1
Nand PHY Ver:1.01.001.0006 © 2013 Amlogic Inc.
init bus_cycle=6, bus_timing=7, system=5.0ns
reset failed
get_chip_type and ret:fffffffe
get_chip_type and ret:fffffffe
chip detect failed and ret:fffffffe
nandphy_init failed and ret=0xfffffff1
MMC: aml_priv->desc_buf = 0x0000000073ecf6b0
aml_priv->desc_buf = 0x0000000073ed19d0
SDIO Port B: 0, SDIO Port C: 1
emmc/sd response timeout, cmd8, status=0x1ff2800
emmc/sd response timeout, cmd55, status=0x1ff2800
[mmc_startup] mmc refix success
[mmc_init] mmc init success
mmc read lba=0x14000, blocks=0x400
start dts,buffer=0000000073ed4270,dt_addr=0000000073ed4270
parts: 3
00: logo 0000000002000000 1
01: ramdisk 0000000002000000 1
02: rootfs ffffffffffffffff 4
get_dtb_struct: Get emmc dtb OK!
Partition table get from SPL is :
name offset size flag

0: bootloader 0 400000 0
1: reserved 2400000 4000000 0
2: cache 6c00000 0 0
3: env 7400000 800000 0
4: logo 8400000 2000000 1
5: ramdisk ac00000 2000000 1
6: rootfs d400000 1c4c00000 4
mmc read lba=0x12000, blocks=0x2
mmc read lba=0x12002, blocks=0x2
mmc_read_partition_tbl: mmc read partition OK!
eMMC/TSD partition table have been checked OK!
mmc env offset: 0x7400000
In: serial
Out: serial
Err: serial
reboot_mode=cold_boot
hpd_state=0
set hdmitx VIC = 16
config HPLL = 2970
HPLL: 0xc000027b
config HPLL done
j = 4 vid_clk_div = 1
hdmitx phy setting done
hdmitx: set enc for VIC: 16
rx version is 1.4 or below div=10
hdmtix: set audio
[OSD]check dts: FDT_ERR_BADMAGIC, load default fb_addr parameters
[OSD]fb_addr for logo: 0x3d800000
[OSD]check dts: FDT_ERR_BADMAGIC, load default fb_addr parameters
[OSD]fb_addr for logo: 0x3d800000
[CANVAS]canvas init
[CANVAS]addr=0x3d800000 width=3840, height=2160
[store]To run cmd[emmc dtb_read 0x1000000 0x40000]
read emmc dtb
gpio: pin GPIOAO_2 (gpio 102) value is 1
get_cpu_id flag_12bit=1
Product checking: Khadas VIM.
Net: dwmac.c9410000
wipe_data=successful
wipe_cache=successful
upgrade_step=2
[OSD]load fb addr from dts
[OSD]failed to get fb addr for logo
[OSD]use default fb_addr parameters
[OSD]fb_addr for logo: 0x3d800000
[OSD]load fb addr from dts
[OSD]failed to get fb addr for logo
[OSD]use default fb_addr parameters
[OSD]fb_addr for logo: 0x3d800000
amlkey_init() enter!
[EFUSE_MSG]keynum is 4
[BL31]: tee size: 0
[KM]Error:f[key_manage_query_size]L507:key[usid] not programed yet
[KM]Error:f[key_manage_query_size]L507:key[mac] not programed yet
[KM]Error:f[key_manage_query_size]L507:key[deviceid] not programed yet
get_cpu_id flag_12bit=1
saradc - saradc sub-system
Usage:
saradc saradc open - open a SARADC channel
saradc close - close the SARADC
saradc getval - get the value in current channel
saradc get_in_range - return 0 if current value in the range of current channel
gpio: pin GPIOAO_2 (gpio 102) value is 1
get_cpu_id flag_12bit=1
Product checking: pass!
Hit Enter or space or Ctrl+C key to stop autoboot – : 0
Can not find partition name "boot"
Cannot find dev.
amlmmc cmd failed
store - STORE sub-system
Usage:
store store init flag
store read name addr off|partition size
read ‘size’ bytes starting at offset 'off’
to/from memory address ‘addr’, skipping bad blocks.
store write name addr off|partition size
write ‘size’ bytes starting at offset 'off’
to/from memory address ‘addr’, skipping bad blocks.
store rom_write add off size.
write uboot to the boot device
store erase boot/data:
erase the area which is uboot or data
store erase partition <partition_name>:
erase the area which partition in u-boot
store erase dtb
store erase key
store disprotect key
store rom_protect on/off
store scrub off|partition size
scrub the area from offset and size
store dtb iread/read/write addr
read/write dtb, size is optional
store key read/write addr
read/write key, size is optional
cmd store failed
Err imgread(L132):Fail to read 0x100000B from part[boot] at offset 0
InUsbBurn
noSof
card out
emmc/sd response timeout, cmd8, status=0x1ff2800
emmc/sd response timeout, cmd55, status=0x1ff2800
emmc/sd response timeout, cmd1, status=0x1ff2800
[MSG]mmcinfo failed!
emmc/sd response timeout, cmd8, status=0x1ff2800
emmc/sd response timeout, cmd55, status=0x1ff2800
emmc/sd response timeout, cmd1, status=0x1ff2800
(Re)start USB…
USB0: USB3.0 XHCI init start
Register 2000140 NbrPorts 2
Starting the controller
USB XHCI 1.00
scanning bus 0 for devices… 3 USB Device(s) found
scanning usb for storage devices… 0 Storage Device(s) found
** Bad device usb 0 **
** Bad device usb 0 **
Can not find partition name "recovery"
Cannot find dev.
amlmmc cmd failed
store - STORE sub-system
Usage:
store store init flag
store read name addr off|partition size
read ‘size’ bytes starting at offset 'off’
to/from memory address ‘addr’, skipping bad blocks.
store write name addr off|partition size
write ‘size’ bytes starting at offset 'off’
to/from memory address ‘addr’, skipping bad blocks.
store rom_write add off size.
write uboot to the boot device
store erase boot/data:
erase the area which is uboot or data
store erase partition <partition_name>:
erase the area which partition in u-boot
store erase dtb
store erase key
store disprotect key
store rom_protect on/off
store scrub off|partition size
scrub the area from offset and size
store dtb iread/read/write addr
read/write dtb, size is optional
store key read/write addr
read/write key, size is optional

cmd store failed
Err imgread(L132):Fail to read 0x100000B from part[recovery] at offset 0
kvim#

I dont know what i’ve done wrong, but I tried with the CardBurner Tool and that worked fine!

You can type below command in uboot command mode to have a try

$ env default -a
$ saveenv
$ reboot
$ env default -a
$ saveenv
$ reboot