We have a iMX6 TinyRex Ultra Dev Kit and I've built the OS using the instructions under Yocto Project 1.7 at http://wiki.voipac.com/xwiki/bin/vie...+tinyrex/yocto ,but when we loaded this onto an SD card, it didn't boot. From the console, we can see that u-boot hangs after 'Uncompressing Linux... done, booting the kernel' line. The whole console output is below:
U-Boot 2014.10 (Apr 25 2018 - 09:16:04)
CPU: Freescale i.MX6Q rev1.0 at 792 MHz Reset cause: POR Board: MX6 TinyRex - ultra I2C: ready DRAM: 3.8 GiB MMC: FSL_SDHC: 0, FSL_SDHC: 1, FSL_SDHC: 2 *** Warning - bad CRC, using default environment
In: serial Out: serial Err: serial Net: FEC [PRIME] Hit any key to stop autoboot: 0 switch to partitions #0, OK mmc0 is current device reading boot-imx6-tinyrexultra.scr ** Unable to read file boot-imx6-tinyrexultra.scr ** reading zImage 6076368 bytes read in 280 ms (20.7 MiB/s) Booting from mmc ... reading imx6-tinyrexultra.dtb 39597 bytes read in 19 ms (2 MiB/s) Kernel image @ 0x10800000 [ 0x000000 - 0x5cb7d0 ] ## Flattened Device Tree blob at 18000000 Booting using the fdt blob at 0x18000000 Using Device Tree in place at 18000000, end 1800caac
Starting kernel ...
Uncompressing Linux... done, booting the kernel.(hangs)
The environment parameters are as follows:
TinyRex U-Boot > printenv baudrate=115200 boot_fdt=try bootcmd=mmc dev ${mmcdev};if mmc rescan; then if run loadbootscript; then run bootscript; else if run loadimage; then run mmcboot; else run netboot; fi; fi; else run netboot; fi bootdelay=3 bootscript=echo Running bootscript from mmc ...; source console=ttymxc0 ethact=FEC ethaddr=00:0d:15:00:ff:37 ethprime=FEC fdt_addr=0x18000000 fdt_file=imx6-tinyrexultra.dtb fdt_high=0xffffffff image=zImage initrd_high=0xffffffff loadaddr=0x10800000 loadbootscript=fatload mmc ${mmcdev}:${mmcpart} ${loadaddr} ${script}; loadfdt=fatload mmc ${mmcdev}:${mmcpart} ${fdt_addr} ${fdt_file} loadimage=fatload mmc ${mmcdev}:${mmcpart} ${loadaddr} ${image} mmcargs=setenv bootargs console=${console},${baudrate} root=${mmcroot} mmcboot=echo Booting from mmc ...; run mmcargs; if test ${boot_fdt} = yes || test ${boot_fdt} = try; then if run loadfdt; then bootz ${loadaddr} - ${fdt_addr}; else if test ${boot_fdt} = try; then bootz; else echo WARN: Cannot load the DT; fi; fi; else bootz; fi; mmcdev=0 mmcpart=1 mmcroot=/dev/mmcblk2p2 rootwait rw netargs=setenv bootargs console=${console},${baudrate} root=/dev/nfs ip=dhcp nfsroot=${serverip}:${nfsroot},v3,tcp netboot=echo Booting from net ...; run set_ethernet; run netargs; tftp ${tftp_dir}/${image}; if test ${boot_fdt} = yes || test ${boot_fdt} = try; then if tftp ${fdt_addr} ${tftp_dir}/${fdt_file}; then bootz ${loadaddr} - ${fdt_addr}; else if test ${boot_fdt} = try; then bootz; else echo WARN: Cannot load the DT; fi; fi; else bootz; fi; script=boot-imx6-tinyrexultra.scr set_ethernet=if test ${ethaddr}; then; else setenv ethaddr 00:0D:15:001:75; fi; if test ${ipaddr}; then; else setenv ipaddr 192.168.0.150; fi; if test ${serverip}; then; else setenv serverip 192.168.0.1; fi; if test ${netmask}; then; else setenv netmask 255.255.255.0; fi spics=CONFIG_ENV_SPI_CS spidev=CONFIG_ENV_SPI_BUS stderr=serial stdin=serial stdout=serial tftp_dir=imx6 uboot=u-boot-imx6-tinyrexultra.imx update_fdt=run set_ethernet; run update_set_filename; if mmc dev ${mmcdev}; then if tftp ${tftp_dir}/${upd_fdt}; then fatwrite mmc ${mmcdev}:${mmcpart} ${loadaddr} ${fdt_file} ${filesize}; fi; fi update_kernel=run set_ethernet; run update_set_filename; if mmc dev ${mmcdev}; then if tftp ${tftp_dir}/${upd_kernel}; then fatwrite mmc ${mmcdev}:${mmcpart} ${loadaddr} ${image} ${filesize}; fi; fi update_script=run set_ethernet; run update_set_filename; if mmc dev ${mmcdev}; then if tftp ${tftp_dir}/${upd_script}; then fatwrite mmc ${mmcdev}:${mmcpart} ${loadaddr} ${script} ${filesize}; fi; fi update_set_filename=if test ${upd_uboot}; then; else setenv upd_uboot u-boot-imx6-tinyrexultra.imx; fi; if test ${upd_kernel}; then; else setenv upd_kernel zImage-imx6-tinyrexultra; fi; if test ${upd_fdt}; then; else setenv upd_fdt imx6-tinyrexultra.dtb; fi; if test ${upd_script}; then; else setenv upd_script boot-imx6-tinyrexultra.scr; fi update_uboot=run set_ethernet; run update_set_filename; if mmc dev ${mmcdev}; then if tftp ${tftp_dir}/${upd_uboot}; then setexpr fw_sz ${filesize} / 0x200; setexpr fw_sz ${fw_sz} + 1; mmc write ${loadaddr} 0x2 ${fw_sz}; fi; fi
Environment size: 3209/8188 bytes
Could you tell what might be causing this?
Thank you
robertferanec , 04-27-2018, 10:32 AM
I asked VOIPAC to have a look at your question. Please, could you confirm, that you have the 4GB RAM module?
marek , 04-28-2018, 10:59 AM
The i.MX6QP soc is supported in kernel 4.1. Kernel 4.1 is included only in Yocto release 2.0 and 2.1. Demo images for Yocto 2.1 are below