文章目录

ウラル山の花輪

代码运行返回信息

  1. 启动信息

    操作系统启动后会在终端打印硬件信息以及驱动程序信息

  • 打印硬件信息
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    CPU:    SMDK4412-AP1.1 [e4412211]
    APLL = 1000MHz, MPLL = 800MHz
    ARM_CLOCK = 1000MHz
    PMIC: Pls check the i2c @ pmic, id = 21,error
    Board: iTOP-4412Quad
    POP type: POP for C220
    DRAM: 1023 MB
    MMC: Count: 100
    max_emmc_clock:40 MHZ
    Set CLK to 400 KHz
    EMMC CLOCK OUTPUT:: 400KHz -[div:50]
    response timeout error : 00000104 cmd 8
    response timeout error : 00000104 cmd 55
    max_emmc_clock:40 MHZ /*时钟*/
    Input CLK [ 50 MHz] is higher than limit [40 MHZ]
    Set CLK to 40000 KHz
    EMMC clock output: 40000 KHz
    max_emmc_clock:40 MHZ
    Input CLK [ 50 MHz] is higher than limit [40 MHZ]
    Set CLK to 40000 KHz
    EMMC clock output: 40000 KHz
    MMC0: 3728 MB
    SD sclk_mmc is 400K HZ
    SD sclk_mmc is 50000K HZ
    SD sclk_mmc is 50000K HZ
    MMC1: 14772 MB
    *** Warning - using default environment

    In: serial
    Out: serial
    Err: serial
    eMMC OPEN Success.!!
    !!!Notice!!!
    !You must close eMMC boot Partition after all image writing!
    !eMMC boot partition has continuity at image writing time.!
    !So, Do not close boot partition, Before, all images is written.!

    MMC read: dev # 0, block # 48, count 16 ...16 blocks read: OK
    eMMC CLOSE Success.!!


    Checking Boot Mode ... EMMC4.41
    SYSTEM ENTER NORMAL BOOT MODE
    Hit any key to stop autoboot: 0

  1. 程序运行错误
    程序在执行的时候,会因为各种情况无法正常运行而结束
  1. 函数返回值错误

函数返回值错误

  1. 特殊变量错误
    系统自带库函数提供的错误查询方式
    如perror、fprintf
文章目录