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/AM3358:无法在自定义 OSD3358 (Octavo)板中引导 AM3358 SDK Linux

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

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/797924/linux-am3358-unable-to-boot-am3358-sdk-linux-in-custom-osd3358-octavo-board

器件型号:AM3358

工具/软件:Linux

您好!

我使用 Processor SDK ti-processor-sdk-linux-am335x-evm-05.02.00.10-linux-x86-Install.bin 在 AM3358处理器上工作。 我通过  下面的链接 processors.wiki.ti.com/.../Processor_SDK_Linux_create_SD_card_script 创建 SD 卡、对于 Beagle Bone Black 来说、它运行良好。同一 SD 卡工作正常。我已连接到自定义板、但它无法从 SD 卡引导。 我的定制 板的引导日志如下所示

MMC:  OMAP SD/MMC:0、OMAP SD/MMC:1.                       

**设备 MMC 0 **错误                               

使用默认环境                             

                                         

未设置。 验证第一个电子保险丝 MAC                   

NET:  无法获取 cpsw 的 PHY:Addr 0                     

CPsw、USB_ether                                  

按任意键停止自动引导: 0                          

切换到分区#0,确定                            

mmc1 (第0部分)是当前器件                           

**无分区表- MMC 1**                          

切换到分区#0,确定                            

mmc1 (第0部分)是当前器件                           

在器件1上找到 SD/MMC                              

**无分区表- MMC 1**                          

##错误:未定义"bootcmd_nand0"                       

正在启动 USB...                                  

USB0:  正在扫描设备的总线0 ... 错误:无法找到 ue 的高速父节点

无法获取设备描述符(error=-71)                    

错误:找不到 USB-1设备的高速父设备                

无法获取设备描述符(error=-71)                    

找到1个 USB 设备                               

    正在扫描存储设备的 USB ... 找到0个存储设备        

使用 musb-hdrc、out ep1out in ep1in status ep2in                 

Mac 98:5d:AD:CF:7b:A1                               

主机 MAC DE:AD:be:ef:00:00                             

RNDIS 就绪                                    

缺少环境变量:pxeuuid                       

正在检索文件:pxelinux.cfg/01-98-5d-ad-cf-7b-A1                 

使用 musb-hdrc、out ep1out in ep1in status ep2in                 

Mac 98:5d:AD:CF:7b:A1                               

主机 MAC DE:AD:be:ef:00:00                             

RNDIS 就绪                                    

正在检索文件:pxelinux.cfg/00000000                       

使用 musb-hdrc、out ep1out in ep1in status ep2in                 

Mac 98:5d:AD:CF:7b:A1                               

主机 MAC DE:AD:be:ef:00:00                             

RNDIS 就绪                                    

正在检索文件:pxelinux.cfg/0000000                       

使用 musb-hdrc、out ep1out in ep1in status ep2in                 

Mac 98:5d:AD:CF:7b:A1                               

主机 MAC DE:AD:be:ef:00:00                             

RNDIS 就绪                                    

正在检索文件:pxelinux.cfg/000000                        

使用 musb-hdrc、out ep1out in ep1in status ep2in                 

Mac 98:5d:AD:CF:7b:A1                               

主机 MAC DE:AD:be:ef:00:00                             

RNDIS 就绪                                    

正在检索文件:pxelinux.cfg/00000                        

使用 musb-hdrc、out ep1out in ep1in status ep2in                 

Mac 98:5d:AD:CF:7b:A1                               

主机 MAC DE:AD:be:ef:00:00                             

RNDIS 就绪                                    

正在检索文件:pxelinux.cfg/0000                         

使用 musb-hdrc、out ep1out in ep1in status ep2in                 

Mac 98:5d:AD:CF:7b:A1                               

主机 MAC DE:AD:be:ef:00:00                             

RNDIS 就绪                                    

正在检索文件:pxelinux.cfg/000                         

使用 musb-hdrc、out ep1out in ep1in status ep2in                 

Mac 98:5d:AD:CF:7b:A1                               

主机 MAC DE:AD:be:ef:00:00                             

RNDIS 就绪                                    

正在检索文件:pxelinux.cfg/00                          

使用 musb-hdrc、out ep1out in ep1in status ep2in                 

