AnsweredAssumed Answered

iMX7D Pico won't boot

Question asked by Kostiantyn Tarasenko on May 24, 2017
Latest reply on May 24, 2017 by igorpadykov

Hi, I've recently got PICO iMX7D and it won't boot.  It's just out of the box, and it looks like one of partition is missing. Is it possible to factory reset it or flash vanila firmware? 

My log is 

U-Boot 2015.04-00077-g678c1cf (Feb 10 2017 - 10:16:36)

   

CPU:   Freescale i.MX7D rev1.2 at 792 MHz

CPU:   Temperature 28 C

Reset cause: POR

Board: i.MX7D PICOSOM

I2C:   ready

DRAM:  512 MiB

PMIC: PFUZE300 DEV_ID=0x30 REV_ID=0x11

MMC:   FSL_SDHC: 0, FSL_SDHC: 1

*** Warning - bad CRC, using default environment

   

No panel detected: default to EJ050NA

Display: EJ050NA (800x480)

Video: 800x480x24

In:    serial

Out:   serial

Err:   serial

flash target is MMC:1

Net:   FEC0

can't find partition: misc, dump the partition table

idx 0, ptn 0 name='gpt' start=0 len=128

idx 1, ptn 0 name='bootloader' start=2 len=2046

rw_block, cannot get the partion info for misc

read_bootctl, 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=128

idx 1, ptn 0 name='bootloader' start=2 len=2046

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=128

idx 1, ptn 0 name='bootloader' start=2 len=2046

fsl_read_from_partition_multi: no misc partition

lib/avb/libavb_ab/avb_ab_flow.c:96: ERROR: Error reading A/B metadata.

lib/avb/libavb_ab/avb_ab_flow.c:172: ERROR: I/O error while loading A/B metadata.

can't find partition: fbmisc, dump the partition table

idx 0, ptn 0 name='gpt' start=0 len=128

idx 1, ptn 0 name='bootloader' start=2 len=2046

fastboot_get_lock_stat: error in get mmc part

verify FAIL, state: UNLOCK

can't find partition: misc, dump the partition table

idx 0, ptn 0 name='gpt' start=0 len=128

idx 1, ptn 0 name='bootloader' start=2 len=2046

fsl_read_from_partition_multi: no misc partition

lib/avb/libavb_ab/avb_ab_flow.c:96: ERROR: Error reading A/B metadata.

boota: no bootable slot

 

UPD:  it seems like it's normal boot log. Make sure the most recent version of fastboot tool is used and do 

$ fastboot devices

There's also instruction how to restore the firmware if any modifications were done (windows pc needed) 

 

A. Restore factory default settings

===================================
 
To restore your PICO-PI-IMX7D to the default settings follow instructions below.

If your board is already (still) using default settings, skip ahead to section B.

1.

Download NXP Mfgtools from

http://www.nxp.com/lgfiles/bsps/mfgtools.zip


and the factory default bootloader from

http://download.technexion.net/files/androidthings/u-boot.imx


2.

Extract Mfgtools onto a Windows computer. Inside the Mfgtools folder, place the downloaded u-boot.imx file in Profiles\Linux\OS Firmware\files\brillo\pico_imx7d replacing any u-boot.imx already there (if there is one).

3.

Then set the boot jumpers on your board to serial download mode, as described inhttp://www.nxp.com/assets/documents/data/en/user-guides/PICO-IMX7D-USG.pdf

(or http://www.nxp.com/assets/documents/data/en/quick-start-guide/PICO-iMX7D-QSG.pdf )

4.

Attach your board with a USB type C cable to a USB host port on your computer.

Execute the VBS script

mfgtool2-brillo-mx7d-pico-emmc-firmware.vbs

by double clicking on it (located in the Mfgtools folder).

5.

Mfgtools starts, and should indicate that there is a HID device attached.

Press start, and wait. The install happens in two steps, and do not detach your board or stop it until there is a green status bar and a "done" message.

6.

Detach the board, set the boot jumpers to emmc boot mode, and reattach the board. "fastboot devices" command should list a fastboot device.


Your board is now in factory default mode.


On the debug console, it might notify about a missing misc partition etc, but these are not a critical problems. Just proceed.


B. Install Android Things

=========================


To install Android things, follow the instructions at https://developer.android.com/things/hardware/imx7d.html

 Note: linux users might need an even newer fastboot version than listed in the instructions. If the command "fastboot --version" fails, your version is probably too old.

 The latest linux version of fastboot can be downloaded from https://dl.google.com/android/repository/platform-tools-latest-linux.zip

Outcomes