Project

General

Profile

Activity

From 01/20/2018 to 02/18/2018

02/13/2018

TR 02:04 AM PCB Development: getting AUDIO_SYSCLK to expansion connector
I have an Industrial I/O board and need to get the AUDIO_SYSCLK signal out to an expansion board connector. Currently I am using signals from J701 to interface with my external codec and pin 26 appears to be free.
Before I start sold...
Tom Riddle

02/07/2018

JC 02:17 PM Software Development: RE: Kernel panics on custom board: "No init found. Try passing init= option to kernel"
> U-Boot > print ver
> ...
This is definitely not a version of u-boot that we support. Which could explain all the ECC errors you get in the kernel when you try to read from nand. If this u-boot you are using is not configuring the ECC ...
Jonathan Cormier
MW 12:26 PM Software Development: RE: Kernel panics on custom board: "No init found. Try passing init= option to kernel"
Is your custom board using a MityDSP-L138, or have you designed a custom board using the OMAP-L138 and not the module?
If you have done a custom carrier card and are still using a MityDSP-L138, then there are multiple things going on ...
Michael Williamson
11:56 AM Software Development: RE: Kernel panics on custom board: "No init found. Try passing init= option to kernel"
Turns out that the custom board doesn't even have a @factoryconfig@ command. The two boards appear to have different versions of U-Boot installed.
In the Critical Link's board, I get:
Okan Çalış
JC 02:01 PM Software Development: RE: Auto run of application file (loaded in NAND Flash)
Vivek Ponnani wrote:
> Currently our application program is part of .jffs2 file system (Linux root file system + application program) in NAND (rootfs). But if we want to update only application every time in userfs part of NAND and not...
Jonathan Cormier

02/06/2018

JC 03:08 PM Software Development: RE: Kernel panics on custom board: "No init found. Try passing init= option to kernel"
Okan Çalış wrote:
> But this is our custom board. What should I enter in those fields?
This is the factory config for the SOM. It has to be set to the values from the barcode on the SOM.
Jonathan Cormier
02:57 PM Software Development: RE: Kernel panics on custom board: "No init found. Try passing init= option to kernel"
But this is our custom board. What should I enter in those fields? Okan Çalış
JC 02:38 PM Software Development: RE: Kernel panics on custom board: "No init found. Try passing init= option to kernel"
> MityOMAPL138: Read Factory Config Failed: -110
This line is very concerning. It appears you have erased or corrupted the modules factory config which is likely causing the kernel to think it has the wrong nand device.
You can reco...
Jonathan Cormier
05:58 AM Software Development: RE: Kernel panics on custom board: "No init found. Try passing init= option to kernel"
Hi Jonathan,
> Your u-boot and kernel partitions don't seem to match.
I changed the file @board-mityomapl138.c@ and rebuilt the kernel. The kernel gets the partitions right this time around.
> ...
My @CONFIG_MTD_CMDLINE_PARTS@ ...
Okan Çalış
VP 10:14 AM FPGA Development: RE: FPGA Done led not turning on with CPU programming
Michael Williamson wrote:
> How are you generating the bin file?
> ...
Thanks a lot Michael. There was a problem in .bin file generation. We followed your suggested wiki page and now it is working.
Thanks.
- Vivek
Vivek Ponnani
VP 10:11 AM Software Development: RE: Auto run of application file (loaded in NAND Flash)
Jonathan Cormier wrote:
> Vivek Ponnani wrote:
> ...
Thanks a lot Jonathan. There was a problem in .bin file generation of FPGA. With the help from the FPGA forum , we are able to solve it. Now our application is running from flash. Th...
Vivek Ponnani

02/05/2018

