ikwzm / ZynqMP-FPGA-Ubuntu20.04-Ultra96

Ubuntu 20.04 Desktop for Ultra96/Ultra96-V2
12 stars 3 forks source link

Contents of HW image, XLNX support #3

Open aawce opened 3 years ago

aawce commented 3 years ago

Hi ikwzm,

This is a great project thank you - I am considering using it on our MPSoC project which is based on U96v2. Quick questions:

  1. I assume the boot image HW is the same as the base U96V2, correct? (which has several UARTs for BT and Mezzanine stuff, etc.)
  2. Are you doing this in association with any Xilinx support, or particular XLNX staff? That way I could get support through our Xilinx contacts if necessary.

Thanks!

ikwzm commented 3 years ago

Thank you for the issue.

  1. I assume the boot image HW is the same as the base U96V2, correct? (which has several UARTs for BT and Mezzanine stuff, etc.)

Sorry. I don't understand the intent of the question. The boot loader and Linux Kernel provided by this repository were built using the method shown at the following URL.

  1. Are you doing this in association with any Xilinx support, or particular XLNX staff? That way I could get support through our Xilinx contacts if necessary.

What this repository provides is not supported by Xilinx. The Xilinx design flow assumes PetaLinux. However, this project ignores PetaLinux. So I don't think you can expect Xilinx support.

aawce commented 3 years ago

Hi, Thanks! I meant, is there a bitstream in the boot image, and what HW is in that bitstream?

And thanks, I understand XLNX only supports Petalinux and we've been asking them for Ubuntu support for years, and that's why I'm grateful for your project. Just curious though, are you doing this for your own purposes? Or is there some customer asking you for it? You seem to have a good understanding of mpsoc boot flow which is not easy or commonly known.

ikwzm commented 3 years ago

Thanks! I meant, is there a bitstream in the boot image, and what HW is in that bitstream?

The boot loader (boot.bin) contains the FPGA bitstream. For more information on FPGA bitstreams, see the following URL:

I'm using fpga-region + fpga-manager to dynamically change the FPGA program while running Linux. Therefore, the FPGA program included in the boot loader contains only the minimum components to boot Linux.

Just curious though, are you doing this for your own purposes? Or is there some customer asking you for it? You seem to have a good understanding of mpsoc boot flow which is not easy or commonly known.

This purpose is just my interest. This is not a business. Therefore, there are no customers.

I don't like Xilinx PetaLinux. The design flow with PetaLinux is too verbose. I found it very annoying to build Linux rootfs every time I redesigned the FPGA. Therefore, I chose to prepare a separate Linux rootfs that uses the Debian Package. Maybe some people feel the same as I do, so I'm publishing this repository.

CraigOpie commented 3 years ago

I'm using fpga-region + fpga-manager to dynamically change the FPGA program while running Linux. Therefore, the FPGA program included in the boot loader contains only the minimum components to boot Linux.

Very smart. Thank you for your work. You don't happen to have a ZCU102 build laying around, do you? lol.

ikwzm commented 3 years ago

I don't have ZCU102, so it's hard to get Ubuntu working.

All you need to run FPGA-SoC-Linux or FPGA-SoC-Ubuntu20.04 on a board other than Ultra96 is a Device Tree and a Boot Loader. The Boot Loader includes bitstream, FSBL (First Stage Boot Loader), and U-boot built for ZCU102. If you can prepare these, Ubuntu may work on ZCU102.

CraigOpie commented 3 years ago

Thanks!

On Tue, Jan 26, 2021, 06:10 KAWAZOME Ichiro notifications@github.com wrote:

I don't have ZCU102, so it's hard to get Ubuntu working.

All you need to run FPGA-SoC-Linux or FPGA-SoC-Ubuntu20.04 on a board other than Ultra96 is a Device Tree and a Boot Loader. The Boot Loader includes bitstream, FSBL (First Stage Boot Loader), and U-boot built for ZCU102. If you can prepare these, Ubuntu may work on ZCU102.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/ikwzm/ZynqMP-FPGA-Ubuntu20.04-Ultra96/issues/3#issuecomment-767649803, or unsubscribe https://github.com/notifications/unsubscribe-auth/AG2YPASWQYMGSFR4HXNV3DLS33SNVANCNFSM4WP5B3YA .