Re: Latest build of fsl-community-bsp kernel hangs booting imx8mmevk


Brian Hutchinson
 

On Wed, Jul 29, 2020 at 02:07 PM, Brian Hutchinson wrote:

On Wed, Jul 29, 2020 at 4:49 PM Andrey Zhizhikin <andrey.z@...> wrote:

>
> [    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
> [    0.000000] Linux version 5.4.3+g66d6cfd8712d (oe-user@oe-host) (gcc version 9.3.0 (GCC)) #1 SMP PREEMPT Wed Feb 26 09:13:26 UTC 2020

This kernel version does not match to what is currently present in the
[dufell] branch of community BSP. Current linux-fslc-imx version
included there is actually 5.4.51. Version 5.4.3 looks a rather NXP
"default" kernel to me...

Can you provide a Yocto build header, where it is seeing which layers
are used in your build and at which revisions? This is what you
actually get at the beginning of bitbake execution.

 
Sure, here you go:
 
 bitbake core-image-minimal
Loading cache: 100% |##################################################################################################| Time: 0:00:00
Loaded 3244 entries from dependency cache.
NOTE: Resolving any missing task queue dependencies

Build Configuration:
BB_VERSION           = "1.46.0"
BUILD_SYS            = "x86_64-linux"
NATIVELSBSTRING      = "universal"
TARGET_SYS           = "aarch64-poky-linux"
MACHINE              = "imx8mmevk"
DISTRO               = "poky"
DISTRO_VERSION       = "3.1.2"
TUNE_FEATURES        = "aarch64 cortexa53 crc crypto"
TARGET_FPU           = ""
meta                
meta-poky            = "HEAD:569b1f5d67c57de957e243997c53ec2f81dc8dfe"
meta-oe              
meta-multimedia      
meta-python          = "HEAD:cc6fc6b1641ab23089c1e3bba11e0c6394f0867c"
meta-freescale       = "HEAD:6bc3d8825c20d21528e24a7237ff7392e01a81bd"
meta-freescale-3rdparty = "HEAD:9000d8b388de98a13d6db2a98cd21602e0a7b715"
meta-freescale-distro = "HEAD:a1821b36af7bba4f6628e4244df7fc9a038d0f34"

WARNING: /home/hutch/yocto/imx8/imx8-fsl-community-bsp/sources/meta-freescale/recipes-kernel/linux/linux-imx_5.4.3.bb:do_compile is tainted from a forced run                                                                                                              
Initialising tasks: 100% |#############################################################################################| Time: 0:00:01
 
It could be that I didn't flash my sdcard right.  I first tried the NXP release which generates a sdcard image.  Both of the fsl-community-bsp builds I did generated a wic.gz image instead of a sdcard.bz2 image like NXP does.
 
I simply unzipped the wic.gz image and did a dd to my sdcard.  Hopefully that's the right way to do it and I'm not still booting the original NXP image from my first try.  That would be embarrassing ;)
 
Regards,
 
Brian
Here is the one from the fsl-community-bsp build using fslc-wayland distro and building core-image-base:

hutch@Gondor:~/yocto/imx8/fsl-community-bsp/build/tmp/deploy/images/imx8mmevk$ bitbake core-image-base
Loading cache: 100% |######################################################################################################| Time: 0:00:00
Loaded 3244 entries from dependency cache.
NOTE: Resolving any missing task queue dependencies

Build Configuration:
BB_VERSION           = "1.46.0"
BUILD_SYS            = "x86_64-linux"
NATIVELSBSTRING      = "universal"
TARGET_SYS           = "aarch64-fslc-linux"
MACHINE              = "imx8mmevk"
DISTRO               = "fslc-wayland"
DISTRO_VERSION       = "3.1"
TUNE_FEATURES        = "aarch64 cortexa53 crc crypto"
TARGET_FPU           = ""
meta                
meta-poky            = "HEAD:1bab588f4e0891032d57790661133ee153fa5f01"
meta-oe             
meta-multimedia     
meta-python          = "HEAD:cc6fc6b1641ab23089c1e3bba11e0c6394f0867c"
meta-freescale       = "HEAD:6bc3d8825c20d21528e24a7237ff7392e01a81bd"
meta-freescale-3rdparty = "HEAD:9000d8b388de98a13d6db2a98cd21602e0a7b715"
meta-freescale-distro = "HEAD:a1821b36af7bba4f6628e4244df7fc9a038d0f34"

Initialising tasks: 100% |#################################################################################################| Time: 0:00:01
Sstate summary: Wanted 0 Found 0 Missed 0 Current 1598 (0% match, 100% complete)
NOTE: Executing Tasks
NOTE: Tasks Summary: Attempted 4104 tasks of which 4104 didn't need to be rerun and all succeeded.
NOTE: Writing buildhistory
NOTE: Writing buildhistory took: 1 seconds

Join meta-freescale@lists.yoctoproject.org to automatically receive all group messages.