Coder Social home page Coder Social logo

meta-variscite-fslc's People

Contributors

aherfurtner avatar aviadh80 avatar eranmati avatar hj2006 avatar leonid-s avatar nsdrude avatar orokach avatar rfilipovich avatar varigigi avatar vkonstantins avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

meta-variscite-fslc's Issues

Unable to build swupdate with thud

When building image with swupdate according to variwiki I get the following error with bitbake :

ERROR: monimalz-image-release-1.0-r10 do_rootfs: Postinstall scriptlets of ['bluez5', 'swupdate'] have failed. If the intention is to defer them to first boot,
then please place them into pkg_postinst_ontarget_${PN} ().
Deferring to first boot via 'exit 1' is no longer supported.
Details of the failure are in /home/yoctouser/var-fslc-yocto/build_monimalz/tmp/work/imx6ul_var_dart-fslc-linux-gnueabi/monimalz-image-release/1.0-r10/temp/log.do_rootfs.

Wrong WiFi firmware config for imx6ul-var-dart ?

Hi, I am using meta-variscite-fslc at the sumo version for the imx6ul-var-dart board.
On this board the WiFi does not work. I see the following in dmesg:

usbcore: registered new interface driver brcmfmac
mmc0: new high speed SDIO card at address 0001
brcmfmac: brcmf_sdio_htclk: HT Avail timeout (1000000): clkctl 0x50
brcmfmac: brcmf_sdio_htclk: HT Avail timeout (1000000): clkctl 0x50
usbcore: deregistering interface driver brcmfmac
mmc0: card 0001 removed

The above is tried 3 times, as per https://github.com/varigit/meta-variscite-fslc/blob/sumo/recipes-connectivity/bcm43xx-utils/bcm43xx-utils/variscite-wifi#L54 and then gives up and no wireless interface is brought up.

However, I have switched the wifi firmware config with brcmfmac43430-sdio.txt.ap6210 from https://wolk.wopwop.cc/s/AmPFsOgJdnK4xMU?path=%2Fbrcm-firmware (copied it to the rootfs under the name /lib/firmware/brcm/brcmfmac43430-sdio.txt) . Upon reboot, I see in dmesg:

[ 31.321594] usbcore: registered new interface driver brcmfmac
[ 31.537836] brcmfmac: brcmf_c_preinit_dcmds: Firmware version = wl0: Sep 13 2017 15:43:06 version 7.45.41.47 (r668030 CY) FWID 01-2a53ca47
[ 31.719464] brcmfmac: brcmf_cfg80211_reg_notifier: not a ISO3166 code (0x30 0x30)

and the wlan0 interface is up. So a step forward. However, iwconfig reports no wireless extension on wlan0 and wpa_supplicant in stuck in a scan loop. This is indication that still this is not the correct wifi firmware config but still is better than the original.

Is the WiFi working for you guys for the imx6ul-var-dart?
Is there a newer firmware blob and firmware config for the wifi chipset present in the imx6ul-var-dart board?
Thanks

Bitbake warning about linux-variscite

Hi,
There is a warning message while bitbake fsl-image-gui. It should be related with kernel configs. Could you check if it matters? Thanks...

WARNING: linux-variscite-5.4.127+gitAUTOINC+7ab6e3c4cf-r0 do_kernel_configcheck: [kernel config]: specified values did not make it into the kernel's final configuration:
[NOTE]: 'CONFIG_MXC_GPU_VIV' last val (m) and .config val (n) do not match
[INFO]: CONFIG_MXC_GPU_VIV : n ## .config: 6595 :configs///defconfig (m)
[INFO]: raw config text:
config MXC_GPU_VIV
tristate "MXC Vivante GPU support"
default y
depends on ARCH_MXC
help
Say Y to get the GPU driver support.
Config 'MXC_GPU_VIV' has the following Direct dependencies (MXC_GPU_VIV=y):
ARCH_MXC(=y)
Parent dependencies are:
ARCH_MXC [y]

Kirkstone support

Hi,

as part of an internal update of our firmware, we worked on the Kirkstone (Yocto 4.0) support for meta-variscite-fslc & meta-variscite-hab repositories.
If you're interested in this support, feel free to use our work at:

The format PACKAGECONFIG_remove_mx6 is not allowed anymore in kirkstone, it is now PACKAGECONFIG:remove:mx6, which lead to a lot of changes across the repository (see neurio@e7889ea for instance).

Hope it helps

Extend u-boot recipe for secure-boot

This is more of a feature request than an issue.

I'm following http://variwiki.com/index.php?title=High_Assurance_Boot to test Secure Boot.

I need the following files from my u-boot build

  • SPL
  • SPL.log
  • u-boot-ivt.img
  • u-boot-ivt.img.log

Building manually from the git repo it works fine, but not so in yocto. I've added the following to my config:

UBOOT_CONFIG[secure-boot] = "mx6var_som_sd_SECURE_BOOT_config,sdcard,u-boot-ivt.img"

This makes it compile, but only a renamed u-boot-ivt.img is installed/deployed. Should the u-boot recipe be modified so that a secure-boot build puts all the necessary files in the deploy/images directory?

bcm43xx-utils.bb

Does not pass QA when using "usrmerge" DISTRO feature. The feature is used when the OTA updater is ostree and not swupdate.

ERROR: bcm43xx-utils-1.0-r0 do_package: QA Issue: bcm43xx-utils: Files/directories were installed but not shipped in any package:

Avahi damon not started

I am using Linux Kernel version 5.4.85.
I successfully created and run core-minimal-image on imx7d evk.
Avahi is available in /etc/passwd and /etc/groups.
When following command is given
/etc/init.d/avahi-daemon start
It gives following error
15:19:43 imx7-var-som daemon.err avahi-daemon[500]: Failed to find user 'avahi'.
15:19:43 imx7-var-som daemon.err avahi-daemon[500]: Failed to find user 'avahi'.
15:19:43 imx7-var-som daemon.err avahi-daemon[500]: Failed to find user 'avahi'.

Is anything required to add in core-image-minimal to find avahi user?
I remove avahi entry in /etc/passwd and /etc/groups and add manually avai user still problem exist.

I tried login on customer support portal but didn't get access.

Create SD card for distro fslc-wayland

Hi,

When following the instruction of Create_an_extended_SD_card_image_using_a_loop_device, the script is always looking for the directory build_xwayland, which does not exist in my case. Based on the content of the script(

readonly YOCTO_BUILD=${YOCTO_ROOT}/build_xwayland
), the reason is trivial, because I initialized the environment with MACHINE=var-som-mx6 DISTRO=fslc-wayland . setup-environment build_wayland and only build_xwayland and build_x11 are ever considered. This sounds to me that the fslc-wayland distro is not a real world scenario, so I might be wrong at the first place. Nevertheless, I suggest to have an option to customize the build directory, as it is controlled by the user anyway.

Best regards,

Xiaoyang

master branch status

Hi!
I recently started using this meta layer and noticed its master branch is much older than pyro and morty release branches. I use to develop my projects with an eye to the long term and generally prefer, alongside with stable versions, to keep things working with the latest revision of core tools. This assumes particular importance for bsp-layers. My question is: what's Variscite's plan for supporting ongoing developments on oe-core/yocto? Beside Variscite's official commitment plans on this, I can see some interest from OE experts from the community (see @kraj PRs) to contribute patches to a working (and continuously tested) master branch. I'd really like to have your feedback on these topics: it'd make my upcoming decisions for maintenance plans easier. TIA

