Project

General

Profile

Activity

From 01/25/2016 to 02/23/2016

02/23/2016

BA 01:53 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: opkg update for ALPHA Release 2016.01
Thanks, Jonathan. That worked!
Regards,
Ben
Ben Atkinson
JC 12:01 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: opkg update for ALPHA Release 2016.01
Jonathan Cormier
BA 09:22 AM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: opkg update for ALPHA Release 2016.01
Jonathan,
I saw that post, too. Yes, if you send me the patched binary, I'll try it.
Regards,
Ben
Ben Atkinson
JC 09:14 AM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: opkg update for ALPHA Release 2016.01
This post seems to describe what your reporting. We will need to test the patch. Would you be willing to test if we can send you an updated opkg binary?
https://groups.google.com/forum/#!topic/opkg-devel/hjvqvgTG0gA
Jonathan Cormier
BA 08:54 AM MityDSP-L138 (ARM9 Based Platforms) Software Development: opkg update for ALPHA Release 2016.01
Hello,
I am using the ALPHA Release 2016.01 with a dbric kernel installed on my target hardware. It seems to be working well, but there is a minor annoyance. I needed rsync on the system, so I performed the following:
$ opkg ...
Ben Atkinson
AB 12:34 PM MitySOM-5CSX Altera Cyclone V Software Development: RE: Xubuntu VM corrupt zip error
John,
Thank you for updating us on this, happy to hear you're up and running.
Keep in mind that we have additional information about this module fmaily/development kit on this wiki page (https://support.criticallink.com/redmine/pro...
Alexander Block

02/22/2016

JM 06:20 PM MitySOM-5CSX Altera Cyclone V Software Development: RE: Xubuntu VM corrupt zip error
Alex,
Success! The new OVA works!
Thank you,
John
John Meier
AB 04:57 PM MitySOM-5CSX Altera Cyclone V Software Development: RE: Xubuntu VM corrupt zip error
John,
Sorry about the delay in getting back to you. We have received your e-mail as well.
As you have found it appears that a number of the USB drives were copied with a corrupt .ova file and were not caught prior to shipment. We'v...
Alexander Block
JM 04:21 PM MitySOM-5CSX Altera Cyclone V Software Development: RE: Xubuntu VM corrupt zip error
I'm using VirtualBox w/ extension pack 5.0.14r105127
I bought three of these MitySOMs and all three copies of the OVA have the same hash and all fail with the same error, so at least it's consistent.
I'd appreciate it if CriticalLink w...
John Meier

02/18/2016

JM 06:15 PM MitySOM-5CSX Altera Cyclone V Software Development: Xubuntu VM corrupt zip error
I recently received my MitySOM_5CSE and was surprised that there was a virtual machine image to get started on development. Amazing!
When I followed the instructions in readme.pdf I received an error while importing the OVA file:
Cou...
John Meier
DV 09:38 AM MitySOM-5CSX Altera Cyclone V Software Development: RE: Booting board with Non-Removable SD card
Hello Brian,
This is a good question and a normal question for customers that would like to put eMMC on their baseboard.
The recommended way to do this would be to store the preloader and U-Boot in the QSPI NOR flash that is on the...
Daniel Vincelette

02/17/2016

BW 09:14 AM MitySOM-5CSX Altera Cyclone V Software Development: Booting board with Non-Removable SD card
How would I go about writing a custom SoC HPS image that I have created to use on the dev board (containing the linux kernel, preloader, U-Boot, rootfs etc..) to the SD/MMC memory which would be blank with no files and SD card is NON-REM... Brian Wentworth

02/15/2016

DV 10:57 AM MitySOM-5CSX Altera Cyclone V Software Development: RE: Board info files MittySOM-5cse-l2-3y8
Glad to hear you got it working!
Dan
Daniel Vincelette

02/12/2016

BW 01:37 PM MitySOM-5CSX Altera Cyclone V Software Development: RE: Board info files MittySOM-5cse-l2-3y8
Dan,
SOLVED!!!
I found it strange that the sd_image_mitysom_5cse-l2-3y8_dev_kit.bin did not properly boot also. So I pulled another SD card from a different dev board and wrote the image to it, and it properly booted. Then I loade...
Brian Wentworth

02/11/2016

DV 05:12 PM MitySOM-5CSX Altera Cyclone V Software Development: RE: Board info files MittySOM-5cse-l2-3y8
Hello Brian,
That is very odd that you are still seeing that error with the sd_image_mitysom_5cse-l2-3y8_dev_kit.bin. I just double checked that image and was not able to recreate the errors in your boot log, it booted an got an IP as...
Daniel Vincelette
BW 04:48 PM MitySOM-5CSX Altera Cyclone V Software Development: RE: Board info files MittySOM-5cse-l2-3y8
Hello,
So, it seems that the attempt to mount /proc was denied because of the permission settings for the rootfs.tgz. I have been able to pass that stage but after boot I still don't obtain network interface configuration.
Could y...
Brian Wentworth

02/10/2016

BW 09:48 AM MitySOM-5CSX Altera Cyclone V Software Development: RE: Board info files MittySOM-5cse-l2-3y8
Hello Dan,
Yea, I agree. It looks like the mount /proc is causing issues. CONFIG_PROC_FS is enabled in both the defconfig and .config. Attached are snippets from the diff test and enabled PROC_FS.
Thanks,
Brian
Brian Wentworth

02/09/2016

DV 05:16 PM MitySOM-5CSX Altera Cyclone V Software Development: RE: Board info files MittySOM-5cse-l2-3y8
Hi Brian,
It appears that all these issues are stemming from the SOM not being able to mount /proc. Can you make sure that CONFIG_PROC_FS is enabled in your defconfig? Also would you mind doing a quick diff of the .config and mitysom5...
Daniel Vincelette
BW 08:34 AM MitySOM-5CSX Altera Cyclone V Software Development: RE: Board info files MittySOM-5cse-l2-3y8
Hello Dan,
Thanks for the timely reply. Yes, I was using the Altera Sopc2dts tool to generate the DTB. I have rebuilt the project based on the .dts that you specified above. I was able to get past the Loading Kernel.
I have anothe...
Brian Wentworth
FW 09:05 AM MityDSP-L138 (ARM9 Based Platforms) Software Development: Downloading files from Redmine (using Linux console app)
Is there a favored method for downloading files from the Critical Link Redmine site using a Linux console app? My software build server is a console only machine, and I'd like to be able to access CL Redmine files.
I have tried "wget ...
Fred Weiser

02/04/2016

DV 03:59 PM MitySOM-5CSX Altera Cyclone V Software Development: RE: Board info files MittySOM-5cse-l2-3y8
Hello Brian,
Are you trying to manually by hand create the DTS or are you using the Altera Sopc2dts tool that will take the output of your quartus build and create the DTS for you?
We normally go about creating the DTS by hand. The...
Daniel Vincelette
BW 03:40 PM MitySOM-5CSX Altera Cyclone V Software Development: Board info files MittySOM-5cse-l2-3y8
I'm having trouble creating a dts file that shows the peripherals on the fpga of my design. I can't find the correct xml board info files needed to create the dts file. Any help would be appreciated. The goal is to create all the necessa... Brian Wentworth
BA 01:37 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: gcc 4.8 for OMAP-L138
Jonathan,
Thank you very much for your help. This uImage works.
Regards,
Ben
Ben Atkinson
JC 12:53 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: gcc 4.8 for OMAP-L138
Updated dbric3 defconfig to support systemd.
http://support.criticallink.com/gitweb/?p=linux-davinci.git;a=commit;h=1c88227846c09e6d482ebcc3b898b94dc05f3ae0
I setup the toolchain and built the kernel for you. See attached.
Jonathan Cormier
BA 12:17 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: gcc 4.8 for OMAP-L138
Jonathan,
Yes I am using the dbric3 hardware. Do you have a kernel image for it?
Regards,
Ben
Ben Atkinson
JC 12:09 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: gcc 4.8 for OMAP-L138
The industrialio baseboard image expects the phy id to be 0:03. Your phy id appears to be 0:00. The kernel would need to be rebuilt with the correct phy id.
arch/arm/mach-davinci/baseboard-industrialio.c
Jonathan Cormier
BA 11:38 AM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: gcc 4.8 for OMAP-L138
... and here is the boot message file. Ben Atkinson
BA 11:36 AM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: gcc 4.8 for OMAP-L138
Jonathan,
I think we're getting somewhere now. The newest kernel is working better. I went back to the original, unmodified Critical Link JFFS2 FS and the new uImage kernel, and I no longer get the ipv6 messages, and I the /dev/ttyS...
Ben Atkinson
JC 09:30 AM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: gcc 4.8 for OMAP-L138
Alright thanks. Sometimes the bootargs aren't set.
I tried booting the uImage Bob posted and it hung for me too. I've re-uploaded the uImage and this one appears to work. Sorry for the trouble.
You can find it on the Files tab or ...
Jonathan Cormier

02/03/2016

BA 05:10 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: gcc 4.8 for OMAP-L138
Jonathan,
U-Boot > print bootargs
print bootargs
bootargs=mem=96M console=ttyS1,115200n8 mtdparts=nand:128M(rootfs),-(userfs) root=/dev/mtdblock0 rw,noatime rootfstype=jffs2
U-Boot >
Regards,
Ben
Ben Atkinson
JC 05:05 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: gcc 4.8 for OMAP-L138
Is the bootargs environment variable set when you do the tftp boot? Jonathan Cormier
BA 05:01 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: gcc 4.8 for OMAP-L138
Bob,
On my target system I had:
# cd /boot
# ls -la u*
lrwxrwxrwx 1 root root 13 Nov 13 21:13 uImage -> uImage-3.2.0+
-rw-r--r-- 1 root root 2538632 Nov 13 19:50 uImage-3.2.0+
When I did a binary file comparison be...
Ben Atkinson
BD 04:08 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: gcc 4.8 for OMAP-L138
Ben, you shouldn't have to redo your filesystem. Just copy over the kernel. Bob Duke
BA 03:33 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: gcc 4.8 for OMAP-L138
Bob,
Thanks. Just to be clear, should I put the new uImage in /boot and re-create the jffs2 image? Currently the following is in /boot:
- uImage -> uImage-3.2.0+
- uImage-3.2.0+
My target is a custom board.
Regards,
Ben
Ben Atkinson
BD 03:08 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: gcc 4.8 for OMAP-L138

Ben, I apologize for the assumptions in my original advice. Any time you change a kernel you need to bring along the asociated modules (typically located in /lib/modules) for that kernel. You would've needed to grab the /lib/modules/...
Bob Duke
BA 02:55 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: gcc 4.8 for OMAP-L138
I did not build a new kernel. A kernel was already on my target system, and I believe it came from the MDK_2014-01-13.
The only thing I did was:
- Took the mitydsp-l138-rootfs.tar.bz2 from the ALPHA 2016.01 and added my /etc/networ...
Ben Atkinson
JC 02:47 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: gcc 4.8 for OMAP-L138
Ben Atkinson wrote:
> Jonathan,
> ...
Did you build the kernel your currently booting from or was it copied from the old MDK_2014-01-13?
Jonathan Cormier
BA 02:44 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: gcc 4.8 for OMAP-L138
Jonathan,
Thanks for the reply. I didn't build a new kernel based on the comment from Bob Duke, above:
> Please note that our current kernel will not compile with this SDK. We have a fix,
> but it is not released yet. If yo...
Ben Atkinson
JC 02:20 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: gcc 4.8 for OMAP-L138
Ben Atkinson wrote:
> Jonathan,
> ...
The kernel your booting doesn't match the kernel modules its trying to load. Delete the kernel modules in /lib/modules/ and replace with modules from kernel you built.
Jonathan Cormier
BA 02:09 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: gcc 4.8 for OMAP-L138
Jonathan,
I was able to load your ALPHA Linux file system onto my target, and I've had some success. The system is running, and I can establish an SSH terminal connection to it.
I've attached two dumps from the console as the syst...
Ben Atkinson

02/01/2016

JC 10:49 AM MitySOM-335x (ARM Cortex-A8 Based Products) Software Development: RE: Spidev issues
Fred, I'm not sure what is wrong. Perhaps if you sent us your schematic someone could look it over.
I'm pretty sure the spidev driver works. However you could try implementing a simple kernel driver to access the spi calls directly....
Jonathan Cormier

01/29/2016

FF 03:08 PM MitySOM-335x (ARM Cortex-A8 Based Products) Software Development: RE: Spidev issues
A single IOCTL call with len=4 returns 4 bytes of 0 value instead of 2 with no difference in the SPI signals. Fred Frantz
JC 12:04 PM MitySOM-335x (ARM Cortex-A8 Based Products) Software Development: RE: Spidev issues
I believe you want a single IOCTL. See the attached source code duplex method.
Example usage
Jonathan Cormier
FF 11:51 AM MitySOM-335x (ARM Cortex-A8 Based Products) Software Development: RE: Spidev issues
Correction in above code
fd = open(devname, O_RDWR|O_SYNC);
should be
fd = open(devname, O_RDWR);
Fred Frantz
FF 11:49 AM MitySOM-335x (ARM Cortex-A8 Based Products) Software Development: RE: Spidev issues
This is based on spidev_test.c and other examples. There are two devices on the bus that have to be configured to read address input pins before they can be configured. That is working fine since the correct device is responding to the ... Fred Frantz
JC 11:06 AM MitySOM-335x (ARM Cortex-A8 Based Products) Software Development: RE: Spidev issues
Fred Frantz wrote:
> Yes, I am looking at all the SPI0 signals on a scope, and they are correct. The transmitted data is configuring the devices correctly, and the received data from the device on d1 is correct, but it is not returned ...
Jonathan Cormier
FF 11:02 AM MitySOM-335x (ARM Cortex-A8 Based Products) Software Development: RE: Spidev issues
Yes, I am looking at all the SPI0 signals on a scope, and they are correct. The transmitted data is configuring the devices correctly, and the received data from the device on d1 is correct, but it is not returned from ioctl(). I have v... Fred Frantz
JC 10:44 AM MitySOM-335x (ARM Cortex-A8 Based Products) Software Development: RE: Spidev issues
Fred Frantz wrote:
> The data is now being clocked out correctly, and the device is responding with the correct data on the spi0_d1 line.
Does this mean you have a spi analyser attached to the bus?
Jonathan Cormier
JC 10:42 AM MitySOM-335x (ARM Cortex-A8 Based Products) Software Development: RE: Spidev issues
Fred Frantz wrote:
> Mike, are you referring to the .d0_is_mosi parameter in the ompa2_mcspi_device_config structure?
Yes. You should have it correct if you are seeing the data output coming on the correct pin.
> ...
Not that I can th...
Jonathan Cormier
FF 10:36 AM MitySOM-335x (ARM Cortex-A8 Based Products) Software Development: RE: Spidev issues
Mike, are you referring to the .d0_is_mosi parameter in the ompa2_mcspi_device_config structure? That is set to 1, but all of the SPI_MODE's give a similar result. All the data bytes returned are the same value, which is not what is be... Fred Frantz

01/28/2016

MW 12:12 PM MitySOM-335x (ARM Cortex-A8 Based Products) Software Development: RE: Spidev issues
I think there is also a control for the McSPI that can swap the din / dout pins between "d0" and "d1". We had trouble with this in the past.
-Mike
Michael Williamson
JC 12:06 PM MitySOM-335x (ARM Cortex-A8 Based Products) Software Development: RE: Spidev issues
Fred Frantz wrote:
> Thanks for the correction. Setting the .bus_num = 1 solved the module issue, and the .controller_data information is required for the spi0_d0 line to be used as MOSI.
> ...
It should be correct. If data is coming...
Jonathan Cormier
FF 11:59 AM MitySOM-335x (ARM Cortex-A8 Based Products) Software Development: RE: Spidev issues
Thanks for the correction. Setting the .bus_num = 1 solved the module issue, and the .controller_data information is required for the spi0_d0 line to be used as MOSI.
The data is now being clocked out correctly, and the device is re...
Fred Frantz

01/27/2016

JC 09:34 AM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: gcc 4.8 for OMAP-L138
Ben,
Part of the reason this filesystem is alpha is to discover differences from the old filesystem. We hadn't noticed this so good catch. Could you try creating the interface file and report back whether it worked?
Jonathan Cormier
BA 09:29 AM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: gcc 4.8 for OMAP-L138
I want to set a static IP address on my target using the ALPHA Release 2016.01 file system, but I was surprised to see the /etc/network/interfaces file didn't exist in the file system image. I expected to see this file populated with so... Ben Atkinson

01/26/2016

JC 05:02 PM MitySOM-335x (ARM Cortex-A8 Based Products) Software Development: RE: Spidev issues
Fred Frantz wrote:
> After erasing the NAND, the ECC errors are resolved. Thanks, that was a self inflicted problem due to misinterpretation of our documentation.
Glad that helped.
> ...
The SOM is using the spi1 bus to talk to the NO...
Jonathan Cormier
JC 04:54 PM MitySOM-335x (ARM Cortex-A8 Based Products) Software Development: RE: Spidev issues
Michael Williamson wrote:
> SPIDEV sits on top of McSPI. It's an abstraction layer on top of the specific SPI driver. That may be the problem.
What Mike said. The McSPI driver is necessary for the spidev driver to work.
> ...
He h...
Jonathan Cormier
MW 03:49 PM MitySOM-335x (ARM Cortex-A8 Based Products) Software Development: RE: Spidev issues
SPIDEV sits on top of McSPI. It's an abstraction layer on top of the specific SPI driver. That may be the problem.
You may need to configure (either via a platform file or via device tree) a SPIDEV device that is attached to a speci...
Michael Williamson
FF 03:36 PM MitySOM-335x (ARM Cortex-A8 Based Products) Software Development: RE: Spidev issues
After erasing the NAND, the ECC errors are resolved. Thanks, that was a self inflicted problem due to misinterpretation of our documentation.
Can the McSPI conflict with SPIDEV if both are trying to access the same port? Disabling Mc...
Fred Frantz
JC 11:44 AM MitySOM-335x (ARM Cortex-A8 Based Products) Software Development: RE: Spidev issues
Jonathan Cormier wrote:
> For your case you just need to erase the kernel section.
> ...
Do double check my math on this, if wrong it could erase part of your filesystem image.
Jonathan Cormier
JC 11:43 AM MitySOM-335x (ARM Cortex-A8 Based Products) Software Development: RE: Spidev issues
> U-Boot# tftp 0x82000000 $serverip:uImage
> ...
By writing the nand like this without erasing, you will corrupt the image stored including the ECC. Nand flash must be erased before writing to it.
Note in the following guide I erase ...
Jonathan Cormier
FF 11:17 AM MitySOM-335x (ARM Cortex-A8 Based Products) Software Development: RE: Spidev issues
The kernel and environment were reloaded just to get to a known point where everything was working previously. The kernel is being loaded via tftp.
U-Boot# tftp 0x82000000 $serverip:uImage
U-Boot# nand write.i 0x82000000 0x340000 $...
Fred Frantz
JC 10:39 AM MitySOM-335x (ARM Cortex-A8 Based Products) Software Development: RE: Spidev issues
Just checked and the 0x340000 address the ECC errors mention is the location of the kernel not the environment I initially assumed. How are you loading the kernel to boot the system if loading it from nand isn't working (tftp)? How are... Jonathan Cormier
JC 09:35 AM MitySOM-335x (ARM Cortex-A8 Based Products) Software Development: RE: Spidev issues
Fred Frantz wrote:
> Thanks for the suggestions, but ZCAT on the target indicates that SPIDEV is enabled.
Interesting. My troubleshooting steps when trying to diagnose a driver not loading is the following.
* Check the boot log for ...
Jonathan Cormier
FF 09:13 AM MitySOM-335x (ARM Cortex-A8 Based Products) Software Development: RE: Spidev issues
Thanks for the suggestions, but ZCAT on the target indicates that SPIDEV is enabled. Regarding the ECC errors, I reloaded an earlier version of the kernel and an environment variable file that was working without any problems, but the E... Fred Frantz

01/25/2016

JC 05:33 PM MitySOM-335x (ARM Cortex-A8 Based Products) Software Development: RE: Spidev issues
Hmm no noticeable errors. You can double check the kernel, on the booted device for the spidev support: Jonathan Cormier
FF 04:21 PM MitySOM-335x (ARM Cortex-A8 Based Products) Software Development: RE: Spidev issues
I added the boot log for the ECC errors also. Fred Frantz
FF 03:39 PM MitySOM-335x (ARM Cortex-A8 Based Products) Software Development: RE: Spidev issues
Hope this helps. Fred Frantz
JC 03:15 PM MitySOM-335x (ARM Cortex-A8 Based Products) Software Development: RE: Spidev issues
Can you attach the bootlog for the device? Jonathan Cormier
FF 03:09 PM MitySOM-335x (ARM Cortex-A8 Based Products) Software Development: RE: Spidev issues
It looks like it is enabled to me.
Fred Frantz
JC 01:41 PM MitySOM-335x (ARM Cortex-A8 Based Products) Software Development: RE: Spidev issues
A pinmux conflict would likely cause the device not to work but it would not affect the creation of the spidev device file.
You need to make sure that SPIDEV is enabled in the kernel. It doesn't look like it is by default.
Jonathan Cormier
FF 01:33 PM MitySOM-335x (ARM Cortex-A8 Based Products) Software Development: Spidev issues
The dev kit baseboard file has been modified to include a "spidev" device, and the kernel was compiled to include the SPI device driver for users. However, the expected /dev/spidev0.1 file is not generated. Can a pinmux conflict with o... Fred Frantz
MJ 03:16 AM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: MityDSP-L138F - Qt application not seeing USB keyboard
Hi
Thanks, I did very quickly look at the 2015 Alpha release but didn't see the Qt libraries.
At the same time I was investigating the Qt 'configure' parameters posted above and what is suggested by https://wiki.qt.io/Building_Qt_for_E...
Mathew Jones
 

Also available in: Atom