JC 04:31 PM Software Development: RE: Using McASP Rx clock generation module
Ideally you should get it working from the baseboard as that should be the source of all the pinmux settings. Not sure what else might be overriding things. I have run into cases where i had multiple pinmux configs overriding each othe... Jonathan Cormier
TR 04:12 PM Software Development: RE: Using McASP Rx clock generation module
Hi Jonathan,
Ok, good suggestion... thanks... the pinmux read
PINMUX0 = 0x8811.1110
so it's not getting set to ACLKR, instead to PRU0_R31[22], not even a gpio, which interesting.
PINMUX1 = 0x8888.8881
all of the serialize...
Tom Riddle
JC 02:40 PM Software Development: RE: Kernel panics on custom board: "No init found. Try passing init= option to kernel"
Your u-boot and kernel partitions don't seem to match. Also asuming the u-boot partitions scheme is the correct one, if you intend to boot from your "rootfs" partition in linux you should change mtdblock0 to mtdblock1 after fixing the li... Jonathan Cormier
05:08 AM Software Development: Kernel panics on custom board: "No init found. Try passing init= option to kernel"
Hi,
As some of you may know, I've been working on a MityDsp-L138F SoM, and I also have a custom designed board based on MityDsp. So far, I've used Linux on the Industrial IO board with kernel and file system installed on NOR and NAND ...
Okan Çalış

02/02/2018

JC 06:57 PM Software Development: RE: Using McASP Rx clock generation module
Can you dump the pinmux registers so we can double check them?
0x01C14120 - PINMUX0
0x01C14124 - PINMUX1
Jonathan Cormier

02/01/2018

TR 09:59 PM Software Development: RE: Using McASP Rx clock generation module
Hi Mike, thanks for responding.
So I have updated the baseboard-industrialio.c to enable all of the baseboard_mcasp_pins (like the ti evm) and even took out the GPIO configs for 13 & 15 which certainly can get overridden later, just ...
Tom Riddle
MW 09:32 PM Software Development: RE: Using McASP Rx clock generation module
Hi Tom,
Have you checked the pinmux settings for the IO Pin are set to use the McASP function and not GPIO or something else?
The only option (what we do) for probing even pins on the connector is to tack a small wire on the edge c...
Michael Williamson
TR 09:24 PM Software Development: RE: Using McASP Rx clock generation module
Hi,
We are working thru enabling of the McASP Rx clock generator module. After making source updates to davinci_mcasp.c we've been successful in generating a frame clock (AFSR) and see it's output on omap_gpo_13, but we cannot observ...
Tom Riddle

01/31/2018

MW 02:42 PM FPGA Development: RE: FPGA Done led not turning on with CPU programming
How are you generating the bin file?
Check this "wiki page":https://support.criticallink.com/redmine/projects/arm9-platforms/wiki/FPGA_Overview. At the bottom there is a command for generation.
-Mike
Michael Williamson
VP 02:04 PM FPGA Development: FPGA Done led not turning on with CPU programming
Hi,
We have made our own customized board uing the Industrial IO Board and the Analog expansion board.
We were programming the FPGA (x16) using the JTAG programmer. We used to have the Done LED turned ON once the programming was done...
Vivek Ponnani

01/30/2018

JC 07:01 PM Software Development: RE: Auto run of application file (loaded in NAND Flash)
Vivek Ponnani wrote:
>
> ...
Generally when auto running things on linux the output isn't shown on the debug console. With the .service files, any output your app sends gets captured in the journal which can be displayed by @journalct...
Jonathan Cormier
VP 06:13 PM Software Development: RE: Auto run of application file (loaded in NAND Flash)
I was expecting following Debug response, which comes up when I run application by myself with the help of treaterm and booting off from MMC card.
root@mityomapl138:~# ./DigitalDemodulatorARM DigitalDemodulatorDSP.out
--response
...
Vivek Ponnani
JC 03:16 PM Software Development: RE: Auto run of application file (loaded in NAND Flash)
Vivek Ponnani wrote:
> > > 2) FPGA write in SPI Flash
> ...
Yes I believe the FPGA light should come on. I'm not familiar with the FPGA but if the light doesn't come on then it probably wasn't programmed with a correct image.
> > > K...
Jonathan Cormier
VP 02:48 PM Software Development: RE: Auto run of application file (loaded in NAND Flash)
Jonathan Cormier wrote:
> Vivek Ponnani wrote:
> ...
root@mityomapl138:~# ./DigitalDemodulatorARM DigitalDemodulatorDSP.out
spi mode: 0
bits per word: 8
max speed: 10000000 Hz (10000 KHz)
Creating DSPApp object.
Loading file Digit...
Vivek Ponnani

