Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- __ _ __ _ __
- / / (_) /____ | |/_/
- / /__/ / __/ -_)> <
- /____/_/\__/\__/_/|_|
- Build your hardware, easily!
- (c) Copyright 2012-2021 Enjoy-Digital
- (c) Copyright 2007-2015 M-Labs
- BIOS built on Nov 9 2021 14:15:27
- BIOS CRC passed (54d1ac3c)
- Migen git sha1: --------
- LiteX git sha1: b720a50e
- --=============== SoC ==================--
- CPU: RocketRV64[imac] @ 50MHz
- BUS: WISHBONE 32-bit @ 4GiB
- CSR: 32-bit data
- ROM: 128KiB
- SRAM: 8KiB
- SDRAM: 131072KiB 16-bit @ 200MT/s (CL-3 CWL-2)
- --========== Initialization ============--
- Ethernet init...
- Initializing SDRAM @0x80000000...
- Switching SDRAM to software control.
- Write latency calibration:
- m0:0 m1:0
- Read leveling:
- m0, b00: |00000000000000000000000000000000| delays: -
- m0, b01: |00000000000000000000000000000000| delays: -
- m0, b02: |11111111111111111111111111111111| delays: 16+-16
- m0, b03: |00000000000000000000000000000000| delays: -
- m0, b04: |00000000000000000000000000000000| delays: -
- m0, b05: |00000000000000000000000000000000| delays: -
- m0, b06: |00000000000000000000000000000000| delays: -
- m0, b07: |00000000000000000000000000000000| delays: -
- best: m0, b02 delays: 16+-16
- m1, b00: |00000000000000000000000000000000| delays: -
- m1, b01: |00000000000000000000000000000000| delays: -
- m1, b02: |11111111111111111111111111111111| delays: 16+-16
- m1, b03: |00000000000000000000000000000000| delays: -
- m1, b04: |00000000000000000000000000000000| delays: -
- m1, b05: |00000000000000000000000000000000| delays: -
- m1, b06: |00000000000000000000000000000000| delays: -
- m1, b07: |00000000000000000000000000000000| delays: -
- best: m1, b02 delays: 16+-16
- Switching SDRAM to hardware control.
- Memtest at 0x80000000 (2.0MiB)...
- Write: 0x80000000-0x80200000 2.0MiB
- Read: 0x80000000-0x80200000 2.0MiB
- Memtest OK
- Memspeed at 0x80000000 (Sequential, 2.0MiB)...
- Write speed: 32.8MiB/s
- Read speed: 50.3MiB/s
- --============== Boot ==================--
- --============= Console ================--
- litex> netboot
- Booting from network...
- Local IP: 192.168.1.50
- Remote IP: 192.168.1.100
- Booting from boot.json...
- Booting from boot.bin...
- Copying boot.bin to 0x80000000... (17515528 bytes)
- Executing booted program at 0x80000000
- --============= Liftoff! ===============--
- OpenSBI v0.9-167-g70f4d95
- ____ _____ ____ _____
- / __ \ / ____| _ \_ _|
- | | | |_ __ ___ _ __ | (___ | |_) || |
- | | | | '_ \ / _ \ '_ \ \___ \| _ < | |
- | |__| | |_) | __/ | | |____) | |_) || |_
- \____/| .__/ \___|_| |_|_____/|____/_____|
- | |
- |_|
- Platform Name : freechips,rocketchip-unknown
- Platform Features : medeleg
- Platform HART Count : 1
- Platform IPI Device : aclint-mswi
- Platform Timer Device : aclint-mtimer @ 500000Hz
- Platform Console Device : litex_uart
- Platform HSM Device : ---
- Platform Reboot Device : ---
- Platform Shutdown Device : ---
- Firmware Base : 0x80000000
- Firmware Size : 248 KB
- Runtime SBI Version : 0.3
- Domain0 Name : root
- Domain0 Boot HART : 0
- Domain0 HARTs : 0*
- Domain0 Region00 : 0x0000000002000000-0x000000000200ffff (I)
- Domain0 Region01 : 0x0000000080000000-0x000000008003ffff ()
- Domain0 Region02 : 0x0000000000000000-0xffffffffffffffff (R,W,X)
- Domain0 Next Address : 0x0000000080200000
- Domain0 Next Arg1 : 0x0000000082200000
- Domain0 Next Mode : S-mode
- Domain0 SysReset : yes
- Boot HART ID : 0
- Boot HART Domain : root
- Boot HART ISA : rv64imafdcsux
- Boot HART Features : scounteren,mcounteren,mcountinhibit
- Boot HART PMP Count : 16
- Boot HART PMP Granularity : 4
- Boot HART PMP Address Bits: 30
- Boot HART MHPM Count : 0
- Boot HART MIDELEG : 0x0000000000000222
- Boot HART MEDELEG : 0x000000000000b109
- [ 0.000000] Linux version 5.15.0-11878-g6b7545f25d46 (somlo@glsvmlin.ini.cmu.edu) (riscv64-unknown-linux-gnu-gcc (GCC) 11.1.0, GNU ld (GNU Binutils) 2.37) #719 SMP Tue Nov 9 18:04:20 EST 2021
- [ 0.000000] OF: fdt: Ignoring memory range 0x80000000 - 0x80200000
- [ 0.000000] Machine model: freechips,rocketchip-unknown
- [ 0.000000] earlycon: sbi0 at I/O port 0x0 (options '')
- [ 0.000000] printk: bootconsole [sbi0] enabled
- [ 0.000000] efi: UEFI not found.
- [ 0.000000] Zone ranges:
- [ 0.000000] DMA32 [mem 0x0000000080200000-0x0000000087ffffff]
- [ 0.000000] Normal empty
- [ 0.000000] Movable zone start for each node
- [ 0.000000] Early memory node ranges
- [ 0.000000] node 0: [mem 0x0000000080200000-0x0000000087ffffff]
- [ 0.000000] Initmem setup node 0 [mem 0x0000000080200000-0x0000000087ffffff]
- [ 0.000000] SBI specification v0.3 detected
- [ 0.000000] SBI implementation ID=0x1 Version=0x9
- [ 0.000000] SBI TIME extension detected
- [ 0.000000] SBI IPI extension detected
- [ 0.000000] SBI RFENCE extension detected
- [ 0.000000] SBI v0.2 HSM extension detected
- [ 0.000000] riscv: ISA extensions acdfim
- [ 0.000000] riscv: ELF capabilities acdfim
- [ 0.000000] percpu: Embedded 13 pages/cpu s23896 r0 d29352 u53248
- [ 0.000000] pcpu-alloc: s23896 r0 d29352 u53248 alloc=13*4096
- [ 0.000000] pcpu-alloc: [0] 0
- [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 31752
- [ 0.000000] Kernel command line: earlycon=sbi console=liteuart swiotlb=noforce
- [ 0.000000] Dentry cache hash table entries: 16384 (order: 5, 131072 bytes, linear)
- [ 0.000000] Inode-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
- [ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
- [ 0.000000] Memory: 110316K/129024K available (4319K kernel code, 3961K rwdata, 2048K rodata, 2903K init, 278K bss, 18708K reserved, 0K cma-reserved)
- [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
- [ 0.000000] rcu: Hierarchical RCU implementation.
- [ 0.000000] rcu: RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=1.
- [ 0.000000] Tracing variant of Tasks RCU enabled.
- [ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
- [ 0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1
- [ 0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
- [ 0.000000] riscv-intc: 64 local interrupts mapped
- [ 0.000000] plic: interrupt-controller@c000000: mapped 4 interrupts with 1 handlers for 2 contexts.
- [ 0.000000] random: get_random_bytes called from start_kernel+0x4c6/0x6bc with crng_init=0
- [ 0.000000] riscv_timer_init_dt: Registering clocksource cpuid [0] hartid [0]
- [ 0.000000] clocksource: riscv_clocksource: mask: 0xffffffffffffffff max_cycles: 0x1d854df40, max_idle_ns: 7052723233920 ns
- [ 0.000034] sched_clock: 64 bits at 500kHz, resolution 2000ns, wraps every 4398046511000ns
- [ 0.010918] Console: colour dummy device 128x32
- [ 0.015184] Calibrating delay loop (skipped), value calculated using timer frequency.. 1.00 BogoMIPS (lpj=5000)
- [ 0.025636] pid_max: default: 32768 minimum: 301
- [ 0.032200] LSM: Security Framework initializing
- [ 0.037664] Mount-cache hash table entries: 512 (order: 0, 4096 bytes, linear)
- [ 0.044658] Mountpoint-cache hash table entries: 512 (order: 0, 4096 bytes, linear)
- [ 0.094828] ASID allocator disabled
- [ 0.100524] rcu: Hierarchical SRCU implementation.
- [ 0.110916] EFI services will not be available.
- [ 0.118294] smp: Bringing up secondary CPUs ...
- [ 0.122058] smp: Brought up 1 node, 1 CPU
- [ 0.134552] devtmpfs: initialized
- [ 0.162926] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
- [ 0.172920] futex hash table entries: 256 (order: 2, 16384 bytes, linear)
- [ 0.188650] NET: Registered PF_NETLINK/PF_ROUTE protocol family
- [ 0.345992] pps_core: LinuxPPS API ver. 1 registered
- [ 0.350592] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
- [ 0.359848] PTP clock support registered
- [ 0.377708] clocksource: Switched to clocksource riscv_clocksource
- [ 0.579156] NET: Registered PF_INET protocol family
- [ 0.585524] IP idents hash table entries: 2048 (order: 2, 16384 bytes, linear)
- [ 0.603922] tcp_listen_portaddr_hash hash table entries: 256 (order: 0, 4096 bytes, linear)
- [ 0.613036] TCP established hash table entries: 1024 (order: 1, 8192 bytes, linear)
- [ 0.621236] TCP bind hash table entries: 1024 (order: 2, 16384 bytes, linear)
- [ 0.628754] TCP: Hash tables configured (established 1024 bind 1024)
- [ 0.636878] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
- [ 0.643948] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
- [ 0.654492] NET: Registered PF_UNIX/PF_LOCAL protocol family
- [ 0.792426] workingset: timestamp_bits=46 max_order=15 bucket_order=0
- [ 1.234874] LiteX SoC Controller driver initialized
- [ 2.992884] 12006800.serial: ttyLXU0 at MMIO 0x0 (irq = 0, base_baud = 0) is a liteuart
- [ 3.005648] printk: console [liteuart0] enabled
- [ 3.005648] printk: console [liteuart0] enabled
- [ 3.014816] printk: bootconsole [sbi0] disabled
- [ 3.014816] printk: bootconsole [sbi0] disabled
- [ 3.133116] loop: module loaded
- [ 3.401510] liteeth 12001000.mac eth0: irq 2 slots: tx 2 rx 2 size 2048
- [ 3.410610] SPI driver mmc_spi has no spi_device_id for mmc-spi-slot
- [ 3.437650] litex-mmc 12005000.mmc: Requested clk_freq=12500000: set to 12500000 via div=4
- [ 3.476678] NET: Registered PF_INET6 protocol family
- [ 3.511066] Segment Routing with IPv6
- [ 3.514306] In-situ OAM (IOAM) with IPv6
- [ 3.519764] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
- [ 3.538064] NET: Registered PF_PACKET protocol family
- [ 3.544800] litex-mmc 12005000.mmc: Requested clk_freq=0: set to 195312 via div=256
- [ 3.583196] Warning: unable to open an initial console.
- [ 3.667856] Freeing unused kernel image (initmem) memory: 2900K
- [ 3.673418] litex-mmc 12005000.mmc: Requested clk_freq=12500000: set to 12500000 via div=4
- [ 3.698996] Run /init as init process
- [ 3.701666] with arguments:
- [ 3.704600] /init
- [ 3.706856] with environment:
- [ 3.710026] HOME=/
- [ 3.712338] TERM=linux
- #
- [ 4.261160] litex-mmc 12005000.mmc: Requested clk_freq=25000000: set to 25000000 via div=2
- [ 4.269664] mmc0: new SDHC card at address d67d
- [ 4.282806] mmcblk0: mmc0:d67d SU32G 29.7 GiB
- [ 4.306468] mmcblk0: p1 p2
- #
- # mount /dev/mmcblk0p1 /mnt; md5sum /mnt/*; umount /mnt
- [ 28.051960] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
- [ 29.031960] random: fast init done
- b8a4a9d9982384a8adb117fb255e4a5f /mnt/boot.bin
- #
- # ifconfig eth0 up; udhcpc -i eth0; ifconfig eth0 down
- udhcpc: started, v1.31.0
- udhcpc: sending discover
- udhcpc: sending discover
- udhcpc: sending select for 192.168.2.208
- udhcpc: lease of 192.168.2.208 obtained, lease time 43200
- #
- # cat /proc/cpuinfo
- processor : 0
- hart : 0
- isa : rv64imafdc
- mmu : sv39
- uarch : sifive,rocket0
- # uname -a
- Linux litex 5.15.0-11878-g6b7545f25d46 #719 SMP Tue Nov 9 18:04:20 EST 2021 riscv64 GNU/Linux
- #
Add Comment
Please, Sign In to add comment