Project

General

Profile

Activity

From 03/04/2020 to 04/02/2020

03/31/2020

SW 12:16 PM MitySOM-335x (ARM Cortex-A8 Based Products) Software Development: RE: GPIO toggling/chattering while performing NAND read.
Hi,
We have SOM board as per below link:
https://static6.arrow.com/aropdfconversion/bd95376e672d11c623e62dac62cb587c9bb1bc34/mitysom-335x-criticallink.pdf
If you have any evaluation board for the above mentioned SOM board, pleas...
Srinivasa Wunnimani

03/30/2020

JC 05:46 PM MitySOM-335x (ARM Cortex-A8 Based Products) Software Development: RE: GPIO toggling/chattering while performing NAND read.
Srinivasa Wunnimani wrote:
> *> Now my suspect is on below registers*
> ...
In order to find these registers, all I do is run "grep -iR " with the string I'm looking for in the u-boot source directory. Sometimes may need to poke aroun...
Jonathan Cormier
JC 05:41 PM MitySOM-335x (ARM Cortex-A8 Based Products) Software Development: RE: GPIO toggling/chattering while performing NAND read.
Srinivasa Wunnimani wrote:
> Hi,
> ...
Okay looks like the pinmux's match
Jonathan Cormier

03/28/2020

SW 02:01 PM MitySOM-335x (ARM Cortex-A8 Based Products) Software Development: RE: GPIO toggling/chattering while performing NAND read.
Forget to attach log files.
Please find log files attached.
Regards
Srinivasa
Srinivasa Wunnimani
SW 02:00 PM MitySOM-335x (ARM Cortex-A8 Based Products) Software Development: RE: GPIO toggling/chattering while performing NAND read.

Hi
> If things are crashing now, then this was probably not the correct change.
I have started debugging into gpmc_init() in u-boot 2013.10 Vs u-boot 2018.01.
Old u-boot 2013.10 in file “arch/arm/cpu/armv7/am33xx/mem.c”
Srinivasa Wunnimani
SW 01:12 PM MitySOM-335x (ARM Cortex-A8 Based Products) Software Development: RE: GPIO toggling/chattering while performing NAND read.
Hi,
I am little confused on sysconfig pin mux registers. Did you mean control module registers?
Anyways, I have captured control module register values for v2013.10 to our new u-boot v2018.01.
Please find logs attached.
Regards
...
Srinivasa Wunnimani

03/27/2020

