raspberrypi / firmware

This repository contains pre-compiled binaries of the current Raspberry Pi kernel and modules, userspace libraries, and bootloader/GPU firmware.
5.15k stars 1.68k forks source link

some config.txt only respected after clean boot (such as disable_overscan) #1739

Closed theofficialgman closed 1 year ago

theofficialgman commented 2 years ago

Describe the bug If I shutdown the pi (in my case, a Pi0), and boot after the clean shutdown, the disable_overscan=1 setting in config.txt is respected. If I "pull the plug" on the pi and then boot, the disable_overscan=1 is NOT respected and overscan is still enabled. Other options in config.txt are still respected (such as disabling the boot image)

To reproduce and behavior Set disable_overscan=1 in config.txt. Boot the Pi. Cause an unexpected shutdown (such as removing the power cord). Boot the pi again and see that overscan is STILL enabled.

Expected behavior Set disable_overscan=1 in config.txt. Boot the Pi. Cause an unexpected shutdown (such as removing the power cord). Boot the pi again and see that overscan is NOT enabled.

System

System Information
------------------

Raspberry Pi Zero Rev 1.3
PRETTY_NAME="Raspbian GNU/Linux 10 (buster)"
NAME="Raspbian GNU/Linux"
VERSION_ID="10"
VERSION="10 (buster)"

Raspberry Pi reference 2022-01-28
Generated using pi-gen, https://github.com/RPi-Distro/pi-gen, 60f6a26ed5701eec6be5c864dd0db48fe6244fad, stage2

Linux retropie 5.10.103+ #1529 Tue Mar 8 12:19:18 GMT 2022 armv6l GNU/Linux
Revision        : 900093
Serial          : 00000000b42f60c0
Model           : Raspberry Pi Zero Rev 1.3
Throttled flag  : throttled=0x0
Camera          : supported=0 detected=0

Videocore information
---------------------

Dec  1 2021 15:07:06 
Copyright (c) 2012 Broadcom
version 71bd3109023a0c8575585ba87cbb374d2eeb038f (clean) (release) (start)

alloc failures:     0
compactions:        0
legacy block fails: 0

Filesystem information
----------------------
Filesystem     1K-blocks    Used Available Use% Mounted on
/dev/root       14987568 3139600  11193628  22% /
devtmpfs          154712       0    154712   0% /dev
tmpfs             187692       0    187692   0% /dev/shm
tmpfs             187692    3688    184004   2% /run
tmpfs               5120       4      5116   1% /run/lock
tmpfs             187692       0    187692   0% /sys/fs/cgroup
/dev/mmcblk0p1    261868   49932    211936  20% /boot
tmpfs              37536       0     37536   0% /run/user/1000

Filename                                Type            Size            Used            Priority
/var/swap                               file            102396          0               -2

Package version information
---------------------------
raspberrypi-ui-mods:
  Installed: (none)
raspberrypi-sys-mods:
  Installed: 20211005
openbox:
  Installed: (none)
lxpanel:
  Installed: (none)
pcmanfm:
  Installed: (none)
rpd-plym-splash:
  Installed: (none)

Networking Information
----------------------

eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet x.x.x.x  netmask x.x.x.x  broadcast x.x.x.x
        inet6 2601:840:8401:y::y.y.y.y  prefixlen 128  scopeid 0x0<global>
        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 356  bytes 44838 (43.7 KiB)
        RX errors 346  dropped 0  overruns 0  frame 0
        TX packets 375  bytes 51568 (50.3 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

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 4  bytes 240 (240.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 4  bytes 240 (240.0 B)
        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
    |__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/4p, 480M
        |__ Port 1: Dev 3, If 0, Class=Hub, Driver=hub/4p, 480M
            |__ Port 1: Dev 4, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M
            |__ Port 4: Dev 9, If 0, Class=Vendor Specific Class, Driver=ax88179_178a, 480M

config.txt
----------

aphy_params_current=547
arm_freq=1000
arm_freq_min=700
audio_pwm_mode=514
camera_auto_detect=-1
config_hdmi_boost=5
core_freq=400
disable_auto_turbo=1
disable_commandline_tags=2
disable_overscan=1
disable_splash=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
max_framebuffers=-1
over_voltage_avs=0x249f0
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 snd_bcm2835.enable_compat_alsa=0 snd_bcm2835.enable_hdmi=1 bcm2708_fb.fbwidth=1024 bcm2708_fb.fbheight=768 bcm2708_fb.fbswap=1 smsc95xx.macaddr=B8:27:EB:2F:60:C0 vc_mem.mem_base=0x1ec00000 vc_mem.mem_size=0x20000000  console=ttyAMA0,115200 console=tty1 root=PARTUUID=1cbe728c-02 rootfstype=ext4 fsck.repair=yes rootwait loglevel=3 consoleblank=0 plymouth.enable=0

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=0 func=INPUT
GPIO 3: level=1 fsel=0 func=INPUT
GPIO 4: level=1 fsel=0 func=INPUT
GPIO 5: level=1 fsel=0 func=INPUT
GPIO 6: level=1 fsel=0 func=INPUT
GPIO 7: level=1 fsel=0 func=INPUT
GPIO 8: level=1 fsel=0 func=INPUT
GPIO 9: level=0 fsel=0 func=INPUT
GPIO 10: level=0 fsel=0 func=INPUT
GPIO 11: level=0 fsel=0 func=INPUT
GPIO 12: level=0 fsel=0 func=INPUT
GPIO 13: level=0 fsel=0 func=INPUT
GPIO 14: level=1 fsel=4 alt=0 func=TXD0
GPIO 15: level=1 fsel=4 alt=0 func=RXD0
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=1 fsel=0 func=INPUT
GPIO 30: level=0 fsel=0 func=INPUT
GPIO 31: level=0 fsel=0 func=INPUT
GPIO 32: level=1 fsel=1 func=OUTPUT
GPIO 33: level=0 fsel=0 func=INPUT
GPIO 34: level=1 fsel=0 func=INPUT
GPIO 35: level=1 fsel=0 func=INPUT
GPIO 36: level=1 fsel=0 func=INPUT
GPIO 37: level=0 fsel=0 func=INPUT
GPIO 38: level=0 fsel=0 func=INPUT
GPIO 39: level=0 fsel=0 func=INPUT
GPIO 40: level=0 fsel=0 func=INPUT
GPIO 41: level=0 fsel=1 func=OUTPUT
GPIO 42: level=0 fsel=0 func=INPUT
GPIO 43: level=0 fsel=0 func=INPUT
GPIO 44: level=0 fsel=0 func=INPUT
GPIO 45: level=0 fsel=0 func=INPUT
BANK2 (GPIO 46 to 53):
GPIO 46: level=0 fsel=0 func=INPUT
GPIO 47: level=0 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
------------------

001222.434: brfs: File read: /mfs/sd/config.txt
001223.256: brfs: File read: 1966 bytes
001306.444: brfs: File read: /mfs/sd/config.txt
001307.200: gpioman: gpioman_get_pin_num: pin LEDS_PWR_OK not defined
001942.814: gpioman: gpioman_get_pin_num: pin WL_LPO_CLK not defined
001942.840: gpioman: gpioman_get_pin_num: pin BT_ON not defined
001942.861: gpioman: gpioman_get_pin_num: pin WL_ON not defined
001965.081: gpioman: gpioman_get_pin_num: pin LEDS_PWR_OK not defined
001965.133: *** Restart logging
001965.160: brfs: File read: 1966 bytes
001997.300: HDMI0: hdmi_pixel_encoding: 162000000
002002.635: dtb_file 'bcm2708-rpi-zero.dtb'
002009.111: brfs: File read: /mfs/sd/bcm2708-rpi-zero.dtb
002009.136: Loading 'bcm2708-rpi-zero.dtb' to 0x100 size 0x654b
002021.340: brfs: File read: 25931 bytes
002033.119: brfs: File read: /mfs/sd/overlays/overlay_map.dtb
002096.047: brfs: File read: 1667 bytes
002101.997: brfs: File read: /mfs/sd/config.txt
002102.408: dtparam: audio=on
002120.785: brfs: File read: 1966 bytes
002124.564: brfs: File read: /mfs/sd/cmdline.txt
002124.603: Read command line from file 'cmdline.txt':
002124.625: 'console=serial0,115200 console=tty1 root=PARTUUID=1cbe728c-02 rootfstype=ext4 fsck.repair=yes rootwait loglevel=3 consoleblank=0 plymouth.enable=0'
002896.917: gpioman: gpioman_get_pin_num: pin EMMC_ENABLE not defined
002913.548: gpioman: gpioman_get_pin_num: pin WL_ON not defined
002919.597: brfs: File read: 147 bytes
003275.417: brfs: File read: /mfs/sd/kernel.img
003275.441: Loading 'kernel.img' to 0x8000 size 0x5bcc58
003275.473: Device tree loaded to 0x17fe9600 (size 0x69d8)
003277.340: gpioman: gpioman_get_pin_num: pin SDCARD_CONTROL_POWER not defined
007587.007: vchiq_core: vchiq_init_state: slot_zero = 0x93d80000, is_master = 1
007591.706: hdmi: HDMI:hdmi_get_state is deprecated, use hdmi_get_display_state instead
007597.664: TV service:host side not connected, dropping notification 0x00000002, 0x00000002, 0x00000010

dmesg log
---------

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 5.10.103+ (dom@buildbot) (arm-linux-gnueabihf-gcc-8 (Ubuntu/Linaro 8.4.0-3ubuntu1) 8.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #1529 Tue Mar 8 12:19:18 GMT 2022
[    0.000000] CPU: ARMv6-compatible processor [410fb767] revision 7 (ARMv7), cr=00c5387d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT nonaliasing instruction cache
[    0.000000] OF: fdt: Machine model: Raspberry Pi Zero Rev 1.3
[    0.000000] random: fast init done
[    0.000000] Memory policy: Data cache writeback
[    0.000000] Reserved memory: created CMA memory pool at 0x13c00000, size 64 MiB
[    0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000000000000-0x0000000017ffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x0000000017ffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000017ffffff]
[    0.000000] On node 0 totalpages: 98304
[    0.000000]   Normal zone: 864 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 98304 pages, LIFO batch:31
[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[    0.000000] pcpu-alloc: [0] 0 
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 97440
[    0.000000] Kernel command line: coherent_pool=1M snd_bcm2835.enable_compat_alsa=0 snd_bcm2835.enable_hdmi=1 bcm2708_fb.fbwidth=1024 bcm2708_fb.fbheight=768 bcm2708_fb.fbswap=1 smsc95xx.macaddr=m.m.m.m vc_mem.mem_base=0x1ec00000 vc_mem.mem_size=0x20000000  console=ttyAMA0,115200 console=tty1 root=PARTUUID=1cbe728c-02 rootfstype=ext4 fsck.repair=yes rootwait loglevel=3 consoleblank=0 plymouth.enable=0
[    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: 309424K/393216K available (8694K kernel code, 1324K rwdata, 2828K rodata, 424K init, 836K bss, 18256K reserved, 65536K cma-reserved)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] ftrace: allocating 30738 entries in 91 pages
[    0.000000] ftrace: allocated 91 pages with 5 groups
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] random: get_random_bytes called from start_kernel+0x324/0x564 with crng_init=1
[    0.000026] sched_clock: 32 bits at 1000kHz, resolution 1000ns, wraps every 2147483647500ns
[    0.000088] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1911260446275 ns
[    0.000182] bcm2835: system timer (irq = 27)
[    0.000852] Console: colour dummy device 80x30
[    0.000947] printk: console [tty1] enabled
[    0.001026] Calibrating delay loop... 697.95 BogoMIPS (lpj=3489792)
[    0.060344] pid_max: default: 32768 minimum: 301
[    0.060640] LSM: Security Framework initializing
[    0.060949] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.060984] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.063277] cgroup: Disabling memory control group subsystem
[    0.063718] CPU: Testing write buffer coherency: ok
[    0.065829] Setting up static identity map for 0x8200 - 0x8238
[    0.067224] devtmpfs: initialized
[    0.080855] VFP support v0.3: implementor 41 architecture 1 part 20 variant b rev 5
[    0.081260] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.081309] futex hash table entries: 256 (order: -1, 3072 bytes, linear)
[    0.090041] pinctrl core: initialized pinctrl subsystem
[    0.092269] NET: Registered protocol family 16
[    0.097032] DMA: preallocated 1024 KiB pool for atomic coherent allocations
[    0.103420] audit: initializing netlink subsys (disabled)
[    0.105067] thermal_sys: Registered thermal governor 'step_wise'
[    0.106178] hw-breakpoint: found 6 breakpoint and 1 watchpoint registers.
[    0.106205] hw-breakpoint: maximum watchpoint size is 4 bytes.
[    0.106505] Serial: AMBA PL011 UART driver
[    0.110858] audit: type=2000 audit(0.100:1): state=initialized audit_enabled=0 res=1
[    0.128745] bcm2835-mbox 2000b880.mailbox: mailbox enabled
[    0.140866] raspberrypi-firmware soc:firmware: Attached to firmware from 2021-12-01T15:07:06, variant start
[    0.150883] raspberrypi-firmware soc:firmware: Firmware hash is 71bd3109023a0c8575585ba87cbb374d2eeb038f
[    0.203804] Kprobes globally optimized
[    0.213948] bcm2835-dma 20007000.dma: DMA legacy API manager, dmachans=0x1
[    0.217251] SCSI subsystem initialized
[    0.217744] usbcore: registered new interface driver usbfs
[    0.217869] usbcore: registered new interface driver hub
[    0.217988] usbcore: registered new device driver usb
[    0.220975] clocksource: Switched to clocksource timer
[    2.232645] VFS: Disk quotas dquot_6.6.0
[    2.232799] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    2.233088] FS-Cache: Loaded
[    2.233521] CacheFiles: Loaded
[    2.255099] NET: Registered protocol family 2
[    2.255456] IP idents hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    2.257067] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
[    2.257174] TCP established hash table entries: 4096 (order: 2, 16384 bytes, linear)
[    2.257267] TCP bind hash table entries: 4096 (order: 2, 16384 bytes, linear)
[    2.257370] TCP: Hash tables configured (established 4096 bind 4096)
[    2.257578] UDP hash table entries: 256 (order: 0, 4096 bytes, linear)
[    2.257629] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear)
[    2.258053] NET: Registered protocol family 1
[    2.259451] RPC: Registered named UNIX socket transport module.
[    2.259479] RPC: Registered udp transport module.
[    2.259493] RPC: Registered tcp transport module.
[    2.259506] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    2.261402] hw perfevents: no irqs for PMU, sampling events not supported
[    2.261491] hw perfevents: enabled with armv6_1176 PMU driver, 3 counters available
[    2.266311] Initialise system trusted keyrings
[    2.266935] workingset: timestamp_bits=14 max_order=17 bucket_order=3
[    2.279088] zbud: loaded
[    2.282444] FS-Cache: Netfs 'nfs' registered for caching
[    2.283965] NFS: Registering the id_resolver key type
[    2.284055] Key type id_resolver registered
[    2.284074] Key type id_legacy registered
[    2.284310] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    2.284335] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[    2.286391] Key type asymmetric registered
[    2.286424] Asymmetric key parser 'x509' registered
[    2.286530] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)
[    2.286553] io scheduler mq-deadline registered
[    2.286569] io scheduler kyber registered
[    2.290041] bcm2708_fb soc:fb: FB found 1 display(s)
[    2.305047] Console: switching to colour frame buffer device 128x48
[    2.320155] bcm2708_fb soc:fb: Registered framebuffer for display 0, size 1024x768
[    2.329699] bcm2835-rng 20104000.rng: hwrng registered
[    2.330344] vc-mem: phys_addr:0x00000000 mem_base=0x1ec00000 mem_size:0x20000000(512 MiB)
[    2.332251] gpiomem-bcm2835 20200000.gpiomem: Initialised: Registers at 0x20200000
[    2.356668] brd: module loaded
[    2.374084] loop: module loaded
[    2.376784] Loading iSCSI transport class v2.0-870.
[    2.379930] usbcore: registered new interface driver smsc95xx
[    2.379985] dwc_otg: version 3.00a 10-AUG-2012 (platform bus)
[    3.108708] Core Release: 2.80a
[    3.108764] Setting default values for core params
[    3.108808] Finished setting default values for core params
[    3.309366] Using Buffer DMA mode
[    3.309396] Periodic Transfer Interrupt Enhancement - disabled
[    3.309412] Multiprocessor Interrupt Enhancement - disabled
[    3.309432] OTG VER PARAM: 0, OTG VER FLAG: 0
[    3.309627] Dedicated Tx FIFOs mode