Mac 98:5d:AD:CF:7b:A1                               

主机 MAC DE:AD:be:ef:00:00                             

RNDIS 就绪                                    

正在检索文件:pxelinux.cfg/0                          

使用 musb-hdrc、out ep1out in ep1in status ep2in                 

Mac 98:5d:AD:CF:7b:A1                               

主机 MAC DE:AD:be:ef:00:00                             

RNDIS 就绪                                    

正在检索文件:pxelinux.cfg/default-arm-am33xx                  

使用 musb-hdrc、out ep1out in ep1in status ep2in                 

Mac 98:5d:AD:CF:7b:A1                               

主机 MAC DE:AD:be:ef:00:00                             

RNDIS 就绪                                    

正在检索文件:pxelinux.cfg/default-arm                     

使用 musb-hdrc、out ep1out in ep1in status ep2in                 

Mac 98:5d:AD:CF:7b:A1                               

主机 MAC DE:AD:be:ef:00:00                             

RNDIS 就绪                                    

正在检索文件:pxelinux.cfg/default                       

使用 musb-hdrc、out ep1out in ep1in status ep2in                 

Mac 98:5d:AD:CF:7b:A1                               

主机 MAC DE:AD:be:ef:00:00                             

RNDIS 就绪                                    

未找到配置文件                               

使用 musb-hdrc、out ep1out in ep1in status ep2in                 

Mac 98:5d:AD:CF:7b:A1                               

主机 MAC DE:AD:be:ef:00:00                             

RNDIS 就绪                                    

使用 musb-hdrc、out ep1out in ep1in status ep2in                 

Mac 98:5d:AD:CF:7b:A1                               

主机 MAC DE:AD:be:ef:00:00                             

RNDIS 就绪                                    

http://processors.wiki.ti.com/index.php/Processor_SDK_Linux_create_SD_card_script

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    下面是 printenv 通过 uboot 终端连接的内容、请找到附件并执行必要的操作。

    U-Boot 2018.01-g313dcd69c2 (2018年12月16日- 09:01:09 +0000)

    CPU:AM335X-GP 修订版2.1
    型号:TI AM335x BeagleBone Black
    DRAM:512 MiB
    NAND:0 MIB
    MMC:OMAP SD/MMC:0、OMAP SD/MMC:1.
    **设备 MMC 0 **错误
    使用默认环境

    未设置。 验证第一个电子保险丝 MAC
    NET:无法获取 cpsw 的 PHY:Addr 0
    CPsw、USB_ether
    按任意键停止自动引导:0
    切换到分区#0,确定
    mmc1 (第0部分)是当前器件
    **无分区表- MMC 1**
    切换到分区#0,确定
    mmc1 (第0部分)是当前器件
    在器件1上找到 SD/MMC
    **无分区表- MMC 1**
    ##错误:未定义"bootcmd_nand0"
    正在启动 USB...
    USB0:正在扫描设备的总线0 ... 错误:无法找到 ue 的高速父节点
    无法获取设备描述符(error=-71)
    错误:找不到 USB-1设备的高速父设备
    无法获取设备描述符(error=-71)
    找到1个 USB 设备
    正在扫描存储设备的 USB ... 找到0个存储设备
    使用 musb-hdrc、out ep1out in ep1in status ep2in
    Mac 98:5d:AD:CF:7b:A1
    主机 MAC DE:AD:be:ef:00:00
    RNDIS 就绪
    缺少环境变量:pxeuuid
    正在检索文件:pxelinux.cfg/01-98-5d-ad-cf-7b-A1
    使用 musb-hdrc、out ep1out in ep1in status ep2in
    Mac 98:5d:AD:CF:7b:A1
    主机 MAC DE:AD:be:ef:00:00
    RNDIS 就绪
    0 MIB
    MMC:OMAP SD/MMC:0、OMAP SD/MMC:1.
    **设备 MMC 0 **错误
    使用默认环境

    未设置。 验证第一个电子保险丝 MAC
    NET:无法获取 cpsw 的 PHY:Addr 0
    CPsw、USB_ether
    按任意键停止自动引导:0
    =>印刷版
    arch = ARM
    args_mmc=run finduid;setenv bootargs console=${console}${optargets}root=PARTUU}
    波特率=115200
    电路板=AM335x
    Board_name=BBBW
    Board_rev=BWA5
    boot_a_script=load ${devtype}${devnum}:${distro_bootpart}${scriptaddr}${pref}
    boot_efi_binary=if fdt addr ${fDT_addr_r};然后 bootefi bootmgr ${fDT_addr_r};ei
    boot_extlinux=sysboot ${devtype}${devnum}:${distro_bootpart}任何${scriptaddr}f
    BOOT_FDT=尝试
    BOOT_FIT = 0
    BOOT_NET_USB_START=USB 启动
    boot_nars=//boot/
    boot_script_dhcp=boot.scr.uimg
    boot_scripts=boot.scr.uimg boot.scr
    boot_targets=mmc0 legacy_mmc0 mmc1 legacy_mmc1 nand0 PXE DHCP
    bootcmd=if test ${boot_fit}-eq 1;然后运行 update_to _ffit;fi;运行 findfdt;rund
    bootcmd_dhcp=run boot_net_usb_start;如果 DHCP ${scriptaddr}${boot_script_dhcp};
    bootcmd_legacy_mmc0=setenv mmcdev 0;setenv bootpart 0:2;运行 mmcboot
    bootcmd_legacy_mmc1=setenv mmcdev 1;setenv bootpart 1:2;运行 mmcboot
    bootcmd_mmc0=setenv devnum 0;运行 MMC_boot
    bootcmd_mmc1=setenv devnum 1;运行 MMC_boot
    bootcmd_nand=运行 nandboot
    bootcmd_PXE=运行 boot_net_usb_start;DHCP;如果 PXE 获得;然后是 PXE 引导;fi
    BOOTCOUNT=1
    BOOTDELAY=2
    bootdir=/boot
    bootenvfile=uEnv.txt
    BootFile=zImage
    BOOTM_SIZE=0x10000000
    bootpart=0:2
    bootscript=echo 正在从 MMC${mmcdev}...;源${loadaddr}运行的 bootscript
    console=ttyO0、115200n8
    CPU=armv7
    dfu_alt_info_emmc=rawemmc raw 0 3751936;boot part 1;rootfs part 1 2;mloat 11
    dfu_alt_info_mmc=boot part 0 1;rootfs part 0 2;mLo fat 0 1;mLo.raw 0x100 0x1
    dfu_alt_info_nand=SPL 零件0 1;SPL.Backup1零件0 2;SPL.Backup2零件0 3;SPL.ba9
    dfu_alt_info_ram=内核 ram 0x80200000 0x4000000;fdt ram 0x80f80000 0x80000;ram0
    distro_bootcmd=用于${boot_targets}中的目标;请运行 bootcmd_${target};完成
    EFI_dtb_nefins=//dtb//dtb/current
    envboot=MMC dev ${mmcdev};如果 MMC 重新扫描、则回显器件${mm;
    eth1addr=98:5d:ad:cf:7b:A3
    ethact=cpsw
    ethaddr=98:5d:ad:cf:7b:A1
    FDT_addr_r=0x88000000
    fdtaddr=0x88000000
    fdtcontrolladdr=9df11438
    fdtfile=未定义
    findfdt=if test $board_name = A335BONE;then setenv fdtfile AM335x-bon.dtb;fi
    finduuid=part uuid MMC ${bootpart}uuid
    fit_bootfile=fitImage
    fit_loadaddr=0x87000000
    ICE_MII=MII
    importbootenv=echo 从 MMC${mmcdev}导入环境...;env 导入-t $}
    init_console=if test $board_name = A335_ICE;然后 setenv 控制台 ttyO3、115200n8;
    kernel_addr_r=0x82000000
    load_efi_dtb=load ${devtype}${devnum}:${distro_bootpart}${fdt_addr_r}${prefi}
    loadaddr=0x82000000
    loadbootenv=fatload MMC ${mmcdev}${loadaddr}${bootenvfile}
    loadbootscript=load MMC ${mmcdev}${loadaddr}boot.scr
    loadfdt=load ${devtype}${bootpart}${fdtaddr}${bootdir}/${fdtfile}
    loadfit=run args_mmc;bootm ${loadaddr}#${fdtfile};
    loadimage=load ${devtype}${bootpart}${loadaddr}${bootdir}/${bootfile}
    loadramdisk=load MMC ${mmcdev}${rdaddr}ramdisk.gz
    MMC_BOOT=if MMC dev ${devnum};然后 setenv devtype MMC;运行 scan_dev_for_boot_PI
    mmcboot=mmc dev ${mmcdev};setenv devnum ${mmcdev};setenv devtype mmc;if mmc;
    mmcdev=0
    mmclosados=run args_MMC;如果测试${boot_FDT}=是||测试${boot_FDT}=尝试;TH;
    mmcrootfstype=ext4 rootwait
    mtdds=nand0=nand.0
    mtdparts=mtdparts=nand.0:128k (NAND.SPL)、128k (NAND.SPL.Backup1)、128k (NAND.SPL.BA)
    nandargs=setenv bootargs console=${console}${optargets}root=${nandroot}rootfst}
    nandboot=echo 从 nand 引导...;运行 nandargs;n 并读取${fdtaddr}NAND.u-}
    nandroot=ubi0:rootfs rw ubi.mtd=NAND.file-system、2048
    nandrootfstype=ubifs rootwait=1
    netargs=setenv bootargs console=${console}${optargets}root=/dev/nfs nfsroot=${sp
    netboot=echo Booting from network...;setenv autoload no;dhcp;run netloadima}
    netloadfdt=tftp ${fdtaddr}${fdtfile}
    netloadimage=tftp ${loadaddr}${bootfile}
    nfsopts=nolock
    partitions=uuid_disk=${uid_gppt_disk};name=rootfs、start=2MiB、size=-、uid=${uuid}
    pxefile_addr_r=0x80100000
    ramargs=setenv bootargs console=${console}${optargets}root=${ramroot}rootfstyp}
    ramboot=echo 从 ramdisk 引导...;运行 ramargs;bootz ${loadaddr}${rdaddr}}
    ramdisk_addr_r=0x88080000
    ramroot=/dev/ram0 rw
    ramrootfstype=ext2
    读数地址= 0x88080000
    rootpath=/export/rootfs
    scan_dev_for_boot=echo 扫描${devtype}${devnum}:${distro_bootpart}...;对于;
    scan_dev_for_boot_part=part list ${devtype}${devnum}-可引导设备列表;env ee
    scan_dev_for_efi=setenv efi_fdtfile ${fdtfile};如果 test -z "${fdtfile}"-a -n "e.
    scan_dev_for_extlinux=if test -e ${devtype}${devnum}:${distro_bootpart}${prefi
    scan_dev_for_scripts=用于${boot_scripts}中的脚本;如果测试-e ${devtype}${e、则执行
    脚本地址=0x80000000
    SoC=am33xx
    spiargs=setenv bootargs console=${console}${optargets}root=${spiroot}rootfstyp}
    spiboot=echo Booting from SPI ...;运行 spiargs;SF probe ${spibusno}:0;SF read}
    spibusno=0
    spiimgsize=0x362000
    spiroot=/dev/mtdblock4 rw
    rootspifstype=jffs2.
    spisrcaddr=0xe0000
    static_ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}:${hostname}::off
    stderr=串行@44e09000
    stdin =串行@44e09000
    stdout=串行@44e09000
    update_TO_fit=setenv loadaddr ${fit_loadaddr};setenv 引导文件${fit_bootfile}
    USB_boot=USB start;如果 USB dev ${devnum};则 setenv devtype USB;运行 scan_devi
    USBnet_devaddr=98:5d:ad:cf:7b:A1
    供应商= TI
    ver = U-Boot 2018.01-g313dcd69c2 (2018年12月16日- 09:01:09 +0000)

    环境大小:9872/131068字节
  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    您好 Haricharan、

    您需要跟踪 BeagleBone Black 板和定制 OSD3358板之间的硬件差异、并根据这些差异移植 u-boot 代码。

    请查看以下培训系列以了解更多信息:

    training.ti.com/linux-board-porting-training-series
    training.ti.com/linux-board-port-sitara-training-series

    此致、
    帕维尔