jkoller

Members
  • Content Count

    16
  • Joined

  • Last visited

About jkoller

  • Rank
    Member

Recent Profile Visitors

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

  1. I did notice that this petalinux project sources a remote kernel from Digilent, and the configuration shows this. So the kernel source is downloaded to {$PROJECT/build/linux/kernel/download/linux-digilent} before being built. However, during project level petalinux-config, I noticed the autoconfig directory for device tree points to the default {/opt/petalinux-v2015.4-final/components//linux-kernel/xlnx-4.0/include} directory. My understanding is that both kernels are 4.0.0, so this will work until someone tries to build with a PMOD device that needs special drivers from the remote kernel...
  2. Apologies for the long delay. I did get the Zybo Base demo working, and audio seems to be working OK. I think at this point I had a mix of petalinux not updating the BOOT.BIN with the correct .bit file (despite using the documented methods of forcing this rebuilt), but still using the expected system.dtb, so hardware and software were not aligned. So, I made some (more) petalinux projects, based solely on the default files found in the petalinux quick-start found here: https://github.com/Digilent/petalinux-bsps/wiki/Quick-start-guide I can use the prebuilt image and boot via j
  3. Early next week, I'll try the zybo base design first, and see how that goes. Thanks for that tip Tommy, and if that doesn't work, I'll look into an RMA, thanks Sam! I also forget to mention, in the process, I found out the hard way about the makefile bugs for FSBL. I see them mentioned in your new petalinux guide. When I built images for testing the 12.000MHz clock for the codec, thinking back I'm not sure the FSBL and BOOT.bin were correctly made. So 12.000MHz may still be an option for the full palette of sample rates.
  4. Damn. Debugging further, and I started to hit several roadblocks during bootup. So I retraced my steps and went back to the beginning with a new project, kernel, etc. And now any time I enable the SSM2602, my boot sequence is stuck. Any boot without it, and all is well. I'll see if I can compile as a modprobe/module, and dig further, but I fear my codec is fried. I'll see if I can debug the kernel, but I may just move on to USB audio.... ( I had brought up an RT patched 4.4 kernel with low latency and such...)
  5. 48000 and 32000 seems to work OK, but 44100 does not play tones correctly. To check this, I used speaker-test -f 440 -t sine -c 2 -r 44100 (or 48000/32000) I hear the sine 440Hz is different, and using a chromatic tuner app on my phone, confirmed that 48k and 32k are correct.
  6. As an experiment, I modified the hardware design, to change the clk_wiz_0 generator from 12.288MHz to 12.000MHz. I also changed the device-tree file to match as follows: i2s_clk: i2s_clk { compatible = "fixed-clock"; #clock-cells = <0>; clock-frequency = <12000000>; clock-output-names = "i2s_clk"; }; Even though this is a USB mode, according to the ADI SSM260* spec, I can now see more typical rates available (such as 32kHz and 44.1KHz). Not sure why, but it seems ok after playing back files recorded at different sample rates. I tried to avoid
  7. I can confirm this works!! I built this using a standard petalinux 2015.4 flow, with the device tree saved as .../subsystem/linux/configs/device-tree/system-top.dts The kernel config (dummy.config) saved as: .../subsystem/linux/configs/kernel/config I am also booting with linaro root_fs, so I also copied .../build/linux/rootfs/targetroot/lib/modules/4.0.0-xilinx to [MY SDCARD ROOT_FS]/lib/modules/. >>>>> [email protected]:~# aplay -L null Discard all samples (playback) or generate zero samples (capture) pulse
  8. I was able to recreate the hardware, export to SDK, use this kernel config you provided, and also copied the device-tree provided into a petalinux system-top.dts. Builds and boots fine. However, there is no ALSA sound card registered, and I do not have a /dev that matches the ADI SSM2603, so I am trying to build these drivers as modules, instead of built-in. I'm using Linaro/Ubuntu as rootfs. What from the petalinux build gets copied into my rootfs /lib/modules? (I think this needs to be done, since the modprobe can't be run as /lib/modules isn't populated yet). I think it needs to co
  9. The devil is always in the details, and thanks for noticing. I didn't realize there could be two root directories for digilent projects. However, the master branch I checked out seems to have much more recent activity than the master-next branch of the DigilentInc projects. That doesn't mean it'll work, or is better, but it seems like that is where the current attention is.
  10. I think it's in master now, NOT master-next anymore.
  11. I spoke too soon. I found some issues, and think they may have been due to the fact that I originally git cloned the repo from within windows, and then copied into my VM/CentOS home dir for building (so symlinks & such would work). So I re-cloned directly from within my linux VM. Now there is no zynq_zybo.h or zynq_zybo board config available. 1060 ~/ZYBO_linux_bd $ git clone -b master-next https://github.com/Digilent/u-boot-Digilent-Dev.git Initialized empty Git repository in /home/ME/ZYBO_linux_bd/u-boot-Digilent-Dev/.git/ remote: Counting objects: 252883, done. remote:
  12. Thanks for the response, and another tutorial (the first you listed). I have followed several others (from Digilent) that are out of date, inaccurate, or otherwise in need of touch up. After following the Linux on Zybo tutorial (through u-boot anyway), I can build it correctly. A few warnings and errors were cleaned up by converting scripts from DOS format to unix via dos2unix (mkconfig and tools/scripts/define2mk.sed had ^M as line endings that coughed up a few messages after I allowed the shell called in mkconfig to report errors.) Removing petlainux from my search path also may have
  13. Somewhat out of curiosity, somewhat out of frustration to get zybo linux builds all complete manually, I decided to try configuring/compiling the Linux-Digilent-dev kernel source from within petalinux tools. This avoids a large number of steps (to generate uboot, fsbl, project management, etc). After creating a project via `petalinux-create -t project`, and then importing hardware bsp, I placed a copy of the Linux-Digilent-dev within %PETALINUX_PROJECT%/components/linux-kernel/Linux-Digilent-dev. I only had to run petalinux-config and set the device tree include dir manually to poin
  14. I am at this same place. Was this with the Digilent axi_i2s_adi_1.2 interface (as found in the latest digilent-vivado-library.git)? I did not see this updated IP in a release zybo_base_system.
  15. Hello, I have a Zybo that I've been using. Currently, I'm exploring the various "distros" of linux available, that have some example or history of running on Zybo...Petalinux, the Digilent variant of Xilinx Open Source Linux, and Xillinux. I've seen Ubuntu available as well. I'd like to bring up a headless system, but with audio working. Eventually, I'd like to migrate to an AMP Linux/Baremetal implementation. For the PL side, I have my own design in development to leverage the ACP for hardware acceleration. I'd welcome any experience and/or insight into bringing up a fast and