Brian Padalino wrote: > I am building some experimental/development FPGAs for an X410 and I am > looking at loading them temporarily for a quick runtime test without > committing to overwriting default images. > > With the X310 I am able to achieve this with a JTAG connection. With the > X410, being an SoC, I think this would be pretty terrible to do. > > Are there any recommended ways to load temporary/development FPGA images on > the X410 without overwriting default images? > > Thanks, > Brian
Hello Brian, I don’t know what is recommended way by NI to do that (use Mender, or\ something…) but I can describe what worked (and still works) for me during X411\ development (the port of X410 code to ZCU111). Booting the board looks like this: I’m power-cycling the board - in my case with use of external remotely controlled\ power switch. X410 (as far as I know) has ability to power-cycle itself with use\ of builtin microcontroller. Then the bootloaders are loaded through JTAG. The PC connected to the board has\ installed and configured DHCP (so u-boot can obtain IP), TFTP (so u-boot can\ download the kernel) and NFS servers (to mount remote rootfs during init). When I need to change the FPGA bitstream I just create a symbolic link on the side of\ that the board points to it: ln -s /path/to/new/bitstream /lib/firmware/x411.bin. After creating the symbolic link a restart of the usrp-hwd service is needed on\ the board, so the new bitstream is loaded: systemctl restart usrp-hwd What this setup gives me is a lot of flexibility - i.e. like ability to remotely\ bring the board back to life even after biggest screw-ups (like messing the\ bootloader) or having constant access to the board’s rootfs - even when it’s\ turned off. If in your case it is not needed, you can just do the part with linking (i.e. by\ logging through ssh to your X410) and restarting the usrp-hwd daemon. In your\ case the symbolic link will be named /lib/firmware/x410.bin and probably it is a\ good idea to backup the original file. If you are interested in this setup I can give more details. Best Regards,\ Piotr Krysik
_______________________________________________ USRP-users mailing list -- [email protected] To unsubscribe send an email to [email protected]
