Project

General

Profile

Activity

From 08/04/2014 to 09/02/2014

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

08/19/2014

HK 11:31 AM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: How to probe the fpga_ctrl & fpga_gpio.ko module

yes,
echo "146" > /sys/class/gpio/export --> sh: write error: Invalid argument
it may be that fpga_gpio module is not runing
Thank you.
HYUNG KI KIM
JC 08:50 AM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: How to probe the fpga_ctrl & fpga_gpio.ko module
Did you mean Jonathan Cormier
HK 08:26 AM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: How to probe the fpga_ctrl & fpga_gpio.ko module
HYUNG KI KIM wrote:
> I'm tryint to control FPGA of GPIO on the linux driver side with MityL138-DSP(L138-FI-236-RL) mdule.
> ...
HYUNG KI KIM
HK 08:24 AM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: How to probe the fpga_ctrl & fpga_gpio.ko module
HYUNG KI KIM wrote:
> I'm tryint to control FPGA of GPIO on the linux driver side with MityL138-DSP(L138-FI-236-RL) mdule.
> ...
HYUNG KI KIM
HK 08:23 AM MityDSP-L138 (ARM9 Based Platforms) Software Development: How to probe the fpga_ctrl & fpga_gpio.ko module
I'm tryint to control FPGA of GPIO on the linux driver side with MityL138-DSP(L138-FI-236-RL) mdule.
and, loading the myFPGA.bin , fgpa_ctrlko, fpga_gpio.ko module is successfule.
also, test tool of fpgautil is work well.
modprob...
HYUNG KI KIM

08/18/2014

AD 04:31 PM MityDSP-L138 (ARM9 Based Platforms) PCB Development: RE: Protecting MityDSP module during development
Hi Udi,
Yes the FPGA I/Os can be damaged by sinking too much current - powered or off. The I/Os have protection diodes to the VCCO and GND rails that can withstand a max of 10mA per pin. Adding series resistors to the I/O pins that ...
Adam Dziedzic
UF 03:39 PM MityDSP-L138 (ARM9 Based Platforms) PCB Development: Protecting MityDSP module during development
We just fried a MityDSP L138F module, and I'm not sure why. I'm suspecting that the problem was that we had an ADC module connected to it (via FPGA) while the L138F module was off. I'm measuring 1.8V on some of the ADC output pins. Cans ... Udi Fuchs

08/15/2014

AB 01:44 PM MitySOM-5CSX Altera Cyclone V Software Development: RE: How to add aditional HPS GPIO's
In the case described of wanting to add GPIO's to drive/control an LED (output from the HPS) you do not need to alter the DTS file. The DTS additions were for Switch based GPIO's which are a special case in which their is a Linux driver ... Alexander Block

08/14/2014

AB 10:51 AM MitySOM-5CSX Altera Cyclone V Software Development: How to add aditional HPS GPIO's
Posting on behalf of a customer:
On the MitySom .dts file, you specify some GPIOS like this:
Alexander Block
AB 10:49 AM MitySOM-5CSX Altera Cyclone V Software Development: RE: PCI-e Device Driver - munmap related error
Reporting that the customer solved their problem:
I've solved the problem.
Thread A which was signaling Thread B to terminate was doing a pthread_join after doing so.
I commented out the pthread_join and it worked perfectly fine...
Alexander Block

08/13/2014

PB 04:21 PM MitySOM-5CSX Altera Cyclone V Software Development: RE: Standard USB peripheral connection on MitySOM eval Board
Hi Mike,
Happy to hear that a procedure is needed because I tried many things to make it work (I noticed that in the 09/13 delivered image, my USB key was powered on, but not accessible).
I'll wait for your instructions.
Kind rega...
Pierre-Yves BRETECHER

08/11/2014

