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.

AM335X demo板 u-boot 引导内核跳转后, 卡死.



1. Demo板型号: Sitara ARM Processors AM335x Starter Kit TMDXEVM3358-SK

2. 使用官方SDK编译u-boot和内核以及文件系统. SDK版本ti-sdk-am335x-evm-07.00.00.00

3. u-boot编译参考http://processors.wiki.ti.com/index.php?title=AMSDK_u-boot_User%27s_Guide&oldid=151547

4. 内核编译参考http://processors.wiki.ti.com/index.php/AMSDK_Linux_User%27s_Guide, 编译命令如下

    a. make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- mrproper

    b. make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- tisdk_am335x-evm_defconfig

    c. make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- uImage

    d. 拷贝./arch/arm/boot/uImage到SD卡中

5. 制作SD卡启动,  使用u-boot命令行的方式引导内核启动

    a. mmc rescan

    b. fatload mmc 0 0x82000000 uImage_New

    c. bootm 0x82000000

6. 新编译的MLO、u-boot.img能够引导官方SD卡中的uImage启动, u-boot引导新编译的内核在调用新内核的入口函数后串口无任何信息输出.

问题: u-boot无法引导新编译的内核启动.

  • 关于uboot,我已经在另一个贴里回你了

    关于kernel的编译,这里的命令不包含arch, cross compile的配置,请您自行加。

    1. 编译dtb文件 make ARCH=ARM am335x-bone.dtb

    2. 编译config, make omap2plus_defconfig

    3. 编译 zImage, make zImage

    把编译好的mlo,u-boot.img, dtb, zImage等文件放到boot分区就可以了。

    如果您对device tree不熟悉,建议您使用我们老的发布,http://software-dl.ti.com/sitara_linux/esd/AM335xSDK/06_00_00_00/index_FDS.html