Sumo

Do you have an ETA for sumo support? Can I use the master branch or is that not advised?

WiFi disabled with custom device tree.

I have a custom device tree that covers a board stack containing a DART-6UL and a couple of other boards. When upgrading from rocko to thud, the WIFI stopped working. Looking into it, the problem seems to be with this code in recipes-connectivity/bcm43xx-utils/bcm43xx-utils/variscite-wifi

# Exit if WIFI is disabled on DART-6UL
if grep -q MX6UL /sys/devices/soc0/soc_id && \
   ! grep -q WIFI /sys/devices/soc0/machine; then
   exit 0
fi

This seems to disable wifi unless the "model" field in the device tree contains the word "WIFI". As a workaround, I added "WIFI" at the end of our custom "model" field, but this seems like a bad way to detect if the device has WIFI or not.

dunfell var-som-mx8m-mini sd card boot stuck at waiting for root device

Hi,
I'm following a guide according to https://variwiki.com/index.php?title=Yocto_Build_Release&release=RELEASE_DUNFELL_V1.4_DART-MX8M-MINI

I created the sd card image:

zcat tmp/deploy/images/imx8mm-var-dart/fsl-image-gui-imx8mm-var-dart.wic.gz | sudo dd of=/dev/sdX bs=1M conv=fsync

and when attempting to boot via SD card, the kernel is stuck at Waiting for root device /dev/mmcblk1p1..

I know that root is at /dev/mmcblk1p1 from the ls mmc command:

u-boot=> ls mmc 1:1
<DIR>       1024 .
<DIR>       1024 ..
<DIR>      12288 lost+found
<DIR>       3072 bin
<DIR>       1024 boot
<DIR>       1024 dev
<DIR>       1024 etc
<DIR>       1024 home
<DIR>       3072 lib
<DIR>       1024 media
<DIR>       1024 mnt
<DIR>       1024 proc
<DIR>       1024 run
<DIR>       3072 sbin
<DIR>       1024 sys
<DIR>       1024 tmp
<DIR>       1024 usr
<DIR>       1024 var

u-boot=> ls mmc 1:1 /boot
<DIR>       1024 .
<DIR>       1024 ..
<SYM>         29 Image.gz
         6026582 Image.gz-5.4.85+g786d1c620c92
           46661 imx8mm-var-dart-dt8mcustomboard-legacy-m4.dtb
           45888 imx8mm-var-dart-dt8mcustomboard-legacy.dtb
           46455 imx8mm-var-dart-dt8mcustomboard-m4.dtb
           45682 imx8mm-var-dart-dt8mcustomboard.dtb
           46521 imx8mm-var-som-symphony-legacy-m4.dtb
           45748 imx8mm-var-som-symphony-legacy.dtb
           46564 imx8mm-var-som-symphony-m4.dtb
           45795 imx8mm-var-som-symphony.dtb

however, when i try to switch to that partition, I errored out:

u-boot=> mmc dev 1 1
Run CMD11 1.8V switch
switch to partitions #1, ERROR

I tried this with multiple SD cards just in case. Am I doing something wrong?

Here are the kernel logs:

U-Boot SPL 2020.04-imx_v2020.04_5.4.24_2.1.0_var02+ga868ae6fd1 (Mar 14 2021 - 10:21:37 +0000)
Normal Boot
Trying to boot from MMC1


U-Boot 2020.04-imx_v2020.04_5.4.24_2.1.0_var02+ga868ae6fd1 (Mar 14 2021 - 10:21:37 +0000)

CPU:   i.MX8MMQ rev1.0 1800 MHz (running at 1200 MHz)
CPU:   Commercial temperature grade (0C to 95C) at 34C
Reset cause: POR
Model: Variscite VAR-SOM-MX8M-MINI
DRAM:  2 GiB
MMC:   FSL_SDHC: 1, FSL_SDHC: 2
Loading Environment from MMC... Run CMD11 1.8V switch
*** Warning - bad CRC, using default environment

In:    serial
Out:   serial
Err:   serial

 BuildInfo:
  - ATF 7575633
  - U-Boot 2020.04-imx_v2020.04_5.4.24_2.1.0_var02+ga868ae6fd1


