Build VIM2 and flash.Then it can't boot

Which system do you use? Android, Ubuntu, OOWOW or others?

Ubuntu

Which version of system do you use? Please provide the version of the system here:

PRETTY_NAME=“Ubuntu 22.04 LTS”
NAME=“Ubuntu”
VERSION_ID=“22.04”
VERSION=“22.04 (Jammy Jellyfish)”
VERSION_CODENAME=jammyUbuntu 20.04 lts

Please describe your issue below:

When I use docker(fenix tag v1.5.2) to build vim2 image(ubuntu 18 or ubuntu 20),flash image 99%,and serial output “[WRN]total 0x200 < tranferred 0x400“,and USB Burn Tool show 99% and usb controel is wrong

Post a console log of your issue below:


InUsbBurn
[MSG]sof
Set Addr 35
Get DT cfg
Get DT cfg
Get DT cfg
set CFG
Get str 300

ID[16]
tplcmd[    echo 12345]
12345
[MSG]ret = 0
[info]success
BULKcmd[    low_power]
[info]success

ID[16]
tplcmd[    download mem dtb normal 55532]
[MSG]Down(mem) part(dtb) sz(0xd8ec) fmt(normal)
[MSG]totalSlotNum = 0, nextWriteBackSlot 1
[info]success
[MSG]Burn Start...
[MSG]load dt.img to 0x0000000001000000, sz=0xd8ec
[MSG]Burn complete
BULKcmd[download get_status]
[info]success
BULKcmd[disk_initial 1]
start dts,buffer=0000000001000000,dt_addr=0000000001000000
get_partition_from_dts() 91: ret 0
parts: 3
00:      logo   0000000000800000 1
01:   ramdisk   0000000002000000 1
02:    rootfs   ffffffffffffffff 4
co-phase 0x2, tx-dly 0, clock 400000
co-phase 0x2, tx-dly 0, clock 400000
co-phase 0x2, tx-dly 0, clock 400000
emmc/sd response timeout, cmd8, status=0x3ff2800
emmc/sd response timeout, cmd55, status=0x3ff2800
co-phase 0x2, tx-dly 0, clock 400000
co-phase 0x2, tx-dly 0, clock 40000000
[mmc_startup] mmc refix success
init_part() 297: PART_TYPE_AML
[mmc_init] mmc init success
init_part() 297: PART_TYPE_AML
eMMC/TSD partition table have been checked OK!
crc32_s:0x1577dad == storage crc_pattern:0x1577dad!!!
crc32_s:0xee152b83 == storage crc_pattern:0xee152b83!!!
crc32_s:0x79f50f07 == storage crc_pattern:0x79f50f07!!!
XXXXXXX======enter EMMC boot======XXXXXX
co-phase 0x2, tx-dly 0, clock 40000000
co-phase 0x2, tx-dly 0, clock 40000000
co-phase 0x2, tx-dly 0, clock 400000
emmc/sd response timeout, cmd8, status=0x3ff2800
emmc/sd response timeout, cmd55, status=0x3ff2800
co-phase 0x2, tx-dly 0, clock 400000
co-phase 0x2, tx-dly 0, clock 40000000
[mmc_startup] mmc refix success
init_part() 297: PART_TYPE_AML
[mmc_init] mmc init success
switch to partitions #0, OK
mmc1(part 0) is current device
Device: SDIO Port C
Manufacturer ID: 15
OEM: 100
Name: AJTD4 
Tran Speed: 52000000
Rd Block Len: 512
MMC version 5.1
High Capacity: Yes
Capacity: 14.6 GiB
mmc clock: 40000000
Bus Width: 8-bit
[store]amlmmc erase 1emmckey_is_protected(): protect
start = 0,end = 57343
start = 221184,end = 30535679
Erasing blocks 0 to 8192 @ boot0
start = 0,end = 8191
Erasing blocks 0 to 8192 @ boot1
start = 0,end = 8191
[MSG]usb producing env_relocate
mmc env offset: 0x6c00000 
*** Warning - bad CRC, using default environment

Saving Environment to aml-storage...
mmc env offset: 0x6c00000 
Writing to MMC(1)... done
[MSG]to erase ddr parameters
[info]success

ID[16]
tplcmd[download store _aml_dtb normal 55532]
[MSG]Down(store) part(_aml_dtb) sz(0xd8ec) fmt(normal)
[MSG]totalSlotNum = 0, nextWriteBackSlot 1
[info]success
[MSG]Burn Start...
[MSG]optimus_download_dtb_image:dataSzReceived=0xd8ec
start erase dtb......
dev # 1,  , several blocks erased OK
[store]To run cmd[emmc dtb_write 0x0000000007700000 0x40000]
dtb_write()-3740: valid 0
dtb_write()-3760: new stamp 0, checksum 0x6997da59, version 1, magic A~D
start dts,buffer=0000000073e9e340,dt_addr=0000000073e9e340
start dts,buffer=0000000007700000,dt_addr=0000000007700000
get_partition_from_dts() 91: ret 0
parts: 3
00:      logo   0000000000800000 1
01:   ramdisk   0000000002000000 1
02:    rootfs   ffffffffffffffff 4
init_part() 297: PART_TYPE_AML
partition table success
[MSG]Burn complete
BULKcmd[download get_status]
[info]success
BULKcmd[verify sha1sum c77df75e6f69c5f9e5196539b1c1fccfd37258f1]
[store]To run cmd[emmc dtb_read 0x0000000007700000 0x40000]
dtb_read_shortcut()-3535: short cut in...
[MSG]VERIFY OK 
[info]success

ID[16]
tplcmd[download store logo normal 908608]
[MSG]flash LOGIC partCap 0x800000B
[MSG]Down(store) part(logo) sz(0xddd40) fmt(normal)
[MSG]totalSlotNum = 0, nextWriteBackSlot 1
[info]success
[MSG]Burn Start...
[MSG]Burn complete
BULKcmd[download get_status]
[info]success
BULKcmd[verify sha1sum 58e88b13726507005dcc7b86b6dcac62d1020f1a]
[MSG]Verify Start...
[MSG]To verify part logo in fmt normal
[MSG]Verify End
[MSG]VERIFY OK 
[info]success

ID[16]
tplcmd[download store rootfs normal 2051014656]
[MSG]flash LOGIC partCap 0x398a00000B
[MSG]Down(store) part(rootfs) sz(0x7a400000) fmt(normal)
[MSG]totalSlotNum = 0, nextWriteBackSlot 1
[info]success
[MSG]Burn Start...
Get str 300 18%
Get str 300 40%
Get str 300 62%
Get str 300 84%
[MSG]Burn complete
Downloading 100%
BULKcmd[download get_status]
[info]success
BULKcmd[verify sha1sum 6077c5e8378becd0c81fa63b27959ca40885e2d8]
[MSG]Verify Start...
[MSG]To verify part rootfs in fmt normal
[MSG]Verify End
[MSG]VERIFY OK 
[info]success
Get str 300
[WRN]total 0x200 < tranferred 0x400

this is my env

== ENV CONFIG =======================
VERSION=1.5.2
KHADAS_BOARD=VIM2
LINUX=4.9
UBOOT=2015.01
DISTRIBUTION=Ubuntu
DISTRIB_RELEASE=bionic
DISTRIB_RELEASE_VERSION=18.04
DISTRIB_TYPE=server
DISTRIB_ARCH=arm64
INSTALL_TYPE=EMMC
COMPRESS_IMAGE=no
INSTALL_TYPE_RAW=no

Hello @Liyay

Please try to use another usb port on your PC or try another usb cable.

It’s working very well,but i need solve other problem.

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.