JC 01:25 PM MitySOM-335x (ARM Cortex-A8 Based Products) Software Development: RE: GPIO toggling/chattering while performing NAND read.
> To make sure pinmux is okay, copied board/cl/mityarm335x/mux.c from v2013.10 to our new u-boot v2018.01. Please find mux.c attached.
I was hoping to have you dump the sysconfig pin mux registers for the 2013 and 2019 u-boots to make...
Jonathan Cormier
SW 07:55 AM MitySOM-335x (ARM Cortex-A8 Based Products) Software Development: RE: GPIO toggling/chattering while performing NAND read.
Hi,
If things are crashing now, then this was probably not the correct change. If you double check the config7 register, did this change set it to the value we expect from v2013.10?
> In the entire u-boot the only C file (arch/arm/...
Srinivasa Wunnimani

03/25/2020

JC 01:09 PM MitySOM-335x (ARM Cortex-A8 Based Products) Software Development: RE: GPIO toggling/chattering while performing NAND read.
Srinivasa Wunnimani wrote:
> Hi,
> ...
If things are crashing now, then this was probably not the correct change. If you double check the config7 register, did this change set it to the value we expect from v2013.10?
> Sure, we wil...
Jonathan Cormier
SW 09:09 AM MitySOM-335x (ARM Cortex-A8 Based Products) Software Development: RE: GPIO toggling/chattering while performing NAND read.
Hi,
I have updated arch/arm/mach-omap2/mem-common.c as below:
132 #if defined(CONFIG_NAND) || defined(CONFIG_CMD_NAND)
133 case MTD_DEV_TYPE_NAND:
134 gpmc_regs = gpmc_regs_nand;
135 base ...
Srinivasa Wunnimani
EH 12:47 AM MitySOM-5CSX Embedded Vision Developer's Kit for Basler dart BCON Support: RE: Intel OpenVINO with the VDK
Thanks Mike,
That confirms what I've been thinking about it also, so that is the approach I'll take -- merge the two projects into a VDK BSP.
Thanks, and please stay safe out there in NYC..
Ed Henderson
MW 12:12 AM MitySOM-5CSX Embedded Vision Developer's Kit for Basler dart BCON Support: RE: Intel OpenVINO with the VDK
The FPGA code for the VDK is on github here:
https://github.com/CriticalLink/mitysom5csx-dart-evdk/tree/master/fpga
You want the vdk_single if you are using just one camera interface.
The board_spec.xml is part of an OpenCL BSP,...
Michael Williamson
EH 12:00 AM MitySOM-5CSX Embedded Vision Developer's Kit for Basler dart BCON Support: RE: Intel OpenVINO with the VDK
I was looking for the one that is for the current VDK, so it would just have the ARM code.
I do have the code from the VDK files on the wiki. There isn't a 'BSP' there, but there are several versions of the FPGA code.
I guess I was loo...
Ed Henderson

03/24/2020

MW 11:54 PM MitySOM-5CSX Embedded Vision Developer's Kit for Basler dart BCON Support: RE: Intel OpenVINO with the VDK
Hi Ed,
If you are looking for an FPGA project / BSP with VDK + OpenCL architected, I don't have one handy. I only have the reference FPGA project that works with the example ARM programs.
If you need that FPGA project, it should b...
Michael Williamson
EH 11:25 PM MitySOM-5CSX Embedded Vision Developer's Kit for Basler dart BCON Support: RE: Intel OpenVINO with the VDK
Mike -- I have several examples of Cyclone V BSP's that incorporate an OpenCL kernel. It would be *VERY* helpful to have a starting "BSP" for the VDK, because then I can use the other examples as a reference and add the OpenCL kernel int... Ed Henderson
EH 03:04 PM MitySOM-5CSX Embedded Vision Developer's Kit for Basler dart BCON Support: RE: Intel OpenVINO with the VDK
Hey Mike, i've been reading manuals for the past few days, and learned quite a lot.
I see now how the BSP and Kernel fit together -- the BSP can contain a partition where the OpenCL Kernel is inserted.
The BSP can contain all of the co...
Ed Henderson
DV 06:47 PM MitySOM-5CSX Altera Cyclone V Software Development: RE: Rocko, possible memory leak?
VJ,
I agree after looking at your data and with the knowledge that I've run 5CSX SOMs for weeks plugged into the network without having them dead locking.
It looks like the kernel uses a fair amount of memory for ethernet, though i...
Daniel Vincelette
VJ 03:25 PM MitySOM-5CSX Altera Cyclone V Software Development: RE: Rocko, possible memory leak?
Dan, based upon the measurements I have done and input from Mike I think I have to write this off as normal behavior.
I have done some stress test where I stream data over Ethernet and the memory use does not increase uncontrolled.
BR
VJ
V J

03/23/2020

MW 11:23 AM MitySOM-5CSX Altera Cyclone V Software Development: RE: Rocko, possible memory leak?
Hello Dan/VJ,
Have you guys seen this stack overflow post about tracking socket buffers /
memory moving through the network stacks?
https://unix.stackexchange.com/questions/419518/how-to-tell-how-much-memory-tcp-buffers-are-actually-us...
Michael Williamson
VJ 10:56 AM MitySOM-5CSX Altera Cyclone V Software Development: RE: Rocko, possible memory leak?
Hi Dan.
I have monitored the memory use over the weekend. See attached plot where "free" is logged every 10 minutes.
Test steps:
1: Booting the board. Ethernet cables are connected to Eth0 and Eth1, but no dedicated traffic or connec...
V J

03/19/2020

EH 07:58 PM MitySOM-5CSX Embedded Vision Developer's Kit for Basler dart BCON Support: RE: Intel OpenVINO with the VDK
I found an interesting reference to a presentation here:
https://www.globallogic.com/wp-content/uploads/2016/10/Combination-of-OpenCL-and-Video-Processing-Design-in-SoC_.pdf
It shows using both together, even multiple kernels. Unfort...
Ed Henderson
MW 07:51 PM MitySOM-5CSX Embedded Vision Developer's Kit for Basler dart BCON Support: RE: Intel OpenVINO with the VDK
You can, but you have to implement all of that stuff as part of the "BSP" if you don't want to implement it all in OpenCL (which, for the RAW LVDS inputs, is not possible I don't think).
I have only played around a little with that, a...
Michael Williamson
EH 06:04 PM MitySOM-5CSX Embedded Vision Developer's Kit for Basler dart BCON Support: RE: Intel OpenVINO with the VDK
There is one key part that I'm not able to wrap my head around just yet. If you have some knowledge here, it would help greatly.
What I know is that I can write an OpenCL kernel that performs some work. I can write a host program with...
Ed Henderson
VJ 03:54 PM MitySOM-5CSX Altera Cyclone V Software Development: RE: Rocko, possible memory leak?
Hi Dan
Yes, 2 and 3b are the same.
I have done some more monitoring where Eth0 is connected but not used and Eth1 is pinged every sec.
Next eth0 and eth1 are taken down after 11h 30m:
V J
DV 01:42 PM MitySOM-5CSX Altera Cyclone V Software Development: RE: Rocko, possible memory leak?
Hi VJ
Those are definitely interesting findings leads me to believe like yourself some part of the ethernet subsystem is causing it. Would you say your test for 3b and 2 are the same? If not what are the differences?
I switched to ...
Daniel Vincelette
JC 03:37 PM MitySOM-335x (ARM Cortex-A8 Based Products) Software Development: RE: GPIO toggling/chattering while performing NAND read.
The config7 register appears to be getting set in arch/arm/mach-omap2/mem-common.c Jonathan Cormier
SW 06:18 AM MitySOM-335x (ARM Cortex-A8 Based Products) Software Development: RE: GPIO toggling/chattering while performing NAND read.

Sure, we will print CONTROL_MODULE_REGISTERS and update you on the same.
We want to update the source code and make GPMC registers same as old u-boot.
Towards this can you please let us know:
Where (filename/function/line) do I ch...
Srinivasa Wunnimani

03/18/2020

EH 04:31 PM MitySOM-5CSX Embedded Vision Developer's Kit for Basler dart BCON Support: RE: Intel OpenVINO with the VDK
I was just looking through the code on that. I've already cloned the git repo.
I'll use that as a starting point. It won't have any of the code related to the VDK, i.e. the Basler LVDS input logic, and the image processing flow that ...
Ed Henderson
MW 04:27 PM MitySOM-5CSX Embedded Vision Developer's Kit for Basler dart BCON Support: RE: Intel OpenVINO with the VDK
Hi Ed:
Have you looked at our OpenCL BSP reference kit for our MitySOM-5CSX DevKit?
https://support.criticallink.com/redmine/projects/mityarm-5cs/wiki/MitySOM-5CSX_DevKit_OpenCL_BSP
It's a little old, but you could probably adapt/use...
Michael Williamson
EH 04:20 PM MitySOM-5CSX Embedded Vision Developer's Kit for Basler dart BCON Support: RE: Intel OpenVINO with the VDK
Michael -- I am currently pursuing the OpenCL approach. It seems the most viable.
We are looking at OpenCL implementations of darknet, so my goal will be to see if/how much of a darknet implementation I could get working on the Cyclon...
Ed Henderson

03/16/2020

EH 06:31 PM MitySOM-5CSX Embedded Vision Developer's Kit for Basler dart BCON Support: RE: Intel OpenVINO with the VDK
I wanted to add this link:
https://software.intel.com/en-us/articles/pipecnn-on-intel-fpga-acceleration-of-machine-learning-workloads
It does not sound like PipeCNN is "fast", but it does appear to meet the spirit of what I am atte...
Ed Henderson
MW 05:09 PM MitySOM-5CSX Embedded Vision Developer's Kit for Basler dart BCON Support: RE: Intel OpenVINO with the VDK
I will need to check. I don't think I have one that put aside resources
for the current camera pipeline.
-Mike
On Mon, Mar 16, 2020 at 1:01 PM <redmine@criticallink.com> wrote:
Michael Williamson
EH 05:01 PM MitySOM-5CSX Embedded Vision Developer's Kit for Basler dart BCON Support: RE: Intel OpenVINO with the VDK
No, I had not looked at that.
I'll take a look at that as well.
Do you have a BSP for the VDK? Or, that start of one?
Ed Henderson
MW 04:59 PM MitySOM-5CSX Embedded Vision Developer's Kit for Basler dart BCON Support: RE: Intel OpenVINO with the VDK
Have you looked into HLS instead of OpenCL? If you are familiar with FPGA
/ Intel / Altara Platform Designer, the HLS converts c++ to VHDL that fits
into that framework fairly easily (compared to making a OpenCL design).
To do OpenCL, ...
Michael Williamson
EH 04:48 PM MitySOM-5CSX Embedded Vision Developer's Kit for Basler dart BCON Support: RE: Intel OpenVINO with the VDK
Thank you for the advice Greg.
A hybrid approach does seem to be the best way to approach this, as you describe, a combination of Tensorflow lite and some custom FPGA fabric.
My first goal is to get some OpenCl logic working on my...
Ed Henderson
JC 03:58 PM MitySOM-335x (ARM Cortex-A8 Based Products) Software Development: RE: GPIO toggling/chattering while performing NAND read.
Note the pinmux tables can be read from memory.
See "Table 9-10: CONTROL_MODULE REGISTERS" https://support.criticallink.com/redmine/projects/armc8-platforms/wiki/Software_FAQs#Useful-memory-locations
Pinmux start address: 0x44E1_0800
Jonathan Cormier
SW 03:35 PM MitySOM-335x (ARM Cortex-A8 Based Products) Software Development: RE: GPIO toggling/chattering while performing NAND read.
Hi,
Thank you for your input.
Tried with below command, still same problem.
mw.w 0x50000078 48
As mentioned earlier, we have u-boot 2013.10 with less amplitude.
To make sure pinmux is okay, copied mux.c from board/cl/mityar...
Srinivasa Wunnimani
JC 02:09 PM MitySOM-335x (ARM Cortex-A8 Based Products) Software Development: RE: GPIO toggling/chattering while performing NAND read.
> md.b 0x50000070 10
> ...
I would stick with using md.w and mw.w since all the registers are 32bit. It may or may not be okay to write the registers one byte at a time but I wouldn't trust it.
Try running @mw.w 0x50000078 48@ and s...
Jonathan Cormier
VJ 01:15 PM MitySOM-5CSX Altera Cyclone V Software Development: RE: Rocko, possible memory leak?
Hi Dan
Thanks for looking into this.
I have run some test during the weekend, and the results are a bit inconclusive. However, it seems that Ethernet has some impact:
Tests where "free" output is logged:
1: No Ethernet cables connect...
V J

03/15/2020

GG 10:23 PM MitySOM-5CSX Embedded Vision Developer's Kit for Basler dart BCON Support: RE: Intel OpenVINO with the VDK
Hi Ed,
I understand that Tensorflow Lite being CPU only in this instance seems like it is a deal breaker for you. However, please realize that Tensorflow Lite is a portion of Tensorflow that is focused on inferencing on embedded devi...
Gregory Gluszek
EH 08:14 PM MitySOM-5CSX Embedded Vision Developer's Kit for Basler dart BCON Support: RE: Intel OpenVINO with the VDK
Unfortunately, running tensorflow lite on the ARM core would not meet the goals of the project.
Also, if I recall correctly, Tensorflow is used to train a model. What I am interested in is a way to execute a pre-trained model on the F...
Ed Henderson

03/14/2020

SW 11:52 AM MitySOM-335x (ARM Cortex-A8 Based Products) Software Development: RE: GPIO toggling/chattering while performing NAND read.
Sorry for typo error:
I was able to manual write it to GPMC *without* any error.
Regards
Srinivasa
Srinivasa Wunnimani
SW 08:47 AM MitySOM-335x (ARM Cortex-A8 Based Products) Software Development: RE: GPIO toggling/chattering while performing NAND read.
Hi,
I tried to change GPMC_CONFIG7_0 to 0x48 from 0xf48 as below. I was able to manual write it to GPMC with any error.
md.b 0x50000070 10
mw.b 0x50000078 48
mw.b 0x50000079 00
But after executing below read command, boar...
Srinivasa Wunnimani

03/12/2020

DV 12:20 PM MitySOM-5CSX Altera Cyclone V Software Development: RE: Rocko, possible memory leak?
I enabled CONFIG_DEBUG_KMEMLEAK in the 4.9 kernel, which is supposed to report any kernel memory leaks it finds. I ran it all night and it didn't report any. I am seeing about a 1MB leak an hour through free though.
This leads me to b...
Daniel Vincelette

03/11/2020

GG 10:02 PM MitySOM-5CSX Embedded Vision Developer's Kit for Basler dart BCON Support: RE: Intel OpenVINO with the VDK
Hi Ed,
Regarding an Arria10 "VDK"or equivalent, the MityCAM-C50000 is an evaluation platform for the CMV50000 CMOS image sensor from ams / CMOSIS. We also have evaluations platforms for some Canon sensors that can be found on https:/...
Gregory Gluszek
EH 06:13 PM MitySOM-5CSX Embedded Vision Developer's Kit for Basler dart BCON Support: RE: Intel OpenVINO with the VDK
Answering my own question -- it looks like this: https://www.criticallink.com/product/mitycam-c50000/
But, I'd still like to know what is possible with the Cyclone V VDK
Ed Henderson
EH 06:04 PM MitySOM-5CSX Embedded Vision Developer's Kit for Basler dart BCON Support: RE: Intel OpenVINO with the VDK
You don't by chance have an Arria10 "VDK" or equivalent? What would be the most equivalent solution you have? Ed Henderson
EH 05:54 PM MitySOM-5CSX Embedded Vision Developer's Kit for Basler dart BCON Support: Intel OpenVINO with the VDK
Do you have any information about using the Intel OpenVINO with the VDK?
I know that OpenVINO works with Aria10 devices, but I'm not sure if it is possible to target a Cyclone V -- even as a prototype, reduced complexity board.
I'm...
Ed Henderson
JC 01:41 PM MitySOM-335x (ARM Cortex-A8 Based Products) Software Development: RE: GPIO toggling/chattering while performing NAND read.
You can use md to read memory locations and mw to write them. https://www.denx.de/wiki/publish/DULG/to-delete/UBootCmdGroupMemory.html Jonathan Cormier
SW 11:13 AM MitySOM-335x (ARM Cortex-A8 Based Products) Software Development: RE: GPIO toggling/chattering while performing NAND read.
Hi,
Manually means, do you want me to change GPMC_CONFIG7_0 at u-boot prompt?
Regards
Srinivasa
Srinivasa Wunnimani
SW 10:45 AM MitySOM-335x (ARM Cortex-A8 Based Products) Software Development: RE: GPIO toggling/chattering while performing NAND read.
Hi,
With u-boot V2013 frequency of pulses @ ~3.571 MHz and amplitude ~150 mV.
With u-boot V2018 frequency of pulses @ ~3.571 KHz and amplitude ~ 3.2 V.
Please find images attached.
Regards
Srinivasa
Srinivasa Wunnimani
VJ 12:42 PM MitySOM-5CSX Altera Cyclone V Software Development: RE: Rocko, possible memory leak?
Hello Dan, thank you for your reply.
We have tested the original SD card where we replaced kernel 3.16 with 4.9.78-ltsi (non RT). We also needed to use a device tree from the rocko build to be able to boot properly.
The results ar...
V J

03/10/2020

EH 09:42 PM MitySOM-5CSX Embedded Vision Developer's Kit for Basler dart BCON Support: RE: Missing dependencies
h1. SUCCESS!
I was able to build, on my Ubuntu machine. I just need to add the --host, but the target did not seem to matter. Not sure I fully understand what the option was doing, but I'm able to build a modified demo_app which work...
Ed Henderson
EH 09:18 PM MitySOM-5CSX Embedded Vision Developer's Kit for Basler dart BCON Support: RE: Missing dependencies
Oh, I should mention -- I'm trying to build on an Ubuntu host, not on the VDK itself, and just realized that the instructions above are for compiling ON the board, so need to make some adjustments Ed Henderson
EH 09:16 PM MitySOM-5CSX Embedded Vision Developer's Kit for Basler dart BCON Support: RE: Missing dependencies
So far trying to follow instructions here:
https://support.criticallink.com/redmine/projects/5csx_vdk_basler/wiki/ARM_SW_Architecture_and_Demo_App
Result:
Ed Henderson
MW 09:02 PM MitySOM-5CSX Embedded Vision Developer's Kit for Basler dart BCON Support: RE: Missing dependencies
Can you send / post the compiler errors? Which header files are missing?
-Mike
Michael Williamson
EH 09:01 PM MitySOM-5CSX Embedded Vision Developer's Kit for Basler dart BCON Support: RE: Missing dependencies
I have the dev environment setup as per your instructions.
I am familiar with building applications in general.
I'm having a hard time locating the include files I need to build the demo app though.
Ed Henderson
MW 06:41 PM MitySOM-5CSX Embedded Vision Developer's Kit for Basler dart BCON Support: RE: Missing dependencies
Hi Ed,
Sorry about.... on a typical Ubuntu install, I think the only packages you need to install would be "build-essential". The SDK installation (self-extractor) will install a copy of all of the cross-compiler build tools at that ...
Michael Williamson
EH 04:33 AM MitySOM-5CSX Embedded Vision Developer's Kit for Basler dart BCON Support: Missing dependencies
On this page: https://support.criticallink.com/redmine/projects/5csx_vdk_basler/wiki/Setting_Up_A_Build_Environment
There is a list of dependencies for linux installation. The wiki reads like this:
Ed Henderson
DV 08:54 PM MitySOM-5CSX Altera Cyclone V Software Development: RE: Rocko, possible memory leak?
Hello VJ,
We are not aware of memory leaks on the rocko or the 4.9 kernel. Did you by chance run the original distribution while using the 4.9 kernel (so older filesystem with newer kernel)?
I have a test running on my bench to rec...
Daniel Vincelette
EH 04:39 AM MitySOM-5CSX Embedded Vision Developer's Kit for Basler dart BCON Support: Information out of date
A lot of this information is quite out of date... I'm really shooting in the dark wondering if I can get this to work.
My goal is to:
- build some custom FPGA code, using a combination of Verilog/VHDL and OpenCL
- Integrate this int...
Ed Henderson

03/09/2020

JC 03:02 PM MitySOM-335x (ARM Cortex-A8 Based Products) Software Development: RE: GPIO toggling/chattering while performing NAND read.
If you manually set GPMC_CONFIG7_0 back to 48, does the activity on GPIO 0_27 stop?
Jonathan Cormier
BD 02:27 PM MitySOM-335x (ARM Cortex-A8 Based Products) Software Development: RE: GPIO toggling/chattering while performing NAND read.
Srinivasa,
We have not seen this before and I am reviewing your comments and logs.
Diff of GPMC registers
Bob Duke
SW 01:23 PM MitySOM-335x (ARM Cortex-A8 Based Products) Software Development: RE: GPIO toggling/chattering while performing NAND read.
Hi,
I have dumped the values of GPMC registers for u-boot V2013.10 and V2018 at u-boot prompt. Please find the files attached.
I am little confused with V2018:
GPMC_CONFIG7_0 = f48, which indicates it’s 16 MB flash but N...
Srinivasa Wunnimani
VJ 12:25 PM MitySOM-5CSX Altera Cyclone V Software Development: Rocko, possible memory leak?
Hi
I have built the Rocko version with 4.9.76-rt61-ltsi RT-kernel and with a custom FPGA and device tree. We use two Ethernet ports.
Running "free" shows that memory used is increasing with approximately 2.4 MB each hour. I.e. it s...
V J

03/06/2020

SW 12:08 PM MitySOM-335x (ARM Cortex-A8 Based Products) Software Development: RE: GPIO toggling/chattering while performing NAND read.
Hi,
Test case 1:
Tested on u-boot Version 2013.10 from mitysom (u-boot-mityarm-335x-6c6a700.tar.gz).
Probed GPIO 0_27 while running below command:
nand read.i 0x83000000 0x280000 0x500000
There is some activity on GPIO 0_27 as...
Srinivasa Wunnimani
SW 07:25 AM MitySOM-335x (ARM Cortex-A8 Based Products) Software Development: GPIO toggling/chattering while performing NAND read.
Hi,
We have mitySOM board in our product and we are using u-boot-mityarm-335x.tar.gz and building u-boot as below:
/* Export path */
source /opt/criticallink/mitysom-335x_2018-04-16/environment-setup-cortexa8hf-neon-criticallink-l...
Srinivasa Wunnimani
 

Also available in: Atom