Search the Community
Showing results for tags 'ubuntu'.
Hey all! I'm a graduate student in chemical engineering at UC Berkeley and as a side-project, I'm exploring the possibility of implementing various types of process controllers on FPGAs. My home operating system is Ubuntu and I had a heck of a night scraping together bits and pieces of advice from across the Internet to get Xilinx ISE and Papilio Loader set up and successfully writing bitfiles to the FPGA, so this morning I wrote up a little how-to guide: https://github.com/brandoncurtis/fpga This is just a starting point, and I hope to provide step-by-step guides to more advanced projects as I learn them. I'm particularly interested in updating the examples in the excellent but venerable Intro to Spartan FPGA eBook to run on the Papilio Duo and whatever other hardware I can get my hands on, and enable a side-by-side comparison of VHDL and Verilog for anyone who's interested in learning both. I'll improve the setup guide by trimming unnecessary steps just as soon as I have the opportunity to do a fresh install on another machine. In the meantime, I'd love feedback! If you're using Ubuntu, let me know these steps are working for you or if you know of comprehensive guides elsewhere.
(this post has nothing to do with Papilio. Papilio is great) I dislike WebTalk. Real or imaginary, it seems evil. So, I was thinking of using Ubuntu's wubi to create a little Linux partition. Should Xilinx ISE work OK there compared to a Windows 7 environment (maybe Ubuntu 12.04 or 14.04)? It will probably have around 20 gigs of free space. I read that you can thwart webtalk under Linux. Don't know if that is fair. But I don't want stuff mucking around in the background taking notes and pictures and sending a lump off to someone for something. And really Mr. Xilinx this medieval thinking is "all good" on the way up, but what if you need people on the way down, or when we have a little more choice? I suppose the MCU market is very different than FPGA realated stuff, but there are a lot more high quality free toolsuites for MCU development nowadays. And another thing .... the basic idea of free dev tools is that we the developers, free of charge, will be more inclinded to spec Xilinx chips in our design when we use a spyware_and_$ free develeopment tool from a friendly company. Do you really learn that much from a bunch of students who are learning FPGA? Hmm. Can't imagine it would be about design, but anyway. And if you see a need for free anything, why stuff webtalk in there? Tell the bean counters you are thinking long term, like a champion. BTW the chips are truely amazing & I think some appreciate that Xilinx is at least informing us about webtalk.
I'm using Ubuntu 13.04 64-bit and I noticed that the ZPUino IDE came with "zpu_tools_linux32.tar.bz". I tried to use these on my machine, but I got a "No such file or directory" error. I did a google search and saw this: http://askubuntu.com/questions/133389/no-such-file-or-directory-but-the-file-exists Which has made me think I must compile the ZPU toolchain for a 64-bit machine. I follow the steps as directed by this page: http://opensource.zylin.com/zpudownload.html I run into this error: *** buffer overflow detected ***: zpu-elf-ar terminated======= Backtrace: =========/lib/x86_64-linux-gnu/libc.so.6(__fortify_fail+0x5c)[0x2aaaaade15cc]/lib/x86_64-linux-gnu/libc.so.6(+0x110560)[0x2aaaaade0560]/lib/x86_64-linux-gnu/libc.so.6(+0x10f9e9)[0x2aaaaaddf9e9]/lib/x86_64-linux-gnu/libc.so.6(_IO_default_xsputn+0xdb)[0x2aaaaad4caeb]/lib/x86_64-linux-gnu/libc.so.6(_IO_padn+0xf0)[0x2aaaaad40720]/lib/x86_64-linux-gnu/libc.so.6(_IO_vfprintf+0x4638)[0x2aaaaad1de68]/lib/x86_64-linux-gnu/libc.so.6(__vsprintf_chk+0x94)[0x2aaaaaddfa84]/lib/x86_64-linux-gnu/libc.so.6(__sprintf_chk+0x7d)[0x2aaaaaddf9cd]zpu-elf-ar[0x4072cd]zpu-elf-ar[0x4091ff]zpu-elf-ar[0x40cda7]zpu-elf-ar[0x40494b]zpu-elf-ar[0x404f07]zpu-elf-ar[0x40274b]/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf5)[0x2aaaaacf1ea5]zpu-elf-ar[0x402a95]======= Memory map: ========00400000-00452000 r-xp 00000000 08:02 12724355 /home/kwoods/workspace/ZPU/zpugcc/toolchain/install/bin/zpu-elf-ar00652000-00653000 r--p 00052000 08:02 12724355 /home/kwoods/workspace/ZPU/zpugcc/toolchain/install/bin/zpu-elf-ar00653000-00654000 rw-p 00053000 08:02 12724355 /home/kwoods/workspace/ZPU/zpugcc/toolchain/install/bin/zpu-elf-ar00654000-00658000 rw-p 00000000 00:00 0 0162e000-01736000 rw-p 00000000 00:00 0 [heap]2aaaaaaab000-2aaaaaace000 r-xp 00000000 08:02 11013730 /lib/x86_64-linux-gnu/ld-2.17.so2aaaaaace000-2aaaaaad0000 rw-p 00000000 00:00 0 2aaaaaad0000-2aaaaaad7000 r--s 00000000 08:02 787339 /usr/lib/x86_64-linux-gnu/gconv/gconv-modules.cache2aaaaaad7000-2aaaaaad8000 rw-p 00000000 00:00 0 2aaaaaae4000-2aaaaaae7000 rw-p 00000000 00:00 0 2aaaaaccd000-2aaaaacce000 r--p 00022000 08:02 11013730 /lib/x86_64-linux-gnu/ld-2.17.so2aaaaacce000-2aaaaacd0000 rw-p 00023000 08:02 11013730 /lib/x86_64-linux-gnu/ld-2.17.so2aaaaacd0000-2aaaaae8e000 r-xp 00000000 08:02 11013754 /lib/x86_64-linux-gnu/libc-2.17.so2aaaaae8e000-2aaaab08d000 ---p 001be000 08:02 11013754 /lib/x86_64-linux-gnu/libc-2.17.so2aaaab08d000-2aaaab091000 r--p 001bd000 08:02 11013754 /lib/x86_64-linux-gnu/libc-2.17.so2aaaab091000-2aaaab093000 rw-p 001c1000 08:02 11013754 /lib/x86_64-linux-gnu/libc-2.17.so2aaaab093000-2aaaab098000 rw-p 00000000 00:00 0 2aaaab098000-2aaaab779000 r--p 00000000 08:02 399404 /usr/lib/locale/locale-archive2aaaab779000-2aaaab78d000 r-xp 00000000 08:02 11013779 /lib/x86_64-linux-gnu/libgcc_s.so.12aaaab78d000-2aaaab98d000 ---p 00014000 08:02 11013779 /lib/x86_64-linux-gnu/libgcc_s.so.12aaaab98d000-2aaaab98e000 r--p 00014000 08:02 11013779 /lib/x86_64-linux-gnu/libgcc_s.so.12aaaab98e000-2aaaab98f000 rw-p 00015000 08:02 11013779 /lib/x86_64-linux-gnu/libgcc_s.so.17fff2233d000-7fff22360000 rw-p 00000000 00:00 0 [stack]7fff223fe000-7fff22400000 r-xp 00000000 00:00 0 [vdso]ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0 [vsyscall]make: *** [libgcc.a] Aborted (core dumped)make: *** Deleting file `libgcc.a'make: Leaving directory `/home/kwoods/workspace/ZPU/zpugcc/toolchain/gccbuild/gcc'make: *** [stmp-multilib] Error 2make: Leaving directory `/home/kwoods/workspace/ZPU/zpugcc/toolchain/gccbuild/gcc'make: *** [all-gcc] Error 2Is there any way to get around this? I'm a bit stuck and my end goal right now is just to get the ZPUino IDE to work. Also, is there any chance a simplified version of Linux could be compiled with the ZPU toolchain?