UUU download android10 image

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

UUU download android10 image

498 Views
gravity_one
Contributor III

Hi Guys,

U-Boot SPL 2020.04 (Feb 09 2023 - 02:07:24 +0000)
DDRINFO: start DRAM init
DDRINFO: DRAM rate 3000MTS
DDRINFO:ddrphy calibration done
DDRINFO: ddrmix config done
Normal Boot
Trying to boot from USB SDP
SDP: initialize...
SDP: handle requests...
Downloading file of size 961248 to 0x40400000... done
Jumping to header at 0x40400000
Header Tag is not an IMX image
Found header at 0x40429da0
NOTICE:  BL31: v2.2(release):android-11.0.0_1.2.0-rc2-0-gcb435ee78
NOTICE:  BL31: Built : 02:08:18, Feb  9 2023


U-Boot 2020.04 (Feb 09 2023 - 02:07:24 +0000)

CPU:   i.MX8MMQ rev1.0 1800 MHz (running at 1200 MHz)
CPU:   Commercial temperature grade (0C to 95C) at 38C
Reset cause: POR
Model: NXP i.MX8MM EVK board
DRAM:  2 GiB
tcpc_init: Can't find device id=0x52
setup_typec: tcpc port2 init failed, err=-19
tcpc_init: Can't find device id=0x50
setup_typec: tcpc port1 init failed, err=-19
MMC:   FSL_SDHC: 1, FSL_SDHC: 2
Loading Environment from MMC... MMC: no card present
*** Warning - No block device, using default environment

In:    serial
Out:   serial
Err:   serial

 BuildInfo:
  - ATF cb435ee
  - U-Boot 2020.04

Detect USB boot. Will enter fastboot mode!
Net:   Could not get PHY for FEC0: addr 0
Could not get PHY for FEC0: addr 0
No ethernet found.

Fastboot: Normal
Boot from USB for uuu
Hit any key to stop autoboot:  0
Detect USB boot. Will enter fastboot mode!
flash target is MMC:1
MMC: no card present
MMC card init failed!
MMC: no card present
** Block device MMC 1 not supported
Detect USB boot. Will enter fastboot mode!
flash target is MMC:2
switch to partitions #0, OK
mmc2(part 0) is current device
Detect USB boot. Will enter fastboot mode!
switch to partitions #0, OK
mmc2(part 0) is current device
Detect USB boot. Will enter fastboot mode!

MMC erase: dev # 2, block # 8192, count 8 ...

Caution! Your devices Erase group is 0x400
The erase range would be change to 0x2000~0x23ff

8 blocks erased: OK
Detect USB boot. Will enter fastboot mode!
Detect USB boot. Will enter fastboot mode!
Starting download of 2736144 bytes
....................
downloading of 2736144 bytes finished
writing to partition 'bootloader0'
Initializing 'bootloader0'
switch to partitions #1, OK
mmc2(part 1) is current device
Writing 'bootloader0'

MMC write: dev # 2, block # 66, count 5345 ... 5345 blocks written: OK
Writing 'bootloader0' DONE!
Starting download of 34304 bytes

downloading of 34304 bytes finished
writing to partition 'gpt'
Initializing 'gpt'
switch to partitions #0, OK
mmc2(part 0) is current device
Writing 'gpt'

MMC write: dev # 2, block # 0, count 34 ... 34 blocks written: OK
Writing 'gpt' DONE!
flash backup gpt image successfully
switch to partitions #0, OK
mmc2(part 0) is current device
flash target is MMC:2
The device is already unlocked
Detect USB boot. Will enter fastboot mode!
SATA isn't buildin
Detect USB boot. Will enter fastboot mode!
flash target is MMC:2
Starting download of 4194304 bytes
................................
downloading of 4194304 bytes finished
writing to partition 'dtbo_a'
Initializing 'dtbo_a'
switch to partitions #0, OK
mmc2(part 0) is current device
Writing 'dtbo_a'

MMC write: dev # 2, block # 16384, count 8192 ... 8192 blocks written: OK
Writing 'dtbo_a' DONE!
Starting download of 67108864 bytes
..........................................................................
..........................................................................
..........................................................................
..........................................................................
..........................................................................
..........................................................................
....................................................................
downloading of 67108864 bytes finished
writing to partition 'boot_a'
Initializing 'boot_a'
switch to partitions #0, OK
mmc2(part 0) is current device
Writing 'boot_a'

