GPIO4 unstable switching because of 1-Wire protocol enabled
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 32/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- linux, python
- Domain
- embedded-iot, operating-systems
Research direction
No source file or test is identified. Start by reproducing the GPIO4 blink behavior on the stated Raspberry Pi Zero 2 W setup with 1-Wire enabled, then trace the relevant Linux GPIO and 1-Wire handling; done means GPIO4 switches reliably as a generic output without breaking 1-Wire support.
Written by the indexing model from the issue text.
Description
Describe the bug
In this thread (https://forums.raspberrypi.com/viewtopic.php?p=2218276#p2218276) it has been concluded that enabling 1-Wire protocol in the Raspberry Pi Configuration window, affects the usage of the GPIO4 pin as a generic I/O pin. This does not happen with I2C and SPI capable pins.
Steps to reproduce the behaviour
Simply running a generic blink.py program when the 1-Wire protocol is enabled shows this behavior of the pin not changing the logic state reliably.
Here is the test program:
import RPi.GPIO as GPIO
import time
# Set up GPIO using BCM numbering
GPIO.setmode(GPIO.BCM)
GPIO.setwarnings(False)
# Set GPIO 4 as output
led_pin = 4
GPIO.setup(led_pin, GPIO.OUT)
try:
while True:
# Turn on the LED
GPIO.output(led_pin, GPIO.HIGH)
print("LED ON")
time.sleep(1) # Wait for 1 second
# Turn off the LED
GPIO.output(led_pin, GPIO.LOW)
print("LED OFF")
time.sleep(1) # Wait for 1 second
except KeyboardInterrupt:
# Clean up GPIO
GPIO.cleanup()
Device (s)
Raspberry Pi Zero 2 W
System
Script started on 2024-05-05 20:50:34+02:00 [TERM="xterm-256color" TTY="/dev/pts/0" COLUMNS="80" LINES="24"]
[?2004h]0;sasa@raspberrypi: ~[01;32msasa@raspberrypi[00m:[01;34m~ $[00m raspinfo
[?2004l
System Information
------------------
Raspberry Pi Zero 2 W Rev 1.0
PRETTY_NAME="Raspbian GNU/Linux 11 (bullseye)"
NAME="Raspbian GNU/Linux"
VERSION_ID="11"
VERSION="11 (bullseye)"
Raspberry Pi reference 2024-03-12
Generated using pi-gen, https://github.com/RPi-Distro/pi-gen, b9b581e0a62afb7200d4b0b72ec2c43485fd49cc, stage4
Linux raspberrypi 6.1.21-v7+ #1642 SMP Mon Apr 3 17:20:52 BST 2023 armv7l GNU/Linux
Revision : 902120
Serial : 000000008f8ab336
Model : Raspberry Pi Zero 2 W Rev 1.0
Throttled flag : throttled=0x0
Camera : supported=0 detected=0, libcamera interfaces=0
Videocore information
---------------------
Mar 17 2023 10:52:42
Copyright (c) 2012 Broadcom
version 82f3750a65fadae9a38077e3c2e217ad158c8d54 (clean) (release) (start)
alloc failures: 0
compactions: 0
legacy block fails: 0
Filesystem information
----------------------
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/root 29474660 5819096 22396320 21% /
devtmpfs 86904 0 86904 0% /dev
tmpfs 218488 0 218488 0% /dev/shm
tmpfs 87396 1024 86372 2% /run
tmpfs 5120 4 5116 1% /run/lock
/dev/mmcblk0p1 261106 51636 209470 20% /boot
tmpfs 43696 24 43672 1% /run/user/1000
Filename Type Size Used Priority
/var/swap file 102396 43776 -2
Package version information
---------------------------
raspberrypi-ui-mods:
Installed: 1.20230127
raspberrypi-sys-mods:
Installed: 20230510~bullseye
openbox:
Installed: 3.6.1-9+rpt1+deb11u1
lxpanel:
Installed: 0.10.1-2+rpt19
pcmanfm:
Installed: 1.3.2-1+rpt9
rpd-plym-splash:
Installed: 0.32
Networking Information
----------------------
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet x.x.x.x netmask x.x.x.x
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 1000 (Local Loopback)
RX packets 23 bytes 2468 (2.4 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 23 bytes 2468 (2.4 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
wlan0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet x.x.x.x netmask x.x.x.x broadcast x.x.x.x
inet6 y.y.y.y.y.y.y.y prefixlen 64 scopeid 0x0<global>
inet6 y::y.y.y.y prefixlen 64 scopeid 0x20<link>
ether m.m.m.m txqueuelen 1000 (Ethernet)
RX packets 3962 bytes 311182 (303.8 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 3751 bytes 1681272 (1.6 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
USB Information
---------------
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=dwc_otg/1p, 480M
Display Information
-------------------
Running (F)KMS and X
Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 2048 x 2048
HDMI-1 disconnected primary (normal left inverted right x axis y axis)
Identifier: 0x43
Timestamp: 11890
Subpixel: unknown
Clones:
CRTCs: 3
Transform: 1.000000 0.000000 0.000000
0.000000 1.000000 0.000000
0.000000 0.000000 1.000000
filter:
Output format: Automatic
supported: Automatic, RGB, YCbCr 4:2:2, YCbCr 4:4:4
Broadcast RGB: Automatic
supported: Automatic, Full, Limited 16:235
max bpc: 8
range: (8, 12)
bottom margin: 0
range: (0, 100)
top margin: 0
range: (0, 100)
right margin: 0
range: (0, 100)
left margin: 0
range: (0, 100)
Colorspace: Default
supported: Default, SMPTE_170M_YCC, BT709_YCC, XVYCC_601, XVYCC_709, SYCC_601, opYCC_601, opRGB, BT2020_CYCC, BT2020_RGB, BT2020_YCC, DCI-P3_RGB_D65, DCI-P3_RGB_Theater
link-status: Good
supported: Good, Bad
CONNECTOR_ID: 32
supported: 32
non-desktop: 0
range: (0, 1)
Connector 0 (32) HDMI-A-1 (disconnected)
Encoder 0 (31) TMDS
/sys/kernel/debug/dri/0/state:
plane[41]: plane-0
crtc=(null)
fb=0
crtc-pos=0x0+0+0
src-pos=0.000000x0.000000+0.000000+0.000000
rotation=1
normalized-zpos=0
color-encoding=ITU-R BT.709 YCbCr
color-range=YCbCr limited range
plane[58]: plane-1
crtc=(null)
fb=0
crtc-pos=0x0+0+0
src-pos=0.000000x0.000000+0.000000+0.000000
rotation=1
normalized-zpos=0
color-encoding=ITU-R BT.709 YCbCr
color-range=YCbCr limited range
plane[69]: plane-2
crtc=(null)
fb=0
crtc-pos=0x0+0+0
src-pos=0.000000x0.000000+0.000000+0.000000
rotation=1
normalized-zpos=0
color-encoding=ITU-R BT.709 YCbCr
color-range=YCbCr limited range
plane[80]: plane-3
crtc=(null)
fb=0
crtc-pos=0x0+0+0
src-pos=0.000000x0.000000+0.000000+0.000000
rotation=1
normalized-zpos=0
color-encoding=ITU-R BT.709 YCbCr
color-range=YCbCr limited range
plane[91]: plane-4
crtc=(null)
fb=0
crtc-pos=0x0+0+0
src-pos=0.000000x0.000000+0.000000+0.000000
rotation=1
normalized-zpos=1
color-encoding=ITU-R BT.709 YCbCr
color-range=YCbCr limited range
plane[101]: plane-5
crtc=(null)
fb=0
crtc-pos=0x0+0+0
src-pos=0.000000x0.000000+0.000000+0.000000
rotation=1
normalized-zpos=2
color-encoding=ITU-R BT.709 YCbCr
color-range=YCbCr limited range
plane[111]: plane-6
crtc=(null)
fb=0
crtc-pos=0x0+0+0
src-pos=0.000000x0.000000+0.000000+0.000000
rotation=1
normalized-zpos=3
color-encoding=ITU-R BT.709 YCbCr
color-range=YCbCr limited range
plane[121]: plane-7
crtc=(null)
fb=0
crtc-pos=0x0+0+0
src-pos=0.000000x0.000000+0.000000+0.000000
rotation=1
normalized-zpos=4
color-encoding=ITU-R BT.709 YCbCr
color-range=YCbCr limited range
plane[131]: plane-8
crtc=(null)
fb=0
crtc-pos=0x0+0+0
src-pos=0.000000x0.000000+0.000000+0.000000
rotation=1
normalized-zpos=5
color-encoding=ITU-R BT.709 YCbCr
color-range=YCbCr limited range
plane[141]: plane-9
crtc=(null)
fb=0
crtc-pos=0x0+0+0
src-pos=0.000000x0.000000+0.000000+0.000000
rotation=1
normalized-zpos=6
color-encoding=ITU-R BT.709 YCbCr
color-range=YCbCr limited range
plane[151]: plane-10
crtc=(null)
fb=0
crtc-pos=0x0+0+0
src-pos=0.000000x0.000000+0.000000+0.000000
rotation=1
normalized-zpos=7
color-encoding=ITU-R BT.709 YCbCr
color-range=YCbCr limited range
plane[161]: plane-11
crtc=(null)
fb=0
crtc-pos=0x0+0+0
src-pos=0.000000x0.000000+0.000000+0.000000
rotation=1
normalized-zpos=8
color-encoding=ITU-R BT.709 YCbCr
color-range=YCbCr limited range
plane[171]: plane-12
crtc=(null)
fb=0
crtc-pos=0x0+0+0
src-pos=0.000000x0.000000+0.000000+0.000000
rotation=1
normalized-zpos=9
color-encoding=ITU-R BT.709 YCbCr
color-range=YCbCr limited range
plane[181]: plane-13
crtc=(null)
fb=0
crtc-pos=0x0+0+0
src-pos=0.000000x0.000000+0.000000+0.000000
rotation=1
normalized-zpos=a
color-encoding=ITU-R BT.709 YCbCr
color-range=YCbCr limited range
plane[191]: plane-14
crtc=(null)
fb=0
crtc-pos=0x0+0+0
src-pos=0.000000x0.000000+0.000000+0.000000
rotation=1
normalized-zpos=b
color-encoding=ITU-R BT.709 YCbCr
color-range=YCbCr limited range
plane[201]: plane-15
crtc=(null)
fb=0
crtc-pos=0x0+0+0
src-pos=0.000000x0.000000+0.000000+0.000000
rotation=1
normalized-zpos=c
color-encoding=ITU-R BT.709 YCbCr
color-range=YCbCr limited range
plane[211]: plane-16
crtc=(null)
fb=0
crtc-pos=0x0+0+0
src-pos=0.000000x0.000000+0.000000+0.000000
rotation=1
normalized-zpos=d
color-encoding=ITU-R BT.709 YCbCr
color-range=YCbCr limited range
plane[221]: plane-17
crtc=(null)
fb=0
crtc-pos=0x0+0+0
src-pos=0.000000x0.000000+0.000000+0.000000
rotation=1
normalized-zpos=e
color-encoding=ITU-R BT.709 YCbCr
color-range=YCbCr limited range
plane[231]: plane-18
crtc=(null)
fb=0
crtc-pos=0x0+0+0
src-pos=0.000000x0.000000+0.000000+0.000000
rotation=1
normalized-zpos=f
color-encoding=ITU-R BT.709 YCbCr
color-range=YCbCr limited range
plane[241]: plane-19
crtc=(null)
fb=0
crtc-pos=0x0+0+0
src-pos=0.000000x0.000000+0.000000+0.000000
rotation=1
normalized-zpos=10
color-encoding=ITU-R BT.709 YCbCr
color-range=YCbCr limited range
plane[251]: plane-20
crtc=(null)
fb=0
crtc-pos=0x0+0+0
src-pos=0.000000x0.000000+0.000000+0.000000
rotation=1
normalized-zpos=11
color-encoding=ITU-R BT.709 YCbCr
color-range=YCbCr limited range
plane[261]: plane-21
crtc=(null)
fb=0
crtc-pos=0x0+0+0
src-pos=0.000000x0.000000+0.000000+0.000000
rotation=1
normalized-zpos=11
color-encoding=ITU-R BT.709 YCbCr
color-range=YCbCr limited range
plane[271]: plane-22
crtc=(null)
fb=0
crtc-pos=0x0+0+0
src-pos=0.000000x0.000000+0.000000+0.000000
rotation=1
normalized-zpos=11
color-encoding=ITU-R BT.709 YCbCr
color-range=YCbCr limited range
plane[281]: plane-23
crtc=(null)
fb=0
crtc-pos=0x0+0+0
src-pos=0.000000x0.000000+0.000000+0.000000
rotation=1
normalized-zpos=11
color-encoding=ITU-R BT.709 YCbCr
color-range=YCbCr limited range
crtc[51]: txp
enable=0
active=0
self_refresh_active=0
planes_changed=0
mode_changed=0
active_changed=0
connectors_changed=0
color_mgmt_changed=0
plane_mask=0
connector_mask=0
encoder_mask=0
mode: "": 0 0 0 0 0 0 0 0 0 0 0x0 0x0
crtc[68]: pixelvalve-0
enable=0
active=0
self_refresh_active=0
planes_changed=0
mode_changed=0
active_changed=0
connectors_changed=0
color_mgmt_changed=0
plane_mask=0
connector_mask=0
encoder_mask=0
mode: "": 0 0 0 0 0 0 0 0 0 0 0x0 0x0
crtc[79]: pixelvalve-1
enable=0
active=0
self_refresh_active=0
planes_changed=0
mode_changed=0
active_changed=0
connectors_changed=0
color_mgmt_changed=0
plane_mask=0
connector_mask=0
encoder_mask=0
mode: "": 0 0 0 0 0 0 0 0 0 0 0x0 0x0
crtc[90]: pixelvalve-2
enable=0
active=0
self_refresh_active=0
planes_changed=0
mode_changed=0
active_changed=0
connectors_changed=0
color_mgmt_changed=0
plane_mask=0
connector_mask=0
encoder_mask=0
mode: "": 0 0 0 0 0 0 0 0 0 0 0x0 0x0
connector[32]: HDMI-A-1
crtc=(null)
self_refresh_aware=0
max_requested_bpc=8
connector[57]: Writeback-1
crtc=(null)
self_refresh_aware=0
max_requested_bpc=0
config.txt
----------
aphy_params_current=819
arm_freq=1000
arm_freq_min=600
audio_pwm_mode=514
camera_auto_detect=1
config_hdmi_boost=5
core_freq=400
desired_osc_freq=0x331df0
disable_commandline_tags=2
disable_l2cache=1
disable_overscan=1
display_auto_detect=1
display_hdmi_rotate=-1
display_lcd_rotate=-1
dphy_params_current=547
dvfs=3
enable_tvout=1
enable_uart=1
force_eeprom_read=1
force_pwm_open=1
framebuffer_ignore_alpha=1
framebuffer_swap=1
gpu_freq=300
ignore_lcd=1
init_uart_clock=0x2dc6c00
mask_gpu_interrupt0=3072
mask_gpu_interrupt1=26370
max_framebuffers=2
over_voltage_avs=6250
pause_burst_frames=1
program_serial_random=1
sdram_freq=450
total_mem=512
hdmi_force_cec_address:0=65535
hdmi_force_cec_address:1=65535
hdmi_pixel_freq_limit:0=0x9a7ec80
device_tree=-
overlay_prefix=overlays/
hdmi_cvt:0=
hdmi_cvt:1=
hdmi_edid_filename:0=
hdmi_edid_filename:1=
hdmi_timings:0=
hdmi_timings:1=
cmdline.txt
-----------
coherent_pool=1M 8250.nr_uarts=1 snd_bcm2835.enable_headphones=0 snd_bcm2835.enable_hdmi=1 snd_bcm2835.enable_hdmi=0 video=Composite-1:720x480@60i smsc95xx.macaddr=B8:27:EB:8A:B3:36 vc_mem.mem_base=0x1ec00000 vc_mem.mem_size=0x20000000 console=ttyS0,115200 console=tty1 root=PARTUUID=255aef08-02 rootfstype=ext4 fsck.repair=yes rootwait quiet splash plymouth.ignore-serial-consoles
raspi-gpio settings
-------------------
BANK0 (GPIO 0 to 27):
GPIO 0: level=1 fsel=0 func=INPUT
GPIO 1: level=1 fsel=0 func=INPUT
GPIO 2: level=1 fsel=4 alt=0 func=SDA1
GPIO 3: level=1 fsel=4 alt=0 func=SCL1
GPIO 4: level=0 fsel=0 func=INPUT
GPIO 5: level=0 fsel=0 func=INPUT
GPIO 6: level=0 fsel=0 func=INPUT
GPIO 7: level=1 fsel=1 func=OUTPUT
GPIO 8: level=1 fsel=1 func=OUTPUT
GPIO 9: level=0 fsel=4 alt=0 func=SPI0_MISO
GPIO 10: level=0 fsel=4 alt=0 func=SPI0_MOSI
GPIO 11: level=0 fsel=4 alt=0 func=SPI0_SCLK
GPIO 12: level=0 fsel=0 func=INPUT
GPIO 13: level=0 fsel=0 func=INPUT
GPIO 14: level=1 fsel=2 alt=5 func=TXD1
GPIO 15: level=1 fsel=2 alt=5 func=RXD1
GPIO 16: level=0 fsel=0 func=INPUT
GPIO 17: level=0 fsel=0 func=INPUT
GPIO 18: level=0 fsel=0 func=INPUT
GPIO 19: level=0 fsel=0 func=INPUT
GPIO 20: level=0 fsel=0 func=INPUT
GPIO 21: level=0 fsel=0 func=INPUT
GPIO 22: level=0 fsel=0 func=INPUT
GPIO 23: level=0 fsel=0 func=INPUT
GPIO 24: level=0 fsel=0 func=INPUT
GPIO 25: level=0 fsel=0 func=INPUT
GPIO 26: level=0 fsel=0 func=INPUT
GPIO 27: level=0 fsel=0 func=INPUT
BANK1 (GPIO 28 to 45):
GPIO 28: level=1 fsel=0 func=INPUT
GPIO 29: level=0 fsel=1 func=OUTPUT
GPIO 30: level=0 fsel=7 alt=3 func=CTS0
GPIO 31: level=0 fsel=7 alt=3 func=RTS0
GPIO 32: level=1 fsel=7 alt=3 func=TXD0
GPIO 33: level=1 fsel=7 alt=3 func=RXD0
GPIO 34: level=1 fsel=7 alt=3 func=SD1_CLK
GPIO 35: level=1 fsel=7 alt=3 func=SD1_CMD
GPIO 36: level=1 fsel=7 alt=3 func=SD1_DAT0
GPIO 37: level=1 fsel=7 alt=3 func=SD1_DAT1
GPIO 38: level=1 fsel=7 alt=3 func=SD1_DAT2
GPIO 39: level=1 fsel=7 alt=3 func=SD1_DAT3
GPIO 40: level=0 fsel=1 func=OUTPUT
GPIO 41: level=1 fsel=1 func=OUTPUT
GPIO 42: level=1 fsel=1 func=OUTPUT
GPIO 43: level=1 fsel=4 alt=0 func=GPCLK2
GPIO 44: level=1 fsel=0 func=INPUT
GPIO 45: level=1 fsel=0 func=INPUT
BANK2 (GPIO 46 to 53):
GPIO 46: level=1 fsel=0 func=INPUT
GPIO 47: level=1 fsel=1 func=OUTPUT
GPIO 48: level=0 fsel=4 alt=0 func=SD0_CLK
GPIO 49: level=1 fsel=4 alt=0 func=SD0_CMD
GPIO 50: level=1 fsel=4 alt=0 func=SD0_DAT0
GPIO 51: level=1 fsel=4 alt=0 func=SD0_DAT1
GPIO 52: level=1 fsel=4 alt=0 func=SD0_DAT2
GPIO 53: level=1 fsel=4 alt=0 func=SD0_DAT3
vcdbg log messages
------------------
000923.417: brfs: File read: /mfs/sd/config.txt
000924.678: brfs: File read: 2106 bytes
000957.307: HDMI0:EDID error reading EDID block 0 attempt 0
000958.572: HDMI0:EDID error reading EDID block 0 attempt 1
000959.838: HDMI0:EDID error reading EDID block 0 attempt 2
000961.101: HDMI0:EDID error reading EDID block 0 attempt 3
000962.366: HDMI0:EDID error reading EDID block 0 attempt 4
000963.632: HDMI0:EDID error reading EDID block 0 attempt 5
000964.897: HDMI0:EDID error reading EDID block 0 attempt 6
000966.160: HDMI0:EDID error reading EDID block 0 attempt 7
000967.426: HDMI0:EDID error reading EDID block 0 attempt 8
000968.690: HDMI0:EDID error reading EDID block 0 attempt 9
000969.715: HDMI0:EDID giving up on reading EDID block 0
000972.730: brfs: File read: /mfs/sd/config.txt
000974.059: gpioman: gpioman_get_pin_num: pin LEDS_PWR_OK not defined
001476.041: gpioman: gpioman_get_pin_num: pin LEDS_PWR_OK not defined
001476.097: *** Restart logging
001476.124: brfs: File read: 2106 bytes
001477.077: hdmi: HDMI0:EDID error reading EDID block 0 attempt 0
001478.346: hdmi: HDMI0:EDID error reading EDID block 0 attempt 1
001479.613: hdmi: HDMI0:EDID error reading EDID block 0 attempt 2
001480.883: hdmi: HDMI0:EDID error reading EDID block 0 attempt 3
001482.151: hdmi: HDMI0:EDID error reading EDID block 0 attempt 4
001483.423: hdmi: HDMI0:EDID error reading EDID block 0 attempt 5
001484.692: hdmi: HDMI0:EDID error reading EDID block 0 attempt 6
001485.961: hdmi: HDMI0:EDID error reading EDID block 0 attempt 7
001487.229: hdmi: HDMI0:EDID error reading EDID block 0 attempt 8
001488.499: hdmi: HDMI0:EDID error reading EDID block 0 attempt 9
001489.525: hdmi: HDMI0:EDID giving up on reading EDID block 0
001489.861: hdmi: HDMI0:EDID error reading EDID block 0 attempt 0
001491.131: hdmi: HDMI0:EDID error reading EDID block 0 attempt 1
001492.398: hdmi: HDMI0:EDID error reading EDID block 0 attempt 2
001493.679: hdmi: HDMI0:EDID error reading EDID block 0 attempt 3
001494.947: hdmi: HDMI0:EDID error reading EDID block 0 attempt 4
001496.216: hdmi: HDMI0:EDID error reading EDID block 0 attempt 5
001497.483: hdmi: HDMI0:EDID error reading EDID block 0 attempt 6
001498.753: hdmi: HDMI0:EDID error reading EDID block 0 attempt 7
001500.021: hdmi: HDMI0:EDID error reading EDID block 0 attempt 8
001501.291: hdmi: HDMI0:EDID error reading EDID block 0 attempt 9
001502.317: hdmi: HDMI0:EDID giving up on reading EDID block 0
001502.362: hdmi: HDMI:hdmi_get_state is deprecated, use hdmi_get_display_state instead
001502.386: HDMI0: hdmi_pixel_encoding: 162000000
001502.653: vec: vec_middleware_power_on: vec_base: 0x7e806000 rev-id 0x00002708 @ vec: 0x7e806100 @ 0x00000420 enc: 0x7e806060 @ 0x00000220 cgmsae: 0x7e80605c @ 0x00000000
001503.814: kernel=
001512.180: dtb_file 'bcm2710-rpi-zero-2-w.dtb'
001516.207: brfs: File read: /mfs/sd/bcm2710-rpi-zero-2-w.dtb
001516.232: Loaded 'bcm2710-rpi-zero-2-w.dtb' to 0x100 size 0x7a56
001530.600: brfs: File read: 31318 bytes
001539.948: brfs: File read: /mfs/sd/overlays/overlay_map.dtb
001629.028: brfs: File read: 2347 bytes
001632.016: brfs: File read: /mfs/sd/config.txt
001632.536: dtparam: i2c_arm=on
001641.475: dtparam: spi=on
001649.556: dtparam: audio=on
001655.434: brfs: File read: 2106 bytes
001668.534: brfs: File read: /mfs/sd/overlays/vc4-kms-v3d.dtbo
001713.229: Loaded overlay 'vc4-kms-v3d'
001813.517: brfs: File read: 2760 bytes
001815.383: brfs: File read: /mfs/sd/cmdline.txt
001815.445: Read command line from file 'cmdline.txt':
001815.467: 'console=serial0,115200 console=tty1 root=PARTUUID=255aef08-02 rootfstype=ext4 fsck.repair=yes rootwait quiet splash plymouth.ignore-serial-consoles'
001832.006: gpioman: gpioman_get_pin_num: pin EMMC_ENABLE not defined
002312.267: brfs: File read: 147 bytes
002706.449: brfs: File read: /mfs/sd/kernel7.img
002706.464: Loaded 'kernel7.img' to 0x8000 size 0x67ebe0
002706.489: Device tree loaded to 0x1bfe7e00 (size 0x810a)
002708.790: gpioman: gpioman_get_pin_num: pin SDCARD_CONTROL_POWER not defined
006452.398: vchiq_core: vchiq_init_state: slot_zero = 0xcbd80000, is_master = 1
dmesg log
---------
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 6.1.21-v7+ (dom@buildbot) (arm-linux-gnueabihf-gcc-8 (Ubuntu/Linaro 8.4.0-3ubuntu1) 8.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #1642 SMP Mon Apr 3 17:20:52 BST 2023
[ 0.000000] CPU: ARMv7 Processor [410fd034] revision 4 (ARMv7), cr=10c5383d
[ 0.000000] CPU: div instructions available: patching division code
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[ 0.000000] OF: fdt: Machine model: Raspberry Pi Zero 2 W Rev 1.0
[ 0.000000] random: crng init done
[ 0.000000] Memory policy: Data cache writealloc
[ 0.000000] Reserved memory: created CMA memory pool at 0x0bc00000, size 256 MiB
[ 0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool
[ 0.000000] Zone ranges:
[ 0.000000] DMA [mem 0x0000000000000000-0x000000001bffffff]
[ 0.000000] Normal empty
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000000000000-0x000000001bffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x000000001bffffff]
[ 0.000000] percpu: Embedded 17 pages/cpu s36884 r8192 d24556 u69632
[ 0.000000] pcpu-alloc: s36884 r8192 d24556 u69632 alloc=17*4096
[ 0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 113680
[ 0.000000] Kernel command line: coherent_pool=1M 8250.nr_uarts=1 snd_bcm2835.enable_headphones=0 snd_bcm2835.enable_hdmi=1 snd_bcm2835.enable_hdmi=0 video=Composite-1:720x480@60i smsc95xx.macaddr=m.m.m.m vc_mem.mem_base=0x1ec00000 vc_mem.mem_size=0x20000000 console=ttyS0,115200 console=tty1 root=PARTUUID=255aef08-02 rootfstype=ext4 fsck.repair=yes rootwait quiet splash plymouth.ignore-serial-consoles
[ 0.000000] Unknown kernel command line parameters "splash", will be passed to user space.
[ 0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes, linear)
[ 0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes, linear)
[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[ 0.000000] Memory: 173812K/458752K available (10240K kernel code, 1452K rwdata, 2900K rodata, 1024K init, 613K bss, 22796K reserved, 262144K cma-reserved)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[ 0.000000] ftrace: allocating 34800 entries in 103 pages
[ 0.000000] ftrace: allocated 102 pages with 4 groups
[ 0.000000] trace event string verifier disabled
[ 0.000000] rcu: Hierarchical RCU implementation.
[ 0.000000] Rude variant of Tasks RCU enabled.
[ 0.000000] Tracing variant of Tasks RCU enabled.
[ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[ 0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[ 0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention.
[ 0.000000] arch_timer: cp15 timer(s) running at 19.20MHz (phys).
[ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x46d987e47, max_idle_ns: 440795202767 ns
[ 0.000001] sched_clock: 56 bits at 19MHz, resolution 52ns, wraps every 4398046511078ns
[ 0.000017] Switching to timer-based delay loop, resolution 52ns
[ 0.000369] Console: colour dummy device 80x30
[ 0.000443] printk: console [tty1] enabled
[ 0.000496] Calibrating delay loop (skipped), value calculated using timer frequency.. 38.40 BogoMIPS (lpj=192000)
[ 0.000519] pid_max: default: 32768 minimum: 301
[ 0.000665] LSM: Security Framework initializing
[ 0.000852] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.000872] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.001962] cgroup: Disabling memory control group subsystem
[ 0.002194] CPU: Testing write buffer coherency: ok
[ 0.002572] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[ 0.003413] cblist_init_generic: Setting adjustable number of callback queues.
[ 0.003429] cblist_init_generic: Setting shift to 2 and lim to 1.
[ 0.003540] cblist_init_generic: Setting shift to 2 and lim to 1.
[ 0.003675] Setting up static identity map for 0x100000 - 0x10003c
[ 0.003810] rcu: Hierarchical SRCU implementation.
[ 0.003819] rcu: Max phase no-delay instances is 1000.
[ 0.004523] smp: Bringing up secondary CPUs ...
[ 0.005388] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[ 0.006313] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002
[ 0.007160] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003
[ 0.007260] smp: Brought up 1 node, 4 CPUs
[ 0.007282] SMP: Total of 4 processors activated (153.60 BogoMIPS).
[ 0.007296] CPU: All CPU(s) started in HYP mode.
[ 0.007303] CPU: Virtualization extensions available.
[ 0.007915] devtmpfs: initialized
[ 0.022770] VFP support v0.3: implementor 41 architecture 3 part 40 variant 3 rev 4
[ 0.022973] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.023002] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[ 0.033261] pinctrl core: initialized pinctrl subsystem
[ 0.034418] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[ 0.037394] DMA: preallocated 1024 KiB pool for atomic coherent allocations
[ 0.042426] audit: initializing netlink subsys (disabled)
[ 0.042650] audit: type=2000 audit(0.040:1): state=initialized audit_enabled=0 res=1
[ 0.043256] thermal_sys: Registered thermal governor 'step_wise'
[ 0.044275] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[ 0.044292] hw-breakpoint: maximum watchpoint size is 8 bytes.
[ 0.044526] Serial: AMBA PL011 UART driver
[ 0.050575] bcm2835-mbox 3f00b880.mailbox: mailbox enabled
[ 0.070080] raspberrypi-firmware soc:firmware: Attached to firmware from 2023-03-17T10:52:42, variant start
[ 0.080098] raspberrypi-firmware soc:firmware: Firmware hash is 82f3750a65fadae9a38077e3c2e217ad158c8d54
[ 0.122473] kprobes: kprobe jump-optimization is enabled. All kprobes are optimized if possible.
[ 0.127291] bcm2835-dma 3f007000.dma: DMA legacy API manager, dmachans=0x1
[ 0.128955] SCSI subsystem initialized
[ 0.129185] usbcore: registered new interface driver usbfs
[ 0.129247] usbcore: registered new interface driver hub
[ 0.129299] usbcore: registered new device driver usb
[ 0.129514] usb_phy_generic phy: supply vcc not found, using dummy regulator
[ 0.129677] usb_phy_generic phy: dummy supplies not allowed for exclusive requests
[ 0.129930] pps_core: LinuxPPS API ver. 1 registered
[ 0.129941] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[ 0.129967] PTP clock support registered
[ 2.007211] clocksource: Switched to clocksource arch_sys_counter
[ 2.008023] VFS: Disk quotas dquot_6.6.0
[ 2.008105] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 2.008257] FS-Cache: Loaded
[ 2.008529] CacheFiles: Loaded
[ 2.016952] NET: Registered PF_INET protocol family
[ 2.017171] IP idents hash table entries: 8192 (order: 4, 65536 bytes, linear)
[ 2.055985] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
[ 2.056044] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[ 2.056111] TCP established hash table entries: 4096 (order: 2, 16384 bytes, linear)
[ 2.056181] TCP bind hash table entries: 4096 (order: 4, 65536 bytes, linear)
[ 2.056353] TCP: Hash tables configured (established 4096 bind 4096)
[ 2.056464] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[ 2.056504] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[ 2.056710] NET: Registered PF_UNIX/PF_LOCAL protocol family
[ 2.057262] RPC: Registered named UNIX socket transport module.
[ 2.057275] RPC: Registered udp transport module.
[ 2.057283] RPC: Registered tcp transport module.
[ 2.057292] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 2.059031] hw perfevents: enabled with armv7_cortex_a7 PMU driver, 7 counters available
[ 2.104883] Initialise system trusted keyrings
[ 2.105272] workingset: timestamp_bits=14 max_order=17 bucket_order=3
[ 2.114475] zbud: loaded
[ 2.116852] NFS: Registering the id_resolver key type
[ 2.116896] Key type id_resolver registered
[ 2.116906] Key type id_legacy registered
[ 2.117030] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[ 2.117042] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[ 2.118374] Key type asymmetric registered
[ 2.118387] Asymmetric key parser 'x509' registered
[ 2.118561] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247)
[ 2.118575] io scheduler mq-deadline registered
[ 2.118585] io scheduler kyber registered
[ 2.121810] simple-framebuffer 1eaa9000.framebuffer: framebuffer at 0x1eaa9000, 0x151800 bytes
[ 2.121837] simple-framebuffer 1eaa9000.framebuffer: format=a8r8g8b8, mode=720x480x32, linelength=2880
[ 2.122309] Console: switching to colour frame buffer device 90x30
[ 2.126558] simple-framebuffer 1eaa9000.framebuffer: fb0: simplefb registered!
[ 2.129508] Serial: 8250/16550 driver, 1 ports, IRQ sharing enabled
[ 2.131210] bcm2835-rng 3f104000.rng: hwrng registered
[ 2.131576] vc-mem: phys_addr:0x00000000 mem_base=0x1ec00000 mem_size:0x20000000(512 MiB)
[ 2.132368] gpiomem-bcm2835 3f200000.gpiomem: Initialised: Registers at 0x3f200000
[ 2.142859] brd: module loaded
[ 2.150062] loop: module loaded
[ 2.150658] Loading iSCSI transport class v2.0-870.
[ 2.152072] usbcore: registered new interface driver lan78xx
[ 2.152133] usbcore: registered new interface driver smsc95xx
[ 2.152161] dwc_otg: version 3.00a 10-AUG-2012 (platform bus)
[ 2.880172] Core Release: 2.80a
[ 2.880187] Setting default values for core params
[ 2.880212] Finished setting default values for core params
[ 3.080468] Using Buffer DMA mode
[ 3.080477] Periodic Transfer Interrupt Enhancement - disabled
[ 3.080485] Multiprocessor Interrupt Enhancement - disabled
[ 3.080495] OTG VER PARAM: 0, OTG VER FLAG: 0
[ 3.080533] Dedicated Tx FIFOs mode
[ 3.081324] WARN::dwc_otg_hcd_init:1074: FIQ DMA bounce buffers: virt = 8bd04000 dma = 0xcbd04000 len=9024
[ 3.081359] FIQ FSM acceleration enabled for :
Non-periodic Split Transactions
Periodic Split Transactions
High-Speed Isochronous Endpoints
Interrupt/Control Split Transaction hack enabled
[ 3.081374] dwc_otg: Microframe scheduler enabled
[ 3.081485] WARN::hcd_init_fiq:457: FIQ on core 1
[ 3.081502] WARN::hcd_init_fiq:458: FIQ ASM at 807c4360 length 36
[ 3.081521] WARN::hcd_init_fiq:497: MPHI regs_base at 9c810000
[ 3.081543] dwc_otg 3f980000.usb: DWC OTG Controller
[ 3.081575] dwc_otg 3f980000.usb: new USB bus registered, assigned bus number 1
[ 3.081613] dwc_otg 3f980000.usb: irq 89, io mem 0x00000000
[ 3.081664] Init: Port Power? op_state=1
[ 3.081672] Init: Power Port (0)
[ 3.081898] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.01
[ 3.081917] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 3.081933] usb usb1: Product: DWC OTG Controller
[ 3.081944] usb usb1: Manufacturer: Linux 6.1.21-v7+ dwc_otg_hcd
[ 3.081957] usb usb1: SerialNumber: 3f980000.usb
[ 3.082559] hub 1-0:1.0: USB hub found
[ 3.082604] hub 1-0:1.0: 1 port detected
[ 3.083209] dwc_otg: FIQ enabled
[ 3.083220] dwc_otg: NAK holdoff enabled
[ 3.083228] dwc_otg: FIQ split-transaction FSM enabled
[ 3.083243] Module dwc_common_port init
[ 3.083518] usbcore: registered new interface driver usb-storage
[ 3.083697] mousedev: PS/2 mouse device common for all mice
[ 3.085875] sdhci: Secure Digital Host Controller Interface driver
[ 3.085887] sdhci: Copyright(c) Pierre Ossman
[ 3.086152] sdhci-pltfm: SDHCI platform and OF driver helper
[ 3.086944] ledtrig-cpu: registered to indicate activity on CPUs
[ 3.087298] hid: raw HID events driver (C) Jiri Kosina
[ 3.087433] usbcore: registered new interface driver usbhid
[ 3.087444] usbhid: USB HID core driver
[ 3.087609] bcm2835_vchiq 3f00b840.mailbox: there is not valid maps for state default
[ 3.091132] Initializing XFRM netlink socket
[ 3.091185] NET: Registered PF_PACKET protocol family
[ 3.091280] Key type dns_resolver registered
[ 3.092150] Registering SWP/SWPB emulation handler
[ 3.092813] registered taskstats version 1
[ 3.092867] Loading compiled-in X.509 certificates
[ 3.093663] Key type .fscrypt registered
[ 3.093675] Key type fscrypt-provisioning registered
[ 3.105029] uart-pl011 3f201000.serial: cts_event_workaround enabled
[ 3.105172] 3f201000.serial: ttyAMA0 at MMIO 0x3f201000 (irq = 114, base_baud = 0) is a PL011 rev2
[ 3.106646] bcm2835-aux-uart 3f215040.serial: there is not valid maps for state default
[ 3.107018] printk: console [ttyS0] disabled
[ 3.107111] 3f215040.serial: ttyS0 at MMIO 0x3f215040 (irq = 86, base_baud = 50000000) is a 16550
[ 3.107553] printk: console [ttyS0] enabled
[ 3.108594] bcm2835-wdt bcm2835-wdt: Broadcom BCM2835 watchdog timer
[ 3.108881] bcm2835-power bcm2835-power: Broadcom BCM2835 power domains driver
[ 3.110135] mmc-bcm2835 3f300000.mmcnr: mmc_debug:0 mmc_debug2:0
[ 3.110154] mmc-bcm2835 3f300000.mmcnr: DMA channel allocated
[ 3.140810] sdhost: log_buf @ 27b85bb2 (cbd03000)
[ 3.187242] mmc0: sdhost-bcm2835 loaded - DMA enabled (>1)
[ 3.189405] of_cfs_init
[ 3.189595] of_cfs_init: OK
[ 3.190548] Waiting for root device PARTUUID=255aef08-02...
[ 3.221337] mmc0: host does not support reading read-only switch, assuming write-enable
[ 3.223896] mmc0: new high speed SDHC card at address 5048
[ 3.224712] mmcblk0: mmc0:5048 SD32G 28.9 GiB
[ 3.227037] mmcblk0: p1 p2
[ 3.227669] mmcblk0: mmc0:5048 SD32G 28.9 GiB
[ 3.256887] EXT4-fs (mmcblk0p2): INFO: recovery required on readonly filesystem
[ 3.256906] EXT4-fs (mmcblk0p2): write access will be enabled during recovery
[ 3.277096] mmc1: new high speed SDIO card at address 0001
[ 3.446025] EXT4-fs (mmcblk0p2): recovery complete
[ 3.447617] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Quota mode: none.
[ 3.447707] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
[ 3.448695] devtmpfs: mounted
[ 3.454262] Freeing unused kernel image (initmem) memory: 1024K
[ 3.454756] Run /sbin/init as init process
[ 3.454768] with arguments:
[ 3.454775] /sbin/init
[ 3.454784] splash
[ 3.454793] with environment:
[ 3.454801] HOME=/
[ 3.454809] TERM=linux
[ 3.974930] systemd[1]: System time before build time, advancing clock.
[ 4.228964] NET: Registered PF_INET6 protocol family
[ 4.230345] Segment Routing with IPv6
[ 4.230394] In-situ OAM (IOAM) with IPv6
[ 4.315132] systemd[1]: systemd 247.3-7+rpi1+deb11u2 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +ZSTD +SECCOMP +BLKID +ELFUTILS +KMOD +IDN2 -IDN +PCRE2 default-hierarchy=unified)
[ 4.316191] systemd[1]: Detected architecture arm.
[ 4.318036] systemd[1]: Set hostname to <raspberrypi>.
[ 5.220615] systemd[1]: /lib/systemd/system/plymouth-start.service:16: Unit configured to use KillMode=none. This is unsafe, as it disables systemd's process lifecycle management for the service. Please update your service to use a safer KillMode=, such as 'mixed' or 'control-group'. Support for KillMode=none is deprecated and will eventually be removed.
[ 5.479207] systemd[1]: Queued start job for default target Graphical Interface.
[ 5.531485] systemd[1]: Created slice system-getty.slice.
[ 5.532906] systemd[1]: Created slice system-modprobe.slice.
[ 5.534001] systemd[1]: Created slice system-serial\x2dgetty.slice.
[ 5.535032] systemd[1]: Created slice system-systemd\x2dfsck.slice.
[ 5.535828] systemd[1]: Created slice User and Session Slice.
[ 5.536391] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[ 5.537684] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point.
[ 5.539053] systemd[1]: Reached target Slices.
[ 5.539293] systemd[1]: Reached target Swap.
[ 5.540513] systemd[1]: Listening on Syslog Socket.
[ 5.541253] systemd[1]: Listening on fsck to fsckd communication Socket.
[ 5.541686] systemd[1]: Listening on initctl Compatibility Named Pipe.
[ 5.542931] systemd[1]: Listening on Journal Audit Socket.
[ 5.543641] systemd[1]: Listening on Journal Socket (/dev/log).
[ 5.544481] systemd[1]: Listening on Journal Socket.
[ 5.546699] systemd[1]: Listening on udev Control Socket.
[ 5.547500] systemd[1]: Listening on udev Kernel Socket.
[ 5.548744] systemd[1]: Condition check resulted in Huge Pages File System being skipped.
[ 5.553369] systemd[1]: Mounting POSIX Message Queue File System...
[ 5.558558] systemd[1]: Mounting RPC Pipe File System...
[ 5.564483] systemd[1]: Mounting Kernel Debug File System...
[ 5.570408] systemd[1]: Mounting Kernel Trace File System...
[ 5.571081] systemd[1]: Condition check resulted in Kernel Module supporting RPCSEC_GSS being skipped.
[ 5.579971] systemd[1]: Starting Restore / save the current clock...
[ 5.586766] systemd[1]: Starting Set the console keyboard layout...
[ 5.593326] systemd[1]: Starting Create list of static device nodes for the current kernel...
[ 5.599989] systemd[1]: Starting Load Kernel Module configfs...
[ 5.606390] systemd[1]: Starting Load Kernel Module drm...
[ 5.613130] systemd[1]: Starting Load Kernel Module fuse...
[ 5.633095] systemd[1]: Condition check resulted in Set Up Additional Binary Formats being skipped.
[ 5.638944] systemd[1]: Starting File System Check on Root Device...
[ 5.650307] systemd[1]: Starting Journal Service...
[ 5.661879] systemd[1]: Starting Load Kernel Modules...
[ 5.668427] systemd[1]: Starting Coldplug All udev Devices...
[ 5.693366] systemd[1]: Mounted POSIX Message Queue File System.
[ 5.694338] systemd[1]: Mounted RPC Pipe File System.
[ 5.718078] systemd[1]: Mounted Kernel Debug File System.
[ 5.718822] systemd[1]: Mounted Kernel Trace File System.
[ 5.729350] systemd[1]: Finished Restore / save the current clock.
[ 5.731954] systemd[1]: Finished Create list of static device nodes for the current kernel.
[ 5.733836] systemd[1]: modprobe@configfs.service: Succeeded.
[ 5.734962] systemd[1]: Finished Load Kernel Module configfs.
[ 5.746898] systemd[1]: Mounting Kernel Configuration File System...
[ 5.759844] systemd[1]: Started File System Check Daemon to report status.
[ 5.765083] fuse: init (API version 7.37)
[ 5.771786] systemd[1]: Mounted Kernel Configuration File System.
[ 5.777172] systemd[1]: modprobe@fuse.service: Succeeded.
[ 5.779261] systemd[1]: Finished Load Kernel Module fuse.
[ 5.786050] systemd[1]: Mounting FUSE Control File System...
[ 5.798604] i2c_dev: i2c /dev entries driver
[ 5.804497] systemd[1]: Finished Load Kernel Modules.
[ 5.818004] systemd[1]: Mounted FUSE Control File System.
[ 5.831969] systemd[1]: Starting Apply Kernel Variables...
[ 5.928093] systemd[1]: modprobe@drm.service: Succeeded.
[ 5.929329] systemd[1]: Finished Load Kernel Module drm.
[ 5.958607] systemd[1]: Finished Apply Kernel Variables.
[ 5.996518] systemd[1]: Started Journal Service.
[ 6.231961] EXT4-fs (mmcblk0p2): re-mounted. Quota mode: none.
[ 6.310632] systemd-journald[128]: Received client request to flush runtime journal.
[ 6.322523] systemd-journald[128]: File /var/log/journal/c50711eaaddd4d2188798334c8206ef8/system.journal corrupted or uncleanly shut down, renaming and replacing.
[ 7.676473] vc_sm_cma: module is from the staging directory, the quality is unknown, you have been warned.
[ 7.701606] mc: Linux media interface: v0.10
[ 7.718821] bcm2835_vc_sm_cma_probe: Videocore shared memory driver
[ 7.718858] [vc_sm_connected_init]: start
[ 7.740455] [vc_sm_connected_init]: installed successfully
[ 7.974065] videodev: Linux video capture interface: v2.00
[ 7.993416] snd_bcm2835: module is from the staging directory, the quality is unknown, you have been warned.
[ 8.104755] bcm2835_mmal_vchiq: module is from the staging directory, the quality is unknown, you have been warned.
[ 8.129311] bcm2835_mmal_vchiq: module is from the staging directory, the quality is unknown, you have been warned.
[ 8.159893] bcm2835_isp: module is from the staging directory, the quality is unknown, you have been warned.
[ 8.172888] bcm2835_v4l2: module is from the staging directory, the quality is unknown, you have been warned.
[ 8.174267] bcm2835-isp bcm2835-isp: Device node output[0] registered as /dev/video13
[ 8.174635] bcm2835-isp bcm2835-isp: Device node capture[0] registered as /dev/video14
[ 8.174961] bcm2835-isp bcm2835-isp: Device node capture[1] registered as /dev/video15
[ 8.175226] bcm2835-isp bcm2835-isp: Device node stats[2] registered as /dev/video16
[ 8.175258] bcm2835-isp bcm2835-isp: Register output node 0 with media controller
[ 8.175280] bcm2835-isp bcm2835-isp: Register capture node 1 with media controller
[ 8.175299] bcm2835-isp bcm2835-isp: Register capture node 2 with media controller
[ 8.175317] bcm2835-isp bcm2835-isp: Register capture node 3 with media controller
[ 8.178190] bcm2835-isp bcm2835-isp: Device node output[0] registered as /dev/video20
[ 8.178633] bcm2835-isp bcm2835-isp: Device node capture[0] registered as /dev/video21
[ 8.178999] bcm2835-isp bcm2835-isp: Device node capture[1] registered as /dev/video22
[ 8.179309] bcm2835-isp bcm2835-isp: Device node stats[2] registered as /dev/video23
[ 8.179344] bcm2835-isp bcm2835-isp: Register output node 0 with media controller
[ 8.179369] bcm2835-isp bcm2835-isp: Register capture node 1 with media controller
[ 8.179387] bcm2835-isp bcm2835-isp: Register capture node 2 with media controller
[ 8.179404] bcm2835-isp bcm2835-isp: Register capture node 3 with media controller
[ 8.179644] bcm2835-isp bcm2835-isp: Loaded V4L2 bcm2835-isp
[ 8.237361] bcm2835_codec: module is from the staging directory, the quality is unknown, you have been warned.
[ 8.286995] bcm2835-codec bcm2835-codec: Device registered as /dev/video10
[ 8.287053] bcm2835-codec bcm2835-codec: Loaded V4L2 decode
[ 8.296520] bcm2835-codec bcm2835-codec: Device registered as /dev/video11
[ 8.296577] bcm2835-codec bcm2835-codec: Loaded V4L2 encode
[ 8.303782] bcm2835-codec bcm2835-codec: Device registered as /dev/video12
[ 8.303839] bcm2835-codec bcm2835-codec: Loaded V4L2 isp
[ 8.306093] bcm2835-codec bcm2835-codec: Device registered as /dev/video18
[ 8.306156] bcm2835-codec bcm2835-codec: Loaded V4L2 image_fx
[ 8.310636] bcm2835-codec bcm2835-codec: Device registered as /dev/video31
[ 8.310689] bcm2835-codec bcm2835-codec: Loaded V4L2 encode_image
[ 8.465397] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[ 8.617316] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[ 8.651018] cfg80211: loaded regulatory.db is malformed or signature is missing/invalid
[ 8.987686] brcmfmac: F1 signature read @0x18000000=0x1541a9a6
[ 8.998237] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43436s-sdio for chip BCM43430/1
[ 8.998876] usbcore: registered new interface driver brcmfmac
[ 9.052294] brcmfmac mmc1:0001:1: Direct firmware load for brcm/brcmfmac43436s-sdio.clm_blob failed with error -2
[ 9.230767] brcmfmac: brcmf_c_process_clm_blob: no clm_blob available (err=-2), device may have limited channels available
[ 9.231392] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM43430/1 wl0: Jun 14 2023 07:27:45 version 7.45.96.s1 (gf031a129) FWID 01-70bd2af7 es7
[ 9.380359] Console: switching to colour dummy device 80x30
[ 9.383962] vc4-drm soc:gpu: bound 3f400000.hvs (ops vc4_hvs_ops [vc4])
[ 9.386041] Registered IR keymap rc-cec
[ 9.386311] rc rc0: vc4-hdmi as /devices/platform/soc/3f902000.hdmi/rc/rc0
[ 9.386582] input: vc4-hdmi as /devices/platform/soc/3f902000.hdmi/rc/rc0/input0
[ 9.392987] vc4-drm soc:gpu: bound 3f902000.hdmi (ops vc4_hdmi_ops [vc4])
[ 9.393627] vc4-drm soc:gpu: bound 3f004000.txp (ops vc4_txp_ops [vc4])
[ 9.394121] vc4-drm soc:gpu: bound 3f206000.pixelvalve (ops vc4_crtc_ops [vc4])
[ 9.394572] vc4-drm soc:gpu: bound 3f207000.pixelvalve (ops vc4_crtc_ops [vc4])
[ 9.394994] vc4-drm soc:gpu: bound 3f807000.pixelvalve (ops vc4_crtc_ops [vc4])
[ 9.395368] vc4-drm soc:gpu: bound 3fc00000.v3d (ops vc4_v3d_ops [vc4])
[ 9.408067] [drm] Initialized vc4 0.0.0 20140616 for soc:gpu on minor 0
[ 9.409394] vc4-drm soc:gpu: [drm] Cannot find any crtc or sizes
[ 10.283127] uart-pl011 3f201000.serial: no DMA platform data
[ 10.415341] Adding 102396k swap on /var/swap. Priority:-2 extents:1 across:102396k SSFS
[ 10.948437] 8021q: 802.1Q VLAN Support v1.8
[ 11.545773] brcmfmac: brcmf_cfg80211_set_power_mgmt: power save enabled
[ 15.753182] systemd-journald[128]: File /var/log/journal/c50711eaaddd4d2188798334c8206ef8/user-1000.journal corrupted or uncleanly shut down, renaming and replacing.
[ 16.566577] Bluetooth: Core ver 2.22
[ 16.566693] NET: Registered PF_BLUETOOTH protocol family
[ 16.566700] Bluetooth: HCI device and connection manager initialized
[ 16.566725] Bluetooth: HCI socket layer initialized
[ 16.566737] Bluetooth: L2CAP socket layer initialized
[ 16.566756] Bluetooth: SCO socket layer initialized
[ 16.604148] Bluetooth: HCI UART driver ver 2.3
[ 16.604175] Bluetooth: HCI UART protocol H4 registered
[ 16.604263] Bluetooth: HCI UART protocol Three-wire (H5) registered
[ 16.604426] Bluetooth: HCI UART pro
Logs
No response
Additional context
Note in the program itself, there is no call for the 1-Wire protocol. It is just enabled as an option to the Pi's GPIOs.
Personally, I consider this a bug, because if you are unaware of this behavior, and pin GPIO4 is critical to your application, a lot of debugging can go in to this. Especially that the hardware I2C ans SPI buses do not cause a similar affect.
I did not find a similar bug report.
Thank you for your time and this wonderful platform!
- Dominant language
- C
- Stars
- 13.2k
- Forks
- 5.5k
- Avg merge
- 2d 21h
- Merged PRs (30d)
- 21
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from raspberrypi/linux
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
raspberrypi/linux#7415 · 2 comments · 1 reaction ·
-
rp1-cfe doesn't forward V4L2_EVENT_SOURCE_CHANGE event from csi-2 sensor driver to userspace app Open
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
raspberrypi/linux#7399 · 1 comment ·
-
Difficulty 1/5 Under an hour Newbie friendliness 82/100
raspberrypi/linux#7357 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
raspberrypi/linux#7054 · 2 comments ·
-
Difficulty 4/5 3-5 days Newbie friendliness 48/100
raspberrypi/linux#7634 · 8 comments · 1 reaction ·
All issues in raspberrypi/linux
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
zephyrproject-rtos/zephyr#119726 ·
-
[Bounty proposal] fix(web): memory insights count an evening memory on the next day ($25 proposed) Open
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
BasedHardware/omi#15320 ·
-
[adam] AdamNet network read doesn't cap to MAX_ADAM_PACKET_LEN, overflows client receive buffers Open
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
FujiNetWIFI/fujinet-firmware#1649 · 2 comments ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
HarbourMasters/Shipwright#7229 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
riscv-software-src/riscv-isa-sim#2435 · 1 comment ·