To content | To menu | To search

Zybo Z7 の Petalinux で USBメモリを使いたい

Zybo Z7 には限らないけれど

petalinux 2018.2 添加u盘 ここの通りにやってできた。

petalinux-config を終えたら project-spec/meta-user/recipes-bsp/device-tree/files/system-user.dtsi を編集。

/include/ "system-conf.dtsi"
/ {
};
/{
usb_phy0: usb_phy@0 {
compatible = "usb-nop-xceiv";
#phy-cells = <0>;
};
};

&usb0 {
dr_mode = "host";
usb-phy = <&usb_phy0>;
};

(念のためもう一度 petalinux-config をしたけど不要だと思う)

そして petalinux-build をしたイメージで起動したら USBメモリが認識された。

Add a comment

HTML code is displayed as text and web addresses are automatically converted.

They posted on the same topic

Trackback URL : https://www.pseudomoon.jp/dotclear/index.php?trackback/161

This post's comments feed