IMX6 SABRE SD not identified on flashing with UUU

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

IMX6 SABRE SD not identified on flashing with UUU

939 Views
yash
Contributor I

Hi,

I have been trying to flash IMX6 SABRE_SD board with the UUU tool.

I have followed the instructions given at : L4.14.78_1.0.0_LINUX_DOCS

Since, i learnt that UUU is supported from thereafter.

After Building Yocto based Linux Image from :

1. bitbake core-image-minimal

2. Turning the device to Serial Download mode by SW6 : 01000010  /* Switch settings for Flashing */

3. On trying to use uuu tool as defined at : https://github.com/NXPmicro/mfgtools/wiki#typical-usage

uuu -b emmc u-boot-sd-optee-2018.03-r0.imx
uuu (Universal Update Utility) for nxp imx chips -- libuuu_1.4.69-0-g63b1d3c

Wait for Known USB Device Appear...

The device isn't getting recognized, Can you please suggest what would be the issue ?

I need to use the EMMC flashing mode, since i've used the same earlier using MFGtool 2.0 with imx-v2017-03_4.9.88 and now i'm planning to flash the boards using UUU tool.

@igorpadykov  @imx 

Thanks in advance..

0 Kudos
2 Replies

929 Views
weidong_sun
NXP TechSupport
NXP TechSupport

Hello yash,

   Below is my advice for you:

1. L4.19.35 is recommended to you.
L4.19.35_1.1.0 is the latest version of L4.x BSP, since you are evaluating SabreSD board using L4.x BSP, it is better to select the latest one. If you plan to L5.4.x BSP, the latest one is L5.4.70_2.3.0.
2. Using demo image
You can download L4.19.35_1.1.0 or L5.4.70_2.3.0 on our official website.
https://www.nxp.com/design/software/embedded-software/i-mx-software/embedded-linux-for-i-mx-applicat...
---L4.19.35_1.1.0_MX6QDLSOLOX
or
---L5.4.70_2.3.0_MX6QDLSOLOX
3. Decompressing the DEMO image you downloaed.
After decompressing it, you can find a subdirectory named "samples", you can find a file ,example_kernel_emmc.uuu, which is a script for uuu tool for progamming images to eMMC on board.
4. modifying example_kernel_emmc.uuu
The script can't be used directly, you should change items below to yours:
(1) _flash.bin: your bootloader's name, such as u-boot.imx
(2)_Image: your kernel image's name, such as zImage
(3)_board.dtb: your dtb file's name, such as imx6q-sabresd.dtb
(4) _rootfs.tar.bz2: your rootfs' name.
About image's actual name , they are all in DEMO image path.
5. Programming images into eMMC on board.
Due to no boot_mode switch on board, you can set it like below on board.
(1) remove all sd cards
(2) Set switch for boot configuration select to boot from SD2 or SD3
It means that cpu will enter into "serial download mode" after power on.
(3) connecting debug UART and USB OTG1 to PC
---open terminals software(for example secureCRT), and connect, configure debug uart, to prepare to receive linux starting log.
---these 2 connections are both need MicroUSB TO USB TYPE-AM cable.
(4)Power on SabreSD board
you will find a new HID Compliance device, which is SabreSD board.
(5) Open windows command line(cmd or Power shell) and enter into DEMO IMAGE's top directory, copy uuu.exe here.
(6) run command to start programming
> uuu example_kernel_emmc.uuu

[note]
---On windows 7 platform, errors of LIBUSB TIMEOUT somes happen, at the moment, you can change uuu version, such as 1.2.x version, and use 'zadig-2.4' to update USB drivers( more detail, see uuu.pdf)
---On windows 10 platform
No erros encountered.

 

Hope this information is helpful to you.

Have a nice day!

B.R,

Weidong

0 Kudos

920 Views
yash
Contributor I

Hi @weidong_sun 

Thanks for such a clear explaination.

I have followed the steps you mentioned now, again the issue with my setup is that HID compliant device is not registered. I have used the MFGtool 2.0 so I believe its not issue with USB OTG drivers.

Also, when running into Boot mode from EMMC : SW6 : 11010110  /* Switch 6 in Boot mode */

The logs are : 

U-Boot 2015.04-00392-g6581aea-dirty (Jul 02 2016 - 14:06:02)

CPU: Freescale i.MX6Q rev1.2 at 792 MHz
CPU: Temperature 33 C
Reset cause: POR
Board: MX6-SabreSD
I2C: ready
DRAM: 1 GiB
PMIC: PFUZE100 ID=0x10
MMC: FSL_SDHC: 0, FSL_SDHC: 1, FSL_SDHC: 2
No panel detected: default to Hannstar-XGA
Display: Hannstar-XGA (1024x768)
In: serial
Out: serial
Err: serial
check_and_clean: reg 0, flag_set 0
Fastboot: Normal
flash target is MMC:2
Net: FEC [PRIME]
Normal Boot
Hit any key to stop autoboot: 0
MMC: no card present
MMC: no card present
** Bad device mmc 0 **
MMC: no card present
** Bad device mmc 0 **
Wrong Image Format for bootm command
ERROR: can't get kernel image!

Regards,

Yash Jain

0 Kudos