Hello, Kiran! So you're saying that in: GPIO_IRQSTATUS(n) the value of "n" can be only 0 or 1?
↧
Forum Post: RE: GPIO_IRQSTATUS(n) clarification
↧
Forum Post: RE: am335x_evm and sdk ver 07.00 having problems
Hi Ivan Matrakov , Thank you so much for bearing me patiently. Yes. As you said, it seems uEnv.txt is not required. Seems it is directly taken care by bootargs present in am335x_evm.h file. Am i correct.? When I observed in the /rootfs/boot folder zImage is present where are as uboot is searching for uImage. Even Iam using pre-built Images why this zImage is copied into the folder? Please let me know what am I supposed to do now.? I have tried with, converting the zImage available in the boot folder to uImage with mkimage command and tried to boot the board. But it got stopped as usual at "starting Kernel.......". And one more thing is that so far I did not change any code in the sdk. I am simply using it to make sd card images. In that case how that other serial port got routed to terminal.? Please give me details for how the zImage is replaced with zImage.? and if the terminal board routed to other serial port how this can be changed to normal one?(I am using default configs from TI.) How your board is working with prebuilt images directly while mine is not.? Here is the log while executing the script. root@C528-OptiPlex-960:/home/intuser/ti-sdk-am335x-evm-07.00.00.00# ./bin/create-sdcard.sh ################################################################################ This script will create a bootable SD card from custom or pre-built binaries. The script must be run with root permissions and from the bin directory of the SDK Example: $ sudo ./create-sdcard.sh Formatting can be skipped if the SD card is already formatted and partitioned properly. ################################################################################ Availible Drives to write images to: # major minor size name 1: 8 16 1931264 sdb Enter Device Number or n to exit: 1 sdb was selected /dev/sdb is an sdx device Unmounting the sdb drives unmounted /dev/sdb1 Current size of sdb1 1930240 bytes SD Card is not correctly partitioned ################################################################################ Select 2 partitions if only need boot and rootfs (most users) Select 3 partitions if need SDK & CCS on SD card. This is usually used by device manufacturers with access to partition tarballs. ****WARNING**** continuing will erase all data on sdb ################################################################################ Number of partitions needed [2/3] : 2 Now partitioning sdb with 2 partitions... ################################################################################ Now making 2 partitions ################################################################################ 1024+0 records in 1024+0 records out 1048576 bytes (1.0 MB) copied, 0.235235 s, 4.5 MB/s Disk /dev/sdb doesn't contain a valid partition table DISK SIZE - 1977614336 bytes Checking that no-one is using this disk right now ... OK Disk /dev/sdb: 240 cylinders, 255 heads, 63 sectors/track sfdisk: ERROR: sector 0 does not have an msdos signature /dev/sdb: unrecognized partition table type Old situation: No partitions found New situation: Units = cylinders of 8225280 bytes, blocks of 1024 bytes, counting from 0 Device Boot Start End #cyls #blocks Id System /dev/sdb1 * 0+ 8 9- 72261 c W95 FAT32 (LBA) /dev/sdb2 10 239 230 1847475 83 Linux /dev/sdb3 0 - 0 0 0 Empty /dev/sdb4 0 - 0 0 0 Empty Successfully wrote the new partition table Re-reading the partition table ... If you created or changed a DOS partition, /dev/foo7, say, then use dd(1) to zero the first 512 bytes: dd if=/dev/zero of=/dev/foo7 bs=512 count=1 (See fdisk(8).) ################################################################################ Partitioning Boot ################################################################################ mkfs.vfat 3.0.12 (29 Oct 2011) ################################################################################ Partitioning rootfs ################################################################################ mke2fs 1.42 (29-Nov-2011) Filesystem label=rootfs OS type: Linux Block size=4096 (log=2) Fragment size=4096 (log=2) Stride=0 blocks, Stripe width=0 blocks 115680 inodes, 461868 blocks 23093 blocks (5.00%) reserved for the super user First data block=0 Maximum filesystem blocks=473956352 15 block groups 32768 blocks per group, 32768 fragments per group 7712 inodes per group Superblock backups stored on blocks: 32768, 98304, 163840, 229376, 294912 Allocating group tables: done Writing inode tables: done Creating journal (8192 blocks): done Writing superblocks and filesystem accounting information: done ################################################################################ Partitioning is now done Continue to install filesystem or select 'n' to safe exit **Warning** Continuing will erase files any files in the partitions ################################################################################ Would you like to continue? [y/n] : y Mount the partitions Emptying partitions Syncing.... ################################################################################ Choose file path to install from 1 ) Install pre-built images from SDK 2 ) Enter in custom boot and rootfs file paths ################################################################################ Choose now [1/2] : 1 Will now install from SDK pre-built images now installing: ti-sdk-am335x-evm-07.00.00.00 ################################################################################ Copying files now... will take minutes ################################################################################ Copying boot partition MLO copied u-boot.img copied Copying rootfs System partition Written 100% Syncing... Un-mount the partitions Remove created temp directories Operation Finished root@C528-OptiPlex-960:/home/intuser/ti-sdk-am335x-evm-07.00.00.00# Rgds, Vijaykumar P
↧
↧
Forum Post: RE: GPIO_IRQSTATUS(n) clarification
Hi Lubomir Bogdanov,Yes. The value of "n" can be only "0" or "1". n = 0 for interrupt Line 1n = 1 for interrupt Line 2Regards,M.Jyothi Kiran
↧
Forum Post: RE: Use Sys/Bios instead of DSP Bios. Platform c6657,
The old platform is the C416. Also the new DEV_Obj in DEV.h has less elements than the DEV_Obj in dev.h Moreover, the ti_ sysbios _io_DEV_DeviceParams in DEV.h has only one dummy field. Can we populate this struct with others fileds? Best regards George
↧
Forum Post: RE: NDK: High task stack usage with TCP loopback
Hello Moses, I didn't make any changes to the NDK. But my application is using the legacy configuration API instead of XCONF (enableCodeGeneration set to false). This is why you may see other task states in your program. In contrast to XCONF, "NDK Stack Thread" gets terminated after initialization. Therefore, "GBIT_NetTask" is created to run the network scheduler instead. The idle task is required because Task.deleteTerminatedTasks is set by the NDK. "MainTask" is used to run the test code. The only thing I could remove was "daemon", which was running the NDK http server. But it doesn't make any difference. My program will not work on a different type of hardware (e.g. different PLL settings). But I created a modified version of the MCSDK example in mcsdk_2_01_02_06\examples\ndk\helloWorld: (Please visit the site to view this file) The archive contains a stripped version of the executable which should run on the C6678 EVM. The program prints the stack usage before and after send() in the CCS console. Example: Stack usage before send(): 1776 Stack usage after send(): 23872 Thanks, Ralf
↧
↧
Forum Post: RE: HEVC encoder hangs randomly
Hi Andrey, Just insight, Usually hangs happens at mention function when all tasks of current frame are not completed, and lock acquiring was not possible. We are working with your test setup to reproduce the hang. Meantime can you send me "*pLCU_completed" array value at hang state, which gives task completion state for each LCU. Regards Kuladeepak
↧
Forum Post: How to use System_printf in tirtos_simplelink_2_11_00_03_eng
Hi, I want to use System_prinf in tirtos_simplelink_2_11_00_03_eng on M3 (MCU) But I try many way my search on TI E2E but still print nothing. Thank
↧
Forum Post: RE: am335x_evm and sdk ver 07.00 having problems
Hi Ivan Matrakov , In continuation to the above mail, in uboot include/configs/am335x_evm.h contains #define CONFIG_EXTRA_ENV_SETTINGS \ "loadaddr=0x80200000\0" \ "fdtaddr=0x80F80000\0" \ "fdt_high=0xa0000000\0" \ "boot_fdt=try\0" \ "rdaddr=0x81000000\0" \ "bootpart=0:2\0" \ "bootdir=/boot\0" \ "bootfile=zImage\0" \ "fdtfile=undefined\0" \ "console=ttyO0,115200n8\0" \ "partitions=" \ "uuid_disk=${uuid_gpt_disk};" \ "name=rootfs,start=2MiB,size=-,uuid=${uuid_gpt_rootfs}\0" \ "optargs=\0" \ "dfu_alt_info_mmc=" DFU_ALT_INFO_MMC "\0" \ "dfu_alt_info_emmc=rawemmc mmc 0 3751936\0" \ "mmcdev=0\0" \ "mmcroot=/dev/mmcblk0p2 ro\0" \ "mmcrootfstype=ext4 rootwait\0" \ "usbroot=/dev/sda2 rw\0" \ Please look at the text red in color(I did not make any changes.). I have tried to build the uboot with this config and boot with this. Still it is searching for uImage. Then I tried to build linux kernal with make tisdk_am335x-evm_defconfig make uImage Then I copied this image to rootfs/boot folder. Then the log I am seeing is given below. U-Boot 2013.01.01 (Jul 30 2014 - 11:44:36) I2C: ready DRAM: 512 MiB WARNING: Caches not enabled NAND: 256 MiB MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1 musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, bulk combine, bulk split, HB-ISO Rx, HB-ISO Tx, SoftConn) musb-hdrc: MHDRC RTL version 2.0 musb-hdrc: setup fifo_mode 4 musb-hdrc: 28/31 max ep, 16384/16384 memory USB Peripheral mode controller at 47401000 using PIO, IRQ 0 musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, bulk combine, bulk split, HB-ISO Rx, HB-ISO Tx, SoftConn) musb-hdrc: MHDRC RTL version 2.0 musb-hdrc: setup fifo_mode 4 musb-hdrc: 28/31 max ep, 16384/16384 memory USB Host mode controller at 47401800 using PIO, IRQ 0 Net: cpsw, usb_ether Hit any key to stop autoboot: 0 mmc0 is current device SD/MMC found on device 0 reading uEnv.txt ** Unable to read file uEnv.txt ** reading uImage ** Unable to read file uImage ** 4103112 bytes read in 470 ms (8.3 MiB/s) Booting from mmc ... ## Booting kernel from Legacy Image at 80007fc0 ... Image Name: Linux-3.12.10-ti2013.12.01 Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 4103048 Bytes = 3.9 MiB Load Address: 80008000 Entry Point: 80008000 Verifying Checksum ... OK XIP Kernel Image ... OK OK Starting kernel ... Thats it. Here it gets Halted it seems. Please help me. Thanks in anticipation. Rgds, Vijaykumar P
↧
Forum Post: RE: Porting new codec for am335x
Dear Yordan, Am awaiting for your replies, Could you please provide any inputs w.r.t my 2 queries posted above as early as possible Many Thanks in advance
↧
↧
Forum Post: RE: Is AM3352 NAND BCH-8 ELM PAGE MODE (wrap mode 4) compatible with ROM Code's spare area layout, specially 14th ECC Byte?
Dear Biser, this is not a Linux question (I am using Windows EC7), but a question regarding the GMPC-ECC-BCH and ELM interaction. If it was in my power, I would contact the ASIC designer of the ELM and ECC engines, or the person who wrote the AM3352 TRM datasheet Section 7.1.3.3.12.3.3. -- Did the ECC-BCH and ELM PAGE MODE designer take into account the needs of the ROM Boot Loader (so we can use ONE spare area scheme throughout the whole NAND) ? -- Regards, Anja
↧
Forum Post: RE: Beagleboard with USB OTG
Hi Ran, After compiling a modules you have to copy them to the file systems and next to insert. If they are available and you have again this problem could you try to compile these modules into the kernel to see if the problem is not in the same drivers. BR Ivan
↧
Forum Post: RE: Porting new codec for am335x
Hi Srini, Regarding the routing: "ADC", "VINL1", "ADC", "VINR1", "ADC", "VINL2", "ADC", "VINR2", "VOUTL", "DAC", "VOUTR", "DAC"; The above routing is correct, but I am not aware of your use case. As I understand, you are working on a custom AM335x board. Try adopting the audio routing of the board you've referenced while designing your custom board. For example if during hw design you referenced AM335x Starter Kit, use the routing presented in am335x-evmsk.dts. If you've referenced AM335x EVM try using the routing in am335x-evm.dts Regarding your questions about AUXCLK, see Figure 22-1. McASP Block Diagram in TRM. AUXCLK is the internal clock source that feeds MCASP AHCLKX/ACLKX/AFSX; all these clocks are derived from auxclk after being divided with the according clock divider. Dividers are NOT calculated in davinci-mcasp.c, but in the *_hw_params() functions in davinci-evm.c Best Regards, Yordan
↧
Forum Post: RE: am335x_evm and sdk ver 07.00 having problems
Hi Vijaykumar, This log is for SDK 6 NOT for SDK 7. The contents of sd-card for sdk6 is differen from this for sdk7. If you want to use sdk6 as I see you have to copy on a boot partition MLO, u-boot.img and uImage. On the partition rootfs you have to copy file systems. I type my log on the sdk6 to see that the system is booting without any problem. U-Boot 2013.01.01 (Jun 25 2013 - 16:42:52) I2C: ready DRAM: 512 MiB WARNING: Caches not enabled NAND: 256 MiB MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1 musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, bulk combine, bulk split, HB-ISO Rx, HB-ISO Tx, SoftConn) musb-hdrc: MHDRC RTL version 2.0 musb-hdrc: setup fifo_mode 4 musb-hdrc: 28/31 max ep, 16384/16384 memory USB Peripheral mode controller at 47401000 using PIO, IRQ 0 musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, bulk combine, bulk split, HB-ISO Rx, HB-ISO Tx, SoftConn) musb-hdrc: MHDRC RTL version 2.0 musb-hdrc: setup fifo_mode 4 musb-hdrc: 28/31 max ep, 16384/16384 memory USB Host mode controller at 47401800 using PIO, IRQ 0 Net: cpsw, usb_ether Hit any key to stop autoboot: 0 mmc0 is current device SD/MMC found on device 0 reading uEnv.txt ** Unable to read file uEnv.txt ** reading uImage 3194336 bytes read in 356 ms (8.6 MiB/s) Booting from mmc ... ## Booting kernel from Legacy Image at 80007fc0 ... Image Name: Linux-3.2.0 Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 3194272 Bytes = 3 MiB Load Address: 80008000 Entry Point: 80008000 Verifying Checksum ... OK XIP Kernel Image ... OK OK Starting kernel ... Uncompressing Linux... done, booting the kernel. ... ... BR Ivan
↧
↧
Forum Post: TI-RTOS
Are there royalty fees (that the development company is charged for ) for the run time use of TI-RTOS on delivered products/hardware after development.
↧
Forum Post: RE: am335x_evm and sdk ver 07.00 having problems
Hi Ivan, ti-sdk-am335x-evm-07.00.00.00-Linux-x86-Install.bin this is the image I ve downloaded for TI website 4days back. ti-sdk-am335x-evm-07.00.00.00 This is the folder I ve got on my PC in {HOME} path once installed the above bin file. The logs which I ve shared with you are when I boot the board with this sdk only. My boot partition contains only MLO,u-boot.img. rootfs/boot folder contains zImage. I tried to copy uImage into this folder. Not to boot PARTITION. This is case where I got the log which I shared to you. If I just booted with the sd card without copying this then it is showing ** Could not find uImage ** ** Unable to read the file uImage ** Uboot # Few days back I worked on sdk 6 also. Still it was same problem. It copies only MLO and u-boot.img files to boot PARTITION. Are you working on pre built images? Are you using AM335x_evm board only? Is it working for you without a single change in your code or configuration? Please let me know if you made any changes to ur code or configuration. And ofcourse there are changes in sdk6 to sdk7(one of them is adding dtb files). But ultimately the both of the sdks should work as per their type of configuration. Isn't it.? Please look into this. Rgds, Vijaykumar P
↧
Forum Post: RE: TI-RTOS
James, There are no royalty fees for TI-RTOS. Only license restriction is that it must be used on a Texas Instruments processor. Regards, David
↧
Forum Post: RE: USB CPPI4.1 DMA Not Working for Endpoints Morethan 4 in Starterware USB MSC Device
Hello All, If anyone already faced this kind of problem , please provide some support to address the problem. Is this E2E forum is alive? Please TI Engineers provide information regarding questions on E2E? Regards Rama Krishna
↧
↧
Forum Post: RE: C6747 NDK Ethernet Transfer Large File
I found my issue, it appears there was a recv call being made in the transfer loop. Removing the call has fixed everything, thank you for your support.
↧
Forum Post: RE: NDK task priorities vs. application task priorities
Hi John, There is a known bug in NDK due to which the updated configuration values are not visible in NC_SystemOpen() function as it is called very early. Since NC_SystemOpen() is responsible for setting up the scheduler priority, it ends up using the old value. For NC_PRIORITY_HIGH the old value would be (OS_TASKPRIKERN - 1) or (9 -1 = 8). We already have a bug filed for this issue: SDOCM00086985 NDK configuration values do not apply in NC_SystemOpen You could work around this issue by updating ti/ndk/netctrl/netctrl.c file as follows and rebuilding NDK library: int NC_SystemOpen( int Priority, int OpMode ) { HANDLE hSem = 0; /* Open the low-level enironment */ /* Set the network scheduler priority */ // !!! REMOVE CHECK !!! //if( Priority != NC_PRIORITY_LOW && Priority != NC_PRIORITY_HIGH ) // return(NC_OPEN_ILLEGAL_PRIORITY); // !!! REMOVE ASSIGNMENT !!! //SchedulerPriority = Priority; /* Check the operating mode */ if( OpMode != NC_OPMODE_POLLING && OpMode != NC_OPMODE_INTERRUPT ) return(NC_OPEN_ILLEGAL_OPMODE); /* Polling at high priority is illegal */ // !!! REMOVE CHECK !!! //if( Priority==NC_PRIORITY_HIGH && OpMode==NC_OPMODE_POLLING ) // return(NC_OPEN_ILLEGAL_OPMODE); /* Intialize the task environment */ _TaskInit(); and /* ARGSUSED */ static void NetScheduler( uint const SerialCnt, uint const EtherCnt ) { register int fEvents; /* Set the scheduler priority */ // !!! UPDATE SCHEDULER PRIORITY !!! // TaskSetPri( TaskSelf(), SchedulerPriority ); TaskSetPri( TaskSelf(), 14 ); // Replace SchedulerPriority with desired pri /* Enter scheduling loop */ while( !NetHaltFlag ) { I also wanted to check with you that are you using XGCONF or C code to configure NDK ? I have a doubt because I saw an earlier post of yours where you shared C code for a stackThread() that calls NC_SystemOpen() and create a new cfg. If you are using C code then I believe you need to add a CfgEntry to update the different default NDK priorities. Best, Ashish
↧
Forum Post: RE: Steps to add the NDK to an existing SYSBIOS project running on custom hardware
Dean, Yes, it should be fine to place the driver sources into your project if that is easier for you. There is a driver guide that ships with the NDK that should be helpful to you for this, please have a look if you haven't seen this yet: ndk_2_24_01_18\docs\sprufp2_nspethdrvdesign.pdf Have a great weekend. Steve
↧