Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 4476

Advanced users • Kernel Panig: Secureboot and tryboot on Raspberry Pi 5

$
0
0
Hi Everyone,

I am having some getting secureboot and tryboot working together on a pi5.

This is what I have done:
Create keys and writing them into OTP.
Create image with buildroot and sign it. Use boot.img, boot.sig and config.txt and boot it. Everything goes fine and the systems validates and i get to the login.

If I copy the boot.img, boot.sig,config.txt to tryboot.img,tryboot.sig,tryboot.txt and reboot to tryboot the system will not start because it does not have the ramdisk setup correctly.

Any Idea, whats going on here? With secure-boot enabled the config.txt and tryboot.txt should not matter anyways...

Best,
Stefan

Code:

  1.19 RPi: BOOTSYS release VERSION:7fe8d029 DATE: 2024/09/05 TIME: 19:55:03  1.24 BOOTMODE: 0x06 partition 0 build-ts BUILD_TIMESTAMP=1725562503 serial 9fda500e boardrev d04170 stc 1224022  1.34 AON_RESET: 00000003 PM_RSTS 00001022  1.41 RP1_BOOT chip ID: 0x20001927  1.44 PM_RSTS: 0x00001020  1.44 part 00000000 reset_info 00000001  1.48 PMIC reset-event 00000000 rtc 00000196 alarm 00000000 enabled 0  1.54 uSD voltage 3.3V  1.73 Initialising SDRAM 'Micron' 32Gb x2 total-size: 64 Gbit 4267  1.76 DDR 4267 1 0 64 152  3.42 OTP boardrev d04170 bootrom a a  3.44 Customer key hash 10b76de383fae5a5264959b127149e4eb99ae5f277a28304987f6e50fad142bd  3.51 VC-JTAG unlocked  3.73 TRYBOOT  3.74 RP1_BOOT chip ID: 0x20001927  3.78 bootconf.sig  3.78 hash: ab9d6453836fba2f2922c7e7c448da4e600b857ff37f977da094b36e3c461325  3.84 rsa2048: 9c6cddcc9d42f14c38d651d87d76100474a24e3110bc90eebc332dc5817fb3fc99c4bddd58e0c80f25fc1640864d6155027a37bf5ac6d8df52307b3f603ae2e4ddd37e97c61e53f8d9c5cb7a8f99400eaad67e6cc6c7f49d53c8b9bff7cda4ee53c17288223038a5f16e4aabc78d19e6371911ec84458147512637925ea20bb65751f5429245eb07d382bd6b3d41c6186974553337ddb6ea01686a088fd050597599d54e0e0395d207d2556ff2fdf12941c24e7e4fc71719f8c77c91b741cb09d98ada5346f8bef5cfa0eb684aaf689463699c99830cbd1ce86d8317a20bffd800c4cddf833a39d202a26e1  3.31 RSA verify  3.48 rsa-verify pass (0x0)  3.43 TRYBOOT  3.63 RP1_BOOT chip ID: 0x20001927  3.64 RP1_BOOT: fw size 25992  4.19 PCI2 init  4.19 PCI2 reset  4.64 PCIe scan 00001de4:00000001  4.65 RP1_CHIP_INFO 20001927  4.67 RPi: BOOTLOADER release VERSION:7fe8d029 DATE: 2024/09/05 TIME: 19:55:03  4.74 BOOTMODE: 0x06 partition 0 build-ts BUILD_TIMESTAMP=1725562503 serial 9fda500e boardrev d04170 stc 4374904  4.84 AON_RESET: 00000003 PM_RSTS 00001020  4.88 PCIEx1: PWR 0 DET_WAKE 1  4.95 usb_pd_init status 3  4.96 USB_PD CONFIG 0 43  4.99 Boot mode: SD (01) order f264  4.21 SD HOST: 200000000 CTL0: 0x00800000 BUS: 400000 Hz actual: 390625 HZ div: 512 (256) status: 0x1fff0000 delay: 276  4.32 SD HOST: 200000000 CTL0: 0x00800f00 BUS: 400000 Hz actual: 390625 HZ div: 512 (256) status: 0x1fff0000 delay: 276  4.15 OCR c0ff8000 [429]CID: 000353445343323536809a0a28f70175CSD: 400e00325b590007725f7f800a404000  4.22 SD: bus-width: 4 spec: 2 SCR: 0x02458043 0x00000000  4.31 SD HOST: 200000000 CTL0: 0x00800f04 BUS: 50000000 Hz actual: 50000000 HZ div: 4 (2) status: 0x1fff0000 delay: 2  4.41 MBR: 0x00000001, 1048576 type: 0x0c  4.43 MBR: 0x00100800,498694144 type: 0x83  4.47 MBR: 0x00000000,       0 type: 0x00  4.50 MBR: 0x00000000,       0 type: 0x00  4.54 USB-PD: src-cap PDO object1 0x0801912c  4.58 Current 3000 mA  4.60 Voltage 5000 mV  4.63 USB-PD: src-cap PDO object2 0x0002d0de  4.67 Current 2220 mA  4.69 Voltage 9000 mV  4.71 USB-PD: src-cap PDO object3 0x0003c0a7  4.75 Current 1670 mA  4.77 Voltage 12000 mV  4.79 USB-PD: src-cap PDO object4 0xc076213c  4.83 USB-PD: src-cap PDO object5 0xc0dc2124  4.87 Trying partition: 0  4.90 type: 32 lba: 1 'mkfs.fat' ' NO NAME    ' clusters 130812 (8)  4.96 rsc 32 fat-sectors 1024 root dir cluster 2 sectors 0 entries 0  4.03 FAT32 clusters 130812  4.07 [sdcard] autoboot.txt not found  4.08 Select partition rsts 0 C(boot_partition) 0 EEPROM config 0 result 0  4.15 Trying partition: 0  4.18 type: 32 lba: 1 'mkfs.fat' ' NO NAME    ' clusters 130811 (8)  4.24 rsc 32 fat-sectors 1024 root dir cluster 2 sectors 0 entries 0  4.30 FAT32 clusters 130811  4.32 secure-boot  4.34 Loading tryboot.img ...  4.38 tryboot.sig  4.39 hash: 03acac2d36af359eaf36fba23c1efd9eec5dda0ff3bd4e2823fd40c46527dae6  4.46 ts: 1725731703  4.48 rsa2048: 219ecc683f920d2787b82c0495b9aae1fc01870bcf3969e1f7a7dca07e60b3b9599b2bc4e3a6742d6d07a45aee79c452542bba92e552a97cff14e1be2d3c9d2a3a6565514fd681ebb0dd6f00007c928b2c0635aa6864c23018ae6d45a160bcbd704d7430073ca94054409cfb2e2cb75181ec659637fdaf2412b724b8d422c81b09d87e3986ec9ddb21548b6c6dba82947aed91e4d93386a4566a381c45c47b262114e6ddb0c34e4fab5d93e795608ccce90c647ef10c8bf93d05c085d20a595a3f3afed58312491c3710450f8f8b039deee5361f39b6616be420536dbe68b57188845dae0e7917f556289e0 11.61 Verifying 27.65 RSA verify 27.77 rsa-verify pass (0x0) 27.46 MBR: 0x00000000,       0 type: 0x00 27.47 MBR: 0x00000000,       0 type: 0x00 27.51 MBR: 0x00000000,       0 type: 0x00 27.55 MBR: 0x00000000,       0 type: 0x00 27.59 Trying partition: 0 27.61 type: 16 lba: 0 'mkfs.fat' '  V       ^ ' clusters 38357 (8) 27.67 rsc 8 fat-sectors 152 root dir cluster 1 sectors 32 entries 512 27.73 FAT16 clusters 38357 27.77 Read config.txt bytes      568 hnd 0x17 27.80 usb_max_current_enable default 0 max-current 3000 27.87 Read bcm2712-rpi-5-b.dtb bytes    80190 hnd 0x3 27.90 dt-match: compatible: raspberrypi,5-model-b match: brcm,bcm2712 27.96 dt-match: compatible: brcm,bcm2712 match: brcm,bcm2712 28.03 Selecting USB low current limitNOTICE:  BL31: v2.6(release):v2.6-239-g2a9ede0bdNOTICE:  BL31: Built : 14:26:57, Jun 22 2023[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x414fd0b1][    0.000000] Linux version 6.6.28-v8-16k (@tower) (aarch64-linux-gcc.br_real (Buildroot 2021.11-11272-ge2962af) 12.3.0, GNU ld (GNU Binutils) 2.41) #1 SMP PREEMPT Sat Sep  7 14:58:38 UTC 2024[    0.000000] KASLR enabled[    0.000000] random: crng init done[    0.000000] Machine model: Raspberry Pi 5 Model B Rev 1.0[    0.000000] efi: UEFI not found.[    0.000000] OF: reserved mem: OVERLAP DETECTED![    0.000000] atf@0 (0x0000000000000000--0x0000000000080000) overlaps with nvram@0 (0x0000000000038000--0x000000000003822d)[    0.000000] Reserved memory: created CMA memory pool at 0x0000000001c00000, size 64 MiB[    0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool[    0.000000] OF: reserved mem: 0x0000000001c00000..0x0000000005bfffff (65536 KiB) map reusable linux,cma[    0.000000] OF: reserved mem: 0x0000000000000000..0x000000000007ffff (512 KiB) nomap non-reusable atf@0[    0.000000] OF: reserved mem: 0x0000000000038000..0x000000000003822c (0 KiB) nomap non-reusable nvram@0[    0.000000] OF: reserved mem: 0x000000003fd117d0..0x000000003fd118d7 (0 KiB) nomap non-reusable nvram@1[    0.000000] Zone ranges:[    0.000000]   DMA      [mem 0x0000000000000000-0x00000000ffffffff][    0.000000]   DMA32    empty[    0.000000]   Normal   [mem 0x0000000100000000-0x00000001ffffffff][    0.000000] Movable zone start for each node[    0.000000] Early memory node ranges[    0.000000]   node   0: [mem 0x0000000000000000-0x000000000007ffff][    0.000000]   node   0: [mem 0x0000000000080000-0x000000003fbfffff][    0.000000]   node   0: [mem 0x0000000040000000-0x00000001ffffffff][    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x00000001ffffffff][    0.000000] On node 0, zone DMA: 1024 pages in unavailable ranges[    0.000000] psci: probing for conduit method from DT.[    0.000000] psci: PSCIv1.1 detected in firmware.[    0.000000] psci: Using standard PSCI v0.2 function IDs[    0.000000] psci: MIGRATE_INFO_TYPE not supported.[    0.000000] psci: SMC Calling Convention v1.2[    0.000000] percpu: Embedded 30 pages/cpu s85672 r8192 d29016 u122880[    0.000000] Detected PIPT I-cache on CPU0[    0.000000] CPU features: detected: Virtualization Host Extensions[    0.000000] CPU features: detected: Hardware dirty bit management[    0.000000] CPU features: detected: Spectre-v4[    0.000000] CPU features: detected: Spectre-BHB[    0.000000] CPU features: kernel page table isolation forced ON by KASLR[    0.000000] CPU features: detected: Kernel page table isolation (KPTI)[    0.000000] alternatives: applying boot alternatives[    0.000000] Kernel command line: reboot=w coherent_pool=1M 8250.nr_uarts=1 pci=pcie_bus_safe snd_bcm2835.enable_compat_alsa=0 snd_bcm2835.enable_hdmi=1 bcm2708_fb.fbwidth=640 bcm2708_fb.fbheight=480 bcm2708_fb.fbdepth=16 bcm2708_fb.fbswap=1 smsc95xx.macaddr=2C:CF:67:26:82:8F vc_mem.mem_base=0x3fc00000 vc_mem.mem_size=0x40000000  rootwait console=tty1 console=ttyAMA10,115200 net.ifnames=0 biosdevname=0 root=/dev/ram0[    0.000000] Unknown kernel command line parameters "biosdevname=0", will be passed to user space.[    0.000000] Dentry cache hash table entries: 1048576 (order: 11, 8388608 bytes, linear)[    0.000000] Inode-cache hash table entries: 524288 (order: 10, 4194304 bytes, linear)[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 2063360[    0.000000] mem auto-init: stack:all(zero), heap alloc:off, heap free:off[    0.000000] software IO TLB: area num 4.[    0.000000] software IO TLB: mapped [mem 0x00000000fbfff000-0x00000000fffff000] (64MB)[    0.000000] Memory: 8065396K/8384512K available (13440K kernel code, 2210K rwdata, 4264K rodata, 4864K init, 1083K bss, 253580K reserved, 65536K cma-reserved)[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1[    0.000000] ftrace: allocating 43160 entries in 169 pages[    0.000000] ftrace: allocated 169 pages with 4 groups[    0.000000] trace event string verifier disabled[    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] Root IRQ handler: gic_handle_irq[    0.000000] GIC: Using split EOI/Deactivate mode[    0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention.[    0.000000] arch_timer: cp15 timer(s) running at 54.00MHz (phys).[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0xc743ce346, max_idle_ns: 440795203123 ns[    0.000000] sched_clock: 56 bits at 54MHz, resolution 18ns, wraps every 4398046511102ns[    0.000149] Console: colour dummy device 80x25[    0.000154] printk: console [tty1] enabled[    0.000333] Calibrating delay loop (skipped), value calculated using timer frequency.. 108.00 BogoMIPS (lpj=216000)[    0.000341] pid_max: default: 32768 minimum: 301[    0.000363] LSM: initializing lsm=capability,integrity[    0.000428] Mount-cache hash table entries: 16384 (order: 5, 131072 bytes, linear)[    0.000454] Mountpoint-cache hash table entries: 16384 (order: 5, 131072 bytes, linear)[    0.000771] cgroup: Disabling memory control group subsystem[    0.000904] spectre-v4 mitigation disabled by command-line option[    0.001217] RCU Tasks: Setting shift to 2 and lim to 1 rcu_task_cb_adjust=1.[    0.001248] RCU Tasks Rude: Setting shift to 2 and lim to 1 rcu_task_cb_adjust=1.[    0.001281] RCU Tasks Trace: Setting shift to 2 and lim to 1 rcu_task_cb_adjust=1.[    0.001351] rcu: Hierarchical SRCU implementation.[    0.001355] rcu:     Max phase no-delay instances is 1000.[    0.001950] EFI services will not be available.[    0.002047] smp: Bringing up secondary CPUs ...[    0.002227] Detected PIPT I-cache on CPU1[    0.002270] CPU1: Booted secondary processor 0x0000000100 [0x414fd0b1][    0.002474] Detected PIPT I-cache on CPU2[    0.002506] CPU2: Booted secondary processor 0x0000000200 [0x414fd0b1][    0.002702] Detected PIPT I-cache on CPU3[    0.002731] CPU3: Booted secondary processor 0x0000000300 [0x414fd0b1][    0.002758] smp: Brought up 1 node, 4 CPUs[    0.002777] SMP: Total of 4 processors activated.[    0.002781] CPU features: detected: 32-bit EL0 Support[    0.002785] CPU features: detected: Data cache clean to the PoU not required for I/D coherence[    0.002790] CPU features: detected: Common not Private translations[    0.002794] CPU features: detected: CRC32 instructions[    0.002798] CPU features: detected: RCpc load-acquire (LDAPR)[    0.002802] CPU features: detected: LSE atomic instructions[    0.002806] CPU features: detected: Privileged Access Never[    0.002809] CPU features: detected: RAS Extension Support[    0.002813] CPU features: detected: Speculative Store Bypassing Safe (SSBS)[    0.002834] spectre-bhb mitigation disabled by command line option[    0.002835] spectre-bhb mitigation disabled by command line option[    0.002859] CPU: All CPU(s) started at EL2[    0.002863] alternatives: applying system-wide alternatives[    0.004251] devtmpfs: initialized[    0.007154] Enabled cp15_barrier support[    0.007165] Enabled setend support[    0.007216] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns[    0.007225] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)[    0.007890] pinctrl core: initialized pinctrl subsystem[    0.008034] DMI not present or invalid.[    0.008184] NET: Registered PF_NETLINK/PF_ROUTE protocol family[    0.008621] DMA: preallocated 1024 KiB GFP_KERNEL pool for atomic allocations[    0.008684] DMA: preallocated 1024 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations[    0.008771] DMA: preallocated 1024 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations[    0.008792] audit: initializing netlink subsys (disabled)[    0.008843] audit: type=2000 audit(0.008:1): state=initialized audit_enabled=0 res=1[    0.008961] thermal_sys: Registered thermal governor 'step_wise'[    0.008972] cpuidle: using governor menu[    0.009027] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.[    0.009056] ASID allocator initialised with 32768 entries[    0.009347] Serial: AMBA PL011 UART driver[    0.010160] bcm2835-mbox 107c013880.mailbox: mailbox enabled[    0.010361] 107d001000.serial: ttyAMA10 at MMIO 0x107d001000 (irq = 15, base_baud = 0) is a PL011 rev2[    0.010376] printk: console [ttyAMA10] enabled[    0.811940] raspberrypi-firmware soc:firmware: Attached to firmware from 2024-09-05T18:55:03, variant start_cd[    0.825991] raspberrypi-firmware soc:firmware: Firmware hash is 7fe8d02900000000000000000000000000000000[    0.841786] Modules: 2G module region forced by RANDOMIZE_MODULE_REGION_FULL[    0.848870] Modules: 0 pages in range for non-PLT usage[    0.848872] Modules: 517776 pages in range for PLT usage[    0.855246] bcm2835-dma 1000010000.dma: DMA legacy API manager, dmachans=0x1[    0.868007] iommu: Default domain type: Translated[    0.872844] iommu: DMA domain TLB invalidation policy: strict mode[    0.879399] SCSI subsystem initialized[    0.883200] usbcore: registered new interface driver usbfs[    0.888714] usbcore: registered new interface driver hub[    0.894050] usbcore: registered new device driver usb[    0.899200] pps_core: LinuxPPS API ver. 1 registered[    0.904182] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>[    0.913356] PTP clock support registered[    0.917531] vgaarb: loaded[    0.920336] clocksource: Switched to clocksource arch_sys_counter[    1.140772] VFS: Disk quotas dquot_6.6.0[    1.144720] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)[    1.151646] FS-Cache: Loaded[    1.154569] CacheFiles: Loaded[    1.159163] NET: Registered PF_INET protocol family[    1.164239] IP idents hash table entries: 131072 (order: 8, 1048576 bytes, linear)[    1.174401] tcp_listen_portaddr_hash hash table entries: 4096 (order: 4, 65536 bytes, linear)[    1.182999] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)[    1.190780] TCP established hash table entries: 65536 (order: 7, 524288 bytes, linear)[    1.198851] TCP bind hash table entries: 65536 (order: 9, 2097152 bytes, linear)[    1.207733] TCP: Hash tables configured (established 65536 bind 65536)[    1.214426] MPTCP token hash table entries: 8192 (order: 5, 196608 bytes, linear)[    1.222047] UDP hash table entries: 4096 (order: 5, 131072 bytes, linear)[    1.228900] UDP-Lite hash table entries: 4096 (order: 5, 131072 bytes, linear)[    1.236236] NET: Registered PF_UNIX/PF_LOCAL protocol family[    1.242067] RPC: Registered named UNIX socket transport module.[    1.248013] RPC: Registered udp transport module.[    1.252732] RPC: Registered tcp transport module.[    1.257451] RPC: Registered tcp-with-tls transport module.[    1.262955] RPC: Registered tcp NFSv4.1 backchannel transport module.[    1.269429] PCI: CLS 0 bytes, default 64[    1.273500] kvm [1]: IPA Size Limit: 40 bits[    1.277818] kvm [1]: vgic interrupt IRQ9[    1.281766] kvm [1]: VHE mode initialized successfully[    1.287259] Initialise system trusted keyrings[    1.291776] workingset: timestamp_bits=46 max_order=21 bucket_order=0[    1.298262] zbud: loaded[    1.300946] NFS: Registering the id_resolver key type[    1.306022] Key type id_resolver registered[    1.310217] Key type id_legacy registered[    1.314243] nfs4filelayout_init: NFSv4 File Layout Driver Registering...[    1.320970] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...[    1.328525] Key type asymmetric registered[    1.332637] Asymmetric key parser 'x509' registered[    1.337542] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247)[    1.345002] io scheduler mq-deadline registered[    1.349549] io scheduler kyber registered[    1.353578] io scheduler bfq registered[    1.357610] irq_brcmstb_l2: registered L2 intc (/soc/intc@7d503000, parent irq: 26)[    1.365357] irq_brcmstb_l2: registered L2 intc (/soc/intc@7d508380, parent irq: 27)[    1.373089] irq_brcmstb_l2: registered L2 intc (/soc/intc@7d508400, parent irq: 28)[    1.380824] irq_brcmstb_l2: registered L2 intc (/soc/intc@7d517b00, parent irq: 29)[    1.390613] bcm2708_fb soc:fb: Unable to determine number of FBs. Disabling driver.[    1.398310] bcm2708_fb: probe of soc:fb failed with error -2[    1.437615] Serial: 8250/16550 driver, 1 ports, IRQ sharing enabled[    1.444286] 107d50c000.serial: ttyS0 at MMIO 0x107d50c000 (irq = 31, base_baud = 6000000) is a Broadcom BCM7271 UART[    1.454906] serial serial0: tty port ttyS0 registered[    1.460252] iproc-rng200 107d208000.rng: hwrng registered[    1.465721] vc-mem: phys_addr:0x00000000 mem_base=0x3fc00000 mem_size:0x40000000(1024 MiB)[    1.474239] bcm2712-iommu-cache 1000005b00.iommuc: bcm2712_iommu_cache_probe[    1.483375] brd: module loaded[    1.487890] loop: module loaded[    1.491155] bcm2835-power bcm2835-power: Broadcom BCM2835 power domains driver[    1.498529] Loading iSCSI transport class v2.0-870.[    1.504233] usbcore: registered new device driver r8152-cfgselector[    1.510538] usbcore: registered new interface driver r8152[    1.516049] usbcore: registered new interface driver lan78xx[    1.521734] usbcore: registered new interface driver smsc95xx[    1.527558] dwc_otg: version 3.00a 10-AUG-2012 (platform bus)[    1.533458] usbcore: registered new interface driver uas[    1.538800] usbcore: registered new interface driver usb-storage[    1.544909] mousedev: PS/2 mouse device common for all mice[    1.558939] rpi-rtc soc:rpi_rtc: registered as rtc0[    1.565367] rpi-rtc soc:rpi_rtc: setting system clock to 1970-01-01T00:07:18 UTC (438)[    1.573634] bcm2835-wdt bcm2835-wdt: Poweroff handler already present![    1.580194] bcm2835-wdt bcm2835-wdt: Broadcom BCM2835 watchdog timer[    1.588974] sdhci: Secure Digital Host Controller Interface driver[    1.595182] sdhci: Copyright(c) Pierre Ossman[    1.599586] sdhci-pltfm: SDHCI platform and OF driver helper[    1.605442] ledtrig-cpu: registered to indicate activity on CPUs[    1.611509] SMCCC: SOC_ID: ARCH_SOC_ID not implemented, skipping ....[    1.617986] hid: raw HID events driver (C) Jiri Kosina[    1.623161] usbcore: registered new interface driver usbhid[    1.628754] usbhid: USB HID core driver[    1.632894] hw perfevents: enabled with armv8_cortex_a76 PMU driver, 7 counters available[    1.641438] NET: Registered PF_PACKET protocol family[    1.646534] Key type dns_resolver registered[    1.656127] registered taskstats version 1[    1.660311] Loading compiled-in X.509 certificates[    1.667379] Key type .fscrypt registered[    1.671319] Key type fscrypt-provisioning registered[    1.677465] brcm-pcie 1000110000.pcie: host bridge /axi/pcie@110000 ranges:[    1.684818] brcm-pcie 1000110000.pcie:   No bus range found for /axi/pcie@110000, using [bus 00-ff][    1.693919] brcm-pcie 1000110000.pcie:      MEM 0x1b00000000..0x1bfffffffb -> 0x0000000000[    1.702223] brcm-pcie 1000110000.pcie:      MEM 0x1800000000..0x1affffffff -> 0x0400000000[    1.710526] brcm-pcie 1000110000.pcie:   IB MEM 0x0000000000..0x0fffffffff -> 0x1000000000[    1.720004] brcm-pcie 1000110000.pcie: Forcing gen 2[    1.725200] brcm-pcie 1000110000.pcie: PCI host bridge to bus 0000:00[    1.731669] pci_bus 0000:00: root bus resource [bus 00-ff][    1.737176] pci_bus 0000:00: root bus resource [mem 0x1b00000000-0x1bfffffffb] (bus address [0x00000000-0xfffffffb])[    1.747747] pci_bus 0000:00: root bus resource [mem 0x1800000000-0x1affffffff pref] (bus address [0x400000000-0x6ffffffff])[    1.758938] pci 0000:00:00.0: [14e4:2712] type 01 class 0x060400[    1.764991] pci 0000:00:00.0: PME# supported from D0 D3hot[    1.771330] pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring[    1.884342] brcm-pcie 1000110000.pcie: link up, 5.0 GT/s PCIe x1 (!SSC)[    1.891003] pci 0000:01:00.0: [1b21:1182] type 01 class 0x060400[    1.897070] pci 0000:01:00.0: enabling Extended Tags[    1.902106] pci 0000:01:00.0: PME# supported from D0 D3hot D3cold[    1.916346] pci 0000:01:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring[    1.924531] pci 0000:02:03.0: [1b21:1182] type 01 class 0x060400[    1.930602] pci 0000:02:03.0: enabling Extended Tags[    1.935637] pci 0000:02:03.0: PME# supported from D0 D3hot D3cold[    1.941923] pci 0000:02:07.0: [1b21:1182] type 01 class 0x060400[    1.947994] pci 0000:02:07.0: enabling Extended Tags[    1.953029] pci 0000:02:07.0: PME# supported from D0 D3hot D3cold[    1.959795] pci 0000:02:03.0: bridge configuration invalid ([bus 00-00]), reconfiguring[    1.967840] pci 0000:02:07.0: bridge configuration invalid ([bus 00-00]), reconfiguring[    1.975955] pci 0000:03:00.0: [1e60:2864] type 00 class 0x0b4000[    1.982017] pci 0000:03:00.0: reg 0x10: [mem 0x1b00000000-0x1b00003fff 64bit pref][    1.989638] pci 0000:03:00.0: reg 0x18: [mem 0x1b00000000-0x1b00000fff 64bit pref][    1.997258] pci 0000:03:00.0: reg 0x20: [mem 0x1b00000000-0x1b00003fff 64bit pref][    2.005008] pci 0000:03:00.0: PME# supported from D3hot[    2.010343] pci 0000:03:00.0: 2.000 Gb/s available PCIe bandwidth, limited by 2.5 GT/s PCIe x1 link at 0000:02:03.0 (capable of 31.504 Gb/s with 8.0 GT/s PCIe x4 link)[    2.036354] pci_bus 0000:03: busn_res: [bus 03-ff] end is updated to 03[    2.043070] pci 0000:04:00.0: [10ec:8168] type 00 class 0x020000[    2.049120] pci 0000:04:00.0: reg 0x10: [io  0x0000-0x00ff][    2.054739] pci 0000:04:00.0: reg 0x18: [mem 0x1b00000000-0x1b00000fff 64bit][    2.061919] pci 0000:04:00.0: reg 0x20: [mem 0x1b00000000-0x1b00003fff 64bit][    2.069219] pci 0000:04:00.0: supports D1 D2[    2.073502] pci 0000:04:00.0: PME# supported from D0 D1 D2 D3hot D3cold[    2.088355] pci_bus 0000:04: busn_res: [bus 04-ff] end is updated to 04[    2.095000] pci_bus 0000:02: busn_res: [bus 02-ff] end is updated to 04[    2.101643] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 04[    2.108291] pci 0000:00:00.0: BAR 8: assigned [mem 0x1b00000000-0x1b000fffff][    2.115457] pci 0000:00:00.0: BAR 9: assigned [mem 0x1800000000-0x18000fffff 64bit pref][    2.123583] pci 0000:01:00.0: BAR 8: assigned [mem 0x1b00000000-0x1b000fffff][    2.130748] pci 0000:01:00.0: BAR 9: assigned [mem 0x1800000000-0x18000fffff 64bit pref][    2.138873] pci 0000:01:00.0: BAR 7: no space for [io  size 0x1000][    2.145165] pci 0000:01:00.0: BAR 7: failed to assign [io  size 0x1000][    2.151806] pci 0000:02:03.0: BAR 9: assigned [mem 0x1800000000-0x18000fffff 64bit pref][    2.159932] pci 0000:02:07.0: BAR 8: assigned [mem 0x1b00000000-0x1b000fffff][    2.167096] pci 0000:02:07.0: BAR 7: no space for [io  size 0x1000][    2.173387] pci 0000:02:07.0: BAR 7: failed to assign [io  size 0x1000][    2.180029] pci 0000:03:00.0: BAR 0: assigned [mem 0x1800000000-0x1800003fff 64bit pref][    2.188166] pci 0000:03:00.0: BAR 4: assigned [mem 0x1800004000-0x1800007fff 64bit pref][    2.196303] pci 0000:03:00.0: BAR 2: assigned [mem 0x1800008000-0x1800008fff 64bit pref][    2.204439] pci 0000:02:03.0: PCI bridge to [bus 03][    2.209425] pci 0000:02:03.0:   bridge window [mem 0x1800000000-0x18000fffff 64bit pref][    2.217556] pci 0000:04:00.0: BAR 4: assigned [mem 0x1b00000000-0x1b00003fff 64bit][    2.225258] pci 0000:04:00.0: BAR 2: assigned [mem 0x1b00004000-0x1b00004fff 64bit][    2.232959] pci 0000:04:00.0: BAR 0: no space for [io  size 0x0100][    2.239251] pci 0000:04:00.0: BAR 0: failed to assign [io  size 0x0100][    2.245892] pci 0000:02:07.0: PCI bridge to [bus 04][    2.250876] pci 0000:02:07.0:   bridge window [mem 0x1b00000000-0x1b000fffff][    2.258045] pci 0000:01:00.0: PCI bridge to [bus 02-04][    2.263291] pci 0000:01:00.0:   bridge window [mem 0x1b00000000-0x1b000fffff][    2.270456] pci 0000:01:00.0:   bridge window [mem 0x1800000000-0x18000fffff 64bit pref][    2.278583] pci 0000:00:00.0: PCI bridge to [bus 01-04][    2.283827] pci 0000:00:00.0:   bridge window [mem 0x1b00000000-0x1b000fffff][    2.290991] pci 0000:00:00.0:   bridge window [mem 0x1800000000-0x18000fffff 64bit pref][    2.299118] pci 0000:00:00.0: Max Payload Size set to  128/ 512 (was  128), Max Read Rq  512[    2.307598] pci 0000:01:00.0: Max Payload Size set to  128/ 256 (was  128), Max Read Rq  512[    2.316078] pci 0000:02:03.0: Max Payload Size set to  128/ 256 (was  128), Max Read Rq  512[    2.324560] pci 0000:03:00.0: Max Payload Size set to  128/ 256 (was  128), Max Read Rq  512[    2.333039] pci 0000:02:07.0: Max Payload Size set to  128/ 256 (was  128), Max Read Rq  512[    2.341523] pci 0000:04:00.0: Max Payload Size set to  128/ 128 (was  128), Max Read Rq  512[    2.350052] pcieport 0000:00:00.0: enabling device (0000 -> 0002)[    2.356205] pcieport 0000:00:00.0: PME: Signaling with IRQ 36[    2.362028] pcieport 0000:00:00.0: AER: enabled with IRQ 36[    2.367681] pcieport 0000:01:00.0: enabling device (0000 -> 0002)[    2.373892] pcieport 0000:02:03.0: enabling device (0000 -> 0002)[    2.380141] pcieport 0000:02:07.0: enabling device (0000 -> 0002)[    2.386449] brcm-pcie 1000120000.pcie: host bridge /axi/pcie@120000 ranges:[    2.393443] brcm-pcie 1000120000.pcie:   No bus range found for /axi/pcie@120000, using [bus 00-ff][    2.402535] brcm-pcie 1000120000.pcie:      MEM 0x1f00000000..0x1ffffffffb -> 0x0000000000[    2.410838] brcm-pcie 1000120000.pcie:      MEM 0x1c00000000..0x1effffffff -> 0x0400000000[    2.419145] brcm-pcie 1000120000.pcie:   IB MEM 0x1f00000000..0x1f003fffff -> 0x0000000000[    2.427447] brcm-pcie 1000120000.pcie:   IB MEM 0x0000000000..0x0fffffffff -> 0x1000000000[    2.436782] brcm-pcie 1000120000.pcie: Forcing gen 2[    2.441799] brcm-pcie 1000120000.pcie: PCI host bridge to bus 0001:00[    2.448266] pci_bus 0001:00: root bus resource [bus 00-ff][    2.453773] pci_bus 0001:00: root bus resource [mem 0x1f00000000-0x1ffffffffb] (bus address [0x00000000-0xfffffffb])[    2.464344] pci_bus 0001:00: root bus resource [mem 0x1c00000000-0x1effffffff pref] (bus address [0x400000000-0x6ffffffff])[    2.475530] pci 0001:00:00.0: [14e4:2712] type 01 class 0x060400[    2.481580] pci 0001:00:00.0: PME# supported from D0 D3hot[    2.487877] pci 0001:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring[    2.600348] brcm-pcie 1000120000.pcie: link up, 5.0 GT/s PCIe x4 (!SSC)[    2.607009] pci 0001:01:00.0: [1de4:0001] type 00 class 0x020000[    2.613051] pci 0001:01:00.0: reg 0x10: [mem 0xffffc000-0xffffffff][    2.619348] pci 0001:01:00.0: reg 0x14: [mem 0xffc00000-0xffffffff][    2.625644] pci 0001:01:00.0: reg 0x18: [mem 0xffff0000-0xffffffff][    2.632003] pci 0001:01:00.0: supports D1[    2.636024] pci 0001:01:00.0: PME# supported from D0 D1 D3hot D3cold[    2.652346] pci_bus 0001:01: busn_res: [bus 01-ff] end is updated to 01[    2.658993] pci 0001:00:00.0: BAR 8: assigned [mem 0x1f00000000-0x1f005fffff][    2.666160] pci 0001:01:00.0: BAR 1: assigned [mem 0x1f00000000-0x1f003fffff][    2.673327] pci 0001:01:00.0: BAR 2: assigned [mem 0x1f00400000-0x1f0040ffff][    2.680494] pci 0001:01:00.0: BAR 0: assigned [mem 0x1f00410000-0x1f00413fff][    2.687661] pci 0001:00:00.0: PCI bridge to [bus 01][    2.692644] pci 0001:00:00.0:   bridge window [mem 0x1f00000000-0x1f005fffff][    2.699810] pci 0001:00:00.0: Max Payload Size set to  256/ 512 (was  128), Max Read Rq  512[    2.708291] pci 0001:01:00.0: Max Payload Size set to  256/ 256 (was  128), Max Read Rq  512[    2.716815] pcieport 0001:00:00.0: enabling device (0000 -> 0002)[    2.722964] pcieport 0001:00:00.0: PME: Signaling with IRQ 40[    2.728782] pcieport 0001:00:00.0: AER: enabled with IRQ 40[    2.734444] rp1 0001:01:00.0: bar0 len 0x4000, start 0x1f00410000, end 0x1f00413fff, flags, 0x40200[    2.743533] rp1 0001:01:00.0: bar1 len 0x400000, start 0x1f00000000, end 0x1f003fffff, flags, 0x40200[    2.752800] rp1 0001:01:00.0: enabling device (0000 -> 0002)[    2.759391] rp1 0001:01:00.0: chip_id 0x20001927[    2.768815] genirq: irq_chip rp1_irq_chip did not update eff. affinity mask of irq 102[    2.794355] macb 1f00100000.ethernet eth0: Cadence GEM rev 0x00070109 at 0x1f00100000 irq 108 (2c:cf:67:26:82:8f)[    2.805191] dw_axi_dmac_platform 1f00188000.dma: DesignWare AXI DMA Controller, 8 channels[    2.813765] xhci-hcd xhci-hcd.0: xHCI Host Controller[    2.818841] xhci-hcd xhci-hcd.0: new USB bus registered, assigned bus number 1[    2.826532] xhci-hcd xhci-hcd.0: hcc params 0x0240fe6d hci version 0x110 quirks 0x0000008000000810[    2.835540] xhci-hcd xhci-hcd.0: irq 133, io mem 0x1f00200000[    2.841378] xhci-hcd xhci-hcd.0: xHCI Host Controller[    2.846448] xhci-hcd xhci-hcd.0: new USB bus registered, assigned bus number 2[    2.853701] xhci-hcd xhci-hcd.0: Host supports USB 3.0 SuperSpeed[    2.859863] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.06[    2.868167] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1[    2.875420] usb usb1: Product: xHCI Host Controller[    2.880315] usb usb1: Manufacturer: Linux 6.6.28-v8-16k xhci-hcd[    2.886344] usb usb1: SerialNumber: xhci-hcd.0[    2.890918] hub 1-0:1.0: USB hub found[    2.894696] hub 1-0:1.0: 2 ports detected[    2.898860] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 6.06[    2.907163] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1[    2.914415] usb usb2: Product: xHCI Host Controller[    2.919313] usb usb2: Manufacturer: Linux 6.6.28-v8-16k xhci-hcd[    2.925344] usb usb2: SerialNumber: xhci-hcd.0[    2.929965] hub 2-0:1.0: USB hub found[    2.933738] hub 2-0:1.0: 1 port detected[    2.937965] xhci-hcd xhci-hcd.1: xHCI Host Controller[    2.943041] xhci-hcd xhci-hcd.1: new USB bus registered, assigned bus number 3[    2.950846] xhci-hcd xhci-hcd.1: hcc params 0x0240fe6d hci version 0x110 quirks 0x0000008000000810[    2.959856] xhci-hcd xhci-hcd.1: irq 138, io mem 0x1f00300000[    2.965797] xhci-hcd xhci-hcd.1: xHCI Host Controller[    2.970868] xhci-hcd xhci-hcd.1: new USB bus registered, assigned bus number 4[    2.978121] xhci-hcd xhci-hcd.1: Host supports USB 3.0 SuperSpeed[    2.984371] usb usb3: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.06[    2.992672] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1[    2.999924] usb usb3: Product: xHCI Host Controller[    3.004920] usb usb3: Manufacturer: Linux 6.6.28-v8-16k xhci-hcd[    3.010950] usb usb3: SerialNumber: xhci-hcd.1[    3.015506] hub 3-0:1.0: USB hub found[    3.019279] hub 3-0:1.0: 2 ports detected[    3.023527] usb usb4: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 6.06[    3.031830] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1[    3.039186] usb usb4: Product: xHCI Host Controller[    3.044109] usb usb4: Manufacturer: Linux 6.6.28-v8-16k xhci-hcd[    3.050200] usb usb4: SerialNumber: xhci-hcd.1[    3.054848] hub 4-0:1.0: USB hub found[    3.058628] hub 4-0:1.0: 1 port detected[    3.063168] bcm2712-iommu 1000005100.iommu: bcm2712_iommu_init: DEBUG_INFO = 0x20804774[    3.071713] platform 1000800000.codec: bcm2712_iommu_probe_device: MMU 1000005100.iommu[    3.079756] platform 1000800000.codec: bcm2712_iommu_device_group: MMU 1000005100.iommu[    3.088012] platform 1000800000.codec: Adding to iommu group 0[    3.093876] platform 1000880000.pisp_be: bcm2712_iommu_probe_device: MMU 1000005100.iommu[    3.102298] platform 1000880000.pisp_be: bcm2712_iommu_device_group: MMU 1000005100.iommu[    3.110513] platform 1000880000.pisp_be: Adding to iommu group 0[    3.116758] platform 1000800000.codec: bcm2712_iommu_attach_dev: MMU 1000005100.iommu[    3.124623] platform 1000880000.pisp_be: bcm2712_iommu_attach_dev: MMU 1000005100.iommu[    3.132880] bcm2712-iommu 1000005100.iommu: bcm2712_iommu_probe: Success[    3.139993] bcm2712-iommu 1000005200.iommu: bcm2712_iommu_init: DEBUG_INFO = 0x20804774[    3.148332] bcm2712-iommu 1000005200.iommu: bcm2712_iommu_probe: Success[    3.155679] bcm2712-iommu 1000005280.iommu: bcm2712_iommu_init: DEBUG_INFO = 0x20804774[    3.164012] bcm2712-iommu 1000005280.iommu: bcm2712_iommu_probe: Success[    3.171380] sdhci-brcmstb 1000fff000.mmc: Got CD GPIO[    3.176622] mmc1: CQHCI version 5.10[    3.176879] of_cfs_init[    3.182698] of_cfs_init: OK[    3.185570] clk: Disabling unused clocks[    3.199617] uart-pl011 107d001000.serial: no DMA platform data[    3.212358] mmc0: SDHCI controller on 1000fff000.mmc [1000fff000.mmc] using ADMA 64-bit[    3.318185] mmc0: new ultra high speed SDR104 SDXC card at address aaaa[    3.325084] mmcblk0: mmc0:aaaa SC256 238 GiB[    3.330696]  mmcblk0: p1 p2[    3.333597] mmcblk0: mmc0:aaaa SC256 238 GiB (quirks 0x00004000)[    3.370875] mmc1: SDHCI controller on 1001100000.mmc [1001100000.mmc] using ADMA 64-bit[    3.379117] F2FS-fs (ram0): Magic Mismatch, valid(0xf2f52010) - read(0x0)[    3.385939] F2FS-fs (ram0): Can't find valid F2FS filesystem in 1th superblock[    3.393196] F2FS-fs (ram0): Magic Mismatch, valid(0xf2f52010) - read(0x0)[    3.400011] F2FS-fs (ram0): Can't find valid F2FS filesystem in 2th superblock[    3.407265] List of all partitions:[    3.409078] mmc1: new ultra high speed DDR50 SDIO card at address 0001[    3.410761] 0100            4096 ram0[    3.417312]  (driver?)[    3.423431] 0101            4096 ram1[    3.423433]  (driver?)[    3.429552] 0102            4096 ram2[    3.429553]  (driver?)[    3.435671] 0103            4096 ram3[    3.435672]  (driver?)[    3.441794] 0104            4096 ram4[    3.441795]  (driver?)[    3.447913] 0105            4096 ram5[    3.447914]  (driver?)[    3.454033] 0106            4096 ram6[    3.454034]  (driver?)[    3.460152] 0107            4096 ram7[    3.460153]  (driver?)[    3.466273] 0108            4096 ram8[    3.466274]  (driver?)[    3.472393] 0109            4096 ram9[    3.472394]  (driver?)[    3.478512] 010a            4096 ram10[    3.478514]  (driver?)[    3.484720] 010b            4096 ram11[    3.484721]  (driver?)[    3.490928] 010c            4096 ram12[    3.490929]  (driver?)[    3.497138] 010d            4096 ram13[    3.497139]  (driver?)[    3.503345] 010e            4096 ram14[    3.503346]  (driver?)[    3.509552] 010f            4096 ram15[    3.509554]  (driver?)[    3.515761] b300       249872384 mmcblk0[    3.515763]  driver: mmcblk[    3.522581]   b301          524288 mmcblk0p1 cafe1234-01[    3.522583][    3.529400]   b302       249347072 mmcblk0p2 cafe1234-02[    3.529402][    3.536218] No filesystem could mount root, tried:[    3.536219]  ext3[    3.541112]  ext2[    3.543036]  ext4[    3.544961]  vfat[    3.546885]  msdos[    3.548809]  f2fs[    3.550820][    3.554232] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(1,0)[    3.562530] CPU: 1 PID: 1 Comm: swapper/0 Not tainted 6.6.28-v8-16k #1[    3.569083] Hardware name: Raspberry Pi 5 Model B Rev 1.0 (DT)[    3.574936] Call trace:[    3.577384]  dump_backtrace+0xa0/0x100[    3.581147]  show_stack+0x20/0x38[    3.584469]  dump_stack_lvl+0x48/0x60[    3.588144]  dump_stack+0x18/0x28[    3.591467]  panic+0x324/0x388[    3.594529]  mount_root_generic+0x32c/0x350[    3.598727]  mount_root+0x16c/0x300[    3.602224]  prepare_namespace+0x74/0x2c8[    3.606246]  kernel_init_freeable+0x37c/0x3e0[    3.610616]  kernel_init+0x2c/0x208[    3.614115]  ret_from_fork+0x10/0x20[    3.617700] SMP: stopping secondary CPUs[    3.621635] Kernel Offset: 0x1004000000 from 0xffffffc080000000[    3.627575] PHYS_OFFSET: 0x0[    3.630459] CPU features: 0x0,00000001,70028143,0000720b[    3.635789] Memory Limit: none[    3.638850] ---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(1,0) ]---

Statistics: Posted by MMeit — Sat Sep 07, 2024 7:43 pm — Replies 0 — Views 17



Viewing all articles
Browse latest Browse all 4476

Trending Articles