Project

General

Profile

Activity

From 02/12/2013 to 03/13/2013

03/13/2013

JC 04:06 PM Software Development: RE: Creating a Read-Only Filesystem
> rm: cannot remove '/etc/volatile.cache': Read-only file system
> ...
Udev happens before the tmpfs entries get mounted from the fstab file.
Jonathan Cormier
JC 03:56 PM Software Development: RE: Creating a Read-Only Filesystem
Your fstab entry doesn't have auto in the options list so it isn't auto mounted on startup. You should probably use the defaults and then override the options you want changed.
*defaults* Uses the default options that are rw, suid, d...
Jonathan Cormier
MF 01:20 PM Software Development: RE: SPI NOR Flash memory map
This probably doesn't completely answer your question, but may be helpful. There is some "spare" memory on the SPI NOR flash.
On your target try:
Mary Frantz
MW 10:59 AM Software Development: RE: MDK_2012-08-10 default configuration
What PHY address does your custom baseboard use?
-Mike
Michael Williamson
LM 10:55 AM Software Development: MDK_2012-08-10 default configuration
Hi,
I am working on bringing up a custom base board for a MityDSP-L138.
Most things seem to work fine using the version of Linux installed on the MityDsp-L138 board out of the box. However, I need to reconfigure the kernel a bit to re...
Lars Majlof

03/12/2013

LA 02:59 PM Software Development: RE: FPGA Memory Size
You are correct we are looking at cs5 as well.
32k would probably be sufficient. We typically prefer to provide the information in a flat manner to offload the CPU from parsing, or having to copy out all the information instead of the...
LSA Autonomy
JT 01:52 PM Software Development: RE: Creating a Read-Only Filesystem
I had used -
mount -t jffs2 /dev/mtdblock1 /mnt/user_nand
and just -
mount /mnt/user_nand
also works.
Jim Twyman
JC 01:42 PM Software Development: RE: Creating a Read-Only Filesystem
"I can manually mount /mnt/user_nand and access that partition"
Whats the full command you use to manually mount your partition? Does @mount /mnt/user_nand@ work?
Jonathan Cormier
JT 11:07 AM Software Development: Creating a Read-Only Filesystem
Hi,
We use the MityDSP-L138 in a factory automation product and need to prevent fs corruption from random shutdowns. My first attempt was to change the rootfs to read-only in a startup script, but it would be safer if the rootfs was rea...
Jim Twyman
JC 08:32 AM Software Development: RE: SPI NOR Flash memory map
This appears to be what your looking for.
[[MityDSP-L138_Architecture]]
Also can be determined by looking at the uboot environment variables. The erase commands give the starting address and the max size expected for each image.
@
...
Jonathan Cormier
TC 08:13 AM Software Development: SPI NOR Flash memory map
(posted for a customer)
We are looking at using the SPI flash and/or NOR flash for storing our software on the L138 SOM. We are currently using uBoot and the exisiting boot code on the board so we do not want to overwrite these.

...
Thomas Catalino

03/11/2013

MW 07:58 PM Software Development: RE: FPGA Memory Size
As mentioned on the "EMIFA wiki page":http://support.criticallink.com/redmine/projects/arm9-platforms/wiki/EMIF_Interface, all of our FPGA fabric and drivers use CE5 space (0x66000000), for the ARM or the DSP (where did you find informat... Michael Williamson
LA 04:18 PM Software Development: FPGA Memory Size
The standard FPGA memory available to the arm processor within angstrom is currently limited to 2k.
From what we can gather there are many places that could work together to create this limit:
Flash code
uBoot
FPGA vhdl
Linux dr...
LSA Autonomy
MC 12:49 PM FPGA Development: RE: SPI Core on FPGA: Implementation on MityDSP-L138F
Dear all,
I'm trying to understand the behaviour of your SPI core on FPGA with hooked FIFO and wondering how to connect it to a PulSAR ADC (for example AD7980) from Analog Devices, hopefully, on SW side, using your tcDspFpgaSpi Class in...
Michele Canepa

03/06/2013

