Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/blackberry/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
在yocto上为gumstix overo制作u形护套时出现问题”;"砰",;释放_Yocto_Bitbake_U Boot_Gumstix - Fatal编程技术网

在yocto上为gumstix overo制作u形护套时出现问题”;"砰",;释放

在yocto上为gumstix overo制作u形护套时出现问题”;"砰",;释放,yocto,bitbake,u-boot,gumstix,Yocto,Bitbake,U Boot,Gumstix,尝试使用“thud”版本构建yocto映像时,bitbake无法构建与meta gumstixthud分支一起提供的u-boot版本,该分支为2016.03(看起来很古老?) 我看到的错误是关于冲突类型,例如 错误:u-boot-v2016.03+gitAUTOINC+df61a74e68-r0编译:oe运行生成失败 … /home/kwisatz/yocto new/build/tmp/work/overo poky linux gnueabi/u-boot/v2016.03+gitautin

尝试使用“thud”版本构建yocto映像时,
bitbake
无法构建与
meta gumstix
thud分支一起提供的u-boot版本,该分支为
2016.03
(看起来很古老?)

我看到的错误是关于冲突类型,例如

错误:u-boot-v2016.03+gitAUTOINC+df61a74e68-r0编译:oe运行生成失败
…
/home/kwisatz/yocto new/build/tmp/work/overo poky linux gnueabi/u-boot/v2016.03+gitautinc+df61a74e68-r0/recipe sysroot native/usr/include/libfdt_env.h:71:30:错误:“fdt64_t”的类型冲突
typedef uint64_t FDT_按位fdt64_t;
在互联网上搜索时,很快就会遇到一系列线程,解释问题在于
dtc
包附带的
libfdt-dev.h
头。有些人建议将
dtc
软件包列入黑名单或卸载,但据我所见,yocto的gumstix层中的u-boot配方明确要求:

DEPENDS += "dtc-native"
另见 然而,在上面链接的线程中,我们讨论的是2018.01和2018.03版本,而不是2016.03版本

thud的poky layer带来了u-boot 2018.07,它构建得很好,但有了它,我的overo(Airstorm-Y)将不再启动:

Booting from nand with DTS...
UBI: attaching mtd1 to ubi0
UBI: scanning is finished
UBI: attached mtd1 (name "mtd=4", size 1013 MiB) to ubi0
UBI: PEB size: 131072 bytes (128 KiB), LEB size: 129024 bytes
UBI: min./max. I/O unit sizes: 2048/2048, sub-page size 512
UBI: VID header offset: 512 (aligned 512), data offset: 2048
UBI: good PEBs: 8108, bad PEBs: 0, corrupted PEBs: 0
UBI: user volume: 1, internal volumes: 1, max. volumes count: 128
UBI: max/mean erase counter: 1/0, WL threshold: 4096, image sequence number: 1485359018
UBI: available PEBs: 0, total reserved PEBs: 8108, PEBs reserved for bad PEB handling: 160
** File not found /boot/omap3-overo-storm-tobi.dtb **
Loading file '/boot/zImage' to addr 0x82000000 with size 5097744 (0x004dc910)...
Done
Kernel image @ 0x82000000 [ 0x000000 - 0x4dc910 ]
ERROR: Did not find a cmdline Flattened Device Tree
Could not find a valid device tree
我不完全确定这个引导问题是与u-boot构建有关还是与我构建的内核映像有关(请参阅我以前的线程)

关于如何解决这个问题有什么建议吗?在gumstix层中是否有我还没有发现的用于yocto的u-boot的最新版本,或者关于如何为我的overo获得一个有效的yocto图像,你有什么其他建议吗

注意,在构建过程中,我也看到了这些警告,但我认为这里没有实际问题:

警告:u-boot-v2016.03+gitAUTOINC+df61a74e68-r0 do_补丁:
补丁中的一些上下文行被忽略。这可能会导致错误应用修补程序。
可以使用devtool更新修补程序中的上下文行:
开发工具修改
devtool完成--强制修补程序刷新
然后更新补丁和源代码树(在devtool的工作区中)
应检查以确保修补程序应用在正确的位置
不要引入重复的行(这可能发生,而且确实发生)
当某些上下文被忽略时)。进一步资料:
http://lists.openembedded.org/pipermail/openembedded-core/2018-March/148675.html                                                                                                                                                                                                                                               
https://bugzilla.yoctoproject.org/show_bug.cgi?id=10450                                                                                                                                                                                                                                                                        
细节:
应用补丁0006-duovero-Read-eeprom-over-i2c.patch
修补文件板/gumstix/duovero/duovero.c