Skip to content

Instantly share code, notes, and snippets.

@shenki
Created September 18, 2019 05:33
Show Gist options
  • Save shenki/8eb53fbcf5658440f2deb8e98761fc81 to your computer and use it in GitHub Desktop.
Save shenki/8eb53fbcf5658440f2deb8e98761fc81 to your computer and use it in GitHub Desktop.
linux 5.0 on vexriscv on arty
VexRiscv Machine Mode software built Jul 9 2019 11:58:09
--========== Booting Linux =============--
[ 0.000000] No DTB passed to the kernel
[ 0.000000] Linux version 5.0.13 (joel@voyager) (gcc version 8.3.0 (Buildroot 2019.11-git-00298-g5c9e9ef10087)) #1 Tue Sep 17 22:24:09 ACST 2019
[ 0.000000] earlycon: sbi0 at I/O port 0x0 (options '')
[ 0.000000] printk: bootconsole [sbi0] enabled
[ 0.000000] Initial ramdisk at: 0x(ptrval) (8388608 bytes)
[ 0.000000] Zone ranges:
[ 0.000000] Normal [mem 0x00000000c0000000-0x00000000cfffffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x00000000c0000000-0x00000000cfffffff]
[ 0.000000] Initmem setup node 0 [mem 0x00000000c0000000-0x00000000cfffffff]
[ 0.000000] elf_hwcap is 0x1101
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 65024
[ 0.000000] Kernel command line: mem=256M@0xc0000000 rootwait console=liteuart earlycon=sbi root=/dev/ram0 init=/sbin/init swiotlb=32
[ 0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
[ 0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
[ 0.000000] Sorting __ex_table...
[ 0.000000] Memory: 247224K/262144K available (3415K kernel code, 148K rwdata, 509K rodata, 140K init, 216K bss, 14920K reserved, 0K cma-reserved)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] NR_IRQS: 0, nr_irqs: 0, preallocated irqs: 0
[ 0.000000] clocksource: riscv_clocksource: mask: 0xffffffffffffffff max_cycles: 0x171024e7e0, max_idle_ns: 440795205315 ns
[ 0.000217] sched_clock: 64 bits at 100MHz, resolution 10ns, wraps every 4398046511100ns
[ 0.003025] Console: colour dummy device 80x25
[ 0.004189] Calibrating delay loop (skipped), value calculated using timer frequency.. 200.00 BogoMIPS (lpj=400000)
[ 0.006066] pid_max: default: 32768 minimum: 301
[ 0.014113] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.015632] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.059350] devtmpfs: initialized
[ 0.096294] random: get_random_bytes called from setup_net+0x4c/0x188 with crng_init=0
[ 0.102180] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[ 0.103612] futex hash table entries: 256 (order: -1, 3072 bytes)
[ 0.112496] NET: Registered protocol family 16
[ 0.291863] clocksource: Switched to clocksource riscv_clocksource
[ 0.536292] NET: Registered protocol family 2
[ 0.550584] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes)
[ 0.552474] TCP established hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.553956] TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.555234] TCP: Hash tables configured (established 2048 bind 2048)
[ 0.558685] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.559823] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.574767] Unpacking initramfs...
[ 1.953284] Initramfs unpacking failed: junk in compressed archive
[ 1.971183] workingset: timestamp_bits=30 max_order=16 bucket_order=0
[ 2.396483] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253)
[ 2.397481] io scheduler mq-deadline registered
[ 2.398125] io scheduler kyber registered
[ 3.921222] f0001000.serial: ttyLXU0 at MMIO 0xf0001000 (irq = 0, base_baud = 0) is a liteuart
[ 3.922650] printk: console [liteuart0] enabled
[ 3.922650] printk: console [liteuart0] enabled
[ 3.924245] printk: bootconsole [sbi0] disabled
[ 3.924245] printk: bootconsole [sbi0] disabled
[ 3.970392] libphy: Fixed MDIO Bus: probed
[ 3.972935] liteeth f0003800.mac: Failed to get IRQ, using polling
[ 3.988511] liteeth f0003800.mac eth0: irq 0, mapped at a0008800
[ 3.994816] i2c /dev entries driver
[ 4.005020] i2c i2c-0: Not I2C compliant: can't read SCL
[ 4.005817] i2c i2c-0: Bus may be unreliable
[ 4.065067] NET: Registered protocol family 10
[ 4.087732] Segment Routing with IPv6
[ 4.090516] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[ 4.135677] Freeing unused kernel memory: 140K
[ 4.136772] This architecture does not have kernel memory protection.
[ 4.137604] Run /init as init process
mount: mounting tmpfs on /dev/shm failed: Invalid argument
mount: mounting tmpfs on /tmp failed: Invalid argument
mount: mounting tmpfs on /run failed: Invalid argument
Starting syslogd: OK
Starting klogd: OK
Running sysctl: OK
Initializing random number generator... [ 6.805634] random: dd: uninitialized urandom read (512 bytes read)
done.
Starting network: OK
Welcome to Buildroot
buildroot login: root
__ _
/ / (_)__ __ ____ __
/ /__/ / _ \/ // /\ \ /
/____/_/_//_/\_,_//_\_\
/ _ \/ _ \
__ _ __ _\___/_//_/ __ _
/ / (_) /____ | |/_/__| | / /____ __ ____(_)__ _____ __
/ /__/ / __/ -_)> </___/ |/ / -_) \ // __/ (_-</ __/ |/ /
/____/_/\__/\__/_/|_| |___/\__/_\_\/_/ /_/___/\__/|___/
32-bit VexRiscv CPU with MMU integrated in a LiteX SoC
login[76]: root login on 'console'
uroot@buildroot:~# uname -a
Linux buildroot 5.0.13 #1 Tue Sep 17 22:24:09 ACST 2019 riscv32 GNU/Linux
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment