Project

General

Profile

Activity

From 06/06/2016 to 07/05/2016

07/05/2016

IS 10:18 AM MityDSP-L138 (ARM9 Based Platforms) Software Development: SPI1 controller, access to FLASH and carrier board. NOT linux based.
I am building and programming a custom board without Linux. Basic embedded drivers running from SPI1,CS0 (8MB NOR Flash).
CCS version 6.1.3, compiler TI 15.15.1 LTS, custom carrier board with 1808-FX-225-RC (MityARM 1808) SOM.
I can ...
Ian St. John

06/30/2016

AB 11:08 AM MitySOM-5CSX Altera Cyclone V Software Development: RE: Why do I get a "CALIBRATION FAILED" error during boot?
Malcolm,
Thanks for catching the typo, it's been updated.
With the CSEL "properly" set and the module still not operating as expected it does still appear that an RMA will still need to be done for us to dig into the issue further....
Alexander Block
MH 03:49 AM MitySOM-5CSX Altera Cyclone V Software Development: RE: Why do I get a "CALIBRATION FAILED" error during boot?
Alex,
Thank you for the reply.
I've checked the "gotchas" wiki page and the CSEL setting was the only thing not correct (and now corrected).
A correction for the Wiki is to change "page 469" to "page 459" three lines up from th...
Malcolm Hartnell
MC 09:31 AM MitySOM-5CSX Altera Cyclone V Software Development: /sys/class/fpga-bridge directory is empty
I downloaded the latest kernel sources from the critical link repo, rebuilt the kernel and .dtb files, and loaded them on the sdcard. Everything works fine except I lost the fpga2hps, hps2fpga, and lwhps2fpga folders under the /sys/clas... Mike Cherny

06/29/2016

