首页 > 解决方案 > Yocto Linux 安装失败

问题描述

我正在使用“ CL-SOM-AM57x - TI AM5728 / AM5718 System-on-Module ”。

我尝试安装由 compulab: Link提供的 Yocto Linux 。

我选择自动安装,但安装后出现一些错误,无法在该设备上启动 Yocto Linux。(自动安装说明

我在下面发布了错误。如何正确安装 Yocto Linux?为什么会出现这个错误?


Hit any key to stop autoboot:  0

Saving Environment to SPI Flash...

SF: Detected w25q16cl with page size 256 Bytes, erase size 4 KiB, total 2 MiB, 
mapped at 5c000000

Erasing SPI flash...Writing to SPI flash...done

switch to partitions #0, OK

mmc1(part 0) is current device

** File not found kernel.img **
libfdt fdt_check_header(): FDT_ERR_BADMAGIC

No FDT memory address configured. Please configure

the FDT address via "fdt addr <address>" command.
Aborting!

No FDT memory address configured. Please configure

the FDT address via "fdt addr <address>" command.
Aborting!

No FDT memory address configured. Please configure
the FDT address via "fdt addr <address>" command.
Aborting!

No FDT memory address configured. Please configure
the FDT address via "fdt addr <address>" command.
Aborting!

No FDT memory address configured. Please configure
the FDT address via "fdt addr <address>" command.
Aborting!

No FDT memory address configured. Please configure
the FDT address via "fdt addr <address>" command.
Aborting!

No FDT memory address configured. Please configure
the FDT address via "fdt addr <address>" command.
Aborting!

No FDT memory address configured. Please configure
the FDT address via "fdt addr <address>" command.
Aborting!

No FDT memory address configured. Please configure
the FDT address via "fdt addr <address>" command.
Aborting!

No FDT memory address configured. Please configure
the FDT address via "fdt addr <address>" command.
Aborting!

ERROR: Did not find a cmdline Flattened Device Tree
Could not find a valid device tree

标签: yocto

解决方案


在引导加载程序(可能是 u-boot)中,您必须指定引导环境。为了加载内核和设备树,必须设置 bootcmd。要从用户空间访问板,需要文件系统,必须在 bootargs 变量中提及.


推荐阅读