Code Monkey home page Code Monkey logo

armbian-riscv-build's Introduction

Rigil_Kent_chainsx

吾之名:青菜萝卜冬冬冬冬瓜

天高地迥,觉宇宙之无穷;兴尽悲来,识盈虚之有数。

I use my limited spare time to carry out my hobbies. Although they are not so beautiful, I am trying to move forward.

Everything we gain through curiosity will ultimately be tainted and corrupted by pride.

In life, 95% of things are beyond our control, but we still need to exert 5% effort to influence the 95% that we cannot decide.

Holding onto reality is not at the cost of dreams but built upon dreams!

qwqwqwq

I love everything!

I love Armbian!

I love openEuler!

I love Ubuntu!

...

希望认识更多大佬:


debian debian ubuntu fedora c bash Python java asm clion pycharm intellij-idea.svg


github contribution grid snake animation

你可能在找?

                              |/
                             _/_   <---chainsx
    +-----------------+ ____  O
    |                 ||    \
    |                 ||     \     O     O
    |   ___           ||  ___ |   /|\_  /|\_
    +--/ o \----------++-/ o \+  _/ \  _/ \
       \___/             \___/
+--------------------------------------------------------------------------------------------------------------------------
|    RISC-V
|  +-----------------------------------------------------------------------------------------------------------------------
|  |
|  |  使用 T-Head 优化编译工具链,适用于 RISC-V 的 Armbian 构建框架             (https://github.com/chainsx/armbian-riscv-build)
|  |
|  +-----------------------------------------------------------------------------------------------------------------------
|  |  TH1520 相关
|  |
|  |  thead-u-boot: Armbian, OpenWrt, Fedora 在 th1520 平台上使用的 u-boot    (https://github.com/chainsx/thead-u-boot)
|  |
|  |  openwrt-th1520: OpenWrt for TH1520 (非标准化实现)                       (https://github.com/chainsx/openwrt-th1520)
|  |
|  |  fedora-riscv-builder: RISC-V Fedora 最小化构建框架                      (https://github.com/chainsx/fedora-riscv-builder)
|  |
|  |  image-armbian-licheepi-4a: 使用 Armbian 官方构建框架自动构建镜像         (https://github.com/chainsx/image-armbian-licheepi-4a)
|  |
|  +------------------------------------------------------------------------------------------------------------------------
+---------------------------------------------------------------------------------------------------------------------------
|    openEuler
|  +------------------------------------------------------------------------------------------------------------------------
|  |  Official:
|  |  openEuler for Rockchip                                                 (https://gitee.com/openeuler/rockchip)
|  |   
|  +------------------------------------------------------------------------------------------------------------------------
|  |  Work In Progress:
|  |  The another openEuler build framwork for SBC                           (https://github.com/chainsx/openOE)
|  |
|  |  openEuler 镜像自动构建仓库                                               (https://github.com/chainsx/Rockchip-openEuler-build)
|  |
|  +-------------------------------------------------------------------------------------------------------------------------
+----------------------------------------------------------------------------------------------------------------------------
|    Others
|  +-------------------------------------------------------------------------------------------------------------------------
|  |
|  |  使用 SM4 加密的文件传输工具                                              (https://github.com/chainsx/SM4-FileTransfer)
|  |
|  |  Based on ImmortalWrt with latest LTS kernel                            (https://github.com/chainsx/openwrt)
|  |
|  |  青年大学习重命名上传指定文件夹机器人                                      (https://github.com/chainsx/BigStudyRenameBot)
|  |
|  ...
...

armbian-riscv-build's People

Contributors

chainsx avatar h1k0n avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

armbian-riscv-build's Issues

HDMI seems to be not working

Hi,

Thanks for your build with legacy kernel, it works quite well on my licheepi 4a 16g version, except that the hdmi doesn't work, while my display did work with oem image before, not sure if it's expected or not.

Here is the dmesg:

[    0.000000] Linux version 5.10.113-thead-g052b22ef8baf (root@fv-az625-794) (riscv64-unknown-linux-gnu-gcc (Xuantie-900 linux-5.10.4 glibc gcc Toolchain V2.6.1 B-20220906) 10.2.0, GNU ld (GNU Binutils) 2.35) #riscv SMP PREEMPT Sun Sep 24 07:27:33 UTC 2023
[    0.000000] earlycon: uart0 at MMIO32 0x000000ffe7014000 (options '115200n8')
[    0.000000] printk: bootconsole [uart0] enabled
[    0.000000] efi: UEFI not found.
[    0.000000] Initial ramdisk at: 0x(____ptrval____) (15966208 bytes)
[    0.000000] Reserved memory: created CMA memory pool at 0x00000003e4000000, size 320 MiB
[    0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool
[    0.000000] Zone ranges:
[    0.000000]   DMA32    [mem 0x0000000000200000-0x00000000ffffffff]
[    0.000000]   Normal   [mem 0x0000000100000000-0x00000003ffffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000200000-0x000000000fffffff]
[    0.000000]   node   0: [mem 0x0000000010000000-0x00000000166fffff]
[    0.000000]   node   0: [mem 0x0000000016700000-0x0000000016ffffff]
[    0.000000]   node   0: [mem 0x0000000017000000-0x0000000018ffffff]
[    0.000000]   node   0: [mem 0x0000000019000000-0x000000001bffffff]
[    0.000000]   node   0: [mem 0x000000001c000000-0x000000001e00ffff]
[    0.000000]   node   0: [mem 0x000000001e010000-0x000000001fffffff]
[    0.000000]   node   0: [mem 0x0000000020000000-0x00000000207fffff]
[    0.000000]   node   0: [mem 0x0000000020800000-0x0000000031ffffff]
[    0.000000]   node   0: [mem 0x0000000032000000-0x00000000383fffff]
[    0.000000]   node   0: [mem 0x0000000038400000-0x00000003ffffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000200000-0x00000003ffffffff]
[    0.000000] On node 0 totalpages: 4193792
[    0.000000]   DMA32 zone: 14329 pages used for memmap
[    0.000000]   DMA32 zone: 0 pages reserved
[    0.000000]   DMA32 zone: 1048064 pages, LIFO batch:63
[    0.000000]   Normal zone: 43008 pages used for memmap
[    0.000000]   Normal zone: 3145728 pages, LIFO batch:63
[    0.000000] software IO TLB: mapped [mem 0x00000000fbfff000-0x00000000fffff000] (64MB)
[    0.000000] SBI specification v0.3 detected
[    0.000000] SBI implementation ID=0x1 Version=0x9
[    0.000000] SBI v0.2 TIME extension detected
[    0.000000] SBI v0.2 IPI extension detected
[    0.000000] SBI v0.2 RFENCE extension detected
[    0.000000] SBI v0.2 HSM extension detected
[    0.000000] riscv: ISA extensions acdfimsuv
[    0.000000] riscv: ELF capabilities acdfimv
[    0.000000] percpu: Embedded 27 pages/cpu s72920 r8192 d29480 u110592
[    0.000000] pcpu-alloc: s72920 r8192 d29480 u110592 alloc=27*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 4136455
[    0.000000] Kernel command line: root=UUID=fe5deda8-daee-4a4d-b359-2bfbcfd2f9f2 console=ttyS0,115200 rootwait rw earlycon clk_ignore_unused loglevel=7 eth= rootrwoptions=rw,noatime rootrwreset=yes rootflags=data=writeback rw no_console_suspend consoleblank=0 fsck.fix=yes fsck.repair=yes net.ifnames=0 bootsplash.bootfile=bootsplash.armbian
[    0.000000] Dentry cache hash table entries: 2097152 (order: 12, 16777216 bytes, linear)
[    0.000000] Inode-cache hash table entries: 1048576 (order: 11, 8388608 bytes, linear)
[    0.000000] Sorting __ex_table...
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 15808828K/16775168K available (8896K kernel code, 4858K rwdata, 4096K rodata, 295K init, 394K bss, 638660K reserved, 327680K cma-reserved)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] rcu: Preemptible hierarchical RCU implementation.
[    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=4.
[    0.000000]  Trampoline variant of Tasks RCU enabled.
[    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=4
[    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[    0.000000] riscv-intc: 64 local interrupts mapped
[    0.000000] plic: interrupt-controller@ffd8000000: mapped 64 interrupts with 4 handlers for 8 contexts.
[    0.000000] random: get_random_bytes called from start_kernel+0x36e/0x4ce 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: 0x1623fa770, max_idle_ns: 881590404476 ns
[    0.000007] sched_clock: 64 bits at 3000kHz, resolution 333ns, wraps every 4398046511097ns
[    0.008719] Console: colour dummy device 80x25
[    0.013261] Calibrating delay loop (skipped), value calculated using timer frequency.. 6.00 BogoMIPS (lpj=12000)
[    0.023472] pid_max: default: 32768 minimum: 301
[    0.028402] Mount-cache hash table entries: 32768 (order: 6, 262144 bytes, linear)
[    0.036081] Mountpoint-cache hash table entries: 32768 (order: 6, 262144 bytes, linear)
[    0.046213] ASID allocator initialised with 65536 entries
[    0.051821] rcu: Hierarchical SRCU implementation.
[    0.057563] EFI services will not be available.
[    0.062590] smp: Bringing up secondary CPUs ...
[    0.070202] smp: Brought up 1 node, 4 CPUs
[    0.077578] devtmpfs: initialized
[    0.111039] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.120867] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[    0.137125] pinctrl core: initialized pinctrl subsystem
[    0.143777] NET: Registered protocol family 16
[    0.169565] DMA: preallocated 2048 KiB GFP_KERNEL pool for atomic allocations
[    0.177183] DMA: preallocated 2048 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[    0.185902] thermal_sys: Registered thermal governor 'step_wise'
[    0.186430] cpuidle: using governor ladder
[    0.196658] cpuidle: using governor menu
[    0.319401] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages
[    0.326233] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[    0.345982] SCSI subsystem initialized
[    0.350141] usbcore: registered new interface driver usbfs
[    0.355805] usbcore: registered new interface driver hub
[    0.361241] usbcore: registered new device driver usb
[    0.366997] mc: Linux media interface: v0.10
[    0.371360] videodev: Linux video capture interface: v2.00
[    0.377391] Advanced Linux Sound Architecture Driver Initialized.
[    0.384294] Bluetooth: Core ver 2.22
[    0.388021] NET: Registered protocol family 31
[    0.392512] Bluetooth: HCI device and connection manager initialized
[    0.398934] Bluetooth: HCI socket layer initialized
[    0.403847] Bluetooth: L2CAP socket layer initialized
[    0.408972] Bluetooth: SCO socket layer initialized
[    0.414781] clocksource: Switched to clocksource riscv_clocksource
[    0.542969] NET: Registered protocol family 2
[    0.548093] IP idents hash table entries: 262144 (order: 9, 2097152 bytes, linear)
[    0.568514] tcp_listen_portaddr_hash hash table entries: 8192 (order: 5, 131072 bytes, linear)
[    0.577347] TCP established hash table entries: 131072 (order: 8, 1048576 bytes, linear)
[    0.586219] TCP bind hash table entries: 65536 (order: 8, 1048576 bytes, linear)
[    0.594562] TCP: Hash tables configured (established 131072 bind 65536)
[    0.601470] UDP hash table entries: 8192 (order: 6, 262144 bytes, linear)
[    0.608509] UDP-Lite hash table entries: 8192 (order: 6, 262144 bytes, linear)
[    0.616123] NET: Registered protocol family 1
[    0.621710] Unpacking initramfs...
[    1.605725] Freeing initrd memory: 15588K
[    1.611155] khv_probe, 164, irq: 64.
[    1.616391] Initialise system trusted keyrings
[    1.621293] workingset: timestamp_bits=62 max_order=22 bucket_order=0
[    1.640820] fuse: init (API version 7.32)
[    1.734006] NET: Registered protocol family 38
[    1.738498] Key type asymmetric registered
[    1.742625] Asymmetric key parser 'x509' registered
[    1.747579] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 248)
[    1.755012] io scheduler mq-deadline registered
[    1.759602] io scheduler kyber registered
[    1.765652] light-pinctrl ffe7f3c000.pinctrl1-apsys: initialized light pinctrl driver
[    1.773995] light-pinctrl ffec007000.padctrl0-apsys: initialized light pinctrl driver
[    1.782318] light-pinctrl fffff4a000.padctrl-aosys: initialized light pinctrl driver
[    1.790468] light-pinctrl ffcb01d000.padctrl-audiosys: initialized light pinctrl driver
[    1.806708] pwm-backlight pwm-backlight@0: supply power not found, using dummy regulator
[    1.831796] light-fm-clk ffef010000.clock-controller: succeed to register light fullmask clock driver
[    1.849286] visys-clk-gate-provider soc:visys-clk-gate: succeed to register visys gate clock provider
[    1.861951] vpsys-clk-gate-provider ffecc30000.vpsys-clk-gate: succeed to register vpsys gate clock provider
[    1.880339] vosys-clk-gate-provider ffef528000.vosys-clk-gate: succeed to register vosys gate clock provider
[    1.890955] dspsys-clk-gate-provider soc:dspsys-clk-gate: cannot find regmap for tee dsp system register
[    1.904039] dspsys-clk-gate-provider soc:dspsys-clk-gate: succeed to register dspsys gate clock provider
[    1.914262] light_audiosys_clk_probe audiosys_regmap=0xffffffe108e55800
[    1.928148] audiosys-clk-gate-provider soc:audiosys-clk-gate: succeed to register audiosys gate clock provider
[    1.939242] dw_axi_dmac_platform ffefc00000.dmac: DesignWare AXI DMA Controller, 4 channels
[    1.949711] dw_axi_dmac_platform ffc8000000.audio_dmac: DesignWare AXI DMA Controller, 16 channels
[    1.959877] (NULL device *): failed to find vdmabuf_reserved_memory node
[    1.966642] virtio-vdmabuf: carveout bufs setup failed -22
[    2.084946] Serial: 8250/16550 driver, 6 ports, IRQ sharing disabled
[    2.095077] printk: console [ttyS0] disabled
[    2.099494] ffe7014000.serial: ttyS0 at MMIO 0xffe7014000 (irq = 4, base_baud = 6250000) is a 16550A
[    2.108728] printk: console [ttyS0] enabled
[    2.117168] printk: bootconsole [uart0] disabled
[    2.128316] ffe7f00000.serial: ttyS1 at MMIO 0xffe7f00000 (irq = 6, base_baud = 6250000) is a 16550A
[    2.139171] fff7f08000.serial: ttyS4 at MMIO 0xfff7f08000 (irq = 8, base_baud = 6250000) is a 16550A
[    2.157072] vs-dc ffef600000.dc8200: dpu0pll_on:0 dpu1pll_on:1
[    2.167112] vs-drm display-subsystem: bound ffef600000.dc8200 (ops 0xffffffe000c81bd8)
[    2.175332] dwhdmi-light ffef540000.dw-hdmi-tx: Detected HDMI TX controller v2.14a with HDCP (DWC HDMI 2.0 TX PHY)
[    2.185808] dwhdmi-light ffef540000.dw-hdmi-tx: failed to allocate extcon device
[    2.193414] vs-drm display-subsystem: failed to bind ffef540000.dw-hdmi-tx (ops 0xffffffe000c833a0): -12
[    2.203449] vs-drm display-subsystem: master bind failed: -12
[    2.209309] vs-drm: probe of display-subsystem failed with error -12
[    2.229303] loop: module loaded
[    2.233408] zram: Added device: zram0
[    2.239777] spi_norflash@0 enforce active low on chipselect handle
[    2.247232] spi-nor spi0.0: unrecognized JEDEC id bytes: ff ff ff ff ff ff
[    2.254221] dw_spi_mmio ffe700c000.spi: cs1 >= max 1
[    2.259252] spi_master spi0: spi_device register error /soc/spi@ffe700c000/spidev@1
[    2.266969] spi_master spi0: Failed to create SPI device for /soc/spi@ffe700c000/spidev@1
[    2.275721] spidev@0 enforce active low on chipselect handle
[    2.287840] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    2.295016] usbcore: registered new interface driver usb-storage
[    2.301318] mousedev: PS/2 mouse device common for all mice
[    2.308060] xgene-rtc fffff40000.rtc: registered as rtc0
[    2.313537] xgene-rtc fffff40000.rtc: setting system clock to 1970-01-01T00:00:01 UTC (1)
[    2.322103] i2c /dev entries driver
[    2.327537] hwmon hwmon0: temp2_input not attached to any thermal zone
[    2.334743] light_reset_deassert id:0
[    2.338486] dw_wdt ffefc30000.watchdog: No valid TOPs array specified
[    2.345685] light_reset_deassert id:1
[    2.349409] dw_wdt ffefc31000.watchdog: No valid TOPs array specified
[    2.357255] Watchdog module: light-wdt loaded
[    2.361672] Bluetooth: HCI UART driver ver 2.2.0c90be4.20211102-175223
[    2.368239] Bluetooth: HCI H4 protocol initialized
[    2.373061] Bluetooth: HCI Realtek H5 protocol initialized
[    2.378581] rtk_btcoex: rtk_btcoex_init: version: 1.2
[    2.383685] rtk_btcoex: create workqueue
[    2.387965] rtk_btcoex: alloc buffers 1792, 2432 for ev and l2
[    2.396010] sdhci: Secure Digital Host Controller Interface driver
[    2.402239] sdhci: Copyright(c) Pierre Ossman
[    2.406633] sdhci-pltfm: SDHCI platform and OF driver helper
[    2.416988] usbcore: registered new interface driver usbhid
[    2.422624] usbhid: USB HID core driver
[    2.427191] misc vhost-vdmabuf: failed to find vdmabuf_reserved_memory node
[    2.434205] misc vhost-vdmabuf: vhost-vdmabuf: carveout bufs setup failed -22
[    2.441383] misc vhost-vdmabuf: vhost-vdmabuf: init successfully
[    2.443949] mmc0: SDHCI controller on ffe7080000.sdhci [ffe7080000.sdhci] using ADMA 64-bit
[    2.449699] light-adc fffff51000.adc: Thead light adc registered.
[    2.455967] mmc1: SDHCI controller on ffe7090000.sd [ffe7090000.sd] using ADMA 64-bit
[    2.470276] [perf] T-HEAD C900 PMU v1 probed
[    2.475672] light_efuse ffff210000.efuse: succeed to register light efuse driver
[    2.492985] NET: Registered protocol family 10
[    2.498835] Segment Routing with IPv6
[    2.502644] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    2.509671] NET: Registered protocol family 17
[    2.514278] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[    2.527598] Bluetooth: RFCOMM TTY layer initialized
[    2.532584] Bluetooth: RFCOMM socket layer initialized
[    2.537797] Bluetooth: RFCOMM ver 1.11
[    2.538862] mmc2: SDHCI controller on ffe70a0000.sd [ffe70a0000.sd] using ADMA 64-bit
[    2.541699] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[    2.554961] Bluetooth: BNEP socket layer initialized
[    2.560031] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[    2.566064] Bluetooth: HIDP socket layer initialized
[    2.571129] [WLAN_RFKILL]: Enter rfkill_wlan_init
[    2.571137] sdhci-dwcmshc ffe70a0000.sd: card claims to support voltages below defined range
[    2.585111] [WLAN_RFKILL]: Enter rfkill_wlan_probe
[    2.590067] [WLAN_RFKILL]: can't find rockchip,grf property
[    2.595848] [WLAN_RFKILL]: wlan_platdata_parse_dt: wifi_chip_type = rtl8723ds
[    2.603094] [WLAN_RFKILL]: wlan_platdata_parse_dt: wifi power will enabled while kernel starting and keep on.
[    2.613102] [WLAN_RFKILL]: wlan_platdata_parse_dt: wifi power controled by gpio.
[    2.620773] [WLAN_RFKILL]: wlan_platdata_parse_dt: The ref_wifi_clk not found !
[    2.620788] mmc0: new HS400 MMC card at address 0001
[    2.628152] [WLAN_RFKILL]: rfkill_wlan_probe: init gpio
[    2.628164] [WLAN_RFKILL]: rockchip_wifi_power: 1
[    2.634081] mmcblk0: mmc0:0001 Y2P128 116 GiB
[    2.638496] [BT_RFKILL]: rfkill_get_bt_power_state: rfkill-bt driver has not Successful initialized
[    2.643617] mmcblk0boot0: mmc0:0001 Y2P128 partition 1 4.00 MiB
[    2.647800] [WLAN_RFKILL]: wifi turn on power. -1
[    2.657240] mmcblk0boot1: mmc0:0001 Y2P128 partition 2 4.00 MiB
[    2.662885] [WLAN_RFKILL]: Exit rfkill_wlan_probe
[    2.673874] mmcblk0rpmb: mmc0:0001 Y2P128 partition 3 16.0 MiB, chardev (246:0)
[    2.678558] [BT_RFKILL]: Enter rfkill_rk_init
[    2.691244] [BT_RFKILL]: bluetooth_platdata_parse_dt: uart_rts_gpios is no-in-use.
[    2.699028] [BT_RFKILL]: bluetooth_platdata_parse_dt: clk_get failed!!!.
[    2.706083] [BT_RFKILL]: bt_default device registered.
[    2.711833] 9pnet: Installing 9P2000 support
[    2.712404]  mmcblk0: p1 p2
[    2.716276] mmc2: new high speed SDIO card at address 0001
[    2.716301] Key type dns_resolver registered
[    2.719577] NET: Registered protocol family 40
[    2.734272] random: fast init done
[    2.734413] Loading compiled-in X.509 certificates

[    2.744555] ********************************************************************
[    2.752013] **     NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE           **
[    2.759475] **                                                                **
[    2.766905] **  WRITEABLE clk DebugFS SUPPORT HAS BEEN ENABLED IN THIS KERNEL **
[    2.774338] **                                                                **
[    2.781794] ** This means that this kernel is built to expose clk operations  **
[    2.789224] ** such as parent or rate setting, enabling, disabling, etc.      **
[    2.796649] ** to userspace, which may compromise security on your system.    **
[    2.804087] **                                                                **
[    2.811524] ** If you see this message and you are not debugging the          **
[    2.818948] ** kernel, report this immediately to your vendor!                **
[    2.826379] **                                                                **
[    2.833821] **     NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE           **
[    2.841246] ********************************************************************
[    2.936408] pca953x 0-0018: supply vcc not found, using dummy regulator
[    2.943340] pca953x 0-0018: using no AI
[    2.954022] pca953x 1-0018: supply vcc not found, using dummy regulator
[    2.961033] pca953x 1-0018: using no AI
[    2.970182] pca953x 3-0018: supply vcc not found, using dummy regulator
[    2.977234] pca953x 3-0018: using no AI
[    2.989671] pwm-light ffec01c000.pwm: succeed to add a pwm chip
[    2.996007] pwm-backlight pwm-backlight@0: supply power not found, using dummy regulator
[    3.005600] light_dwmac_eth ffe7070000.ethernet: IRQ eth_wake_irq not found
[    3.012681] light_dwmac_eth ffe7070000.ethernet: IRQ eth_lpi not found
[    3.019444] light_dwmac_eth ffe7070000.ethernet: Cannot get CSR clock
[    3.025994] light_dwmac_eth ffe7070000.ethernet: PTP uses main clock
[    3.032421] light_dwmac_eth ffe7070000.ethernet: no reset control found
[    3.039097] light_dwmac_eth ffe7070000.ethernet: id: 0
[    3.044278] light_dwmac_eth ffe7070000.ethernet: phy interface: 9
[    3.050527] RX clk delay: 0x0
[    3.053553] TX clk delay: 0x0
[    3.057088] light_dwmac_eth ffe7070000.ethernet: User ID: 0x10, Synopsys ID: 0x37
[    3.064675] light_dwmac_eth ffe7070000.ethernet:     DWMAC1000
[    3.070295] light_dwmac_eth ffe7070000.ethernet: DMA HW capability register supported
[    3.078168] light_dwmac_eth ffe7070000.ethernet: RX Checksum Offload Engine supported
[    3.086033] light_dwmac_eth ffe7070000.ethernet: COE Type 2
[    3.091669] light_dwmac_eth ffe7070000.ethernet: TX Checksum insertion supported
[    3.099097] light_dwmac_eth ffe7070000.ethernet: Enhanced/Alternate descriptors
[    3.106453] light_dwmac_eth ffe7070000.ethernet: Enabled extended descriptors
[    3.113638] light_dwmac_eth ffe7070000.ethernet: Ring mode enabled
[    3.119866] light_dwmac_eth ffe7070000.ethernet: Enable RX Mitigation via HW Watchdog Timer
[    3.128278] light_dwmac_eth ffe7070000.ethernet: Using 0 bits DMA width,skb alloc dma32 flag 4
[    3.218373] light_dwmac_eth ffe7060000.ethernet: IRQ eth_wake_irq not found
[    3.225533] light_dwmac_eth ffe7060000.ethernet: IRQ eth_lpi not found
[    3.232373] light_dwmac_eth ffe7060000.ethernet: Cannot get CSR clock
[    3.238976] light_dwmac_eth ffe7060000.ethernet: PTP uses main clock
[    3.245401] light_dwmac_eth ffe7060000.ethernet: no reset control found
[    3.252138] light_dwmac_eth ffe7060000.ethernet: id: 1
[    3.257341] light_dwmac_eth ffe7060000.ethernet: phy interface: 9
[    3.263645] RX clk delay: 0x0
[    3.266642] TX clk delay: 0x0
[    3.270166] light_dwmac_eth ffe7060000.ethernet: User ID: 0x10, Synopsys ID: 0x37
[    3.277741] light_dwmac_eth ffe7060000.ethernet:     DWMAC1000
[    3.283362] light_dwmac_eth ffe7060000.ethernet: DMA HW capability register supported
[    3.291233] light_dwmac_eth ffe7060000.ethernet: RX Checksum Offload Engine supported
[    3.299100] light_dwmac_eth ffe7060000.ethernet: COE Type 2
[    3.304709] light_dwmac_eth ffe7060000.ethernet: TX Checksum insertion supported
[    3.312171] light_dwmac_eth ffe7060000.ethernet: Enhanced/Alternate descriptors
[    3.319532] light_dwmac_eth ffe7060000.ethernet: Enabled extended descriptors
[    3.326706] light_dwmac_eth ffe7060000.ethernet: Ring mode enabled
[    3.332919] light_dwmac_eth ffe7060000.ethernet: Enable RX Mitigation via HW Watchdog Timer
[    3.341315] light_dwmac_eth ffe7060000.ethernet: Using 0 bits DMA width,skb alloc dma32 flag 4
[    3.658716] succeed to create power domain debugfs direntry
[    3.666562] soc_vdd_3v3_en GPIO handle specifies active low - ignored
[    3.673824] soc_lcd0_vdd33_en GPIO handle specifies active low - ignored
[    3.682253] soc_lcd0_vdd18_en GPIO handle specifies active low - ignored
[    3.690351] soc_vdd5v_se_en GPIO handle specifies active low - ignored
[    3.697773] soc_wcn33_en GPIO handle specifies active low - ignored
[    3.704980] soc_vbus_en GPIO handle specifies active low - ignored
[    3.712201] soc_avdd28_rgb GPIO handle specifies active low - ignored
[    3.720981] soc_dovdd18_rgb GPIO handle specifies active low - ignored
[    3.729416] soc_dvdd12_rgb GPIO handle specifies active low - ignored
[    3.737709] soc_avdd25_ir GPIO handle specifies active low - ignored
[    3.745641] soc_dovdd18_ir GPIO handle specifies active low - ignored
[    3.753543] soc_dvdd12_ir GPIO handle specifies active low - ignored
[    3.761419] soc_cam2_avdd25_ir GPIO handle specifies active low - ignored
[    3.769743] soc_cam2_dovdd18_ir GPIO handle specifies active low - ignored
[    3.778143] soc_cam2_dvdd12_ir GPIO handle specifies active low - ignored
[    3.814210] cpufreq: cpufreq_online: CPU0: Running at unlisted initial frequency: 750000 KHz, changing to: 800000 KHz
[    3.825300] cpu cpu0: finish to register cpufreq driver
[    3.831389] thead,light-aon-test aon:light-aon-test: Successfully registered
[    3.840709] regulator-pwr-en GPIO handle specifies active low - ignored
[    3.848680] regulator-hub-vdd12-en GPIO handle specifies active low - ignored
[    3.856669] regulator-hub-vcc5v-en GPIO handle specifies active low - ignored
[    3.869532] light-event soc:light-event: failed to set aon reservemem
[    3.876047] light-event soc:light-event: set aon reservemem failed!
[    3.882399] light-event: probe of soc:light-event failed with error -1
[    3.891567] [light_wdt_probe,329] register power off callback
[    3.897525] succeed to register light pmic watchdog
[    3.946427] alloc_contig_range: [3e4280, 3e4300) PFNs busy
[    3.957711] alloc_contig_range: [3e4280, 3e4300) PFNs busy
[    3.963643] alloc_contig_range: [3e4300, 3e4380) PFNs busy
[    3.972645] alloc_contig_range: [3e4280, 3e4300) PFNs busy
[    3.978526] alloc_contig_range: [3e4300, 3e4380) PFNs busy
[    3.984311] alloc_contig_range: [3e4380, 3e4400) PFNs busy
[    3.993193] debugfs: File 'ES8156 SDOUT' in directory 'dapm' already present!
[    4.003600] input: gpio-keys as /devices/platform/gpio-keys/input/input0
[    4.010959] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[    4.028633] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[    4.035325] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[    4.038800] clk: Not disabling unused clocks
[    4.043971] cfg80211: failed to load regulatory.db
[    4.048291] ALSA device list:
[    4.056083]   #0: Light-Sound-Card
[    4.059944] dw-apb-uart ffe7014000.serial: forbid DMA for kernel console
[    4.066828] Freeing unused kernel memory: 292K
[    4.083404] Run /init as init process
[    4.087117]   with arguments:
[    4.087123]     /init
[    4.087128]   with environment:
[    4.087133]     HOME=/
[    4.087138]     TERM=linux
[    4.087143]     eth=
[    4.087147]     rootrwoptions=rw,noatime
[    4.087153]     rootrwreset=yes
[    4.752314] dwc3-thead soc:usb@ffec03f000: hubswitch usb_role = 1
[    4.759902] dwc3-thead soc:usb@ffec03f000: light dwc3 probe ok!
[    5.042965] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
[    5.048509] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 1
[    5.056777] xhci-hcd xhci-hcd.1.auto: hcc params 0x0220fe65 hci version 0x110 quirks 0x0000000000010810
[    5.066226] xhci-hcd xhci-hcd.1.auto: irq 73, io mem 0xffe7040000
[    5.073103] hub 1-0:1.0: USB hub found
[    5.076940] hub 1-0:1.0: 1 port detected
[    5.081243] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
[    5.086802] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 2
[    5.094487] xhci-hcd xhci-hcd.1.auto: Host supports USB 3.0 SuperSpeed
[    5.101574] hub 2-0:1.0: USB hub found
[    5.105458] hub 2-0:1.0: 1 port detected
[    5.226826] raid6: int64x8  gen()  1507 MB/s
[    5.298821] raid6: int64x8  xor()  1006 MB/s
[    5.334803] usb 1-1: new high-speed USB device number 2 using xhci-hcd
[    5.370818] raid6: int64x4  gen()  2200 MB/s
[    5.442796] raid6: int64x4  xor()  1354 MB/s
[    5.514807] raid6: int64x2  gen()  2464 MB/s
[    5.581348] hub 1-1:1.0: USB hub found
[    5.585399] hub 1-1:1.0: 5 ports detected
[    5.586818] raid6: int64x2  xor()  1311 MB/s
[    5.658811] raid6: int64x1  gen()  2043 MB/s
[    5.730818] raid6: int64x1  xor()  1034 MB/s
[    5.730846] usb 2-1: new SuperSpeed Gen 1 USB device number 2 using xhci-hcd
[    5.735132] raid6: using algorithm int64x2 gen() 2464 MB/s
[    5.747689] raid6: .... xor() 1311 MB/s, rmw enabled
[    5.752666] raid6: using intx1 recovery algorithm
[    5.759417] xor: measuring software checksum speed
[    5.766051]    8regs           :  5569 MB/sec
[    5.772271]    8regs_prefetch  :  5585 MB/sec
[    5.778607]    32regs          :  5098 MB/sec
[    5.784854]    32regs_prefetch :  5313 MB/sec
[    5.789224] xor: using function: 8regs_prefetch (5585 MB/sec)
[    5.917855] hub 2-1:1.0: USB hub found
[    5.922010] hub 2-1:1.0: 4 ports detected
[    6.414870] usb 1-1.5: new high-speed USB device number 3 using xhci-hcd
[    6.648135] Btrfs loaded, crc32c=crc32c-generic
[    6.863095] EXT4-fs (mmcblk0p2): mounted filesystem with writeback data mode. Opts: data=writeback
[    7.154637] systemd[1]: System time before build time, advancing clock.
[    7.177463] systemd[1]: systemd 249.11-0ubuntu3.12 running in system mode (+PAM +AUDIT +SELINUX +APPARMOR +IMA +SMACK +SECCOMP +GCRYPT +GNUTLS +OPENSSL +ACL +BLKID +CURL +ELFUTILS +FIDO2 +IDN2 -IDN +IPTC +KMOD +LIBCRYPTSETUP +LIBFDISK +PCRE2 -PWQUALITY -P11KIT -QRENCODE +BZIP2 +LZ4 +XZ +ZLIB +ZSTD -XKBCOMMON +UTMP +SYSVINIT default-hierarchy=unified)
[    7.209650] systemd[1]: Detected architecture riscv64.
[    7.231893] systemd[1]: Hostname set to <darkgeek-licheepi4a-tianwen>.
[    7.605828] systemd[1]: Configuration file /lib/systemd/system/lpi4a-sysfan.service is marked executable. Please remove executable permission bits. Proceeding anyway.
[    7.738389] random: systemd: uninitialized urandom read (16 bytes read)
[    7.748950] systemd[1]: Queued start job for default target Graphical Interface.
[    7.757330] random: systemd: uninitialized urandom read (16 bytes read)
[    7.764952] systemd[1]: Created slice Slice /system/modprobe.
[    7.787628] random: systemd: uninitialized urandom read (16 bytes read)
[    7.798328] systemd[1]: Created slice Slice /system/serial-getty.
[    7.824397] systemd[1]: Created slice Slice /system/systemd-fsck.
[    7.851264] systemd[1]: Created slice Slice /system/wg-quick.
[    7.875843] systemd[1]: Created slice User and Session Slice.
[    7.899010] systemd[1]: Condition check resulted in Dispatch Password Requests to Console Directory Watch when bootsplash is active being skipped.
[    7.914354] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[    7.943175] systemd[1]: Condition check resulted in Arbitrary Executable File Formats File System Automount Point being skipped.
[    7.956525] systemd[1]: Reached target Local Encrypted Volumes.
[    7.980127] systemd[1]: Reached target Slice Units.
[    7.999026] systemd[1]: Reached target Swaps.
[    8.019211] systemd[1]: Reached target System Time Set.
[    8.039351] systemd[1]: Reached target Local Verity Protected Volumes.
[    8.065469] systemd[1]: Listening on RPCbind Server Activation Socket.
[    8.092762] systemd[1]: Listening on Syslog Socket.
[    8.116598] systemd[1]: Listening on fsck to fsckd communication Socket.
[    8.144750] systemd[1]: Listening on initctl Compatibility Named Pipe.
[    8.180111] systemd[1]: Condition check resulted in Journal Audit Socket being skipped.
[    8.189629] systemd[1]: Listening on Journal Socket (/dev/log).
[    8.213537] systemd[1]: Listening on Journal Socket.
[    8.239181] systemd[1]: Listening on udev Control Socket.
[    8.264862] systemd[1]: Listening on udev Kernel Socket.
[    8.287037] systemd[1]: Reached target Socket Units.
[    8.309951] systemd[1]: Mounting Huge Pages File System...
[    8.335383] systemd[1]: Mounting POSIX Message Queue File System...
[    8.348278] random: crng init done
[    8.351914] random: 7 urandom warning(s) missed due to ratelimiting
[    8.360915] systemd[1]: Mounting NFSD configuration filesystem...
[    8.388450] systemd[1]: Mounting Kernel Debug File System...
[    8.420952] systemd[1]: Mounting Kernel Trace File System...
[    8.444489] systemd[1]: Condition check resulted in Kernel Module supporting RPCSEC_GSS being skipped.
[    8.457538] systemd[1]: Starting Restore / save the current clock...
[    8.481822] systemd[1]: Starting Set the console keyboard layout...
[    8.505609] systemd[1]: Starting Create List of Static Device Nodes...
[    8.532227] RPC: Registered named UNIX socket transport module.
[    8.533589] systemd[1]: Starting Load Kernel Module configfs...
[    8.538215] RPC: Registered udp transport module.
[    8.548893] RPC: Registered tcp transport module.
[    8.548897] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    8.577878] systemd[1]: Starting Load Kernel Module drm...
[    8.601588] systemd[1]: Starting Load Kernel Module efi_pstore...
[    8.615995] Installing knfsd (copyright (C) 1996 [email protected]).
[    8.625526] systemd[1]: Starting Load Kernel Module fuse...
[    8.649507] systemd[1]: Started Nameserver information manager.
[    8.674858] systemd[1]: Reached target Preparation for Network.
[    8.695939] systemd[1]: Condition check resulted in File System Check on Root Device being skipped.
[    8.709660] systemd[1]: Starting Load Kernel Modules...
[    8.733789] systemd[1]: Starting Remount Root and Kernel File Systems...
[    8.750041] EXT4-fs (mmcblk0p2): re-mounted. Opts: commit=600,errors=remount-ro
[    8.760382] systemd[1]: Starting Coldplug All udev Devices...
[    8.789732] systemd[1]: Mounted Huge Pages File System.
[    8.811386] systemd[1]: Mounted POSIX Message Queue File System.
[    8.835331] systemd[1]: Mounted NFSD configuration filesystem.
[    8.863162] systemd[1]: Mounted Kernel Debug File System.
[    8.887665] systemd[1]: Mounted Kernel Trace File System.
[    8.916190] systemd[1]: Finished Restore / save the current clock.
[    8.944748] systemd[1]: Finished Set the console keyboard layout.
[    8.971180] systemd[1]: Finished Create List of Static Device Nodes.
[    8.996799] systemd[1]: [email protected]: Deactivated successfully.
[    9.005299] systemd[1]: Finished Load Kernel Module configfs.
[    9.031498] systemd[1]: [email protected]: Deactivated successfully.
[    9.043416] systemd[1]: Finished Load Kernel Module drm.
[    9.072584] systemd[1]: modprobe@efi_pstore.service: Deactivated successfully.
[    9.084737] systemd[1]: Finished Load Kernel Module efi_pstore.
[    9.111428] systemd[1]: [email protected]: Deactivated successfully.
[    9.122967] systemd[1]: Finished Load Kernel Module fuse.
[    9.158660] systemd[1]: Finished Load Kernel Modules.
[    9.186144] systemd[1]: Finished Remount Root and Kernel File Systems.
[    9.224364] systemd[1]: Mounting FUSE Control File System...
[    9.245099] systemd[1]: Mounting Kernel Configuration File System...
[    9.267071] systemd[1]: Condition check resulted in Platform Persistent Storage Archival being skipped.
[    9.279144] systemd[1]: Starting Load/Save Random Seed...
[    9.302720] systemd[1]: Starting Apply Kernel Variables...
[    9.325394] systemd[1]: Starting Create System Users...
[    9.343578] systemd[1]: Mounted FUSE Control File System.
[    9.359449] systemd[1]: Mounted Kernel Configuration File System.
[    9.375769] systemd[1]: Finished Load/Save Random Seed.
[    9.391895] systemd[1]: Finished Apply Kernel Variables.
[    9.407760] systemd[1]: Finished Create System Users.
[    9.423426] systemd[1]: Condition check resulted in First Boot Complete being skipped.
[    9.425919] systemd[1]: Starting Create Static Device Nodes in /dev...
[    9.450572] systemd[1]: Finished Create Static Device Nodes in /dev.
[    9.467203] systemd[1]: Reached target Preparation for Local File Systems.
[    9.485829] systemd[1]: Mounting /tmp...
[    9.499481] systemd[1]: systemd-udevd.service: unit configures an IP firewall, but the local system does not support BPF/cgroup firewalling.
[    9.499497] systemd[1]: (This warning is only shown for the first unit using IP firewalling.)
[    9.501430] systemd[1]: Starting Rule-based Manager for Device Events and Files...
[    9.521738] systemd[1]: Mounted /tmp.
[    9.586381] systemd[1]: Started Rule-based Manager for Device Events and Files.
[    9.784892] systemd[1]: Created slice Slice /system/systemd-backlight.
[    9.802174] systemd[1]: Starting Load/Save Screen Backlight Brightness of backlight:pwm-backlight@0...
[    9.822559] systemd[1]: Finished Coldplug All udev Devices.
[    9.842405] systemd[1]: Found device /dev/ttyS0.
[    9.867992] systemd[1]: Finished Load/Save Screen Backlight Brightness of backlight:pwm-backlight@0.
[   10.064915] systemd[1]: Found device /dev/disk/by-uuid/B532-C3A2.
[   10.078504] Galcore version 6.4.6.9.354872
[   10.093375] alloc_contig_range: [3e4300, 3e4700) PFNs busy
[   10.093934] alloc_contig_range: [3e4400, 3e4800) PFNs busy
[   10.094399] alloc_contig_range: [3e4500, 3e4900) PFNs busy
[   10.094891] alloc_contig_range: [3e4600, 3e4a00) PFNs busy
[   10.137460] systemd[1]: Condition check resulted in Dispatch Password Requests to Console Directory Watch when bootsplash is active being skipped.
[   10.137588] systemd[1]: Condition check resulted in Arbitrary Executable File Formats File System Automount Point being skipped.
[   10.138213] systemd[1]: Condition check resulted in Journal Audit Socket being skipped.
[   10.138496] systemd[1]: Listening on Load/Save RF Kill Switch Status /dev/rfkill Watch.
[   10.139501] [drm] Initialized vivante 1.0.0 20170808 for ffecc80000.gc620 on minor 0
[   10.158679] systemd[1]: Starting Helper to synchronize boot up for ifupdown...
[   10.178060] systemd[1]: Starting Load Kernel Module efi_pstore...
[   10.186209] systemd[1]: Condition check resulted in File System Check on Root Device being skipped.
[   10.189141] systemd[1]: Starting File System Check on /dev/disk/by-uuid/B532-C3A2...
[   10.208685] systemd[1]: Finished Helper to synchronize boot up for ifupdown.
[   10.227921] systemd[1]: modprobe@efi_pstore.service: Deactivated successfully.
[   10.228566] systemd[1]: Finished Load Kernel Module efi_pstore.
[   10.238364] systemd[1]: Started File System Check Daemon to report status.
[   10.239230] systemd[1]: Condition check resulted in Platform Persistent Storage Archival being skipped.
[   10.242657] systemd[1]: Starting Load/Save RF Kill Switch Status...
[   10.292791] [BT_RFKILL]: bt shut off power
[   10.294956] systemd[1]: Started Load/Save RF Kill Switch Status.
[   10.312726] systemd[1]: Finished File System Check on /dev/disk/by-uuid/B532-C3A2.
[   10.335328] systemd[1]: Mounting /boot...
[   10.375792] systemd[1]: Mounted /boot.
[   11.016475] systemd[1]: Reached target Local File Systems.
[   11.036259] systemd[1]: Starting Armbian ZRAM config...
[   11.060533] systemd[1]: Starting Set console font and keymap...
[   11.079347] systemd[1]: Starting Raise network interfaces...
[   11.101264] systemd[1]: Starting QEMU KVM preparation - module, ksm, hugepages...
[   11.119075] systemd[1]: Condition check resulted in RPC security service for NFS server being skipped.
[   11.119265] systemd[1]: Condition check resulted in Mark the need to relabel after reboot being skipped.
[   11.120771] systemd[1]: Condition check resulted in Set Up Additional Binary Formats being skipped.
[   11.120919] systemd[1]: Condition check resulted in Store a System Token in an EFI Variable being skipped.
[   11.121080] systemd[1]: Condition check resulted in Commit a transient machine-id on disk being skipped.
[   11.123249] systemd[1]: Finished Set console font and keymap.
[   11.140391] systemd[1]: Finished QEMU KVM preparation - module, ksm, hugepages.
[   11.250882] zram0: detected capacity change from 0 to 8270024704
[   11.290861] Adding 8076192k swap on /dev/zram0.  Priority:5 extents:1 across:8076192k SS
[   11.306876] zram: Added device: zram1
[   11.373342] systemd[1]: Finished Raise network interfaces.
[   11.377414] zram1: detected capacity change from 0 to 52428800
[   11.418090] systemd[1]: Finished Armbian ZRAM config.
[   11.448771] systemd[1]: Starting Armbian memory supported logging...
[   11.501278] EXT4-fs (zram1): mounted filesystem without journal. Opts: discard
[   11.949539] systemd[1]: Finished Armbian memory supported logging.
[   11.982634] systemd[1]: Starting Journal Service...
[   12.117611] systemd[1]: Started Journal Service.
[   12.155673] systemd-journald[612]: Received client request to flush runtime journal.
[   13.761779] tun: Universal TUN/TAP device driver, 1.6
[   14.114827] light_dwmac_eth ffe7070000.ethernet eth0: PHY [stmmac-0:01] driver [RTL8211F Gigabit Ethernet] (irq=POLL)
[   14.116365] alloc_contig_range: [3e4208, 3e420c) PFNs busy
[   14.126868] dwmac1000: Master AXI performs fixed burst length
[   14.126889] light_dwmac_eth ffe7070000.ethernet eth0: No Safety Features support found
[   14.332755] light_dwmac_eth ffe7070000.ethernet eth0: IEEE 1588-2008 Advanced Timestamp supported
[   14.334147] light_dwmac_eth ffe7070000.ethernet eth0: configuring for phy/rgmii-id link mode
[   14.422834] light_dwmac_eth ffe7060000.ethernet eth1: PHY [stmmac-0:02] driver [RTL8211F Gigabit Ethernet] (irq=POLL)
[   14.424221] alloc_contig_range: [3e4208, 3e420c) PFNs busy
[   14.426108] dwmac1000: Master AXI performs fixed burst length
[   14.426127] light_dwmac_eth ffe7060000.ethernet eth1: No Safety Features support found
[   14.636027] light_dwmac_eth ffe7060000.ethernet eth1: IEEE 1588-2008 Advanced Timestamp supported
[   14.636623] light_dwmac_eth ffe7060000.ethernet eth1: configuring for phy/rgmii-id link mode
[   18.780206] light_dwmac_eth ffe7060000.ethernet eth1: Link is Up - 1Gbps/Full - flow control rx/tx
[   18.780317] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[   35.895010] soc_dovdd18_scan: disabling
[   35.895578] soc_dvdd12_scan: disabling
[   35.896111] soc_avdd28_scan_en: disabling

官方的armbian的v6.6-rc5镜像无法正常启动

大佬,您好。我在 https://github.com/armbian/build 官方的armbian 使用了编译命令: ./compile.sh BOARD=licheepi-4a BRANCH=edge RELEASE=jammy BUILD_MINIMAL=no BUILD_DESKTOP=no KERNEL_CONFIGURE=yes COMPRESS_OUTPUTIMAGE=sha,gpg,xz. 成功编译出v6.6-rc5镜像。u-boot使用的是: https://github.com/chainsx/fedora-riscv-builder/releases 下的lpi4a-8gb-u-boot-with-spl.bin
将u-boot和镜像烧录之后,系统无法正常启动,我看到您有提交代码,您当时有在LicheePi4A上启动成功过吗?

th1520-v6.6上/sys/devices/system/cpu/cpufreq目录下没policy0

https://github.com/revyos/th1520-linux-kernel 没有提供issues 的接口, 所以我就在这里麻烦您帮忙给revy 提以下的issue了。

下图是v6.6中与cpufreq相关的内核配置选项
image

v6.6的/sys/devices/system/cpu/cpufreq目录下为空,也就意味着无法手动设置cpu的频率
image

经过当前cpu频率是747MHz , 手动无法设置成1.85GHz(看不到cpu调频策略)
image

经过初步的分析,发现v6.6上的/ drivers / cpufreq下没有对th1520 (C910)的驱动, 而在(linux5.10.113) https://github.com/revyos/thead-kernel/tree/lpi4a/drivers/cpufreq 下是有light-mpw-cpufreq.c 。

希望revy能早些将cpu频率不可设置的问题解决一下,感谢感谢。

I think "rvbian" is a good name

armbian is mostly adapted to the arm architecture of the chip, so risc-v architecture of the embedded system should be called rvbian.

荔枝派Armbian系统起不来

cacdbbda6612b838001830c6a3e8365

荔枝派,用的是自己编译出来的镜像(最新的源码) + u-boot-with-spl.bin

编译命令
sudo ./compile.sh BOARD=licheepi-4a BRANCH=current RELEASE=jammy BUILD_MINIMAL=no BUILD_DESKTOP=no KERNEL_ONLY=no KERNEL_CONFIGURE=yes COMPRESS_OUTPUTIMAGE=sha,gpg,xz

下载的源码: https://github.com/chainsx/armbian-riscv-build.git

但是用release提供的 https://github.com/chainsx/armbian-riscv-build/releases/download/20230720-1320/Armbian_23.05.15-riscv_Licheepi-4a_jammy_current_5.10.113.img.xzu-boot-with-spl.bin armbian就可以起来

编译过程提前退出,U-boot编译失败

编译日志输出:

/usr/bin/ld: scripts/dtc/dtc-parser.tab.o:(.bss+0x10): multiple definition of `yylloc'; scripts/dtc/dtc-lexer.lex.o:(.bss+0x0): first defined here
collect2: error: ld returned 1 exit status
make[2]: *** [scripts/Makefile.host:106: scripts/dtc/dtc] Error 1
make[1]: *** [scripts/Makefile.build:436: scripts/dtc] Error 2
make: *** [Makefile:571: scripts] Error 2

ATF_USE_GCC is unset

commit 6d45c52
ATF_USE_GCC is unset

[ o.k. ] Extension manager [ processed 1 Extension Methods calls and 1 Extension Method implementations ]
[ error ] ERROR in function source [ main.sh:381 -> configuration.sh:416 -> general.sh:0 ]
[ error ] Error in configuration: ATF_USE_GCC is unset
[ o.k. ] Process terminated

image

mmc1

大佬,你好,我尝试自己编译出来的 licheepi 4a 的 img,发现挂载内核的时候崩溃了,完整的打印信息如下:

brom_ver 8
[APP][E] protocol_connect failed, exit.
-----------------------------------------
  _____             _  _____ _____  _  __
 |  __ \           (_)/ ____|  __ \| |/ /
 | |__) |   _ _   _ _| (___ | |  | | ' /
 |  _  / | | | | | | |\___ \| |  | |  <
 | | \ \ |_| | |_| | |____) | |__| | . \
 |_|  \_\__,_|\__, |_|_____/|_____/|_|\_\
               __/ |
              |___/
                    -- Presented by ISCAS
-----------------------------------------
                              |/
                             _/_
    +-----------------+ ____  O
    |                 ||    \
    |                 ||     \     O     O
    |   ___   RISC-V  ||  ___ |   /|\_  /|\_
    +--/ o \----------++-/ o \+  _/ \  _/ \
       \___/             \___/

U-Boot SPL 2020.01-armbian (Oct 14 2023 - 10:42:09 +0800)
FM[1] lpddr4x dualrank freq=3733 64bit dbi_off=n sdram init
ddr initialized, jump to uboot
image has no header


U-Boot 2020.01-armbian (Oct 14 2023 - 10:42:09 +0800)

CPU:   rv64imafdcvsu
Model: T-HEAD c910 light
DRAM:  8 GiB
C910 CPU FREQ: 750MHz
AHB2_CPUSYS_HCLK FREQ: 250MHz
AHB3_CPUSYS_PCLK FREQ: 125MHz
PERISYS_AHB_HCLK FREQ: 250MHz
PERISYS_APB_PCLK FREQ: 62MHz
GMAC PLL POSTDIV FREQ: 1000MHZ
DPU0 PLL POSTDIV FREQ: 1188MHZ
DPU1 PLL POSTDIV FREQ: 1188MHZ
MMC:   sdhci@ffe7080000: 0, sd@ffe7090000: 1
Loading Environment from MMC... OK
Error reading output register
Warning: cannot get lcd-en GPIO
LCD panel cannot be found : -121
splash screen startup cost 16 ms
In:    serial
Out:   serial
Err:   serial
ethaddr: da:99:f9:cf:5b:a9
eth1addr: da:99:f9:cf:5b:aa
Net:   ethernet@ffe7070000 (eth0) using MAC address - da:99:f9:cf:5b:a9
eth0: ethernet@ffe7070000ethernet@ffe7070000:0 is connected to ethernet@ffe7070000.  Reconnecting to ethernet@ffe7060000
ethernet@ffe7060000 (eth1) using MAC address - da:99:f9:cf:5b:aa
, eth1: ethernet@ffe7060000
Hit any key to stop autoboot:  0
Light LPI4A# printenv
aon_ram_addr=0xffffef8000
arch=riscv
audio_ram_addr=0xffc0000000
baudrate=115200
board=light-c910
board_name=light-c910
boot_conf_addr_r=0xc0000000
boot_conf_file=/extlinux/extlinux.conf
bootcmd=run bootcmd_load; bootslave; sysboot mmc ${mmcdev}:${mmcbootpart} any $boot_conf_addr_r $boot_conf_file;
bootcmd_load=run mmc_select;run load_aon;run load_c906_audio; load mmc ${mmcdev}:${mmcbootpart} $opensbi_addr fw_dynamic.bin
bootdelay=2
bootfile=/extlinux/extlinux.conf
cpu=c9xx
default_mmcdev=1
eth1addr=da:99:f9:cf:5b:aa
ethaddr=da:99:f9:cf:5b:a9
fdt_addr_r=0x02400000
fdt_high=0xffffffffffffffff
fdtcontroladdr=ffba7620
fdtfile=lpi4a.dtb
fwaddr=0x10000000
kdump_buf=180M
kernel_addr_r=0x00200000
load_aon=load mmc ${mmcdev}:${mmcbootpart} $fwaddr light_aon_fpga.bin;cp.b $fwaddr $aon_ram_addr $filesize
load_c906_audio=load mmc ${mmcdev}:${mmcbootpart} $fwaddr light_c906_audio.bin;cp.b $fwaddr $audio_ram_addr $filesize
mmc_select=if test -e mmc ${default_mmcdev}:${mmcbootpart} ${boot_conf_file}; then mmcdev=1; else mmcdev=0; fi;
mmcbootpart=1
opensbi_addr=0x0
pxefile_addr_r=0x00600000
ramdisk_addr_r=0x06000000
scriptaddr=0x00500000
splashimage=0x30000000
splashpos=m,m
vendor=thead

Environment size: 1192/131068 bytes
Light LPI4A# run bootcmd
50340 bytes read in 3 ms (16 MiB/s)
6117904 bytes read in 69 ms (84.6 MiB/s)
85896 bytes read in 3 ms (27.3 MiB/s)
Retrieving file: /extlinux/extlinux.conf
389 bytes read in 2 ms (189.5 KiB/s)
1:      Armbian
Retrieving file: /uInitrd
9618150 bytes read in 107 ms (85.7 MiB/s)
Retrieving file: /Image
20505600 bytes read in 227 ms (86.1 MiB/s)
append: root=UUID=0f8ae88c-8943-4765-9ee4-adb4a1150297 console=ttyS0,115200 rootwait rw earlycon clk_ignore_unused loglevel=7 eth=$ethaddr rootrwoptions=rw,noatime rootrwreset=yes rw no_console_suspend consolebla
nk=0 fsck.fix=yes fsck.repair=yes net.ifnames=0 splash plymouth.ignore-serial-consoles
Retrieving file: /dtb/thead/th1520-lichee-pi-4a.dtb
78168 bytes read in 6 ms (12.4 MiB/s)
## Loading init Ramdisk from Legacy Image at 06000000 ...
   Image Name:   uInitrd
   Image Type:   RISC-V Linux RAMDisk Image (gzip compressed)
   Data Size:    9618086 Bytes = 9.2 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
## Flattened Device Tree blob at 02400000
   Booting using the fdt blob at 0x2400000
   Loading Ramdisk to 1f6d3000, end 1ffff2a6 ... OK
   Using Device Tree in place at 0000000002400000, end 0000000002416157

Starting kernel ...


OpenSBI v0.9
   ____                    _____ ____ _____
  / __ \                  / ____|  _ \_   _|
 | |  | |_ __   ___ _ __ | (___ | |_) || |
 | |  | | '_ \ / _ \ '_ \ \___ \|  _ < | |
 | |__| | |_) |  __/ | | |____) | |_) || |_
  \____/| .__/ \___|_| |_|_____/|____/_____|
        | |
        |_|

Platform Name             : T-HEAD Light Lichee Pi 4A configuration for 8GB DDR board
Platform Features         : mfdeleg
Platform HART Count       : 4
Platform IPI Device       : clint
Platform Timer Device     : clint
Platform Console Device   : uart8250
Platform HSM Device       : ---
Platform SysReset Device  : thead_reset
Firmware Base             : 0x0
Firmware Size             : 132 KB
Runtime SBI Version       : 0.3

Domain0 Name              : root
Domain0 Boot HART         : 0
Domain0 HARTs             : 0*,1*,2*,3*
Domain0 Region00          : 0x000000ffdc000000-0x000000ffdc00ffff (I)
Domain0 Region01          : 0x0000000000000000-0x000000000003ffff ()
Domain0 Region02          : 0x0000000000000000-0xffffffffffffffff (R,W,X)
Domain0 Next Address      : 0x0000000000200000
Domain0 Next Arg1         : 0x0000000002400000
Domain0 Next Mode         : S-mode
Domain0 SysReset          : yes

Boot HART ID              : 0
Boot HART Domain          : root
Boot HART ISA             : rv64imafdcvsux
Boot HART Features        : scounteren,mcounteren,time
Boot HART PMP Count       : 0
Boot HART PMP Granularity : 0
Boot HART PMP Address Bits: 0
Boot HART MHPM Count      : 16
Boot HART MHPM Count      : 16
Boot HART MIDELEG         : 0x0000000000000222
Boot HART MEDELEG         : 0x000000000000b109
[    0.000000] Linux version 5.10.113-legacy-thead (armbian@next) (riscv64-unknown-linux-gnu-gcc (Xuantie-900 linux-5.10.4 glibc gcc Toolchain V2.6.2 B-20230916) 10.2.0, GNU ld (GNU Binutils) 2.35) #1 SMP PREEMPT
 Mon Oct 2 22:46:00 CST 2023
[    0.000000] earlycon: uart0 at MMIO32 0x000000ffe7014000 (options '115200n8')
[    0.000000] printk: bootconsole [uart0] enabled
[    0.000000] efi: UEFI not found.
[    0.000000] Initial ramdisk at: 0x(____ptrval____) (9621504 bytes)
[    0.000000] Reserved memory: created CMA memory pool at 0x00000000e4000000, size 320 MiB
[    0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool
[    0.000000] Zone ranges:
[    0.000000]   DMA32    [mem 0x0000000000200000-0x00000000ffffffff]
[    0.000000]   Normal   [mem 0x0000000100000000-0x00000001ffffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000200000-0x000000000fffffff]
[    0.000000]   node   0: [mem 0x0000000010000000-0x00000000166fffff]
[    0.000000]   node   0: [mem 0x0000000016700000-0x0000000016ffffff]
[    0.000000]   node   0: [mem 0x0000000017000000-0x0000000018ffffff]
[    0.000000]   node   0: [mem 0x0000000019000000-0x000000001bffffff]
[    0.000000]   node   0: [mem 0x000000001c000000-0x000000001e00ffff]
[    0.000000]   node   0: [mem 0x000000001e010000-0x000000001fffffff]
[    0.000000]   node   0: [mem 0x0000000020000000-0x00000000207fffff]
[    0.000000]   node   0: [mem 0x0000000020800000-0x0000000031ffffff]
[    0.000000]   node   0: [mem 0x0000000032000000-0x00000000383fffff]
[    0.000000]   node   0: [mem 0x0000000038400000-0x00000001ffffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000200000-0x00000001ffffffff]
[    0.000000] software IO TLB: mapped [mem 0x00000000fbfff000-0x00000000fffff000] (64MB)
[    0.000000] SBI specification v0.3 detected
[    0.000000] SBI implementation ID=0x1 Version=0x9
[    0.000000] SBI v0.2 TIME extension detected
[    0.000000] SBI v0.2 IPI extension detected
[    0.000000] SBI v0.2 RFENCE extension detected
[    0.000000] SBI v0.2 HSM extension detected
[    0.000000] riscv: ISA extensions acdfimsuv
[    0.000000] riscv: ELF capabilities acdfimv
[    0.000000] percpu: Embedded 27 pages/cpu s72920 r8192 d29480 u110592
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 2067975
[    0.000000] Kernel command line: root=UUID=0f8ae88c-8943-4765-9ee4-adb4a1150297 console=ttyS0,115200 rootwait rw earlycon clk_ignore_unused loglevel=7 eth=$ethaddr rootrwoptions=rw,noatime rootrwreset=yes rw n
o_console_suspend consoleblank=0 fsck.fix=yes fsck.repair=yes net.ifnames=0 splash plymouth.ignore-serial-consoles
[    0.000000] Dentry cache hash table entries: 1048576 (order: 11, 8388608 bytes, linear)
[    0.000000] Inode-cache hash table entries: 524288 (order: 10, 4194304 bytes, linear)
[    0.000000] Sorting __ex_table...
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 7553392K/8386560K available (8902K kernel code, 4880K rwdata, 4096K rodata, 295K init, 397K bss, 505488K reserved, 327680K cma-reserved)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] rcu: Preemptible hierarchical RCU implementation.
[    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=4.
[    0.000000]  Trampoline variant of Tasks RCU enabled.
[    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=4
[    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[    0.000000] riscv-intc: 64 local interrupts mapped
[    0.000000] plic: interrupt-controller@ffd8000000: mapped 64 interrupts with 4 handlers for 8 contexts.
[    0.000000] random: get_random_bytes called from start_kernel+0x36e/0x4ce 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: 0x1623fa770, max_idle_ns: 881590404476 ns
[    0.000007] sched_clock: 64 bits at 3000kHz, resolution 333ns, wraps every 4398046511097ns
[    0.008739] Console: colour dummy device 80x25
[    0.013269] Calibrating delay loop (skipped), value calculated using timer frequency.. 6.00 BogoMIPS (lpj=12000)
[    0.023476] pid_max: default: 32768 minimum: 301
[    0.028378] Mount-cache hash table entries: 16384 (order: 5, 131072 bytes, linear)
[    0.036020] Mountpoint-cache hash table entries: 16384 (order: 5, 131072 bytes, linear)
[    0.046233] ASID allocator initialised with 65536 entries
[    0.051838] rcu: Hierarchical SRCU implementation.
[    0.057602] EFI services will not be available.
[    0.062642] smp: Bringing up secondary CPUs ...
[    0.070337] smp: Brought up 1 node, 4 CPUs
[    0.076506] devtmpfs: initialized
[    0.110443] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.120254] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[    0.136593] pinctrl core: initialized pinctrl subsystem
[    0.143288] NET: Registered protocol family 16
[    0.174011] DMA: preallocated 1024 KiB GFP_KERNEL pool for atomic allocations
[    0.182279] DMA: preallocated 1024 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[    0.191026] thermal_sys: Registered thermal governor 'step_wise'
[    0.191556] cpuidle: using governor ladder
[    0.201757] cpuidle: using governor menu
[    0.303876] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages
[    0.310702] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[    0.330669] SCSI subsystem initialized
[    0.334792] usbcore: registered new interface driver usbfs
[    0.340460] usbcore: registered new interface driver hub
[    0.345902] usbcore: registered new device driver usb
[    0.351745] mc: Linux media interface: v0.10
[    0.356126] videodev: Linux video capture interface: v2.00
[    0.362135] Advanced Linux Sound Architecture Driver Initialized.
[    0.369051] Bluetooth: Core ver 2.22
[    0.372770] NET: Registered protocol family 31
[    0.377262] Bluetooth: HCI device and connection manager initialized
[    0.383697] Bluetooth: HCI socket layer initialized
[    0.388611] Bluetooth: L2CAP socket layer initialized
[    0.393731] Bluetooth: SCO socket layer initialized
[    0.399446] clocksource: Switched to clocksource riscv_clocksource
[    0.529027] NET: Registered protocol family 2
[    0.533877] IP idents hash table entries: 131072 (order: 8, 1048576 bytes, linear)
[    0.548262] tcp_listen_portaddr_hash hash table entries: 4096 (order: 4, 65536 bytes, linear)
[    0.556983] TCP established hash table entries: 65536 (order: 7, 524288 bytes, linear)
[    0.565341] TCP bind hash table entries: 65536 (order: 8, 1048576 bytes, linear)
[    0.573681] TCP: Hash tables configured (established 65536 bind 65536)
[    0.580491] UDP hash table entries: 4096 (order: 5, 131072 bytes, linear)
[    0.587416] UDP-Lite hash table entries: 4096 (order: 5, 131072 bytes, linear)
[    0.595012] NET: Registered protocol family 1
[    0.600644] Unpacking initramfs...
[    1.119282] Freeing initrd memory: 9392K
[    1.124602] khv_probe, 164, irq: 64.
[    1.129908] Initialise system trusted keyrings
[    1.134817] workingset: timestamp_bits=62 max_order=21 bucket_order=0
[    1.154751] fuse: init (API version 7.32)
[    1.248557] NET: Registered protocol family 38
[    1.253051] Key type asymmetric registered
[    1.257176] Asymmetric key parser 'x509' registered
[    1.262142] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 248)
[    1.269568] io scheduler mq-deadline registered
[    1.274123] io scheduler kyber registered
[    1.280335] light-pinctrl ffe7f3c000.pinctrl1-apsys: initialized light pinctrl driver
[    1.288662] light-pinctrl ffec007000.padctrl0-apsys: initialized light pinctrl driver
[    1.296991] light-pinctrl fffff4a000.padctrl-aosys: initialized light pinctrl driver
[    1.305153] light-pinctrl ffcb01d000.padctrl-audiosys: initialized light pinctrl driver
[    1.321658] pwm-backlight pwm-backlight@0: supply power not found, using dummy regulator
[    1.345889] light-fm-clk ffef010000.clock-controller: succeed to register light fullmask clock driver
[    1.362995] visys-clk-gate-provider soc:visys-clk-gate: succeed to register visys gate clock provider
[    1.375512] vpsys-clk-gate-provider ffecc30000.vpsys-clk-gate: succeed to register vpsys gate clock provider
[    1.393611] vosys-clk-gate-provider ffef528000.vosys-clk-gate: succeed to register vosys gate clock provider
[    1.404176] dspsys-clk-gate-provider soc:dspsys-clk-gate: cannot find regmap for tee dsp system register
[    1.417116] dspsys-clk-gate-provider soc:dspsys-clk-gate: succeed to register dspsys gate clock provider
[    1.427309] light_audiosys_clk_probe audiosys_regmap=0xffffffe1021c0800
[    1.441010] audiosys-clk-gate-provider soc:audiosys-clk-gate: succeed to register audiosys gate clock provider
[    1.452168] dw_axi_dmac_platform ffefc00000.dmac: DesignWare AXI DMA Controller, 4 channels
[    1.462809] dw_axi_dmac_platform ffc8000000.audio_dmac: DesignWare AXI DMA Controller, 16 channels
[    1.472975] (NULL device *): failed to find vdmabuf_reserved_memory node
[    1.479750] virtio-vdmabuf: carveout bufs setup failed -22
[    1.600247] Serial: 8250/16550 driver, 6 ports, IRQ sharing disabled
[    1.610357] printk: console [ttyS0] disabled
[    1.614776] ffe7014000.serial: ttyS0 at MMIO 0xffe7014000 (irq = 4, base_baud = 6250000) is a 16550A
[    1.624000] printk: console [ttyS0] enabled
[    1.624000] printk: console [ttyS0] enabled
[    1.632431] printk: bootconsole [uart0] disabled
[    1.632431] printk: bootconsole [uart0] disabled
[    1.643529] ffe7f00000.serial: ttyS1 at MMIO 0xffe7f00000 (irq = 6, base_baud = 6250000) is a 16550A
[    1.654312] fff7f08000.serial: ttyS4 at MMIO 0xfff7f08000 (irq = 8, base_baud = 6250000) is a 16550A
[    1.675663] vs-dc ffef600000.dc8200: dpu0pll_on:0 dpu1pll_on:1
[    1.686031] vs-drm display-subsystem: bound ffef600000.dc8200 (ops 0xffffffe000c81c18)
[    1.694265] dwhdmi-light ffef540000.dw-hdmi-tx: Detected HDMI TX controller v2.14a with HDCP (DWC HDMI 2.0 TX PHY)
[    1.704741] dwhdmi-light ffef540000.dw-hdmi-tx: failed to allocate extcon device
[    1.712355] vs-drm display-subsystem: failed to bind ffef540000.dw-hdmi-tx (ops 0xffffffe000c833e0): -12
[    1.722383] vs-drm display-subsystem: master bind failed: -12
[    1.728230] vs-drm: probe of display-subsystem failed with error -12
[    1.749294] loop: module loaded
[    1.753425] zram: Added device: zram0
[    1.760072] spi_norflash@0 enforce active low on chipselect handle
[    1.767653] spi-nor spi0.0: unrecognized JEDEC id bytes: ff ff ff ff ff ff
[    1.774650] dw_spi_mmio ffe700c000.spi: cs1 >= max 1
[    1.779681] spi_master spi0: spi_device register error /soc/spi@ffe700c000/spidev@1
[    1.787397] spi_master spi0: Failed to create SPI device for /soc/spi@ffe700c000/spidev@1
[    1.796177] spidev@0 enforce active low on chipselect handle
[    1.809300] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    1.816749] usbcore: registered new interface driver usb-storage
[    1.823184] mousedev: PS/2 mouse device common for all mice
[    1.830004] xgene-rtc fffff40000.rtc: registered as rtc0
[    1.835527] xgene-rtc fffff40000.rtc: setting system clock to 1970-01-01T00:00:00 UTC (0)
[    1.844115] i2c /dev entries driver
[    1.849641] hwmon hwmon0: temp2_input not attached to any thermal zone
[    1.856866] light_reset_deassert id:0
[    1.860593] dw_wdt ffefc30000.watchdog: No valid TOPs array specified
[    1.868020] light_reset_deassert id:1
[    1.871750] dw_wdt ffefc31000.watchdog: No valid TOPs array specified
[    1.879860] Watchdog module: light-wdt loaded
[    1.884271] Bluetooth: HCI UART driver ver 2.2.0c90be4.20211102-175223
[    1.890838] Bluetooth: HCI H4 protocol initialized
[    1.895665] Bluetooth: HCI Realtek H5 protocol initialized
[    1.901203] rtk_btcoex: rtk_btcoex_init: version: 1.2
[    1.906287] rtk_btcoex: create workqueue
[    1.910561] rtk_btcoex: alloc buffers 1792, 2432 for ev and l2
[    1.918636] sdhci: Secure Digital Host Controller Interface driver
[    1.924887] sdhci: Copyright(c) Pierre Ossman
[    1.929281] sdhci-pltfm: SDHCI platform and OF driver helper
[    1.938760] usbcore: registered new interface driver usbhid
[    1.944407] usbhid: USB HID core driver
[    1.948958] misc vhost-vdmabuf: failed to find vdmabuf_reserved_memory node
[    1.955980] misc vhost-vdmabuf: vhost-vdmabuf: carveout bufs setup failed -22
[    1.963152] misc vhost-vdmabuf: vhost-vdmabuf: init successfully
[    1.967390] mmc0: SDHCI controller on ffe7080000.sdhci [ffe7080000.sdhci] using ADMA 64-bit
[    1.971635] light-adc fffff51000.adc: Thead light adc registered.
[    1.972883] mmc1: SDHCI controller on ffe7090000.sd [ffe7090000.sd] using ADMA 64-bit
[    1.993296] [perf] T-HEAD C900 PMU v1 probed
[    1.998577] light_efuse ffff210000.efuse: succeed to register light efuse driver
[    2.016742] NET: Registered protocol family 10
[    2.022930] Segment Routing with IPv6
[    2.026804] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    2.033703] NET: Registered protocol family 17
[    2.038286] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[    2.042617] mmc0: new HS400 MMC card at address 0001
[    2.045297] mmc1: new ultra high speed SDR104 SDHC card at address 0001
[    2.051687] Bluetooth: RFCOMM TTY layer initialized
[    2.051988] mmcblk1: mmc1:0001 00000 14.9 GiB
[    2.057298] mmcblk0: mmc0:0001 8GTF4R 7.28 GiB
[    2.059549] mmc2: SDHCI controller on ffe70a0000.sd [ffe70a0000.sd] using ADMA 64-bit
[    2.063094] Bluetooth: RFCOMM socket layer initialized
[    2.065009] sdhci-dwcmshc ffe70a0000.sd: card claims to support voltages below defined range
[    2.068430] mmcblk0boot0: mmc0:0001 8GTF4R partition 1 4.00 MiB
[    2.072596] Bluetooth: RFCOMM ver 1.11
[    2.077025] random: fast init done
[    2.077639] mmcblk0boot1: mmc0:0001 8GTF4R partition 2 4.00 MiB
[    2.079516] mmc2: new high speed SDIO card at address 0001
[    2.085020] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[    2.090573] mmcblk0rpmb: mmc0:0001 8GTF4R partition 3 512 KiB, chardev (246:0)
[    2.098675] Bluetooth: BNEP socket layer initialized
[    2.098695] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[    2.098710] Bluetooth: HIDP socket layer initialized
[    2.112523]  mmcblk0: p1 p2 p3
[    2.117852] [WLAN_RFKILL]: Enter rfkill_wlan_init
[    2.118709] [WLAN_RFKILL]: Enter rfkill_wlan_probe
[    2.164701] [WLAN_RFKILL]: can't find rockchip,grf property
[    2.170411] [WLAN_RFKILL]: wlan_platdata_parse_dt: wifi_chip_type = rtl8723ds
[    2.177673] [WLAN_RFKILL]: wlan_platdata_parse_dt: wifi power will enabled while kernel starting and keep on.
[    2.187695] [WLAN_RFKILL]: wlan_platdata_parse_dt: wifi power controled by gpio.
[    2.195241] [WLAN_RFKILL]: wlan_platdata_parse_dt: The ref_wifi_clk not found !
[    2.196831] blk_update_request: I/O error, dev mmcblk1, sector 2 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
[    2.202647] [WLAN_RFKILL]: rfkill_wlan_probe: init gpio
[    2.214821] Buffer I/O error on dev mmcblk1, logical block 0, async page read
[    2.218115] [WLAN_RFKILL]: rockchip_wifi_power: 1
[    2.218127] [BT_RFKILL]: rfkill_get_bt_power_state: rfkill-bt driver has not Successful initialized
[    2.218139] [WLAN_RFKILL]: wifi turn on power. -1
[    2.218151] [WLAN_RFKILL]: Exit rfkill_wlan_probe
[    2.248825] [BT_RFKILL]: Enter rfkill_rk_init
[    2.254089] [BT_RFKILL]: bluetooth_platdata_parse_dt: uart_rts_gpios is no-in-use.
[    2.261826] [BT_RFKILL]: bluetooth_platdata_parse_dt: clk_get failed!!!.
[    2.268891] [BT_RFKILL]: bt_default device registered.
[    2.274602] 9pnet: Installing 9P2000 support
[    2.279068] Key type dns_resolver registered
[    2.284147] NET: Registered protocol family 40
[    2.289422] Loading compiled-in X.509 certificates
[    2.294750]
[    2.296404] ********************************************************************
[    2.303921] **     NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE           **
[    2.311375] **                                                                **
[    2.317783] blk_update_request: I/O error, dev mmcblk1, sector 2 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
[    2.318839] **  WRITEABLE clk DebugFS SUPPORT HAS BEEN ENABLED IN THIS KERNEL **
[    2.331043] Buffer I/O error on dev mmcblk1, logical block 0, async page read
[    2.336482] **                                                                **
[    2.336494] ** This means that this kernel is built to expose clk operations  **
[    2.336498] ** such as parent or rate setting, enabling, disabling, etc.      **
[    2.336509] ** to userspace, which may compromise security on your system.    **
[    2.336513] **                                                                **
[    2.336522] ** If you see this message and you are not debugging the          **
[    2.343858]  mmcblk1: unable to read partition table
[    2.351118] ** kernel, report this immediately to your vendor!                **
[    2.351128] **                                                                **
[    2.351139] **     NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE           **
[    2.351148] ********************************************************************
[    2.512722] pca953x 0-0018: supply vcc not found, using dummy regulator
[    2.519724] pca953x 0-0018: using no AI
[    2.527293] pca953x 1-0018: supply vcc not found, using dummy regulator
[    2.534314] pca953x 1-0018: using no AI
[    2.543335] pca953x 3-0018: supply vcc not found, using dummy regulator
[    2.550395] pca953x 3-0018: using no AI
[    2.562406] pwm-light ffec01c000.pwm: succeed to add a pwm chip
[    2.568764] pwm-backlight pwm-backlight@0: supply power not found, using dummy regulator
[    2.578288] light_dwmac_eth ffe7070000.ethernet: IRQ eth_wake_irq not found
[    2.585362] light_dwmac_eth ffe7070000.ethernet: IRQ eth_lpi not found
[    2.592145] light_dwmac_eth ffe7070000.ethernet: Cannot get CSR clock
[    2.598663] light_dwmac_eth ffe7070000.ethernet: PTP uses main clock
[    2.605073] light_dwmac_eth ffe7070000.ethernet: no reset control found
[    2.611761] light_dwmac_eth ffe7070000.ethernet: id: 0
[    2.616946] light_dwmac_eth ffe7070000.ethernet: phy interface: 9
[    2.623191] RX clk delay: 0x0
[    2.626209] TX clk delay: 0x0
[    2.629696] light_dwmac_eth ffe7070000.ethernet: User ID: 0x10, Synopsys ID: 0x37
[    2.637263] light_dwmac_eth ffe7070000.ethernet:     DWMAC1000
[    2.642876] light_dwmac_eth ffe7070000.ethernet: DMA HW capability register supported
[    2.650759] light_dwmac_eth ffe7070000.ethernet: RX Checksum Offload Engine supported
[    2.658644] light_dwmac_eth ffe7070000.ethernet: COE Type 2
[    2.664293] light_dwmac_eth ffe7070000.ethernet: TX Checksum insertion supported
[    2.671735] light_dwmac_eth ffe7070000.ethernet: Enhanced/Alternate descriptors
[    2.679083] light_dwmac_eth ffe7070000.ethernet: Enabled extended descriptors
[    2.686266] light_dwmac_eth ffe7070000.ethernet: Ring mode enabled
[    2.692497] light_dwmac_eth ffe7070000.ethernet: Enable RX Mitigation via HW Watchdog Timer
[    2.700919] light_dwmac_eth ffe7070000.ethernet: Using 0 bits DMA width,skb alloc dma32 flag 4
[    2.792814] light_dwmac_eth ffe7060000.ethernet: IRQ eth_wake_irq not found
[    2.799953] light_dwmac_eth ffe7060000.ethernet: IRQ eth_lpi not found
[    2.806758] light_dwmac_eth ffe7060000.ethernet: Cannot get CSR clock
[    2.813266] light_dwmac_eth ffe7060000.ethernet: PTP uses main clock
[    2.819664] light_dwmac_eth ffe7060000.ethernet: no reset control found
[    2.826327] light_dwmac_eth ffe7060000.ethernet: id: 1
[    2.831517] light_dwmac_eth ffe7060000.ethernet: phy interface: 9
[    2.837721] RX clk delay: 0x0
[    2.840728] TX clk delay: 0x0
[    2.844061] light_dwmac_eth ffe7060000.ethernet: User ID: 0x10, Synopsys ID: 0x37
[    2.851597] light_dwmac_eth ffe7060000.ethernet:     DWMAC1000
[    2.857213] light_dwmac_eth ffe7060000.ethernet: DMA HW capability register supported
[    2.865074] light_dwmac_eth ffe7060000.ethernet: RX Checksum Offload Engine supported
[    2.872983] light_dwmac_eth ffe7060000.ethernet: COE Type 2
[    2.878621] light_dwmac_eth ffe7060000.ethernet: TX Checksum insertion supported
[    2.886050] light_dwmac_eth ffe7060000.ethernet: Enhanced/Alternate descriptors
[    2.893389] light_dwmac_eth ffe7060000.ethernet: Enabled extended descriptors
[    2.900555] light_dwmac_eth ffe7060000.ethernet: Ring mode enabled
[    2.906769] light_dwmac_eth ffe7060000.ethernet: Enable RX Mitigation via HW Watchdog Timer
[    2.915151] light_dwmac_eth ffe7060000.ethernet: Using 0 bits DMA width,skb alloc dma32 flag 4
[    3.205517] succeed to create power domain debugfs direntry
[    3.213493] soc_vdd_3v3_en GPIO handle specifies active low - ignored
[    3.220791] soc_lcd0_vdd33_en GPIO handle specifies active low - ignored
[    3.229212] soc_lcd0_vdd18_en GPIO handle specifies active low - ignored
[    3.237306] soc_vdd5v_se_en GPIO handle specifies active low - ignored
[    3.244679] soc_wcn33_en GPIO handle specifies active low - ignored
[    3.252020] soc_vbus_en GPIO handle specifies active low - ignored
[    3.259247] soc_avdd28_rgb GPIO handle specifies active low - ignored
[    3.268021] soc_dovdd18_rgb GPIO handle specifies active low - ignored
[    3.276470] soc_dvdd12_rgb GPIO handle specifies active low - ignored
[    3.284763] soc_avdd25_ir GPIO handle specifies active low - ignored
[    3.292665] soc_dovdd18_ir GPIO handle specifies active low - ignored
[    3.300619] soc_dvdd12_ir GPIO handle specifies active low - ignored
[    3.308593] soc_cam2_avdd25_ir GPIO handle specifies active low - ignored
[    3.316942] soc_cam2_dovdd18_ir GPIO handle specifies active low - ignored
[    3.325406] soc_cam2_dvdd12_ir GPIO handle specifies active low - ignored
[    3.361076] cpufreq: cpufreq_online: CPU0: Running at unlisted initial frequency: 750000 KHz, changing to: 800000 KHz
[    3.372151] cpu cpu0: finish to register cpufreq driver
[    3.378235] thead,light-aon-test aon:light-aon-test: Successfully registered
[    3.387683] regulator-pwr-en GPIO handle specifies active low - ignored
[    3.395655] regulator-hub-vdd12-en GPIO handle specifies active low - ignored
[    3.403678] regulator-hub-vcc5v-en GPIO handle specifies active low - ignored
[    3.416215] light-event soc:light-event: failed to set aon reservemem
[    3.422733] light-event soc:light-event: set aon reservemem failed!
[    3.429149] light-event: probe of soc:light-event failed with error -1
[    3.454032] input: gpio-keys as /devices/platform/gpio-keys/input/input0
[    3.462224] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[    3.481016] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[    3.487846] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[    3.491502] clk: Not disabling unused clocks
[    3.496536] cfg80211: failed to load regulatory.db
[    3.505778] ALSA device list:
[    3.508814]   No soundcards found.
[    3.513034] dw-apb-uart ffe7014000.serial: forbid DMA for kernel console
[    3.520081] Freeing unused kernel memory: 292K
[    3.561649] Run /init as init process
Loading, please wait...
Starting version 249.11-0ubuntu3.10
[    4.218991] dwc3-thead soc:usb@ffec03f000: hubswitch usb_role = 1
[    4.226989] dwc3-thead soc:usb@ffec03f000: light dwc3 probe ok!
[    4.319919] blk_update_request: I/O error, dev mmcblk1, sector 2 op 0x0:(READ) flags 0x80700 phys_seg 1 prio class 0
[    4.400961] blk_update_request: I/O error, dev mmcblk1, sector 2 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
[    4.413329] Buffer I/O error on dev mmcblk1, logical block 0, async page read
[    4.461887] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
[    4.467529] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 1
[    4.475794] xhci-hcd xhci-hcd.1.auto: hcc params 0x0220fe65 hci version 0x110 quirks 0x0000000000010810
[    4.485289] xhci-hcd xhci-hcd.1.auto: irq 73, io mem 0xffe7040000
[    4.492320] hub 1-0:1.0: USB hub found
[    4.496137] hub 1-0:1.0: 1 port detected
[    4.500445] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
[    4.506008] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 2
[    4.513781] xhci-hcd xhci-hcd.1.auto: Host supports USB 3.0 SuperSpeed
[    4.520917] hub 2-0:1.0: USB hub found
[    4.524780] hub 2-0:1.0: 1 port detected
Begin: Loading essential drivers ... done.
Begin: Running /scripts/init-premount ... done.
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
Begin: Running /scripts/local-premount ... done.
[    4.756120] usb 1-1: new high-speed USB device number 2 using xhci-hcd
[    4.969717] hub 1-1:1.0: USB hub found
[    4.974010] hub 1-1:1.0: 5 ports detected
[    5.065689] usb 2-1: new SuperSpeed Gen 1 USB device number 2 using xhci-hcd
[    5.257733] hub 2-1:1.0: USB hub found
[    5.262257] hub 2-1:1.0: 4 ports detected
[    5.743760] usb 1-1.5: new high-speed USB device number 3 using xhci-hcd

[   33.848143] soc_dovdd18_scan: disabling
[   33.852663] soc_dvdd12_scan: disabling
[   33.857021] soc_avdd28_scan_en: disabling
[   34.803453] blk_update_request: I/O error, dev mmcblk1, sector 2 op 0x0:(READ) flags 0x80700 phys_seg 1 prio class 0
[   34.884642] blk_update_request: I/O error, dev mmcblk1, sector 2 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
[   34.897598] Buffer I/O error on dev mmcblk1, logical block 0, async page read
[   35.037093] random: crng init done
[   35.066934] blk_update_request: I/O error, dev mmcblk1, sector 2 op 0x0:(READ) flags 0x80700 phys_seg 1 prio class 0
[   35.149305] blk_update_request: I/O error, dev mmcblk1, sector 2 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
[   35.161189] Buffer I/O error on dev mmcblk1, logical block 0, async page read
[   35.366591] blk_update_request: I/O error, dev mmcblk1, sector 2 op 0x0:(READ) flags 0x80700 phys_seg 1 prio class 0
[   35.447639] blk_update_request: I/O error, dev mmcblk1, sector 2 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
[   35.460252] Buffer I/O error on dev mmcblk1, logical block 0, async page read
[   35.626504] blk_update_request: I/O error, dev mmcblk1, sector 2 op 0x0:(READ) flags 0x80700 phys_seg 1 prio class 0
[   35.707683] blk_update_request: I/O error, dev mmcblk1, sector 2 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
[   35.720579] Buffer I/O error on dev mmcblk1, logical block 0, async page read
Begin: Waiting for root file system ... Begin: Running /scripts/local-block ... done.
[   36.948267] blk_update_request: I/O error, dev mmcblk1, sector 2 op 0x0:(READ) flags 0x80700 phys_seg 1 prio class 0
[   37.052224] blk_update_request: I/O error, dev mmcblk1, sector 2 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
[   37.064172] Buffer I/O error on dev mmcblk1, logical block 0, async page read
[   37.334198] Buffer I/O error on dev mmcblk1, logical block 0, async page read
[   37.592311] Buffer I/O error on dev mmcblk1, logical block 0, async page read
[   37.854798] Buffer I/O error on dev mmcblk1, logical block 0, async page read
done.
[   38.108604] Buffer I/O error on dev mmcblk1, logical block 0, async page read
[   38.388883] Buffer I/O error on dev mmcblk1, logical block 0, async page read
Gave up waiting for root file system device.  Common problems:
 - Boot args (cat /proc/cmdline)
   - Check rootdelay= (did the system wait long enough?)
 - Missing modules (cat /proc/modules; ls /dev)
ALERT!  UUID=0f8ae88c-8943-4765-9ee4-adb4a1150297 does not exist.  Dropping to a shell!


BusyBox v1.30.1 (Ubuntu 1:1.30.1-7ubuntu3) built-in shell (ash)
Enter 'help' for a list of built-in commands.

(initramfs)
(initramfs)
(initramfs) blkid
[  169.230947] print_req_error: 14 callbacks suppressed
[  169.230962] blk_update_request: I/O error, dev mmcblk1, sector 2 op 0x0:(READ) flags 0x80700 phys_seg 1 prio class 0
[  169.317893] blk_update_request: I/O error, dev mmcblk1, sector 2 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
[  169.329764] buffer_io_error: 2 callbacks suppressed
[  169.329776] Buffer I/O error on dev mmcblk1, logical block 0, async page read
/dev/mmcblk0p3: UUID="11916cd5-e867-4875-a1c0-7db62a9edd01" BLOCK_SIZE="4096" TYPE="ext4" PARTLABEL="root" PARTUUID="80a5a8e9-c744-491a-93c1-4f4194fd690a"
/dev/mmcblk0p2: UUID="664f9974-5b46-44df-be9f-f0ba079c2528" BLOCK_SIZE="1024" TYPE="ext4" PARTLABEL="boot" PARTUUID="78ef601c-5f18-4230-83fd-411c1b03c05d"
/dev/mmcblk0p1: PARTLABEL="table" PARTUUID="8ae7e655-2183-4bab-a612-76aadf216e6e"
(initramfs) ls /dev/mmcblk
mmcblk0       mmcblk0boot1  mmcblk0p2     mmcblk0rpmb
mmcblk0boot0  mmcblk0p1     mmcblk0p3     mmcblk1
(initramfs) ls /dev/mmcblk1
/dev/mmcblk1
(initramfs) 49;13R
sh: 49: not found
sh: 13R: not found
(initramfs)
(initramfs) /scripts/
functions        init-top/        local-premount/  panic/
init-bottom/     local            nfs
(initramfs) /scripts/

希望大佬能给一点指点,为什么会报错:
mmcblk1: unable to read partition table
我用的是命令进行烧录的了:

▸ sudo dd if=/tmp/Armbian_23.11.0-trunk_Licheepi-4a_jammy_legacy_5.10.113_minimal.img of=/dev/sdh bs=1M status=progress
[sudo] password for red:
1145044992 bytes (1.1 GB, 1.1 GiB) copied, 43 s, 26.5 MB/s
276+0 records in
276+0 records out
1157627904 bytes (1.2 GB, 1.1 GiB) copied, 44.0148 s, 26.3 MB/s

请问是不是我烧录的手法不对啊?😂

6.6-rc5内核的perf使用硬件事件(cpu-cycles)异常

大佬,您好。我在 https://github.com/armbian/build 官方的armbian 使用了编译命令: ./compile.sh BOARD=licheepi-4a BRANCH=edge RELEASE=jammy BUILD_MINIMAL=no BUILD_DESKTOP=no KERNEL_CONFIGURE=yes COMPRESS_OUTPUTIMAGE=sha,gpg,xz. 成功编译出v6.6-rc5镜像。u-boot使用的是: https://github.com/chainsx/fedora-riscv-builder/releases 下的lpi4a-8gb-u-boot-with-spl.bin
最后通过UMS将镜像刷入到eMMC. 6.6-rc5内核可以正常启动。

6.6-rc5内核编译选项: CONFIG_PERF_EVENTS、CONFIG_KALLSYMS、CONFIG_KALLSYMS_ALL
CONFIG_FRAME_POINTER 、CONFIG_STACKTRACE、CONFIG_ERRATA_THEAD、CONFIG_ERRATA_THEAD_PMU、CONFIG_RISCV_PMU、CONFIG_RISCV_PMU_LEGACY、CONFIG_RISCV_PMU_SBI 等选项已经打开

下载内核源码,用于编译perf
git clone -b th1520-v6.6-rc5 https://github.com/revyos/th1520-linux-kernel.git

hackbench下载源码:https://github.com/FraSharp/hackbench
git clone https://github.com/FraSharp/hackbench.git

hackbench编译: gcc -static -O0 -g -fno-omit-frame-pointer hackbench.c -o hackbench -lpthread

perf record -e cpu-cycles -g ./hackbench 测试程序时,无法采集到调用栈 [硬件事件PMU 异常]
perf record -e cpu-clock -g ./hackbench 测试程序时,可以采集到调用栈 [软件事件正常]
image

v6.6-rc5内核启动中OpenSBI v1.3 启动信息表明:Platform PMU Device : ---
image

v6.6-rc5与PMU相关的启动信息
image

目前,我猜测是 OpenSBI 的问题。大佬,你给看看呢?

内核源码无法自定义修改

您好,当前执行在Licheepi4A上执行sudo ./compile.sh BOARD=licheepi-4a BRANCH=current RELEASE=jammy BUILD_MINIMAL=no BUILD_DESKTOP=no KERNEL_ONLY=no KERNEL_CONFIGURE=yes COMPRESS_OUTPUTIMAGE=sha,gpg,xz 正常编译之后,修改内核源码,再次执行sudo ./compile.sh BOARD=licheepi-4a BRANCH=current RELEASE=jammy BUILD_MINIMAL=no BUILD_DESKTOP=no KERNEL_ONLY=no KERNEL_CONFIGURE=yes COMPRESS_OUTPUTIMAGE=sha,gpg,xz编译命令,发现自己本地修改的内核源码又和远程的内核源码对齐了,自己的修改被 还原了。能否优化一下项目,使其在第一次执行编译命令拉取交叉编译工具链、内核源码之后,第二次执行时,不再去拉取。使用户可以自定义修改内核源码。

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.