AB 10:01 AM MitySOM-5CSX Altera Cyclone V Software Development: RE: Why do I get a "CALIBRATION FAILED" error during boot?
Malcolm,
Dan and Adam brought this issue to my attention and I will followup concerning the RMA replacement via e-mail.
Please note that the current Development Kit Hardware Quickstart Guide (https://support.criticallink.com/redmin...
Alexander Block
MH 05:55 AM MitySOM-5CSX Altera Cyclone V Software Development: RE: Why do I get a "CALIBRATION FAILED" error during boot?
I've tried both suggestions but the result is the same, I get the "CALIBRATION FAILED" message on my first board and the second board works.
Can I send the SoM back for a replacement?
Thanks,
Malcolm
Malcolm Hartnell

06/28/2016

MH 11:56 AM MitySOM-5CSX Altera Cyclone V Software Development: RE: Why do I get a "CALIBRATION FAILED" error during boot?
Dan,
I've downloaded the file you provided the link for but first ...
Adam,
I presently have CSEL[0-1] set to logic high as per the switch settings of the Critical Link dev board as it was supplied. I now have my own base board ...
Malcolm Hartnell
AD 11:39 AM MitySOM-5CSX Altera Cyclone V Software Development: RE: Why do I get a "CALIBRATION FAILED" error during boot?
There is a CV errata that can cause such a failure. Please check that the CSEL[0-1] pins are set to "00" to avoid a potential HPS PLL issue.
!MSEL-CSEL-BSEL.png!
Thanks,
Adam
Adam Dziedzic
DV 11:13 AM MitySOM-5CSX Altera Cyclone V Software Development: RE: Why do I get a "CALIBRATION FAILED" error during boot?
Hello Malcolm,
I know you said that your current SD card works for one of your SOMs but would you mind trying our prebuilt 5CSX-H6-4YA SD card image just to double check that the SOM that fails RAM calibration still acts the same? It ...
Daniel Vincelette
MH 11:00 AM MitySOM-5CSX Altera Cyclone V Software Development: Why do I get a "CALIBRATION FAILED" error during boot?
I have been using the same module for the last two weeks and today it has started giving the "CALIBRATION FAILED" error message as listed on the Wiki's ARM Software FAQs page. Malcolm Hartnell

06/24/2016

DV 01:10 PM MitySOM-5CSX Altera Cyclone V Software Development: RE: Building BSP for 5cse
Hi Sam,
I've been able to recreate what you're seeing. It looks like the devicetree generated through yocto is named socfpga_mitysom5cse_devkit.dtb and what uboot is looking for on the SD image that ships with the 5CSE devkit is socfp...
Daniel Vincelette
SS 06:41 AM MitySOM-5CSX Altera Cyclone V PCB Development: RE: Development Kit 2.5V VIO, change to 3.0 or 3.3
Thank you Alex, that's exactly what I wanted to know. I understand your point about the warranty, and proceeding carefully.
Best,
Steve
Stephen Snyder

06/23/2016

AB 04:47 PM MitySOM-5CSX Altera Cyclone V PCB Development: RE: Development Kit 2.5V VIO, change to 3.0 or 3.3
Stephen,
Thanks for reaching out to us about this question.
Please note that making any modification to the carrier board, such as this, will void any warranty for both the carrier board and any module used in that board.
Unfor...
Alexander Block
SS 09:56 AM MitySOM-5CSX Altera Cyclone V PCB Development: Development Kit 2.5V VIO, change to 3.0 or 3.3
It looks like banks 3B, 4A, and 8A have their I/O voltage tied to a 2.5V supply on the development kit.
If I want to interface with 3.0 or 3.3V logic via the HSMC cards, can I safely modify the feedback resistors on U601 to change the...
Stephen Snyder
DV 12:32 PM MitySOM-5CSX Altera Cyclone V Software Development: RE: Building BSP for 5cse
Hi Sam,
I'm currently re-running the yocto build here to see if I can recreate the issue you are seeing. I will update when I have a result.
Dan
Daniel Vincelette
SA 11:36 AM MitySOM-5CSX Altera Cyclone V Software Development: RE: Building BSP for 5cse
Hi Alex,
I selected the 5cse for the build, not the 5csx. I have done this full build no fewer than 3 times with what I believe to be the correct settings, and had consistently non-functional results.
I will try the updated instru...
Sam Anderson
AB 11:17 AM MitySOM-5CSX Altera Cyclone V Software Development: RE: Building BSP for 5cse
Sam,
I believe that the issue you ran into if following the Yocto wiki steps is that you may have selected the "mitysom-5csx" machine type as shown in the instructions. In your specific case you would actually want to select the "mity...
Alexander Block

06/22/2016

SA 07:49 PM MitySOM-5CSX Altera Cyclone V Software Development: Building BSP for 5cse
I am trying to follow your documentation for using Yocto to build an image for the 5CSE on the dev board carrier, and having nothing but trouble.
I have followed the exact instructions on your support page, and successfully compiled a...
Sam Anderson
PB 04:13 AM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: kernel 3.2 - tcpip stack latency
Hi Greg,
Than you for your feedback.
Indeed, flag CONFIG_PREEMPT is set in kernel config. As far as we can see, there is no issue on the thread itself.
We use VLAN tag to route the traffic specifically from the devices to our c...
Patrice Bastiaens

06/21/2016

GG 01:30 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: kernel 3.2 - tcpip stack latency
Hi Patrice,
Since you are using SCHED_RR I am assuming you are using CONFIG_PREEMPT in your kernel config, correct?
Does your design have any sort of network traffic shaping or advanced traffic control in place? I do not think an...
Gregory Gluszek
PB 06:26 AM MityDSP-L138 (ARM9 Based Platforms) Software Development: kernel 3.2 - tcpip stack latency
Hello,
We've built an application receiving messages from two devices at a rate of 1 message of 1440 bytes every 10 ms in a thread schedule in SCHED_RR priority 70. This is the higher priority user thread in the system.
A network tra...
Patrice Bastiaens
MS 03:45 AM MitySOM-5CSX Altera Cyclone V Software Development: RE: How to add aditional HPS GPIO's
Hi Alex,
Still a few misnumbered things in the above post.
Anyway, removing the switches from the DTS means that the GPIOs don't go to high impedance any more, and whatever I set them to in uBoot persists, but I still can't control...
Matthew Schubert

06/20/2016

AB 01:15 PM MitySOM-5CSX Altera Cyclone V FPGA Development: RE: HDMI Output and Quartus Versions
Steve,
We have successfully rebuilt the "HDMI example":https://support.criticallink.com/redmine/projects/5csxbase/wiki/HDMI_Output using Quartus 14.1 however you will require a license to support the VIP Suite (Video and Image Process...
Alexander Block
SS 11:07 AM MitySOM-5CSX Altera Cyclone V FPGA Development: HDMI Output and Quartus Versions
Hi,
I noticed that the HDMI Output example you've posted was done in Quartus 15.1 but the VM with the toolchain installed is still on Quartus 14.x. What would you recommend for someone deriving a project from the HDMI example? Shoul...
Stephen Snyder
AB 01:10 PM MitySOM-5CSX Altera Cyclone V Software Development: RE: How to add aditional HPS GPIO's
Maetthew,
Good catch. Apparently when I did the mapping I started off by one. We have updated the post above to have the correct mapping and also the associated wiki page (https://support.criticallink.com/redmine/projects/mityarm-5cs/...
Alexander Block
MS 02:09 AM MitySOM-5CSX Altera Cyclone V Software Development: RE: How to add aditional HPS GPIO's
I have noticed that in the DTS the switches are now on the GPIOs that I want to use:
http://support.criticallink.com/gitweb/?p=linux-socfpga.git;a=blob;f=arch/arm/boot/dts/socfpga_mitysom5csx_devkit.dts;hb=refs/heads/socfpga-3.16
I s...
Matthew Schubert

06/19/2016

MS 11:26 PM MitySOM-5CSX Altera Cyclone V Software Development: RE: How to add aditional HPS GPIO's
I'm having some issues setting GPIO37, 40 and 41 from within Linux.
Firstly, in the instructions above, you mention that GPIO29 to GPIO57 are mapped to gpio198 to gpio226, but then go on to say that GPIO49 corresponds to gpio217. Shou...
Matthew Schubert

06/17/2016

FW 08:25 AM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: Flashing a new kernel to NOR from Linux rather than u-boot
Here are the results from my board/MDK: Fred Weiser

06/16/2016

JC 05:43 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: Flashing a new kernel to NOR from Linux rather than u-boot
Alternatively it may be possible for you to build the kernel features as modules and insert them in the live system. Would like to see the output of the commands mentioned above first. Jonathan Cormier
JC 05:39 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: Flashing a new kernel to NOR from Linux rather than u-boot
Fred,
Do you have /dev/mtdblock* devices? My kernel boot args have this "root=/dev/mtdblock0", so my assumption is that you will need to have the mtdblocks enabled inorder to boot from nand.
If you do have the mtdblock devices it ...
Jonathan Cormier
FW 05:26 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: Flashing a new kernel to NOR from Linux rather than u-boot
We use opkg to push updates to our products that are installed in the field. We now need a way to update the kernel, which is saved in NOR on the MityDSP-l138 som. A search of the CL wiki shows:
@flashcp -v uImage /dev/mtd7@
We hav...
Fred Weiser

06/15/2016

JC 05:14 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: How to configure the GPIOs as outputs?
Do note that the custom baseboard instructions were written for the 335x family. So some things will be slightly different. For example:
Instead of @arch/arm/mach-omap2/@ you should look in @arch/arm/mach-davinci@ for the board (boar...
Jonathan Cormier
BD 04:14 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: How to configure the GPIOs as outputs?
Héctor,
Please check the last section of this page for information on how to review and set the pinmux for the development board:
https://support.criticallink.com/redmine/projects/armc8-platforms/wiki/Creating_a_custom_baseboard
...
Bob Duke
HB 03:11 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: How to configure the GPIOs as outputs?
Hi, it's me again,
I'm knowing the Profibus Development Kit (and embedded systems) and for that I'm trying to do simple codes in C++ in Eclipse,
I was checking the datasheet about the connector pin assignments and the signals names...
Hector Bojorquez
HB 11:00 AM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: Problems with the first time configuration
Now it's working, thanks a lot Jonathan! Hector Bojorquez
JC 10:02 AM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: Problems with the first time configuration
Hector Bojorquez wrote:
> > This is a error is normal and doesn't hurt anything.
> ...
These settings only affect u-boot. You need to configure the ip settings after booting into linux.
> U-Boot > print bootargs
> ...
https://suppor...
Jonathan Cormier
HB 09:55 AM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: Problems with the first time configuration
> This is a error is normal and doesn't hurt anything.
*
So, the reflashing process went well?*
> ...
I tried with this [[Setting_a_Static_IP_Address#NFS-Mounted-File-System]]
@U-Boot > print bootargs
bootargs=mem=96M console=tt...
Hector Bojorquez
JC 08:38 AM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: Problems with the first time configuration
Hector Bojorquez wrote:
> >There shouldn't be a space in the console arg. "console=ttyS1,115200n8"
> ...
This is a error is normal and doesn't hurt anything.
>
> ...
If you don't have a dhcp server then you will need to set your ip...
Jonathan Cormier

06/14/2016

HB 05:45 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: Problems with the first time configuration
>There shouldn't be a space in the console arg. "console=ttyS1,115200n8"
> ...
sorry about that, I was watching from the other PC and typing in the one with Network connection for making the post, but in the bootlog is OK,
>There sh...
Hector Bojorquez
JC 03:35 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: Problems with the first time configuration
Hector Bojorquez wrote:
> Hi Jonathan,
> ...
There shouldn't be a space in the console arg. "console=ttyS1,115200n8"
Also root should have an '=' not a '-'.
From attachment:UpdatingDevKitMDK.txt
> U-Boot > setenv bootcmd "runflas...
Jonathan Cormier
HB 02:56 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: Problems with the first time configuration
Hi Jonathan,
I made the changes, and yes the problem continues the same, I checked the bootargs and this was the result:
@U-Boot > print bootargs
bootargs=mem=96M console=ttyS1, 115200n8 root-/dev/mtdblock0 rw rootwait@
>If t...
Hector Bojorquez
JC 01:20 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: Problems with the first time configuration
Thanks for all the logs, definitely helpful. The kernel panic indicates that it failed to find the filesystem. See below. Jonathan Cormier
HB 12:50 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: Problems with the first time configuration
Hi,
I followed the steps in the [[Reprogramming_a_Dead_Board]] guide and I got access to the u-boot prompt again, so I tried again with the [[Updating_devkit_to_latest_MDK]] tutorial
I left attached the bootlog, after that I tried ...
Hector Bojorquez
BD 05:15 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: Specifics on reserving DDR for PRU/ARM shared use
Regarding your specific questions, yes, you could use memmap to set aside a particular chunk of memory. Where you set it up depends on the amount of memory in your module and I expect you could access it from base SDRAM address @0x8000_0... Bob Duke
BD 05:07 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: Specifics on reserving DDR for PRU/ARM shared use
Hi Andrew,
I recommend you review the TI-provided documentation and examples for the PRU available here:
<https://github.com/beagleboard/am335x_pru_package>
This documentation is compatible with the PRU Module for the 3.2 kernel...
Bob Duke

06/13/2016

BD 05:14 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: JFFS2 "scheduling while atomic" problem with L138 running linux kernel 3.2
Sorry I missed that Fred.
You can just make the change (swapping two lines) yourself for testing, or you can apply the commit via Jon's instruction.
If that fixes your problem, we can push it to our main branch.
Bob Duke
JC 05:12 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: JFFS2 "scheduling while atomic" problem with L138 running linux kernel 3.2
Note we can list any other jffs patches that is in the linux-3.2.y branch that isn't in ours by doing the following: Jonathan Cormier
JC 05:07 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: JFFS2 "scheduling while atomic" problem with L138 running linux kernel 3.2
The patch was included in the 3.2.18 kernel release. You can cherry-pick the patch from there to verify it fixes your issue. Jonathan Cormier
JC 04:56 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: JFFS2 "scheduling while atomic" problem with L138 running linux kernel 3.2
Looks like someone already did the backport of the fix. The patch is very straight forward.
https://github.com/Angstrom-distribution/meta-ti/blob/master/recipes-kernel/linux/linux-ti33x-psp-3.2/3.2.18/0027-jffs2-Fix-lock-acquisition-or...
Jonathan Cormier
FW 04:28 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: JFFS2 "scheduling while atomic" problem with L138 running linux kernel 3.2
Ah, yes, so this is indeed the problem; the code you show above is _before_ the fix. The issue is mutex_lock cannot follow spin_lock. Spin_lock places the kernel into atomic mode; during this mode, the processor must not call scheduler, ... Fred Weiser
BD 02:48 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: JFFS2 "scheduling while atomic" problem with L138 running linux kernel 3.2
Fred,
The current MityDSP-L138 kernel (Branch: mitydsp-linux-v3.2) has the following code in @fs/jffs2/gc.c@:
Bob Duke
FW 10:18 AM MityDSP-L138 (ARM9 Based Platforms) Software Development: JFFS2 "scheduling while atomic" problem with L138 running linux kernel 3.2
I have been getting a lot of "scheduling while atomic" messages seemingly centered around JFFS2:
@Jun 12 12:08:37 ultrasonic kernel: BUG: scheduling while atomic: flash-writer/2221/0x00000002
Jun 12 12:08:37 ultrasonic kernel: Module...
Fred Weiser

06/10/2016

AB 12:20 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: Specifics on reserving DDR for PRU/ARM shared use
The note in the wiki article for getting started with PRU mentions the following:
??A safe design that wanted to use shared DDR would probably have to either reserve some memory similar to how the DSP does by using mem= in bootargs. O...
Andrew Bean
JC 11:34 AM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: Problems with the first time configuration
Hector, I'm not sure what commands you ran but the nand commands you show shouldn't have created this. It appears you've erased the u-boot part from the SPI NOR. You will need to follow the [[Reprogramming_a_Dead_Board]] guide. Jonathan Cormier
HB 11:04 AM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: Problems with the first time configuration
I followed the Guide without errors advice, and at the final step I got the attached text (MKD_Update_End)
But when I tried to boot it up something went wrong
@OMAL-L138/AM-1810 initialization passed!
Configuring 128 MB mDDR
B...
Hector Bojorquez

06/09/2016

JC 06:04 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: Problems with the first time configuration
Hector Bojorquez wrote:
> >Both the nfsd and portmap services are not critical during boot and should not cause it to hang. Its possible some other service hung but didn't print anything out yet. Did you change anything before this happ...
Jonathan Cormier
HB 05:51 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: Problems with the first time configuration

>Both the nfsd and portmap services are not critical during boot and should not cause it to hang. Its possible some other service hung but didn't print anything out yet. Did you change anything before this happened?
I just ran some ...
Hector Bojorquez
JC 04:05 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: Problems with the first time configuration
Both the nfsd and portmap services are not critical during boot and should not cause it to hang. Its possible some other service hung but didn't print anything out yet. Did you change anything before this happened?
You may need to ref...
Jonathan Cormier
HB 03:42 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: Problems with the first time configuration
Sorry I used to take pictures because the machine where is installed Vbox has no access to the network, even if I need to take out some info from there I need a special USB
that is why I take pictures for making faster, but I will tr...
Hector Bojorquez
JC 01:47 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: Problems with the first time configuration
Hector Bojorquez wrote:
> Hi Jonathan,
> ...
Hector could you include the full boot log? It also much easier for me if you copy the text into a text file and upload that instead of taking a picture snapshot of the bootlog.
Jonathan Cormier
HB 11:32 AM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: Problems with the first time configuration
Hi Jonathan,
Since I got the HelloWorld I just played with some simple code and it worked well, but today when I tried to boot up the card the bootloader stops with a message at the end
*"svc: failed to register nfsdv2 RCP service...
Hector Bojorquez
 

Also available in: Atom