chainsx / armbian-riscv-build

armbian for riscv64 devices such as LicheePi 4A, MangoPi MQ Pro...
GNU General Public License v2.0
24 stars 3 forks source link

mmc1 #9

Closed iysheng closed 11 months ago

iysheng commented 1 year ago

大佬,你好,我尝试自己编译出来的 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

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

chainsx commented 1 year ago

你换张 SD 卡试试?

iysheng commented 1 year ago

你换张 SD 卡试试?

大佬,我换了一张卡,然后又去 windows 上使用 balenaEtcher 烧录了下,现在可以了。😊

iysheng commented 1 year ago

对比测试换回之前的卡1确实还是不行,但是在这个卡2上面,尝试安装 vim,出现如下错误: 重启之后就又不行了。 会不会是因为我用 typec 供电(电压不足)导致的呢?

chainsx commented 1 year ago

对比测试换回之前的卡1确实还是不行,但是在这个卡2上面,尝试安装 vim,出现如下错误: 重启之后就又不行了。 会不会是因为我用 typec 供电(电压不足)导致的呢?

根据你现在的描述,我也不知道是哪里出问题了, 这里的第一张图片看起来像是 ubuntu 软件包的问题, 如果你怀疑供电问题的话可以看看你使用的 type-c 电源适配器的功率是否达到要求。

iysheng commented 1 year ago

对比测试换回之前的卡1确实还是不行,但是在这个卡2上面,尝试安装 vim,出现如下错误: 重启之后就又不行了。 会不会是因为我用 typec 供电(电压不足)导致的呢?

根据你现在的描述,我也不知道是哪里出问题了, 这里的第一张图片看起来像是 ubuntu 软件包的问题, 如果你怀疑供电问题的话可以看看你使用的 type-c 电源适配器的功率是否达到要求。

我是直接接电脑供的电😂。大佬,你有在ubuntu这里成功安装vim么?

chainsx commented 1 year ago

在之前的测试中,是没有问题的

iysheng commented 1 year ago

在之前的测试中,是没有问题的 噢噢,那你当时是怎么给板子供电的呢?

chainsx commented 1 year ago

在之前的测试中,是没有问题的 噢噢,那你当时是怎么给板子供电的呢?

12V2A 电源适配器,但是我不确定你的问题一定出在电源上面

iysheng commented 1 year ago

在之前的测试中,是没有问题的 噢噢,那你当时是怎么给板子供电的呢?

12V2A 电源适配器,但是我不确定你的问题一定出在电源上面

嗯嗯,谢谢大佬,不知道是不是因为我这个armbian 的 img 是在 fedora 上构建出来的,导致出现这些问题。😂

iysheng commented 1 year ago

我又试了一下在普通用户下使用 sudo apt install vim 安装成功了。但是为什么 sandisk 这个 16G 卡不行,KIOXIA 这个 16G 的确可以。可能是内核的原因么?🙄

iysheng commented 1 year ago

我仔细对比了有关mmc1的打印信息: 铠侠的这个打印信息:

[    2.243088] mmc1: new ultra high speed SDR104 SDHC card at address 1234
 16 [    2.243644]  mmcblk0: p1 p2 p3
 17 [    2.247361] Key type dns_resolver registered
 18 [    2.254797] random: fast init done
 19 [    2.257429] ily 40
 20 [    2.261834] mmc2: new high speed SDIO card at address 0001
 21 [    2.265248] Loading compiled-in X.509 certificates
 22 [    2.270007] mmcblk1: mmc1:1234 SA16G 14.5 GiB

而对应闪迪的则是:

