#include<fcntl.h>// 包含open()函数的头文件intmain(){intfd=open("/sys/kernel/debug/mmc0/ios",O_RDONLY);// 打开文件,并以只读模式打开// 检查文件是否成功打开if(fd==-1){perror("无法打开文件");return1;}// 读取文件内容// 处理文件内容// 关闭文件close(fd
路径:/sys/kernel/debug/mmc0 [root@szclou mmc0]$ls clock completed_events ios mmc0:0001 pending_events regs req state 1. 2. [root@szclou mmc0]$cat ios clock: 25000000 Hz vdd: 21 (3.3 ~ 3.4 V) bus mode: 2 (push-pull) chip select: 0 (don't care) power mode: 2 (on) bus w...
[1858][AUTO DEBUG] rank 0 page size = 2 KB [1862]DRAM BOOT DRIVE INFO: V0.33 [1865]DRAM CLK = 936 MHz [1868]DRAM Type = 3 (2:DDR2,3:DDR3) [1871]DRAMC read ODT off. [1873]DRAM ODT value: 0x42. [1876]ddr_efuse_type: 0xa ...
This framework supports MMC, NAND and YMODEM loading of U-Boot and NAND NAND loading of the Linux Kernel. CONFIG_SPL_DISPLAY_PRINT For ARM, enable an optional function to print more information about the running system. CONFIG_SPL_INIT_MINIMAL Arch init code should be built for a very ...
mfi0: 4629 (boot + 5s/0x0020/info) - Package version 20.13.3-0001 mfi0: 4630 (boot + 5s/0x0020/info) - Board Revision A06 mfi0: 4631 (boot + 32s/0x0004/info) - Enclosure PD 20(c None/p1) communication restored mfi0: 4632 (boot + 32s/0x0002/info) - Inserted: Encl PD...
\r16m\rtl8189es_r16m\lichee\tools\pack\chips\sun8iw5p1\configs\default\env.cfg #kernel command arguments console=ttyS0,115200 nand_root=/dev/nandd mmc_root=/dev/mmcblk0p7 init=/init loglevel=8 #set kernel cmdline if boot.img or recovery.img has no cmdline we will use this setargs...
kernel, based on Hz ; ; LV_count: count of LVfreq/LV_volt, must be < 16 ; ; L_LV1: core is 1.08v if cpu frequency is (1800Mhz, 2016Mhz] ; LLV2 core vdd is 1.00v if cpu frequency is (1608Mhz, 1800 ; L_LV3: core vdd is 0.92v if cpu frequency is ...