Update the firmware on IMX8M-EVK

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

Update the firmware on IMX8M-EVK

1,441 Views
HaoPING
Contributor I

I  Update the firmware  for the IMX8M-EVK
After reset board ,it doesn't work. the log is as follows:(Who  can  help  me)

U-Boot 2017.03 (Apr 11 2018 - 10:04:36 +0800)

CPU: Freescale i.MX8MQ rev2.0 1500 MHz (running at 1000 MHz)
CPU: Commercial temperature grade (0C to 95C) at 39C
Reset cause: POR
Model: Freescale i.MX8MQ EVK
DRAM: 3 GiB
MMC: FSL_SDHC: 0, FSL_SDHC: 1
*** Warning - bad CRC, using default environment

In: serial
Out: serial
Err: serial

BuildInfo:
- ATF 6a83ae0
- U-Boot 2017.03

flash target is MMC:0
Net:
Warning: ethernet@30be0000 using MAC address from ROM
eth0: ethernet@30be0000
can't find partition: misc, dump the partition table
idx 0, ptn 0 name='gpt' start=0 len=2048
idx 1, ptn 0 name='tos' start=0 len=2047
idx 2, ptn 0 name='bootloader0' start=66 len=4094
idx 3, ptn 1 name='mmcsda1' start=20480 len=1024000
idx 4, ptn 2 name='mmcsda2' start=1228800 len=27607040
cannot get the partion info for misc
Cannot find partition 4080
do_raw_read failed, ret 1
read_bootctl, bcb_rw_block read failed
read command failed
Fastboot: Normal
Hit any key to stop autoboot: 0
can't find partition: fbmisc, dump the partition table
idx 0, ptn 0 name='gpt' start=0 len=2048
idx 1, ptn 0 name='tos' start=0 len=2047
idx 2, ptn 0 name='bootloader0' start=66 len=4094
idx 3, ptn 1 name='mmcsda1' start=20480 len=1024000
idx 4, ptn 2 name='mmcsda2' start=1228800 len=27607040
cannot get the partion info for fbmisc
fastboot_get_lock_stat: error in get mmc part
can't find partition: misc, dump the partition table
idx 0, ptn 0 name='gpt' start=0 len=2048
idx 1, ptn 0 name='tos' start=0 len=2047
idx 2, ptn 0 name='bootloader0' start=66 len=4094
idx 3, ptn 1 name='mmcsda1' start=20480 len=1024000
idx 4, ptn 2 name='mmcsda2' start=1228800 len=27607040
fsl_read_from_partition_multi: no misc partition
avb_ab_flow.c:99: ERROR: Error reading A/B metadata.
avb_ab_flow.c:178: ERROR: I/O error while loading A/B metadata.
can't find partition: misc, dump the partition table
idx 0, ptn 0 name='gpt' start=0 len=2048
idx 1, ptn 0 name='tos' start=0 len=2047
idx 2, ptn 0 name='bootloader0' start=66 len=4094
idx 3, ptn 1 name='mmcsda1' start=20480 len=1024000
idx 4, ptn 2 name='mmcsda2' start=1228800 len=27607040
fsl_write_to_partition: no misc partition
avb_ab_flow.c:128: ERROR: Error writing A/B metadata.
verify FAIL, state: UNLOCK
can't find partition: misc, dump the partition table
idx 0, ptn 0 name='gpt' start=0 len=2048
idx 1, ptn 0 name='tos' start=0 len=2047
idx 2, ptn 0 name='bootloader0' start=66 len=4094
idx 3, ptn 1 name='mmcsda1' start=20480 len=1024000
idx 4, ptn 2 name='mmcsda2' start=1228800 len=27607040
fsl_read_from_partition_multi: no misc partition
avb_ab_flow.c:99: ERROR: Error reading A/B metadata.
boota: no bootable slot

0 Kudos
Reply
4 Replies

1,423 Views
HaoPING
Contributor I

OK,but  I  download  demo  L5.10.52-2.1.0 version,when  I  use  UUU program the board,the log is  wrong:

U-Boot SPL 2021.04-lf_v2021.04+g1c0116f3da (Sep 06 2021 - 08:48:23 +0000)
PMIC: PFUZE100 ID=0x10
DDRINFO: start DRAM init
DDRINFO: DRAM rate 3200MTS
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 2097152 to 0x40400000... done
Downloading file of size 1113472 to 0x00200000... "Error" handler, esr 0xbf000002
elr: 00000000007e6b10 lr : 00000000007ee5ac
x 0: 0000000000200000 x 1: 0000000042203e01
x 2: 0000000000000400 x 3: 0000000000000001
x 4: 0000000000200000 x 5: 0000000000000000
x 6: 0000000000000000 x 7: 000000000000000a
x 8: 0000000042202640 x 9: 0000000000000001
x10: 0000000042202588 x11: 0000000000000000
x12: 0000000000000001 x13: 0000000000000001
x14: 0000000000000038 x15: 0000000000010f1c
x16: 00000000007ee52c x17: 0000000000000000
x18: 0000000000185e40 x19: 0000000042204f80
x20: 0000000000000400 x21: 0000000000000000
x22: 0000000000000000 x23: 0000000042203d40
x24: 0000000042200780 x25: 0000000042200c80
x26: 0000000042204200 x27: 0000000000000040
x28: 0000000042200790 x29: 0000000000185b70

Code: f2400863 54000120 aa0003e4 d2800003 (eb03005f)
Resetting CPU ...

resetting ...

0 Kudos
Reply

1,434 Views
jimmychan
NXP TechSupport
NXP TechSupport

You can download the demo image from here

https://www.nxp.com/design/software/embedded-software/i-mx-software/embedded-linux-for-i-mx-applicat...

 

And then use the UUU to program the .wic file to the board.

0 Kudos
Reply

1,427 Views
HaoPING
Contributor I

OK,but  I  download  demo  L5.10.52-2.1.0 version,when  I  use  UUU program the board,the log is  wrong:

U-Boot SPL 2021.04-lf_v2021.04+g1c0116f3da (Sep 06 2021 - 08:48:23 +0000)
PMIC: PFUZE100 ID=0x10
DDRINFO: start DRAM init
DDRINFO: DRAM rate 3200MTS
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 2097152 to 0x40400000... done
Downloading file of size 1113472 to 0x00200000... "Error" handler, esr 0xbf000002
elr: 00000000007e6b10 lr : 00000000007ee5ac
x 0: 0000000000200000 x 1: 0000000042203e01
x 2: 0000000000000400 x 3: 0000000000000001
x 4: 0000000000200000 x 5: 0000000000000000
x 6: 0000000000000000 x 7: 000000000000000a
x 8: 0000000042202640 x 9: 0000000000000001
x10: 0000000042202588 x11: 0000000000000000
x12: 0000000000000001 x13: 0000000000000001
x14: 0000000000000038 x15: 0000000000010f1c
x16: 00000000007ee52c x17: 0000000000000000
x18: 0000000000185e40 x19: 0000000042204f80
x20: 0000000000000400 x21: 0000000000000000
x22: 0000000000000000 x23: 0000000042203d40
x24: 0000000042200780 x25: 0000000042200c80
x26: 0000000042204200 x27: 0000000000000040
x28: 0000000042200790 x29: 0000000000185b70

Code: f2400863 54000120 aa0003e4 d2800003 (eb03005f)
Resetting CPU ...

resetting ...

0 Kudos
Reply

1,412 Views
jimmychan
NXP TechSupport
NXP TechSupport

Have you try to write the demo image to SD card? and then boot up from the SD card.

0 Kudos
Reply