MMC write: dev # 2, block # 32768, count 131072 ... 131072 blocks written: OK
Writing 'boot_a' DONE!
Starting download of 4096 bytes

downloading of 4096 bytes finished
writing to partition 'vbmeta_a'
Initializing 'vbmeta_a'
switch to partitions #0, OK
mmc2(part 0) is current device
Writing 'vbmeta_a'

MMC write: dev # 2, block # 27250688, count 8 ... 8 blocks written: OK
Writing 'vbmeta_a' DONE!
Starting download of 16765036 bytes
..........................................................................
.....................................................
downloading of 16765036 bytes finished
writing to partition 'super'
sparse flash target is mmc:2
writing to partition 'super' for sparse, buffer size 16765036
Flashing sparse image at offset 311296
Flashing Sparse Image
........ wrote 16777216 bytes to 'super'
Starting download of 16764980 bytes
..........................................................................
.....................................................
downloading of 16764980 bytes finished
writing to partition 'super'
sparse flash target is mmc:2
writing to partition 'super' for sparse, buffer size 16764980
Flashing sparse image at offset 311296
Flashing Sparse Image
........ wrote 16764928 bytes to 'super'
Starting download of 3252276 bytes
........................
downloading of 3252276 bytes finished
writing to partition 'super'
sparse flash target is mmc:2
writing to partition 'super' for sparse, buffer size 3252276
Flashing sparse image at offset 311296
Flashing Sparse Image
........ wrote 3252224 bytes to 'super'
Starting download of 52 bytes

downloading of 52 bytes finished
writing to partition 'super'
sparse flash target is mmc:2
writing to partition 'super' for sparse, buffer size 52
Flashing sparse image at offset 311296
Flashing Sparse Image
........ wrote 0 bytes to 'super'
Starting download of 52 bytes

downloading of 52 bytes finished
writing to partition 'super'
sparse flash target is mmc:2
writing to partition 'super' for sparse, buffer size 52
Flashing sparse image at offset 311296
Flashing Sparse Image
........ wrote 0 bytes to 'super'
Starting download of 52 bytes

 

wrote 0 bytes to “super” !!!

pls check it, thx.

 

Gravity

0 Kudos
3 Replies

476 Views
Harvey021
NXP TechSupport
NXP TechSupport

Hi @gravity_one 

You tried with prebuilt android image, don't you?

 

Best regards

Harvey

0 Kudos

470 Views
gravity_one
Contributor III

Hello,

root reason: uuu tool version

i used newest 1.5.21 cause this issue.

i now used 1.3.124 is not problem.

 

Thanks.

0 Kudos

473 Views
gravity_one
Contributor III

Hello,

I used android-13.0.0_1.0.0_image_8mmevk.tar.gz.

Command: sudo ./uuu_imx_android_flash.sh -f imx8mm -a -e -u dual

The same phenomenon occurs:

uuu log:

xx@BuildServer:~/android_imx/uuu/android-13.0.0_1.0.0_image_8mmevk$ sudo ./uuu_imx_android_flash.sh -f imx8mm -a -e -u dual
This script is validated with uuu 1.4.182 version, it is recommended to align with this version.
dual bootloader is supported
dtbo is supported
dual slot is supported
dynamic parttition is supported
vendor_boot parttition is supported
init_boot parttition is supported
generate lines to flash spl-imx8mm-dual.bin to the partition of bootloader0
generate lines to flash partition-table-dual.img to the partition of gpt
generate lines to flash bootloader-imx8mm-dual.img to the partition of bootloader_a
generate lines to flash dtbo-imx8mm.img to the partition of dtbo_a
generate lines to flash boot.img to the partition of boot_a
generate lines to flash vendor_boot.img to the partition of vendor_boot_a
generate lines to flash init_boot.img to the partition of init_boot_a
generate lines to flash vbmeta-imx8mm.img to the partition of vbmeta_a
generate lines to flash super.img to the partition of super
uuu script generated, start to invoke uuu with the generated uuu script
uuu (Universal Update Utility) for nxp imx chips -- libuuu_1.5.11-0-g7c0fb61

Success 0    Failure 1


1:7     15/22 [Bulk(R):LIBUSB_ERROR_NO_DEVICE        ] FB[-t 600000]: flash super super.img28384


xx@BuildServer:~/android_imx/uuu/android-13.0.0_1.0.0_image_8mmevk$

imx8mm uart debug log:

