Project

General

Profile

Activity

From 12/16/2017 to 01/14/2018

01/12/2018

JC 02:07 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: Linux USB Gadget is not working on custom board
Glad it worked. I suspect your ID pin is being pulled low somehow. But as long as you don't need to support HOST mode, there should be no problem with forcing Peripheral mode. Jonathan Cormier
10:23 AM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: Linux USB Gadget is not working on custom board
Jonathan Cormier wrote:
> In the 3.2 branch Peripheral mode can be configured in the baseboard.
That actually worked. Thanks!
I edited "@baseboard-industrialio.c@" and set the USB mode as peripheral. Somehow, our custom board ne...
Okan Çalış

01/11/2018

JC 02:13 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: Linux USB Gadget is not working on custom board
Okan Çalış wrote:
> Michael Williamson wrote:
> ...
Woops sorry I was looking at the 2.6 kernel sources. In the 3.2 branch Peripheral mode can be configured in the baseboard.
Jonathan Cormier
08:47 AM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: Linux USB Gadget is not working on custom board
Michael Williamson wrote:
> Do you see these lines even if you don't connect the PC? (I was looking to see if the kernel is detecting when you plug in the PC and complaining about something, or if it doesn't see any activity at all)....
Okan Çalış

01/10/2018

JC 02:37 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: Linux USB Gadget is not working on custom board
Could you attach your .config?
By default, CONFIG_USB_MUSB_OTG is selected which puts the kernel in OTG mode. In this mode, if USB*_ID is pulled low then the device enters host mode and if its left floating then its in Peripheral mod...
Jonathan Cormier
01:27 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: Linux USB Gadget is not working on custom board
> Do you see these lines even if you don't connect the PC?
Yes, I see those lines even when not connected to the host.
I did a @dmesg@ in the Critical Link board, but those lines don't appear there (when not connected).
> ...
I ...
Okan Çalış
MW 01:06 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: Linux USB Gadget is not working on custom board
So if you are trying to run in peripheral mode, I am not entirely sure I understand the last lines of your log file: Michael Williamson
12:45 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: Linux USB Gadget is not working on custom board
Hi Mike,
> Are you using USB as OTG? Host or peripheral mode for your test?
In our tests, the device acts as the peripheral and the computer as the host.
> ...
I did a @dmesg@ before and after plugging the USB, but the output i...
Okan Çalış
MW 12:13 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: Linux USB Gadget is not working on custom board
Are you using USB as OTG? Host or peripheral mode for your test?
If you do a dmesg (before and after plugging in a USB device), do you see anything related to USB?
The driver for the ARM in OTG mode wants to see the VBUS in toggle...
Michael Williamson
11:37 AM MityDSP-L138 (ARM9 Based Platforms) Software Development: Linux USB Gadget is not working on custom board
Hi,
We've been working on a MityDsp-L138F SoM and so far managed to use USB GadgetFS feature of the Linux kernel to send and receive bulk data through USB 2.0.
We also have a custom-manufactured board based on MityDsp. To adapt the...
Okan Çalış

01/09/2018

01:37 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: IPC and uPP interrupts APIs conflict
Hi,
We've been working on a MityDsp-L138F. The ARM and DSP cores run Linux and SYS/BIOS, respectively. We're using SysLink for inter-processor communication. Specifically, we send Notify events between the cores. Up to this point, eve...
Okan Çalış

01/04/2018

VP 02:06 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: Real time signal input and output with uPP interface in MityDSP
Hi,
I have a custom board with
1) MityDspl-138F module (with FPGA)
2) No Ethernet port
3) UART,USB,SD CARD interface
4) We are using ADC5560 and DAC5672, reference is taken from Analog Expansion Board.
ADC and DAC both operates ...
Vivek Ponnani

12/27/2017

09:57 AM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: Changing UART1 to UART2 in Linux Kernel
Just noticed I left the @bootargs@ as @ttyS1@.
Changing that to @ttyS2@ solved that issue.
Sorry, I wasn't expecting such a simple solution.
Okan Çalış
05:32 AM MityDSP-L138 (ARM9 Based Platforms) Software Development: Changing UART1 to UART2 in Linux Kernel
Hi,
We've been working on a MityDsp-L138F board, and I can boot to Linux with NFS, with the following environment variables:
Okan Çalış

12/21/2017

VP 11:56 AM MityDSP-L138 (ARM9 Based Platforms) Software Development: Low frequency input (5 Hz to 20KHz processing) for mitydspl138F
Hi,
I have a custom board with
1) MityDspl-138F module (with FPGA)
2) No Ethernet port
3) UART,USB,SD CARD interface
4) We are using ADC5560 and DAC5672, reference is taken from Analog Expansion Board.
ADC and DAC both operat...
Vivek Ponnani
VJ 08:55 AM MitySOM-5CSX Altera Cyclone V Software Development: RE: FPGA GPIO interrupt
Hi Dan
I have attached the kernel module we are trying to load, fpga_uinput.ko and the Makefile.
One thing we have not figured out is how the fpga gpio interrupts are mapped into the linux interrupts.
To make this work (on our previou...
V J

12/20/2017

DV 01:14 PM MitySOM-5CSX Altera Cyclone V Software Development: RE: FPGA GPIO interrupt
Hi Vidar,
Can you please post your updated dts and the source for the gpio driver?
Dan
Daniel Vincelette
VJ 12:32 PM MitySOM-5CSX Altera Cyclone V Software Development: FPGA GPIO interrupt
Hello
In our design we need to generate a gpio interrupt in the fpga, catch it on the Linux side and execute various SW- actions.
We have a working ‘fpga gpio interrupt kernel module’ developed for another board, and we want to port i...
V J
VJ 12:56 PM MitySOM-5CSX Altera Cyclone V Software Development: RE: Using PREEMPT_RT on MitySOM 5CSX Dev Board
Hi
Checking out the altera 4.1.22-ltsi-rt branch from git://github.com/altera-opensource/linux-socfpga, and compiling the kernel with gcc version 4.8.3 solved the problems.
Thanks!
BR
Vidar
V J

12/18/2017

DV 03:22 PM MitySOM-5CSX Altera Cyclone V Software Development: RE: How to generate the device tree files
Hi Vidar,
The recommended procedure is to copy our development kit dts and alter it for your needs:https://support.criticallink.com/gitweb/?p=linux-socfpga.git;a=blob;f=arch/arm/boot/dts/socfpga_mitysom5csx_devkit.dts;h=6fa36cbad203e2...
Daniel Vincelette
VJ 02:58 PM MitySOM-5CSX Altera Cyclone V Software Development: How to generate the device tree files
Hi
In our design we have added a msgdma, some pios and irqs, and we need an updated dts file.
I am not able to find any board related xml files for the MitySOM 5CSX eval board, so using the sopc2dts tool to auto generate the dts file...
V J
DV 01:51 PM MitySOM-5CSX Altera Cyclone V Software Development: RE: Using PREEMPT_RT on MitySOM 5CSX Dev Board
Hi Vidar,
You might need to checkout the altera 4.1.22-rt instead of trying to use the source that yocto downloads as your kernel source directory. If you would like yocto to build your out of tree module then this link should help: h...
Daniel Vincelette
VJ 12:54 PM MitySOM-5CSX Altera Cyclone V Software Development: RE: Using PREEMPT_RT on MitySOM 5CSX Dev Board
Hello Dan,
Thanks for the update. I have built the krogoth branch, and have now a running system!
The next step is to compile my gpio interrupt kernel module, and I have some problems.
From my previous Terasic project I have a work...
V J
 

Also available in: Atom