[    3.310588] WARN::dwc_otg_hcd_init:1074: FIQ DMA bounce buffers: virt = d3d14000 dma = 0x93d14000 len=9024
[    3.310631] FIQ FSM acceleration enabled for :
               Non-periodic Split Transactions
               Periodic Split Transactions
               High-Speed Isochronous Endpoints
               Interrupt/Control Split Transaction hack enabled
[    3.310654] dwc_otg: Microframe scheduler enabled

[    3.310859] WARN::hcd_init_fiq:457: FIQ on core 0

[    3.310883] WARN::hcd_init_fiq:458: FIQ ASM at c065d9b4 length 36

[    3.310923] WARN::hcd_init_fiq:497: MPHI regs_base at d8810000
[    3.311042] dwc_otg 20980000.usb: DWC OTG Controller
[    3.311130] dwc_otg 20980000.usb: new USB bus registered, assigned bus number 1
[    3.311237] dwc_otg 20980000.usb: irq 56, io mem 0x00000000
[    3.311306] Init: Port Power? op_state=1
[    3.311321] Init: Power Port (0)
[    3.311972] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.10
[    3.312004] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    3.312026] usb usb1: Product: DWC OTG Controller
[    3.312046] usb usb1: Manufacturer: Linux 5.10.103+ dwc_otg_hcd
[    3.312066] usb usb1: SerialNumber: 20980000.usb
[    3.313450] hub 1-0:1.0: USB hub found
[    3.313597] hub 1-0:1.0: 1 port detected
[    3.315713] dwc_otg: FIQ enabled
[    3.315741] dwc_otg: NAK holdoff enabled
[    3.315756] dwc_otg: FIQ split-transaction FSM enabled
[    3.315786] Module dwc_common_port init
[    3.316425] usbcore: registered new interface driver usb-storage
[    3.316993] mousedev: PS/2 mouse device common for all mice
[    3.318860] bcm2835-wdt bcm2835-wdt: Broadcom BCM2835 watchdog timer
[    3.322142] sdhci: Secure Digital Host Controller Interface driver
[    3.322170] sdhci: Copyright(c) Pierre Ossman
[    3.323200] sdhost-bcm2835 20202000.mmc: could not get clk, deferring probe
[    3.323625] sdhci-pltfm: SDHCI platform and OF driver helper
[    3.324549] ledtrig-cpu: registered to indicate activity on CPUs
[    3.325142] hid: raw HID events driver (C) Jiri Kosina
[    3.325461] usbcore: registered new interface driver usbhid
[    3.325483] usbhid: USB HID core driver
[    3.333935] Initializing XFRM netlink socket
[    3.334021] NET: Registered protocol family 17
[    3.334283] Key type dns_resolver registered
[    3.335438] registered taskstats version 1
[    3.335509] Loading compiled-in X.509 certificates
[    3.353911] uart-pl011 20201000.serial: cts_event_workaround enabled
[    3.354089] 20201000.serial: ttyAMA0 at MMIO 0x20201000 (irq = 81, base_baud = 0) is a PL011 rev2
[    3.354449] printk: console [ttyAMA0] enabled
[    3.358119] bcm2835-power bcm2835-power: Broadcom BCM2835 power domains driver
[    3.362083] sdhost: log_buf @ (ptrval) (93d13000)
[    3.410900] mmc0: sdhost-bcm2835 loaded - DMA enabled (>1)
[    3.415185] of_cfs_init
[    3.415468] of_cfs_init: OK
[    3.438240] Waiting for root device PARTUUID=1cbe728c-02...
[    3.441337] Indeed it is in host mode hprt0 = 00021501
[    3.568417] mmc0: host does not support reading read-only switch, assuming write-enable
[    3.572131] mmc0: new high speed SDHC card at address aaaa
[    3.573821] mmcblk0: mmc0:aaaa SS16G 14.8 GiB
[    3.577654]  mmcblk0: p1 p2
[    3.617048] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[    3.617258] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
[    3.618963] devtmpfs: mounted
[    3.626600] Freeing unused kernel memory: 424K
[    3.626651] Kernel memory protection not selected by kernel config.
[    3.626735] Run /sbin/init as init process
[    3.626751]   with arguments:
[    3.626765]     /sbin/init
[    3.626777]   with environment:
[    3.626789]     HOME=/
[    3.626801]     TERM=linux
[    3.651152] usb 1-1: new high-speed USB device number 2 using dwc_otg
[    3.651439] Indeed it is in host mode hprt0 = 00001101
[    3.892118] usb 1-1: New USB device found, idVendor=1a40, idProduct=0101, bcdDevice= 1.11
[    3.892186] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[    3.892212] usb 1-1: Product: USB 2.0 Hub
[    3.893735] hub 1-1:1.0: USB hub found
[    3.893971] hub 1-1:1.0: 4 ports detected
[    4.311157] usb 1-1.1: new high-speed USB device number 3 using dwc_otg
[    4.493069] systemd[1]: System time before build time, advancing clock.
[    4.541945] usb 1-1.1: New USB device found, idVendor=1a40, idProduct=0101, bcdDevice= 1.11
[    4.541987] usb 1-1.1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[    4.542011] usb 1-1.1: Product: USB 2.0 Hub
[    4.543371] hub 1-1.1:1.0: USB hub found
[    4.543605] hub 1-1.1:1.0: 4 ports detected
[    4.681571] NET: Registered protocol family 10
[    4.684043] Segment Routing with IPv6
[    4.810280] systemd[1]: systemd 241 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD -IDN2 +IDN -PCRE2 default-hierarchy=hybrid)
[    4.813026] systemd[1]: Detected architecture arm.
[    4.841768] systemd[1]: Set hostname to <retropie>.
[    4.961235] usb 1-1.1.1: new low-speed USB device number 4 using dwc_otg
[    5.200471] usb 1-1.1.1: New USB device found, idVendor=0079, idProduct=0006, bcdDevice= 1.07
[    5.200514] usb 1-1.1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[    5.200541] usb 1-1.1.1: Product: Generic   USB  Joystick  
[    5.200561] usb 1-1.1.1: Manufacturer: DragonRise Inc.  
[    6.472428] uart-pl011 20201000.serial: no DMA platform data
[    7.621276] systemd[1]: /lib/systemd/system/smbd.service:9: PIDFile= references path below legacy directory /var/run/, updating /var/run/samba/smbd.pid → /run/samba/smbd.pid; please update the unit file accordingly.
[    7.689781] systemd[1]: /lib/systemd/system/nmbd.service:9: PIDFile= references path below legacy directory /var/run/, updating /var/run/samba/nmbd.pid → /run/samba/nmbd.pid; please update the unit file accordingly.
[    7.918120] random: systemd: uninitialized urandom read (16 bytes read)
[    7.960001] random: systemd: uninitialized urandom read (16 bytes read)
[    7.963181] systemd[1]: Listening on Journal Socket.
[    7.965231] random: systemd: uninitialized urandom read (16 bytes read)
[    7.966921] systemd[1]: Listening on Syslog Socket.
[    7.988528] systemd[1]: Starting Set the console keyboard layout...
[    8.022198] systemd[1]: Starting Restore / save the current clock...
[    8.049527] systemd[1]: Listening on Journal Socket (/dev/log).
[   10.091422] systemd[1]: Started Apply Kernel Variables.
[   10.343342] systemd[1]: Started File System Check Daemon to report status.
[   11.072752] systemd[1]: Started Journal Service.
[   46.361165] random: crng init done
[   46.361202] random: 7 urandom warning(s) missed due to ratelimiting
[   60.109336] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
[   60.726776] systemd-journald[93]: Received request to flush runtime journal from PID 1
[   63.415989] vc_sm_cma: module is from the staging directory, the quality is unknown, you have been warned.
[   63.418800] bcm2835_vc_sm_cma_probe: Videocore shared memory driver
[   63.418841] [vc_sm_connected_init]: start
[   63.420625] mc: Linux media interface: v0.10
[   63.481375] [vc_sm_connected_init]: installed successfully
[   63.709946] videodev: Linux video capture interface: v2.00
[   63.801926] bcm2835_mmal_vchiq: module is from the staging directory, the quality is unknown, you have been warned.
[   63.804076] bcm2835_mmal_vchiq: module is from the staging directory, the quality is unknown, you have been warned.
[   63.807347] bcm2835_mmal_vchiq: module is from the staging directory, the quality is unknown, you have been warned.
[   63.849754] bcm2835_isp: module is from the staging directory, the quality is unknown, you have been warned.
[   63.875518] bcm2835_v4l2: module is from the staging directory, the quality is unknown, you have been warned.
[   63.877124] snd_bcm2835: module is from the staging directory, the quality is unknown, you have been warned.
[   63.898388] bcm2835_audio bcm2835_audio: there is not valid maps for state default
[   63.923114] bcm2835-isp bcm2835-isp: Device node output[0] registered as /dev/video13
[   63.927395] bcm2835-isp bcm2835-isp: Device node capture[0] registered as /dev/video14
[   63.943217] bcm2835-isp bcm2835-isp: Device node capture[1] registered as /dev/video15
[   63.946541] bcm2835_codec: module is from the staging directory, the quality is unknown, you have been warned.
[   63.954222] bcm2835-isp bcm2835-isp: Device node stats[2] registered as /dev/video16
[   63.954332] bcm2835-isp bcm2835-isp: Register output node 0 with media controller
[   63.954380] bcm2835-isp bcm2835-isp: Register capture node 1 with media controller
[   63.954423] bcm2835-isp bcm2835-isp: Register capture node 2 with media controller
[   63.954460] bcm2835-isp bcm2835-isp: Register capture node 3 with media controller
[   63.959620] bcm2835-isp bcm2835-isp: Loaded V4L2 bcm2835-isp
[   64.016680] bcm2835_audio bcm2835_audio: card created with 8 channels
[   64.082585] bcm2835-codec bcm2835-codec: Device registered as /dev/video10
[   64.082685] bcm2835-codec bcm2835-codec: Loaded V4L2 decode
[   64.098134] bcm2835-codec bcm2835-codec: Device registered as /dev/video11
[   64.098231] bcm2835-codec bcm2835-codec: Loaded V4L2 encode
[   64.141236] bcm2835-codec bcm2835-codec: Device registered as /dev/video12
[   64.141334] bcm2835-codec bcm2835-codec: Loaded V4L2 isp
[   64.175875] bcm2835-codec bcm2835-codec: Device registered as /dev/video18
[   64.175971] bcm2835-codec bcm2835-codec: Loaded V4L2 image_fx
[   67.632508] input: DragonRise Inc.   Generic   USB  Joystick   as /devices/platform/soc/20980000.usb/usb1/1-1/1-1.1/1-1.1.1/1-1.1.1:1.0/0003:0079:0006.0001/input/input0
[   67.672005] dragonrise 0003:0079:0006.0001: input,hidraw0: USB HID v1.10 Joystick [DragonRise Inc.   Generic   USB  Joystick  ] on usb-20980000.usb-1.1.1/input0
[   76.280228] 8021q: 802.1Q VLAN Support v1.8
[   76.957002] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[   77.547193] Adding 102396k swap on /var/swap.  Priority:-2 extents:1 across:102396k SSFS
[   77.572564] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[  128.811149] usb 1-1.1.4: new high-speed USB device number 5 using dwc_otg
[  129.047969] usb 1-1.1.4: New USB device found, idVendor=0b95, idProduct=1790, bcdDevice= 1.00
[  129.048000] usb 1-1.1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[  129.048015] usb 1-1.1.4: Product: AX88179
[  129.048028] usb 1-1.1.4: Manufacturer: ASIX Elec. Corp.
[  129.048041] usb 1-1.1.4: SerialNumber: 000050B6FDFD3C
[  129.763027] ax88179_178a 1-1.1.4:1.0 eth0: register 'ax88179_178a' at usb-20980000.usb-1.1.4, ASIX AX88179 USB 3.0 Gigabit Ethernet, m.m.m.m
[  129.778937] usbcore: registered new interface driver ax88179_178a
[  131.995893] usb 1-1.1.4: USB disconnect, device number 5
[  131.996401] ax88179_178a 1-1.1.4:1.0 eth0: unregister 'ax88179_178a' usb-20980000.usb-1.1.4, ASIX AX88179 USB 3.0 Gigabit Ethernet
[  131.996520] ax88179_178a 1-1.1.4:1.0 eth0: Failed to read reg index 0x0002: -19
[  131.996556] ax88179_178a 1-1.1.4:1.0 eth0: Failed to write reg index 0x0002: -19
[  132.021174] ax88179_178a 1-1.1.4:1.0 eth0 (unregistered): Failed to write reg index 0x0002: -19
[  132.021226] ax88179_178a 1-1.1.4:1.0 eth0 (unregistered): Failed to write reg index 0x0001: -19
[  132.021262] ax88179_178a 1-1.1.4:1.0 eth0 (unregistered): Failed to write reg index 0x0002: -19
[  134.441142] usb 1-1.1.3: new full-speed USB device number 6 using dwc_otg
[  134.841118] usb 1-1.1.3: new high-speed USB device number 7 using dwc_otg
[  135.077463] usb 1-1.1.3: New USB device found, idVendor=0b95, idProduct=1790, bcdDevice= 1.00
[  135.077498] usb 1-1.1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[  135.077515] usb 1-1.1.3: Product: AX88179
[  135.077531] usb 1-1.1.3: Manufacturer: ASIX Elec. Corp.
[  135.077547] usb 1-1.1.3: SerialNumber: 000050B6FDFD3C
[  135.457490] ax88179_178a 1-1.1.3:1.0 eth0: register 'ax88179_178a' at usbpi@retropie:~ $ -20980000.usb-1.1.3, ASIX AX88179 USB 3.0 Gigabit Ethernet, m.m.m.m
[  139.749653] ax88179_178a 1-1.1.3:1.0 eth0: ax88179 - Link status is: 1
[  139.763777] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[  141.785101] ICMPv6: process `dhcpcd' is using deprecated sysctl (syscall) net.ipv6.neigh.eth0.retrans_time - use net.ipv6.neigh.eth0.retrans_time_ms instead
[  144.285928] usb 1-1.1.3: USB disconnect, device number 7
[  144.286363] ax88179_178a 1-1.1.3:1.0 eth0: unregister 'ax88179_178a' usb-20980000.usb-1.1.3, ASIX AX88179 USB 3.0 Gigabit Ethernet
[  144.286480] ax88179_178a 1-1.1.3:1.0 eth0: Failed to read reg index 0x0002: -19
[  144.286517] ax88179_178a 1-1.1.3:1.0 eth0: Failed to write reg index 0x0002: -19
[  144.315825] ax88179_178a 1-1.1.3:1.0 eth0 (unregistered): Failed to write reg index 0x0002: -19
[  144.315877] ax88179_178a 1-1.1.3:1.0 eth0 (unregistered): Failed to write reg index 0x0001: -19
[  144.315914] ax88179_178a 1-1.1.3:1.0 eth0 (unregistered): Failed to write reg index 0x0002: -19
[  163.111110] usb 1-1.1.4: new high-speed USB device number 8 using dwc_otg
[  163.347925] usb 1-1.1.4: New USB device found, idVendor=0b95, idProduct=1790, bcdDevice= 1.00
[  163.347966] usb 1-1.1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[  163.347985] usb 1-1.1.4: Product: AX88179
[  163.348002] usb 1-1.1.4: Manufacturer: ASIX Elec. Corp.
[  163.348017] usb 1-1.1.4: SerialNumber: 000050B6FDFD3C
[  163.725292] ax88179_178a 1-1.1.4:1.0 eth0: register 'ax88179_178a' at usb-20980000.usb-1.1.4, ASIX AX88179 USB 3.0 Gigabit Ethernet, m.m.m.m
[  167.841057] usb 1-1.1.4: USB disconnect, device number 8
[  167.841497] ax88179_178a 1-1.1.4:1.0 eth0: unregister 'ax88179_178a' usb-20980000.usb-1.1.4, ASIX AX88179 USB 3.0 Gigabit Ethernet
[  167.841611] ax88179_178a 1-1.1.4:1.0 eth0: Failed to read reg index 0x0002: -19
[  167.841647] ax88179_178a 1-1.1.4:1.0 eth0: Failed to write reg index 0x0002: -19
[  167.850362] ax88179_178a 1-1.1.4:1.0 eth0 (unregistered): Failed to write reg index 0x0002: -19
[  167.850416] ax88179_178a 1-1.1.4:1.0 eth0 (unregistered): Failed to write reg index 0x0001: -19
[  167.850454] ax88179_178a 1-1.1.4:1.0 eth0 (unregistered): Failed to write reg index 0x0002: -19
[  181.041082] usb 1-1.1.4: new high-speed USB device number 9 using dwc_otg
[  181.277696] usb 1-1.1.4: New USB device found, idVendor=0b95, idProduct=1790, bcdDevice= 1.00
[  181.277734] usb 1-1.1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[  181.277750] usb 1-1.1.4: Product: AX88179
[  181.277764] usb 1-1.1.4: Manufacturer: ASIX Elec. Corp.
[  181.277778] usb 1-1.1.4: SerialNumber: 000050B6FDFD3C
[  181.654967] ax88179_178a 1-1.1.4:1.0 eth0: register 'ax88179_178a' at usb-20980000.usb-1.1.4, ASIX AX88179 USB 3.0 Gigabit Ethernet, m.m.m.m
[  186.188719] ax88179_178a 1-1.1.4:1.0 eth0: ax88179 - Link status is: 1
[  186.201446] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
theofficialgman commented 1 year ago

closing as this turned out to be due to inconsistent power supply issues causing the device to fallback into not reading config.txt