Generation of Kernel

From** Release_to_customer.sh** As you can see, when NAND is selected as the flash type and FastBoot mode is not turned on, execute in the “kernel” Directory:

# make infinity2m_spinand_ssc011a_s01a_minigui_defconfig

The Release_to_customer.sh script content of kernel in is as follows:

#build kernel
cd ${RELEASEDIR}/kernel
declare -x ARCH="arm"
declare -x CROSS_COMPILE="arm-linux-gnueabihf-"
if [ "${flashtype}" = "nor" ]; then
    if [ "${fastboot}" = "fastboot" ]; then
        make infinity2m_ssc011a_s01a_fastboot_defconfig
    else
        make infinity2m_ssc011a_s01a_minigui_defconfig
    fi

else
    if [ "${fastboot}" = "fastboot" ]; then
        make infinity2m_spinand_ssc011a_s01a_minigui_fastboot_defconfig
    else
        #make infinity2m_spinand_ssc011a_s01a_minigui_defconfig
        make ${KERNEL_DEFCONFIG}
    fi

fi
#make clean
make -j16
# vi arch/arm/configs/infinity2m_spinand_ssc011a_s01a_minigui_defconfig

# Options
#
CONFIG_SS_DTB_NAME="infinity2m-spinand-ssc011a-s01a-display"
CONFIG_SS_BUILTIN_DTB=y
CONFIG_MS_KERNEL_TYPE=""
CONFIG_SSTAR_CHIP_NAME="infinity2m"
CONFIG_SSTAR_SHORT_NAME=""
CONFIG_MP_IRQ_TRACE=y
CONFIG_DISABLE_CLK_DEBUGFS_SUPPORT=y
CONFIG_SKIP_SQUASHFS_BAD_BLOCK=y
CONFIG_DEFERRED_INIICALLS=y
# CONFIG_DEFERRED_INIICALLS_SLAB_SYSFS is not set
# CONFIG_DEFERRED_INIICALLS_PARAM_SYSFS is not set
# CONFIG_DEFERRED_INIICALLS_PPERF_SYSFS is not set
# CONFIG_DEFERRED_INIICALLS_MORE_SYSFS is not set
# CONFIG_DEFERRED_CREATE_DTS_SYSNODE is not set
# CONFIG_CRYPTO_MANAGER_NO_TESTS_THREAD is not set
CONFIG_ARCH_INFINITY2M=y

It can be seen that the target DTB is arch/arm/boot/dts/infinity2m-spinand-ssc011a-s01a-display.dtb
The target DTS is arch/arm/boot/dts/infinity2m-spinand-ssc011a-s01a-display.dts

文档更新时间: 2021-10-19 18:39   作者:Aeeditor