Hi,
Petalinux is running on ZYBO Z7-20. How to find the attached Flash USB drive ? I don't see USB Flash drive in /dev folder. The jumper JP2 USB Host is short on ZYBO Z7-20.
The following steps have been taken in to account.
1- Created hardware project in Vivado 2021.1
2- Added ZYBO Z7-20 board
3- Added ZYNQ PS in Block Diagram
4- Apply board pre-set and run block automation
5- Validate design, Generated output products, HDL wrapper
6- Synthesis, Implementation, Generate bit stream
7- Export project with XSA file
8- Created Petalinux project with template command and set variable OE_TERMINAL = "xterm" in <plnx-proj-root>/project-spec/meta-user/conf/petalinuxbsp.conf
9- Manually edited system-user.dtsi
/include/ "system-conf.dtsi"
/ {
model = "Zynq Zybo Z7 Development Board";
compatible = "digilent,zynq-zyboz7", "xlnx,zynq-7000";
chosen {
bootargs = "console=ttyPS0,115200 earlyprintk uio_pdrv_genirq.of_id=generic-uio";
};
usb_phy0: usb_phy@0 {
compatible = "ulpi-phy";
#phy-cells = <0>;
reg = <0xe0002000 0x1000>;
view-port = <0x0170>;
drv-vbus;
};
};
&gem0 {
phy-handle = <ðernet_phy>;
/* phy-reset-gpio = <&axi_gpio_eth 0 0>;
phy-reset-active-low;
phy-reset-duration = <10>; */
ethernet_phy: ethernet-phy@1 { /* rtl8211e-vl */
reg = <1>;
device_type = "ethernet-phy";
};
};
&usb0 {
dr_mode = "host";
usb-phy = <&usb_phy0>;
};
&sdhci0 {
u-boot,dm-pre-reloc;
};
&uart1 {
u-boot,dm-pre-reloc;
};
&qspi {
u-boot,dm-pre-reloc;
};
&flash0 {
compatible = "micron,m25p80", "s25fl128s", "spi-flash";
};
Petalinux commands
petalinux-create --type project --template zynq --name zynq_hello
petalinux-config --get-hw-description ../zynq_hw
petalinux-config -c kernel
petalinux-build
petalinux-boot --jtag --prebuilt 3
01.jfif
02.jfif