JC 09:21 AM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: DSP HelloWorld Compile with gcc 4.3.3
tftp stalls when I set the block size larger than the standard MTU size (1500 - overhead = 1468). According to the source the block size is already set to this max value. To accept fragmented packets the source says to enable CONFIG_IP_... Jonathan Cormier
JC 09:06 AM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: DSP HelloWorld Compile with gcc 4.3.3
Glad that you got it working. I've never used the block size feature. I'll check out what affect it has on my tftp downloads. Jonathan Cormier
MW 07:23 AM MitySOM-5CSX Altera Cyclone V Software Development: RE: Miscellaneous questions
Note:
you need to add "meta-openembedded/meta-oe" as the layer, not just "meta-openembedded".
-Mike
Michael Williamson
MW 07:21 AM MitySOM-5CSX Altera Cyclone V Software Development: RE: Miscellaneous questions
Hi,
Sorry. The i2c-tools recipe is part of the meta-openembedded layer that you don't get by default from the basic yocto process.
You need to download that layer (git clone) and add it to your build/conf/bblayers.conf file.
Michael Williamson
PB 07:14 AM MitySOM-5CSX Altera Cyclone V Software Development: RE: Miscellaneous questions
Hi Mike,
adding "i2c-tools" to IMAGE_INSTALL_append gives me this error while executing "bitbake core-image-basic" :
ERROR: Nothing RPROVIDES 'i2c-tools' (but /home/user/yocto/poky/meta/recipes-extended/images/core-image-basic.bb RDE...
Pierre-Yves BRETECHER

08/08/2014

DB 03:20 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: DSP HelloWorld Compile with gcc 4.3.3
Successful tftp transfer of mityomap-full.jffs2 from VM to L138 ARM core! Tried setting the blocksize to 4096 in u-boot (U-Boot > setenv tftpblocksize 4096) and entire file transferred, no hangs or system crashes.
After reboot, serial...
Doug Browning
JC 12:58 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: DSP HelloWorld Compile with gcc 4.3.3
Occasionally I see timeouts during the transfer but I haven't seen windows or the vm crash during a tftp transfer.
One thing to try would be to setup a link directly between your computer and the device. No need for a cross over cabl...
Jonathan Cormier
DB 10:52 AM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: DSP HelloWorld Compile with gcc 4.3.3
Thank you for the filesystem update procedures. I was able to successfully complete steps 1-5 (writing UBL_SPI_MEM.ais, u-boot-ubl.bin, and uImage to flash NOR).
However, in step 6, after many (>10) attempts to tftp the filesystem (m...
Doug Browning

08/07/2014

JC 08:54 AM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: DSP HelloWorld Compile with gcc 4.3.3
I created a how to for updating an L138 devkit. Let me know if theres any confusing parts.
[[Updating devkit to latest MDK]]
Jonathan Cormier

08/06/2014

DB 02:37 PM MityDSP-L138 (ARM9 Based Platforms) Software Development: DSP HelloWorld Compile with gcc 4.3.3
I've recently completed the ARM HelloWorld example via the Starter Guide Wiki page and need help with the DSP HelloWorld example. My set up is as follows:
- MityDSPL138 Industrial I/O board w/ Angstrom GNU/Linux 20107-test-20110516 (...
Doug Browning

08/05/2014

JC 09:30 AM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: How to enable PRU Subsystem on MityDSP-L138F SOM ???
Patches have been merged into linux-mityarm-v3.2 branch. Jonathan Cormier
JC 09:16 AM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: I2C 0x8 Address
Cleaned up and merged changes into mitydsp-linux-v3.2 branch.
http://support.criticallink.com/gitweb/?p=linux-davinci.git;a=commit;h=57c3f55e1dab523b1d26405b11579a6c91a60cc9
Jonathan Cormier

08/04/2014

MW 10:06 AM MitySOM-5CSX Altera Cyclone V Software Development: RE: Standard USB peripheral connection on MitySOM eval Board
Hello Mr. Bretecher,
We will try to get a procedure posted for this. Sorry for the delay.
-Mike
Michael Williamson
MW 10:05 AM MitySOM-5CSX Altera Cyclone V Software Development: RE: Miscellaneous questions
Memtool and the i2c-utils aren't added to our reference filesystem image, but you could add it by modifying the IMAGE_INSTALL_append variable in your local.conf file to include "i2c-tools" as well as "memtool".
We will push an update ...
Michael Williamson
MW 09:51 AM MitySOM-5CSX Altera Cyclone V Software Development: RE: Performance problem with baremetal code
Hello Mr. Kempter,
We don't normally run / support bare-metal applications here (we find most folks get into more trouble using bare-metal with this class of processor).
It looks like the linux application is running at the correct...
Michael Williamson
MA 07:53 AM MityDSP-L138 (ARM9 Based Platforms) Software Development: RE: I2C 0x8 Address
Yes, works fine now. Thanks Jonathan.
Mostafa Afgani
 

Also available in: Atom