Activity
From 02/09/2013 to 03/10/2013
03/08/2013
- Up until a week or so ago, we were developing MityARM-335x code under Angstrom as a holdover from work done on Beaglebone w/ Angstrom. We built the filesystem, kernel, and uboot using recipes posted on the Critical Link Wiki, and - once...
-
02:39 PM
MitySOM-335x (ARM Cortex-A8 Based Products)
Software Development: RE: MityArm in u-booting from SPI flash
- Thanks Tim,
How hard to you think it would be to merge the MityArm changes for u-boot into the latest mainline u-boot?
John C. - TI 02:28 PM MitySOM-335x (ARM Cortex-A8 Based Products) Software Development: RE: MityArm in u-booting from SPI flash
- John
While the omap l138 based mity SOMs do boot from SPI (NOR) flash, we have not tried to do so on the AM335X based SOMs.
In fact, the current AM335X based SOMs can not boot from on-board flash due to pin mux constraints. You should ... - Does Critical Link plan to support booting from spi flash? We would like to begin the process of migrating the booting
over to spi flash and were hoping you guys might have it ready to go already (fingers crossed...) We understand that
...
03/06/2013
- MF 01:56 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: How to register hostname with DNS?
- I modified /etc/network/interfaces as described:
- JC 10:27 AM MityDSP-L138 (ARM9 Based Platforms) 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.
03/05/2013
- 锋曲 11:32 PM MityDSP (TI TMS320C6xxx Based Products) FPGA Development: RE: How does DSP configure FPGA program?
- Thank you very much Mike,
- MW 01:04 PM MityDSP (TI TMS320C6xxx Based Products) FPGA Development: RE: How does DSP configure FPGA program?
- Here you go. Good luck.
| *FPGA* | *DSP* |
| DONE | GP_7 |
| INIT | GP_6 |
| PROGRAM | GP_1 |
| CCLK | EMIF_AAOEn and EMIF_AAWEn (external and gate) |
| BUSY | EMIF_AARDY |
| D(7..0) | EMIF_AED(7..0) |
| CS | EMIF_ACE2n and E... - 锋曲 10:02 AM MityDSP (TI TMS320C6xxx Based Products) FPGA Development: RE: How does DSP configure FPGA program?
- Hello mike,
Thank you very much for your reply, I would like to know which pins of DSP are used to configure FPGA, like CCLK,WRITE,DATA[0:7],BUSY,,DONE,INIT,PROGRAM. Because the program framework of our project has been completed, and t... - MW 07:47 AM MityDSP (TI TMS320C6xxx Based Products) FPGA Development: RE: How does DSP configure FPGA program?
- Hello,
The DSP configures the FPGA using slave parallel select mode (8-bits at a time) using a connection to the EMIFA and a couple of GPIO pins to drive the PROGRAM, CS, and INIT pins to monitor the load status.
Details about para... - MF 01:48 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: How to register hostname with DNS?
- The answer there was:
- JC 11:34 AM MityDSP-L138 (ARM9 Based Platforms) 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/ - 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... - MF 11:36 AM MityDSP-L138 (ARM9 Based Platforms) 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
...
02/27/2013
- Hello,
I'm using MityDSP-PRO Development Kit to our project, and our DSP is 6455,and FPGA is xc3s4000. I want to know how does DSP configure FPGA program? Does it is the way of picture attached? if so, would you like to tell us the... - MK 07:57 PM MitySOM-335x (ARM Cortex-A8 Based Products) Software Development: RE: Critical Link Kernel integration w/ Angstrom/OpenEmbedded
- I take back the comment about console-image build not working. I can build it just fine, and the issue is most certainly user error on my part.
- MK 07:15 PM MitySOM-335x (ARM Cortex-A8 Based Products) Software Development: RE: Critical Link Kernel integration w/ Angstrom/OpenEmbedded
- After the latest angstrom update, building the console-image program no longer works, but the systemd-image works fine.
Also, I still can't figure out how to get the MLO to build. Using the one shipped with the dev kit seems to work ... - JC 02:33 PM MityDSP-L138 (ARM9 Based Platforms) 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 - JC 02:11 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: How to get system time?
- At least that file has the CLOCK_MONOTONIC in it but doesn't have clock_gettime...
- JC 01:56 PM MityDSP-L138 (ARM9 Based Platforms) 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
- MF 01:53 PM MityDSP-L138 (ARM9 Based Platforms) 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... - JC 01:21 PM MityDSP-L138 (ARM9 Based Platforms) 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 - DG 01:19 PM MityDSP-L138 (ARM9 Based Platforms) 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 ... - MF 01:01 PM MityDSP-L138 (ARM9 Based Platforms) 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... - DG 12:39 PM MityDSP-L138 (ARM9 Based Platforms) 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. - MW 12:34 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: How to get system time?
- Did you include <time.h> in your code?
- 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... - CO 08:01 AM MityDSP-L138 (ARM9 Based Platforms) FPGA Development: RE: I2C issues on SLX45
- Patched file is:
MDK/sw/ARM/linux/drivers/fpga/fpga_i2c.c
attached... - CO 07:56 AM MityDSP-L138 (ARM9 Based Platforms) 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...
- MC 06:40 AM MityDSP-L138 (ARM9 Based Platforms) 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...
02/25/2013
- RT 10:00 AM MityDSP-L138 (ARM9 Based Platforms) FPGA Development: RE: Programming FPGA on power up.
- Got it sorted now, just noticed the loadaddr was incorrect
- RT 09:09 AM MityDSP-L138 (ARM9 Based Platforms) FPGA Development: RE: Programming FPGA on power up.
- Hi
I am running MityDSP Development kit Module L138-FI-225-RC.
-Rex - MW 09:05 AM MityDSP-L138 (ARM9 Based Platforms) 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 ...
- 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...
02/21/2013
- MF 01:38 PM MityDSP-L138 (ARM9 Based Platforms) 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... - MW 12:39 PM MityDSP-L138 (ARM9 Based Platforms) 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>
... - MF 12:17 PM MityDSP-L138 (ARM9 Based Platforms) 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;
... - TI 11:44 AM MityDSP-L138 (ARM9 Based Platforms) 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
- 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... - AT 08:53 AM MityDSP (TI TMS320C6xxx Based Products) PCB Development: RE: MityDSP-Pro RGMII voltage
- Thank you
- MW 08:37 AM MityDSP (TI TMS320C6xxx Based Products) PCB Development: RE: MityDSP-Pro RGMII voltage
- DVDD15 is connected to 1.5V.
VREFHSTL (for the EMAC RGMII) is set at to 1.5V / 2.
This is a provision to change the 1.5 voltage to 1.8 V, but it would require removal of 1 resistor (0 ohm jumper) and installation of a second on the... - Hello,
RGMII interface from TMS320C6455 DSP MAC can work with either 1.5V or 1.8V power suply.
What RGMII voltage is used on MityDSP-Pro boards (on Hirose expansion connector)?
Thanks,
Alexander
02/20/2013
- MW 08:54 AM MitySOM-335x (ARM Cortex-A8 Based Products) Software Development: RE: Where is the real spi_xfer() function located for MityArm in u-boot?
- Cheat:
Look for .o files.
-Mike
-
08:53 AM
MitySOM-335x (ARM Cortex-A8 Based Products)
Software Development: RE: Where is the real spi_xfer() function located for MityArm in u-boot?
- Mike,
Thanks for the info. It is difficult to trace which files are included in the build using
the am335x_evm.h file's #defines.
-John Conover - MW 08:36 AM MitySOM-335x (ARM Cortex-A8 Based Products) Software Development: RE: Where is the real spi_xfer() function located for MityArm in u-boot?
- John,
For the MityARM-335x family, the file is:
drivers/spi/omap3_spi.c
-Mike
- MW 07:50 AM MitySOM-335x (ARM Cortex-A8 Based Products) Software Development: RE: Typo in rs485_test code
- Hi Ian,
It depends on the version of the compiler you are using and where it is getting it's kernel headers from.
The TI tools from their 05.03.02.00 SDK, what we used to run the test, have a definition of the their serial_rs485 st...
02/19/2013
- Thank you for putting up the great resource at:
http://support.criticallink.com/redmine/projects/armc8-platforms/wiki/Driving_RS-485_transceivers
But there is a typo in rs485_test.tar. I believe "#define gpio_pin padding [1]" should... - Hi
I've been unable to build u-boot on my Ubuntu 12.04 or 11.xx Virtual machines so I was wondering which u-boot file contains the spi_xfer() function that is compiled in the MityArm build of u-boot? I've searched looking at file...
02/14/2013
- 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... -
11:06 AM
MitySOM-335x (ARM Cortex-A8 Based Products)
Software Development: RE: Booting StarterWare image from NAND
- Tim,
Now it makes sense. I never did get the u-boot to build so I did not know the process of making
the MLO. Now that you say it I remember seeing that command used to build an image with ECC. So if
we had made a plain MLO ... - TI 10:56 AM MitySOM-335x (ARM Cortex-A8 Based Products) Software Development: RE: Booting StarterWare image from NAND
- John
My understanding (which may be confused!) is that it doesn't matter so much if you use SW or HW ECC, but that you flash the image using the same ECC mode that you use to read it. So if you are using HW ECC when you flash the image ... -
10:42 AM
MitySOM-335x (ARM Cortex-A8 Based Products)
Software Development: RE: Booting StarterWare image from NAND
- Hey Tim,
We have referenced that page before, the problem is that there is no mention of ECC being "Required" for any
MLO image past a certain revision to boot. As with a lot of TI documentation on the 3359, certain things ar... - TI 10:30 AM MitySOM-335x (ARM Cortex-A8 Based Products) Software Development: RE: Booting StarterWare image from NAND
- John
check out http://processors.wiki.ti.com/index.php/AM335x_U-Boot_User's_Guide
cheers
/Tim -
10:07 AM
MitySOM-335x (ARM Cortex-A8 Based Products)
Software Development: RE: Booting StarterWare image from NAND
- Mike,
Here is our update. We have our board booting from NAND with no changes to the MLO image. We changed the SYSBOOT[9] to ECC
and our system boots with no issues. Is there any TI documentation/notes that would explain exactl... - JY 10:53 AM MityDSP-L138 (ARM9 Based Platforms) 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...
- MW 10:49 AM MityDSP-L138 (ARM9 Based Platforms) 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...
- MW 10:46 AM MityDSP-L138 (ARM9 Based Platforms) 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... - RT 10:41 AM MityDSP-L138 (ARM9 Based Platforms) 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 ...
02/13/2013
- MW 07:23 PM MityDSP-L138 (ARM9 Based Platforms) 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_... - JY 07:08 PM MityDSP-L138 (ARM9 Based Platforms) 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...
- JY 06:41 PM MityDSP-L138 (ARM9 Based Platforms) 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...
- MW 03:06 PM MityDSP-L138 (ARM9 Based Platforms) 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... - TI 03:00 PM MityDSP-L138 (ARM9 Based Platforms) 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... - 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...
-
09:25 AM
MitySOM-335x (ARM Cortex-A8 Based Products)
Software Development: RE: Booting StarterWare image from NAND
- Hey Mike,
Are jumper mode is 00100b so it is serial first, MMC and then NAND. Experimenting with your board we got your board to
boot from NAND but we had to remove the header from the MLO image (first 0x200 bytes.) We also ...
02/12/2013
- MW 05:42 PM MitySOM-335x (ARM Cortex-A8 Based Products) Software Development: RE: Booting StarterWare image from NAND
- Hi John,
Have you adjusted your boot-strap jumpers to select a mode the uses NAND? What option have you selected?
The "C"'s you are seeing is the ROM based boot code looking to be booted from the UART. This means (if the UART is ... -
05:05 PM
MitySOM-335x (ARM Cortex-A8 Based Products)
Software Development: RE: Booting StarterWare image from NAND
- Are we supposed to have a specific MLO for booting from NAND. We have seen it mentioned
that older versions would not boot in NAND, but we have pulled the latest. Do we
need a different one?
Thanks,
John Conover -
11:32 AM
MitySOM-335x (ARM Cortex-A8 Based Products)
Software Development: RE: Booting StarterWare image from NAND
- Just the "C"'s you see at the bottom of the serial log.
- JC 11:30 AM MitySOM-335x (ARM Cortex-A8 Based Products) Software Development: RE: Booting StarterWare image from NAND
- When you say it doesn't make it into MLO does anything get printed to the console after power up?
-
11:26 AM
MitySOM-335x (ARM Cortex-A8 Based Products)
Software Development: RE: Booting StarterWare image from NAND
- Hey Tim,
I'm still having issues getting the system to boot from NAND. I've pulled
the latest MLO and uboot images from your site and run the commands below. This should
be the MLO and uboot images into NAND, but when we b... - MW 05:35 PM MityDSP-L138 (ARM9 Based Platforms) 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... - AB 05:00 PM MityDSP-L138 (ARM9 Based Platforms) 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 ... - JC 04:34 PM MityDSP-L138 (ARM9 Based Platforms) 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]] - JC 04:31 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: U-Boot Source Code
- Have you checked the sw/ARM directory in the MDK?
-Jonathan - 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.
- SP 10:12 AM MityDSP-L138 (ARM9 Based Platforms) 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 - MW 10:07 AM MityDSP-L138 (ARM9 Based Platforms) 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
- SP 09:35 AM MityDSP-L138 (ARM9 Based Platforms) 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
- MW 07:13 AM MityDSP-L138 (ARM9 Based Platforms) 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...
02/11/2013
-
12:38 PM
MitySOM-335x (ARM Cortex-A8 Based Products)
Software Development: RE: Booting StarterWare image from NAND
- Tim,
I'm in the process of putting our image into NAND and noticed that when I
save the ENV variables it prints out:
Environment size: 1704/65532 bytes
U-Boot# save
Saving Environment to NAND...
Erasing Nand...
Erasing at ... - SP 03:28 AM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: Ethernet packet loss
- I also made a post in the E2E: http://e2e.ti.com/support/embedded/bios/f/355/t/244852.aspx
Stéphane