SDRAM init Mem test .. pass Flash ID : 0x17 OpenSBI copy U-Boot copy Image check .. pass VGA init Configuring MDIO control (old): 0000 control (new): 0000 OpenSBI boot OpenSBI v0.8 ____ _____ ____ _____ / __ \ / ____| _ \_ _| | | | |_ __ ___ _ __ | (___ | |_) || | | | | | '_ \ / _ \ '_ \ \___ \| _ < | | | |__| | |_) | __/ | | |____) | |_) || |_ \____/| .__/ \___|_| |_|_____/|____/_____| | | |_| Platform Name : VexRiscv SMP SaxonSOC Platform Features : timer,mfdeleg Platform HART Count : 4 Boot HART ID : 1 Boot HART ISA : rv32imafds BOOT HART Features : time BOOT HART PMP Count : 0 Firmware Base : 0x80f80000 Firmware Size : 92 KB Runtime SBI Version : 0.2 MIDELEG : 0x00000222 MEDELEG : 0x0000b101 U-Boot 2020.07-08304-gd361dd3997-dirty (Sep 09 2020 - 15:55:39 +0100) DRAM: 32 MiB MMC: spi@10020000:mmc@1: 0 Loading Environment from FAT... *** Warning - bad CRC, using default environment In: serial@10010000 Out: serial@10010000 Err: serial@10010000 Net: No ethernet found. Hit any key to stop autoboot: 0 7215304 bytes read in 11271 ms (625 KiB/s) 3988 bytes read in 25 ms (155.3 KiB/s) ## Booting kernel from Legacy Image at 80000000 ... Image Name: Linux Image Type: RISC-V Linux Kernel Image (uncompressed) Data Size: 7215240 Bytes = 6.9 MiB Load Address: 80000000 Entry Point: 80000000 Verifying Checksum ... OK ## Flattened Device Tree blob at 80ff0000 Booting using the fdt blob at 0x80ff0000 Loading Kernel Image Using Device Tree in place at 80ff0000, end 80ff3f93 Starting kernel ... [ 0.000000] Linux version 5.10.1 (fernando@linux.fritz.box) (riscv32-buildroot-linux-gnu-gcc.br_real (Buildroot 2021.02.1-4-gaf4bd15ff0-dirty) 10.2.0, GNU ld (GNU Binutils) 2.35.2) #2 SMP Sat Apr 10 17:46:19 CEST 2021 [ 0.000000] earlycon: sbi0 at I/O port 0x0 (options '') [ 0.000000] printk: bootconsole [sbi0] enabled [ 0.000000] Zone ranges: [ 0.000000] Normal [mem 0x0000000080000000-0x0000000081ffffff] [ 0.000000] Movable zone start for each node [ 0.000000] Early memory node ranges [ 0.000000] node 0: [mem 0x0000000080000000-0x0000000081ffffff] [ 0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x0000000081ffffff] [ 0.000000] SBI specification v0.2 detected [ 0.000000] SBI implementation ID=0x1 Version=0x8 [ 0.000000] SBI v0.2 TIME extension detected [ 0.000000] SBI v0.2 IPI extension detected [ 0.000000] SBI v0.2 RFENCE extension detected [ 0.000000] SBI v0.2 HSM extension detected [ 0.000000] riscv: ISA extensions adfim [ 0.000000] riscv: ELF capabilities adfim [ 0.000000] percpu: Embedded 12 pages/cpu s18700 r8192 d22260 u49152 [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 8128 [ 0.000000] Kernel command line: rootwait console=hvc0 earlycon=sbi root=/dev/mmcblk0p2 init=/sbin/init mmc_core.use_spi_crc=0 [ 0.000000] Dentry cache hash table entries: 4096 (order: 2, 16384 bytes, linear) [ 0.000000] Inode-cache hash table entries: 2048 (order: 1, 8192 bytes, linear) [ 0.000000] Sorting __ex_table... [ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off [ 0.000000] Memory: 23528K/32768K available (5322K kernel code, 567K rwdata, 931K rodata, 190K init, 260K bss, 9240K reserved, 0K cma-reserved) [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1 [ 0.000000] rcu: Hierarchical RCU implementation. [ 0.000000] rcu: RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=2. [ 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=2 [ 0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0 [ 0.000000] riscv-intc: 32 local interrupts mapped [ 0.000000] plic: interrupt-controller@c00000: mapped 32 interrupts with 2 handlers for 4 contexts. [ 0.000000] random: get_random_bytes called from start_kernel+0x35c/0x4dc with crng_init=0 [ 0.000000] riscv_timer_init_dt: Registering clocksource cpuid [0] hartid [1] [ 0.000000] clocksource: riscv_clocksource: mask: 0xffffffffffffffff max_cycles: 0xbfe27ab9a, max_idle_ns: 440795203754 ns [ 0.000226] sched_clock: 64 bits at 52MHz, resolution 19ns, wraps every 4398046511097ns [ 0.010649] Console: colour dummy device 80x25 [ 0.012857] printk: console [hvc0] enabled [ 0.012857] printk: console [hvc0] enabled [ 0.021031] printk: bootconsole [sbi0] disabled [ 0.021031] printk: bootconsole [sbi0] disabled [ 0.030547] Calibrating delay loop (skipped), value calculated using timer frequency.. 104.00 BogoMIPS (lpj=208000) [ 0.040703] pid_max: default: 32768 minimum: 301 [ 0.050681] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear) [ 0.052939] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear) [ 0.101719] rcu: Hierarchical SRCU implementation. [ 0.114281] smp: Bringing up secondary CPUs ... [ 0.135985] smp: Brought up 1 node, 2 CPUs [ 0.148946] devtmpfs: initialized [ 0.211474] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns [ 0.214368] futex hash table entries: 512 (order: 3, 32768 bytes, linear) [ 0.225108] NET: Registered protocol family 16 [ 0.577430] Advanced Linux Sound Architecture Driver Initialized. [ 0.598372] clocksource: Switched to clocksource riscv_clocksource [ 0.606832] simple-framebuffer 80e00000.framebuffer: framebuffer at 0x80e00000, 0x96000 bytes, mapped to 0x(ptrval) [ 0.609767] simple-framebuffer 80e00000.framebuffer: format=r5g6b5, mode=640x480x16, linelength=1280 [ 0.713242] Console: switching to colour frame buffer device 80x30 [ 0.800318] simple-framebuffer 80e00000.framebuffer: fb0: simplefb registered! [ 1.112062] NET: Registered protocol family 2 [ 1.129350] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear) [ 1.132744] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear) [ 1.135950] TCP bind hash table entries: 1024 (order: 1, 8192 bytes, linear) [ 1.143127] TCP: Hash tables configured (established 1024 bind 1024) [ 1.151257] UDP hash table entries: 256 (order: 1, 8192 bytes, linear) [ 1.155949] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear) [ 1.167268] NET: Registered protocol family 1 [ 1.184905] RPC: Registered named UNIX socket transport module. [ 1.187391] RPC: Registered udp transport module. [ 1.188873] RPC: Registered tcp transport module. [ 1.190932] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 1.224863] workingset: timestamp_bits=30 max_order=13 bucket_order=0 [ 1.530741] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253) [ 1.532787] io scheduler mq-deadline registered [ 1.534735] io scheduler kyber registered [ 1.540750] io scheduler bfq registered [ 1.554983] spinal_lib_gpio 10000000.gpio: Probe success [ 1.578500] spinal,lib-dmasg 10080000.dma: Probe success [ 1.625243] 10011000.ttySpinal: ttySL0 at MMIO 0x10011000 (irq = 0, base_baud = 650000) is a Spinal lib UART [ 1.673169] spi-nor spi0.0: w25q128 (16384 Kbytes) [ 1.688082] 3 fixed-partitions partitions found on MTD device spi0.0 [ 1.690960] Creating 3 MTD partitions on "spi0.0": [ 1.692724] 0x000000000000-0x000000400000 : "fpga_bitstream" [ 1.707771] 0x000000340000-0x000000380000 : "opensbi" [ 1.720774] 0x000000380000-0x000000400000 : "uboot" [ 1.749831] ------------[ cut here ]------------ [ 1.752011] /apbA@10000000/spi@20000/spidev@2: buggy DT: spidev listed directly in DT [ 1.766771] spinal-lib,spi-1.0 10020000.spi: base (ptrval) [ 1.795985] libphy: Fixed MDIO Bus: probed [ 1.800834] enc28j60 spi0.3: Ethernet driver 1.02 loaded [ 1.819241] enc28j60 spi0.3: chip not found [ 1.821127] enc28j60: probe of spi0.3 failed with error -5 [ 1.843726] spinal_lib_mac 10040000.mac eth0: irq 3, mapped at a0407000 [ 1.852430] i2c /dev entries driver [ 1.896161] mmc_spi spi0.1: SD/MMC host mmc0, no WP, no poweroff, cd polling [ 1.919172] ledtrig-cpu: registered to indicate activity on CPUs [ 1.965054] mmc0: host does not support reading read-only switch, assuming write-enable [ 1.968285] mmc0: new SDHC card on SPI [ 1.976373] spinal,lib-audio-out 10094000.audio_out: Probe success [ 1.986957] mmcblk0: mmc0:0000 SA32G 28.9 GiB [ 2.027674] NET: Registered protocol family 10 [ 2.035322] mmcblk0: p1 p2 [ 2.063827] Segment Routing with IPv6 [ 2.067842] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver [ 2.090740] NET: Registered protocol family 17 [ 2.104410] i2c-gpio i2cA: using lines 504 (SDA) and 505 (SCL) [ 2.112972] ALSA device list: [ 2.114785] #0: [ 2.220713] VFS: Mounted root (ext2 filesystem) readonly on device 179:2. [ 2.264695] devtmpfs: mounted [ 2.269774] Freeing unused kernel memory: 188K [ 2.271747] Kernel memory protection not selected by kernel config. [ 2.273774] Run /sbin/init as init process [ 10.113085] EXT2-fs (mmcblk0p2): warning: mounting unchecked fs, running e2fsck is recommended Starting syslogd: OK Starting klogd: OK Running sysctl: OK Initializing random number generator: OK Saving random seed: [ 13.688432] random: dd: uninitialized urandom read (512 bytes read) OK Starting haveged: haveged: command socket is listening at fd 3 OK Starting network: udhcpc: started, v1.33.0 udhcpc: sending discover udhcpc: sending discover udhcpc: sending discover udhcpc: no lease, failing FAIL Starting dropbear sshd: OK Welcome to Buildroot buildroot login: root ___ ___ ___ ___ o O O / __| __ _ __ __ ___ _ _ ___ / __| / _ \ / __| o \__ \ / _` | \ \ / / _ \ | ' \ |___| \__ \ | (_) | | (__ TS__[O] |___/ \__,_| /_\_\ \___/ |_||_| _____ |___/ \___/ \___| {======|_|"""""|_|"""""|_|"""""|_|"""""|_|"""""|_| |_|"""""|_|"""""|_|"""""| ./o--000'"`-0-0-'"`-0-0-'"`-0-0-'"`-0-0-'"`-0-0-'"`-0-0-'"`-0-0-'"`-0-0-'"`-0-0-' root@buildroot:~# cat /proc/cpuinfo processor : 0 hart : 1 isa : rv32imafd mmu : sv32 processor : 1 hart : 0 isa : rv32imafd mmu : sv32 root@buildroot:~# csi CHICKEN (c) 2008-2021, The CHICKEN Team (c) 2000-2007, Felix L. Winkelmann Version 5.2.1 (rev ea32b1d0) linux-unix-gnu-riscv [ 32bit dload ptables ] Type ,? for help. #;1> ,r Features: 32bit chicken chicken-5 chicken-5.2 csi dload full-numeric-tower gnu linux little-endian ptables riscv srfi-0 srfi-11 srfi-12 srfi-15 srfi-16 srfi-17 srfi-2 srfi-23 srfi-26 srfi-28 srfi-30 srfi-31 srfi-39 srfi-46 srfi-55 srfi-6 srfi-6 srfi-61 srfi-62 srfi-8 srfi-87 srfi-88 srfi-9 unix Machine type: riscv (32-bit) Software type: unix Software version: linux Build platform: gnu Installation prefix: /usr Extension installation location: /usr/lib/chicken/11 Extension path: (/usr/lib/chicken/11) Include path: (/usr/share/chicken) Keyword style: suffix Symbol-table load: 0.8 Avg bucket length: 1.44 Total symbol count: 2416 Memory: heap size is 786432 bytes with 193760 bytes currently in use nursery size is 262144 bytes, stack grows downward Command line: ("csi") interrupts are enabled #;1> (print "Hello RISC-V!") Hello RISC-V! #;2> ,q root@buildroot:~#