Hi, I am currently trying to get a Yocto setup based only on Yocto:master (close to Scarthgap, but I am a little bit more recent) and meta-riscv to create Beaglev-Ahead images without the need of the external toolchain or the other non-standard layers.
I did succeed so far that I have a configuration close to what is done in the Ubuntu packaging repo. I also get the deployment artifacts (specifically a boot.ext4 to be flashed via fastboot to boot) and I have an image that “sometimes” boots. My WIP branch is here: GitHub - cordlandwehr/meta-riscv at feature/beaglev-ahead
After a full power-disconnect of the USB-cable I most often can boot correctly. But when using the reset button or the power-off button, I am usually either stuck in loading the Kernel’s Image file or in starting the /sbin/init process, or the board just turns off/resets at any of those situations. Has anybody an idea what I am doing wrong?
Here is a dmesg of a successful boot:
U-Boot 2020.01-g85565d54 (May 09 2024 - 11:42:25 +0200)
CPU: rv64imafdcvsu
Model: T-HEAD c910 light
DRAM: 4 GiB
C910 CPU FREQ: 750MHz
AHB2_CPUSYS_HCLK FREQ: 250MHz
AHB3_CPUSYS_PCLK FREQ: 125MHz
PERISYS_AHB_HCLK FREQ: 250MHz
PERISYS_APB_PCLK FREQ: 62MHz
GMAC PLL POSTDIV FREQ: 1000MHZ
DPU0 PLL POSTDIV FREQ: 1188MHZ
DPU1 PLL POSTDIV FREQ: 1188MHZ
MMC: sdhci@ffe7080000: 0, sd@ffe7090000: 1
Loading Environment from MMC... OK
Error reading output register
Warning: cannot get lcd-en GPIO
LCD panel cannot be found : -121
splash screen startup cost 16 ms
In: serial
Out: serial
Err: serial
loading aon...
cp - memory copy
Usage:
cp [.b, .w, .l, .q] source target count
loading audio...
cp - memory copy
Usage:
cp [.b, .w, .l, .q] source target count
loading opensbi...
272128 bytes read in 4 ms (64.9 MiB/s)
bootslave..Net:
Warning: ethernet@ffe7070000 (eth0) using random MAC address - 32:f0:b7:cf:dc:45
eth0: ethernet@ffe7070000ethernet@ffe7070000:0 is connected to ethernet@ffe7070000. Reconnecting to ethernet@ffe7060000
Warning: ethernet@ffe7060000 (eth1) using random MAC address - ae:89:f8:e8:dc:81
, eth1: ethernet@ffe7060000
Hit any key to stop autoboot: 0
Card did not respond to voltage select!
switch to partitions #0, OK
mmc0(part 0) is current device
Scanning mmc 0:2...
Found /extlinux/extlinux.conf
Retrieving file: /extlinux/extlinux.conf
242 bytes read in 1 ms (236.3 KiB/s)
1: Linux eMMC
Retrieving file: /Image
22041600 bytes read in 68 ms (309.1 MiB/s)
append: root=/dev/mmcblk0p3 ro rootfstype=ext4 rootwait console=ttyS0,115200 earlycon clk_ignore_unused net.ifnames=0
Retrieving file: /th1520-beaglev-ahead.dtb
11528 bytes read in 2 ms (5.5 MiB/s)
## Flattened Device Tree blob at 46000000
Booting using the fdt blob at 0x46000000
Using Device Tree in place at 0000000046000000, end 0000000046005d07
Starting kernel ...
OpenSBI v1.4-93-g17e8291
____ _____ ____ _____
/ __ \ / ____| _ \_ _|
| | | |_ __ ___ _ __ | (___ | |_) || |
| | | | '_ \ / _ \ '_ \ \___ \| _ < | |
| |__| | |_) | __/ | | |____) | |_) || |_
\____/| .__/ \___|_| |_|_____/|____/_____|
| |
|_|
Platform Name : BeagleV Ahead
Platform Features : medeleg
Platform HART Count : 4
Platform IPI Device : aclint-mswi
Platform Timer Device : aclint-mtimer @ 3000000Hz
Platform Console Device : uart8250
Platform HSM Device : ---
Platform PMU Device : thead,c900-pmu
Platform Reboot Device : ---
Platform Shutdown Device : ---
Platform Suspend Device : ---
Platform CPPC Device : ---
Firmware Base : 0x0
Firmware Size : 357 KB
Firmware RW Offset : 0x40000
Firmware RW Size : 101 KB
Firmware Heap Offset : 0x4f000
Firmware Heap Size : 41 KB (total), 2 KB (reserved), 9 KB (used), 29 KB (free)
Firmware Scratch Size : 4096 B (total), 384 B (used), 3712 B (free)
Runtime SBI Version : 2.0
Domain0 Name : root
Domain0 Boot HART : 0
Domain0 HARTs : 0*,1*,2*,3*
Domain0 Region00 : 0x000000ffe7014000-0x000000ffe7014fff M: (I,R,W) S/U: (R,W)
Domain0 Region01 : 0x000000ffdc008000-0x000000ffdc00bfff M: (I,R,W) S/U: ()
Domain0 Region02 : 0x000000ffdc000000-0x000000ffdc007fff M: (I,R,W) S/U: ()
Domain0 Region03 : 0x0000000000040000-0x000000000005ffff M: (R,W) S/U: ()
Domain0 Region04 : 0x0000000000000000-0x000000000003ffff M: (R,X) S/U: ()
Domain0 Region05 : 0x000000ffd8000000-0x000000ffd8ffffff M: (I,R,W) S/U: (R,W)
Domain0 Region06 : 0x0000000000000000-0xffffffffffffffff M: () S/U: (R,W,X)
Domain0 Next Address : 0x0000000040200000
Domain0 Next Arg1 : 0x0000000046000000
Domain0 Next Mode : S-mode
Domain0 SysReset : yes
Domain0 SysSuspend : yes
Boot HART ID : 0
Boot HART Domain : root
Boot HART Priv Version : v1.11
Boot HART Base ISA : rv64imafdcvx
Boot HART ISA Extensions : zicntr,zihpm
Boot HART PMP Count : 0
Boot HART PMP Granularity : 0 bits
Boot HART PMP Address Bits: 0
Boot HART MHPM Info : 16 (0x0007fff8)
Boot HART Debug Triggers : 0 triggers
Boot HART MIDELEG : 0x0000000000020222
Boot HART MEDELEG : 0x000000000000b109
[ 0.000000] Linux version 6.9.0-20240430 (oe-user@oe-host) (riscv64-poky-linux-gcc (GCC) 13.2.0, GNU ld (GNU Binutils) 2.42.0.20240216) #1 SMP Sat May 18 02:17:55 UTC 2024
[ 0.000000] Machine model: BeagleV Ahead
[ 0.000000] SBI specification v2.0 detected
[ 0.000000] SBI implementation ID=0x1 Version=0x10004
[ 0.000000] SBI TIME extension detected
[ 0.000000] SBI IPI extension detected
[ 0.000000] SBI RFENCE extension detected
[ 0.000000] SBI DBCN extension detected
[ 0.000000] earlycon: uart0 at MMIO32 0x000000ffe7014000 (options '115200n8')
[ 0.000000] printk: legacy bootconsole [uart0] enabled
[ 0.000000] efi: UEFI not found.
[ 0.000000] OF: reserved mem: 0x0000000000000000..0x000000000003ffff (256 KiB) nomap non-reusable mmode_resv1@0
[ 0.000000] OF: reserved mem: 0x0000000000040000..0x000000000005ffff (128 KiB) nomap non-reusable mmode_resv0@40000
[ 0.000000] Zone ranges:
[ 0.000000] DMA32 [mem 0x0000000000000000-0x00000000ffffffff]
[ 0.000000] Normal empty
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000000000000-0x000000000005ffff]
[ 0.000000] node 0: [mem 0x0000000000060000-0x00000000ffffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x00000000ffffffff]
[ 0.000000] SBI HSM extension detected
[ 0.000000] riscv: base ISA extensions acdfim
[ 0.000000] riscv: ELF capabilities acdfim
[ 0.000000] percpu: Embedded 22 pages/cpu s49592 r8192 d32328 u90112
[ 0.000000] Kernel command line: root=/dev/mmcblk0p3 ro rootfstype=ext4 rootwait console=ttyS0,115200 earlycon clk_ignore_unused net.ifnames=0
[ 0.000000] Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes, linear)
[ 0.000000] Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes, linear)
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 1032192
[ 0.000000] mem auto-init: stack:all(zero), heap alloc:off, heap free:off
[ 0.000000] Virtual kernel memory layout:
[ 0.000000] fixmap : 0xffffffc6fea00000 - 0xffffffc6ff000000 (6144 kB)
[ 0.000000] pci io : 0xffffffc6ff000000 - 0xffffffc700000000 ( 16 MB)
[ 0.000000] vmemmap : 0xffffffc700000000 - 0xffffffc800000000 (4096 MB)
[ 0.000000] vmalloc : 0xffffffc800000000 - 0xffffffd800000000 ( 64 GB)
[ 0.000000] modules : 0xffffffff01583000 - 0xffffffff80000000 (2026 MB)
[ 0.000000] lowmem : 0xffffffd800000000 - 0xffffffd900000000 (4096 MB)
[ 0.000000] kernel : 0xffffffff80000000 - 0xffffffffffffffff (2047 MB)
[ 0.000000] Memory: 4082852K/4194304K available (9557K kernel code, 4935K rwdata, 4096K rodata, 2253K init, 499K bss, 111452K reserved, 0K cma-reserved)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[ 0.000000] rcu: Hierarchical RCU implementation.
[ 0.000000] rcu: RCU restricting CPUs from NR_CPUS=64 to nr_cpu_ids=4.
[ 0.000000] rcu: RCU debug extended QS entry/exit.
[ 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] RCU Tasks Trace: Setting shift to 2 and lim to 1 rcu_task_cb_adjust=1.
[ 0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[ 0.000000] riscv-intc: 64 local interrupts mapped
[ 0.000000] riscv: providing IPIs using SBI IPI extension
[ 0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention.
[ 0.000000] clocksource: riscv_clocksource: mask: 0xffffffffffffffff max_cycles: 0x1623fa770, max_idle_ns: 881590404476 ns
[ 0.000001] sched_clock: 64 bits at 3000kHz, resolution 333ns, wraps every 4398046511097ns
[ 0.008744] Console: colour dummy device 80x25
[ 0.013408] Calibrating delay loop (skipped), value calculated using timer frequency.. 6.00 BogoMIPS (lpj=12000)
[ 0.023791] pid_max: default: 32768 minimum: 301
[ 0.028653] LSM: initializing lsm=capability
[ 0.033212] Mount-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
[ 0.040812] Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
[ 0.052484] riscv: ELF compat mode unsupported
[ 0.052678] ASID allocator using 16 bits (65536 entries)
[ 0.063065] rcu: Hierarchical SRCU implementation.
[ 0.068031] rcu: Max phase no-delay instances is 1000.
[ 0.074190] EFI services will not be available.
[ 0.079443] smp: Bringing up secondary CPUs ...
[ 1.097099] CPU1: failed to come online
[ 2.126228] CPU2: failed to come online
[ 3.155379] CPU3: failed to come online
[ 3.159426] smp: Brought up 1 node, 1 CPU
[ 3.165060] devtmpfs: initialized
[ 3.175105] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[ 3.185026] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[ 3.192389] pinctrl core: initialized pinctrl subsystem
[ 3.199379] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[ 3.206585] DMA: preallocated 512 KiB GFP_KERNEL pool for atomic allocations
[ 3.213910] DMA: preallocated 512 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[ 3.222049] audit: initializing netlink subsys (disabled)
[ 3.228370] thermal_sys: Registered thermal governor 'step_wise'
[ 3.228464] audit: type=2000 audit(3.148:1): state=initialized audit_enabled=0 res=1
[ 3.242498] cpuidle: using governor menu
[ 3.270705] cpu0: Ratio of byte access time to unaligned word access is 6.14, unaligned accesses are fast
[ 3.282995] platform soc: Fixed dependency cycle(s) with /soc/interrupt-controller@ffd8000000
[ 3.292357] platform soc: Fixed dependency cycle(s) with /soc/interrupt-controller@ffd8000000
[ 3.306953] HugeTLB: registered 2.00 MiB page size, pre-allocated 0 pages
[ 3.313896] HugeTLB: 28 KiB vmemmap can be freed for a 2.00 MiB page
[ 3.321627] ACPI: Interpreter disabled.
[ 3.325888] iommu: Default domain type: Translated
[ 3.330786] iommu: DMA domain TLB invalidation policy: strict mode
[ 3.337932] SCSI subsystem initialized
[ 3.342418] usbcore: registered new interface driver usbfs
[ 3.348086] usbcore: registered new interface driver hub
[ 3.353570] usbcore: registered new device driver usb
[ 3.359383] Advanced Linux Sound Architecture Driver Initialized.
[ 3.367232] clocksource: Switched to clocksource riscv_clocksource
[ 3.374455] pnp: PnP ACPI: disabled
[ 3.394861] NET: Registered PF_INET protocol family
[ 3.400217] IP idents hash table entries: 65536 (order: 7, 524288 bytes, linear)
[ 3.415376] tcp_listen_portaddr_hash hash table entries: 2048 (order: 4, 65536 bytes, linear)
[ 3.424130] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[ 3.432098] TCP established hash table entries: 32768 (order: 6, 262144 bytes, linear)
[ 3.440345] TCP bind hash table entries: 32768 (order: 9, 2097152 bytes, linear)
[ 3.451106] TCP: Hash tables configured (established 32768 bind 32768)
[ 3.457913] UDP hash table entries: 2048 (order: 5, 196608 bytes, linear)
[ 3.465103] UDP-Lite hash table entries: 2048 (order: 5, 196608 bytes, linear)
[ 3.472954] NET: Registered PF_UNIX/PF_LOCAL protocol family
[ 3.479809] RPC: Registered named UNIX socket transport module.
[ 3.485894] RPC: Registered udp transport module.
[ 3.490698] RPC: Registered tcp transport module.
[ 3.495497] RPC: Registered tcp-with-tls transport module.
[ 3.501076] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 3.509788] workingset: timestamp_bits=46 max_order=20 bucket_order=0
[ 3.517506] NFS: Registering the id_resolver key type
[ 3.522793] Key type id_resolver registered
[ 3.527072] Key type id_legacy registered
[ 3.531287] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[ 3.538076] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[ 3.546023] 9p: Installing v9fs 9p2000 file system support
[ 3.552057] NET: Registered PF_ALG protocol family
[ 3.557036] Key type asymmetric registered
[ 3.561196] Asymmetric key parser 'x509' registered
[ 3.566164] Asymmetric key parser 'pkcs8' registered
[ 3.571339] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 245)
[ 3.579162] io scheduler mq-deadline registered
[ 3.583814] io scheduler kyber registered
[ 3.587971] io scheduler bfq registered
[ 3.593529] riscv-plic ffd8000000.interrupt-controller: mapped 240 interrupts with 4 handlers for 8 contexts.
[ 3.615440] SBI CPPC extension NOT detected!!
[ 3.621742] dw_axi_dmac_platform ffefc00000.dma-controller: DesignWare AXI DMA Controller, 4 channels
[ 3.734687] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[ 3.745416] printk: legacy console [ttyS0] disabled
[ 3.751073] ffe7014000.serial: ttyS0 at MMIO 0xffe7014000 (irq = 19, base_baud = 6250000) is a 16550A
[ 3.760546] printk: legacy console [ttyS0] enabled
[ 3.760546] printk: legacy console [ttyS0] enabled
[ 3.770240] printk: legacy bootconsole [uart0] disabled
[ 3.770240] printk: legacy bootconsole [uart0] disabled
[ 3.781693] SuperH (H)SCI(F) driver initialized
[ 3.799413] loop: module loaded
[ 3.808188] usbcore: registered new interface driver uas
[ 3.813625] usbcore: registered new interface driver usb-storage
[ 3.820041] mousedev: PS/2 mouse device common for all mice
[ 3.827341] sdhci: Secure Digital Host Controller Interface driver
[ 3.833580] sdhci: Copyright(c) Pierre Ossman
[ 3.838221] Synopsys Designware Multimedia Card Interface Driver
[ 3.844610] sdhci-pltfm: SDHCI platform and OF driver helper
[ 3.850831] usbcore: registered new interface driver usbhid
[ 3.856463] usbhid: USB HID core driver
[ 3.860780] riscv-pmu-sbi: SBI PMU extension is available
[ 3.866510] riscv-pmu-sbi: 16 firmware and 18 hardware counters
[ 3.877944] NET: Registered PF_INET6 protocol family
[ 3.884629] Segment Routing with IPv6
[ 3.888483] In-situ OAM (IOAM) with IPv6
[ 3.892585] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[ 3.899701] NET: Registered PF_PACKET protocol family
[ 3.904943] 9pnet: Installing 9P2000 support
[ 3.909390] Key type dns_resolver registered
[ 3.936293] Timer migration: 1 hierarchy levels; 8 children per group; 1 crossnode level
[ 3.963038] debug_vm_pgtable: [debug_vm_pgtable ]: Validating architecture page table helpers
[ 3.973961] mmc0: SDHCI controller on ffe7080000.mmc [ffe7080000.mmc] using ADMA 64-bit
[ 3.983272] mmc1: SDHCI controller on ffe7090000.mmc [ffe7090000.mmc] using ADMA 64-bit
[ 3.992316] clk: Not disabling unused clocks
[ 3.996696] PM: genpd: Disabling unused power domains
[ 4.001814] ALSA device list:
[ 4.004832] No soundcards found.
[ 4.009160] dw-apb-uart ffe7014000.serial: forbid DMA for kernel console
[ 4.016156] Waiting for root device /dev/mmcblk0p3...
[ 4.059316] mmc0: new HS400 MMC card at address 0001
[ 4.065396] mmcblk0: mmc0:0001 TB2916 14.6 GiB
[ 4.075095] mmcblk0: p1 p2 p3
[ 4.079690] mmcblk0boot0: mmc0:0001 TB2916 4.00 MiB
[ 4.087152] mmcblk0boot1: mmc0:0001 TB2916 4.00 MiB
[ 4.094390] mmcblk0rpmb: mmc0:0001 TB2916 4.00 MiB, chardev (243:0)
[ 4.113292] EXT4-fs (mmcblk0p3): orphan cleanup on readonly fs
[ 4.119301] EXT4-fs (mmcblk0p3): mounted filesystem 6698b626-04fa-42ce-9cb1-70ddd26f123b ro with ordered data mode. Quota mode: disabled.
[ 4.131786] VFS: Mounted root (ext4 filesystem) readonly on device 179:3.
[ 4.139469] devtmpfs: mounted
[ 4.143694] Freeing unused kernel image (initmem) memory: 2252K
[ 4.149751] Run /sbin/init as init process
[ 4.290333] systemd[1]: System time before build time, advancing clock.
[ 4.330677] systemd[1]: systemd 255.4^ running in system mode (+PAM -AUDIT -SELINUX -APPARMOR +IMA -SMACK +SECCOMP -GCRYPT -GNUTLS -OPENSSL +ACL +BLKID -CURL -ELFUTILS -FIDO2 -IDN2 -IDN -IPTC +KMOD -LIBCRYPTSETUP +LIBFDISK -PCRE2 -PWQUALITY -P11KIT -QRENCODE -TPM2 -BZIP2 -LZ4 -XZ -ZLIB +ZSTD -BPF_FRAMEWORK +XKBCOMMON +UTMP +SYSVINIT default-hierarchy=unified)
[ 4.362684] systemd[1]: Detected architecture riscv64.
Welcome to KDE Embedded Linux 5.0+snapshot-7eebbdb6c45149e8bf7abbf6a9f0c8068f7668f7 (styhead)!
[ 4.393097] systemd[1]: Hostname set to <beaglev-ahead>.
[ 4.401872] systemd[1]: Initializing machine ID from random generator.
[ 4.409047] systemd[1]: Installed transient /etc/machine-id file.
[ 5.374304] systemd[1]: Queued start job for default target Multi-User System.
[ 5.408609] systemd[1]: Created slice Slice /system/getty.
[ OK ] Created slice Slice /system/getty.
[ 5.434932] systemd[1]: Created slice Slice /system/modprobe.
[ OK ] Created slice Slice /system/modprobe.
[ 5.458922] systemd[1]: Created slice Slice /system/serial-getty.
[ OK ] Created slice Slice /system/serial-getty.
[ 5.486141] systemd[1]: Created slice User and Session Slice.
[ OK ] Created slice User and Session Slice.
[ 5.508088] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
[ OK ] Started Dispatch Password Requests to Console Directory Watch.
[ 5.535973] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[ OK ] Started Forward Password Requests to Wall Directory Watch.
[ 5.559884] systemd[1]: Reached target Path Units.
[ OK ] Reached target Path Units.
[ 5.579568] systemd[1]: Reached target Remote File Systems.
[ OK ] Reached target Remote File Systems.
[ 5.603523] systemd[1]: Reached target Slice Units.
[ OK ] Reached target Slice Units.
[ 5.623644] systemd[1]: Reached target Swaps.
[ OK ] Reached target Swaps.
[ 5.650439] systemd[1]: Listening on Syslog Socket.
[ OK ] Listening on Syslog Socket.
[ 5.672211] systemd[1]: Listening on initctl Compatibility Named Pipe.
[ OK ] Listening on initctl Compatibility Named Pipe.
[ 5.697384] systemd[1]: Listening on Journal Audit Socket.
[ OK ] Listening on Journal Audit Socket.
[ 5.720569] systemd[1]: Listening on Journal Socket (/dev/log).
[ OK ] Listening on Journal Socket (/dev/log).
[ 5.744727] systemd[1]: Listening on Journal Socket.
[ OK ] Listening on Journal Socket.
[ 5.764998] systemd[1]: Listening on Network Service Netlink Socket.
[ OK ] Listening on Network Service Netlink Socket.
[ 5.794383] systemd[1]: Listening on udev Control Socket.
[ OK ] Listening on udev Control Socket.
[ 5.816516] systemd[1]: Listening on udev Kernel Socket.
[ OK ] Listening on udev Kernel Socket.
[ 5.840678] systemd[1]: Listening on User Database Manager Socket.
[ OK ] Listening on User Database Manager Socket.
[ 5.887918] systemd[1]: Mounting Huge Pages File System...
Mounting Huge Pages File System...
[ 5.935857] systemd[1]: Mounting POSIX Message Queue File System...
Mounting POSIX Message Queue File System...
[ 5.991792] systemd[1]: Mounting Kernel Debug File System...
Mounting Kernel Debug File System...
[ 6.032126] systemd[1]: Kernel Trace File System was skipped because of an unmet condition check (ConditionPathExists=/sys/kernel/tracing).
[ 6.091748] systemd[1]: Mounting Temporary Directory /tmp...
Mounting Temporary Directory /tmp...
[ 6.119852] systemd[1]: Create List of Static Device Nodes was skipped because of an unmet condition check (ConditionFileNotEmpty=/lib/modules/6.9.0-20240430/modules.devname).
[ 6.180163] systemd[1]: Starting Load Kernel Module configfs...
Starting Load Kernel Module configfs...
[ 6.236209] systemd[1]: Starting Load Kernel Module drm...
Starting Load Kernel Module drm...
[ 6.292259] systemd[1]: Starting Load Kernel Module fuse...
Starting Load Kernel Module fuse...
[ 6.348305] systemd[1]: Starting File System Check on Root Device...
Starting File System Check on Root Device...
[ 6.436250] systemd[1]: Starting Journal Service...
Starting Journal Service...
[ 6.472674] systemd[1]: Load Kernel Modules was skipped because no trigger condition checks were met.
[ 6.540466] systemd[1]: Starting Generate network units from Kernel command line...
Starting Generate network units from Kernel command line...
[ 6.620099] systemd[1]: Starting Apply Kernel Variables...
Starting Apply Kernel Variables...
[ 6.712148] systemd[1]: Starting Create Static Device Nodes in /dev gracefully...
Starting Create Static Device Nodes in /dev gracefully...
[ 6.812180] systemd[1]: Starting Coldplug All udev Devices...
Starting Coldplug All udev Devices...
[ 6.920591] systemd[1]: Mounted Huge Pages File System.
[ OK ] Mounted Huge Pages File System.
[ 6.952764] systemd[1]: Mounted POSIX Message Queue File System.
[ OK ] Mounted POSIX Message Queue File Sy[ 6.981169] systemd-journald[91]: Collecting audit messages is enabled.
stem.
[ 6.992434] systemd[1]: Mounted Kernel Debug File System.
[ OK ] Mounted Kernel Debug File System.
[ 7.028657] systemd[1]: Mounted Temporary Directory /tmp.
[ OK ] Mounted Temporary Directory /tmp.
[ 7.066262] systemd[1]: modprobe@configfs.service: Deactivated successfully.
[ 7.099547] systemd[1]: Finished Load Kernel Module configfs.
[ OK ] Finished Load Kernel Module configfs.
[ 7.138456] systemd[1]: modprobe@drm.service: Deactivated successfully.
[ 7.171543] systemd[1]: Finished Load Kernel Module drm.
[ OK ] Finished Load Kernel Module drm.
[ 7.198213] systemd[1]: modprobe@fuse.service: Deactivated successfully.
[ 7.227562] systemd[1]: Finished Load Kernel Module fuse.
[ OK ] Finished Load Kernel Module fuse.
[ 7.264410] systemd[1]: Started Journal Service.
[ OK ] Started Journal Service.
[ OK ] Finished File System Check on Root Device.
[ OK ] Finished Generate network units from Kernel command line.
[ OK ] Finished Apply Kernel Variables.
[ OK ] Finished Create Static Device Nodes in /dev gracefully.
[ OK ] Reached target Preparation for Network.
Starting Remount Root and Kernel File Systems...
[ 7.807385] EXT4-fs (mmcblk0p3): re-mounted 6698b626-04fa-42ce-9cb1-70ddd26f123b r/w. Quota mode: disabled.
[ OK ] Finished Remount Root and Kernel File Systems.
Starting Flush Journal to Persistent Storage...
Starting Create System Users...
[ 8.062064] systemd-journald[91]: Received client request to flush runtime journal.
[ OK ] Finished Flush Journal to Persistent Storage.
[ 8.219668] audit: type=1334 audit(1709054767.912:2): prog-id=6 op=LOAD
[ 8.226424] audit: type=1334 audit(1709054767.912:3): prog-id=7 op=LOAD
[ 8.233124] audit: type=1334 audit(1709054767.912:4): prog-id=8 op=LOAD
Starting User Database Manager...
[ OK ] Started User Database Manager.
[ OK ] Finished Create System Users.
Starting Create Static Device Nodes in /dev...
[ OK ] Finished Create Static Device Nodes in /dev.
[ OK ] Reached target Preparation for Local File Systems.
[ OK ] Set up automount Boot Loader Partition.
Mounting /var/volatile...
[ 9.155389] audit: type=1334 audit(1709054768.844:5): prog-id=9 op=LOAD
[ 9.162124] audit: type=1334 audit(1709054768.856:6): prog-id=10 op=LOAD
Starting Rule-based Manager for Device Events and Files...
[ OK ] Mounted /var/volatile.
Starting Load/Save OS Random Seed...
[ OK ] Reached target Local File Systems.
Starting Rebuild Dynamic Linker Cache...
Starting Create Volatile Files and Directories...
[ OK ] Finished Rebuild Dynamic Linker Cache.
[ OK ] Started Rule-based Manager for Device Events and Files.
[ 10.168172] audit: type=1334 audit(1709054769.840:7): prog-id=11 op=LOAD
Starting Network Configuration...
[ OK ] Finished Create Volatile Files and Directories.
Starting Rebuild Journal Catalog...
[ 10.594150] audit: type=1334 audit(1709054770.244:8): prog-id=12 op=LOAD
Starting Network Name Resolution...
[ 10.799413] audit: type=1334 audit(1709054770.432:9): prog-id=13 op=LOAD
Starting Network Time Synchronization...
Starting Record System Boot/Shutdown in UTMP...
[ OK ] Finished Coldplug All udev Devices.
[ OK ] Finished Rebuild Journal Catalog.
[ OK ] Finished Record System Boot/Shutdown in UTMP.
[ OK ] Started Network Configuration.
[ OK ] Started Network Name Resolution.
[ OK ] Started Network Time Synchronization.
[ OK ] Reached target Network.
[ OK ] Reached target Host and Network Name Lookups.
[ OK ] Reached target System Time Set.
Starting Update is Completed...
Starting Virtual Console Setup...
[ OK ] Finished Update is Completed.
[ OK ] Finished Virtual Console Setup.
[ OK ] Reached target System Initialization.
[ OK ] Started Daily Cleanup of Temporary Directories.
[ OK ] Reached target Timer Units.
[ OK ] Listening on D-Bus System Message Bus Socket.
[ OK ] Reached target Socket Units.
[ OK ] Reached target Basic System.
[ OK ] Started Kernel Logging Service.
[ OK ] Started System Logging Service.
Starting D-Bus System Message Bus...
[ 21.716082] audit: type=1334 audit(1709054781.388:10): prog-id=14 op=LOAD
[ 21.722989] audit: type=1334 audit(1709054781.404:11): prog-id=15 op=LOAD
[ 21.729871] audit: type=1334 audit(1709054781.408:12): prog-id=16 op=LOAD
Starting User Login Management...
Starting Permit User Sessions...
[ 22.023308] random: crng init done
[ OK ] Finished Load/Save OS Random Seed.
[ OK ] Finished Permit User Sessions.
[ OK ] Started Getty on tty1.
[ OK ] Started Serial Getty on ttyS0.
[ OK ] Reached target Login Prompts.
Starting Commit a transient machine-id on disk...
[ OK ] Started D-Bus System Message Bus.
[ OK ] Finished Commit a transient machine-id on disk.
[ OK ] Started User Login Management.
[ OK ] Reached target Multi-User System.
Starting Record Runlevel Change in UTMP...
[ OK ] Finished Record Runlevel Change in UTMP.
KDE Embedded Linux 5.0+snapshot-7eebbdb6c45149e8bf7abbf6a9f0c8068f7668f7 beaglev-ahead ttyS0
beaglev-ahead login: root
[ 26.884185] audit: type=1006 audit(1709054786.588:13): pid=204 uid=0 old-auid=4294967295 auid=0 tty=(none) old-ses=4294967295 ses=1 res=1
[ 26.896722] audit: type=1300 audit(1709054786.588:13): arch=c00000f3 syscall=64 success=yes exit=1 a0=8 a1=3ff2346ba0 a2=1 a3=0 items=0 ppid=1 pid=204 auid=0 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=1 comm="(systemd)" exe="/usr/lib/systemd/systemd-executor" key=(null)
[ 26.923172] audit: type=1327 audit(1709054786.588:13): proctitle="(systemd)"
[ 26.999302] audit: type=1334 audit(1709054786.704:14): prog-id=17 op=LOAD
[ 27.006197] audit: type=1300 audit(1709054786.704:14): arch=c00000f3 syscall=280 success=yes exit=8 a0=5 a1=3fd88eddb8 a2=90 a3=3f983f83d0 items=0 ppid=1 pid=204 auid=0 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=1 comm="systemd" exe="/usr/lib/systemd/systemd" key=(null)
[ 27.032618] audit: type=1327 audit(1709054786.704:14): proctitle="(systemd)"
[ 27.039748] audit: type=1334 audit(1709054786.704:15): prog-id=17 op=UNLOAD
[ 27.046780] audit: type=1300 audit(1709054786.704:15): arch=c00000f3 syscall=57 success=yes exit=0 a0=8 a1=3fd88ede98 a2=90 a3=3fd88edf28 items=0 ppid=1 pid=204 auid=0 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=1 comm="systemd" exe="/usr/lib/systemd/systemd" key=(null)
[ 27.073104] audit: type=1327 audit(1709054786.704:15): proctitle="(systemd)"
[ 27.080229] audit: type=1334 audit(1709054786.704:16): prog-id=18 op=LOAD
root@beaglev-ahead:~#
And here of a failure at loading Image:
U-Boot SPL 2020.01-g85565d54 (May 09 2024 - 11:42:25 +0200)
FM[1] lpddr4x singlerank freq=3733 64bit dbi_off=n sdram init
ddr initialized, jump to uboot
image has no header
U-Boot 2020.01-g85565d54 (May 09 2024 - 11:42:25 +0200)
CPU: rv64imafdcvsu
Model: T-HEAD c910 light
DRAM: 4 GiB
C910 CPU FREQ: 750MHz
AHB2_CPUSYS_HCLK FREQ: 250MHz
AHB3_CPUSYS_PCLK FREQ: 125MHz
PERISYS_AHB_HCLK FREQ: 250MHz
PERISYS_APB_PCLK FREQ: 62MHz
GMAC PLL POSTDIV FREQ: 1000MHZ
DPU0 PLL POSTDIV FREQ: 1188MHZ
DPU1 PLL POSTDIV FREQ: 1188MHZ
MMC: sdhci@ffe7080000: 0, sd@ffe7090000: 1
Loading Environment from MMC... OK
Error reading output register
Warning: cannot get lcd-en GPIO
LCD panel cannot be found : -121
splash screen startup cost 16 ms
In: serial
Out: serial
Err: serial
loading aon...
cp - memory copy
Usage:
cp [.b, .w, .l, .q] source target count
loading audio...
cp - memory copy
Usage:
cp [.b, .w, .l, .q] source target count
loading opensbi...
272128 bytes read in 3 ms (86.5 MiB/s)
bootslave..Net:
Warning: ethernet@ffe7070000 (eth0) using random MAC address - fa:ea:d6:c9:56:ae
eth0: ethernet@ffe7070000ethernet@ffe7070000:0 is connected to ethernet@ffe7070000. Reconnecting to ethernet@ffe7060000
Warning: ethernet@ffe7060000 (eth1) using random MAC address - 42:1c:ce:21:95:91
, eth1: ethernet@ffe7060000
Hit any key to stop autoboot: 0
Card did not respond to voltage select!
switch to partitions #0, OK
mmc0(part 0) is current device
Scanning mmc 0:2...
Found /extlinux/extlinux.conf
Retrieving file: /extlinux/extlinux.conf
242 bytes read in 1 ms (236.3 KiB/s)
1: Linux eMMC
Retrieving file: /Image
Or here a failure on starting init:
U-Boot SPL 2020.01-g85565d54 (May 09 2024 - 11:42:25 +0200)
FM[1] lpddr4x singlerank freq=3733 64bit dbi_off=n sdram init
ddr initialized, jump to uboot
image has no header
U-Boot 2020.01-g85565d54 (May 09 2024 - 11:42:25 +0200)
CPU: rv64imafdcvsu
Model: T-HEAD c910 light
DRAM: 4 GiB
C910 CPU FREQ: 750MHz
AHB2_CPUSYS_HCLK FREQ: 250MHz
AHB3_CPUSYS_PCLK FREQ: 125MHz
PERISYS_AHB_HCLK FREQ: 250MHz
PERISYS_APB_PCLK FREQ: 62MHz
GMAC PLL POSTDIV FREQ: 1000MHZ
DPU0 PLL POSTDIV FREQ: 1188MHZ
DPU1 PLL POSTDIV FREQ: 1188MHZ
MMC: sdhci@ffe7080000: 0, sd@ffe7090000: 1
Loading Environment from MMC... OK
Error reading output register
Warning: cannot get lcd-en GPIO
LCD panel cannot be found : -121
splash screen startup cost 16 ms
In: serial
Out: serial
Err: serial
loading aon...
cp - memory copy
Usage:
cp [.b, .w, .l, .q] source target count
loading audio...
cp - memory copy
Usage:
cp [.b, .w, .l, .q] source target count
loading opensbi...
272128 bytes read in 3 ms (86.5 MiB/s)
bootslave..Net:
Warning: ethernet@ffe7070000 (eth0) using random MAC address - a2:3e:90:89:9b:f5
eth0: ethernet@ffe7070000ethernet@ffe7070000:0 is connected to ethernet@ffe7070000. Reconnecting to ethernet@ffe7060000
Warning: ethernet@ffe7060000 (eth1) using random MAC address - 52:bc:22:02:ac:69
, eth1: ethernet@ffe7060000
Hit any key to stop autoboot: 0
Card did not respond to voltage select!
switch to partitions #0, OK
mmc0(part 0) is current device
Scanning mmc 0:2...
Found /extlinux/extlinux.conf
Retrieving file: /extlinux/extlinux.conf
242 bytes read in 1 ms (236.3 KiB/s)
1: Linux eMMC
Retrieving file: /Image
22041600 bytes read in 69 ms (304.6 MiB/s)
append: root=/dev/mmcblk0p3 ro rootfstype=ext4 rootwait console=ttyS0,115200 earlycon clk_ignore_unused net.ifnames=0
Retrieving file: /th1520-beaglev-ahead.dtb
11528 bytes read in 1 ms (11 MiB/s)
## Flattened Device Tree blob at 46000000
Booting using the fdt blob at 0x46000000
Using Device Tree in place at 0000000046000000, end 0000000046005d07
Starting kernel ...
OpenSBI v1.4-93-g17e8291
____ _____ ____ _____
/ __ \ / ____| _ \_ _|
| | | |_ __ ___ _ __ | (___ | |_) || |
| | | | '_ \ / _ \ '_ \ \___ \| _ < | |
| |__| | |_) | __/ | | |____) | |_) || |_
\____/| .__/ \___|_| |_|_____/|____/_____|
| |
|_|
Platform Name : BeagleV Ahead
Platform Features : medeleg
Platform HART Count : 4
Platform IPI Device : aclint-mswi
Platform Timer Device : aclint-mtimer @ 3000000Hz
Platform Console Device : uart8250
Platform HSM Device : ---
Platform PMU Device : thead,c900-pmu
Platform Reboot Device : ---
Platform Shutdown Device : ---
Platform Suspend Device : ---
Platform CPPC Device : ---
Firmware Base : 0x0
Firmware Size : 357 KB
Firmware RW Offset : 0x40000
Firmware RW Size : 101 KB
Firmware Heap Offset : 0x4f000
Firmware Heap Size : 41 KB (total), 2 KB (reserved), 9 KB (used), 29 KB (free)
Firmware Scratch Size : 4096 B (total), 384 B (used), 3712 B (free)
Runtime SBI Version : 2.0
Domain0 Name : root
Domain0 Boot HART : 0
Domain0 HARTs : 0*,1*,2*,3*
Domain0 Region00 : 0x000000ffe7014000-0x000000ffe7014fff M: (I,R,W) S/U: (R,W)
Domain0 Region01 : 0x000000ffdc008000-0x000000ffdc00bfff M: (I,R,W) S/U: ()
Domain0 Region02 : 0x000000ffdc000000-0x000000ffdc007fff M: (I,R,W) S/U: ()
Domain0 Region03 : 0x0000000000040000-0x000000000005ffff M: (R,W) S/U: ()
Domain0 Region04 : 0x0000000000000000-0x000000000003ffff M: (R,X) S/U: ()
Domain0 Region05 : 0x000000ffd8000000-0x000000ffd8ffffff M: (I,R,W) S/U: (R,W)
Domain0 Region06 : 0x0000000000000000-0xffffffffffffffff M: () S/U: (R,W,X)
Domain0 Next Address : 0x0000000040200000
Domain0 Next Arg1 : 0x0000000046000000
Domain0 Next Mode : S-mode
Domain0 SysReset : yes
Domain0 SysSuspend : yes
Boot HART ID : 0
Boot HART Domain : root
Boot HART Priv Version : v1.11
Boot HART Base ISA : rv64imafdcvx
Boot HART ISA Extensions : zicntr,zihpm
Boot HART PMP Count : 0
Boot HART PMP Granularity : 0 bits
Boot HART PMP Address Bits: 0
Boot HART MHPM Info : 16 (0x0007fff8)
Boot HART Debug Triggers : 0 triggers
Boot HART MIDELEG : 0x0000000000020222
Boot HART MEDELEG : 0x000000000000b109
[ 0.000000] Linux version 6.9.0-20240430 (oe-user@oe-host) (riscv64-poky-linux-gcc (GCC) 13.2.0, GNU ld (GNU Binutils) 2.42.0.20240216) #1 SMP Sat May 18 02:17:55 UTC 2024
[ 0.000000] Machine model: BeagleV Ahead
[ 0.000000] SBI specification v2.0 detected
[ 0.000000] SBI implementation ID=0x1 Version=0x10004
[ 0.000000] SBI TIME extension detected
[ 0.000000] SBI IPI extension detected
[ 0.000000] SBI RFENCE extension detected
[ 0.000000] SBI DBCN extension detected
[ 0.000000] earlycon: uart0 at MMIO32 0x000000ffe7014000 (options '115200n8')
[ 0.000000] printk: legacy bootconsole [uart0] enabled
[ 0.000000] efi: UEFI not found.
[ 0.000000] OF: reserved mem: 0x0000000000000000..0x000000000003ffff (256 KiB) nomap non-reusable mmode_resv1@0
[ 0.000000] OF: reserved mem: 0x0000000000040000..0x000000000005ffff (128 KiB) nomap non-reusable mmode_resv0@40000
[ 0.000000] Zone ranges:
[ 0.000000] DMA32 [mem 0x0000000000000000-0x00000000ffffffff]
[ 0.000000] Normal empty
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000000000000-0x000000000005ffff]
[ 0.000000] node 0: [mem 0x0000000000060000-0x00000000ffffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x00000000ffffffff]
[ 0.000000] SBI HSM extension detected
[ 0.000000] riscv: base ISA extensions acdfim
[ 0.000000] riscv: ELF capabilities acdfim
[ 0.000000] percpu: Embedded 22 pages/cpu s49592 r8192 d32328 u90112
[ 0.000000] Kernel command line: root=/dev/mmcblk0p3 ro rootfstype=ext4 rootwait console=ttyS0,115200 earlycon clk_ignore_unused net.ifnames=0
[ 0.000000] Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes, linear)
[ 0.000000] Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes, linear)
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 1032192
[ 0.000000] mem auto-init: stack:all(zero), heap alloc:off, heap free:off
[ 0.000000] Virtual kernel memory layout:
[ 0.000000] fixmap : 0xffffffc6fea00000 - 0xffffffc6ff000000 (6144 kB)
[ 0.000000] pci io : 0xffffffc6ff000000 - 0xffffffc700000000 ( 16 MB)
[ 0.000000] vmemmap : 0xffffffc700000000 - 0xffffffc800000000 (4096 MB)
[ 0.000000] vmalloc : 0xffffffc800000000 - 0xffffffd800000000 ( 64 GB)
[ 0.000000] modules : 0xffffffff01583000 - 0xffffffff80000000 (2026 MB)
[ 0.000000] lowmem : 0xffffffd800000000 - 0xffffffd900000000 (4096 MB)
[ 0.000000] kernel : 0xffffffff80000000 - 0xffffffffffffffff (2047 MB)
[ 0.000000] Memory: 4082852K/4194304K available (9557K kernel code, 4935K rwdata, 4096K rodata, 2253K init, 499K bss, 111452K reserved, 0K cma-reserved)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[ 0.000000] rcu: Hierarchical RCU implementation.
[ 0.000000] rcu: RCU restricting CPUs from NR_CPUS=64 to nr_cpu_ids=4.
[ 0.000000] rcu: RCU debug extended QS entry/exit.
[ 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] RCU Tasks Trace: Setting shift to 2 and lim to 1 rcu_task_cb_adjust=1.
[ 0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[ 0.000000] riscv-intc: 64 local interrupts mapped
[ 0.000000] riscv: providing IPIs using SBI IPI extension
[ 0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention.
[ 0.000000] clocksource: riscv_clocksource: mask: 0xffffffffffffffff max_cycles: 0x1623fa770, max_idle_ns: 881590404476 ns
[ 0.000001] sched_clock: 64 bits at 3000kHz, resolution 333ns, wraps every 4398046511097ns
[ 0.008732] Console: colour dummy device 80x25
[ 0.013382] Calibrating delay loop (skipped), value calculated using timer frequency.. 6.00 BogoMIPS (lpj=12000)
[ 0.023803] pid_max: default: 32768 minimum: 301
[ 0.028634] LSM: initializing lsm=capability
[ 0.033239] Mount-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
[ 0.040852] Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
[ 0.052368] riscv: ELF compat mode unsupported
[ 0.052541] ASID allocator using 16 bits (65536 entries)
[ 0.062753] rcu: Hierarchical SRCU implementation.
[ 0.067650] rcu: Max phase no-delay instances is 1000.
[ 0.073634] EFI services will not be available.
[ 0.078840] smp: Bringing up secondary CPUs ...
[ 1.096498] CPU1: failed to come online
[ 2.125574] CPU2: failed to come online
[ 3.154635] CPU3: failed to come online
[ 3.158594] smp: Brought up 1 node, 1 CPU
[ 3.164225] devtmpfs: initialized
[ 3.173176] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[ 3.183162] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[ 3.190478] pinctrl core: initialized pinctrl subsystem
[ 3.197329] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[ 3.204429] DMA: preallocated 512 KiB GFP_KERNEL pool for atomic allocations
[ 3.211765] DMA: preallocated 512 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[ 3.219920] audit: initializing netlink subsys (disabled)
[ 3.226152] thermal_sys: Registered thermal governor 'step_wise'
[ 3.226240] audit: type=2000 audit(3.144:1): state=initialized audit_enabled=0 res=1
[ 3.240230] cpuidle: using governor menu
[ 3.268391] cpu0: Ratio of byte access time to unaligned word access is 6.14, unaligned accesses are fast
[ 3.280527] platform soc: Fixed dependency cycle(s) with /soc/interrupt-controller@ffd8000000
[ 3.289811] platform soc: Fixed dependency cycle(s) with /soc/interrupt-controller@ffd8000000
[ 3.303604] HugeTLB: registered 2.00 MiB page size, pre-allocated 0 pages
[ 3.310530] HugeTLB: 28 KiB vmemmap can be freed for a 2.00 MiB page
[ 3.318142] ACPI: Interpreter disabled.
[ 3.322387] iommu: Default domain type: Translated
[ 3.327280] iommu: DMA domain TLB invalidation policy: strict mode
[ 3.334335] SCSI subsystem initialized
[ 3.338744] usbcore: registered new interface driver usbfs
[ 3.344408] usbcore: registered new interface driver hub
[ 3.349877] usbcore: registered new device driver usb
[ 3.355583] Advanced Linux Sound Architecture Driver Initialized.
[ 3.363288] clocksource: Switched to clocksource riscv_clocksource
[ 3.370450] pnp: PnP ACPI: disabled
[ 3.388425] NET: Registered PF_INET protocol family
[ 3.393754] IP idents hash table entries: 65536 (order: 7, 524288 bytes, linear)
[ 3.408917] tcp_listen_portaddr_hash hash table entries: 2048 (order: 4, 65536 bytes, linear)
[ 3.417705] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[ 3.425615] TCP established hash table entries: 32768 (order: 6, 262144 bytes, linear)
[ 3.433885] TCP bind hash table entries: 32768 (order: 9, 2097152 bytes, linear)
[ 3.444672] TCP: Hash tables configured (established 32768 bind 32768)
[ 3.451475] UDP hash table entries: 2048 (order: 5, 196608 bytes, linear)
[ 3.458699] UDP-Lite hash table entries: 2048 (order: 5, 196608 bytes, linear)
[ 3.466555] NET: Registered PF_UNIX/PF_LOCAL protocol family
[ 3.473283] RPC: Registered named UNIX socket transport module.
[ 3.479350] RPC: Registered udp transport module.
[ 3.484103] RPC: Registered tcp transport module.
[ 3.488873] RPC: Registered tcp-with-tls transport module.
[ 3.494470] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 3.502959] workingset: timestamp_bits=46 max_order=20 bucket_order=0
[ 3.510614] NFS: Registering the id_resolver key type
[ 3.515882] Key type id_resolver registered
[ 3.520175] Key type id_legacy registered
[ 3.524292] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[ 3.531134] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[ 3.539003] 9p: Installing v9fs 9p2000 file system support
[ 3.545005] NET: Registered PF_ALG protocol family
[ 3.549958] Key type asymmetric registered
[ 3.554162] Asymmetric key parser 'x509' registered
[ 3.559143] Asymmetric key parser 'pkcs8' registered
[ 3.564306] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 245)
[ 3.572136] io scheduler mq-deadline registered
[ 3.576820] io scheduler kyber registered
[ 3.580974] io scheduler bfq registered
[ 3.586482] riscv-plic ffd8000000.interrupt-controller: mapped 240 interrupts with 4 handlers for 8 contexts.
[ 3.607640] SBI CPPC extension NOT detected!!
[ 3.613760] dw_axi_dmac_platform ffefc00000.dma-controller: DesignWare AXI DMA Controller, 4 channels
[ 3.711686] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[ 3.722024] printk: legacy console [ttyS0] disabled
[ 3.727701] ffe7014000.serial: ttyS0 at MMIO 0xffe7014000 (irq = 19, base_baud = 6250000) is a 16550A
[ 3.737152] printk: legacy console [ttyS0] enabled
[ 3.737152] printk: legacy console [ttyS0] enabled
[ 3.746854] printk: legacy bootconsole [uart0] disabled
[ 3.746854] printk: legacy bootconsole [uart0] disabled
[ 3.758273] SuperH (H)SCI(F) driver initialized
[ 3.774218] loop: module loaded
[ 3.782231] usbcore: registered new interface driver uas
[ 3.787665] usbcore: registered new interface driver usb-storage
[ 3.794058] mousedev: PS/2 mouse device common for all mice
[ 3.801146] sdhci: Secure Digital Host Controller Interface driver
[ 3.807394] sdhci: Copyright(c) Pierre Ossman
[ 3.811991] Synopsys Designware Multimedia Card Interface Driver
[ 3.818321] sdhci-pltfm: SDHCI platform and OF driver helper
[ 3.824478] usbcore: registered new interface driver usbhid
[ 3.830112] usbhid: USB HID core driver
[ 3.834381] riscv-pmu-sbi: SBI PMU extension is available
[ 3.840107] riscv-pmu-sbi: 16 firmware and 18 hardware counters
[ 3.851217] NET: Registered PF_INET6 protocol family
[ 3.857794] Segment Routing with IPv6
[ 3.861641] In-situ OAM (IOAM) with IPv6
[ 3.865729] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[ 3.872680] NET: Registered PF_PACKET protocol family
[ 3.877920] 9pnet: Installing 9P2000 support
[ 3.882346] Key type dns_resolver registered
[ 3.908430] Timer migration: 1 hierarchy levels; 8 children per group; 1 crossnode level
[ 3.930347] debug_vm_pgtable: [debug_vm_pgtable ]: Validating architecture page table helpers
[ 3.942192] mmc0: SDHCI controller on ffe7080000.mmc [ffe7080000.mmc] using ADMA 64-bit
[ 3.950408] mmc1: SDHCI controller on ffe7090000.mmc [ffe7090000.mmc] using ADMA 64-bit
[ 3.959240] clk: Not disabling unused clocks
[ 3.963650] PM: genpd: Disabling unused power domains
[ 3.968765] ALSA device list:
[ 3.971775] No soundcards found.
[ 3.976131] dw-apb-uart ffe7014000.serial: forbid DMA for kernel console
[ 3.983136] Waiting for root device /dev/mmcblk0p3...
[ 4.027186] mmc0: new HS400 MMC card at address 0001
[ 4.033220] mmcblk0: mmc0:0001 TB2916 14.6 GiB
[ 4.042499] mmcblk0: p1 p2 p3
[ 4.046947] mmcblk0boot0: mmc0:0001 TB2916 4.00 MiB
[ 4.054162] mmcblk0boot1: mmc0:0001 TB2916 4.00 MiB
[ 4.061162] mmcblk0rpmb: mmc0:0001 TB2916 4.00 MiB, chardev (243:0)
[ 4.078914] EXT4-fs (mmcblk0p3): orphan cleanup on readonly fs
[ 4.084874] EXT4-fs (mmcblk0p3): mounted filesystem 6698b626-04fa-42ce-9cb1-70ddd26f123b ro with ordered data mode. Quota mode: disabled.
[ 4.097355] VFS: Mounted root (ext4 filesystem) readonly on device 179:3.
[ 4.104915] devtmpfs: mounted
[ 4.109115] Freeing unused kernel image (initmem) memory: 2252K
[ 4.115183] Run /sbin/init as init process
brom_ver 8
[APP][E] protocol_connect failed, exit.