imx6ul initramfs boot failure: UTP: waiting for device to appear

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

imx6ul initramfs boot failure: UTP: waiting for device to appear

2,285 Views
pietercardoen
Contributor II

I am trying to boot a custom imx6ul board but I am having some trouble.

I am using mfgtools to load u-boot / initramfs / zimage /device tree in RAM:

<CMD state="BootStrap" type="boot" body="BootStrap" file ="firmware/u-boot-imx6ul%6uluboot%_%nand%.imx" ifdev="MX6UL">Loading U-boot</CMD>

<CMD state="BootStrap" type="load" file="firmware/zImage" address="0x80800000"
loadSection="OTH" setSection="OTH" HasFlashHeader="FALSE" ifdev="MX6UL">Loading Kernel.</CMD>

<CMD state="BootStrap" type="load" file="firmware/%initramfs%" address="0x83800000"
loadSection="OTH" setSection="OTH" HasFlashHeader="FALSE" ifdev="MX6SL MX6SX MX7D MX6UL">Loading Initramfs.</CMD>

<CMD state="BootStrap" type="load" file="firmware/zImage-imx6ul-%6uldtb%-%nanddtb%.dtb" address="0x83000000"
loadSection="OTH" setSection="OTH" HasFlashHeader="FALSE" ifdev="MX6UL">Loading device tree.</CMD>

<CMD state="BootStrap" type="jump" > Jumping to OS image. </CMD>

<CMD state="Updater" type="push" body="$ echo Update Complete!">Done</CMD>

u-boot starts normal:

U-Boot 2016.03-imx_v2016.03_4.1.15_2.0.0_ga+g0ec2a01 (Nov 09 2016 - 14:10:23 +0100)

CPU: Freescale i.MX6UL rev1.1 528 MHz (running at 396 MHz)
CPU: Industrial temperature grade (-40C to 105C) at 46C
Reset cause: POR
Board: IMX6UL 33927318
I2C: ready
DRAM: 512 MiB
TLV enet reg 0x11005
MMC: FSL_SDHC: 0, FSL_SDHC: 1
MMC: no card present
*** Warning - MMC init failed, using default environment

Display: TFT43AB (480x272)
Video: LCDIF@0x21c8000 is fused, disable it
In: serial
Out: serial
Err: serial
Net: Ethernet@0x20b4000 is fused, disable it
Board Net Initialization Failed
No ethernet found.
Boot from USB for mfgtools
Use default environment for mfgtools
Run bootcmd_mfg: run mfgtool_args;bootz ${loadaddr} ${initrd_addr} ${fdt_addr};
Hit any key to stop autoboot: 0
Kernel image @ 0x80800000 [ 0x000000 - 0x3f5398 ]
## Loading init Ramdisk from Legacy Image at 83800000 ...
Image Name: fsl-image-mfgtool-initramfs-imx6
Image Type: ARM Linux RAMDisk Image (gzip compressed)
Data Size: 7467639 Bytes = 7.1 MiB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
## Flattened Device Tree blob at 83000000
Booting using the fdt blob at 0x83000000
Using Device Tree in place at 83000000, end 83009bdd
Modify /soc/aips-bus@02000000/can@02094000:status disabled
Modify /soc/aips-bus@02100000/lcdif@021c8000:status disabled
Modify /soc/aips-bus@02100000/csi@021c4000:status disabled
Modify /soc/aips-bus@02000000/ethernet@020b4000:status disabled
Modify /soc/aips-bus@02000000/bee@02044000:status disabled
ft_system_setup for mx6

Starting kernel ...

But during the boot process I am getting:

[ 2.753380] vdd3p0: disabling
[ 2.756415] regulator-dummy: disabling
[ 2.760595] imx mcc test is registered.
[ 2.764967] snvs_rtc 20cc034.snvs-rtc-lp: setting system clock to 1970-01-01 00:00:00 UTC (0)
[ 2.798915] clk: Not disabling unused clocks
[ 2.803353] ALSA device list:
[ 2.806354] No soundcards found.
[ 2.811333] Freeing unused kernel memory: 324K (806ac000 - 806fd000)
Starting UTP
uuc 0.5 [built Nov 9 2016 13:29:31]
UTP: Waiting for device to appear
[ 120.994291] random: nonblocking pool is initialized

And the boot process hangs. What could be the reason of this?

Thanks

Pieter

Labels (1)
0 Kudos
1 Reply

917 Views
igorpadykov
NXP Employee
NXP Employee

Hi Pieter

one can check kernel configs as described on
https://community.nxp.com/thread/316376

and check usb id signal, it should be high or float.
https://community.nxp.com/message/657425

Also  please make sure that the u-boot being used by the profile
corresponds to board. From log

<CMD state="BootStrap" type="boot" body="BootStrap" file ="firmware/u-boot-imx6ul%6uluboot%_%nand%.imx"..>

this is for board with nand, do you have nand on board, if not one can look at

mfgtool2-yocto-mx-evk-sdcard-sd1.vbs

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos