Activity
From 05/02/2017 to 05/31/2017
05/27/2017
- AH 11:07 AM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: MityDSP-L138F - External SPI access from "Industrial IO Development Kit"
- Hello Mike,
I am using 80-000268RI-3B. but there are no update in the following link regarding the update
https://support.criticallink.com/redmine/projects/indio/wiki/Industrial_IO_Revision_Information
Which revision I can refer t...
05/23/2017
- DV 08:32 PM MitySOM-5CSX Altera Cyclone V Software Development: RE: Altera spi
- Brian,
Glad to hear it! You're welcome
Dan - BW 06:24 PM MitySOM-5CSX Altera Cyclone V Software Development: RE: Altera spi
- Dan,
Got it working. Thanks for all the help.
Brian - DV 06:12 PM MitySOM-5CSX Altera Cyclone V Software Development: RE: Altera spi
- Brian,
It looks like the Altera GPIO documentation is wrong, in the the driver it's looking for GPIO interrupts to be set with "altr,interrupt-type", not the documented "altr,interrupt-trigger". In the 3.16 kernel it was "altr,interru... - BW 05:57 PM MitySOM-5CSX Altera Cyclone V Software Development: RE: Altera spi
- Dan,
I just tried this and I'm getting the same error. I posted my updated dts.
Thanks,
Brian - BW 05:55 PM MitySOM-5CSX Altera Cyclone V Software Development: RE: Altera spi
- Dan,
I just tried this and I'm getting the same error. I posted my updated dts.
Thanks,
Brian - DV 05:28 PM MitySOM-5CSX Altera Cyclone V Software Development: RE: Altera spi
- Brian,
I think this variable was changed to "altr,interrupt-trigger" in the newer kernel. Here is the documentation for the device-tree bindings of the Altera GPIO core: https://github.com/altera-opensource/linux-socfpga/blob/socfpga-... - BW 05:23 PM MitySOM-5CSX Altera Cyclone V Software Development: RE: Altera spi
- Dan,
I have most of it working. The only problem I see now is the gpio not showing up. I'm getting the following errors:
altera_gpio ff200160.gpio: altr,interrupt-type value not set in device tree
/soc/bus@0ff200000/gpio@0160: regist... - DV 02:38 PM MitySOM-5CSX Altera Cyclone V Software Development: RE: Altera spi
- Brian,
Can you post your boot output?
I would recommend doing a diff of the DE0 nano board dts and that one. There could be some new additions or changes because of the differences in kernel versions.
- DV 08:21 PM MitySOM-5CSX Altera Cyclone V Software Development: RE: Virtual SPI device setup and access using spidev - Altera Cyclone V case
- Glad to hear you got it to work!
Dan - GC 06:48 PM MitySOM-5CSX Altera Cyclone V Software Development: RE: Virtual SPI device setup and access using spidev - Altera Cyclone V case
- Dan,
solved also this step!
I rebuilt the my kernel version using the default .config you suggested me, modified to enable other feature I need to use, and here it is!
I've also managed to use a custom version of spidev.c, that I n... - DV 05:20 PM MitySOM-5CSX Altera Cyclone V Software Development: RE: Virtual SPI device setup and access using spidev - Altera Cyclone V case
- Glad to hear!
I used our mitysom5csx_devkit_defconfig that is part of our 3.16 kernel
kernel: https://support.criticallink.com/gitweb/?p=linux-socfpga.git;a=summary
defconfig: https://support.criticallink.com/gitweb/?p=linux-socfp... - GC 05:04 PM MitySOM-5CSX Altera Cyclone V Software Development: RE: Virtual SPI device setup and access using spidev - Altera Cyclone V case
- Dan,
thanks for it.
I've added the spi0 section at the bottom of my dts and it works!!! Fantastic!!
The only point is that is works only using your uImage, not with mine... that's now my next issue.
But in any case I'm moving on ... - DV 02:32 PM MitySOM-5CSX Altera Cyclone V Software Development: RE: Virtual SPI device setup and access using spidev - Altera Cyclone V case
- Hello Gianni,
I see that you've tried to add both the spidev devices to a FPGA spi core and the HPS peripheral. I would recommend going with the HPS peripheral because there is a known bug with the FPGA spi core and spidev, as discuss... - JC 06:50 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: How to load Linux Kernel and files system with no Ethernet port
- The sd card if formated ext3 or fat32, it should automount to /dev/mmcblk0p1.
- VP 06:28 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: How to load Linux Kernel and files system with no Ethernet port
- Jonathan Cormier wrote:
> I've not really tried to send files over the terminal. But it should be possible using xmodem. The L138 filesystem has the rx program which is used to receive xmodem file streams. sx would be used on the oth... - JC 06:03 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: How to load Linux Kernel and files system with no Ethernet port
- http://k.japko.eu/serial-transfers.html
- JC 05:59 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: How to load Linux Kernel and files system with no Ethernet port
- I've not really tried to send files over the terminal. But it should be possible using xmodem. The L138 filesystem has the rx program which is used to receive xmodem file streams. sx would be used on the other side. I'm not sure exac...
- VP 05:52 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: How to load Linux Kernel and files system with no Ethernet port
- Jonathan Cormier wrote:
> Vivek Ponnani wrote:
> ...
Hi Jonathan,
It seems the first command of install Prereqs (sudo apt-get install libgnomeui-0 libusb-1.0-0-dev ) didn't work well in my first installation(may be due to momentaril...
05/22/2017
- BW 07:59 PM MitySOM-5CSX Altera Cyclone V Software Development: RE: Altera spi
- Dan,
I compiled the rel_socfpga-4.1.33-ltsi-rt_17.05.01_pr branch of the kernel form altera open source. I replaced the config file with the mitysom5csx_devkit_defconfig. I am having trouble with the DTS. When using the dts you provided... - JC 01:48 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: Virtual SPI device setup and access using spidev
- Link to new forum post: https://support.criticallink.com/redmine/boards/45/topics/5295
05/20/2017
- GC 08:01 AM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: Virtual SPI device setup and access using spidev
- Sorry for the wrong Forum...
I've moved the discussion in the correct one now - MitySOM-5CSX Altera Cyclone V - using same message name.
I've posted there the dts I've been using.
Gianni
- Ref: <similar message in ARM9 Based Platforms Forum> https://support.criticallink.com/redmine/boards/10/topics/5285
Hi all,
I'm using a MitySOM-5CSX Altera SOCFPGA Cyclone V board with kernel version 3.16.0-g9cf65cd-dirty and files...
05/19/2017
- DV 05:45 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: Virtual SPI device setup and access using spidev
- Hello Gianni,
Sorry about the confusing before. Would you mind posting your entire altered DTS?
Thank you!
Dan - JC 05:18 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: Virtual SPI device setup and access using spidev
- Gianni Casonato wrote:
> Trying to make the SPI working I've tested several options, found in Internet and in this Forum too, both adding the SPI devices in the soc node, like here below (I've used the "compatible" set to rohm,dh2228fv ... - GC 04:51 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: Virtual SPI device setup and access using spidev
- Trying to make the SPI working I've tested several options, found in Internet and in this Forum too, both adding the SPI devices in the soc node, like here below (I've used the "compatible" set to rohm,dh2228fv for connecting to spidev b...
- DV 05:41 PM MitySOM-5CSX Altera Cyclone V Software Development: RE: Altera spi
- Brian,
Trying to avoid a board spin is fully understandable. Yes, you should be able to use that kernel on the mitysom without too much pain. It looks like in the 4.1 kernel there were updates to spidev so that might be why that versi... - BW 05:20 PM MitySOM-5CSX Altera Cyclone V Software Development: RE: Altera spi
- Dan,
I got the Altera spi working on a DE0 nano board with the latest rt kernel form altera : rel_socfpga-4.1.33-ltsi-rt_17.05.01_pr. Is it possible to uses this kernel on the mitysom? If not the above solution is possible just will r... - DV 03:47 PM MitySOM-5CSX Altera Cyclone V Software Development: RE: Altera spi
- Brian,
I'm sorry for the delay. I've been able to recreate your issue and after looking around Altera's spi kernel driver it looks like its fairly bare on features. The NULL pointer is because the driver doesn't set the setup_transfer... - JC 01:07 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: How to load Linux Kernel and files system with no Ethernet port
- Vivek Ponnani wrote:
> Jonathan Cormier wrote:
> ...
No they will both live happily next to each other. I ran through all the steps on the same VM you have so I'm a bit confused. What doesn't make sense is this line which you shouldn... - VP 08:02 AM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: How to load Linux Kernel and files system with no Ethernet port
- Jonathan Cormier wrote:
> Are you connecting to the VM over ssh? How are you opening the terminal?
I am not using ssh. I have installed VM in Windows 10 machine and start VM from desktop only. I think CCS 5.5 was opening terminal in...
05/18/2017
- JC 08:22 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: Virtual SPI device setup and access using spidev
- Gianni Casonato wrote:
> Hi,
> ...
Okay so you've created a custom driver based on spidev to simulate a device. Neat.
> I've tried several options for defining the SPI device in the dev-tree (dts file), but no way up to now, i.e. the ... - Hi,
I'm trying to simulate with SW a SPI device (I don't have the HW) defining a dummy device to be accessed from user space using spidev (or a modified version).
I've tried several options for defining the SPI device in the dev-tree (... - JC 07:05 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: How to load Linux Kernel and files system with no Ethernet port
- Are you connecting to the VM over ssh? How are you opening the terminal?
- VP 04:56 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: How to load Linux Kernel and files system with no Ethernet port
- Jonathan Cormier wrote:
> Vivek Ponnani wrote:
> ...
Hi Jonathan,
I tried following without '&' at both the directory.The response is same to set DISPLAY.
Actually, just FYI,with the same process I installed CCSv5 in your last VM f... - JC 02:10 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: How to load Linux Kernel and files system with no Ethernet port
- Vivek Ponnani wrote:
> Jonathan Cormier wrote:
> ...
The '&' tells bash to let the process run in the background. Its not really necessary but it shouldn't break things. The installer should launch a gui install wizard.
>
> ...
Yup... - VP 09:56 AM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: How to load Linux Kernel and files system with no Ethernet port
- Jonathan Cormier wrote:
> Okay I was able to successfully install CCSv5.5 in the VM and follow the Starter Guide and DSP Hello World. Let me know if you run into any problems.
Hi Jonathan,
I followed the steps for installing CCSv...
05/17/2017
- JC 03:35 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: How to load Linux Kernel and files system with no Ethernet port
- Okay I was able to successfully install CCSv5.5 in the VM and follow the Starter Guide and DSP Hello World. Let me know if you run into any problems.
- JC 03:05 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: How to load Linux Kernel and files system with no Ethernet port
- Vivek, Looks like there is a bug with the VM that is breaking internet.
* Open Terminal
* @sudo vim /etc/network/interfaces@
* Delete the below lines and save the file - VP 06:54 AM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: How to load Linux Kernel and files system with no Ethernet port
- Jonathan Cormier wrote:
> Updated wiki page to hopefully make it clearer.
> ...
Hi Jonathan,
Your guidance is really helpful. I am able to load Linux Kernel and files system on SD card and boot from it. Now, I am trying to setup he...
05/16/2017
- JC 01:58 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: How to configure LCD with L138-FX-225-RC ?
- Hi Andri sorry for the late response,
You can use a LCD on the FPGA less module. However our "LCD":http://www.criticallink.com/product/expansion-wqvga/ requires a LVDS differential pair video lines which are converted using the FPGA. ...
05/15/2017
- JC 04:06 PM MitySOM-335x (ARM Cortex-A8 Based Products) PCB Development: RE: Schematic of MityARM-3354
- Note: There is a devkit wiki page which links the schematics. https://support.criticallink.com/redmine/projects/am335x-devkit/wiki/Development_Kit_Revision_Information
- JC 04:02 PM MitySOM-335x (ARM Cortex-A8 Based Products) PCB Development: RE: Schematic of MityARM-3354
- Nikita Spirin wrote:
> Q2:
> ...
VDDA_ADC is connect to the 1.8V rail of the PMIC and test point (TP4). I would expect that grounding AIN* and VREF* would still be sufficient though your welcome to ask TI and get back to us.
Unless ... - BD 03:38 PM MitySOM-335x (ARM Cortex-A8 Based Products) PCB Development: RE: Schematic of MityARM-3354
- Hi Nikita,
The schematic for the Dev Kit is available on this support site, under the "Files tab on the MitySOM-335x Dev Kit project":https://support.criticallink.com/redmine/projects/am335x-devkit/files. Look for the filenames contai... - Hi,
I need the schematic of MityARM-3354 SOM and Development Kit. How can I access to it?
Q2:
On TI Wiki i found recommendations to Unused Signals http://processors.wiki.ti.com/index.php/AM335x_Schematic_Checklist#Unused_Signals ,
... - BW 12:23 PM MitySOM-5CSX Altera Cyclone V Software Development: RE: Altera spi
- Dan,
Sorry for the delay. I've been out of town. Here is the c file that I was using to test the spi.
Thanks,
Brian
05/12/2017
- GG 08:57 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: mcp2515 overruns
- Note that if you built the kernel from branch mitydsp-linux-v3.2 of git://support.criticallink.com/home/git/linux-davinci.git this patch has previously been applied. See https://support.criticallink.com/gitweb/?p=linux-davinci.git;a=comm...
- JC 08:00 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: mcp2515 overruns
- Was going through kernel patches for can and noticed this patch in mainline. Maybe its related to your repeated frames.
https://www.spinics.net/lists/netdev/msg209551.html
can: mcp251x: avoid repeated frame bug
05/10/2017
- Hello,
One of my MityDSP board is L138-FX-225-RC, which mean it has no FPGA. Can I used LCD display on this board?
because as far I search in this forum, we need FPGA to configure the LCD.
Also, please refer me to the step-by-step i... - DV 03:27 PM MitySOM-5CSX Altera Cyclone V Software Development: RE: Altera spi
- Brian,
Would you mind posting your updated spi_test.c? I'll see if I can recreate what you're seeing on my dev kit.
Thanks,
Dan - JC 01:44 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: How to load Linux Kernel and files system with no Ethernet port
- Updated wiki page to hopefully make it clearer.
https://support.criticallink.com/redmine/projects/arm9-platforms/wiki/Linux_Root_File_System#section-6 - JC 01:29 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: How to load Linux Kernel and files system with no Ethernet port
- Vivek Ponnani wrote:
> Hi Jonathan,
> ...
You shouldn't need Promiscuous mode. This mode is usually used to packet sniff a network. It tells your network card to not filter packets destined to other computers.
> I managed to get ser... - VP 12:23 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: How to load Linux Kernel and files system with no Ethernet port
- Jonathan Cormier wrote:
> > Network is unreachable
> ...
Hi Jonathan,
Sorry for the late response.
Thanks for your guidance.
You were right, I was not able to connect to network. From the links you provided, I managed to get netw... - AH 11:53 AM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: Failed to reprogram dead board
- Thank you.
I miss the "Holding boot button" part. now it's okay
05/09/2017
- BW 06:46 PM MitySOM-5CSX Altera Cyclone V Software Development: RE: Altera spi
- Thanks Dan,
This cleared up the errors on the DTB. I have tried to run the spi_test.c provided in a different post and still get the Unable to handle kernel NULL pointer dereference at virtual address 00000000. I'm not sure if it's a pr... - JC 03:13 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: DSP Quick start - with Linux OS
- What immediately comes to my mind, is the concern that linux during boot touches a lot of registers, setting pinmuxes, configuring clocks, etc. You may run into a situation where the DSP tries to access a resource as the kernel is recon...
- We currently have a development on an OMAPL138 device that launches an FPGA and DSP image from the Linux OS. We are using the Arm (Linux) to run certain tasks (mainly communications) while using the DSP and FPGA to do most of the front e...
- JC 01:18 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: mcp2515 overruns
- Interesting, let us know what you find. I don't think we have tested zero length messages.
- EL 11:28 AM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: mcp2515 overruns
- Indeed it is not an issue with the patch, if I use git checkout to revert the patch and rebuild the kernel with the mcp251x driver built in, I still see the multiple messages. I will look into what kernel changes have been made from mity...
- EL 09:33 AM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: mcp2515 overruns
- I have the patched kernel and modules built and installed now.
Now, connecting a USB-CAN PC logger I see multiple messages in the log, very closely spaced for each one sent by cansend on the l138.
I have a script that runs at start...
05/08/2017
- JC 07:42 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: mcp2515 overruns
- Verify in your .config file that CONFIG_CAN_MCP251X=m
Are you running make ARCH=arm CROSS_COMPILE=arm-angstrom-linux-gnueabi- modules? - EL 04:49 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: mcp2515 overruns
- Hi Greg
The patch looks very useful. I need to set the mcp2515 as a module with menuconfig, correct? But I don't see that .ko being generated when I run make for the modules.
I have made Raw CAN Protocol a module, although I have ju... - DV 06:18 PM MitySOM-5CSX Altera Cyclone V Software Development: RE: Altera spi
- Hi Brian,
Sorry you'll also have to set #size-cells to 0x0 for the altera spi driver nodes, this info was taken from here: https://support.criticallink.com/gitweb/?p=linux-socfpga.git;a=blob;f=Documentation/devicetree/bindings/spi/spi... - BW 05:11 PM MitySOM-5CSX Altera Cyclone V Software Development: RE: Altera spi
- I'm still getting the same error.
- DV 04:57 PM MitySOM-5CSX Altera Cyclone V Software Development: RE: Altera spi
- Hi Brain,
Sorry for the delay. Looking at the warnings you're getting from the critical link toolchain you need to set the #address-cells to 1.
For example: - BW 01:24 PM MitySOM-5CSX Altera Cyclone V Software Development: RE: Altera spi
- I was able to comply the DTB using a tool chain from rocketboards and a spi device showed up under /dev/spidev. Writing to this device crashes Linux and gives me the following error:
Unable to handle kernel NULL pointer dereference at v...
05/04/2017
- JC 01:00 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: How to load Linux Kernel and files system with no Ethernet port
- > 4) Then I follow Exporting as NFS mountable drive, but it seems as there is no more support for Ubuntu 10.04, when I run sudo apt‐get install nfs‐kernel‐server, It gives response as below(Install_nfs_kernel_server.txt)
Note that the... - JC 12:57 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: How to load Linux Kernel and files system with no Ethernet port
- > Network is unreachable
Looks like you don't have internet in the VM. When you started the VM did it ask you about specifying your computers network adapter. You can use 'ifconfig' in the VM to print the network adapter information. ... - VP 11:50 AM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: How to load Linux Kernel and files system with no Ethernet port
- Jonathan Cormier wrote:
> Uploaded newer VM. This one is based on Ubuntu 14.04. Note this VM has both 335x and L138 toolchains.
> ...
Hi Jonathan,
Thanks for your response and new VM.
I imported Critical_Link_Unified_VM_14-04_04...
05/02/2017
- BW 07:59 PM MitySOM-5CSX Altera Cyclone V Software Development: RE: Altera spi
- Thanks for the reply. I have updated the dts and I'm getting the following warnings:
Warning (reg_format): "reg" property in /soc/bus@0ff200000/spi@0x0060/device@0 has invalid length (4 bytes) (#address-cells == 2, #size-cells == 0)
... - MW 02:54 PM MitySOM-5CSX Altera Cyclone V Software Development: RE: Altera spi
- Hi Brian,
Are you trying to use the device from user space with the spidev driver? If so, then you need to fix the device tree to use: - JC 06:20 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: How to load Linux Kernel and files system with no Ethernet port
- Uploaded newer VM. This one is based on Ubuntu 14.04. Note this VM has both 335x and L138 toolchains.
https://support.criticallink.com/redmine/projects/arm9-platforms/wiki/Linux_Build_VM - JC 05:22 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: How to load Linux Kernel and files system with no Ethernet port
- Vivek, Sorry about all this. The apt-get repo's got moved when it went end of life. We've been meaning to post a new VM but things always come up. If your up for it, you can install ubuntu 14.04 or 16.04 in a VM then install the toolc...
- VP 04:21 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: How to load Linux Kernel and files system with no Ethernet port
- Vivek Ponnani wrote:
> Michael Williamson wrote:
> ...
- VP 02:29 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: How to load Linux Kernel and files system with no Ethernet port
- Jonathan Cormier wrote:
> Vivek Ponnani wrote:
> ...
Hi Jonathan,
Thanks for your respone.
I tried to install Putty in my VM, but I am not able to install it. It seems, it is because of Ubuntu 10.04 is not supported anymore. I g... - VP 02:22 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: How to load Linux Kernel and files system with no Ethernet port
- Michael Williamson wrote:
> Did you take a look at the section "Booting off MMC / SD Card" in the "Linux Root File System":https://support.criticallink.com/redmine/projects/arm9-platforms/wiki/Linux_Root_File_System page?
> ...
Hi Mike...