Part number: VSM-MX8MM-001B
Assembly: AS2002149707
Production date: 2020 Mar 11
Serial Number: f8:dc:7a:3c:44:58
Run CMD11 1.8V switch
switch to partitions #0, OK
mmc1 is current device
flash target is MMC:1
Run CMD11 1.8V switch
Net:   eth0: ethernet@30be0000
Fastboot: Normal
Normal Boot
Hit any key to stop autoboot:  0 
Run CMD11 1.8V switch
switch to partitions #0, OK
mmc1 is current device
Run CMD11 1.8V switch
6026582 bytes read in 84 ms (68.4 MiB/s)
Uncompressed size: 12939272 = 0xC57008
Booting from mmc ...
fdt_file=imx8mm-var-som-symphony-legacy.dtb
45748 bytes read in 18 ms (2.4 MiB/s)
## Flattened Device Tree blob at 43000000
   Booting using the fdt blob at 0x43000000
   Using Device Tree in place at 0000000043000000, end 000000004300e2b3

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[    0.000000] Linux version 5.4.85+g786d1c620c92 (oe-user@oe-host) (gcc version 9.3.0 (GCC)) #1 SMP PREEMPT Mon Mar 29 15:21:11 UTC 2021
[    0.000000] Machine model: Variscite VAR-SOM-MX8M-MINI on Symphony-Board 1.4 and below
[    0.000000] cma: Reserved 640 MiB at 0x0000000056000000
[    0.000000] NUMA: No NUMA configuration found
[    0.000000] NUMA: Faking a node at [mem 0x0000000040000000-0x00000000bfffffff]
[    0.000000] NUMA: NODE_DATA [mem 0xbfbc5800-0xbfbc6fff]
[    0.000000] Zone ranges:
[    0.000000]   DMA32    [mem 0x0000000040000000-0x00000000bfffffff]
[    0.000000]   Normal   empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000040000000-0x00000000bfffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000040000000-0x00000000bfffffff]
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: PSCIv1.1 detected in firmware.
[    0.000000] psci: Using standard PSCI v0.2 function IDs
[    0.000000] psci: MIGRATE_INFO_TYPE not supported.
[    0.000000] psci: SMC Calling Convention v1.1
[    0.000000] percpu: Embedded 21 pages/cpu s48728 r8192 d29096 u86016
[    0.000000] Detected VIPT I-cache on CPU0
[    0.000000] CPU features: detected: ARM erratum 845719
[    0.000000] CPU features: detected: GIC system register CPU interface
[    0.000000] Speculative Store Bypass Disable mitigation not required
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 516096
[    0.000000] Policy zone: DMA32
[    0.000000] Kernel command line: console=ttymxc3,115200 root=/dev/mmcblk1p1 rootwait rw cma=640M@1376M
[    0.000000] Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes, linear)
[    0.000000] Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 1388204K/2097152K available (8382K kernel code, 604K rwdata, 3120K rodata, 448K init, 369K bss, 53588K reserved, 655360K cma-reserved)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] rcu: Preemptible hierarchical RCU implementation.
[    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=4.
[    0.000000]  Tasks RCU enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
[    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
[    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[    0.000000] GICv3: GIC: Using split EOI/Deactivate mode
[    0.000000] GICv3: 128 SPIs implemented
[    0.000000] GICv3: 0 Extended SPIs implemented
[    0.000000] GICv3: Distributor has no Range Selector support
[    0.000000] GICv3: 16 PPIs implemented
[    0.000000] GICv3: no VLPI support, no direct LPI support
[    0.000000] GICv3: CPU0: found redistributor 0 region 0:0x0000000038880000
[    0.000000] ITS: No ITS available, not enabling LPIs
[    0.000000] random: get_random_bytes called from start_kernel+0x2b4/0x434 with crng_init=0
[    0.000000] arch_timer: cp15 timer(s) running at 8.00MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x1d854df40, max_idle_ns: 440795202120 ns
[    0.000003] sched_clock: 56 bits at 8MHz, resolution 125ns, wraps every 2199023255500ns
[    0.000349] Console: colour dummy device 80x25
[    0.000427] Calibrating delay loop (skipped), value calculated using timer frequency.. 16.00 BogoMIPS (lpj=32000)
[    0.000437] pid_max: default: 32768 minimum: 301
[    0.000538] Mount-cache hash table entries: 4096 (order: 3, 32768 bytes, linear)
[    0.000550] Mountpoint-cache hash table entries: 4096 (order: 3, 32768 bytes, linear)
[    0.001927] ASID allocator initialised with 32768 entries
[    0.001995] rcu: Hierarchical SRCU implementation.
[    0.002644] smp: Bringing up secondary CPUs ...
[    0.003009] Detected VIPT I-cache on CPU1
[    0.003039] GICv3: CPU1: found redistributor 1 region 0:0x00000000388a0000
[    0.003084] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
[    0.003489] Detected VIPT I-cache on CPU2
[    0.003505] GICv3: CPU2: found redistributor 2 region 0:0x00000000388c0000
[    0.003525] CPU2: Booted secondary processor 0x0000000002 [0x410fd034]
[    0.003888] Detected VIPT I-cache on CPU3
[    0.003902] GICv3: CPU3: found redistributor 3 region 0:0x00000000388e0000
[    0.003921] CPU3: Booted secondary processor 0x0000000003 [0x410fd034]
[    0.004019] smp: Brought up 1 node, 4 CPUs
[    0.004024] SMP: Total of 4 processors activated.
[    0.004030] CPU features: detected: 32-bit EL0 Support
[    0.004036] CPU features: detected: CRC32 instructions
[    0.008925] CPU: All CPU(s) started at EL2
[    0.008945] alternatives: patching kernel code
[    0.010329] devtmpfs: initialized
[    0.016925] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.016948] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[    0.034662] pinctrl core: initialized pinctrl subsystem
[    0.035607] NET: Registered protocol family 16
[    0.036957] DMA: preallocated 256 KiB pool for atomic allocations
[    0.037432] cpuidle: using governor menu
[    0.037593] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[    0.037848] imx mu driver is registered.
[    0.037867] imx rpmsg driver is registered.
[    0.042335] imx8mm-pinctrl 30330000.pinctrl: initialized IMX pinctrl driver
[    0.055009] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages
[    0.055022] HugeTLB registered 32.0 MiB page size, pre-allocated 0 pages
[    0.055027] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[    0.055033] HugeTLB registered 64.0 KiB page size, pre-allocated 0 pages
[    0.058727] iommu: Default domain type: Translated 
[    0.058906] vgaarb: loaded
[    0.060088] mc: Linux media interface: v0.10
[    0.060115] videodev: Linux video capture interface: v2.00
[    0.060184] pps_core: LinuxPPS API ver. 1 registered
[    0.060189] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <[email protected]>
[    0.060202] PTP clock support registered
[    0.061687] clocksource: Switched to clocksource arch_sys_counter
[    0.067228] thermal_sys: Registered thermal governor 'step_wise'
[    0.067233] thermal_sys: Registered thermal governor 'power_allocator'
[    0.067621] NET: Registered protocol family 2
[    0.068133] tcp_listen_portaddr_hash hash table entries: 1024 (order: 2, 16384 bytes, linear)
[    0.068164] TCP established hash table entries: 16384 (order: 5, 131072 bytes, linear)
[    0.068276] TCP bind hash table entries: 16384 (order: 6, 262144 bytes, linear)
[    0.068599] TCP: Hash tables configured (established 16384 bind 16384)
[    0.068702] UDP hash table entries: 1024 (order: 3, 32768 bytes, linear)
[    0.068744] UDP-Lite hash table entries: 1024 (order: 3, 32768 bytes, linear)
[    0.068893] NET: Registered protocol family 1
[    0.069304] RPC: Registered named UNIX socket transport module.
[    0.069309] RPC: Registered udp transport module.
[    0.069314] RPC: Registered tcp transport module.
[    0.069318] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.069330] PCI: CLS 0 bytes, default 64
[    0.070140] hw perfevents: enabled with armv8_pmuv3 PMU driver, 7 counters available
[    0.071286] Initialise system trusted keyrings
[    0.071446] workingset: timestamp_bits=44 max_order=19 bucket_order=0
[    0.076009] NFS: Registering the id_resolver key type
[    0.076039] Key type id_resolver registered
[    0.076044] Key type id_legacy registered
[    0.076056] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.076385] Key type asymmetric registered
[    0.076392] Asymmetric key parser 'x509' registered
[    0.076422] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246)
[    0.076540] io scheduler mq-deadline registered
[    0.076546] io scheduler kyber registered
[    0.078554] pwm-backlight backlight: backlight supply power not found, using dummy regulator
[    0.084868] mxs-dma 33000000.dma-controller: initialized
[    0.085435] Bus freq driver module loaded
[    0.088094] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[    0.089829] 30860000.serial: ttymxc0 at MMIO 0x30860000 (irq = 31, base_baud = 1500000) is a IMX
[    0.090289] 30880000.serial: ttymxc2 at MMIO 0x30880000 (irq = 32, base_baud = 1500000) is a IMX
[    0.090713] 30890000.serial: ttymxc1 at MMIO 0x30890000 (irq = 33, base_baud = 5000000) is a IMX
[    0.091098] 30a60000.serial: ttymxc3 at MMIO 0x30a60000 (irq = 39, base_baud = 1500000) is a IMX
[    0.867068] printk: console [ttymxc3] enabled
[    0.876888] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    0.883528] [drm] No driver support for vblank timestamp query.
[    0.889542] imx-drm soc@0:bus@32c00000:display-subsystem: bound imx-lcdif-crtc.0 (ops lcdif_crtc_ops)
[    0.899483] imx_sec_dsim_drv 32e10000.mipi_dsi: version number is 0x1060200
[    0.907032] imx_sec_dsim_drv 32e10000.mipi_dsi: Failed to attach bridge: 32e10000.mipi_dsi
[    0.915306] imx_sec_dsim_drv 32e10000.mipi_dsi: failed to bind sec dsim bridge: -517
[    0.925060] libphy: Fixed MDIO Bus: probed
[    0.930444] input: 30370000.snvs:snvs-powerkey as /devices/platform/soc@0/soc@0:bus@30000000/30370000.snvs/30370000.snvs:snvs-powerkey/input/input0
[    0.944420] i2c /dev entries driver
[    0.948137] mx6s-csi 32e20000.csi1_bridge: initialising
[    0.953949] mxc_mipi-csi 32e30000.mipi_csi: 32e30000.mipi_csi supply mipi-phy not found, using dummy regulator
[    0.964155] mxc_mipi-csi 32e30000.mipi_csi: mipi csi v4l2 device registered
[    0.971133] CSI: Registered sensor subdevice: mxc_mipi-csi.0
[    0.976816] mxc_mipi-csi 32e30000.mipi_csi: lanes: 2, hs_settle: 13, clk_settle: 2, wclk: 1, freq: 333000000
[    0.990058] imx2-wdt 30280000.watchdog: timeout 60 sec (nowayout=0)
[    0.997330] sdhci: Secure Digital Host Controller Interface driver
[    1.003523] sdhci: Copyright(c) Pierre Ossman
[    1.007884] sdhci-pltfm: SDHCI platform and OF driver helper
[    1.014162] mmc0: CQHCI version 5.10
[    1.049598] mmc0: SDHCI controller on 30b40000.mmc [30b40000.mmc] using ADMA
[    1.057161] mmc1: CQHCI version 5.10
[    1.061289] mmc2: CQHCI version 5.10
[    1.095260] mmc2: SDHCI controller on 30b60000.mmc [30b60000.mmc] using ADMA
[    1.104543] ledtrig-cpu: registered to indicate activity on CPUs
[    1.111866] caam 30900000.crypto: device ID = 0x0a16040100000000 (Era 9)
[    1.118627] caam 30900000.crypto: job rings = 3, qi = 0
[    1.143997] caam algorithms registered in /proc/crypto
[    1.150268] caam 30900000.crypto: caam pkc algorithms registered in /proc/crypto
[    1.159808] caam_jr 30901000.jr: registering rng-caam
[    1.170546] caam-snvs 30370000.caam-snvs: violation handlers armed - non-secure state
[    1.178609] hidraw: raw HID events driver (C) Jiri Kosina
[    1.187336] NET: Registered protocol family 17
[    1.191858] 8021q: 802.1Q VLAN Support v1.8
[    1.196099] Key type dns_resolver registered
[    1.201076] Loading compiled-in X.509 certificates
[    1.215885] mmc2: Command Queue Engine enabled
[    1.220559] mmc2: new HS400 Enhanced strobe MMC card at address 0001
[    1.223077] GPIO line 101 (cam_buf_en) hogged as output/low
[    1.228015] mmcblk2: mmc2:0001 AJTD4R 14.6 GiB 
[    1.235911] gpio-142 (scl): enforced open drain please flag it properly in DT/ACPI DSDT/board file
[    1.237421] mmcblk2boot0: mmc2:0001 AJTD4R partition 1 4.00 MiB
[    1.252245] mmcblk2boot1: mmc2:0001 AJTD4R partition 2 4.00 MiB
[    1.258708] mmcblk2rpmb: mmc2:0001 AJTD4R partition 3 4.00 MiB, chardev (243:0)
[    1.267700]  mmcblk2: p1
[    1.397758] random: fast init done
[    1.401600] LDO6: supplied by regulator-dummy
[    1.406097] i2c i2c-0: IMX I2C adapter registered
[    1.411354] gpio-144 (scl): enforced open drain please flag it properly in DT/ACPI DSDT/board file
[    1.421498] ov5640_mipi 1-003c: 1-003c supply DOVDD not found, using dummy regulator
[    1.429320] ov5640_mipi 1-003c: 1-003c supply DVDD not found, using dummy regulator
[    1.437019] ov5640_mipi 1-003c: 1-003c supply AVDD not found, using dummy regulator
[    1.514986] ov5640_mipi 1-003c: Read reg error: reg=300a
[    1.520317] ov5640_mipi 1-003c: Camera is not found
[    1.525632] pca953x 1-0020: using no AI
[    1.537293] GPIO line 508 (usb3_sel) hogged as output/low
[    1.545469] GPIO line 509 (enet_rst) hogged as output/low
[    1.553648] GPIO line 510 (som_vsel) hogged as output/low
[    1.562104] GPIO line 511 (enet_sel) hogged as output/low
[    1.572725] i2c i2c-1: IMX I2C adapter registered
[    1.577924] gpio-146 (scl): enforced open drain please flag it properly in DT/ACPI DSDT/board file
[    1.625165] input: generic ft5x06 (7b) as /devices/platform/soc@0/soc@0:bus@30800000/30a40000.i2c/i2c-2/2-0038/input/input1
[    1.644902] rtc-ds1307 2-0068: SET TIME!
[    1.662752] rtc-ds1307 2-0068: registered as rtc0
[    1.667500] i2c i2c-2: IMX I2C adapter registered
[    1.672704] gpio-148 (scl): enforced open drain please flag it properly in DT/ACPI DSDT/board file
[    1.682175] i2c i2c-3: IMX I2C adapter registered
[    1.687757] pwm-backlight backlight: backlight supply power not found, using dummy regulator
[    1.688211] imx6q-pcie 33800000.pcie: couldn't get pcie-phy
[    1.698339] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    1.701866] imx6q-pcie 33800000.pcie: 33800000.pcie supply epdev_on not found, using dummy regulator
[    1.708423] [drm] No driver support for vblank timestamp query.
[    1.717856] imx6q-pcie 33800000.pcie: host bridge /soc@0/pcie@33800000 ranges:
[    1.723548] imx-drm soc@0:bus@32c00000:display-subsystem: bound imx-lcdif-crtc.0 (ops lcdif_crtc_ops)
[    1.730723] imx6q-pcie 33800000.pcie:    IO 0x1ff80000..0x1ff8ffff -> 0x00000000
[    1.740618] imx_sec_dsim_drv 32e10000.mipi_dsi: version number is 0x1060200
[    1.747329] imx6q-pcie 33800000.pcie:   MEM 0x18000000..0x1fefffff -> 0x18000000
[    1.755550] imx-drm soc@0:bus@32c00000:display-subsystem: bound 32e10000.mipi_dsi (ops imx_sec_dsim_ops)
[    1.761755] imx6q-pcie 33800000.pcie: EXT REF_CLK is used!.
[    1.771792] [drm] Initialized imx-drm 1.0.0 20120507 for soc@0:bus@32c00000:display-subsystem on minor 0
[    1.801696] sn65dsi83 0-002c: DSI clock [ 99000000 ] Hz
[    1.801702] sn65dsi83 0-002c: Resolution [ 800 x 480 ]
[    1.805211] sn65dsi83 0-002c: lvds_clk=33000000 lvds_clk_range=0x0
[    1.811833] sn65dsi83 0-002c: dsi_clk_range=0x13
[    1.811837] sn65dsi83 0-002c: dsi_clk_div=0x2
[    1.882074] imx6q-pcie 33800000.pcie: PCIe PLL locked after 20 us.
[    2.138072] Console: switching to colour frame buffer device 100x30
[    2.190382] imx-drm soc@0:bus@32c00000:display-subsystem: fb0: imx-drmdrmfb frame buffer device
[    2.212416] pps pps0: new PPS source ptp0
[    2.219042] libphy: fec_enet_mii_bus: probed
[    2.228101] fec 30be0000.ethernet eth0: registered PHC device 0
[    2.234332] imx-cpufreq-dt imx-cpufreq-dt: cpu speed grade 3 mkt segment 0 supported-hw 0x8 0x1
[    2.246413] mmc1: CQHCI version 5.10
[    2.250050] sdhci-esdhc-imx 30b50000.mmc: Got CD GPIO
[    2.287922] mmc1: SDHCI controller on 30b50000.mmc [30b50000.mmc] using ADMA
[    2.321365] input: gpio-keys as /devices/platform/gpio-keys/input/input2
[    2.339640] input: bd718xx-pwrkey as /devices/platform/soc@0/soc@0:bus@30800000/30a20000.i2c/i2c-0/0-004b/gpio-keys.0.auto/input/input3
[    2.358939] rtc-ds1307 2-0068: setting system clock to 2000-01-01T00:00:06 UTC (946684806)
[    2.880368] imx6q-pcie 33800000.pcie: Phy link never came up
[    2.886085] imx6q-pcie 33800000.pcie: failed to initialize host
[    2.892033] imx6q-pcie 33800000.pcie: unable to add pcie port.
[    2.898523] Waiting for root device /dev/mmcblk1p1..

