Comments (10)
from fpga_as_a_service.
目前不可以。 现有的插件只用于发现pcie设备。zcu102中的fpga不是pcie,你可以自己尝试支持。思路就是,搜索sysfs发现zcu102上对应/dev/dri/renderDxxx 的major,minor。 只修改fpga.go 其它部分不用改。 或者现在有个U30的卡,就是给mpsoc加上pcie,插到server上,放云端。现有插件支持U30
…
On Fri, Dec 6, 2019 at 12:22 AM Vae @.***> wrote: 作者你好! 此前我已经在zcu102板卡上成功启动ubuntu桌面系统,之后又搭建成功kubernetes集群 (集群中除了zcu102,另一个是x86架构的ubuntu服务器)。 我是否可以在zcu102板卡上部署FPGA设备插件,从而实现对FPGA资源的使用? 期待你的回复! — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <#6?email_source=notifications&email_token=ADFZBM7NMHBHNKV3EISLUELQXIDVJA5CNFSM4JWPWVUKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4H6RMCXA>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADFZBMZJSIODI3ZYE5JPHT3QXIDVJANCNFSM4JWPWVUA .
作者您好,您之前提到的思路中:
路径/dev/dri/renderDxxx的内容是在安装完成XRT之后就会自动生成吗?
因为目前我的arm64Ubuntu系统中找不到相关内容,下一步正打算参考:
https://github.com/Xilinx/XRT/blob/master/src/runtime_src/doc/toc/yocto.rst
以完成XRT的安装
我以上的想法是否正确?期待您的回复!
from fpga_as_a_service.
from fpga_as_a_service.
嵌入式的我也没有试过,我猜可能是的。 /dev/dri 下面的那个节点对应的驱动就是zocl,插件只要找到那个节点,部署容器时把它分给容器的cgroup,就可以了。
…
On Sun, Dec 8, 2019 at 9:08 PM Vae @.> wrote: 目前不可以。 现有的插件只用于发现pcie设备。zcu102中的fpga不是pcie,你可以自己尝试支持。思路就是,搜索sysfs发现zcu102上对应/dev/dri/renderDxxx 的major,minor。 只修改fpga.go 其它部分不用改。 或者现在有个U30的卡,就是给mpsoc加上pcie,插到server上,放云端。现有插件支持U30 … <#m_-1545835254344231278_> On Fri, Dec 6, 2019 at 12:22 AM Vae @.> wrote: 作者你好! 此前我已经在zcu102板卡上成功启动ubuntu桌面系统,之后又搭建成功kubernetes集群 (集群中除了zcu102,另一个是x86架构的ubuntu服务器)。 我是否可以在zcu102板卡上部署FPGA设备插件,从而实现对FPGA资源的使用? 期待你的回复! — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <#6 <#6>?email_source=notifications&email_token=ADFZBM7NMHBHNKV3EISLUELQXIDVJA5CNFSM4JWPWVUKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4H6RMCXA>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADFZBMZJSIODI3ZYE5JPHT3QXIDVJANCNFSM4JWPWVUA . 作者您好,您之前提到的思路中: 路径/dev/dri/renderDxxx的内容是在安装完成XRT之后就会自动生成吗? 因为目前我的arm64Ubuntu系统中找不到相关内容,下一步正打算参考: https://github.com/Xilinx/XRT/blob/master/src/runtime_src/doc/toc/yocto.rst 以完成XRT的安装 我以上的想法是否正确?期待您的回复! — You are receiving this because you commented. Reply to this email directly, view it on GitHub <#6?email_source=notifications&email_token=ADFZBM4W3KH7ZBIPUTKMD3TQXXHEHA5CNFSM4JWPWVUKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEGH3EOI#issuecomment-563065401>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADFZBM2IMTTJG7M76NGUCEDQXXHEHANCNFSM4JWPWVUA .
目前XRT已经参考教程配置安装,现在我看到:
root@zcu102:/dev/dri# tree
.
├── by-path
│ ├── platform-a0000000.zyxclmm_drm-card -> ../card1
│ ├── platform-a0000000.zyxclmm_drm-render -> ../renderD128
│ └── platform-fd4a0000.zynqmp-display-card -> ../card0
├── card0
├── card1
└── renderD128
1 directory, 6 files
注意到有renderD128,而没有配置XRT之前,这个目录下面只有card0
此外还有一个card1,但是我不清楚by-path下面的含义是什么
这样是否说明我已经安装好XRT,并且系统已经检测到相关的设备文件?
如果是这样的话,下一步我就应该按照您的思路去修改fpga.go
我也因此必须了解一些这方面的知识
我的想法是否正确,期待您的回复!
from fpga_as_a_service.
from fpga_as_a_service.
xrt应该已经安装好并且检测到了设备。下面应该是遍历/sys/bus找到FPGA对应的那个renderDxxx,然后参照fpga.go找出/Dev/dri/renderDxxx。注意,插件也是在一个普通pod里面运行,它不能访问/Dev/dri,但是/sys/bus应该是可以只读访问的,所以只能遍历sysfs。你可以运行一个普通的docker看看里面可以访问什么
…
On Tue, Dec 10, 2019, 21:50 Vae @.> wrote: 嵌入式的我也没有试过,我猜可能是的。 /dev/dri 下面的那个节点对应的驱动就是zocl,插件只要找到那个节点,部署容器时把它分给容器的cgroup,就可以了。 … <#m_1689084181836274415_> On Sun, Dec 8, 2019 at 9:08 PM Vae @.> wrote: 目前不可以。 现有的插件只用于发现pcie设备。zcu102中的fpga不是pcie,你可以自己尝试支持。思路就是,搜索sysfs发现zcu102上对应/dev/dri/renderDxxx 的major,minor。 只修改fpga.go 其它部分不用改。 或者现在有个U30的卡,就是给mpsoc加上pcie,插到server上,放云端。现有插件支持U30 … <#m_-1545835254344231278_> On Fri, Dec 6, 2019 at 12:22 AM Vae @.> wrote: 作者你好! 此前我已经在zcu102板卡上成功启动ubuntu桌面系统,之后又搭建成功kubernetes集群 (集群中除了zcu102,另一个是x86架构的ubuntu服务器)。 我是否可以在zcu102板卡上部署FPGA设备插件,从而实现对FPGA资源的使用? 期待你的回复! — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <#6 <#6> <#6 <#6>>?email_source=notifications&email_token=ADFZBM7NMHBHNKV3EISLUELQXIDVJA5CNFSM4JWPWVUKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4H6RMCXA>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADFZBMZJSIODI3ZYE5JPHT3QXIDVJANCNFSM4JWPWVUA . 作者您好,您之前提到的思路中: 路径/dev/dri/renderDxxx的内容是在安装完成XRT之后就会自动生成吗? 因为目前我的arm64Ubuntu系统中找不到相关内容,下一步正打算参考: https://github.com/Xilinx/XRT/blob/master/src/runtime_src/doc/toc/yocto.rst 以完成XRT的安装 我以上的想法是否正确?期待您的回复! — You are receiving this because you commented. Reply to this email directly, view it on GitHub <#6 <#6>?email_source=notifications&email_token=ADFZBM4W3KH7ZBIPUTKMD3TQXXHEHA5CNFSM4JWPWVUKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEGH3EOI#issuecomment-563065401>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADFZBM2IMTTJG7M76NGUCEDQXXHEHANCNFSM4JWPWVUA . 目前XRT已经参考教程配置安装,现在我看到: @.**:/dev/dri# tree . ├── by-path │ ├── platform-a0000000.zyxclmm_drm-card -> ../card1 │ ├── platform-a0000000.zyxclmm_drm-render -> ../renderD128 │ └── platform-fd4a0000.zynqmp-display-card -> ../card0 ├── card0 ├── card1 └── renderD128 1 directory, 6 files 注意到有renderD128,而没有配置XRT之前,这个目录下面只有card0 此外还有一个card1,但是我不清楚by-path下面的含义是什么 这样是否说明我已经安装好XRT,并且系统已经检测到相关的设备文件? 如果是这样的话,下一步我就应该按照您的思路去修改fpga.go 我也因此必须了解一些这方面的知识 我的想法是否正确,期待您的回复! — You are receiving this because you commented. Reply to this email directly, view it on GitHub <#6?email_source=notifications&email_token=ADFZBM22JTWCPTRWNB6EXFTQYB5SBA5CNFSM4JWPWVUKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEGR6YGI#issuecomment-564390937>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADFZBMYUWE7OAVTOZTZRBJ3QYB5SBANCNFSM4JWPWVUA .
不错,我在/sys/bus同样找到了renderD128文件夹,XRT应该没问题了。
但是我注意到插件的另外一个前提条件:All FPGAs have the DSA(shell) flashed already.
这个条件我是否需要满足?
我查询了DSA相关资料,搞不懂应该怎么做。。。
from fpga_as_a_service.
from fpga_as_a_service.
那个前提是针对pcie的,有了shell,可以动态换bitstream。插件报告的是shell的类型,所有和shell兼容的bitstream都可以在上面跑。 嵌入式没有shell,bitstream目前是不能随便换的,它和arm上的os烧一起,而且arm boot好以后bitstream已经load上了。不用管shell,但是目前有个问题是/sys 下面没有一个文件报告当前的bitstream类型,这个可能需要hack一下,否则k8s的调度器不知道选哪个去部署pod
…
On Tue, Dec 10, 2019 at 11:48 PM Vae @.> wrote: xrt应该已经安装好并且检测到了设备。下面应该是遍历/sys/bus找到FPGA对应的那个renderDxxx,然后参照fpga.go找出/Dev/dri/renderDxxx。注意,插件也是在一个普通pod里面运行,它不能访问/Dev/dri,但是/sys/bus应该是可以只读访问的,所以只能遍历sysfs。你可以运行一个普通的docker看看里面可以访问什么 … <#m_69629244539671386_> On Tue, Dec 10, 2019, 21:50 Vae @.> wrote: 嵌入式的我也没有试过,我猜可能是的。 /dev/dri 下面的那个节点对应的驱动就是zocl,插件只要找到那个节点,部署容器时把它分给容器的cgroup,就可以了。 … <#m_1689084181836274415_> On Sun, Dec 8, 2019 at 9:08 PM Vae @.> wrote: 目前不可以。 现有的插件只用于发现pcie设备。zcu102中的fpga不是pcie,你可以自己尝试支持。思路就是,搜索sysfs发现zcu102上对应/dev/dri/renderDxxx 的major,minor。 只修改fpga.go 其它部分不用改。 或者现在有个U30的卡,就是给mpsoc加上pcie,插到server上,放云端。现有插件支持U30 … <#m_-1545835254344231278_> On Fri, Dec 6, 2019 at 12:22 AM Vae @.> wrote: 作者你好! 此前我已经在zcu102板卡上成功启动ubuntu桌面系统,之后又搭建成功kubernetes集群 (集群中除了zcu102,另一个是x86架构的ubuntu服务器)。 我是否可以在zcu102板卡上部署FPGA设备插件,从而实现对FPGA资源的使用? 期待你的回复! — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <#6 <#6> <#6 <#6>> <#6 <#6> <#6 <#6>>>?email_source=notifications&email_token=ADFZBM7NMHBHNKV3EISLUELQXIDVJA5CNFSM4JWPWVUKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4H6RMCXA>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADFZBMZJSIODI3ZYE5JPHT3QXIDVJANCNFSM4JWPWVUA https://github.com/notifications/unsubscribe-auth/ADFZBMZJSIODI3ZYE5JPHT3QXIDVJANCNFSM4JWPWVUA . 作者您好,您之前提到的思路中: 路径/dev/dri/renderDxxx的内容是在安装完成XRT之后就会自动生成吗? 因为目前我的arm64Ubuntu系统中找不到相关内容,下一步正打算参考: https://github.com/Xilinx/XRT/blob/master/src/runtime_src/doc/toc/yocto.rst https://github.com/Xilinx/XRT/blob/master/src/runtime_src/doc/toc/yocto.rst 以完成XRT的安装 我以上的想法是否正确?期待您的回复! — You are receiving this because you commented. Reply to this email directly, view it on GitHub <#6 <#6> <#6 <#6>>?email_source=notifications&email_token=ADFZBM4W3KH7ZBIPUTKMD3TQXXHEHA5CNFSM4JWPWVUKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEGH3EOI#issuecomment-563065401>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADFZBM2IMTTJG7M76NGUCEDQXXHEHANCNFSM4JWPWVUA https://github.com/notifications/unsubscribe-auth/ADFZBM2IMTTJG7M76NGUCEDQXXHEHANCNFSM4JWPWVUA . 目前XRT已经参考教程配置安装,现在我看到: @.*:/dev/dri# tree . ├── by-path │ ├── platform-a0000000.zyxclmm_drm-card -> ../card1 │ ├── platform-a0000000.zyxclmm_drm-render -> ../renderD128 │ └── platform-fd4a0000.zynqmp-display-card -> ../card0 ├── card0 ├── card1 └── renderD128 1 directory, 6 files 注意到有renderD128,而没有配置XRT之前,这个目录下面只有card0 此外还有一个card1,但是我不清楚by-path下面的含义是什么 这样是否说明我已经安装好XRT,并且系统已经检测到相关的设备文件? 如果是这样的话,下一步我就应该按照您的思路去修改fpga.go 我也因此必须了解一些这方面的知识 我的想法是否正确,期待您的回复! — You are receiving this because you commented. Reply to this email directly, view it on GitHub <#6 <#6>?email_source=notifications&email_token=ADFZBM22JTWCPTRWNB6EXFTQYB5SBA5CNFSM4JWPWVUKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEGR6YGI#issuecomment-564390937>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADFZBMYUWE7OAVTOZTZRBJ3QYB5SBANCNFSM4JWPWVUA . 不错,我在/sys/bus同样找到了renderD128文件夹,XRT应该没问题了。 但是我注意到插件的另外一个前提条件:All FPGAs have the DSA(shell) flashed already. 这个条件我是否需要满足? 我查询了DSA相关资料,搞不懂应该怎么做。。。 — You are receiving this because you commented. Reply to this email directly, view it on GitHub <#6?email_source=notifications&email_token=ADFZBM5S7IZ65SMNTRFJTOTQYCLN5A5CNFSM4JWPWVUKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEGSGBHI#issuecomment-564420765>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADFZBMZPJS53IAKA6PLTOM3QYCLN5ANCNFSM4JWPWVUA .
是的,创建系统BOOT.BIN的时候会指定.bit文件,因此bitstream应该也已经加载。
我正在看fpga.go的代码,以便于理解之前的思路。
但是您最后提到的hack是什么意思?我找不到相关信息。。。
from fpga_as_a_service.
from fpga_as_a_service.
hack就是目前在sysfs里没有bitstream类型的信息,而这个信息是必须的,需要你自己先临时想个办法,比如手工创建一个字符串文件,map到插件容器里,插件运行时就知道是什么卡了。 另外你在102上跑的Ubuntu和k8s是自己编的还是下载现成的?我有空的时候弄个嵌入式试试
…
On Thu, Dec 12, 2019, 01:11 Vae @.> wrote: 那个前提是针对pcie的,有了shell,可以动态换bitstream。插件报告的是shell的类型,所有和shell兼容的bitstream都可以在上面跑。 嵌入式没有shell,bitstream目前是不能随便换的,它和arm上的os烧一起,而且arm boot好以后bitstream已经load上了。不用管shell,但是目前有个问题是/sys 下面没有一个文件报告当前的bitstream类型,这个可能需要hack一下,否则k8s的调度器不知道选哪个去部署pod … <#m_-4383179898995368896_> On Tue, Dec 10, 2019 at 11:48 PM Vae @.> wrote: xrt应该已经安装好并且检测到了设备。下面应该是遍历/sys/bus找到FPGA对应的那个renderDxxx,然后参照fpga.go找出/Dev/dri/renderDxxx。注意,插件也是在一个普通pod里面运行,它不能访问/Dev/dri,但是/sys/bus应该是可以只读访问的,所以只能遍历sysfs。你可以运行一个普通的docker看看里面可以访问什么 … <#m_69629244539671386_> On Tue, Dec 10, 2019, 21:50 Vae @.> wrote: 嵌入式的我也没有试过,我猜可能是的。 /dev/dri 下面的那个节点对应的驱动就是zocl,插件只要找到那个节点,部署容器时把它分给容器的cgroup,就可以了。 … <#m_1689084181836274415_> On Sun, Dec 8, 2019 at 9:08 PM Vae @.> wrote: 目前不可以。 现有的插件只用于发现pcie设备。zcu102中的fpga不是pcie,你可以自己尝试支持。思路就是,搜索sysfs发现zcu102上对应/dev/dri/renderDxxx 的major,minor。 只修改fpga.go 其它部分不用改。 或者现在有个U30的卡,就是给mpsoc加上pcie,插到server上,放云端。现有插件支持U30 … <#m_-1545835254344231278_> On Fri, Dec 6, 2019 at 12:22 AM Vae @.> wrote: 作者你好! 此前我已经在zcu102板卡上成功启动ubuntu桌面系统,之后又搭建成功kubernetes集群 (集群中除了zcu102,另一个是x86架构的ubuntu服务器)。 我是否可以在zcu102板卡上部署FPGA设备插件,从而实现对FPGA资源的使用? 期待你的回复! — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <#6 <#6> <#6 <#6>> <#6 <#6> <#6 <#6>>> <#6 <#6> <#6 <#6>> <#6 <#6> <#6 <#6>>>>?email_source=notifications&email_token=ADFZBM7NMHBHNKV3EISLUELQXIDVJA5CNFSM4JWPWVUKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4H6RMCXA>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADFZBMZJSIODI3ZYE5JPHT3QXIDVJANCNFSM4JWPWVUA https://github.com/notifications/unsubscribe-auth/ADFZBMZJSIODI3ZYE5JPHT3QXIDVJANCNFSM4JWPWVUA https://github.com/notifications/unsubscribe-auth/ADFZBMZJSIODI3ZYE5JPHT3QXIDVJANCNFSM4JWPWVUA https://github.com/notifications/unsubscribe-auth/ADFZBMZJSIODI3ZYE5JPHT3QXIDVJANCNFSM4JWPWVUA . 作者您好,您之前提到的思路中: 路径/dev/dri/renderDxxx的内容是在安装完成XRT之后就会自动生成吗? 因为目前我的arm64Ubuntu系统中找不到相关内容,下一步正打算参考: https://github.com/Xilinx/XRT/blob/master/src/runtime_src/doc/toc/yocto.rst https://github.com/Xilinx/XRT/blob/master/src/runtime_src/doc/toc/yocto.rst https://github.com/Xilinx/XRT/blob/master/src/runtime_src/doc/toc/yocto.rst https://github.com/Xilinx/XRT/blob/master/src/runtime_src/doc/toc/yocto.rst 以完成XRT的安装 我以上的想法是否正确?期待您的回复! — You are receiving this because you commented. Reply to this email directly, view it on GitHub <#6 <#6> <#6 <#6>> <#6 <#6> <#6 <#6>>>?email_source=notifications&email_token=ADFZBM4W3KH7ZBIPUTKMD3TQXXHEHA5CNFSM4JWPWVUKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEGH3EOI#issuecomment-563065401>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADFZBM2IMTTJG7M76NGUCEDQXXHEHANCNFSM4JWPWVUA https://github.com/notifications/unsubscribe-auth/ADFZBM2IMTTJG7M76NGUCEDQXXHEHANCNFSM4JWPWVUA https://github.com/notifications/unsubscribe-auth/ADFZBM2IMTTJG7M76NGUCEDQXXHEHANCNFSM4JWPWVUA https://github.com/notifications/unsubscribe-auth/ADFZBM2IMTTJG7M76NGUCEDQXXHEHANCNFSM4JWPWVUA . 目前XRT已经参考教程配置安装,现在我看到: @.:/dev/dri# tree . ├── by-path │ ├── platform-a0000000.zyxclmm_drm-card -> ../card1 │ ├── platform-a0000000.zyxclmm_drm-render -> ../renderD128 │ └── platform-fd4a0000.zynqmp-display-card -> ../card0 ├── card0 ├── card1 └── renderD128 1 directory, 6 files 注意到有renderD128,而没有配置XRT之前,这个目录下面只有card0 此外还有一个card1,但是我不清楚by-path下面的含义是什么 这样是否说明我已经安装好XRT,并且系统已经检测到相关的设备文件? 如果是这样的话,下一步我就应该按照您的思路去修改fpga.go 我也因此必须了解一些这方面的知识 我的想法是否正确,期待您的回复! — You are receiving this because you commented. Reply to this email directly, view it on GitHub <#6 <#6> <#6 <#6>>?email_source=notifications&email_token=ADFZBM22JTWCPTRWNB6EXFTQYB5SBA5CNFSM4JWPWVUKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEGR6YGI#issuecomment-564390937>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADFZBMYUWE7OAVTOZTZRBJ3QYB5SBANCNFSM4JWPWVUA . 不错,我在/sys/bus同样找到了renderD128文件夹,XRT应该没问题了。 但是我注意到插件的另外一个前提条件:All FPGAs have the DSA(shell) flashed already. 这个条件我是否需要满足? 我查询了DSA相关资料,搞不懂应该怎么做。。。 — You are receiving this because you commented. Reply to this email directly, view it on GitHub <#6 <#6>?email_source=notifications&email_token=ADFZBM5S7IZ65SMNTRFJTOTQYCLN5A5CNFSM4JWPWVUKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEGSGBHI#issuecomment-564420765>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADFZBMZPJS53IAKA6PLTOM3QYCLN5ANCNFSM4JWPWVUA . 是的,创建系统BOOT.BIN的时候会指定.bit文件,因此bitstream应该也已经加载。 我正在看fpga.go的代码,以便于理解之前的思路。 但是您最后提到的hack是什么意思?我找不到相关信息。。。 — You are receiving this because you commented. Reply to this email directly, view it on GitHub <#6?email_source=notifications&email_token=ADFZBM6IFGEI2KZAKCNA2J3QYH53NA5CNFSM4JWPWVUKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEGV7HHQ#issuecomment-564917150>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADFZBM5MZPREUCLD4G4B5MTQYH53NANCNFSM4JWPWVUA .
这个说起来比较绕了。。不过应该都算是下载现成的。
起初我参考:https://xilinx-wiki.atlassian.net/wiki/spaces/A/pages/18841937/Zynq+UltraScale+MPSoC+Ubuntu+part+2+-+Building+and+Running+the+Ubuntu+Desktop+From+Sources
打算直接使用通过petalinux生成的系统,但是不知道为什么系统没有apt-get等最基本的命令。
之后我将SD卡分为boot和root两个分区,boot中只拷贝生成的image.ub和BOOT.BIN,而root中的文件直接在http://cdimage.ubuntu.com/下载。
以后每次在petalinux配置、编译后,拷贝相关文件到rootfs对应位置。包括之前配置XRT,也是直接拷贝zocl驱动(我一般直接拷贝/lib/modules/*),也拷贝了/opt/xilinx/xrt目录。重启系统后结果就是之前评论回复的。
由于对petalinux以及相关知识缺乏详细了解,可能我有些操作还不是很严谨,但是就目前来看没出现异常问题。
有了系统后,参考:https://github.com/opsnull/follow-me-install-kubernetes-cluster,部署了k8s,后面顺便装了界面等等。。。
以上就是目前为止做的相关工作,接下来我会根据您的描述继续补充相关知识,再次感谢!
from fpga_as_a_service.
Related Issues (14)
- rename master branch to something less offensive
- Xbutil reset prevents FPGA resources from becoming allocatable HOT 6
- The socket communication between pods can not be done HOT 4
- The fpga deamon-set plugin does not up as expect. HOT 7
- 在/sys/bus/pci/devices/pci-id/目录下没有找到user_pf和mgmt_pf文件 HOT 3
- update to the latest Daemonset APIs for extensions
- 设备插件可以检测到所有型号的FPGA吗? HOT 3
- How can I use k8s-device-plugin to Kria Kv260 HOT 1
- xrt无法发现fpga设备 HOT 8
- Following documentation is not working properly. HOT 16
- Try on AWS F1, but result looks not promised? HOT 28
- 修改fpga.go之后,我的插件日志是否正常? HOT 4
- Run hello world in the pod没有得到输出。 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fpga_as_a_service.