Skip to content

Instantly share code, notes, and snippets.

@cyyself
Created April 21, 2024 11:20
Show Gist options
  • Save cyyself/ea8895012d1035ca5bd3375b798f5786 to your computer and use it in GitHub Desktop.
Save cyyself/ea8895012d1035ca5bd3375b798f5786 to your computer and use it in GitHub Desktop.
U-Boot SPL 2022.10 (Nov 28 2023 - 21:45:06 +0800)
imge: uboot load to 0 compress =1 src a500254 len=4cf2a
imge: uboot load to 0 compress =1 src a500254 len=9a710
U-Boot 2022.10 (Nov 28 2023 - 21:45:06 +0800)
CPU: rv64imafdcvsu
Model: kendryte k230 evb
DRAM: 512 MiB
Core: 23 devices, 15 uclasses, devicetree: embed
MMC: mmc0@91580000: 0, mmc1@91581000: 1
Loading Environment from MMC... OK
In: serial@91400000
Out: serial@91400000
Err: serial@91400000
Net: No ethernet found.
Hit any key to stop autoboot: 0
K230#
K230# setenv ipaddr 10.12.10.66
K230# setenv serverip 10.12.10.5
K230# tftpboot 0x0 fw_payload.bin
No ethernet found.
K230# usb start
starting USB...
Bus usb-otg@91500000: dwc2_usb usb-otg@91500000: Core Release: 4.30a
USB DWC2
Bus usb-otg@91540000: dwc2_usb usb-otg@91540000: Core Release: 4.30a
USB DWC2
scanning bus usb-otg@91500000 for devices... 2 USB Device(s) found
scanning bus usb-otg@91540000 for devices... 1 USB Device(s) found
scanning usb for storage devices... 0 Storage Device(s) found
K230#
K230# tftpboot 0x0 fw_payload.bin
Using r8152_eth device
TFTP from server 10.12.10.5; our IP address is 10.12.10.66
Filename 'fw_payload.bin'.
Load address: 0x0
Loading: #################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#####################
960 KiB/s
done
Bytes transferred = 24155144 (1709408 hex)
K230# go 0
## Starting application at 0x00000000 ...
OpenSBI v1.0-588-g4328952
____ _____ ____ _____
/ __ \ / ____| _ \_ _|
| | | |_ __ ___ _ __ | (___ | |_) || |
| | | | '_ \ / _ \ '_ \ \___ \| _ < | |
| |__| | |_) | __/ | | |____) | |_) || |_
\____/| .__/ \___|_| |_|_____/|____/_____|
| |
|_|
Platform Name : Kendryte K230 EVB
Platform Features : medeleg
Platform HART Count : 1
Platform IPI Device : aclint-mswi
Platform Timer Device : aclint-mtimer @ 27000000Hz
Platform Console Device : uart8250
Platform HSM Device : ---
Platform PMU Device : thead,c900-pmu
Platform Reboot Device : ---
Platform Shutdown Device : ---
Platform Suspend Device : ---
Platform CPPC Device : ---
Firmware Base : 0x0
Firmware Size : 323 KB
Firmware RW Offset : 0x40000
Firmware RW Size : 67 KB
Firmware Heap Offset : 0x48000
Firmware Heap Size : 35 KB (total), 2 KB (reserved), 10 KB (used), 22 KB (free)
Firmware Scratch Size : 4096 B (total), 336 B (used), 3760 B (free)
Runtime SBI Version : 2.0
Domain0 Name : root
Domain0 Boot HART : 0
Domain0 HARTs : 0*
Domain0 Region00 : 0x0000000091400000-0x0000000091400fff M: (I,R,W) S/U: (R,W)
Domain0 Region01 : 0x0000000f04008000-0x0000000f0400bfff M: (I,R,W) S/U: ()
Domain0 Region02 : 0x0000000f04000000-0x0000000f04007fff M: (I,R,W) S/U: ()
Domain0 Region03 : 0x0000000000040000-0x000000000005ffff M: (R,W) S/U: ()
Domain0 Region04 : 0x0000000000000000-0x000000000003ffff M: (R,X) S/U: ()
Domain0 Region05 : 0x0000000f00000000-0x0000000f03ffffff M: (I,R,W) S/U: (R,W)
Domain0 Region06 : 0x0000000000000000-0xffffffffffffffff M: () S/U: (R,W,X)
Domain0 Next Address : 0x0000000000200000
Domain0 Next Arg1 : 0x0000000002200000
Domain0 Next Mode : S-mode
Domain0 SysReset : yes
Domain0 SysSuspend : yes
Boot HART ID : 0
Boot HART Domain : root
Boot HART Priv Version : v1.12
Boot HART Base ISA : rv64imafdcbvx
Boot HART ISA Extensions : sstc,zicntr,zihpm,zicboz,zicbom,svpbmt,sdtrig
Boot HART PMP Reserved : 2
Boot HART PMP Count : 64
Boot HART PMP Granularity : 12 bits
Boot HART PMP Address Bits: 38
Boot HART MHPM Info : 16 (0x0007fff8)
Boot HART Debug Triggers : 3 triggers
Boot HART MIDELEG : 0x0000000000020222
Boot HART MEDELEG : 0x000000000000b109
[ 0.000000] Linux version 6.9.0-rc1-00011-g5db2c4dc413e-dirty (cyy@cyy-pc) (riscv64-linux-gnu-gcc (Debian 13.2.0-12) 13.2.0, GNU ld (GNU Binutils for Debian) 2.42) #97 SMP Sun Apr 21 19:06:18 CST 2024
[ 0.000000] Machine model: Kendryte K230 EVB
[ 0.000000] SBI specification v2.0 detected
[ 0.000000] SBI implementation ID=0x1 Version=0x10004
[ 0.000000] SBI TIME extension detected
[ 0.000000] SBI IPI extension detected
[ 0.000000] SBI RFENCE extension detected
[ 0.000000] SBI DBCN extension detected
[ 0.000000] efi: UEFI not found.
[ 0.000000] OF: reserved mem: 0x0000000000000000..0x000000000003ffff (256 KiB) nomap non-reusable mmode_resv1@0
[ 0.000000] OF: reserved mem: 0x0000000000040000..0x000000000005ffff (128 KiB) nomap non-reusable mmode_resv0@40000
[ 0.000000] Zone ranges:
[ 0.000000] DMA32 [mem 0x0000000000000000-0x000000001fffffff]
[ 0.000000] Normal empty
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000000000000-0x000000000005ffff]
[ 0.000000] node 0: [mem 0x0000000000060000-0x000000001fffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x000000001fffffff]
[ 0.000000] SBI HSM extension detected
[ 0.000000] riscv: base ISA extensions acdfimv
[ 0.000000] riscv: ELF capabilities acdfimv
[ 0.000000] percpu: Embedded 21 pages/cpu s48568 r8192 d29256 u86016
[ 0.000000] Kernel command line: console=ttyS0,115200 rdinit=/sbin/init
[ 0.000000] Dentry cache hash table entries: 65536 (order: 7, 524288 bytes, linear)
[ 0.000000] Inode-cache hash table entries: 32768 (order: 6, 262144 bytes, linear)
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 129024
[ 0.000000] mem auto-init: stack:all(zero), heap alloc:off, heap free:off
[ 0.000000] Virtual kernel memory layout:
[ 0.000000] fixmap : 0xffffffc6fea00000 - 0xffffffc6ff000000 (6144 kB)
[ 0.000000] pci io : 0xffffffc6ff000000 - 0xffffffc700000000 ( 16 MB)
[ 0.000000] vmemmap : 0xffffffc700000000 - 0xffffffc800000000 (4096 MB)
[ 0.000000] vmalloc : 0xffffffc800000000 - 0xffffffd800000000 ( 64 GB)
[ 0.000000] modules : 0xffffffff01587000 - 0xffffffff80000000 (2026 MB)
[ 0.000000] lowmem : 0xffffffd800000000 - 0xffffffd820000000 ( 512 MB)
[ 0.000000] kernel : 0xffffffff80000000 - 0xffffffffffffffff (2047 MB)
[ 0.000000] Memory: 475892K/524288K available (9983K kernel code, 3167K rwdata, 4096K rodata, 4037K init, 499K bss, 48396K 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=64 to nr_cpu_ids=1.
[ 0.000000] rcu: RCU debug extended QS entry/exit.
[ 0.000000] Tracing variant of Tasks RCU enabled.
[ 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=1
[ 0.000000] RCU Tasks Trace: Setting shift to 0 and lim to 1 rcu_task_cb_adjust=1.
[ 0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[ 0.000000] riscv-intc: 64 local interrupts mapped
[ 0.000000] riscv: providing IPIs using SBI IPI extension
[ 0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention.
[ 0.000000] clocksource: riscv_clocksource: mask: 0xffffffffffffffff max_cycles: 0x63a1e71a3, max_idle_ns: 440795203123 ns
[ 0.000000] sched_clock: 64 bits at 27MHz, resolution 37ns, wraps every 4398046511093ns
[ 0.000132] Console: colour dummy device 80x25
[ 0.000174] Calibrating delay loop (skipped), value calculated using timer frequency.. 54.00 BogoMIPS (lpj=108000)
[ 0.000185] pid_max: default: 32768 minimum: 301
[ 0.000243] LSM: initializing lsm=capability
[ 0.000314] Mount-cache hash table entries: 1024 (order: 1, 8192 bytes, linear)
[ 0.000324] Mountpoint-cache hash table entries: 1024 (order: 1, 8192 bytes, linear)
[ 0.001988] riscv: ELF compat mode supported
[ 0.002034] ASID allocator using 16 bits (65536 entries)
[ 0.002153] rcu: Hierarchical SRCU implementation.
[ 0.002158] rcu: Max phase no-delay instances is 1000.
[ 0.002472] EFI services will not be available.
[ 0.002604] smp: Bringing up secondary CPUs ...
[ 0.002621] smp: Brought up 1 node, 1 CPU
[ 0.003123] devtmpfs: initialized
[ 0.004371] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[ 0.004390] futex hash table entries: 256 (order: 2, 16384 bytes, linear)
[ 0.004534] pinctrl core: initialized pinctrl subsystem
[ 0.005285] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[ 0.005927] DMA: preallocated 128 KiB GFP_KERNEL pool for atomic allocations
[ 0.005974] DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[ 0.006021] audit: initializing netlink subsys (disabled)
[ 0.006471] thermal_sys: Registered thermal governor 'step_wise'
[ 0.006511] audit: type=2000 audit(0.004:1): state=initialized audit_enabled=0 res=1
[ 0.006538] cpuidle: using governor menu
[ 0.028091] cpu0: Ratio of byte access time to unaligned word access is 6.32, unaligned accesses are fast
[ 0.028605] platform soc: Fixed dependency cycle(s) with /soc/interrupt-controller@f00000000
[ 0.028737] platform soc: Fixed dependency cycle(s) with /soc/interrupt-controller@f00000000
[ 0.029926] HugeTLB: registered 2.00 MiB page size, pre-allocated 0 pages
[ 0.029936] HugeTLB: 28 KiB vmemmap can be freed for a 2.00 MiB page
[ 0.030376] ACPI: Interpreter disabled.
[ 0.030490] iommu: Default domain type: Translated
[ 0.030495] iommu: DMA domain TLB invalidation policy: strict mode
[ 0.030931] SCSI subsystem initialized
[ 0.031276] usbcore: registered new interface driver usbfs
[ 0.031300] usbcore: registered new interface driver hub
[ 0.031328] usbcore: registered new device driver usb
[ 0.031605] Advanced Linux Sound Architecture Driver Initialized.
[ 0.032291] vgaarb: loaded
[ 0.032595] clocksource: Switched to clocksource riscv_clocksource
[ 0.032940] pnp: PnP ACPI: disabled
[ 0.039640] NET: Registered PF_INET protocol family
[ 0.039762] IP idents hash table entries: 8192 (order: 4, 65536 bytes, linear)
[ 0.040533] tcp_listen_portaddr_hash hash table entries: 256 (order: 1, 8192 bytes, linear)
[ 0.040561] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[ 0.040590] TCP established hash table entries: 4096 (order: 3, 32768 bytes, linear)
[ 0.040619] TCP bind hash table entries: 4096 (order: 6, 262144 bytes, linear)
[ 0.041328] TCP: Hash tables configured (established 4096 bind 4096)
[ 0.041425] UDP hash table entries: 256 (order: 2, 24576 bytes, linear)
[ 0.041485] UDP-Lite hash table entries: 256 (order: 2, 24576 bytes, linear)
[ 0.041673] NET: Registered PF_UNIX/PF_LOCAL protocol family
[ 0.042227] RPC: Registered named UNIX socket transport module.
[ 0.042238] RPC: Registered udp transport module.
[ 0.042241] RPC: Registered tcp transport module.
[ 0.042243] RPC: Registered tcp-with-tls transport module.
[ 0.042246] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.042258] PCI: CLS 0 bytes, default 64
[ 0.048840] workingset: timestamp_bits=46 max_order=17 bucket_order=0
[ 0.049480] NFS: Registering the id_resolver key type
[ 0.049512] Key type id_resolver registered
[ 0.049517] Key type id_legacy registered
[ 0.049538] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[ 0.049544] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[ 0.052733] 9p: Installing v9fs 9p2000 file system support
[ 0.052961] NET: Registered PF_ALG protocol family
[ 0.053016] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 245)
[ 0.053025] io scheduler mq-deadline registered
[ 0.053030] io scheduler kyber registered
[ 0.053054] io scheduler bfq registered
[ 0.053371] riscv-plic f00000000.interrupt-controller: mapped 208 interrupts with 1 handlers for 2 contexts.
[ 0.054211] SBI CPPC extension NOT detected!!
[ 0.142342] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[ 0.145615] printk: legacy console [ttyS0] disabled
[ 0.165975] 91400000.serial: ttyS0 at MMIO 0x91400000 (irq = 12, base_baud = 3125000) is a 16550A
[ 0.166005] printk: legacy console [ttyS0] enabled
[ 0.935804] SuperH (H)SCI(F) driver initialized
[ 0.945383] loop: module loaded
[ 0.950224] e1000e: Intel(R) PRO/1000 Network Driver
[ 0.955236] e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
[ 0.961260] usbcore: registered new device driver r8152-cfgselector
[ 0.967558] usbcore: registered new interface driver r8152
[ 0.973222] dwc2 91500000.usb: supply vusb_d not found, using dummy regulator
[ 0.980518] dwc2 91500000.usb: supply vusb_a not found, using dummy regulator
[ 1.112637] dwc2 91500000.usb: EPs: 7, dedicated fifos, 3016 entries in SPRAM
[ 1.119861] dwc2 91500000.usb: DCFG=0x00000000, DCTL=0x00000002, DIEPMSK=00000000
[ 1.127357] dwc2 91500000.usb: GAHBCFG=0x00000000, GHWCFG1=0x00000000
[ 1.133805] dwc2 91500000.usb: GRXFSIZ=0x00000c00, GNPTXFSIZ=0x0c000c00
[ 1.140426] dwc2 91500000.usb: DPTx[1] FSize=0, StAddr=0x00000000
[ 1.146527] dwc2 91500000.usb: DPTx[2] FSize=0, StAddr=0x00000000
[ 1.152626] dwc2 91500000.usb: DPTx[3] FSize=0, StAddr=0x00000000
[ 1.158725] dwc2 91500000.usb: DPTx[4] FSize=0, StAddr=0x00000000
[ 1.164824] dwc2 91500000.usb: DPTx[5] FSize=0, StAddr=0x00000000
[ 1.170923] dwc2 91500000.usb: DPTx[6] FSize=0, StAddr=0x00000000
[ 1.177022] dwc2 91500000.usb: ep0-in: EPCTL=0x00000800, SIZ=0x00000000, DMA=0x1fb61680
[ 1.185032] dwc2 91500000.usb: ep0-out: EPCTL=0x00000800, SIZ=0x00000000, DMA=0x1fb61680
[ 1.193129] dwc2 91500000.usb: ep1-in: EPCTL=0x00001000, SIZ=0x00000000, DMA=0x3f26eddf
[ 1.201139] dwc2 91500000.usb: ep1-out: EPCTL=0x00001000, SIZ=0x00000000, DMA=0x3f26eddf
[ 1.209236] dwc2 91500000.usb: ep2-in: EPCTL=0x00001800, SIZ=0x00000000, DMA=0xbe9521c5
[ 1.217249] dwc2 91500000.usb: ep2-out: EPCTL=0x00001800, SIZ=0x00000000, DMA=0xbe9521c5
[ 1.225345] dwc2 91500000.usb: ep3-in: EPCTL=0x00002000, SIZ=0x00000000, DMA=0x3ef8cf96
[ 1.233355] dwc2 91500000.usb: ep3-out: EPCTL=0x00002000, SIZ=0x00000000, DMA=0x3ef8cf96
[ 1.241452] dwc2 91500000.usb: ep4-in: EPCTL=0x00002800, SIZ=0x00000000, DMA=0x556dc665
[ 1.249461] dwc2 91500000.usb: ep4-out: EPCTL=0x00002800, SIZ=0x00000000, DMA=0x556dc665
[ 1.257558] dwc2 91500000.usb: ep5-in: EPCTL=0x00003000, SIZ=0x00000000, DMA=0xdf3bfedd
[ 1.265567] dwc2 91500000.usb: ep5-out: EPCTL=0x00003000, SIZ=0x00000000, DMA=0xdf3bfedd
[ 1.273663] dwc2 91500000.usb: ep6-in: EPCTL=0x00003800, SIZ=0x00000000, DMA=0xdc7388b0
[ 1.281673] dwc2 91500000.usb: ep6-out: EPCTL=0x00003800, SIZ=0x00000000, DMA=0xdc7388b0
[ 1.289769] dwc2 91500000.usb: DVBUSDIS=0x0000ea60, DVBUSPULSE=000005b8
[ 1.296485] dwc2 91500000.usb: DWC OTG Controller
[ 1.301226] dwc2 91500000.usb: new USB bus registered, assigned bus number 1
[ 1.308305] dwc2 91500000.usb: irq 13, io mem 0x91500000
[ 1.314354] hub 1-0:1.0: USB hub found
[ 1.318194] hub 1-0:1.0: 1 port detected
[ 1.324994] dwc2 91540000.usb: supply vusb_d not found, using dummy regulator
[ 1.332312] dwc2 91540000.usb: supply vusb_a not found, using dummy regulator
[ 1.464641] dwc2 91540000.usb: EPs: 7, dedicated fifos, 3016 entries in SPRAM
[ 1.471867] dwc2 91540000.usb: DCFG=0x00000000, DCTL=0x00000002, DIEPMSK=00000000
[ 1.479362] dwc2 91540000.usb: GAHBCFG=0x00000000, GHWCFG1=0x00000000
[ 1.485810] dwc2 91540000.usb: GRXFSIZ=0x00000c00, GNPTXFSIZ=0x0c000c00
[ 1.492431] dwc2 91540000.usb: DPTx[1] FSize=0, StAddr=0x00000000
[ 1.498532] dwc2 91540000.usb: DPTx[2] FSize=0, StAddr=0x00000000
[ 1.504638] dwc2 91540000.usb: DPTx[3] FSize=0, StAddr=0x00000000
[ 1.510739] dwc2 91540000.usb: DPTx[4] FSize=0, StAddr=0x00000000
[ 1.516838] dwc2 91540000.usb: DPTx[5] FSize=0, StAddr=0x00000000
[ 1.522937] dwc2 91540000.usb: DPTx[6] FSize=0, StAddr=0x00000000
[ 1.529036] dwc2 91540000.usb: ep0-in: EPCTL=0x00000800, SIZ=0x00000000, DMA=0x65e810e5
[ 1.537047] dwc2 91540000.usb: ep0-out: EPCTL=0x00000800, SIZ=0x00000000, DMA=0x65e810e5
[ 1.545147] dwc2 91540000.usb: ep1-in: EPCTL=0x00001000, SIZ=0x00000000, DMA=0x8686db5a
[ 1.553159] dwc2 91540000.usb: ep1-out: EPCTL=0x00001000, SIZ=0x00000000, DMA=0x8686db5a
[ 1.561255] dwc2 91540000.usb: ep2-in: EPCTL=0x00001800, SIZ=0x00000000, DMA=0x91852209
[ 1.569266] dwc2 91540000.usb: ep2-out: EPCTL=0x00001800, SIZ=0x00000000, DMA=0x91852209
[ 1.577363] dwc2 91540000.usb: ep3-in: EPCTL=0x00002000, SIZ=0x00000000, DMA=0x22b9ab6a
[ 1.585373] dwc2 91540000.usb: ep3-out: EPCTL=0x00002000, SIZ=0x00000000, DMA=0x22b9ab6a
[ 1.593469] dwc2 91540000.usb: ep4-in: EPCTL=0x00002800, SIZ=0x00000000, DMA=0x9ddde28a
[ 1.601478] dwc2 91540000.usb: ep4-out: EPCTL=0x00002800, SIZ=0x00000000, DMA=0x9ddde28a
[ 1.609575] dwc2 91540000.usb: ep5-in: EPCTL=0x00003000, SIZ=0x00000000, DMA=0x7cb7bceb
[ 1.617585] dwc2 91540000.usb: ep5-out: EPCTL=0x00003000, SIZ=0x00000000, DMA=0x7cb7bceb
[ 1.625681] dwc2 91540000.usb: ep6-in: EPCTL=0x00003800, SIZ=0x00000000, DMA=0x0ea37038
[ 1.633691] dwc2 91540000.usb: ep6-out: EPCTL=0x00003800, SIZ=0x00000000, DMA=0x0ea37038
[ 1.641786] dwc2 91540000.usb: DVBUSDIS=0x0000ea60, DVBUSPULSE=000005b8
[ 1.648500] dwc2 91540000.usb: DWC OTG Controller
[ 1.653246] dwc2 91540000.usb: new USB bus registered, assigned bus number 2
[ 1.660331] dwc2 91540000.usb: irq 14, io mem 0x91540000
[ 1.666454] hub 2-0:1.0: USB hub found
[ 1.670300] hub 2-0:1.0: 1 port detected
[ 1.677356] usbcore: registered new interface driver uas
[ 1.682771] usbcore: registered new interface driver usb-storage
[ 1.689120] mousedev: PS/2 mouse device common for all mice
[ 1.695316] sdhci: Secure Digital Host Controller Interface driver
[ 1.701543] sdhci: Copyright(c) Pierre Ossman
[ 1.705975] Synopsys Designware Multimedia Card Interface Driver
[ 1.712074] sdhci-pltfm: SDHCI platform and OF driver helper
[ 1.717924] usbcore: registered new interface driver usbhid
[ 1.723516] usbhid: USB HID core driver
[ 1.727558] riscv-pmu-sbi: SBI PMU extension is available
[ 1.733015] riscv-pmu-sbi: 16 firmware and 18 hardware counters
[ 1.738945] riscv-pmu-sbi: Perf sampling/filtering is not supported as sscof extension is not available
[ 1.749349] NET: Registered PF_INET6 protocol family
[ 1.755194] Segment Routing with IPv6
[ 1.758958] In-situ OAM (IOAM) with IPv6
[ 1.762954] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[ 1.769331] NET: Registered PF_PACKET protocol family
[ 1.774495] 9pnet: Installing 9P2000 support
[ 1.778846] Key type dns_resolver registered
[ 1.797110] debug_vm_pgtable: [debug_vm_pgtable ]: Validating architecture page table helpers
[ 1.806822] usb 1-1: new high-speed USB device number 2 using dwc2
[ 1.814672] clk: Disabling unused clocks
[ 1.818655] PM: genpd: Disabling unused power domains
[ 1.823723] ALSA device list:
[ 1.826711] No soundcards found.
[ 1.831165] Freeing unused kernel image (initmem) memory: 4036K
[ 1.837140] Run /sbin/init as init process
[ 2.240642] r8152-cfgselector 1-1: reset high-speed USB device number 2 using dwc2
Please press Enter to activate this console. [ 2.509688] r8152 1-1:1.0: skip request firmware
[ 2.561263] r8152 1-1:1.0 eth0: v1.12.13
~ #
~ # ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: sit0@NONE: <NOARP> mtu 1480 qdisc noop qlen 1000
link/sit 0.0.0.0 brd 0.0.0.0
3: eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop qlen 1000
link/ether 00:e0:4c:32:04:6e brd ff:ff:ff:ff:ff:ff
~ # ip link set eth0 up
~ # [ 8.782736] r8152 1-1:1.0 eth0: carrier on
~ # [ 10.800608] random: crng init done
~ # ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: sit0@NONE: <NOARP> mtu 1480 qdisc noop qlen 1000
link/sit 0.0.0.0 brd 0.0.0.0
3: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast qlen 1000
link/ether 00:e0:4c:32:04:6e brd ff:ff:ff:ff:ff:ff
inet6 2408:8207:18a0:79c0:2e0:4cff:fe32:46e/64 scope global dynamic flags 100
valid_lft 192398sec preferred_lft 105998sec
inet6 fe80::2e0:4cff:fe32:46e/64 scope link
valid_lft forever preferred_lft forever
~ # ip addr add 10.12.10.66/24 dev eth0
~ # ip route add defualt via 10.12.10.1
~ # ping 1.1.1.1
PING 1.1.1.1 (1.1.1.1): 56 data bytes
64 bytes from 1.1.1.1: seq=0 ttl=53 time=267.527 ms
64 bytes from 1.1.1.1: seq=1 ttl=53 time=266.429 ms
64 bytes from 1.1.1.1: seq=2 ttl=53 time=265.703 ms
64 bytes from 1.1.1.1: seq=3 ttl=53 time=265.431 ms
^C
--- 1.1.1.1 ping statistics ---
4 packets transmitted, 4 packets received, 0% packet loss
round-trip min/avg/max = 265.431/266.272/267.527 ms
~ # ping6 2001:470:20::2
PING 2001:470:20::2 (2001:470:20::2): 56 data bytes
64 bytes from 2001:470:20::2: seq=0 ttl=54 time=170.604 ms
64 bytes from 2001:470:20::2: seq=1 ttl=54 time=168.467 ms
64 bytes from 2001:470:20::2: seq=2 ttl=54 time=168.951 ms
64 bytes from 2001:470:20::2: seq=3 ttl=54 time=168.756 ms
^C
--- 2001:470:20::2 ping statistics ---
4 packets transmitted, 4 packets received, 0% packet loss
round-trip min/avg/max = 168.467/169.194/170.604 ms
~ # lsusb
Bus 001 Device 001: ID 1d6b:0002
Bus 001 Device 002: ID 0bda:8152
Bus 002 Device 001: ID 1d6b:0002
~ #
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment