toastedcpu

Members
  • Content Count

    13
  • Joined

  • Last visited

About toastedcpu

  • Rank
    Member

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Thanks!!! I made a terrible simplistic mistake. I searched too much in the wrong places. I should have just retyped the whole thing. Frank
  2. Hello @jpeyron, Thanks. I will put together a comprehensive post covering my notes of little changes I needed in all the previous the steps of the tutorial to make work. These are due to packages that were not inside my Ubuntu distro, or changes on where to get certain files. Frank
  3. Hello, I am still working on Embedded Linux Tutorial Zybo http://www.instructables.com/id/Embedded-Linux-Tutorial-Zybo/, and I get a segmentation fault on the C blink code where puts is writing to the /proc/myled. #include <stdio.h> #include <stdlib.h> #include <unistd.h> int main(){ FILE *fp; while(1){ printf("open /proc/myled 1\n"); fp = fopen("/proc/myled", "w"); if (fp=NULL){ printf("cannot open /proc/myled for write\b"); return -1; } printf("fputs 0x0F\n");
  4. Hello, Thanks for the response! > This is handled entirely in the device tree, and you can tell if one of your designs is doing this by searching the dts and dtsi files for a gpio-leds node (or reverse compiling the dtb Very cool. The problem was that I made two tutorials and got mixed up in the directories. I was putting a compiled FSBL for the Zedboard into a Zybo, so I put the FSBL elf into the BIN. At one point, I got a warning of the FPGA mismatch when I put the debug flag and tried to run the FSBL from the SDK. There is a difference in a clock frequency, so when I
  5. Hello, On the ZYBO, does the green LD4 (LED_MIO) play a role at boot up? While working on http://www.instructables.com/id/Embedded-Linux-Tutorial-Zybo/, I made two BOOT.BINs. One of them boots the SD card properly, so I get the green DONE LD10 lit up with serial terminal activity. The other BOOT.BIN will not light up the green DONE and the LD4 (LED_MIO) goes on. Also, what could be wrong in my BOOT.BIN? I did the FSBL.elf (bootloader partition), system.bit(data file) and u-boot.elf(data file) in the order of the tutorial. Frank
  6. I finished step 36. On this forum, mffrac downloaded a pre-built ramdisk8m.image.gz file over at: https://reference.digilentinc.com/_media/ramdisk8m.image.gz According to this page http://manpages.ubuntu.com/manpages/trusty/man1/mkimage.1.html, it says to use -C instead of -c to specify to compression type. I still don't completely know how much functionality I will get with only a ramdisk. Frank
  7. Hello, I did PATH=$PATH:~/u-boot-Digilent-Dev/tools/ and now I am stuck at step 36 Make Uramdisk http://www.instructables.com/id/Embedded-Linux-Tutorial-Zybo/. Please help. [email protected]:~$ ./u-boot-Digilent-Dev/tools/mkimage -A arm -T ramdisk -c gzip -d ./ramdisk8M.image.gz uramdisk.image.gz ./u-boot-Digilent-Dev/tools/mkimage: Can't open ./ramdisk8M.image.gz: No such file or directory It created a uramdisk.image.gz file of 64 bytes. I didn't make a Tutorial directory, so I work in my home directory. The previous step compiled the kernel and put the kernel im
  8. Cool, thanks to both of you. I installed Vivado 2015.4 for Linux. I am more advanced in the steps now. When I wrote: make CROSS_COMPILE=arm-xilinx-gnueabi-zynq_zybo_config This is wrong. It was missing a space. It should be changed to make CROSS_COMPILE=arm-xilinx-gnueabi- zynq_zybo_config I saw in a downloaded older PDF of the instructables article ZYBO written with capitals. This was corrected in the instructables article. I had to do install for Ubuntu 14.04 sudo apt-get install lib32z1 lib32ncuses5 lib32bz2-1.0 because even after `source /opt/Xilinx/Vivado/2
  9. Hello, I have Windows machine with Vivado2017.2 and SDK installed, also I got VirtualBox Ubuntu 14.04. I am not set up properly to do Digilent's tutorial by K Franz at http://www.instructables.com/id/Embedded-Linux-Tutorial-Zybo/ because it assumes Vivado and SDK installed on Linux. At step 20, when I download https://github.com/Digilent/u-boot-Digilent-Dev.git, and compile at step 21, the Ubuntu installation has no Xilinx tools inside it. [email protected]:~/Documents/digilent-u-boot.git$ make CROSS_COMPILE=arm-xilinx-gnueabi-zynq_zybo_config System not configured - see R
  10. Hello, Is there a real simple demo of the wishbone bus with a simple compatible soft CPU or AXI bridge, to just write to leds and read from switches? The target would be the for arty, zybo. Frank
  11. Hello, I downloaded this neat Hamsterworks VHDL example for Ethernet. https://github.com/hamsternz/FPGA_GigabitTx On byte_data.vhd, there is a mismatch on line 52 between the ip_src_addr hex value and comment. The hex value should be C0A80140 to get 192.168.1.64. The hex value C0A40140 in the code gives 192.164.1.64. Frank