Boot error message on VC707 without any other FMC hardware

I was able to boot Linux from the SDK on just a VC707 with no other hardware.
This is the boot message.

Is there error while booting expected or is something wrong? Thanks.

Dinesh

INIT
CMD0
CMD8
ACMD41
CMD58
CMD16
CMD18
LOADING
BOOT
bbl loader

            SIFIVE, INC.

     5555555555555555555555555
    5555                   5555
   5555                     5555
  5555                       5555
 5555       5555555555555555555555
5555       555555555555555555555555

5555 5555
5555 5555
5555 5555
5555555555555555555555555555 55555
55555 555555555 55555
55555 55555 55555
55555 5 55555
55555 55555
55555 55555
55555 55555
55555 55555
55555 55555
555555555
55555
5

       SiFive RISC-V Core IP

[ 0.000000] OF: fdt: Ignoring memory range 0x80000000 - 0x80200000
[ 0.000000] Linux version 4.15.0-00048-gfe92d79 (risecreek@risecreek-OptiPlex-7450-AIO) (gcc version 7.2.0 (GCC)) #1 SMP Wed Dec 12 13:15:16 IST 2018
[ 0.000000] bootconsole [early0] enabled
[ 0.000000] Initial ramdisk at: 0x (ptrval) (9435648 bytes)
[ 0.000000] Zone ranges:
[ 0.000000] DMA32 [mem 0x0000000080200000-0x00000000bfffffff]
[ 0.000000] Normal [mem 0x00000000c0000000-0x00000bffffffffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000080200000-0x00000000bfffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000080200000-0x00000000bfffffff]
[ 0.000000] software IO TLB [mem 0xbb1fb000-0xbf1fb000] (64MB) mapped at [ (ptrval)- (ptrval)]
[ 0.000000] elf_hwcap is 0x112d
[ 0.000000] percpu: Embedded 14 pages/cpu @ (ptrval) s28632 r0 d28712 u57344
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 258055
[ 0.000000] Kernel command line: earlyprintk
[ 0.000000] Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes)
[ 0.000000] Inode-cache hash table entries: 65536 (order: 7, 524288 bytes)
[ 0.000000] Sorting __ex_table…
[ 0.000000] Memory: 950156K/1046528K available (3073K kernel code, 212K rwdata, 836K rodata, 9375K init, 780K bss, 96372K reserved, 0K cma-reserved)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[ 0.000000] Hierarchical RCU implementation.
[ 0.000000] RCU event tracing is enabled.
[ 0.000000] RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=4.
[ 0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
[ 0.000000] NR_IRQS: 0, nr_irqs: 0, preallocated irqs: 0
[ 0.000000] riscv,cpu_intc,0: 64 local interrupts mapped
[ 0.000000] riscv,cpu_intc,1: 64 local interrupts mapped
[ 0.000000] riscv,cpu_intc,2: 64 local interrupts mapped
[ 0.000000] riscv,cpu_intc,3: 64 local interrupts mapped
[ 0.000000] ------------[ cut here ]------------
[ 0.000000] WARNING: CPU: 3 PID: 0 at /home/dt/f/freedom-u-sdk/linux/drivers/irqchip/irq-riscv-intc.c:167 riscv_irq_enable+0x92/0x94
[ 0.000000] CPU: 3 PID: 0 Comm: swapper/3 Not tainted 4.15.0-00048-gfe92d79 #1
[ 0.000000] Call Trace:
[ 0.000000] [< (ptrval)>] walk_stackframe+0x0/0xa2
[ 0.000000] [< (ptrval)>] show_stack+0x26/0x34
[ 0.000000] [< (ptrval)>] dump_stack+0x5e/0x7c
[ 0.000000] [< (ptrval)>] __warn+0xc6/0xdc
[ 0.000000] [< (ptrval)>] warn_slowpath_null+0x2c/0x3e
[ 0.000000] [< (ptrval)>] riscv_irq_enable+0x8e/0x94
[ 0.000000] [< (ptrval)>] irq_enable+0x3a/0x6a
[ 0.000000] [< (ptrval)>] __irq_startup+0x80/0x88
[ 0.000000] [< (ptrval)>] irq_startup+0x4e/0xe2
[ 0.000000] [< (ptrval)>] irq_activate_and_startup+0x1c/0x28
[ 0.000000] [< (ptrval)>] __irq_do_set_handler+0x6e/0x134
[ 0.000000] [< (ptrval)>] irq_set_chained_handler_and_data+0x2c/0x4a
[ 0.000000] [< (ptrval)>] plic_init+0x1ea/0x316
[ 0.000000] [< (ptrval)>] of_irq_init+0x136/0x252
[ 0.000000] [< (ptrval)>] irqchip_init+0x10/0x1c
[ 0.000000] [< (ptrval)>] init_IRQ+0x8/0x14
[ 0.000000] [< (ptrval)>] start_kernel+0x20a/0x350
[ 0.000000] [< (ptrval)>] _sinittext+0x4e/0x56
[ 0.000000] random: get_random_bytes called from print_oops_end_marker+0x3a/0x52 with crng_init=0
[ 0.000000] —[ end trace 66814e3a8c80ec10 ]—
[ 0.000000] riscv,plic0,c000000: mapped 6 interrupts to 4/8 handlers
[ 0.000000] clocksource: riscv_clocksource: mask: 0xffffffffffffffff max_cycles: 0x1d854df40, max_idle_ns: 3526361616960 ns
[ 0.000135] sched_clock: 64 bits at 1000kHz, resolution 1000ns, wraps every 2199023255500ns
[ 0.009328] Calibrating delay loop (skipped), value calculated using timer frequency… 2.00 BogoMIPS (lpj=10000)
[ 0.019449] pid_max: default: 32768 minimum: 301
[ 0.026722] Mount-cache hash table entries: 2048 (order: 2, 16384 bytes)
[ 0.033801] Mountpoint-cache hash table entries: 2048 (order: 2, 16384 bytes)
[ 0.067369] Hierarchical SRCU implementation.
[ 0.084976] smp: Bringing up secondary CPUs …
[ 0.099397] clocksource: riscv_clocksource: mask: 0xffffffffffffffff max_cycles: 0x1d854df40, max_idle_ns: 3526361616960 ns
[ 0.110187] sched_clock: 64 bits at 1000kHz, resolution 1000ns, wraps every 2199023255500ns
[ 0.132326] clocksource: riscv_clocksource: mask: 0xffffffffffffffff max_cycles: 0x1d854df40, max_idle_ns: 3526361616960 ns
[ 0.143103] sched_clock: 64 bits at 1000kHz, resolution 1000ns, wraps every 2199023255500ns
[ 0.164964] clocksource: riscv_clocksource: mask: 0xffffffffffffffff max_cycles: 0x1d854df40, max_idle_ns: 3526361616960 ns
[ 0.175748] sched_clock: 64 bits at 1000kHz, resolution 1000ns, wraps every 2199023255500ns
[ 0.186559] smp: Brought up 1 node, 4 CPUs
[ 0.201084] devtmpfs: initialized
[ 0.237592] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.247529] futex hash table entries: 1024 (order: 4, 65536 bytes)
[ 0.265728] NET: Registered protocol family 16
[ 0.394378] vgaarb: loaded
[ 0.401740] SCSI subsystem initialized
[ 0.412849] usbcore: registered new interface driver usbfs
[ 0.419277] usbcore: registered new interface driver hub
[ 0.425601] usbcore: registered new device driver usb
[ 0.432962] pps_core: LinuxPPS API ver. 1 registered
[ 0.437390] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti giometti@linux.it
[ 0.447640] PTP clock support registered
[ 0.463140] clocksource: Switched to clocksource riscv_clocksource
[ 0.498380] NET: Registered protocol family 2
[ 0.514708] TCP established hash table entries: 8192 (order: 4, 65536 bytes)
[ 0.525360] TCP bind hash table entries: 8192 (order: 5, 131072 bytes)
[ 0.536690] TCP: Hash tables configured (established 8192 bind 8192)
[ 0.547558] UDP hash table entries: 512 (order: 2, 16384 bytes)
[ 0.554168] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[ 0.564632] NET: Registered protocol family 1
[ 2.108439] Unpacking initramfs…
[ 3.778958] Initialise system trusted keyrings
[ 3.785618] workingset: timestamp_bits=62 max_order=18 bucket_order=0
[ 3.935130] random: fast init done
[ 4.001815] Key type asymmetric registered
[ 4.005870] Asymmetric key parser ‘x509’ registered
[ 4.010457] io scheduler noop registered
[ 4.019459] io scheduler cfq registered (default)
[ 4.023993] io scheduler mq-deadline registered
[ 4.028145] io scheduler kyber registered
[ 4.049931] sifive_gpio 64002000.gpio: SiFive GPIO chip registered 4 GPIOs
[ 5.201599] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[ 5.228354] 64000000.serial: ttySI0 at MMIO 0x64000000 (irq = 1, base_baud = 0) is a sifive-serial
[ 5.237473] console [ttySI0] enabled
[ 5.237473] console [ttySI0] enabled
[ 5.244320] bootconsole [early0] disabled
[ 5.244320] bootconsole [early0] disabled
[ 5.284945] sifive_spi 64001000.spi: mapped; irq=2, cs=1
[ 5.301479] libphy: Fixed MDIO Bus: probed
[ 5.310194] ehci_hcd: USB 2.0 ‘Enhanced’ Host Controller (EHCI) Driver
[ 5.316500] ehci-pci: EHCI PCI platform driver
[ 5.323350] usbcore: registered new interface driver usb-storage
[ 5.393304] mmc_spi spi0.0: SD/MMC host mmc0, no DMA, no WP, no poweroff, cd polling
[ 5.405339] usbcore: registered new interface driver usbhid
[ 5.410343] usbhid: USB HID core driver
[ 5.420526] NET: Registered protocol family 17
[ 5.437136] Loading compiled-in X.509 certificates
[ 5.559116] mmc0: host does not support reading read-only switch, assuming write-enable
[ 5.567073] mmc0: new SDHC card on SPI
[ 5.577105] mmcblk0: mmc0:0000 SS08G 7.40 GiB
[ 5.742856] Freeing unused kernel memory: 9372K
[ 5.746835] This architecture does not have kernel memory protection.
Starting logging: OK
Starting mdev…
sort: /sys/devices/platform/Fixed: No such file or directory
modprobe: can’t change directory to ‘/lib/modules’: No such file or directory
Initializing random number generator… done.
Starting network…
Waiting for interface eth0 to appear… timeout!
run-parts: /etc/network/if-pre-up.d/wait_iface: exit status 1
Starting dropbear sshd: OK

Welcome to Buildroot
buildroot login:

Looks like it worked to me. If you are worried about the stack trace, don’t. It’s a bug in the OF layer of Linux 4.15 that just means you end up missing a few optional files in /sys.

Yes. I was worried about the stack trace. Thanks for the explanation. Thank you Wesley.