Missing imx_v7_var_defconfig

Branch: hardknott
Machine: var-som-mx6

Referenced

LINUX_VERSION = "5.4.127"
SRCBRANCH = "5.4-2.3.x-imx_var01"
SRCREV = "920c302cfe05d805f97be9635af411e67c888051"
KERNEL_SRC = "git://github.com/varigit/linux-imx;protocol=git"

Does not contain imx_v7_var_defconfig producing build failure.
In fact it contains imx_v7_defconfig so maybe its a typo.

KBUILD_DEFCONFIG_var-som-mx6 = "imx_v7_var_defconfig"

Default branch

I suggest setting the default branch to the newest version of the repo. Now it's on morty, which is from 2016 and quite outdated. A likely even better alternative could be a master branch with work-in-progress updates, since the developers who access the github repo here likely are the more experiences users who are not using the pre-defined package structure and are experimenting with different setups, as well could contribute with bug-fixes before an official release is posted.

fsl-image-gui.bb

Fails during do_image() when using "usrmerge" DISTRO feature. The feature is used when the OTA updater is ostree and not swupdate.

Exception: bb.process.ExecutionError: Execution of '/build/repo/var-fslc-yocto/build_xwayland/tmp/work/imx8qm_var_som-fslc-linux/fsl-image-gui/1.0-r0/temp/run.systemd_disable_vt.4015395' failed with exit code 1:
rm: cannot remove '/build/repo/var-fslc-yocto/build_xwayland/tmp/work/imx8qm_var_som-fslc-linux/fsl-image-gui/1.0-r0/rootfs/usr/etc/systemd/system/getty.target.wants/getty@tty*.service': No such file or directory

dart6ul thud no wifi on image with systemd

Hi,

I have build a thud image with init.d and the wifi drivers are loaded and working, but when I build with systemd, there is no wifi and the kernel complains about the driver.

I am running:
bitbake fsl-image-gui
bitbake var-image-swupdate
bitbake var-image-swu

Can you verify?

on init.d:
brcmfmac: brcmf_fw_map_chip_to_name: using brcm/brcmfmac4339-sdio.bin for chip 0x004339(17209) rev 0x000002
brcmfmac mmc0:0001:1: Falling back to user helper
brcmfmac: brcmf_c_process_clm_blob: no clm_blob available(err=-11), device may have limited channels available
brcmfmac: brcmf_c_preinit_dcmds: Firmware version = wl0: Jun 26 2018 01:58:05 version 6.37.39.94 (r692107 CY)
WIFI startup success

on systemd:
brcmfmac: brcmf_c_process_clm_blob: no clm_blob available(err=-2), device may have limited channels available
Unable to handle kernel NULL pointer dereference at virtual address 00000118
pgd = 80004000
[00000118] *pgd=00000000
Internal error: Oops: 17 [#1] PREEMPT SMP ARM
Modules linked in: brcmfmac brcmutil imx_sdma virt_dma
CPU: 0 PID: 84 Comm: kworker/0:3 Not tainted 4.14.78-mx6ul+gc228d86 #1
Hardware name: Freescale i.MX6 UltraLite (Device Tree)
Workqueue: events request_firmware_work_func
task: 9c357000 task.stack: 9c5d4000
task: 9c357000 task.stack: 9c5d4000
PC is at mutex_lock+0x14/0x3c
LR is at brcmf_fil_iovar_data_get+0x2c/0xbc [brcmfmac]
pc : [<809984c4>] lr : [<7f027398>] psr: 600e0013
sp : 9c5d5c90 ip : 00726576 fp : 00000001
r10: 00000008 r9 : 7f03e210 r8 : 00000100
r7 : 9c5d5d18 r6 : 9dc19d00 r5 : 00000118 r4 : 0000012c
r3 : 9c357000 r2 : 9c5d5d18 r1 : 7f03e210 r0 : 00000118
Flags: nZCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment none
Control: 10c53c7d Table: 9dd0c06a DAC: 00000051
Process kworker/0:3 (pid: 84, stack limit = 0x9c5d4210)
Stack: (0x9c5d5c90 to 0x9c5d6000)
5c80: 9dc19d00 9dc19d00 9cf18000 9dc19d00
5ca0: 9cf18000 00000000 00000001 9dc24a40 00000002 7f02aa34 9c5d5d68 00000000
5cc0: 00000002 00000000 9c5d4000 00000001 00004001 000014e4 000043ae 92069000
5ce0: 00000001 0000002e 000006c5 000014e4 00001203 0625275e 00000000 00000000
5d00: 00004339 0000000b 00000006 00000000 00000002 000642cc 00726576 00000000
5d20: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
5d40: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
5d60: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
5d80: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
5da0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
5dc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
5de0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
5e00: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 9cf18000
5e20: 9dc19d00 7f02c660 7f03e760 00000000 00000000 9cb33000 9cb58c00 9dd73808
5e40: 00000001 00000001 00000002 7f034730 000008e0 00000001 00000000 00000000
5e60: 9cef7500 00000000 80ff694c 9dc24f40 7f0343c0 9cc8a000 9cc8a000 00000000
5e80: 00000000 9fbd7bc0 9cd6f2c0 7f02d0d8 000008e0 8051bf6c 9cd6f280 9cd6f2c0
5ea0: 9cef7500 9c5d5f1c 00000000 80fe17dc 80a5c57c 8051c924 7fffffff 00000000
5ec0: 00000001 00000000 a4a95000 9cc8a000 000008d8 00000068 00000001 00000938
5ee0: 0000092b 00010000 9fbd7bc0 9cd6f240 9c5ba480 9fbd7bc0 9fbdab00 00000000
5f00: 00000000 9fbd7bc0 ffffe000 8051ce6c 00000000 00000007 ffffe000 9cd6f2c0
5f20: 9cd6f240 80140e08 00000008 80f02d00 9c5ba480 9c5ba498 9fbd7bc0 00000008
5f40: 80f02d00 9fbd7bd8 9fbd7bc0 80141a9c ffffe000 80f96ebc 80c16de0 00000000
5f60: ffffe000 9c5bb640 9c5bb340 00000000 9c5d4000 9c5ba480 80141a4c 9c063ec8
5f80: 9c5bb65c 801468f8 9c5d4000 9c5bb340 801467ac 00000000 00000000 00000000
5fa0: 00000000 00000000 00000000 80107a48 00000000 00000000 00000000 00000000
5fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
5fe0: 00000000 00000000 00000000 00000000 00000013 00000000 00000000 00000000
[<809984c4>] (mutex_lock) from [<7f027398>] (brcmf_fil_iovar_data_get+0x2c/0xbc [brcmfmac])
[<7f027398>] (brcmf_fil_iovar_data_get [brcmfmac]) from [<7f02aa34>] (brcmf_c_preinit_dcmds+0x12c/0x44c [brcmfmac])
[<7f02aa34>] (brcmf_c_preinit_dcmds [brcmfmac]) from [<7f02c660>] (brcmf_bus_started+0x64/0x28c [brcmfmac])
[<7f02c660>] (brcmf_bus_started [brcmfmac]) from [<7f034730>] (brcmf_sdio_firmware_callback+0x370/0x6ac [brcmfmac])
[<7f034730>] (brcmf_sdio_firmware_callback [brcmfmac]) from [<7f02d0d8>] (brcmf_fw_request_nvram_done+0x190/0x6d4 [brcmfmac])
[<7f02d0d8>] (brcmf_fw_request_nvram_done [brcmfmac]) from [<8051ce6c>] (request_firmware_work_func+0x3c/0x64)
[<8051ce6c>] (request_firmware_work_func) from [<80140e08>] (process_one_work+0x1d8/0x410)
[<80140e08>] (process_one_work) from [<80141a9c>] (worker_thread+0x50/0x598)
[<80141a9c>] (worker_thread) from [<801468f8>] (kthread+0x14c/0x154)
[<801468f8>] (kthread) from [<80107a48>] (ret_from_fork+0x14/0x2c)
Code: e3c33d7f e3c3303f e593300c f590f000 (e1901f9f)
---[ end trace 3adeed9f6dd268af ]---
brcmfmac: brcmf_c_process_clm_blob: no clm_blob available(err=-2), device may have limited channels available
Unable to handle kernel NULL pointer dereference at virtual address 00000010
pgd = 80004000
[00000010] *pgd=00000000
Internal error: Oops: 17 [#2] PREEMPT SMP ARM
Modules linked in: brcmfmac brcmutil imx_sdma virt_dma
CPU: 0 PID: 610 Comm: kworker/0:4 Tainted: G D 4.14.78-mx6ul+gc228d86 #1
Hardware name: Freescale i.MX6 UltraLite (Device Tree)
Workqueue: events request_firmware_work_func
task: 9c321800 task.stack: 9dd92000
PC is at brcmf_fil_cmd_data+0x14/0x94 [brcmfmac]
LR is at 0x0
pc : [<7f026f8c>] lr : [<00000000>] psr: 200e0113
sp : 9dd93c80 ip : 9d950000 fp : 00000001
r10: 00000008 r9 : 7f03e210 r8 : 00000100
r7 : 9dd93d18 r6 : 9dc1a500 r5 : 9d950118 r4 : 00000000
r3 : 00000104 r2 : 9d95012c r1 : 00000106 r0 : 9dc1a500
Flags: nzCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment none
Control: 10c53c7d Table: 9dd0c06a DAC: 00000051
Process kworker/0:4 (pid: 610, stack limit = 0x9dd92210)
Stack: (0x9dd93c80 to 0x9dd94000)
3c80: 00000100 7f03e210 9d95012c 7f0273cc 00000000 9dc1a500 9d950000 9dc1a500
3ca0: 9d950000 00000000 00000001 9caef700 00000002 7f02aa34 9dd93d68 00000000
3cc0: 00000002 00000000 9dd92000 00000001 00207000 000014e4 000043ae 92069000
3ce0: 00000001 0000002e 000006c5 000014e4 00001203 0625275e 00000000 00000000
3d00: 00004339 0000000b 00000006 00000000 00000002 000642cc 00726576 00000000
3d20: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
3d40: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
3d60: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
3d80: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
3da0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
3dc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
3de0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
3e00: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 9d950000
3e20: 9dc1a500 7f02c660 7f03e760 00000000 00000000 9cafa400 9cafa800 9d965208
3e40: 00000001 00000001 00000002 7f034730 000008e0 00000001 00000000 00000000
3e60: 9cef7a80 00000000 80ff694c 9dc24300 7f0343c0 9cc8a000 9cc8a000 00000000
3e80: 00000000 9fbd7bc0 9dc24940 7f02d0d8 000008e0 8051bf6c 9dc24ec0 9dc24940
3ea0: 9cef7a80 9dd93f1c 00000000 80fe17dc 80a5c57c 8051c924 7fffffff 00000000
3ec0: 00000001 00000000 a4aa5000 9cc8a000 000008d8 00000068 00000001 00000938
3ee0: 0000092b 00010000 9c154a10 9dc24f00 9d958580 9fbd7bc0 9fbdab00 00000000
3f00: 00000000 9fbd7bc0 ffffe000 8051ce6c 00000000 00000007 ffffe000 9dc24940
3f20: 9dc24f00 80140e08 00000008 80f02d00 9d958580 9d958598 9fbd7bc0 00000008
3f40: 80f02d00 9fbd7bd8 9fbd7bc0 80141a9c ffffe000 80f96ebc 80c16de0 00000000
3f60: ffffe000 9caa1f80 9caa15c0 00000000 9dd92000 9d958580 80141a4c 9c063ec8
3f80: 9caa1f9c 801468f8 9dd92000 9caa15c0 801467ac 00000000 00000000 00000000
3fa0: 00000000 00000000 00000000 80107a48 00000000 00000000 00000000 00000000
3fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
3fe0: 00000000 00000000 00000000 00000000 00000013 00000000 00000000 00000000
[<7f026f8c>] (brcmf_fil_cmd_data [brcmfmac]) from [<7f0273cc>] (brcmf_fil_iovar_data_get+0x60/0xbc [brcmfmac])
[<7f0273cc>] (brcmf_fil_iovar_data_get [brcmfmac]) from [<7f02aa34>] (brcmf_c_preinit_dcmds+0x12c/0x44c [brcmfmac])
[<7f02aa34>] (brcmf_c_preinit_dcmds [brcmfmac]) from [<7f02c660>] (brcmf_bus_started+0x64/0x28c [brcmfmac])
[<7f02c660>] (brcmf_bus_started [brcmfmac]) from [<7f034730>] (brcmf_sdio_firmware_callback+0x370/0x6ac [brcmfmac])
[<7f034730>] (brcmf_sdio_firmware_callback [brcmfmac]) from [<7f02d0d8>] (brcmf_fw_request_nvram_done+0x190/0x6d4 [brcmfmac])
[<7f02d0d8>] (brcmf_fw_request_nvram_done [brcmfmac]) from [<8051ce6c>] (request_firmware_work_func+0x3c/0x64)
[<8051ce6c>] (request_firmware_work_func) from [<80140e08>] (process_one_work+0x1d8/0x410)
[<80140e08>] (process_one_work) from [<80141a9c>] (worker_thread+0x50/0x598)
[<80141a9c>] (worker_thread) from [<801468f8>] (kthread+0x14c/0x154)
[<801468f8>] (kthread) from [<80107a48>] (ret_from_fork+0x14/0x2c)
Code: e24dd008 e590c000 e5dd4010 e59ce000 (e59ee010)
---[ end trace 3adeed9f6dd268b0 ]---
sysfs group 'power' not found for kobject 'brcm!brcmfmac4339-sdio.clm_blob'
Modules linked in: brcmfmac brcmutil imx_sdma virt_dma
CPU: 0 PID: 83 Comm: kworker/0:2 Tainted: G D 4.14.78-mx6ul+gc228d86 #1
Hardware name: Freescale i.MX6 UltraLite (Device Tree)
Workqueue: events request_firmware_work_func
[<8010f770>] (unwind_backtrace) from [<8010b278>] (show_stack+0x10/0x14)
[<8010b278>] (show_stack) from [<8098355c>] (dump_stack+0x78/0x8c)
[<8098355c>] (dump_stack) from [<8012aa50>] (__warn+0xe4/0x100)
[<8012aa50>] (__warn) from [<8012a6c8>] (warn_slowpath_fmt+0x38/0x48)
[<8012a6c8>] (warn_slowpath_fmt) from [<80274ef4>] (sysfs_remove_group+0x94/0x9c)
[<80274ef4>] (sysfs_remove_group) from [<80501568>] (device_del+0xec/0x32c)
[<80501568>] (device_del) from [<8051cbac>] (_request_firmware+0x5c4/0x6cc)
[<8051cbac>] (_request_firmware) from [<8051ccf0>] (request_firmware+0x3c/0x54)
[<8051ccf0>] (request_firmware) from [<7f02a710>] (brcmf_c_process_clm_blob+0x54/0x24c [brcmfmac])
[<7f02a710>] (brcmf_c_process_clm_blob [brcmfmac]) from [<7f02a9fc>] (brcmf_c_preinit_dcmds+0xf4/0x44c [brcmfmac])
[<7f02a9fc>] (brcmf_c_preinit_dcmds [brcmfmac]) from [<7f02c660>] (brcmf_bus_started+0x64/0x28c [brcmfmac])
[<7f02c660>] (brcmf_bus_started [brcmfmac]) from [<7f034730>] (brcmf_sdio_firmware_callback+0x370/0x6ac [brcmfmac])
[<7f034730>] (brcmf_sdio_firmware_callback [brcmfmac]) from [<7f02d0d8>] (brcmf_fw_request_nvram_done+0x190/0x6d4 [brcmfmac])
[<7f02d0d8>] (brcmf_fw_request_nvram_done [brcmfmac]) from [<8051ce6c>] (request_firmware_work_func+0x3c/0x64)
[<8051ce6c>] (request_firmware_work_func) from [<80140e08>] (process_one_work+0x1d8/0x410)
[<80140e08>] (process_one_work) from [<80141a9c>] (worker_thread+0x50/0x598)
[<80141a9c>] (worker_thread) from [<801468f8>] (kthread+0x14c/0x154)
[<801468f8>] (kthread) from [<80107a48>] (ret_from_fork+0x14/0x2c)
---[ end trace 3adeed9f6dd268b1 ]---
brcmfmac: brcmf_c_process_clm_blob: no clm_blob available(err=-11), device may have limited channels available
Unable to handle kernel NULL pointer dereference at virtual address 00000118
pgd = 80004000
[00000118] *pgd=00000000
Internal error: Oops: 17 [#3] PREEMPT SMP ARM
Modules linked in: brcmfmac brcmutil imx_sdma virt_dma
CPU: 0 PID: 83 Comm: kworker/0:2 Tainted: G D W 4.14.78-mx6ul+gc228d86 #1
Hardware name: Freescale i.MX6 UltraLite (Device Tree)
Workqueue: events request_firmware_work_func
task: 9c356a00 task.stack: 9c5d2000
PC is at mutex_lock+0x14/0x3c
LR is at brcmf_fil_iovar_data_get+0x2c/0xbc [brcmfmac]
pc : [<809984c4>] lr : [<7f027398>] psr: 60070013
sp : 9c5d3c90 ip : 00726576 fp : 00000001
r10: 00000008 r9 : 7f03e210 r8 : 00000100
r7 : 9c5d3d18 r6 : 9c827500 r5 : 00000118 r4 : 0000012c
r3 : 9c356a00 r2 : 9c5d3d18 r1 : 7f03e210 r0 : 00000118
Flags: nZCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment none
Control: 10c53c7d Table: 9cce006a DAC: 00000051
Process kworker/0:2 (pid: 83, stack limit = 0x9c5d2210)
Stack: (0x9c5d3c90 to 0x9c5d4000)
3c80: 9c827500 9c827500 9cefc000 9c827500
3ca0: 9cefc000 00000000 00000001 9ceacf80 00000002 7f02aa34 f4a0200c f4a02000
3cc0: 00000000 9c355280 9fbd7fc0 9fbd7ff8 80f03ea0 000014e4 000043ae 92069000
3ce0: 00000001 0000002e 000006c5 000014e4 00001203 0625275e 00000000 00000000
3d00: 00004339 0000000b 00000006 00000000 00000002 000642cc 00726576 00000000
3d20: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
3d40: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
3d60: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
3d80: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
3da0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
3dc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
3de0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
3e00: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 9cefc000
3e20: 9c827500 7f02c660 7f03e760 00000000 00000000 9cb43c00 9cb5ec00 9cb31a08
3e40: 00000001 00000001 00000002 7f034730 000008e0 ffffe000 000102a8 00000000
3e60: 9fbd7bc0 00000000 00000001 9ceac440 7f0343c0 9cc8b000 9cc8b000 00000000
3e80: 00000000 9fbd7bc0 9cd97840 7f02d0d8 000008e0 8051bf6c 9cd97800 9cd97840
3ea0: 9ce40180 9c5d3f1c 00000000 80fe17dc 80a5c57c 8051c924 7fffffff 00000000
3ec0: 00000001 00000000 a4a35000 9cc8b000 000008d8 00000068 00000001 00000938
3ee0: 0000092b 00010000 ffffe000 9cd977c0 9c5a1d80 9fbd7bc0 9fbdab00 00000000
3f00: 00000000 9fbd7bc0 ffffe000 8051ce6c 00000000 00000007 ffffe000 9cd97840
3f20: 9cd977c0 80140e08 00000008 80f02d00 9c5a1d80 9c5a1d98 9fbd7bc0 00000008
3f40: 80f02d00 9fbd7bd8 9fbd7bc0 80141a9c ffffe000 80f96ebc 80c16de0 00000000
3f60: ffffe000 9c5b07c0 9c5b0740 00000000 9c5d2000 9c5a1d80 80141a4c 9c063ec8
3f80: 9c5b07dc 801468f8 9c5d2000 9c5b0740 801467ac 00000000 00000000 00000000
3fa0: 00000000 00000000 00000000 80107a48 00000000 00000000 00000000 00000000
3fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
3fe0: 00000000 00000000 00000000 00000000 00000013 00000000 00000000 00000000
[<809984c4>] (mutex_lock) from [<7f027398>] (brcmf_fil_iovar_data_get+0x2c/0xbc [brcmfmac])
[<7f027398>] (brcmf_fil_iovar_data_get [brcmfmac]) from [<7f02aa34>] (brcmf_c_preinit_dcmds+0x12c/0x44c [brcmfmac])
[<7f02aa34>] (brcmf_c_preinit_dcmds [brcmfmac]) from [<7f02c660>] (brcmf_bus_started+0x64/0x28c [brcmfmac])
[<7f02c660>] (brcmf_bus_started [brcmfmac]) from [<7f034730>] (brcmf_sdio_firmware_callback+0x370/0x6ac [brcmfmac])
[<7f034730>] (brcmf_sdio_firmware_callback [brcmfmac]) from [<7f02d0d8>] (brcmf_fw_request_nvram_done+0x190/0x6d4 [brcmfmac])
[<7f02d0d8>] (brcmf_fw_request_nvram_done [brcmfmac]) from [<8051ce6c>] (request_firmware_work_func+0x3c/0x64)
[<8051ce6c>] (request_firmware_work_func) from [<80140e08>] (process_one_work+0x1d8/0x410)
[<80140e08>] (process_one_work) from [<80141a9c>] (worker_thread+0x50/0x598)
[<80141a9c>] (worker_thread) from [<801468f8>] (kthread+0x14c/0x154)
[<801468f8>] (kthread) from [<80107a48>] (ret_from_fork+0x14/0x2c)
Code: e3c33d7f e3c3303f e593300c f590f000 (e1901f9f)
---[ end trace 3adeed9f6dd268b2 ]---

Thank you,
Razvan

unable to execute 'x86_64-linux-gnu-gcc': No such file or directory

I've got the error described in the title of the issue, I also include the log file take a look at the end of the issue. The binary is available in the system in /usr/bin. Maybe I missed any layer for compilation, this is my bblayer:

POKY_BBLAYERS_CONF_VERSION = "2"

BBPATH = "${TOPDIR}"
BBFILES ?= ""

BBLAYERS = " \
  /home/yocto/poky/meta \
  /home/yocto/poky/meta-poky \
  \
  /home/yocto/poky/meta-openembedded/meta-oe \
  /home/yocto/poky/meta-openembedded/meta-multimedia \
  \
  /home/yocto/poky/meta-freescale \
  /home/yocto/poky/meta-freescale-3rdparty \
  /home/yocto/poky/meta-freescale-distro \
  \
  /home/yocto/poky/meta-browser \
  /home/yocto/poky/meta-openembedded/meta-gnome \
  /home/yocto/poky/meta-openembedded/meta-networking \
  /home/yocto/poky/meta-openembedded/meta-python \
  /home/yocto/poky/meta-qt5 \
  /home/yocto/poky/meta-swupdate \
  /home/yocto/poky/meta-variscite-fslc \
"

Error output:

log.zip

freertos-variscite.inc

Does not pass QA when using "usrmerge" DISTRO feature. The feature is used when the OTA updater is ostree and not swupdate.

ERROR: freertos-variscite-2.9.x-r0 do_package_qa: QA Issue: freertos-variscite package is not obeying usrmerge distro feature. /lib should be relocated to /usr. [usrmerge]

dunfell dart-ul6 sd card boot stuck at - random: crng init done

Hi,

I'm following a guide according to https://variwiki.com/index.php?title=Yocto_Build_Release&release=RELEASE_DUNFELL_V1.1_DART-6UL#local.conf_customization

I created SD card image:

zcat fsl-image-gui-imx6ul-var-dart-20230414144948.rootfs.wic.gz | sudo dd of=/dev/sdb2 bs=1M && sync

and attempting to boot via SD card, the kernel stuck at random: crng init done

[ 2.957619] wm8731 1-001a: 1-001a supply DCVDD not found, using dummy regulator
[ 2.965116] wm8731 1-001a: 1-001a supply DBVDD not found, using dummy regulator
[ 2.982088] fsl-sai 202c000.sai: failed to get mclk0 clock: -2
[ 2.997072] usb 2-1: new high-speed USB device number 2 using ci_hdrc
[ 3.008060] NET: Registered protocol family 26
[ 3.014179] NET: Registered protocol family 10
[ 3.021631] Segment Routing with IPv6
[ 3.025543] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[ 3.033218] NET: Registered protocol family 17
[ 3.037943] can: controller area network core (rev 20170425 abi 9)
[ 3.044320] NET: Registered protocol family 29
[ 3.048942] can: raw protocol (rev 20170425)
[ 3.053244] can: broadcast manager protocol (rev 20170425 t)
[ 3.058999] can: netlink gateway (rev 20190810) max_hops=1
[ 3.065160] Bluetooth: RFCOMM TTY layer initialized
[ 3.070343] Bluetooth: RFCOMM socket layer initialized
[ 3.075618] Bluetooth: RFCOMM ver 1.11
[ 3.079488] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 3.084814] Bluetooth: BNEP filters: protocol multicast
[ 3.090120] Bluetooth: BNEP socket layer initialized
[ 3.095099] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[ 3.101404] Bluetooth: HIDP socket layer initialized
[ 3.106507] lib80211: common routines for IEEE802.11 drivers
[ 3.112342] Key type dns_resolver registered
[ 3.151289] Registering SWP/SWPB emulation handler
[ 3.156458] Loading compiled-in X.509 certificates
[ 3.191464] imx_thermal tempmon: Commercial CPU temperature grade - max:95C critical:90C passive:85C
[ 3.202523] debugfs: Directory '202c000.sai' with parent 'wm8731audio' already present!
[ 3.211526] asoc-simple-card sound: wm8731-hifi <-> 202c000.sai mapping ok
[ 3.225331] input: keys as /devices/soc0/keys/input/input3
[ 3.233369] rtc-ds1307 1-0068: setting system clock to 2023-04-17T11:59:49 UTC (1681732789)
[ 3.242480] ALSA device list:
[ 3.245575] usb 2-1: New USB device found, idVendor=1e0e, idProduct=9011, bcdDevice= 3.18
[ 3.253844] #0: wm8731audio
[ 3.257430] Waiting for root device /dev/mmcblk0p2...
[ 3.262658] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 3.269915] usb 2-1: Product: SimTech, Incorporated
[ 3.274819] usb 2-1: Manufacturer: SimTech, Incorporated
[ 3.280206] usb 2-1: SerialNumber: 0123456789ABCDEF
[ 33.767060] VSD_3V3: disabling
[ 33.770177] gpio_dvfs: disabling
[ 69.107153] random: crng init done

my local.conf is:

MACHINE ??= 'imx6ul-var-dart'
DISTRO ?= 'fslc-framebuffer'
PACKAGE_CLASSES ?= 'package_rpm'
EXTRA_IMAGE_FEATURES ?= "debug-tweaks"
USER_CLASSES ?= "buildstats image-mklibs image-prelink"
PATCHRESOLVE = "noop"
BB_DISKMON_DIRS ??= "
STOPTASKS,${TMPDIR},1G,100K
STOPTASKS,${DL_DIR},1G,100K
STOPTASKS,${SSTATE_DIR},1G,100K
STOPTASKS,/tmp,100M,100K
ABORT,${TMPDIR},100M,1K
ABORT,${DL_DIR},100M,1K
ABORT,${SSTATE_DIR},100M,1K
ABORT,/tmp,10M,1K"
PACKAGECONFIG_append_pn-qemu-system-native = " sdl"
CONF_VERSION = "1"

DL_DIR ?= "${BSPDIR}/downloads/"
ACCEPT_FSL_EULA = "1"

what I missed in settings?

Thanks,
Ilya

Where is u-boot-fw-utils.bb on dunfell branch?

Hi :)

I want to use fw-utils to set and read some variables from userspace. For that I need to specify the storage medium and the addresses in fw_env.config in - I assume - the fw-utils recipe for dunfell. But I found no recipe in the folder.

Regards.

systemd-gpuconfig missing

Compiling imx-gpu-viv fails because it needs systemd-gpuconfig.

ERROR: Nothing RPROVIDES 'systemd-gpuconfig' (but /home/tassle/src/yocto-bsp/sources/meta-variscite-fslc/recipes-graphics/imx-gpu/imx-gpu-viv_6.2.2.p0-aarch32.bb RDEPENDS on or otherwise requires it)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.