[    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
chainsx commented 1 year ago

micro SD 卡性能分等级,如果使用 micro SD 启动的话建议使用性能好一点的, 推荐使用 U3 A2 标准的 micro SD 卡

iysheng commented 1 year ago

我尝试通过 12V 2A 的适配器给板子供电发现还是不行,根据这个现象,我感觉是内核对这个卡的支持不太友好的。

chainsx commented 1 year ago

我尝试通过 12V 2A 的适配器给板子供电发现还是不行,根据这个现象,我感觉是内核对这个卡的支持不太友好的。

  1. 是 12V 2A DC 电源吗?
  2. 在其他设备使用该 micro SD 卡启动也有相同问题吗(比如说 Rockchip 开发板)? 还是只有在 LicheePi 4A 上使用有这个问题?
  3. 该卡在电脑上测试的读写速度正常吗?
  4. 如果可以的话,麻烦提供一下出问题的 micro SD 卡的信息(比如说正反面照片)。
iysheng commented 1 year ago

我尝试通过 12V 2A 的适配器给板子供电发现还是不行,根据这个现象,我感觉是内核对这个卡的支持不太友好的。

  1. 是 12V 2A DC 电源吗?
  2. 在其他设备使用该 micro SD 卡启动也有相同问题吗(比如说 Rockchip 开发板)? 还是只有在 LicheePi 4A 上使用有这个问题?
  3. 该卡在电脑上测试的读写速度正常吗?
  4. 如果可以的话,麻烦提供一下出问题的 micro SD 卡的信息(比如说正反面照片)。

感谢大佬的耐心回复:

  1. 是的 12V 2A DC 电源
  2. 这个暂未在其他平台对比测试
  3. 这部分是要用工具测试是否是 class 10么?
  4. 可以的, IMG_20231020_130456_edit_192922039962289.jpg

并且我今天编译了 edge 的 img ,因为我看有 commit 显示添加 licheepi 4a 的支持,晚上回去测试下。

chainsx commented 1 year ago

感谢你的反馈, 上游基于主线的 edge 内核不支持 micro SD 卡槽

chainsx commented 1 year ago

不建议使用该卡作为启动卡使用

iysheng commented 1 year ago

不建议使用该卡作为启动卡使用

大佬,你好,目前是更换了一个全新的同型号的 sd 卡,并参考平头哥的建议,追改了设备树 sdhci 的频率为 150000000,目前测试还算稳定。 IMG_20231110_062051.jpg

iysheng commented 12 months ago

大佬,请问你那边用 armbian 的 img 风扇转么?我这个不转噢。

chainsx commented 12 months ago

大佬,请问你那边用 armbian 的 img 风扇转么?我这个不转噢。

BSP 和主线都风扇是自动会转的

iysheng commented 12 months ago

大佬,请问你那边用 armbian 的 img 风扇转么?我这个不转噢。

BSP 和主线都风扇是自动会转的

我用的 legacy 的内核,发现风扇不转😂

chainsx commented 12 months ago

大佬,请问你那边用 armbian 的 img 风扇转么?我这个不转噢。

BSP 和主线都风扇是自动会转的

我用的 legacy 的内核,发现风扇不转😂

你是用的这个项目的还是 armbian 官方仓库的?

iysheng commented 12 months ago

大佬,请问你那边用 armbian 的 img 风扇转么?我这个不转噢。

BSP 和主线都风扇是自动会转的

我用的 legacy 的内核,发现风扇不转😂

你是用的这个项目的还是 armbian 官方仓库的?

armbian 官方仓库的

chainsx commented 12 months ago

大佬,请问你那边用 armbian 的 img 风扇转么?我这个不转噢。

BSP 和主线都风扇是自动会转的

我用的 legacy 的内核,发现风扇不转😂

你是用的这个项目的还是 armbian 官方仓库的?

那个我这边经过测试风扇也是没问题的

iysheng commented 11 months ago

大佬,请问你那边用 armbian 的 img 风扇转么?我这个不转噢。

BSP 和主线都风扇是自动会转的

我用的 legacy 的内核,发现风扇不转😂

你是用的这个项目的还是 armbian 官方仓库的?

那个我这边经过测试风扇也是没问题的

我发现是官方的内核没有放开宏CONFIG_SENSORS_PWM_FAN导致的,我提了一个pr config: boards: thead: enable pwm-fan support default #5917

chainsx commented 11 months ago

大佬,请问你那边用 armbian 的 img 风扇转么?我这个不转噢。

BSP 和主线都风扇是自动会转的

我用的 legacy 的内核,发现风扇不转😂

你是用的这个项目的还是 armbian 官方仓库的?

那个我这边经过测试风扇也是没问题的

我发现是官方的内核没有放开宏CONFIG_SENSORS_PWM_FAN导致的,我提了一个pr config: boards: thead: enable pwm-fan support default #5917

感谢提交