MF 01:56 PM Software Development: RE: How to register hostname with DNS?
I modified /etc/network/interfaces as described: Mary Frantz
JC 10:27 AM Software Development: RE: How to register hostname with DNS?
http://www.turnkeylinux.org/forum/support/20090212/register-hostname-dns
This post suggests setting hostname in /etc/network/interfaces file.
Jonathan Cormier

03/05/2013

MF 01:48 PM Software Development: RE: How to register hostname with DNS?
The answer there was: Mary Frantz
JC 11:34 AM Software Development: RE: How to register hostname with DNS?
This might be what your looking for.
http://www.linuxquestions.org/questions/linux-networking-3/dns-registration-on-internal-network-284556/
Jonathan Cormier
MF 11:03 AM Software Development: How to register hostname with DNS?
I would like to use DHCP for ip address assignment, set my own hostname and register it with DNS.
So, far I can get an IP address just fine. I see that the hostname is in /etc/hostname (currently set to mityomapl138). Presumably I c...
Mary Frantz
MF 11:36 AM Software Development: RE: How to get system time?
Stumbled across this:
#include <time.h> references /usr/local/oeore-i686/sysroots/armv5te-angstrom-linux-gnueabi/usr/include/time.h
which includes another file:
#include <bits/time.h>
which references
/usr/include/bits/time.h
...
Mary Frantz

02/27/2013

JC 02:33 PM Software Development: RE: How to get system time?
This stack overflow article seems to point to an eclipse bug and possible fix.
http://stackoverflow.com/questions/8881617/constants-not-loaded-by-compiler
Jonathan Cormier
JC 02:11 PM Software Development: RE: How to get system time?
At least that file has the CLOCK_MONOTONIC in it but doesn't have clock_gettime... Jonathan Cormier
JC 01:56 PM Software Development: RE: How to get system time?
Looks like you want linux/time.h located at /usr/local/oeore-i686/sysroots/armv5te-angstrom-linux-gnueabi/usr/include/linux/time.h Jonathan Cormier
MF 01:53 PM Software Development: RE: How to get system time?
Where is the correct time.h file? There seem to be alot of them in various include directories.
#include <time.h>
if I right click then select "Open Declaration" it opens:
/usr/local/oeore-i686/sysroots/armv5te-angstrom-linux-gnue...
Mary Frantz
JC 01:21 PM Software Development: RE: How to get system time?
And here is a discussion of CLOCK_REALTIME VS CLOCK_MONOTONIC.
http://stackoverflow.com/questions/3523442/difference-between-clock-realtime-and-clock-monotonic
Jonathan Cormier
DG 01:19 PM Software Development: RE: How to get system time?
Not sure why it's not finding CLOCK_MONOTONIC, it's defined in time.h:
45 * The IDs of the various system clocks (for POSIX.1b interval timers):
46 */
47 #define CLOCK_REALTIME 0
48 #define CLOCK_MONOTONIC ...
Dominic Giambo
MF 01:01 PM Software Development: RE: How to get system time?
Thanks,
I added rt to the project Properties->C/C++ Build -> Settings -> Cross G++ Linker -> Libraries
I had already included time.h
It compiled if I set the first parameter of clock_gettime() to 0, but I still can't reference CLO...
Mary Frantz
DG 12:39 PM Software Development: RE: How to get system time?
Hi Mary,
Be sure you are linking to the rt library which implements that call (as well as including the time.h header). Use -lrt as a linker argument to do this.
Dominic Giambo
MW 12:34 PM Software Development: RE: How to get system time?
Did you include <time.h> in your code? Michael Williamson
MF 12:00 PM Software Development: How to get system time?
How do you get the system time in order to timestamp events?
Tried clock_gettime() but got a linker error: "undefined reference to `clock_gettime' "
There was also no reference for CLOCK_REALTIME, or CLOCK_MONOTONIC.
I would lik...
Mary Frantz
CO 08:01 AM FPGA Development: RE: I2C issues on SLX45
Patched file is:
MDK/sw/ARM/linux/drivers/fpga/fpga_i2c.c
attached...
Conor O
CO 07:56 AM FPGA Development: RE: I2C issues on SLX45
Wow, this is a while ago. If I remember correctly the FPGA i2c driver functioned correctly after Mike's changes but, in my opinion, it was a little unoptimised. But that was for my specific app which wanted to push a lot of data across i... Conor O
MC 06:40 AM FPGA Development: RE: I2C issues on SLX45
Hello All,
Can you please tell me if your patch about I2C FPGA linux driver is available and working?
If yes, can you please provide a sort of explaination about the exact steps to apply it to the MDK_2012-08-10 release?
Have you su...
Michele Canepa

02/25/2013

RT 10:00 AM FPGA Development: RE: Programming FPGA on power up.
Got it sorted now, just noticed the loadaddr was incorrect
Rex Taylor
RT 09:09 AM FPGA Development: RE: Programming FPGA on power up.
Hi
I am running MityDSP Development kit Module L138-FI-225-RC.
-Rex
Rex Taylor
MW 09:05 AM FPGA Development: RE: Programming FPGA on power up.
Not seeing anything obvious. For the load process, I believe you need to specify an image size larger than the filesize (need to doublecheck this for parallel loading, but I know is true for serial loading) as the configuration process ... Michael Williamson
RT 08:11 AM FPGA Development: Programming FPGA on power up.
Hello
We have been trying to save our .bin file to flash and load the FPGA on power up of our MityDSP.
Our board details are:-
U-Boot > factoryconfig
Factory Configuration:
Config Version : 1.1
MAC Address : 00:50:C2:E6:76:7...
Rex Taylor

02/21/2013

MF 01:38 PM Software Development: RE: How to specify port in client/server application
I knew there was a simple answer. Thanks!
Here's the updated code, which compiles.
#include <stdio.h>
#include <string.h>
#include <unistd.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <netinet/ip.h>
#in...
Mary Frantz
MW 12:39 PM Software Development: RE: How to specify port in client/server application
Hi Mary,
sockaddr_in is most certainly supported by the compiler. We use it all the time. The man page suggests you need a couple of additional headers, from the man page you need:
#include <sys/socket.h>
#include <netinet/in.h>
...
Michael Williamson
MF 12:17 PM Software Development: RE: How to specify port in client/server application
Yes, I was just reading that. They use slightly different elements:
struct sockaddr_in serv_addr, cli_addr;
portno = atoi(argv[1]);
serv_addr.sin_family = AF_INET;
serv_addr.sin_addr.s_addr = INADDR_ANY;
...
Mary Frantz
TI 11:44 AM Software Development: RE: How to specify port in client/server application
here's a pretty decent tutorial on linux sockets...
http://www.linuxhowtos.org/C_C++/socket.htm
Tim Iskander
MF 11:34 AM Software Development: How to specify port in client/server application
Hello,
I am running Linux on the ARM and DSP/BIOS on the DSP. I need to implement a client and server on a particular port on the ARM side. I am using MDK_2012-08-10.
How do you specify the port to listen on or connect to? There...
Mary Frantz

02/14/2013

KV 09:53 PM Software Development: board support package
How do you configure / customize the tool chain to the mitydsp board? eg the current version of gnu compiler for the board is 4.3.3. How is it targeted to the mityboars?
I need to configure the 4.7.2 version for the mity board. When a s...
Krishna Vallabhaneni
JY 10:53 AM Software Development: RE: Trouble with writing to UART2
Thank You for your help, Ultimately I need to use this on the PRU and I saw how TI is doing it through there Profibus utilities module. They set up the pin mux to have PRU0 R30[16] toggle the enable line. This seems to be the most effici... Jeremy Young
MW 10:49 AM Software Development: RE: CLK frequency increase using DSP only
Check the Datasheet for the speed grade for the L138-FI-225-RC, though I think the F means CPU speed up to 456 MHz. The OMAP-L138 datasheet specifies all of the maximum operating frequencies for the clock domains within the part. The l... Michael Williamson
MW 10:46 AM Software Development: RE: CLK frequency increase using DSP only
OSCin is 24 MHz. It's fixed by the crystal on the part.
The documentation you would need to read is for the "TPS65023 PMIC":http://www.ti.com/product/tps65023&lpos=Middle_Container&lid=Alternative_Devices from TI. These I2C commands...
Michael Williamson
RT 10:41 AM Software Development: RE: CLK frequency increase using DSP only
Hi, I too would like to increase the running speed towards 456MHz. I have managed to change the speed as per your instructions. and would like to have some further information.
Is there any documentation to explain the following
i2c ...
Rex Taylor

