Project

General

Profile

Activity

From 08/22/2014 to 09/20/2014

09/18/2014

CB 10:07 AM MityDSP-L138 (ARM9 Based Platforms) FPGA Development: RE: Mity L138F FPGA -> OMAP interrupt lines
Thanks Mike,
I have found the pin mapping for INT0 and INT1 I couldn't find the mapping for the Non Maskable Interrupt (NMI) pin in the table. I also couldn't find the IOSTANDARD to use the interrupt pins.
Chris B.
Christopher Brunson
MW 09:48 AM MityDSP-L138 (ARM9 Based Platforms) FPGA Development: RE: Mity L138F FPGA -> OMAP interrupt lines
Hi Chris,
The information you need is in Table 4 of the "Carrier Board Design Guide":http://www.criticallink.com/wp-content/uploads/2014/01/MityDSP-L138F-Carrier-Board-Design-Guide.pdf.
-Mike
Michael Williamson
CB 09:36 AM MityDSP-L138 (ARM9 Based Platforms) FPGA Development: Mity L138F FPGA -> OMAP interrupt lines
I was trying to use an FPGA interrrupt which should be serviced by the DSP core in the OMAP.
From the MityL138.ucf I have the following FPGA pins:
Christopher Brunson
CB 09:07 AM MityDSP (TI TMS320C6xxx Based Products) FPGA Development: RE: Mity L138F FPGA -> OMAP interrupt lines
Sorry about that I thought this was the ARM9 forum, I will repost it there.
Chris B.
Christopher Brunson
MW 08:40 AM MityDSP (TI TMS320C6xxx Based Products) FPGA Development: RE: Mity L138F FPGA -> OMAP interrupt lines
Hi Chris,
This post, if for an L138 module, should be in this other forum:
https://support.criticallink.com/redmine/projects/arm9-platforms/boards
This forum / subproject is for the MityDSP-6711 and MityDSP-6455 product lines. ...
Michael Williamson
CB 08:32 AM MityDSP (TI TMS320C6xxx Based Products) FPGA Development: Mity L138F FPGA -> OMAP interrupt lines
I was trying to use an FPGA interrrupt which should be serviced by the DSP core in the OMAP.
My FPGA pin map for the interrupt pins is the following:
Christopher Brunson

09/17/2014

PB 02:36 PM MitySOM-5CSX Altera Cyclone V Software Development: RE: Standard USB peripheral connection on MitySOM eval Board
Hi,
I'm now quite stuck without the ability to use use the host mode.
I have noticed on Rocketboards something recent that seems related to the issue I'm facing :
http://git.rocketboards.org/?p=linux-socfpga.git;a=commit;h=a3a81b0...
Pierre-Yves BRETECHER
AB 11:29 AM MitySOM-5CSX Altera Cyclone V FPGA Development: RE: Load FPGA Timeout Error
Max,
Thank you for posting that.
You are correct that if VBAT is too low the module will either not boot at all and/or will not allow the FPGA to be programmed. We believe that on earlier development kits the ESD bags may have cont...
Alexander Block
MB 10:41 AM MitySOM-5CSX Altera Cyclone V FPGA Development: RE: Load FPGA Timeout Error
Hi Dan,
I had similar problem last week. After two week I tried to run my development board loading the FPGA with JTAG and using Uboot.
JTAG was not able to connect and with Uboot the return message was:
altera_load: Failed with e...
Massimo Buratto

09/16/2014