U-Boot SPL 2022.04 (Feb 08 2023 - 22:18:12 +0800)
DDRINFO: start DRAM init
DDRINFO: DRAM rate 3000MTS
DDRINFO:ddrphy calibration done
DDRINFO: ddrmix config done
SEC0:  RNG instantiated
Normal Boot
Trying to boot from USB SDP
SDP: initialize...
SDP: handle requests...
Downloading file of size 1282000 to 0x40400000... done
Jumping to header at 0x40400000
Header Tag is not an IMX image
Found header at 0x40428da0
NOTICE:  BL31: v2.6(release):lf-5.15.71-2.2.0-0-g3c1583ba0
NOTICE:  BL31: Built : 22:18:28, Feb  8 2023


U-Boot 2022.04 (Feb 08 2023 - 22:18:12 +0800)

CPU:   i.MX8MMQ rev1.0 1800 MHz (running at 1200 MHz)
CPU:   Commercial temperature grade (0C to 95C) at 33C
Reset cause: POR
Model: NXP i.MX8MM EVK board
DRAM:  2 GiB
tcpc_init: Can't find device id=0x52
setup_typec: tcpc port2 init failed, err=-19
tcpc_init: Can't find device id=0x50
setup_typec: tcpc port1 init failed, err=-19
Core:  164 devices, 27 uclasses, devicetree: separate
MMC:   FSL_SDHC: 1, FSL_SDHC: 2
Loading Environment from MMC... MMC: no card present
*** Warning - No block device, using default environment

[*]-Video Link 0adv7535_mipi2hdmi adv7535@3d: Can't find cec device id=0x3c
fail to probe panel device adv7535@3d
mxs_video lcdif@32e00000: failed to get any video link display timings
probe video device failed, ret -22

        [0] lcdif@32e00000, video
        [1] mipi_dsi@32e10000, video_bridge
        [2] adv7535@3d, panel
adv7535_mipi2hdmi adv7535@3d: Can't find cec device id=0x3c
fail to probe panel device adv7535@3d
mxs_video lcdif@32e00000: failed to get any video link display timings
probe video device failed, ret -22
In:    serial
Out:   serial
Err:   serial

 BuildInfo:
  - ATF 3c1583b

Detect USB boot. Will enter fastboot mode!
Net:   Could not get PHY for FEC0: addr 0
Could not get PHY for FEC0: addr 0
No ethernet found.

MMC: no card present
Block device mmc 1 not supported
bcb_rw_block, get_block_size return 0
read_bootctl, bcb_rw_block read failed
read command failed
Fastboot: Normal
Boot from USB for uuu
Hit any key to stop autoboot:  0
Detect USB boot. Will enter fastboot mode!
flash target is MMC:1
MMC: no card present
MMC card init failed!
MMC: no card present
** Block device MMC 1 not supported
Detect USB boot. Will enter fastboot mode!
flash target is MMC:2
switch to partitions #0, OK
mmc2(part 0) is current device
Detect USB boot. Will enter fastboot mode!
switch to partitions #0, OK
mmc2(part 0) is current device
Detect USB boot. Will enter fastboot mode!

MMC erase: dev # 2, block # 8192, count 8 ...

Caution! Your devices Erase group is 0x400
The erase range would be change to 0x2000~0x23ff

8 blocks erased: OK
Detect USB boot. Will enter fastboot mode!
Detect USB boot. Will enter fastboot mode!
Starting download of 1474096 bytes
...........
downloading of 1474096 bytes finished
writing to partition 'bootloader0'
Initializing 'bootloader0'
switch to partitions #1, OK
mmc2(part 1) is current device
Writing 'bootloader0'

MMC write: dev # 2, block # 66, count 2880 ... 2880 blocks written: OK
Writing 'bootloader0' DONE!
Starting download of 34304 bytes

downloading of 34304 bytes finished
writing to partition 'gpt'
Initializing 'gpt'
switch to partitions #0, OK
mmc2(part 0) is current device
Writing 'gpt'

MMC write: dev # 2, block # 0, count 34 ... 34 blocks written: OK
Writing 'gpt' DONE!
flash backup gpt image successfully
switch to partitions #0, OK
mmc2(part 0) is current device
flash target is MMC:2
The device is already unlocked
Starting download of 4194304 bytes
................................
downloading of 4194304 bytes finished
writing to partition 'dtbo_a'
Initializing 'dtbo_a'
switch to partitions #0, OK
mmc2(part 0) is current device
Writing 'dtbo_a'

