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.

[参考译文] PROCESSOR-SDK-AM335X:Linux-RT SDK v6.03 zImage Size

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

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/900803/processor-sdk-am335x-linux-rt-sdk-v6-03-zimage-size

器件型号:PROCESSOR-SDK-AM335X

你好。

在正常版本(非 RT)中,zImage 大小将小于4M,请参阅下面的红色字。

root@Ubuntu:/opt/ti-processor-sdk-linux-am335x-evm-05.03.00.07/board-support/linux-4.14.79 +gitAUTOINC+e669d52447-ge669d52447/arch/arm/boot# ls -al
共计14492
drwxr-xr-x 5 1001 1001 4096 Apr8 14:06。
drwxr-xr-x 100 1001 1001 4096 2019年4月6日.
drwxr-xr-x 2 1001 4096 4096 2019年4月6日 BOOTP
drwxr-xr-x 2 1001 4096 APR 8 14:06压缩
drwxr-xr-x 3 1001 73728 4月7日18:11 DTS
-rw-r--r-- 1 1001 1001 1001 40 A2019年4月6日.gignore
-rwxr-xr-x 1根根根13925696年4月8日14:06图像
-rw-r--r-- 1根根根(109年4月8日14:06).Image.cmd
-rw-r--r-- 1 1001 1001 1648 2019年4月6日 install.sh
-rw-r--r-- 1 1001 1001 2816 2019年4月6日 Makefile
-rwxr-xr-x 1根 root 3867136 APR 8 14:06 zImage
-rw-r--r-- 1 root root 用户136 APR 8 14:06 .zImage.cmd

为什么我的6.03 RT Kernel zImage 如此庞大? 我只更改了 DCAN 支持并重新构建了它、没有任何错误。

root@Ubuntu:/opt/ti-processor-sdk-linux-rt-am335x-evm-06.03.00.106/board-support/linux-rt-4.19.94 +gitAUTOINC+a242ccf3f1-ga242ccf3f1/arch/arm/boot# ls -al
共计25584
drwxr-xr-x 5 1001 1001 4096 Apr23 18:35。
drwxr-xR-x 101 1001 4096 Apr19 15:15。
drwxr-xr-x 2 1001 4096 Apr19 15:15 BOOTP
drwxr-xr-x 2 1001 4096 4月23日18:35已压缩
-rwxr-xr-x 1 1001 1805年4月19日15:15 deflate_xip_data.sh
drwxr-xr-x 3 1001 77824 4月27日19:04 DTS
-rw-r--r-- 1 1001 1001 1001 59 Apr 19 15:15 .gignore
-rwxr-xr-x 1 root 用户19540392 APR 23 18:35图像
-rw-r--r-- 1根根根(109年4月23日18:35 .Image.cmd)
-rw-r--r-- 1 1001 1001 1648 Apr 19 15:15 install.sh
-rw-r--r-- 1 1001 1001 3128四月19 15:15 Makefile
-rwxr-xr-x 1根 root 8339968 APR 23 18:35 zImage
-rw-r--r-- 1 root root 用户136 APR 23 18:35 .zImage.cmd

请查看以下结果、此 zImage 不允许我成功启动并输入用户空间登录。

为什么是这样?

BR RIO

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

    您好:

    请参阅我的 SD 卡中包含的以下引导文件夹。

    drwxr-xr-x 2 root 4096 Apr28 14:25。
    drwxr-xr-x 22 root 4096 APR 28 14:50 ..
    -rw-r--r-- 1根根根36717年4月19日15:15 AM335x-bonebblack.dtb
    -rw-r--r-- 1 root root root 37092四月19 15:15 AM335x-bonebr-ioto-cap.dtb
    -rw-r--r-- 1 root root root 用户37192 4月19日15:15 AM335x-bonebblack-PRU-ADC.DTB
    -rw-r--r-- 1 root root root 37965 APR 19 15:15 AM335x-bonebblack-prusuart.dtb
    rw-r--r-- 1 root root root 37934 4月19日15:15 AM335x-bonebrblem-wireless.dtb
    -rw-r--r-- 1 root root 用户36352 APR 19 15:15 AM335x-boneblue.dtb
    -rw-r--r-- 1根根35001 4月19日15:15 AM335x-bone.dtb
    -rw-r--r-- 1 root root 用户35225 4月19日15:15 AM335x-bonegreen.dtb
    -rw-r--r--根36542 4月19日15:15 AM335x-bonegreen-wireless.dtb
    -rw-r--r-- 1根根41524年4月19日15:15 AM335x-EVM.dTB
    -rw-r--r-- 1 root root 40236 AMSk.dtb 4月19日15:15
    -rw-r--r-- 1根根根37124 4月19日15:15 AM335x-icev2.dtb
    rw-r--r-- 1根根根37166 4月19日15:15 AM335x-icev2-prueth.dtb
    rw-r--r-- 1根根根37566年4月19日15:15 AM335x-icev2-prueth-pps.dtb
    -rw-r--r-- 1根根根39511 4月19日15:15 AM335x-icev2-PRU-Excl-uio.dTB
    rw-r--r-- 1根根34055年4月19日15:15 AM335x-pocketbeagle.dtb
    -rw-r--r-- 1 root root root 37305 4月19日15:15 AM335x-sancloud-BBE.DTB
    rw-r--r-- 1 root root 15380556四月1915:15 vmlinux-4.19.94-rt39-ga242ccf3f1.
    -rwxr-xr-x 1根根6291968年4月28日14:54 zImage  <--这是我的 zImage (使用 DCAN 构建)
    rw-r--r-- 1 root root 4211200四月28 14:41 zImage-4.19.94-rt39-ga242ccf3f1 <--这是旧的/预编译 zImage。

    如何让 zImage 在 SD 卡上生效?

    我是否需要重新链接符号? 如果是、如何操作?

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

    您好、Rio、

    RT 内核是否仍然存在问题?  

    此致、

    Schuyler

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

    Schuyler 您好:  

    不、我会关闭这个。

    谢谢。

    BR RIO