MF 09:55 AM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: Adding SPI flash
The part works in SPI mode 0 or 3, but I tried all four modes (0 - 3). I also tried setting the fields .c2tdelay and .t2cdelay to 0.
As I mentioned, the data appearing on the bus (SOMI), driven by the M25PE80 is correct (as seen with...
Mary Frantz
MW 09:45 AM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: Adding SPI flash
Is the SPI mode field correct (polarity and phase, CPOL and CPHA is the part in SPI_MODE_0)?
You also look like you are setting the delay fields (c2tdelay and t2cdelay), required?
Michael Williamson
MF 09:06 AM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: Adding SPI flash
I confirmed with a scope that the chip select was not active.
I added DA850_GPIO2_15 to the the array of gpios in my baseboard file.
I also changed the .type entry in the flash_platform_data structure to "m25pe80".
In this case,...
Mary Frantz
JC 08:49 AM MitySOM-335x (ARM Cortex-A8 Based Products) PCB Development: RE: Pin mapping option for Carrier board design
This depends on at which stage you want access to the pins. Both u-boot and the kernel make changes to the pin mux. If the device needs to be accessed while you in the u-boot bootloader then u-boot should set the pinmux. If not then t... Jonathan Cormier

09/15/2014

ZJ 04:29 PM MitySOM-335x (ARM Cortex-A8 Based Products) PCB Development: RE: Pin mapping option for Carrier board design
I see. Thank you.
And how am I be able to change them?
Zhe
Zhe Ji

09/12/2014

MW 09:19 AM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: Adding SPI flash
It would not apply (different driver, different logic handling platform arguments). Michael Williamson
JC 09:17 AM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: Adding SPI flash
Note that if you want to use the hardware designated chip select for that spibus instead of a gpio then the SPI_INTERN_CS variable is used. Unsure if this applies to a fpga spibus though. Jonathan Cormier

09/11/2014

MW 06:34 PM MitySOM-5CSX Altera Cyclone V Software Development: RE: U-Boot with large uImage containing initramfs
Hi Nicholas,
A little confused. Your build_ramdisk_image.sh appears to be building a 1 GB image for loading an SD card, which contains including multiple partitions, etc.
You want to create a raw ext2 or ext3 image only, not a ful...
Michael Williamson
MW 06:18 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: Adding SPI flash
Hi Mary,
Have you configured the pin-mux for the DA850_GPIO2_15, which would correspond to the chip select you are selecting for your part?
The way you have configured it is you are having the SPI controller drive that chip select ...
Michael Williamson
MF 01:20 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: Adding SPI flash
We have a SPI serial flash device on our board, an M25PE80. It is connected to SPI1 with SPI1_CS1.
I created a baseboard file based on baseboard-industrialio.c and using what was done for the SPI flash in board-mityopmanl138 as a gui...
Mary Frantz

09/10/2014

NC 04:03 PM MitySOM-5CSX Altera Cyclone V Software Development: RE: U-Boot with large uImage containing initramfs
Michael Williamson wrote:
> We've run into this issue before on a different ARM based processor.
> ...
Mike,
I still have had no luck with the initramfs, Just can't get it to go past that Starting Kernel message. I've tried several ...
Nicholas Crast
DB 01:46 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: DSP HelloWorld Message Queue Buffer Length
Thanks for the clarification on the message handler code, and the message structure recommendation.
It definitely will help me in crafting the ARM/DSP comms.
Regards,
Doug
Doug Browning
JC 11:01 AM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: DSP HelloWorld Message Queue Buffer Length
Doug,
As far as I understand the anLength is really the length of the buffer passed between the DSP and ARM and is likely going to be bigger than your actual message. I agree that the description of the parameter is misleading.
Wh...
Jonathan Cormier
DB 10:01 AM MityDSP-L138 (ARM9 Based Platforms) Software Development: DSP HelloWorld Message Queue Buffer Length
I'm modifying the DSP HelloWorld example code from the Wiki site to transfer data types other than strings (see SW Forum message "Data Transfer over DSPLink").
While debugging the transfer of an array of ints, I noticed that in the AR...
Doug Browning
JC 08:41 AM MitySOM-335x (ARM Cortex-A8 Based Products) PCB Development: RE: Pin mapping option for Carrier board design
Have you looked at this wiki page?
[[Pin Out]]
Jonathan Cormier

09/09/2014

ZJ 06:02 PM MitySOM-335x (ARM Cortex-A8 Based Products) PCB Development: Pin mapping option for Carrier board design
Hi,
I am now designing a carrier board for MitySOM335.
In the design guide, it mentions:
The I2C1 and I2C2 interface signals/mux options cannot be changed as they are used for dedicated functions on the MityARM-335x module.
Is ...
Zhe Ji

09/03/2014

JL 01:24 PM MitySOM-5CSX Altera Cyclone V Software Development: dma_free_coherent error in Kernel driver
I am having problems DE-allocating DMA memory space. Allocation works correctly with dma_alloc_coherent. I get the following
out of dmesg:
[ 4.345091] Virt Address : c095c000 Phys Address: 4095c000 Handle: 3e8c0000
This is after...
Julio Liriano

09/02/2014

JC 08:33 AM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: How to probe the fpga_ctrl & fpga_gpio.ko module
Have you made any progress with this problem? Jonathan Cormier

08/29/2014

JL 12:23 PM MitySOM-5CSX Altera Cyclone V Software Development: RE: Compiling Memory Size into U-boot
I think I see my error.
The ubootenv.bin file doesn't go into any of the three partitions generated by that automated script.
If you wish to just update the ubootenv.bin file this is the command you need:
dd if=ubootenv.bin of=/d...
Julio Liriano
JL 10:09 AM MitySOM-5CSX Altera Cyclone V Software Development: RE: Compiling Memory Size into U-boot
From that script to combine the uBoot image with the rootFS as well as the uBoot blob, I gleaned that
to write the uBoot blob only is to do execute this command:
dd if=ubootenv.bin of=/dev/sdb2 bs-512 seek=1
However when I inser...
Julio Liriano

08/28/2014

DV 05:20 PM MitySOM-5CSX Altera Cyclone V Software Development: RE: Compiling Memory Size into U-boot
We actually create the environment using *mkenvimage*, which takes a text file and then store this on the SD card, which uboot reads on startup. Here is the instructions on how to do that: https://support.criticallink.com/redmine/project... Daniel Vincelette
JL 04:57 PM MitySOM-5CSX Altera Cyclone V Software Development: Compiling Memory Size into U-boot
I read this link:
https://support.criticallink.com/redmine/projects/mityarm-5cs/wiki/ARM_Software_FAQs
And I know how to manually set the memory size for my system during the uBoot process. However,
I would like to set the memory ...
Julio Liriano
NC 04:20 PM MitySOM-5CSX Altera Cyclone V Software Development: RE: U-Boot with large uImage containing initramfs
I have attempted the following:
1.) Create .tar.gz rootfs with yocto
2.) Create ext3 ramdisk image of rootfs
3.) Create uboot image with mkimage
Now my uImage is ~3.3MB and my ramdisk is ~45MB. When I try to boot with the followi...
Nicholas Crast
NC 12:42 PM MitySOM-5CSX Altera Cyclone V Software Development: RE: U-Boot with large uImage containing initramfs
Michael Williamson wrote:
> We've run into this issue before on a different ARM based processor.
> ...
Mike,
Thank you for the fast reply. I have tried your first suggestion. As it seems your vmlinux.lds.S file is different than min...
Nicholas Crast
MW 07:55 AM MitySOM-5CSX Altera Cyclone V Software Development: RE: U-Boot with large uImage containing initramfs
We've run into this issue before on a different ARM based processor.
The problem is the linker for the kernel is putting the initramfs into the init section, because it is assuming that the initramfs is going to go away (that you'll p...
Michael Williamson
JL 12:37 PM MitySOM-5CSX Altera Cyclone V Software Development: RE: Memory Aligned Byte Array
Mike,
I will definitely need more than a single 4096 byte page. I can
call __get_free_pages() to allocate a continuous chunk of pages
but is there a way of doing so so that the beginning offset is on
a 32K boundary (for example)...
Julio Liriano
MW 11:42 AM MitySOM-5CSX Altera Cyclone V Software Development: RE: Memory Aligned Byte Array
Any kernel memory allocation is going to be page aligned (4K), it has to be. That's how the linux kernel memory management / page tables work.
You could have your driver allocate a page (do you need more? you can make continuous ph...
Michael Williamson
JL 11:19 AM MitySOM-5CSX Altera Cyclone V Software Development: RE: Memory Aligned Byte Array
Mike,
I'm writing a device driver to handle this DMA setup. I want the kernel to give me a chunk of physical memory aligned so that the least significant T bits (I'm not so sure of the exact size I want)
are zero. The reason for the...
Julio Liriano
MW 07:09 AM MitySOM-5CSX Altera Cyclone V Software Development: RE: Memory Aligned Byte Array
Not entirely sure what you are up to here.
Is your linux application running in user space? If it is, you may need to deal with the fact that you are working with virtual memory space that's chunked up into 4K page sizes if you are c...
Michael Williamson

08/27/2014

NC 02:11 PM MitySOM-5CSX Altera Cyclone V Software Development: U-Boot with large uImage containing initramfs
Hi,
I am trying to boot from a uImage containing an initramfs with the mitySOM-5csx devkit. When I use the core-image-minimal-initramfs recipe, I boot up OK for the most part. The boot hangs saying "Waiting for removable media...". If...
Nicholas Crast

08/26/2014

AB 03:16 PM MitySOM-5CSX Altera Cyclone V Software Development: Memory Aligned Byte Array
Posted on behalf of a customer:
I have a byte array in my Linux application into which I want my DMA firmware to write. I need the byte array to be memory aligned
to a certain offset. From what the compiler is telling me, the most I...
Alexander Block
 

Also available in: Atom