Wind River Support Network

HomeDefectsLIN1019-3208
Fixed

LIN1019-3208 : [BTS]Errors were found during bcm-2xxx-rpi4 BSP target boot up

Created: Oct 31, 2019    Updated: Dec 11, 2019
Resolved Date: Nov 20, 2019
Found In Version: 10.19.45.1
Fix Version: 10.19.45.2
Severity: Standard
Applicable for: Wind River Linux LTS 19
Component/s: BSP

Description

1. Build project
setup.sh --machines=bcm-2xxx-rpi4 --templates feature/test --accept-eula=yes --dl-layers

. ./oe-init-build-env build_test

bitbake-layers add-layer wr-testing/bts-dev
echo "WRTEMPLATE_append = \" feature/bts\"" >> conf/local.conf

bitbake wrlinux-image-glibc-std

2. Load images to the target

3. Run the following commands on the target

root@bcm-2xxx-rpi4:/opt/wr-test#./main_test.py -s bootcheck_error

<< [do_test1] start check error message in boot >>
********************
root@bcm-2xxx-rpi4:/opt/wr-test/testcases/bts/bootcheck_error# cat /opt/wr-test/original_status/dmesg.log |grep -i -B10 -A10 "ERROR" || return 0
[ 1.149948] raid6: int64x4 gen() 638 MB/s
[ 1.218027] raid6: int64x4 xor() 544 MB/s
[ 1.286175] raid6: int64x2 gen() 469 MB/s
[ 1.354199] raid6: int64x2 xor() 495 MB/s
[ 1.422288] raid6: int64x1 gen() 347 MB/s
[ 1.490356] raid6: int64x1 xor() 339 MB/s
[ 1.490362] raid6: using algorithm neonx8 gen() 1292 MB/s
[ 1.490369] raid6: .... xor() 1173 MB/s, rmw enabled
[ 1.490376] raid6: using neon recovery algorithm
[ 1.491081] bcm2835-dma fe007000.dma: Unable to set DMA mask
[ 1.491111] bcm2835-dma: probe of fe007000.dma failed with error -5
[ 1.492978] vgaarb: loaded
[ 1.493972] SCSI subsystem initialized
[ 1.494452] usbcore: registered new interface driver usbfs
[ 1.494568] usbcore: registered new interface driver hub
[ 1.494711] usbcore: registered new device driver usb
[ 1.502214] raspberrypi-firmware soc:firmware: Attached to firmware from 2019-07-09 14:40, variant start_x
[ 1.506166] raspberrypi-firmware soc:firmware: Firmware hash is d2b1b7fb01475cb3914b2086299e32d724e832f1
[ 1.511740] Bluetooth: Core ver 2.22
[ 1.511816] NET: Registered protocol family 31
[ 1.511824] Bluetooth: HCI device and connection manager initialized
–
[ 8.394483] systemd[1]: Created slice User and Session Slice.
[ 10.947121] openvswitch: Open vSwitch switching datapath
[ 11.812306] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
[ 11.871368] systemd-journald[145]: Received client request to flush runtime journal.
[ 17.290460] gpiomem-bcm2835 fe200000.gpiomem: Initialised: Registers at 0xfe200000
[ 17.324291] vchiq: module is from the staging directory, the quality is unknown, you have been warned.
[ 17.353986] vchiq: vchiq_init_state: slot_zero = (___ptrval___)
[ 17.594081] snd_bcm2835: module is from the staging directory, the quality is unknown, you have been warned.
[ 17.659481] bcm2835_audio soc:audio: card created with 8 channels
[ 17.665508] bcm2835_audio bcm2835_audio: Failed to get DT property 'brcm,pwm-channels'
[ 17.672519] bcm2835_audio: probe of bcm2835_audio failed with error -22
[ 17.778524] media: Linux media interface: v0.10
[ 17.787660] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[ 17.888462] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[ 17.892917] videodev: Linux video capture interface: v2.00
[ 18.101895] [drm] No displays found. Consider forcing hotplug if HDMI is attached
[ 18.108262] vc4-drm soc:gpu: bound fe600000.firmwarekms (ops vc4_fkms_ops [vc4])
[ 18.113211] vc_sm_cma: module is from the staging directory, the quality is unknown, you have been warned.
[ 18.114681] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[ 18.125636] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43455-sdio for chip BCM4345/6
[ 18.128328] [drm] No driver support for vblank timestamp query.
[ 18.140428] [drm] Setting vblank_disable_immediate to false because get_vblank_timestamp == NULL
[ 18.153574] [drm] Initialized vc4 0.0.0 20140616 for soc:gpu on minor 0
[ 18.153660] usbcore: registered new interface driver brcmfmac
[ 18.177351] bcm2835_mmal_vchiq: module is from the staging directory, the quality is unknown, you have been warned.
[ 18.222247] brcmfmac mmc1:0001:1: Direct firmware load for brcm/brcmfmac43455-sdio.raspberrypi,4-model-b.txt failed with error -2
[ 18.232917] brcmfmac mmc1:0001:1: Direct firmware load for brcm/brcmfmac43455-sdio.txt failed with error -2
[ 18.265874] bcm2835_v4l2: module is from the staging directory, the quality is unknown, you have been warned.
[ 18.891941] uart-pl011 fe201000.serial: no DMA platform data
[ 18.924894] bcm2835-v4l2: scene mode selected 0, was 0
[ 18.925420] bcm2835-v4l2: V4L2 device registered as video0 - stills mode > 1280x720
[ 18.937849] bcm2835-v4l2: Broadcom 2835 MMAL video capture ver 0.0.2 loaded.
[ 19.249519] brcmfmac: brcmf_sdio_htclk: HT Avail timeout (1000000): clkctl 0x50
[ 122.144743] random: crng init done
[ 122.146877] random: 7 urandom warning(s) missed due to ratelimiting
+++++++++++++++++++++++++++++++++++
Hit below related known issue(s), please double check:
1. urandom warning(s) missed due to ratelimiting ==> Not a bug
+++++++++++++++++++++++++++++++++++
<<end check error message in boot >>
********************
<<clean subcase>>
********************

#########################################################################
bootcheck_error (keyword: ) test results:
*1 check error message in boot (do_test1) FAIL
ERROR CMD OR INFO IS :
line:15 "There is error in the boot"
Test Summary
Total number : 1
Pass number : 0
Fail number : 1
Skip number : 0
Excution Time: 2 seconds

Steps to Reproduce

1. Build project
/lpg-build/cdc/fast_prod/WRLINUX_MASTER_WR/MASTER_WR_GIT/wrlinux-10/setup.sh --machines=bcm-2xxx-rpi4 --templates feature/test --accept-eula=yes --dl-layers

. ./oe-init-build-env build_test

bitbake-layers add-layer wr-testing/bts-dev
echo "WRTEMPLATE_append = \" feature/bts\"" >> conf/local.conf 

bitbake wrlinux-image-glibc-std

2. Load images to the target

3. Run the following commands on the target 

root@bcm-2xxx-rpi4:/opt/wr-test#./main_test.py -s bootcheck_error
Live chat
Online