[meta-freescale] Cannot boot after the last update...

Konstantin Kovalev lepeletie at hotmail.com
Fri Jul 25 05:12:37 PDT 2014


Dear Otavio,
Thanks for your quick response! After some attempts I have found the solution. The problem was in the variable "mmcroot". I've just changed the default value "mmcblk1p2" to "mmcblk0p2" and it works. However, the system stops booting on request "imx6qsabresd login:" and doesn't response on keyboard, touchscreen, and mouse. Unfortunately, my adb console doesn't show any errors on that stage. Probably I did not solve all errors in my u-boot default variables. This is my u-boot environments:
****************************************************************************************************************************************
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=1
bootscript=echo Running bootscript from mmc ...; source
console=ttymxc0
emmcdev=2
ethact=FEC
ethaddr=00:04:9f:02:70:ba
ethprime=FEC
fdt_addr=0x18000000
fdt_file=imx6q-sabresd.dtb
fdt_high=0xffffffff
image=zImage
initrd_high=0xffffffff
ip_dyn=yes
loadaddr=0x12000000
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=1
mmcpart=2
mmcroot=/dev/mmcblk0p2 rootwait rw
netargs=setenv bootargs console=${console},${baudrate} root=/dev/nfs ip=dhcp nfsroot=${serverip}:${nfsroot},v3,tcp
netboot=echo Booting from net ...; run netargs; if test ${ip_dyn} = yes; then setenv get_cmd dhcp; else setenv get_cmd tftp; fi; ${get_cmd} ${image}; if test ${boot_fdt} = yes || test ${boot_fdt} = try; then if ${get_cmd} ${fdt_addr} ${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.scr
update_emmc_firmware=if test ${ip_dyn} = yes; then setenv get_cmd dhcp; else setenv get_cmd tftp; fi; if ${get_cmd} ${update_sd_firmware_filename}; then if mmc dev ${emmcdev} && mmc open ${emmcdev} 1; then setexpr fw_sz ${filesize} / 0x200; setexpr fw_sz ${fw_sz} + 1; mmc write ${loadaddr} 0x2 ${fw_sz}; mmc close ${emmcdev} 1; fi; fi
update_sd_firmware=if test ${ip_dyn} = yes; then setenv get_cmd dhcp; else setenv get_cmd tftp; fi; if mmc dev ${mmcdev}; then if ${get_cmd} ${update_sd_firmware_filename}; then setexpr fw_sz ${filesize} / 0x200; setexpr fw_sz ${fw_sz} + 1; mmc write ${loadaddr} 0x2 ${fw_sz}; fi; fi

Environment size: 2275/8188 bytes
****************************************************************************************************************************************

The full boot log is in the attachment.

Best Regards,
Konstantin.

----------------------------------------
> Date: Fri, 25 Jul 2014 02:21:20 -0300
> Subject: Re: [meta-freescale] Cannot boot after the last update...
> From: otavio at ossystems.com.br
> To: lepeletie at hotmail.com
> CC: meta-freescale at yoctoproject.org
>
> On Wed, Jul 23, 2014 at 5:16 AM, Konstantin Kovalev
> <lepeletie at hotmail.com> wrote:
>> I have Freescale Sabre SD board on iMX6q processor.
>> ***************************************************
>> Build Configuration:
>> BB_VERSION = "1.23.1"
>> BUILD_SYS = "x86_64-linux"
>> NATIVELSBSTRING = "Fedora-20"
>> TARGET_SYS = "arm-poky-linux-gnueabi"
>> MACHINE = "imx6qsabresd"
>> DISTRO = "poky"
>> DISTRO_VERSION = "1.6+snapshot-20140723"
>> TUNE_FEATURES = "arm armv7a vfp neon callconvention-hard cortexa9"
>> TARGET_FPU = "vfp-neon"
>> meta
>> meta-yocto = "(detachedfrom8b7116d):8b7116d25ed6255a03895d835e5a0560858ab496"
>> meta-oe = "(detachedfrom743751e):743751e20cc266143130fb5bb49efb4c86b9e02b"
>> meta-fsl-arm = "(detachedfromd900d93):d900d935e1f45a79c7116c4fd290baaa447a870d"
>> meta-fsl-arm-extra = "(detachedfromc3b74cd):c3b74cd1de4fba69f14ef6366fdc15f11d32e485"
>> meta-fsl-demos = "(nobranch):e60ea240aecbf8fc69c4d18ab6d1361376372c6e"
>> ***************************************************
>> I use the master-next branch and fsl-image-multimedia-full.
>>
>> So my problem is that after "repo sync" on last friday I cannot boot the system from the resulting image from my SD-card.
>> I have written the image by this command "sudo dd if=fsl-image-multimedia-full-imx6qsabresd.sdcard of=/dev/sdb bs=4M &&sync"
>> There are two lines in boot log:
>> *******************************************************************
>> No filesystem could mount root, tried: ext3 ext2 ext4 vfat fuseblk
>> Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(179,10)
>> *******************************************************************
>> I attached the full log.
>
> Seems to be an issue with your uSD card or the card reader.
>
> --
> Otavio Salvador O.S. Systems
> http://www.ossystems.com.br http://code.ossystems.com.br
> Mobile: +55 (53) 9981-7854 Mobile: +1 (347) 903-9750
 		 	   		  
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: boot_log.txt
URL: <http://lists.yoctoproject.org/pipermail/meta-freescale/attachments/20140725/f449bb45/attachment-0001.txt>


More information about the meta-freescale mailing list