It boots!
lowRISC boot program ===================================== Load boot into memory Load 11660 bytes to memory. Read boot and load elf to DDR memory Boot the loaded program... [ 0.000000] Linux version 3.14.41-g9a25e8d (rjones@moo.home.annexia.org) (gcc version 5.2.0 (GCC) ) #1 Mon Jul 25 19:07:50 BST 2016 [ 0.000000] Available physical memory: 126MB [ 0.000000] Zone ranges: [ 0.000000] Normal [mem 0x00200000-0x07ffffff] [ 0.000000] Movable zone start for each node [ 0.000000] Early memory node ranges [ 0.000000] node 0: [mem 0x00200000-0x07ffffff] [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 31815 [ 0.000000] Kernel command line: root=/dev/htifblk0 [ 0.000000] PID hash table entries: 512 (order: 0, 4096 bytes) [ 0.000000] Dentry cache hash table entries: 16384 (order: 5, 131072 bytes) [ 0.000000] Inode-cache hash table entries: 8192 (order: 4, 65536 bytes) [ 0.000000] Sorting __ex_table... [ 0.000000] Memory: 124488K/129024K available (1725K kernel code, 120K rwdata, 356K rodata, 68K init, 211K bss, 4536K reserved) [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 [ 0.000000] NR_IRQS:2 [ 0.150000] Calibrating delay using timer specific routine.. 20.01 BogoMIPS (lpj=100097) [ 0.150000] pid_max: default: 32768 minimum: 301 [ 0.150000] Mount-cache hash table entries: 512 (order: 0, 4096 bytes) [ 0.150000] Mountpoint-cache hash table entries: 512 (order: 0, 4096 bytes) [ 0.150000] devtmpfs: initialized [ 0.150000] NET: Registered protocol family 16 [ 0.150000] bio: create slab at 0 [ 0.150000] Switched to clocksource riscv_clocksource [ 0.150000] NET: Registered protocol family 2 [ 0.150000] TCP established hash table entries: 1024 (order: 1, 8192 bytes) [ 0.150000] TCP bind hash table entries: 1024 (order: 1, 8192 bytes) [ 0.150000] TCP: Hash tables configured (established 1024 bind 1024) [ 0.150000] TCP: reno registered [ 0.150000] UDP hash table entries: 256 (order: 1, 8192 bytes) [ 0.150000] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes) [ 0.150000] NET: Registered protocol family 1 [ 0.150000] futex hash table entries: 256 (order: 0, 6144 bytes) [ 0.150000] io scheduler noop registered [ 0.150000] io scheduler cfq registered (default) [ 0.180000] htifcon htif0: detected console [ 0.190000] console [htifcon0] enabled [ 0.190000] htifblk htif1: detected disk [ 0.190000] htifblk htif1: added htifblk0 [ 0.190000] TCP: cubic registered [ 0.190000] VFS: Mounted root (ext2 filesystem) readonly on device 254:0. [ 0.190000] devtmpfs: mounted [ 0.190000] Freeing unused kernel memory: 68K (ffffffff80000000 - ffffffff80011000) # uname -a Linux ucbvax 3.14.41-g9a25e8d #1 Mon Jul 25 19:07:50 BST 2016 riscv GNU/Linux
Cool!
Pingback: RISC-V on an FPGA, pt. 6 | Richard WM Jones
Pingback: RISC-V on an FPGA, pt. 8 | Richard WM Jones