02/13/2013

MW 07:23 PM Software Development: RE: Trouble with writing to UART2
You need to use the TIOCRS485 ioctl on the serial port file descriptor with the serial_rs485 structure.
It involves writing a bit of code. You can't do it with any shell tools that I am aware of.
See the example code in the rs485_...
Michael Williamson
JY 07:08 PM Software Development: RE: Trouble with writing to UART2
Additionally, it appears the pin muxing was set up such that the GP0[9] was not selected due to AMUTE being selected by the mcasp initialization. If i disable the mcasp initialization in the kernel build GP0[9] is mapped to the rs485 ena... Jeremy Young
JY 06:41 PM Software Development: RE: Trouble with writing to UART2
I am using the 2.6.34 kernel and it appears it already has the patch applied. I was able to get it to work by reassigning the pins and manually applying the RTS line. With the original configuration, am I supposed to toggle the GPO pin m... Jeremy Young
MW 03:06 PM Software Development: RE: Trouble with writing to UART2
Hi Jeremy / Tim,
The link Tim pointed you to is for the MityARM-335x, not the MityARM-180x, though a similar patch exists for that as well for the RS-485 drivers.
Sorry for the confusion.
The patch you need is "here":http://su...
Michael Williamson
TI 03:00 PM Software Development: RE: Trouble with writing to UART2
Jeremy
The RS485 board has an enable that must be managed. I believe you need a newer version of the driver to control it.
Support for the RS-485 board was added in commit 3e1a3878bbe545b7d4a2ab65023a9938b0d5984e
dated 2012-12-11
see...
Tim Iskander
JY 01:02 PM Software Development: Trouble with writing to UART2
I am having some difficulty with writing to the UART2 on the AM1810. I have everything setup such that I can read from the port with out any problems. When I run the command cat /proc/tty/driver/serial I am able to see the Tx count incre... Jeremy Young

02/12/2013

MW 05:35 PM Software Development: RE: U-Boot Source Code
Hi Terrence,
To confirm: are you looking for u-Boot code, or the User Boot Loader (UBL) code?
As Jonathan and Alex indicate, u-Boot is availble from GIT. The MDK should include a copy of the UBL project, which I believe was compil...
Michael Williamson
AB 05:00 PM Software Development: RE: U-Boot Source Code
Terrence,
The U-Boot source code is maintained in a GIT repository and not wholly contained in the MDK however a seed version of the GIT repository is included but you should update it to the latest.
Considerable information is on ...
Alexander Block
JC 04:34 PM Software Development: RE: U-Boot Source Code
Also the git repository can be explored here. http://support.criticallink.com/gitweb/?p=u-boot-mitydspl138.git;a=summary
U-boot wiki page: [[Das_U-Boot_Port]]
Jonathan Cormier
JC 04:31 PM Software Development: RE: U-Boot Source Code
Have you checked the sw/ARM directory in the MDK?
-Jonathan
Jonathan Cormier
TL 04:04 PM Software Development: U-Boot Source Code
Does anyone know where I can find the U-Boot (UBL version 1.65:2.28) source code? Does the UBL source come bundled with the MDK? I am using MDK-2011-12-05. Terrence Lawrence
SP 10:12 AM Software Development: RE: Ethernet packet loss
Hi Mike,
We are using your L138-FG-225-RC in combination with a propriatary base (=industrial IO) board --> MII is connected and used.
Stéphane
Stéphane Peter
MW 10:07 AM Software Development: RE: Ethernet packet loss
Are you using a custom board? Are you using the MII or the RMII port? If RMII, what device is sourcing the reference clock?
-Mike
Michael Williamson
SP 09:35 AM Software Development: RE: Ethernet packet loss
Hi Mike,
It’s not a u-Boot/Linux problem.
We are running SysBios on the ARM after leaving ROM code…
Best regards
Stéphane
Stéphane Peter
MW 07:13 AM Software Development: RE: Ethernet packet loss
Hello,
I looked at your E2E post, and I think I *may* understand the problem, but I am not sure.
By changing the frequency in the bootloader and not in the kernel, I'm not sure if the kernel is initializing with the right idea of w...
Michael Williamson
 

Also available in: Atom