01/29/2018

JC 04:44 PM Software Development: RE: Auto run of application file (loaded in NAND Flash)
Vivek Ponnani wrote:
> I followed the suggestions and tried to boot from flash. But It still does not run application automatically. Below is my setup on the board.
What does your application do? How do you know its running?
> ...
Th...
Jonathan Cormier
VP 03:25 PM Software Development: RE: Auto run of application file (loaded in NAND Flash)
I followed the suggestions and tried to boot from flash. But It still does not run application automatically. Below is my setup on the board.
1) environment setting on board.
U-Boot > printenv
bootdelay=3
baudrate=115200
bootfil...
Vivek Ponnani
TR 03:11 AM Software Development: Using McASP Rx clock generation module
Hi,
We are developing a new codec using the MityDSP. So the Industrial IO has the DSD1791 audio DAC on it's McASP. This DAC uses the TX clock generation module (ACLKX and AFSX) for the bit and word clock. The other L138 EVMs also uses...
Tom Riddle

01/25/2018

MH 09:24 PM Software Development: RE: SYS/BIOS
Finally i could solve this issue by adding the following code :
asm(" mrc p15, #0, r0, c1, c0, #0\n\t"
" orr r0, r0, #0x00002000\n\t"
" mcr p15, #0, r0, c1, c0, #0\n\t");
before calling BIOS_start function.
Thanks everyone.
t...
Martin Hantke

01/24/2018

JC 07:47 PM Software Development: RE: Auto run of application file (loaded in NAND Flash)
Vivek Ponnani wrote:
> Jonathan Cormier wrote:
> ...
All of these commands were assuming you were booted and running on the l138.
Alright so assuming your trying to customize the MDK mityomap-full.tgz filesystem. We extract the fil...
Jonathan Cormier
VP 05:13 PM Software Development: RE: Auto run of application file (loaded in NAND Flash)
Jonathan Cormier wrote:
> Vivek Ponnani wrote:
> ...
could you please explain where (on board or VM) and when (if command execution is on board)to give all this systemctl commands? I have created AutoRun.service file in the folder fro...
Vivek Ponnani
JC 03:59 PM Software Development: RE: Auto run of application file (loaded in NAND Flash)
Vivek Ponnani wrote:
> Thanks for your response. It is very helpful.
> ...
Your missing type=simple.
Jonathan Cormier
VP 02:24 PM Software Development: RE: Auto run of application file (loaded in NAND Flash)
Thanks for your response. It is very helpful.
Most of the points are cleared. I have further queries as below.
1) I am not much familiar with linux.I tried to create AutoRun.service file in /etc/systemd/system folder as per the li...
Vivek Ponnani

01/23/2018

JC 02:51 PM Software Development: RE: Auto run of application file (loaded in NAND Flash)
Vivek Ponnani wrote:
> Hi,
> ...
With this bootcmd, you will only load the fpga and nothing else on boot.
> uBoot> saveenv
> ...
Yes
>
> ...
This path doesn't exist. /media/mmcblk0p1 is a mount in linux. @/home/root/root_filesys...
Jonathan Cormier
VP 11:23 AM Software Development: Auto run of application file (loaded in NAND Flash)
Hi,
I have a custom board with
-- MityDspl-138F module (with FPGA)
-- No Ethernet port
-- UART,USB,SD CARD interface
We are using MMC card for booting linux and to copy application software files to board.
we have done follo...
Vivek Ponnani
MH 01:57 PM Software Development: SYS/BIOS
Hello Forum,
i have a question related to usage of TI SYS/Bios on MiTyDSP without FPGA.
i successsfull flashed my app.out file to the external SPI via u-boot.
I see GPIO working also UART.
If i call BIOSStart nothing happens further....
Martin Hantke
 

Also available in: Atom