Quantcast
Viewing all articles
Browse latest Browse all 5391

Advanced users • Re: Looking for advance debug methods for non-booting RaspberryOS via NOOBS/PINN

OK, tired of trying to get any verbose info during early boot and UART outputs almost 0 info - just unhelpful

Code:

Raspberry Pi BootcodeFound SD card, config.txt = 1, start.elf = 0, recovery.elf = 1, timeout = 0 
which is not enough to debug.
So, I'm booting my physical microSD in qemu. At least, now I can see a lot of verbose output to play with! Image may be NSFW.
Clik here to view.
:twisted:


Hello debugging Image may be NSFW.
Clik here to view.
:twisted:
:

Code:

[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034][    0.000000] Linux version 5.10.103-v8+ (dom@buildbot) (aarch64-linux-gnu-gcc-8 (Ubuntu/Linaro 8.4.0-3ubuntu1) 8.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #1529 SMP PREEMPT Tue Mar 8 12:26:46 GMT 2022[    0.000000] Machine model: Raspberry Pi 3 Model B+[    0.000000] efi: UEFI not found.[    0.000000] Reserved memory: created CMA memory pool at 0x0000000038000000, size 64 MiB[    0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool[    0.000000] Zone ranges:[    0.000000]   DMA      [mem 0x0000000000000000-0x000000003bffffff][    0.000000]   DMA32    empty[    0.000000]   Normal   empty[    0.000000] Movable zone start for each node[    0.000000] Early memory node ranges[    0.000000]   node   0: [mem 0x0000000000000000-0x000000003bffffff][    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x000000003bffffff][    0.000000] On node 0 totalpages: 245760[    0.000000]   DMA zone: 3840 pages used for memmap[    0.000000]   DMA zone: 0 pages reserved[    0.000000]   DMA zone: 245760 pages, LIFO batch:63[    0.000000] percpu: Embedded 32 pages/cpu s91416 r8192 d31464 u131072[    0.000000] pcpu-alloc: s91416 r8192 d31464 u131072 alloc=32*4096[    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 [    0.000000] Detected VIPT I-cache on CPU0[    0.000000] CPU features: detected: ARM erratum 845719[    0.000000] CPU features: detected: ARM erratum 843419[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 241920[    0.000000] Kernel command line: rw earlyprintk loglevel=8 console=ttyAMA0,115200 dwc_otg.lpm_enable=0 root=/dev/mmcblk0p7 rootfstype=ext4 rootdelay=1[    0.000000] Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes, linear)[    0.000000] Inode-cache hash table entries: 65536 (order: 7, 524288 bytes, linear)[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off[    0.000000] Memory: 874716K/983040K available (11136K kernel code, 1948K rwdata, 3988K rodata, 3712K init, 1255K bss, 42788K reserved, 65536K cma-reserved)[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1[    0.000000] ftrace: allocating 36795 entries in 144 pages[    0.000000] ftrace: allocated 144 pages with 2 groups[    0.000000] rcu: Preemptible hierarchical RCU implementation.[    0.000000] rcu: RCU event tracing is enabled.[    0.000000] rcu: RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=4.[    0.000000] Trampoline variant of Tasks RCU enabled.[    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 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] random: get_random_bytes called from start_kernel+0x3b0/0x570 with crng_init=0[    0.000000] arch_timer: cp15 timer(s) running at 62.50MHz (phys).[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x1cd42e208c, max_idle_ns: 881590405314 ns[    0.000123] sched_clock: 56 bits at 62MHz, resolution 16ns, wraps every 4398046511096ns[    0.003254] Console: colour dummy device 80x25[    0.006803] Calibrating delay loop (skipped), value calculated using timer frequency.. 125.00 BogoMIPS (lpj=250000)[    0.006952] pid_max: default: 32768 minimum: 301[    0.007702] LSM: Security Framework initializing[    0.009577] Mount-cache hash table entries: 2048 (order: 2, 16384 bytes, linear)[    0.009629] Mountpoint-cache hash table entries: 2048 (order: 2, 16384 bytes, linear)[    0.024240] cgroup: Disabling memory control group subsystem[    0.043517] rcu: Hierarchical SRCU implementation.[    0.046959] EFI services will not be available.[    0.048527] smp: Bringing up secondary CPUs ...[    0.051396] Detected VIPT I-cache on CPU1[    0.051842] CPU1: Booted secondary processor 0x0000000001 [0x410fd034][    0.055613] Detected VIPT I-cache on CPU2[    0.055725] CPU2: Booted secondary processor 0x0000000002 [0x410fd034][    0.057798] Detected VIPT I-cache on CPU3[    0.057882] CPU3: Booted secondary processor 0x0000000003 [0x410fd034][    0.058248] smp: Brought up 1 node, 4 CPUs[    0.058316] SMP: Total of 4 processors activated.[    0.058389] CPU features: detected: 32-bit EL0 Support[    0.058434] CPU features: detected: CRC32 instructions[    0.058469] CPU features: detected: 32-bit EL1 Support[    0.167590] CPU: All CPU(s) started at EL2[    0.168043] alternatives: patching kernel code[    0.180084] devtmpfs: initialized[    0.199591] Enabled cp15_barrier support[    0.199805] Enabled setend support[    0.200607] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns[    0.200744] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)[    0.204766] pinctrl core: initialized pinctrl subsystem[    0.212054] DMI not present or invalid.[    0.213658] NET: Registered protocol family 16[    0.228848] DMA: preallocated 128 KiB GFP_KERNEL pool for atomic allocations[    0.229941] DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations[    0.230244] DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations[    0.230479] audit: initializing netlink subsys (disabled)[    0.232045] audit: type=2000 audit(0.184:1): state=initialized audit_enabled=0 res=1[    0.233928] thermal_sys: Registered thermal governor 'step_wise'[    0.235775] cpuidle: using governor menu[    0.236542] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.[    0.237287] ASID allocator initialised with 65536 entries[    0.237906] Serial: AMBA PL011 UART driver[    0.263906] bcm2835-mbox 3f00b880.mailbox: mailbox enabled[    0.277062] raspberrypi-firmware soc:firmware: Attached to firmware from 1970-01-05T00:12:17, variant unknown[    0.281784] raspberrypi-firmware soc:firmware: Firmware hash is 000000000000000000000000115dbb60ffffffc0[    0.331866] bcm2835-dma 3f007000.dma: DMA legacy API manager, dmachans=0x1[    0.339544] vgaarb: loaded[    0.340780] SCSI subsystem initialized[    0.341744] usbcore: registered new interface driver usbfs[    0.341985] usbcore: registered new interface driver hub[    0.342136] usbcore: registered new device driver usb[    0.343605] usb_phy_generic phy: supply vcc not found, using dummy regulator[    0.355303] clocksource: Switched to clocksource arch_sys_counter[    0.806460] VFS: Disk quotas dquot_6.6.0[    0.806750] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)[    0.807379] FS-Cache: Loaded[    0.808448] CacheFiles: Loaded[    0.829540] NET: Registered protocol family 2[    0.830431] IP idents hash table entries: 16384 (order: 5, 131072 bytes, linear)[    0.835420] tcp_listen_portaddr_hash hash table entries: 512 (order: 1, 8192 bytes, linear)[    0.835924] TCP established hash table entries: 8192 (order: 4, 65536 bytes, linear)[    0.836269] TCP bind hash table entries: 8192 (order: 5, 131072 bytes, linear)[    0.836476] TCP: Hash tables configured (established 8192 bind 8192)[    0.837693] UDP hash table entries: 512 (order: 2, 16384 bytes, linear)[    0.837867] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes, linear)[    0.839400] NET: Registered protocol family 1[    0.842679] RPC: Registered named UNIX socket transport module.[    0.842736] RPC: Registered udp transport module.[    0.842761] RPC: Registered tcp transport module.[    0.842782] RPC: Registered tcp NFSv4.1 backchannel transport module.[    0.842909] PCI: CLS 0 bytes, default 64[    0.850228] hw perfevents: enabled with armv8_cortex_a53 PMU driver, 7 counters available[    0.850922] kvm [1]: IPA Size Limit: 40 bits[    0.856763] kvm [1]: Hyp mode initialized successfully[    0.862734] Initialise system trusted keyrings[    0.864423] workingset: timestamp_bits=46 max_order=18 bucket_order=0[    0.872114] zbud: loaded[    0.875762] FS-Cache: Netfs 'nfs' registered for caching[    0.877400] NFS: Registering the id_resolver key type[    0.877712] Key type id_resolver registered[    0.877748] Key type id_legacy registered[    0.878059] nfs4filelayout_init: NFSv4 File Layout Driver Registering...[    0.878170] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...[    0.881297] Key type asymmetric registered[    0.881394] Asymmetric key parser 'x509' registered[    0.881556] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)[    0.882258] io scheduler mq-deadline registered[    0.882360] io scheduler kyber registered[    0.888945] raspberrypi-exp-gpio soc:firmware:expgpio: Failed to get GPIO 0 config (0 80)[    0.890162] raspberrypi-exp-gpio soc:firmware:expgpio: Failed to get GPIO 1 config (0 81)[    0.890411] raspberrypi-exp-gpio soc:firmware:expgpio: Failed to get GPIO 2 config (0 82)[    0.890556] raspberrypi-exp-gpio soc:firmware:expgpio: Failed to get GPIO 3 config (0 83)[    0.890699] raspberrypi-exp-gpio soc:firmware:expgpio: Failed to get GPIO 4 config (0 84)[    0.890834] raspberrypi-exp-gpio soc:firmware:expgpio: Failed to get GPIO 5 config (0 85)[    0.890960] raspberrypi-exp-gpio soc:firmware:expgpio: Failed to get GPIO 6 config (0 86)[    0.892118] raspberrypi-exp-gpio soc:firmware:expgpio: Failed to get GPIO 7 config (0 87)[    0.893547] bcm2708_fb soc:fb: FB found 1 display(s)[    0.907725] Console: switching to colour frame buffer device 100x30[    0.910202] bcm2708_fb soc:fb: Registered framebuffer for display 0, size 800x480[    0.915826] bcm2835-aux-uart 3f215040.serial: there is not valid maps for state default[    0.919652] bcm2835-rng 3f104000.rng: hwrng registered[    0.920418] vc-mem: phys_addr:0x00000000 mem_base=0x00000000 mem_size:0x00000000(0 MiB)[    0.921916] gpiomem-bcm2835 3f200000.gpiomem: Initialised: Registers at 0x3f200000[    0.922771] cacheinfo: Unable to detect cache hierarchy for CPU 0[    0.950105] brd: module loaded[    0.966870] loop: module loaded[    0.968392] bcm2835-power bcm2835-power: ASB register ID returned 0x00000000[    0.970033] Loading iSCSI transport class v2.0-870.[    0.977700] usbcore: registered new interface driver r8152[    0.977782] usbcore: registered new interface driver lan78xx[    0.977852] usbcore: registered new interface driver smsc95xx[    0.978452] dwc_otg: version 3.00a 10-AUG-2012 (platform bus)[    1.181689] Core Release: 2.94a[    1.181876] Setting default values for core params[    1.182831] Finished setting default values for core params[    1.384184] Using Buffer DMA mode[    1.384256] Periodic Transfer Interrupt Enhancement - disabled[    1.384280] Multiprocessor Interrupt Enhancement - disabled[    1.384339] OTG VER PARAM: 0, OTG VER FLAG: 0[    1.384576] Shared Tx FIFO mode[    1.386458] [    1.386510] WARN::dwc_otg_hcd_init:1074: FIQ DMA bounce buffers: virt = ffffffc011779000 dma = 0x00000000f8090000 len=9024[    1.386635] FIQ FSM acceleration enabled for :[    1.386635] Non-periodic Split Transactions[    1.386635] Periodic Split Transactions[    1.386635] High-Speed Isochronous Endpoints[    1.386635] Interrupt/Control Split Transaction hack enabled[    1.386713] dwc_otg: Microframe scheduler enabled[    1.386913] [    1.386927] WARN::hcd_init_fiq:497: MPHI regs_base at ffffffc01161d000[    1.387510] dwc_otg 3f980000.usb: DWC OTG Controller[    1.388016] dwc_otg 3f980000.usb: new USB bus registered, assigned bus number 1[    1.388582] dwc_otg 3f980000.usb: irq 74, io mem 0x00000000[    1.389124] Init: Port Power? op_state=1[    1.389152] Init: Power Port (1)[    1.392930] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.10[    1.392961] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1[    1.392986] usb usb1: Product: DWC OTG Controller[    1.393011] usb usb1: Manufacturer: Linux 5.10.103-v8+ dwc_otg_hcd[    1.393034] usb usb1: SerialNumber: 3f980000.usb[    1.396134] hub 1-0:1.0: USB hub found[    1.396551] hub 1-0:1.0: 1 port detected[    1.401233] dwc_otg: FIQ enabled[    1.401266] dwc_otg: NAK holdoff enabled[    1.401288] dwc_otg: FIQ split-transaction FSM enabled[    1.401366] Module dwc_common_port init[    1.402752] usbcore: registered new interface driver uas[    1.402928] usbcore: registered new interface driver usb-storage[    1.403535] mousedev: PS/2 mouse device common for all mice[    1.406864] bcm2835-wdt bcm2835-wdt: Broadcom BCM2835 watchdog timer[    1.407315] cpu cpu0: Cannot get clock for CPU0[    1.408197] raspberrypi-cpufreq: probe of raspberrypi-cpufreq failed with error -2[    1.408989] sdhci: Secure Digital Host Controller Interface driver[    1.409009] sdhci: Copyright(c) Pierre Ossman[    1.411765] mmc-bcm2835 3f300000.mmcnr: could not get clk, deferring probe[    1.414336] sdhost-bcm2835 3f202000.mmc: could not get clk, deferring probe[    1.414617] sdhci-pltfm: SDHCI platform and OF driver helper[    1.420132] raspberrypi-exp-gpio soc:firmware:expgpio: Failed to get GPIO 2 config (0 82)[    1.420467] raspberrypi-exp-gpio soc:firmware:expgpio: Failed to get GPIO 2 config (0 82)[    1.421858] leds-gpio: probe of leds failed with error -5[    1.422782] ledtrig-cpu: registered to indicate activity on CPUs[    1.423731] hid: raw HID events driver (C) Jiri Kosina[    1.424348] usbcore: registered new interface driver usbhid[    1.424377] usbhid: USB HID core driver[    1.424921] ashmem: initialized[    1.429340] bcm2835_vchiq 3f00b840.mailbox: failed to set channelbase[    1.429404] vchiq: could not load vchiq[    1.430794] Initializing XFRM netlink socket[    1.430973] NET: Registered protocol family 17[    1.432017] Key type dns_resolver registered[    1.433008] registered taskstats version 1[    1.433115] Loading compiled-in X.509 certificates[    1.434414] Key type ._fscrypt registered[    1.434452] Key type .fscrypt registered[    1.434477] Key type fscrypt-provisioning registered[    1.451442] uart-pl011 3f201000.serial: cts_event_workaround enabled[    1.452264] 3f201000.serial: ttyAMA0 at MMIO 0x3f201000 (irq = 99, base_baud = 0) is a PL011 rev2[    1.476856] printk: console [ttyAMA0] enabled[    1.480461] bcm2835-aux-uart 3f215040.serial: there is not valid maps for state default[    1.481265] bcm2835-aux-uart 3f215040.serial: error -ENOSPC: unable to register 8250 port[    1.481668] bcm2835-aux-uart: probe of 3f215040.serial failed with error -28[    1.483123] bcm2835_thermal 3f212000.thermal: Not able to read trip_temp: -33[    1.514224] Indeed it is in host mode hprt0 = 00021101[    1.583396] bcm2835-clk 3f101000.cprman: tsens: couldn't lock PLL[    1.583657] bcm2835_thermal: probe of 3f212000.thermal failed with error -33[    1.584665] random: fast init done[    1.585411] mmc-bcm2835 3f300000.mmcnr: mmc_debug:0 mmc_debug2:0[    1.585578] mmc-bcm2835 3f300000.mmcnr: DMA channel allocated[    1.616646] sdhost: log_buf @ (____ptrval____) (c2b83000)[    1.667661] mmc0: sdhost-bcm2835 loaded - DMA enabled (>1)[    1.668755] of_cfs_init[    1.670386] of_cfs_init: OK[    1.676282] uart-pl011 3f201000.serial: no DMA platform data[    1.678013] Waiting 1 sec before mounting root device...[    1.700816] usb 1-1: new full-speed USB device number 2 using dwc_otg[    1.705156] Indeed it is in host mode hprt0 = 00021101[    1.924897] usb 1-1: New USB device found, idVendor=0409, idProduct=55aa, bcdDevice= 1.01[    1.925131] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3[    1.925294] usb 1-1: Product: QEMU USB Hub[    1.925397] usb 1-1: Manufacturer: QEMU[    1.925495] usb 1-1: SerialNumber: 314159-1[    1.927788] hub 1-1:1.0: USB hub found[    1.928526] hub 1-1:1.0: 8 ports detected[    2.233076] usb 1-1.1: new full-speed USB device number 3 using dwc_otg

Statistics: Posted by mrpib3 — Wed Apr 17, 2024 9:27 am



Viewing all articles
Browse latest Browse all 5391

Trending Articles