Changes needed to Linux kernel.
Current boot:
--========== Booting Linux =============-- [ 0.000000] No DTB passed to the kernel [ 0.000000] Linux version 5.0.13 (jebba@fshq) (gcc version 8.3.0 (Buildroot 2019.11-git-00423-g842fe578d9)) #1 Sat Sep 21 13:47:43 MDT 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: 247228K/262144K available (3415K kernel code, 148K rwdata, 509K rodata, 140K init, 216K bss, 14916K 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: 0x114c1bade8, max_idle_ns: 440795203839 ns [ 0.000278] sched_clock: 64 bits at 75MHz, resolution 13ns, wraps every 2199023255546ns [ 0.003537] Console: colour dummy device 80x25 [ 0.004933] Calibrating delay loop (skipped), value calculated using timer frequency.. 150.00 BogoMIPS (lpj=300000) [ 0.007039] pid_max: default: 32768 minimum: 301 [ 0.017758] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.019045] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.075090] devtmpfs: initialized [ 0.111520] random: get_random_bytes called from setup_net+0x4c/0x188 with crng_init=0 [ 0.119025] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns [ 0.120657] futex hash table entries: 256 (order: -1, 3072 bytes) [ 0.132240] NET: Registered protocol family 16 [ 0.344298] clocksource: Switched to clocksource riscv_clocksource [ 0.659770] NET: Registered protocol family 2 [ 0.678636] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes) [ 0.680856] TCP established hash table entries: 2048 (order: 1, 8192 bytes) [ 0.682573] TCP bind hash table entries: 2048 (order: 1, 8192 bytes) [ 0.684070] TCP: Hash tables configured (established 2048 bind 2048) [ 0.688106] UDP hash table entries: 256 (order: 0, 4096 bytes) [ 0.689988] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes) [ 0.709366] Unpacking initramfs... [ 2.455492] Initramfs unpacking failed: junk in compressed archive [ 2.478614] workingset: timestamp_bits=30 max_order=16 bucket_order=0 [ 3.039243] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253) [ 3.040875] io scheduler mq-deadline registered [ 3.041611] io scheduler kyber registered [ 4.991556] f0001000.serial: ttyLXU0 at MMIO 0xf0001000 (irq = 0, base_baud = 0) is a liteuart [ 4.993669] printk: console [liteuart0] enabled [ 4.993669] printk: console [liteuart0] enabled [ 4.994927] printk: bootconsole [sbi0] disabled [ 4.994927] printk: bootconsole [sbi0] disabled [ 5.026779] libphy: Fixed MDIO Bus: probed [ 5.029870] liteeth f0003800.mac: Failed to get IRQ, using polling [ 5.050661] liteeth f0003800.mac eth0: irq 0, mapped at a0002800 [ 5.058540] i2c /dev entries driver [ 5.129333] NET: Registered protocol family 10 [ 5.159165] Segment Routing with IPv6 [ 5.162489] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver [ 5.220008] Freeing unused kernel memory: 140K [ 5.221283] This architecture does not have kernel memory protection. [ 5.222201] Run /init as init process
Add Atheros wifi for M.2. See #27.
David Shah Linux kernel commits:
https://github.com/daveshah1/litex-linux-riscv/commits/master
Current status:
Initializing SDRAM... SDRAM now under software control Read leveling: m0, b0: |01100000| delays: 02+-01 best: m0, b0 delays: 02+-01 m1, b0: |01100000| delays: 02+-01 best: m1, b0 delays: 02+-01 m2, b0: |01110000| delays: 02+-01 best: m2, b0 delays: 02+-01 m3, b0: |01110000| delays: 02+-01 best: m3, b0 delays: 02+-01 SDRAM now under hardware control Memtest OK --============== Boot ==================-- Booting from serial... Press Q or ESC to abort boot completely. sL5DdSMmkekro Timeout Booting from network... Local IP : 192.168.1.50 Remote IP: 192.168.1.100 Fetching from: UDP/69 Downloaded 4545524 bytes from Image over TFTP to 0xc0000000 Downloaded 4388864 bytes from rootfs.cpio over TFTP to 0xc0800000 Downloaded 1617 bytes from rv32.dtb over TFTP to 0xc1000000 Downloaded 9600 bytes from emulator.bin over TFTP to 0x20000000 Executing booted program at 0x20000000 --============= Liftoff! ===============-- VexRiscv Machine Mode software built Oct 23 2019 11:52:34 --========== Booting Linux =============-- [ 0.000000] No DTB passed to the kernel [ 0.000000] Linux version 5.0.13-0fstrellis (jebba@fshq) (gcc version 8.3.0 (Buildroot 2019.11-git-01152-g125547e7b5)) #1 Wed Oct 23 11:47:49 MDT 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-0x00000000dfffffff] [ 0.000000] Movable zone start for each node [ 0.000000] Early memory node ranges [ 0.000000] node 0: [mem 0x00000000c0000000-0x00000000dfffffff] [ 0.000000] Initmem setup node 0 [mem 0x00000000c0000000-0x00000000dfffffff] [ 0.000000] elf_hwcap is 0x1101 [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 130048 [ 0.000000] Kernel command line: mem=512M@0xc0000000 rootwait console=liteuart earlycon=sbi root=/dev/ram0 init=/sbin/init swiotlb=32 [ 0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes) [ 0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes) [ 0.000000] Sorting __ex_table... [ 0.000000] Memory: 507132K/524288K available (3415K kernel code, 148K rwdata, 509K rodata, 140K init, 216K bss, 17156K 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: 0x114c1bade8, max_idle_ns: 440795203839 ns [ 0.000280] sched_clock: 64 bits at 75MHz, resolution 13ns, wraps every 2199023255546ns [ 0.003572] Console: colour dummy device 80x25 [ 0.004973] Calibrating delay loop (skipped), value calculated using timer frequency.. 150.00 BogoMIPS (lpj=300000) [ 0.007085] pid_max: default: 32768 minimum: 301 [ 0.017837] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.019138] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.075513] devtmpfs: initialized [ 0.112038] random: get_random_bytes called from setup_net+0x4c/0x188 with crng_init=0 [ 0.119496] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns [ 0.121061] futex hash table entries: 256 (order: -1, 3072 bytes) [ 0.132629] NET: Registered protocol family 16 [ 0.343305] clocksource: Switched to clocksource riscv_clocksource [ 0.657742] NET: Registered protocol family 2 [ 0.676582] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes) [ 0.678310] TCP established hash table entries: 4096 (order: 2, 16384 bytes) [ 0.681044] TCP bind hash table entries: 4096 (order: 2, 16384 bytes) [ 0.683050] TCP: Hash tables configured (established 4096 bind 4096) [ 0.687050] UDP hash table entries: 256 (order: 0, 4096 bytes) [ 0.688872] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes) [ 0.708300] Unpacking initramfs... [ 2.566024] Initramfs unpacking failed: junk in compressed archive [ 2.589862] workingset: timestamp_bits=30 max_order=17 bucket_order=0 [ 3.142890] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253) [ 3.144493] io scheduler mq-deadline registered [ 3.145239] io scheduler kyber registered [ 5.096216] f0001000.serial: ttyLXU0 at MMIO 0xf0001000 (irq = 0, base_baud = 0) is a liteuart [ 5.097826] printk: console [liteuart0] enabled [ 5.097826] printk: console [liteuart0] enabled [ 5.099080] printk: bootconsole [sbi0] disabled [ 5.099080] printk: bootconsole [sbi0] disabled [ 5.131040] libphy: Fixed MDIO Bus: probed [ 5.134116] liteeth f0003800.mac: Failed to get IRQ, using polling [ 5.154896] liteeth f0003800.mac eth0: irq 0, mapped at a0002800 [ 5.162775] i2c /dev entries driver [ 5.234394] NET: Registered protocol family 10 [ 5.264885] Segment Routing with IPv6 [ 5.268268] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver [ 5.325558] Freeing unused kernel memory: 140K [ 5.326254] This architecture does not have kernel memory protection. [ 5.327732] 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... [ 8.829836] random: dd: uninitialized urandom read (512 bytes read) done. Starting network: OK Starting dropbear sshd: [ 12.325627] random: dropbear: uninitialized urandom read (32 bytes read) OK Welcome to TrellisBoard trellisboard login: [ 18.528791] random: dropbear: uninitialized urandom read (32 bytes read) [ 28.777077] random: dropbear: uninitialized urandom read (32 bytes read) [ 31.746339] random: dropbear: uninitialized urandom read (32 bytes read) [ 178.208115] random: dropbear: uninitialized urandom read (32 bytes read) Welcome to TrellisBoard trellisboard login:
No due date set.
Deleting a branch is permanent. It CANNOT be undone. Continue?
Changes needed to Linux kernel.
Current boot:
Add Atheros wifi for M.2. See #27.
David Shah Linux kernel commits:
https://github.com/daveshah1/litex-linux-riscv/commits/master
Linux Build Modsto Run Linux Kernel with Busybox 5 years agoCurrent status: