This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

[参考译文] Linux/EVMK2H:如何编译我自己的 Linux

Guru**** 2551570 points


请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/621351/linux-evmk2h-how-to-compile-my-own-linux

器件型号:EVMK2H

工具/软件:Linux

我想优化 Linux 并缩短启动时间、为此、我要编译自己的 Linux、我相信下载最新的 SDK 是起点、我还可以在 SDK 中找到一些预编译的映像、 但是、如何使用我只需要的功能和驱动程序来编译我自己的 Linux? 请提供详细信息、因为我不熟悉。

此致

Sheraz Javaid

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    您好!

    请查看以下指南:
    processors.wiki.ti.com/.../Linux_Kernel_Users_Guide
    processors.wiki.ti.com/.../Processor_Linux_SDK_Top-Level_Makefile

    这是您想要的吗?

    BR
    玛格丽塔
  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    您好!

    对于 K2H、说明如下:
    导出 arch=arm
    导出路径=~μ C/ti-processor-sdk-linux-k2hk evm-04.00.04/linux-devkit/sysroots/x86_64 Arago-linux/usr/bin/:$path
    导出 cross_compile=arm-linux-gnueabihf-

    清洁
    使 tisdk_k2hk-evm_defconfig
    使-J4

    为了只使用所需的驱动程序、您应该修改位于 arch/arm/configs 中的 tisdk_k2hk-evm_defconfig 文件。 您可能还需要修改 DTS:arch/arm/boot/dts/keystone-k2hk evm.dts 和 keystone-k2hk dtsi

    此致、
    Yordan
  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    Yordon、您好!
    感谢您的回复、很容易理解、请注意、我使用的是 RT 版本、因此、当我发出命令 make tisdk_k2hk-evm-rt_defconfig 时、我相应地修改了导出路径和解配置文件名、命令 make tisdk_k2hk-evm-rt_defconfig 如下所示:

    `:***没有规则使目标“tisdk_k2hk EVM-EVM-RT_defconfig'。 停下。

    我根据这个文件检查了 rules.make 文件

    defconfig
    DEFCONFIG=tisdk_k2hk EVM-EVM-RT_defconfig

    该文件也存在于您提到的路径中、我是否知道我可能会出错?
  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    您好!

    您能否导航到 arch/arm/configs、执行 ls -la 并共享结果?

    此致、
    Yordan
  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    Yordon、您好!

    以下是您要求的结果

    Sheraz@Sheraz-VirtualBox:/opt/ti-processor-sdk-linux-rt-k2hk-evm-04.00.00.04/board-support/linux-rt-4.9.28 +gitAUTOINC+786e64041b-g786e64041b/arch/arm/configs$ ls -la
    共计832人
    drwxr-xr-x 2 1001 4096 Jun 28 16:56。
    drwxr-xr-x 99 1001 4096 Jun 28 16:43。
    -rw-r--r-- 1 1001 1001 1998年6月28日16:43 acs5k_defconfig
    -rw-r--r-- 1 1001 1001 2011年6月28 16:43 acs5k_Tiny_defconfig
    -rw-r--r-- 1 1001 1001 2617 Jun 28 16:43 am200epdkit_defconfig
    -rw-r--r-- 1 1001 1001 2260 Jun 28 16:43 aspeed_G4_defconfig
    -rw-r--r-- 1 1001 1001 2308 Jun 28 16:43 aspeed_G5_defconfig
    -rw-r--r-- 1 1001 1001 1315 Jun 28 16:43 assabet_defconfig
    -rw-r--r-- 1 1001 1001 5400 Jun 28 16:43 at91_dt_defconfig
    -rw-r--r-- 1 1001 1001 5719 Jun 28 16:43 axm55xx_defconfig
    -rw-r--r-- 1 1001 1001 2573 Jun 28 16:43 badge4_defconfig
    -rw-r--r-- 1 1001 1001 3342 Jun 28 16:43 BCM2835_defconfig
    -rw-r--r-- 1 1001 1001 1659 Jun 28 16:43 certifcube_defconfig
    -rw-r--r-- 1 1001 1001 2193 Jun 28 16:43 clps711x_defconfig
    -rw-r--r-- 1 1001 1001 4278 Jun 28 16:43 cm_x2xx_defconfig
    -rw-r--r-- 1 1001 1001 4160 Jun 28 16:43 cm_X300_defconfig
    -rw-r--r-- 1 1001 1001 1908六月28 16:43 cns3420vb_defconfig
    -rw-r--r-- 1 1001 1001 3984 Jun 28 16:43 colibri_PXA270_defconfig
    -rw-r--r-- 1 1001 1001 1656 Jun 28 16:43 colibri_pxa300_defconfig
    -rw-r--r-- 1 1001 1001 2319 Jun 28 16:43 colli_defconfig
    -rw-r--r-- 1 1001 1001 6136 Jun 28 16:43 corgi_defconfig
    -rw-r--r-- 1 1001 1001 5580 Jun 28 16:43 DaVinci_all_defconfig
    -rw-r--r-- 1 1001 1001 3230 Jun 28 16:43 dove_defconfig
    rw-r--r-- 1 1001 1001 6月28日16:43 DRAM_0x00000000配置
    -rw-r--r-- 1 1001 1001 1657 Jun 28 16:43 ebsa110_defconfig
    -rw-r--r-- 1 1001 1001 2848 Jun 28 16:43 efm32_defconfig
    -rw-r--r-- 1 1001 1001 4409 Jun 28 16:43 em_x270_defconfig
    -rw-r--r-- 1 1001 1001 3088 Jun 28 16:43 ep93xx_defconfig
    -rw-r--r-- 1 1001 1001 2794 Jun 28 16:43 Eseries_PXA_defconfig
    -rw-r--r-- 1 1001 1001 6394 Jun 28 16:43 exynos_defconfig
    -rw-r--r-- 1 1001 1001 10605 Jun 28 16:43 ezx_defconfig
    -rw-r--r-- 1 1001 1001 2520 Jun 28 16:43 footbridge_defconfig
    -rw-r--r-- 1 1001 1001 1529 Jun 28 16:43 h3600_defconfig
    -rw-r--r-- 1 1001 1001 1001 2015年6月28日16:43 H5000_defconfig
    -rw-r--r-- 1 1001 1001 1113 Jun 28 16:43 hackkit_defconfig
    -rw-r--r-- 1 1001 1001 1966年6月28日16:43 his_defconfig
    -rw-r--r-- 1 1001 1001 9953 Jun 28 16:43 imote2_defconfig
    -rw-r--r-- 1 1001 1001 4328 Jun 28 16:43 IMX_v4_v5_defconfig
    -rw-r--r-- 1 1001 1001 9156 Jun 28 16:43 IMX_v6_v7_defconfig
    -rw-r--r-- 1 1001 181874年6月28日16:43 integrator_defconfig
    -rw-r--r-- 1 1001 1001 2838 Jun 28 16:43 io13xx_defconfig
    -rw-r--r-- 1 1001 1001 3030 Jun 28 16:43 io32x_defconfig
    -rw-r--r-- 1 1001 1001 2183 Jun 28 16:43 io33x_defconfig
    -rw-r--r-- 1 1001 1001 4452 Jun 28 16:43 IXP4XX_defconfig
    -rw-r--r-- 1 1001 1001 2745 Jun 28 16:43 jornada 720_defconfig
    -rw-r--r-- 1 1001 1001 4943 Jun 28 16:43 keyston_defconfig
    -rw-r--r-- 1 1001 1001 1769 Jun 28 16:43 ks8695_defconfig
    -rw-r--r-- 1 1001 1001 1513 Jun 28 16:43 lart_defconfig
    -rw-r--r-- 1 1001 1001 4586 Jun 28 16:43 lpc18xx_defconfig
    -rw-r--r-- 1 1001 1001 4957 Jun 28 16:43 lpc32xx_defconfig
    -rw-r--r-- 1 1001 1001 1482六月28 16:43 lpd270_defconfig
    -rw-r--r-- 1 1001 1001 1226 Jun 28 16:43 Lubbock_defconfig
    -rw-r--r-- 1 1001 1001 4158 Jun 28 16:43 magical_defconfig
    -rw-r--r-- 1 1001 1001 1199 Jun 28 16:43 mainston_defconfig
    -rw-r--r-- 1 1001 1001 8818 Jun 28 16:43 mini2440_defconfig
    -rw-r--r-- 1 1001 1001 2467 Jun 28 16:43 mmp2_defconfig
    -rw-r--r-- 1 1001 1001 3942 Jun 28 16:43 moxart_defconfig
    -rw-r--r-- 1 1001 1001 3036 Jun 28 16:43 mps2_defconfig
    -rw-r--r-- 1 1001 1001 2395 Jun 28 16:43 multi_v4t_defconfig
    -rw-r--r-- 1 1001 1001 6393 Jun 28 16:43 multi_v5_defconfig
    -rw-r--r-- 1 1001 1001 21737 Jun 28 16:43 multi_v7_defconfig
    -rw-r--r-- 1 1001 1001 3226 Jun 28 16:43 mv78xx0_defconfig
    -rw-r--r-- 1 1001 1001 4746 Jun 28 16:43 mvebu_v5_defconfig
    -rw-r--r-- 1 1001 1001 3385 Jun 28 16:43 mvebu_v7_defconfig
    -rw-r--r-- 1 1001 1001 4197 Jun 28 16:43 MXs_defconfig
    -rw-r--r-- 1 1001 1001 2059 Jun 28 16:43 Nepone_defconfig
    -rw-r--r-- 1 1001 1001 1773 Jun 28 16:43 netwinder_defconfig
    -rw-r--r-- 1 1001 1001 1829 Jun 28 16:43 NETX_defconfig
    -rw-r--r-- 1 1001 1001 2978 Jun 28 16:43 nhk8815_defconfig
    -rw-r--r-- 1 1001 1001 1559 Jun 28 16:43 nuc910_defconfig
    -rw-r--r-- 1 1001 1001 1953年6月28日16:43 nuc950_defconfig
    -rw-r--r-- 1 1001 1001 1702 Jun 28 16:43 nuc960_defconfig
    -rw-r--r-- 1 1001 1001 6026 Jun 28 16:43 omap1_defconfig
    -rw-r--r-- 1 1001 1001 11541 Jun 28 16:43 omap2plus_defconfig
    -rw-r--r-- 1 1001 1001 3912 Jun 28 16:43 orion5x_defconfig
    -rw-r--r-- 1 1001 1001 2090 Jun 28 16:43 palmz72_defconfig
    -rw-r--r-- 1 1001 1001 2415 Jun 28 16:43 pcm0227_defconfig
    -rw-r--r-- 1 1001 1001 1374 Jun 28 16:43 pleb_defconfig
    -rw-r--r-- 1 1001 1001 1599 Jun 28 16:43 prima2_defconfig
    -rw-r--r-- 1 1001 1001 1835 Jun 28 16:43 pxa168_defconfig
    -rw-r--r-- 1 1001 1001 1289 Jun 28 16:43 PXA255-IDP_defconfig
    -rw-r--r-- 1 1001 1001 3409 Jun 28 16:43 pxa3xx_defconfig
    -rw-r--r-- 1 1001 1001 2034 Jun 28 16:43 pxa910_defconfig
    -rw-r--r-- 1 1001 1001 17973 Jun 28 16:43 PXA_defconfig
    -rw-r--r-- 1 1001 1001 4446 Jun 28 16:43 QCOM_defconfig
    -rw-r--r-- 1 1001 1001 4780 Jun 28 16:43 raumfeld_defconfig
    -rw-r--r-- 1 1001 1001 2459 Jun 28 16:43 RealView_defconfig
    -rw-r--r-- 1 1001 1001 3146 Jun 28 16:43 RPC_defconfig
    -rw-r--r-- 1 1001 1001 11245 Jun 28 16:43 s3c2410_defconfig
    -rw-r--r-- 1 1001 1001 2244 Jun 28 16:43 S3C6400_defconfig
    -rw-r--r-- 1 1001 1001 1811 Jun 28 16:43 s5pv210_defconfig
    -rw-r--r-- 1 1001 1001 5652 Jun 28 16:43 sama5_defconfig
    -rw-r--r-- 1 1001 1001 1041 Jun 28 16:43 Shannon_defconfig
    -rw-r--r-- 1 1001 1001 5106 Jun 28 16:43 shmobile_defconfig
    -rw-r--r-- 1 1001 1001 2433 Jun 28 16:43 simpad_defconfig
    -rw-r--r-- 1 1001 1001 2671 Jun 28 16:43 sockpga_defconfig
    -rw-r--r-- 1 1001 1001 2573 Jun 28 16:43 soutl13xx_defconfig
    -rw-r--r-- 1 1001 1001 2150 Jun 28 16:43 pear3xx_defconfig
    -rw-r--r-- 1 1001 1001 1901 Jun 28 16:43 pear6xx_defconfig
    -rw-r--r-- 1 1001 1001 6224六月28 16:43 spitz_defconfig
    -rw-r--r-- 1 1001 1001 1921年6月28日16:43 STM32_defconfig
    -rw-r--r-- 1 1001 1001 3606 Jun 28 16:43 Sunxi_defconfig
    -rw-r--r-- 1 1001 1001 1744 Jun 28 16:43 TCT_hammer _defconfig
    -rw-r--r-- 1 1001 1001 6983 Jun 28 16:43 Tegra_defconfig
    -rw-r--r-- 1 1001 1001 140309 Jun 28 16:56 tisdk_k2hk evm-rt_defconfig
    -rw ---- 1 1001 43975 6月28日16:55 ti_sdk_keyston_rt_release_defconfig
    -rw-r--r-- 1 1001 1001 4936 Jun 28 16:43 trizeps4_defconfig
    -rw-r--r-- 1 1001 1001 1853 Jun 28 16:43 U300_defconfig
    -rw-r--r-- 1 1001 1001 3303 Jun 28 16:43 u8500_defconfig
    -rw-r--r-- 1 1001 1001 1001 1993年6月28 16:43多功能_defconfig
    -rw-r--r-- 1 1001 1001 3663 Jun 28 16:43 vexpress_defconfig
    -rw-r--r-- 1 1001 1001 1177 Jun 28 16:43 vf610m4_defconfig
    -rw-r--r-- 1 1001 1001 4064 Jun 28 16:43 viper_defconfig
    -rw-r--r-- 1 1001 1001 2059 Jun 28 16:43 vt8500_v6_v7_defconfig
    -rw-r--r-- 1 1001 1001 2542 Jun 28 16:43 xcep_defconfig
    -rw-r--r-- 1 1001 1001 4379 Jun 28 16:43 Zeus_defconfig
    -rw-r--r-- 1 1001 1001 2904六月28 16:43 zx_defconfig
    Sheraz@Sheraz-VirtualBox:/opt/ti-processor-sdk-linux-rt-k2hk-evm-04.00.00.04/board-support/linux-rt-4.9.28 +gitAUTOINC+786e64041b-g786e64041b/arch/arm/configs$
  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    好的、在我关于编译 Linux 内核的步骤的答复中、我忘记了另外一件事。 您从哪个文件夹执行 make tisdk_k2hk-EVM-RT_defconfig?

    您应首先导航至 ti-processor-sdk-linux-rt-k2hk evm-04.00.04/board-support/linux-rt-4.9.28+gitAUTOINC+786e64041b-g786e64041b。 因此、步骤如下:
    CD /opt/ti-processor-sdk-linux-rt-k2hk-evm-04.00.00.04/board-support/linux-rt-4.9.28 +gitAUTOINC+786e64041b-g786e64041b/
    导出 arch=arm
    导出路径=~μ C/ti-processor-sdk-linux-k2hk evm-04.00.04/linux-devkit/sysroots/x86_64 Arago-linux/usr/bin/:$path
    导出 cross_compile=arm-linux-gnueabihf-

    清洁
    使 tisdk_k2hk-evm-rt_defconfig
    使-J4

    此致、
    Yordan
  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    最初、我从 ti-processor-sdk-linux-rt-k2hk-evm-04.00.04文件夹执行 make tisdk_k2hk-evm-rt_defconfig、我在该文件夹中收到了该文件
    `:***没有规则使目标“tisdk_k2hk EVM-EVM-RT_defconfig'。 停下。 误差、

    但 make clean 命令运行良好、

    现在我已经转到了您提到的目录、然后按照以下步骤操作、"make clean works (生成清理)"和"make deconfig (生成取消配置)"都不起作用。



    清洁时



    Sheraz@Sheraz-VirtualBox:/opt/ti-processor-sdk-linux-rt-k2hk-evm-04.00.00.04/board-support/linux-rt-4.9.28 +gitAUTOINC+786e64041b-g786e64041b$ make clean
    /scripts/gcc-version.sh:第25行:arm-linux-gnueabihf-gcc:找不到命令
    /scripts/gcc-version.sh:第26行:arm-linux-gnueabihf-gcc:找不到命令
    make: arm-linux-gnueabihf-gcc:未找到命令
    make: arm-linux-gnueabihf-gcc:未找到命令
    make: arm-linux-gnueabihf-gcc:未找到命令
    make: arm-linux-gnueabihf-gcc:未找到命令
    make: arm-linux-gnueabihf-gcc:未找到命令
    make: arm-linux-gnueabihf-gcc:未找到命令
    make: arm-linux-gnueabihf-gcc:未找到命令
    make: arm-linux-gnueabihf-gcc:未找到命令
    make: arm-linux-gnueabihf-gcc:未找到命令
    make: arm-linux-gnueabihf-gcc:未找到命令
    make: arm-linux-gnueabihf-gcc:未找到命令
    make: arm-linux-gnueabihf-gcc:未找到命令
    make: arm-linux-gnueabihf-gcc:未找到命令
    make: arm-linux-gnueabihf-gcc:未找到命令
    make: arm-linux-gnueabihf-gcc:未找到命令
    make: arm-linux-gnueabihf-gcc:未找到命令
    make: arm-linux-gnueabihf-gcc:未找到命令
    make: arm-linux-gnueabihf-gcc:未找到命令
    make: arm-linux-gnueabihf-gcc:未找到命令
    make: arm-linux-gnueabihf-gcc:未找到命令
    make: arm-linux-gnueabihf-gcc:未找到命令
    make: arm-linux-gnueabihf-gcc:未找到命令
    /scripts/gcc-version.sh:第25行:arm-linux-gnueabihf-gcc:找不到命令
    /scripts/gcc-version.sh:第26行:arm-linux-gnueabihf-gcc:找不到命令
    make: arm-linux-gnueabihf-gcc:未找到命令
    make: arm-linux-gnueabihf-gcc:未找到命令
    make: arm-linux-gnueabihf-gcc:未找到命令
    /scripts/gcc-version.sh:第25行:arm-linux-gnueabihf-gcc:找不到命令
    /scripts/gcc-version.sh:第26行:arm-linux-gnueabihf-gcc:找不到命令
    make: arm-linux-gnueabihf-gcc:未找到命令
    make: arm-linux-gnueabihf-gcc:未找到命令
    make: arm-linux-gnueabihf-gcc:未找到命令
    make: arm-linux-gnueabihf-gcc:未找到命令
    make: arm-linux-gnueabihf-gcc:未找到命令
    make: arm-linux-gnueabihf-gcc:未找到命令
    make: arm-linux-gnueabihf-gcc:未找到命令
    make: arm-linux-gnueabihf-gcc:未找到命令
    make: arm-linux-gnueabihf-gcc:未找到命令
    make: arm-linux-gnueabihf-gcc:未找到命令
    make: arm-linux-gnueabihf-gcc:未找到命令
    make: arm-linux-gnueabihf-gcc:未找到命令



    当我执行 make tisdk_k2hk-EVM-RT_defconfig 时:

    Sheraz@Sheraz-VirtualBox:/opt/ti-processor-sdk-linux-rt-k2hk-evm-04.00.00.04/board-support/linux-rt-4.9.28 +gitAUTOINC+786e64041b-g786e64041b$ make tisdk_k2hk-EVM-RT_defconfig
    HOSTCC 脚本/基本/固定程序
    scripts/basic/fixdep.c:449:1:致命错误:打开依赖文件 scripts/basic/.fixdep.d:权限被拒绝

    ^μ A
    编译已终止。
    make[1]:***[scripts/basic/fixdep]错误1.
    make:***[scripts_basic]错误2.
    Sheraz@Sheraz-VirtualBox:/opt/ti-processor-sdk-linux-rt-k2hk-evm-04.00.00.04/board-support/linux-rt-4.9.28 +gitAUTOINC+786e64041b-g786e64041b$
  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    您已在计算机的/opt 文件夹中安装了 SDK。 我们建议您在主文件夹中安装源文件:
    processors.wiki.ti.com/.../Processor_SDK_Linux_Installer

    由于您是从/opt 运行、因此必须确保以 root 身份登录、这样您就不会获得:
    srips/basic/fixdep.c:449:1:致命错误:打开依赖文件 scripts/basic/.fixdep.d:权限被拒绝

    我还看到您将获得:
    make: arm-linux-gnueabihf-gcc:未找到命令

    请导航至 linux-devkit/sysroots/x86_64-Arago-linux/usr/bin//并查看使用的交叉编译器,对于 RT 版本,工具链前缀可能偏离 arm-linux-gnueabihf-,查看使用的内容并更正 cross_compile 导出。 您还可能会收到"未找到命令"错误、因为您没有 Linux - Devkit/sysroots/x86_64 - Arago - Linux//usr/bin//的权限、因为您没有以 root 身份登录。

    正如我说过的、我建议按照安装程序的默认设置并将源文件安装到您的$HOME 目录中、如下所述:
    processors.wiki.ti.com/.../Processor_SDK_Linux_Installer

    此致、
    Yordan
  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    你(们)好
    在主目录中安装 SDK 解决了这两个问题、我还有几个问题、新编译的 Linux 位于何处? 此外、上述过程的输出文件是什么? 我知道我需要.ubi 和.gph 文件将我的操作系统移植到电路板中、这个过程是否输出.ubi 和.gph 文件、或者我需要额外的努力来创建.ubi 和.gph 映像。
  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    您好!

    [引述]我还有几个问题、新编译的 Linux 位于何处? 此外、上述过程的输出文件是什么?
    内核映像为 arch/arm/boot/zImage、相应的.dTB 文件位于 arch/arm/boot/dts/中

    [引用]我知道我需要.ubi 和.gph 文件将我的操作系统移植到电路板中、这个过程是否输出.ubi 和.gph 文件、或者我需要额外的努力来创建.ubi 和.gph 映像。
    GPH 是 u-boot 映像。 如果要修改 u-boot、则需要重新构建 u-boot。
    ubi IMA 是文件系统。 我认为您不需要更改文件系统。 我所做的是使用预编译 ubi 映像刷写 rootfs 分区。 然后、我登录电路板并更换位于/boot 中的 zImage & keystone-k2hk evm.dTB。 这足以使用您的自定义 Linux 内核。

    如果要重建文件系统、可以按照以下 wiki 操作:
    processors.wiki.ti.com/.../Processor_SDK_Building_The_SDK
    这将构建您的 sysfs。 编译完成后、您有了文件系统、您需要将其二进制:
    processors.wiki.ti.com/.../Linux_Core_NAND_User's_Guide

    此致、
    Yordan
  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    Yordon、您好!
    我查看了该链接
    processors.wiki.ti.com/.../Linux_Core_NAND_User's_Guide

    但是、它没有专门说明 K2H 板的.config 文件设置、它只提到 k2e 和 K2L、我应该使用哪些设置?
    此致
    Sheraz Javaid
  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    Yordon、您好!
    我现在很困惑、我对所有这些都很陌生、因此我仍在尝试弄清楚所有这些实际上是如何工作的。 目前我使用的是 Linux 3.10.72-RT 版本、我从未需要更改操作系统、但现在我必须、由于我使用的是较新的 SDK 和不同的内核版本、我认为我应该生成自己的文件系统和.gph 文件。
    我已经根据您在上面的指导生成了 zImage 和.dTB 文件。 要获得新的.ubi 和 uboot 映像、我现在应该执行哪些步骤?
    能否使用 SDK 中预编译映像目录中提供的.gph 文件? 如果没有、请指导我如何重建它。

    您为我提供的用于重建文件系统和进行二进制化的链接非常令人困惑、如果您能为我提供准确的步骤、就像您在编译内核时提到的那样、那将会非常好。

    此致
    Sheraz Javaid