Skip to content

Instantly share code, notes, and snippets.

@pdp7
Last active July 22, 2023 21:25
Show Gist options
  • Save pdp7/91b98f5b8a632802e669d8c359f4f498 to your computer and use it in GitHub Desktop.
Save pdp7/91b98f5b8a632802e669d8c359f4f498 to your computer and use it in GitHub Desktop.
BeagleV Ahead bootlog
brom_ver 7
[APP][E] protocol_connect failed, exit.
U-Boot SPL 2020.01-gf55cb6958d7f (Jul 22 2023 - 13:39:40 -0700)
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-gf55cb6958d7f (Jul 22 2023 - 13:39:40 -0700)
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
Net:
Warning: ethernet@ffe7070000 (eth0) using random MAC address - fe:5f:11:41:3f:7d
eth0: ethernet@ffe7070000ethernet@ffe7070000:0 is connected to ethernet@ffe7070000. Reconnecting to ethernet@ffe7060000
Warning: ethernet@ffe7060000 (eth1) using random MAC address - aa:81:92:49:7e:53
, eth1: ethernet@ffe7060000
Hit any key to stop autoboot: 2  1  0
50340 bytes read in 1 ms (48 MiB/s)
15748 bytes read in 2 ms (7.5 MiB/s)
269440 bytes read in 2 ms (128.5 MiB/s)
switch to partitions #0, OK
mmc0(part 0) is current device
Scanning mmc 0:2...
Found /extlinux/extlinux.conf
Retrieving file: /extlinux/extlinux.conf
178 bytes read in 1 ms (173.8 KiB/s)
1: Linux eMMC
Retrieving file: /Image
49435648 bytes read in 146 ms (322.9 MiB/s)
append: root=/dev/ram0 ro console=ttyS0,115200 earlycon clk_ignore_unused net.ifnames=0
Retrieving file: /light-beagle.dtb
8361 bytes read in 1 ms (8 MiB/s)
## Flattened Device Tree blob at 46000000
Booting using the fdt blob at 0x46000000
Using Device Tree in place at 0000000046000000, end 00000000460050a8
Starting kernel ...
OpenSBI v1.3-31-g0ad866067d78
____ _____ ____ _____
/ __ \ / ____| _ \_ _|
| | | |_ __ ___ _ __ | (___ | |_) || |
| | | | '_ \ / _ \ '_ \ \___ \| _ < | |
| |__| | |_) | __/ | | |____) | |_) || |_
\____/| .__/ \___|_| |_|_____/|____/_____|
| |
|_|
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 : ---
Platform Reboot Device : ---
Platform Shutdown Device : ---
Platform Suspend Device : ---
Platform CPPC Device : ---
Firmware Base : 0x0
Firmware Size : 352 KB
Firmware RW Offset : 0x40000
Firmware RW Size : 96 KB
Firmware Heap Offset : 0x4e000
Firmware Heap Size : 40 KB (total), 2 KB (reserved), 9 KB (used), 28 KB (free)
Firmware Scratch Size : 4096 B (total), 760 B (used), 3336 B (free)
Runtime SBI Version : 1.0
Domain0 Name : root
Domain0 Boot HART : 0
Domain0 HARTs : 0*,1*,2*,3*
Domain0 Region00 : 0x000000ffdc008000-0x000000ffdc00bfff M: (I,R,W) S/U: ()
Domain0 Region01 : 0x000000ffdc000000-0x000000ffdc007fff M: (I,R,W) S/U: ()
Domain0 Region02 : 0x0000000000040000-0x000000000005ffff M: (R,W) S/U: ()
Domain0 Region03 : 0x0000000000000000-0x000000000003ffff M: (R,X) S/U: ()
Domain0 Region04 : 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
Boot HART PMP Address Bits: 0
Boot HART MHPM Count : 16
Boot HART MIDELEG : 0x0000000000000222
Boot HART MEDELEG : 0x000000000000b109
[ 0.000000] Linux version 6.5.0-rc2-r1713-00342-gc953c11d73b5 (pdp7@x1) (riscv64-linux-gnu-gcc (Ubuntu 12.1.0-2ubuntu1~22.04) 12.1.0, GNU ld (GNU Binutils for Ubuntu) 2.38) #17 SMP Sat Jul 22 14:11:04 PDT 2023
[ 0.000000] Machine model: BeagleV Ahead
[ 0.000000] SBI specification v1.0 detected
[ 0.000000] SBI implementation ID=0x1 Version=0x10003
[ 0.000000] SBI TIME extension detected
[ 0.000000] SBI IPI extension detected
[ 0.000000] SBI RFENCE extension detected
[ 0.000000] earlycon: uart0 at MMIO32 0x000000ffe7014000 (options '115200n8')
[ 0.000000] printk: 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 19 pages/cpu s40888 r8192 d28744 u77824
[ 0.000000] pcpu-alloc: s40888 r8192 d28744 u77824 alloc=19*4096
[ 0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
[ 0.000000] Kernel command line: root=/dev/ram0 ro 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:off, 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 : 0xffffffff02f9f000 - 0xffffffff80000000 (2000 MB)
[ 0.000000] lowmem : 0xffffffd800000000 - 0xffffffd900000000 (4096 MB)
[ 0.000000] kernel : 0xffffffff80000000 - 0xffffffffffffffff (2047 MB)
[ 0.000000] Memory: 4056180K/4194304K available (9100K kernel code, 4700K rwdata, 4096K rodata, 29240K init, 482K bss, 138124K 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] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[ 0.000000] riscv-intc: 64 local interrupts mapped
[ 0.000000] plic: interrupt-controller@ffd8000000: mapped 240 interrupts with 4 handlers for 8 contexts.
[ 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.008716] Console: colour dummy device 80x25
[ 0.013331] Calibrating delay loop (skipped), value calculated using timer frequency.. 6.00 BogoMIPS (lpj=12000)
[ 0.023711] pid_max: default: 32768 minimum: 301
[ 0.028561] LSM: initializing lsm=capability,integrity
[ 0.033944] Mount-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
[ 0.041534] Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
[ 0.052543] RCU Tasks Trace: Setting shift to 2 and lim to 1 rcu_task_cb_adjust=1.
[ 0.060392] riscv: ELF compat mode unsupported
[ 0.060456] ASID allocator using 16 bits (65536 entries)
[ 0.070696] rcu: Hierarchical SRCU implementation.
[ 0.075724] rcu: Max phase no-delay instances is 1000.
[ 0.082112] EFI services will not be available.
[ 0.087259] smp: Bringing up secondary CPUs ...
[ 1.097609] CPU1: failed to come online
[ 2.123441] CPU2: failed to come online
[ 3.149174] CPU3: failed to come online
[ 3.153256] smp: Brought up 1 node, 1 CPU
[ 3.159235] devtmpfs: initialized
[ 3.167375] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[ 3.177329] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[ 3.184659] pinctrl core: initialized pinctrl subsystem
[ 3.191597] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[ 3.198717] DMA: preallocated 512 KiB GFP_KERNEL pool for atomic allocations
[ 3.206017] DMA: preallocated 512 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[ 3.214135] audit: initializing netlink subsys (disabled)
[ 3.220432] thermal_sys: Registered thermal governor 'step_wise'
[ 3.220522] cpuidle: using governor menu
[ 3.231172] audit: type=2000 audit(3.148:1): state=initialized audit_enabled=0 res=1
[ 3.240977] platform soc: Fixed dependency cycle(s) with /soc/interrupt-controller@ffd8000000
[ 3.253657] HugeTLB: registered 2.00 MiB page size, pre-allocated 0 pages
[ 3.260632] HugeTLB: 28 KiB vmemmap can be freed for a 2.00 MiB page
[ 3.267893] ACPI: Interpreter disabled.
[ 3.272208] iommu: Default domain type: Translated
[ 3.277191] iommu: DMA domain TLB invalidation policy: strict mode
[ 3.284181] SCSI subsystem initialized
[ 3.288304] libata version 3.00 loaded.
[ 3.292523] usbcore: registered new interface driver usbfs
[ 3.298160] usbcore: registered new interface driver hub
[ 3.303659] usbcore: registered new device driver usb
[ 3.310473] vgaarb: loaded
[ 3.313691] clocksource: Switched to clocksource riscv_clocksource
[ 3.320675] pnp: PnP ACPI: disabled
[ 3.339806] NET: Registered PF_INET protocol family
[ 3.345328] IP idents hash table entries: 65536 (order: 7, 524288 bytes, linear)
[ 3.360593] tcp_listen_portaddr_hash hash table entries: 2048 (order: 4, 65536 bytes, linear)
[ 3.369683] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[ 3.377650] TCP established hash table entries: 32768 (order: 6, 262144 bytes, linear)
[ 3.385936] TCP bind hash table entries: 32768 (order: 9, 2097152 bytes, linear)
[ 3.396879] TCP: Hash tables configured (established 32768 bind 32768)
[ 3.403793] UDP hash table entries: 2048 (order: 5, 196608 bytes, linear)
[ 3.411103] UDP-Lite hash table entries: 2048 (order: 5, 196608 bytes, linear)
[ 3.419041] NET: Registered PF_UNIX/PF_LOCAL protocol family
[ 3.425748] RPC: Registered named UNIX socket transport module.
[ 3.431831] RPC: Registered udp transport module.
[ 3.436673] RPC: Registered tcp transport module.
[ 3.441492] RPC: Registered tcp-with-tls transport module.
[ 3.447106] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 3.453723] PCI: CLS 0 bytes, default 64
[ 3.497860] workingset: timestamp_bits=46 max_order=20 bucket_order=0
[ 3.513954] NFS: Registering the id_resolver key type
[ 3.519177] Key type id_resolver registered
[ 3.523495] Key type id_legacy registered
[ 3.527810] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[ 3.534963] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[ 3.569990] 9p: Installing v9fs 9p2000 file system support
[ 3.576140] NET: Registered PF_ALG protocol family
[ 3.581125] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246)
[ 3.589007] io scheduler mq-deadline registered
[ 3.593820] io scheduler kyber registered
[ 3.598109] io scheduler bfq registered
[ 3.756787] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[ 3.767310] printk: console [ttyS0] disabled
[ 3.772450] ffe7014000.serial: ttyS0 at MMIO 0xffe7014000 (irq = 12, base_baud = 6250000) is a 16550A
[ 3.781988] printk: console [ttyS0] enabled
[ 3.781988] printk: console [ttyS0] enabled
[ 3.790433] printk: bootconsole [uart0] disabled
[ 3.790433] printk: bootconsole [uart0] disabled
[ 3.800595] SuperH (H)SCI(F) driver initialized
[ 3.820403] brd: module loaded
[ 3.835084] loop: module loaded
[ 3.841432] e1000e: Intel(R) PRO/1000 Network Driver
[ 3.846450] e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
[ 3.853718] usbcore: registered new interface driver uas
[ 3.859123] usbcore: registered new interface driver usb-storage
[ 3.865509] mousedev: PS/2 mouse device common for all mice
[ 3.872258] sdhci: Secure Digital Host Controller Interface driver
[ 3.878483] sdhci: Copyright(c) Pierre Ossman
[ 3.883033] Synopsys Designware Multimedia Card Interface Driver
[ 3.889644] sdhci-pltfm: SDHCI platform and OF driver helper
[ 3.895903] usbcore: registered new interface driver usbhid
[ 3.901512] usbhid: USB HID core driver
[ 3.905698] riscv-pmu-sbi: SBI PMU extension is available
[ 3.911179] riscv-pmu-sbi: 16 firmware and 18 hardware counters
[ 3.918125] NET: Registered PF_INET6 protocol family
[ 3.924581] Segment Routing with IPv6
[ 3.928404] In-situ OAM (IOAM) with IPv6
[ 3.932487] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[ 3.939408] NET: Registered PF_PACKET protocol family
[ 3.944650] 9pnet: Installing 9P2000 support
[ 3.949091] Key type dns_resolver registered
[ 3.953514] start plist test
[ 3.963586] end plist test
[ 3.998817] debug_vm_pgtable: [debug_vm_pgtable ]: Validating architecture page table helpers
[ 4.009581] clk: Not disabling unused clocks
[ 4.014798] dw-apb-uart ffe7014000.serial: forbid DMA for kernel console
[ 4.037487] Freeing unused kernel image (initmem) memory: 29240K
[ 4.043600] Run /init as init process
[ 4.047297] with arguments:
[ 4.050293] /init
[ 4.052579] with environment:
[ 4.055744] HOME=/
[ 4.058126] TERM=linux
Starting syslogd: OK
Starting klogd: OK
Running sysctl: OK
Saving 256 bits of non-creditable seed for next boot
Starting network: Waiting for interface eth0 to appear............... timeout!
run-parts: /etc/network/if-pre-up.d/wait_iface: exit status 1
FAIL
Welcome to Buildroot
buildroot login: root
# uname -a
Linux buildroot 6.5.0-rc2-r1713-00342-gc953c11d73b5 #17 SMP Sat Jul 22 14:11:04 PDT 2023 riscv64 GNU/Linux
# cat /sys/firmware/devicetree/base/model
BeagleV Ahead
# cat /proc/cpuinfo
processor : 0
hart : 0
isa : rv64imafdc_zicntr_zicsr_zifencei_zihpm
mmu : sv39
uarch : thead,c910
mvendorid : 0x5b7
marchid : 0x0
mimpid : 0x0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment