赛灵思
直播中

黎桂珍

7年用户 165经验值
私信 关注
[问答]

petalinux是否可以用PLB总线支持Microblaze系统

大家好:
我正在使用Sparton3E入门套件在EDK9.2中使用petalinux。
我已经下载了petalinux-v0.30-rc1.tar.gz。
大约一个月前,我使用OPB总线在EDK9.1中创建了一个项目。
然后我成功地迁移了petalinux并且运行良好。
现在PLB总线用于EDK9.2。
当我编译linux的内核时,会出现一些错误。
我不确定petalinux是否可以用PLB总线支持Microblaze系统。
例如,当我在linux内核中选择设备时,我只能找到opb_ethernetlite。
但我在项目中使用xps_ethernetlite。
真诚地等待你的帮助!

以上来自于谷歌翻译


以下为原文

Hello everyone:
   I am using the Sparton3E starter kit to work with petalinux in EDK9.2.
   I have downloaded the petalinux-v0.30-rc1.tar.gz. About a month ago, I made a project in EDK9.1 using OPB bus. Then I succeed in migrating the petalinux and it worked well.
   Now the PLB bus is used in EDK9.2. When I compiled the kernel of linux, some errors appear.
   I am not sure if the petalinux could support the Microblaze system with PLB bus. For example, when I select the devices in linux kernel, I could only find the opb_ethernetlite. But I use the xps_ethernetlite in project.

   sincerely waiting for your help!

回帖(3)

李雯婷

2019-5-8 08:35:58
我不是100%最新的petalinux功能,但原生linux内核已经收到补丁,以支持最新版本的Microblaze使用新的PLBv46总线。
要使用新系统,您必须指定所谓的设备树。
有一个EDK的BSP可以根据新系统为您生成此文件。
有关BSP生成器的更多信息,请参阅xilinx的git服务器:git.xilinx.com或Secret Lab的http://wiki.secretlab.ca/index.php/Linux_on_Xilinx_Virtex(它也有链接在Linux上使用Microblaze)。
从设备的角度来看,许多内核的xps / opb版本大致相同。
有些人已经改变了很多。
我会在这两个网站上阅读有关最新Microblaze及其在最新Linux内核下的支持的更直接信息。
在原帖中查看解决方案

以上来自于谷歌翻译


以下为原文

I'm not 100% up-to-date on the petalinux capability, but the native linux kernel has been received patches to support the latest version of the Microblaze which uses the new PLBv46 bus. To use the new system, you have to specify what's known as a device tree. There is a BSP for EDK that can generate this file for you based upon the new system. For more information on the BSP generator look at xilinx's git server: git.xilinx.com or Secret Lab's http://wiki.secretlab.ca/index.php/Linux_on_Xilinx_Virtex (it has a link to using Microblaze on Linux as well).
 
From a device standpoint, the xps/opb versions are mostly the same for many of the cores. Some have changed quite a bit. I would read up on both of those sites for more direct information regarding the latest Microblaze and its support under the latest linux kernels.
View solution in original post
举报

李雯婷

2019-5-8 08:49:48
我不是100%最新的petalinux功能,但原生linux内核已经收到补丁,以支持最新版本的Microblaze使用新的PLBv46总线。
要使用新系统,您必须指定所谓的设备树。
有一个EDK的BSP可以根据新系统为您生成此文件。
有关BSP生成器的更多信息,请参阅xilinx的git服务器:git.xilinx.com或Secret Lab的http://wiki.secretlab.ca/index.php/Linux_on_Xilinx_Virtex(它也有链接在Linux上使用Microblaze)。
从设备的角度来看,许多内核的xps / opb版本大致相同。
有些人已经改变了很多。
我会在这两个网站上阅读有关最新Microblaze及其在最新Linux内核下的支持的更直接信息。

以上来自于谷歌翻译


以下为原文

I'm not 100% up-to-date on the petalinux capability, but the native linux kernel has been received patches to support the latest version of the Microblaze which uses the new PLBv46 bus. To use the new system, you have to specify what's known as a device tree. There is a BSP for EDK that can generate this file for you based upon the new system. For more information on the BSP generator look at xilinx's git server: git.xilinx.com or Secret Lab's http://wiki.secretlab.ca/index.php/Linux_on_Xilinx_Virtex (it has a link to using Microblaze on Linux as well).
 
From a device standpoint, the xps/opb versions are mostly the same for many of the cores. Some have changed quite a bit. I would read up on both of those sites for more direct information regarding the latest Microblaze and its support under the latest linux kernels.
举报

戴双宝

2019-5-8 09:02:42
非常感谢您的关注。
它确实支持EDK9.2版本,我终于完成了它。
当我编译内核时,它报告错误“CONFIG_XILNX_BTN_DECODER_0_ADDR”是未声明的。根据来自互联网的建议,我将变量更改为“CONFIG_XILNX_GPIO_0_ADDR”。
然后它运作良好。
再次感谢你。

以上来自于谷歌翻译


以下为原文

Thank you very much for your attention. It does support the EDK9.2 version and I finally make it out.
When I compile the kernel, it reports the error of "CONFIG_XILNX_BTN_DECODER_0_ADDR" is undclared. According to the advice from internet, I change the variable to "CONFIG_XILNX_GPIO_0_ADDR". Then it works well.
Thank you again.
举报

更多回帖

发帖
×
20
完善资料,
赚取积分