MMC write: dev # 2, block # 16384, count 8192 ... 8192 blocks written: OK
Writing 'dtbo_a' DONE!
Starting download of 67108864 bytes
..........................................................................
..........................................................................
..........................................................................
..........................................................................
..........................................................................
..........................................................................
....................................................................
downloading of 67108864 bytes finished
writing to partition 'boot_a'
Initializing 'boot_a'
switch to partitions #0, OK
mmc2(part 0) is current device
Writing 'boot_a'

MMC write: dev # 2, block # 32768, count 131072 ... 131072 blocks written: OK
Writing 'boot_a' DONE!
Starting download of 67108864 bytes
..........................................................................
..........................................................................
..........................................................................
..........................................................................
..........................................................................
..........................................................................
....................................................................
downloading of 67108864 bytes finished
writing to partition 'vendor_boot_a'
Initializing 'vendor_boot_a'
switch to partitions #0, OK
mmc2(part 0) is current device
Writing 'vendor_boot_a'

MMC write: dev # 2, block # 327680, count 131072 ... 131072 blocks written: OK
Writing 'vendor_boot_a' DONE!
Starting download of 8388608 bytes
................................................................
downloading of 8388608 bytes finished
writing to partition 'init_boot_a'
Initializing 'init_boot_a'
switch to partitions #0, OK
mmc2(part 0) is current device
Writing 'init_boot_a'

MMC write: dev # 2, block # 294912, count 16384 ... 16384 blocks written: OK
Writing 'init_boot_a' DONE!
Starting download of 8192 bytes

downloading of 8192 bytes finished
writing to partition 'vbmeta_a'
Initializing 'vbmeta_a'
switch to partitions #0, OK
mmc2(part 0) is current device
Writing 'vbmeta_a'

MMC write: dev # 2, block # 27250688, count 16 ... 16 blocks written: OK
Writing 'vbmeta_a' DONE!
Starting download of 16765008 bytes
..........................................................................
.....................................................
downloading of 16765008 bytes finished
writing to partition 'super'
sparse flash target is mmc:2
writing to partition 'super' for sparse, buffer size 16765008
Flashing sparse image at offset 733184
Flashing Sparse Image
........ wrote 16769024 bytes to 'super'
Starting download of 16764980 bytes
..........................................................................
.....................................................
downloading of 16764980 bytes finished
writing to partition 'super'
sparse flash target is mmc:2
writing to partition 'super' for sparse, buffer size 16764980
Flashing sparse image at offset 733184
Flashing Sparse Image
........ wrote 16764928 bytes to 'super'
Starting download of 16764980 bytes
..........................................................................
.....................................................
downloading of 16764980 bytes finished
writing to partition 'super'
sparse flash target is mmc:2
writing to partition 'super' for sparse, buffer size 16764980
Flashing sparse image at offset 733184
Flashing Sparse Image
........ wrote 16764928 bytes to 'super'
Starting download of 16764980 bytes
..........................................................................
.....................................................
downloading of 16764980 bytes finished
writing to partition 'super'
sparse flash target is mmc:2
writing to partition 'super' for sparse, buffer size 16764980
Flashing sparse image at offset 733184
Flashing Sparse Image
........ wrote 16764928 bytes to 'super'
Starting download of 450612 bytes
...
downloading of 450612 bytes finished
writing to partition 'super'
sparse flash target is mmc:2
writing to partition 'super' for sparse, buffer size 450612
Flashing sparse image at offset 733184
Flashing Sparse Image
........ wrote 450560 bytes to 'super'
Starting download of 52 bytes

downloading of 52 bytes finished
writing to partition 'super'
sparse flash target is mmc:2
writing to partition 'super' for sparse, buffer size 52
Flashing sparse image at offset 733184
Flashing Sparse Image
........ wrote 0 bytes to 'super'
Starting download of 52 bytes

downloading of 52 bytes finished
writing to partition 'super'
sparse flash target is mmc:2
writing to partition 'super' for sparse, buffer size 52
Flashing sparse image at offset 733184
Flashing Sparse Image
........ wrote 0 bytes to 'super'
Starting download of 52 bytes

downloading of 52 bytes finished
writing to partition 'super'
sparse flash target is mmc:2
writing to partition 'super' for sparse, buffer size 52
Flashing sparse image at offset 733184
Flashing Sparse Image
........ wrote 0 bytes to 'super'
Starting download of 52 bytes

 

0 Kudos