Created
July 7, 2024 20:15
-
-
Save lawik/4d25c076a305572c7dbfe71fc9b5f343 to your computer and use it in GitHub Desktop.
RPi CM4 secure boot init panic :)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
RPi: BOOTLOADER release VERSION:e608a69d DATE: 2024/04/15 TIME: 14:12:14 | |
BOOTMODE: 0x06 partition 0 build-ts BUILD_TIMESTAMP=1713186734 serial 2f2a72cf boardrev b03141 stc 477024 | |
PM_RSTS: 0x00001000 | |
part 00000000 reset_info 00000000 | |
uSD voltage 3.3V | |
Initialising SDRAM 'Samsung' 16Gb x1 total-size: 16 Gbit 3200 | |
DDR 3200 0 0 16 152 | |
Boot mode: SD (01) order f2564 | |
SD HOST: 200000000 CTL0: 0x00800000 BUS: 400000 Hz actual: 390625 HZ div: 512 (256) status: 0x1fff0000 delay: 276 | |
SD HOST: 200000000 CTL0: 0x00800f00 BUS: 400000 Hz actual: 390625 HZ div: 512 (256) status: 0x1fff0000 delay: 276 | |
EMMC | |
SD retry 1 oc 0 | |
SD HOST: 200000000 CTL0: 0x00800000 BUS: 400000 Hz actual: 390625 HZ div: 512 (256) status: 0x1fff0000 delay: 276 | |
OCR c0ff8080 [0] | |
CID: 001501003847544634520680754ad9ca | |
SD HOST: 200000000 CTL0: 0x00800f04 BUS: 25000000 Hz actual: 25000000 HZ div: 8 (4) status: 0x1fff0000 delay: 4 | |
SD HOST: 200000000 CTL0: 0x00800f04 BUS: 50000000 Hz actual: 50000000 HZ div: 4 (2) status: 0x1fff0000 delay: 2 | |
MBR: 0x0000003f, 716800 type: 0x0c | |
MBR: 0x00168000, 289044 type: 0x83 | |
MBR: 0x001f5228,13217240 type: 0x83 | |
MBR: 0x00000000, 0 type: 0x00 | |
Trying partition: 0 | |
type: 32 lba: 63 oem: 'MSDOS5.0' volume: ' NO NAME ' | |
rsc 32 fat-sectors 5601 c-count 705566 c-size 1 | |
root dir cluster 2 sectors 0 entries 0 | |
FAT32 clusters 705566 | |
Trying partition: 0 | |
type: 32 lba: 63 oem: 'MSDOS5.0' volume: ' NO NAME ' | |
rsc 32 fat-sectors 5601 c-count 705566 c-size 1 | |
root dir cluster 2 sectors 0 entries 0 | |
FAT32 clusters 705566 | |
secure-boot | |
Loading boot.img ... | |
SIG boot.sig a64c3adbb5a1f2daabd70eb0fe5bb258f0979a806f894232b559b34b310cb374 1720362482 | |
Verifying | |
RSA verify | |
rsa-verify pass (0x0) | |
MBR: 0x00000000, 0 type: 0x00 | |
MBR: 0x00000000, 0 type: 0x00 | |
MBR: 0x00000000, 0 type: 0x00 | |
MBR: 0x00000000, 0 type: 0x00 | |
Trying partition: 0 | |
type: 16 lba: 0 oem: 'mkfs.fat' volume: ' V ^ ' | |
rsc 4 fat-sectors 64 c-count 16343 c-size 4 | |
root dir cluster 1 sectors 32 entries 512 | |
FAT16 clusters 16343 | |
Read config.txt bytes 2108 hnd 0x54 | |
Read start4x.elf bytes 3002536 hnd 0x3251 | |
Read fixup4x.dat bytes 8399 hnd 0x324c | |
0x00b03141 0x00000000 0x00001fff | |
MEM GPU: 192 ARM: 832 TOTAL: 1024 | |
Firmware: 30f0c5e4d076da3ab4f341d88e7d505760b93ad7 Oct 17 2023 15:40:00 | |
Starting start4x.elf @ 0xfec00200 partition 0 | |
+ | |
MESS:00:00:08.814464:0: brfs: File read: /mfs/sd/config.txt | |
MESS:00:00:08.817994:0: brfs: File read: 2108 bytes | |
MESS:00:00:08.842175:0: HDMI0:EDID error reading EDID block 0 attempt 0 | |
MESS:00:00:08.846678:0: HDMI0:EDID giving up on reading EDID block 0 | |
MESS:00:00:08.863369:0: HDMI1:EDID error reading EDID block 0 attempt 0 | |
MESS:00:00:08.867876:0: HDMI1:EDID giving up on reading EDID block 0 | |
MESS:00:00:08.873368:0: brfs: File read: /mfs/sd/config.txt | |
MESS:00:00:08.879269:0: gpioman: gpioman_get_pin_num: pin DISPLAY_SDA not defined | |
MESS:00:00:08.885456:0: gpioman: gpioman_get_pin_num: pin LEDS_PWR_OK not defined | |
MESS:00:00:09.056787:0: gpioman: gpioman_get_pin_num: pin FLASH_0_ENABLE not defined | |
MESS:00:00:09.061427:0: gpioman: gpioman_get_pin_num: pin FLASH_0_INDICATOR not defined | |
MESS:00:00:09.069169:0: gpioman: gpioman_get_pin_num: pin FLASH_0_ENABLE not defined | |
MESS:00:00:09.076618:0: gpioman: gpioman_get_pin_num: pin FLASH_0_INDICATOR not defined | |
MESS:00:00:09.382322:0: gpioman: gpioman_get_pin_num: pin LEDS_PWR_OK not defined | |
MESS:00:00:09.387970:0: *** Restart logging | |
MESS:00:00:09.390611:0: brfs: File read: 2108 bytes | |
MESS:00:00:09.400492:0: hdmi: HDMI0:EDID error reading EDID block 0 attempt 0 | |
MESS:00:00:09.405518:0: hdmi: HDMI0:EDID giving up on reading EDID block 0 | |
MESS:00:00:09.416142:0: hdmi: HDMI0:EDID error reading EDID block 0 attempt 0 | |
MESS:00:00:09.421171:0: hdmi: HDMI0:EDID giving up on reading EDID block 0 | |
MESS:00:00:09.426769:0: hdmi: HDMI:hdmi_get_state is deprecated, use hdmi_get_display_state instead | |
MESS:00:00:09.440561:0: hdmi: HDMI1:EDID error reading EDID block 0 attempt 0 | |
MESS:00:00:09.445590:0: hdmi: HDMI1:EDID giving up on reading EDID block 0 | |
MESS:00:00:09.456212:0: hdmi: HDMI1:EDID error reading EDID block 0 attempt 0 | |
MESS:00:00:09.461237:0: hdmi: HDMI1:EDID giving up on reading EDID block 0 | |
MESS:00:00:09.466834:0: hdmi: HDMI:hdmi_get_state is deprecated, use hdmi_get_display_state instead | |
MESS:00:00:09.475599:0: HDMI0: hdmi_pixel_encoding: 300000000 | |
MESS:00:00:09.481072:0: HDMI1: hdmi_pixel_encoding: 300000000 | |
MESS:00:00:09.688870:0: brfs: File read: /mfs/sd/rootfs.cpio.zst | |
MESS:00:00:09.691770:0: Loaded 'rootfs.cpio.zst' to 0x0 size 0x13d67c6 | |
MESS:00:00:09.714664:0: initramfs loaded to 0x2dc29000 (size 0x13d67c6) | |
MESS:00:00:09.718184:0: gpioman: gpioman_get_pin_num: pin CAMERA_0_I2C_PORT not defined | |
MESS:00:00:09.730153:0: dtb_file 'bcm2711-rpi-cm4.dtb' | |
MESS:00:00:09.732182:0: brfs: File read: 20801478 bytes | |
MESS:00:00:09.737641:0: brfs: File read: /mfs/sd/bcm2711-rpi-cm4.dtb | |
MESS:00:00:09.743204:0: Loaded 'bcm2711-rpi-cm4.dtb' to 0x100 size 0xd84f | |
MESS:00:00:09.763355:0: brfs: File read: 55375 bytes | |
MESS:00:00:09.767342:0: brfs: File read: /mfs/sd/overlays/overlay_map.dtb | |
MESS:00:00:09.798637:0: brfs: File read: 4775 bytes | |
MESS:00:00:09.800512:0: brfs: File read: /mfs/sd/config.txt | |
MESS:00:00:09.806043:0: dtparam: i2c_arm=on | |
MESS:00:00:09.818364:0: dtparam: spi=on | |
MESS:00:00:09.827304:0: dtparam: audio=on | |
MESS:00:00:09.833229:0: brfs: File read: 2108 bytes | |
MESS:00:00:09.836410:0: brfs: File read: /mfs/sd/overlays/vc4-kms-v3d-pi4.dtbo | |
MESS:00:00:09.904131:0: Loaded overlay 'vc4-kms-v3d' | |
MESS:00:00:10.057310:0: brfs: File read: 3913 bytes | |
MESS:00:00:10.061479:0: brfs: File read: /mfs/sd/overlays/dwc2.dtbo | |
MESS:00:00:10.071271:0: Loaded overlay 'dwc2' | |
MESS:00:00:10.083278:0: brfs: File read: 801 bytes | |
MESS:00:00:10.085686:0: brfs: File read: /mfs/sd/overlays/ramoops-pi4.dtbo | |
MESS:00:00:10.095422:0: Loaded overlay 'ramoops' | |
MESS:00:00:10.104387:0: brfs: File read: 741 bytes | |
MESS:00:00:10.108448:0: brfs: File read: /mfs/sd/overlays/dwc2.dtbo | |
MESS:00:00:10.118278:0: Loaded overlay 'dwc2' | |
MESS:00:00:10.119520:0: dtparam: dr_mode=host | |
MESS:00:00:10.141837:0: brfs: File read: 801 bytes | |
MESS:00:00:10.143616:0: brfs: File read: /mfs/sd/cmdline.txt | |
MESS:00:00:10.149037:0: Read command line from file 'cmdline.txt': | |
MESS:00:00:10.154798:0: 'rootwait dwc_otg.lpm_enable=0 console=serial0,115200 root=/dev/ram0' | |
MESS:00:00:10.274290:0: brfs: File read: 739 bytes | |
MESS:00:00:10.319280:0: brfs: File read: /mfs/sd/zImage | |
MESS:00:00:10.321396:0: Loaded 'zImage' to 0x80000 size 0x5236d8 | |
MESS:00:00:11.050817:0: Kernel relocated to 0x200000 | |
MESS:00:00:11.052672:0: Device tree loaded to 0x2dc1b200 (size 0xdd7b) | |
MESS:00:00:11.060854:0: uart: Set PL011 baud rate to 103448.300000 Hz | |
MESS:00:00:11.067997:0: uart: Baud rate change done... | |
MESS:00:00:11.070019:0:[ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd083] | |
[ 0.000000] Linux version 6.1.73-v8 (buildroot@buildroot) (aarch64-nerves-linux-gnu-gcc (crosstool-NG UNKNOWN) 13.2.0, GNU ld (crosstool-NG UNKNOWN) 2.40) #1 SMP PREEMPT Sun Jul 7 14:28:02 UTC 2024 | |
[ 0.000000] random: crng init done | |
[ 0.000000] Machine model: Raspberry Pi Compute Module 4 Rev 1.1 | |
[ 0.000000] Reserved memory: created CMA memory pool at 0x000000000dc00000, size 512 MiB | |
[ 0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool | |
[ 0.000000] Zone ranges: | |
[ 0.000000] DMA [mem 0x0000000000000000-0x000000003fffffff] | |
[ 0.000000] DMA32 [mem 0x0000000040000000-0x000000007fffffff] | |
[ 0.000000] Normal empty | |
[ 0.000000] Movable zone start for each node | |
[ 0.000000] Early memory node ranges | |
[ 0.000000] node 0: [mem 0x0000000000000000-0x0000000033ffffff] | |
[ 0.000000] node 0: [mem 0x0000000040000000-0x000000007fffffff] | |
[ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x000000007fffffff] | |
[ 0.000000] On node 0, zone DMA32: 16384 pages in unavailable ranges | |
[ 0.000000] percpu: Embedded 25 pages/cpu s64680 r8192 d29528 u102400 | |
[ 0.000000] Detected PIPT I-cache on CPU0 | |
[ 0.000000] CPU features: detected: Spectre-v2 | |
[ 0.000000] CPU features: detected: Spectre-v4 | |
[ 0.000000] CPU features: detected: Spectre-BHB | |
[ 0.000000] CPU features: detected: ARM errata 1165522, 1319367, or 1530923 | |
[ 0.000000] alternatives: applying boot alternatives | |
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 467712 | |
[ 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 smsc95xx.macaddr=2C:CF:67:0A:8A:F7 vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000 rootwait dwc_otg.lpm_enable=0 console=ttyS0,115200 root=/dev/ram0 | |
[ 0.000000] Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes, linear) | |
[ 0.000000] Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes, linear) | |
[ 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 0x0000000030000000-0x0000000034000000] (64MB) | |
[ 0.000000] Memory: 1237584K/1900544K available (7872K kernel code, 1270K rwdata, 2036K rodata, 1728K init, 597K bss, 138672K reserved, 524288K cma-reserved) | |
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1 | |
[ 0.000000] trace event string verifier disabled | |
[ 0.000000] rcu: Preemptible hierarchical RCU implementation. | |
[ 0.000000] rcu: RCU event tracing is enabled. | |
[ 0.000000] Trampoline variant of Tasks RCU enabled. | |
[ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies. | |
[ 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.000001] sched_clock: 56 bits at 54MHz, resolution 18ns, wraps every 4398046511102ns | |
[ 0.000208] Console: colour dummy device 80x25 | |
[ 0.000256] Calibrating delay loop (skipped), value calculated using timer frequency.. 108.00 BogoMIPS (lpj=216000) | |
[ 0.000272] pid_max: default: 32768 minimum: 301 | |
[ 0.000477] Mount-cache hash table entries: 4096 (order: 3, 32768 bytes, linear) | |
[ 0.000507] Mountpoint-cache hash table entries: 4096 (order: 3, 32768 bytes, linear) | |
[ 0.001305] cgroup: Disabling memory control group subsystem | |
[ 0.002265] cblist_init_generic: Setting adjustable number of callback queues. | |
[ 0.002273] cblist_init_generic: Setting shift to 2 and lim to 1. | |
[ 0.002479] rcu: Hierarchical SRCU implementation. | |
[ 0.002484] rcu: Max phase no-delay instances is 1000. | |
[ 0.003425] smp: Bringing up secondary CPUs ... | |
[ 0.003948] Detected PIPT I-cache on CPU1 | |
[ 0.004087] CPU1: Booted secondary processor 0x0000000001 [0x410fd083] | |
[ 0.004631] Detected PIPT I-cache on CPU2 | |
[ 0.004747] CPU2: Booted secondary processor 0x0000000002 [0x410fd083] | |
[ 0.005245] Detected PIPT I-cache on CPU3 | |
[ 0.005368] CPU3: Booted secondary processor 0x0000000003 [0x410fd083] | |
[ 0.005449] smp: Brought up 1 node, 4 CPUs | |
[ 0.005460] SMP: Total of 4 processors activated. | |
[ 0.005466] CPU features: detected: 32-bit EL0 Support | |
[ 0.005472] CPU features: detected: CRC32 instructions | |
[ 0.005552] CPU: All CPU(s) started at EL2 | |
[ 0.005556] alternatives: applying system-wide alternatives | |
[ 0.006643] devtmpfs: initialized | |
[ 0.015417] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns | |
[ 0.015448] futex hash table entries: 1024 (order: 4, 65536 bytes, linear) | |
[ 0.027966] pinctrl core: initialized pinctrl subsystem | |
[ 0.028826] NET: Registered PF_NETLINK/PF_ROUTE protocol family | |
[ 0.030349] DMA: preallocated 1024 KiB GFP_KERNEL pool for atomic allocations | |
[ 0.030588] DMA: preallocated 1024 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations | |
[ 0.031002] DMA: preallocated 1024 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations | |
[ 0.031394] thermal_sys: Registered thermal governor 'step_wise' | |
[ 0.031436] cpuidle: using governor menu | |
[ 0.031566] ASID allocator initialised with 65536 entries | |
[ 0.031635] Serial: AMBA PL011 UART driver | |
[ 0.032063] pstore: Registered ramoops as persistent store backend | |
[ 0.032070] ramoops: using 0x10000@0xb000000, ecc: 0 | |
[ 0.039365] bcm2835-mbox fe00b880.mailbox: mailbox enabled | |
[ 0.052110] raspberrypi-firmware soc:firmware: Attached to firmware from 2023-10-17T15:40:00, variant start_x | |
[ 0.056119] raspberrypi-firmware soc:firmware: Firmware hash is 30f0c5e4d076da3ab4f341d88e7d505760b93ad7 | |
[ 0.089942] bcm2835-dma fe007000.dma: DMA legacy API manager, dmachans=0x1 | |
[ 0.092531] SCSI subsystem initialized | |
[ 0.092677] usbcore: registered new interface driver usbfs | |
[ 0.092718] usbcore: registered new interface driver hub | |
[ 0.092754] usbcore: registered new device driver usb | |
[ 0.092939] usb_phy_generic phy: supply vcc not found, using dummy regulator | |
[ 0.093172] pps_core: LinuxPPS API ver. 1 registered | |
[ 0.093177] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <[email protected]> | |
[ 0.093193] PTP clock support registered | |
[ 0.094051] vgaarb: loaded | |
[ 0.094366] clocksource: Switched to clocksource arch_sys_counter | |
[ 0.101374] NET: Registered PF_INET protocol family | |
[ 0.101653] IP idents hash table entries: 32768 (order: 6, 262144 bytes, linear) | |
[ 0.104052] tcp_listen_portaddr_hash hash table entries: 1024 (order: 2, 16384 bytes, linear) | |
[ 0.104084] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear) | |
[ 0.104103] TCP established hash table entries: 16384 (order: 5, 131072 bytes, linear) | |
[ 0.104260] TCP bind hash table entries: 16384 (order: 7, 524288 bytes, linear) | |
[ 0.104771] TCP: Hash tables configured (established 16384 bind 16384) | |
[ 0.104921] UDP hash table entries: 1024 (order: 3, 32768 bytes, linear) | |
[ 0.104954] UDP-Lite hash table entries: 1024 (order: 3, 32768 bytes, linear) | |
[ 0.105091] NET: Registered PF_UNIX/PF_LOCAL protocol family | |
[ 0.105123] PCI: CLS 0 bytes, default 64 | |
[ 0.105616] Trying to unpack rootfs image as initramfs... | |
[ 0.106107] Initialise system trusted keyrings | |
[ 0.106259] workingset: timestamp_bits=46 max_order=19 bucket_order=0 | |
[ 0.111660] squashfs: version 4.0 (2009/01/31) Phillip Lougher | |
[ 0.112911] Key type asymmetric registered | |
[ 0.112923] Asymmetric key parser 'x509' registered | |
[ 0.112981] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 248) | |
[ 0.113534] irq_brcmstb_l2: registered L2 intc (/soc/interrupt-controller@7ef00100, parent irq: 23) | |
[ 0.118135] gpio-507 (ant1): hogged as output/high | |
[ 0.119493] gpio-511 (ant2): hogged as output/low | |
[ 0.120538] brcm-pcie fd500000.pcie: host bridge /scb/pcie@7d500000 ranges: | |
[ 0.120564] brcm-pcie fd500000.pcie: No bus range found for /scb/pcie@7d500000, using [bus 00-ff] | |
[ 0.120602] brcm-pcie fd500000.pcie: MEM 0x0600000000..0x063fffffff -> 0x00c0000000 | |
[ 0.120635] brcm-pcie fd500000.pcie: IB MEM 0x0000000000..0x007fffffff -> 0x0400000000 | |
[ 0.121166] brcm-pcie fd500000.pcie: setting SCB_ACCESS_EN, READ_UR_MODE, MAX_BURST_SIZE | |
[ 0.121466] brcm-pcie fd500000.pcie: PCI host bridge to bus 0000:00 | |
[ 0.121478] pci_bus 0000:00: root bus resource [bus 00-ff] | |
[ 0.121496] pci_bus 0000:00: root bus resource [mem 0x600000000-0x63fffffff] (bus address [0xc0000000-0xffffffff]) | |
[ 0.121537] pci 0000:00:00.0: [14e4:2711] type 01 class 0x060400 | |
[ 0.121627] pci 0000:00:00.0: PME# supported from D0 D3hot | |
[ 0.125423] pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring | |
[ 0.125644] pci_bus 0000:01: supply vpcie3v3 not found, using dummy regulator | |
[ 0.125750] pci_bus 0000:01: supply vpcie3v3aux not found, using dummy regulator | |
[ 0.125769] pci_bus 0000:01: supply vpcie12v not found, using dummy regulator | |
[ 0.550412] brcm-pcie fd500000.pcie: link down | |
[ 0.550668] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01 | |
[ 0.550701] pci 0000:00:00.0: PCI bridge to [bus 01] | |
[ 0.550766] pci_bus 0000:01: busn_res: [bus 01] is released | |
[ 0.551223] pci_bus 0000:00: busn_res: [bus 00-ff] is released | |
[ 0.556633] Serial: 8250/16550 driver, 1 ports, IRQ sharing enabled | |
[ 0.558153] iproc-rng200 fe104000.rng: hwrng registered | |
[ 0.558346] vc-mem: phys_addr:0x00000000 mem_base=0x3ec00000 mem_size:0x40000000(1024 MiB) | |
[ 0.566128] brd: module loaded | |
[ 0.569875] loop: module loaded | |
[ 0.570451] Loading iSCSI transport class v2.0-870. | |
[ 0.572896] bcmgenet fd580000.ethernet: GENET 5.0 EPHY: 0x0000 | |
[ 1.337255] Freeing initrd memory: 20312K | |
[ 1.402438] unimac-mdio unimac-mdio.-19: Broadcom UniMAC MDIO bus | |
[ 1.403513] dwc_otg: version 3.00a 10-AUG-2012 (platform bus) | |
[ 1.403859] usbcore: registered new interface driver usb-storage | |
[ 1.403975] UDC core: g_ether: couldn't find an available UDC | |
[ 1.403985] i2c_dev: i2c /dev entries driver | |
[ 1.404688] brcmstb-i2c fef04500.i2c: @97500hz registered in polling mode | |
[ 1.405032] brcmstb-i2c fef09500.i2c: @97500hz registered in polling mode | |
[ 1.406596] sdhci: Secure Digital Host Controller Interface driver | |
[ 1.406603] sdhci: Copyright(c) Pierre Ossman | |
[ 1.406813] sdhci-pltfm: SDHCI platform and OF driver helper | |
[ 1.409003] ledtrig-cpu: registered to indicate activity on CPUs | |
[ 1.409122] hid: raw HID events driver (C) Jiri Kosina | |
[ 1.409242] usbcore: registered new interface driver usbhid | |
[ 1.409248] usbhid: USB HID core driver | |
[ 1.409388] bcm2835_vchiq fe00b840.mailbox: there is not valid maps for state default | |
[ 1.414236] NET: Registered PF_INET6 protocol family | |
[ 1.415243] Segment Routing with IPv6 | |
[ 1.415269] In-situ OAM (IOAM) with IPv6 | |
[ 1.415336] NET: Registered PF_PACKET protocol family | |
[ 1.415661] Loading compiled-in X.509 certificates | |
[ 1.416098] pstore: Using crash dump compression: deflate | |
[ 1.418847] uart-pl011 fe201000.serial: there is not valid maps for state default | |
[ 1.419140] uart-pl011 fe201000.serial: cts_event_workaround enabled | |
[ 1.419232] fe201000.serial: ttyAMA1 at MMIO 0xfe201000 (irq = 30, base_baud = 0) is a PL011 rev2 | |
[ 1.425092] bcm2835-aux-uart fe215040.serial: there is not valid maps for state default | |
[ 1.425470] printk: console [ttyS0] disabled | |
[ 1.425533] fe215040.serial: ttyS0 at MMIO 0xfe215040 (irq = 31, base_baud = 62500000) is a 16550 | |
[ 2.498320] printk: console [ttyS0] enabled | |
[ 2.502899] bcm2835-wdt bcm2835-wdt: Broadcom BCM2835 watchdog timer | |
[ 2.509454] bcm2835-power bcm2835-power: Broadcom BCM2835 power domains driver | |
[ 2.518085] mmc-bcm2835 fe300000.mmcnr: mmc_debug:0 mmc_debug2:0 | |
[ 2.524207] mmc-bcm2835 fe300000.mmcnr: DMA channel allocated | |
[ 2.555367] of_cfs_init | |
[ 2.557862] of_cfs_init: OK | |
[ 2.590933] mmc0: SDHCI controller on fe340000.mmc [fe340000.mmc] using ADMA | |
[ 2.599179] Freeing unused kernel memory: 1728K | |
[ 2.603947] Run /init as init process | |
======================= Running init from rootfs_overlay | |
Waiting for /dev/mmcblk0p2... | |
[ 2.658742] mmc0: new DDR MMC card at address 0001 | |
[ 2.664060] mmcblk0: mmc0:0001 8GTF4R 7.28 GiB | |
[ 2.669259] mmcblk0: p1 p2 p3 | |
[ 2.672568] mmcblk0: mmc0:0001 8GTF4R 7.28 GiB | |
[ 2.677337] mmcblk0boot0: mmc0:0001 8GTF4R 4.00 MiB | |
[ 2.682786] mmcblk0boot1: mmc0:0001 8GTF4R 4.00 MiB | |
[ 2.687998] mmcblk0rpmb: mmc0:0001 8GTF4R 512 KiB, chardev (246:0) | |
Mounting /dev/mmcblk0p2... | |
Mounted [ 7.619789] Kernel panic - not syncing: Attempted to kill init! exitcode=0x00007f00 | |
/media/m[ 7.627751] CPU: 2 PID: 1 Comm: init Not tainted 6.1.73-v8 #1 | |
mcblk0p2[ 7.634272] Hardware name: Raspberry Pi Compute Module 4 Rev 1.1 (DT) | |
Switch[ 7.641501] Call trace: | |
ing root[ 7.644677] dump_backtrace.part.0+0xdc/0xf0 | |
:) | |
/in[ 7.649703] show_stack+0x18/0x30 | |
it: exec[ 7.653759] dump_stack_lvl+0x64/0x80 | |
: line 3[ 7.658169] dump_stack+0x18/0x34 | |
6: switc[ 7.662225] panic+0x188/0x344 | |
h_root: [ 7.666017] do_exit+0x904/0x910 | |
not foun[ 7.669985] do_group_exit+0x34/0x90 | |
d | |
[ 7.674306] __arm64_sys_exit_group+0x18/0x20 | |
[ 7.678979] invoke_syscall.constprop.0+0x50/0xf0 | |
[ 7.683754] do_el0_svc+0x58/0x180 | |
[ 7.687205] el0_svc+0x34/0xf0 | |
[ 7.690299] el0t_64_sync_handler+0x114/0x120 | |
[ 7.694716] el0t_64_sync+0x18c/0x190 | |
[ 7.698429] SMP: stopping secondary CPUs | |
[ 7.702407] Kernel Offset: disabled | |
[ 7.705938] CPU features: 0x80000,00034080,0000420b | |
[ 7.710882] Memory Limit: none | |
[ 7.716618] Rebooting in 10 seconds.. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
echo "======================= Running init from rootfs_overlay" | |
mount -t devtmpfs none /dev | |
mount -t proc proc /proc | |
mount -t sysfs sysfs /sys | |
echo "Waiting for /dev/mmcblk0p2..." | |
until [ -b "/dev/mmcblk0p2" ]; do | |
sleep 5 | |
done | |
#rpi-otp-private-key -b > key.bin | |
KEY_PATH="test-key.bin" | |
#if cryptsetup open --type=luks2 --key-file "$KEY_PATH" /dev/mmcblk0p2 appfs; then | |
mkdir /media/mmcblk0p2 | |
echo "Mounting /dev/mmcblk0p2..." | |
mount /dev/mmcblk0p2 /media/mmcblk0p2 | |
echo "Mounted /media/mmcblk0p2" | |
#mount /dev/mapper/appfs /media/mmcblk0p2 | |
# else | |
# mkdir /media/mmcblk0p2 | |
# mount /dev/mmcblk0p2 /media/mmcblk0p2 | |
# mkdir /root/mmcblk0p2 | |
# cp -r /media/mmcblk0p2/* /root/mmcblk0p2/ | |
# umount /media/mmcblk0p2 | |
# cryptsetup -q luksFormat --type=luks2 --key-file="$KEY_PATH" --pbkdf argon2id /dev/mmcblk0p2 | |
# cryptsetup open --type=luks2 --key-file "$KEY_PATH" /dev/mmcblk0p2 appfs | |
# /usr/sbin/mke2fs -t ext4 /dev/mapper/appfs | |
# mount /dev/mapper/appfs /media/mmcblk0p2 | |
# cp -r /root/mmcblk0p2/* /media/mmcblk0p2/ | |
# fi | |
echo "Switching root :)" | |
exec switch_root /media/mmcblk0p2/ /sbin/init |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment