Quantcast
Channel: Processors forum - Recent Threads
Viewing all 17527 articles
Browse latest View live

J6EVM5777: how to optimiza boot time on J6 android O?

$
0
0

Part Number:J6EVM5777

Hi TI,

        i use 6AO1.1 code source, and i want to optimize boot time, but i cant find Android o related documents. i find android m related documents.http://www.ti.com.cn/cn/lit/an/sprac30a/sprac30a.pdf.

       Do you have any android o optimize boot time documentation?Whether the optimization process of android M/O is the same?


RTOS/TDA2: How to driver UART2 to communication with PC?

$
0
0

Part Number:TDA2

Tool/software: TI-RTOS

Hi Sir,

As title. I don't know how to driver UART2 on TDA2 EVM.

Could you please give me some advise?

Many thanks.

Linux/TMDXEVM3358: Kernel log issue

$
0
0

Part Number:TMDXEVM3358

Tool/software: Linux

On my AM335x Evaluation Module (GP EVM) rev 2.1, with SDK (ti-processor-sdk-linux-am335x-evm-04.02.00.09) , I am able to boot Linux and run applications. But with default prebuilt images, Kernel boot messages are coming on LCD instead of serial console. How to route those messages to serial console. Please note my SPL and Uboot messages are coming on serial console but not kernel boot messages. Please guide me.

AM5728: U-boot customization

$
0
0

Part Number:AM5728

i would like to know about the functioning of ROM boot and how it does. Also, i am willing to know what are components that are initialized during u boot is used along with the start and end address of components in U-boot. My main purpose is to make custom U-boot for my new hardware board. i am looking for a way to reduce the size of u-boot, is there any procedure to built and compile to reduce the size of u boot.

thanking you,

Linux/TMDXEVM3358: SPI flash drivers

$
0
0

Part Number:TMDXEVM3358

Tool/software: Linux

Hi,

    We are able to boot Linux from NAND flash ( using ti-processor-sdk-linux-am335x-evm-04.02.00.09 SDK) on AM335x Evaluation Module (GP EVM) rev 2.1. Now I want to communicate to SPI flash present on GP EVM from my C application in user space. Please guide me for the same. Where to find SPI flash drivers? What header files to include?

Thanks in advance.

Linux/AM3352: DDR3 software leveling issue

$
0
0

Part Number:AM3352

Tool/software: Linux

DDR3 Part: H5TQ4G63EFR-RDC (256M x 16)

Trace Lengths (inches):

DDR_CK trace - Byte 0 : 0.635335  Byte 1 : 0.635335

DDR_DQSx trace - Byte 0 : 1.100645  Byte 1 : 1.09342

 Received Seed values from RatioSeed excel sheet:

RD_DQS : 40

FIFO_WE : F4

WR_DQS : 77

With above mentioned seed values, DDR3 software leveling is not working, we are getting all the optimum values as 0x0.

But if we use below mentioned different seed values then we are getting the optimum values.

Seed values: RD_DQS - 0x20, FIFO_WE - 0xE0, WR_DQS - 0xAF

Can anyone please help why the seed values calculated from RatioSeed excel sheet are not working?

Linux: AM335x eMMC boot

$
0
0

Tool/software: Linux

Hi,


I am new to this development. I want to boot my custom board from eMMC only. Not from SD Card.

I am using ti-processor-sdk-linux-am335x-evm-05.00.00.15.


Anybody tell me how to make my board to boot up from eMMC.

thanking you.

AM5748: SMP debug issue

$
0
0

Part Number:AM5748

Hello, TI Experts,

 

Our customer sent us a question about ARM SMP debug with PROCESSOR-SDK-RTOS-AM57X 05_00_00_15 on TMDSIDK574.

 (We use CCS Version: 8.1.0.00011 )

We success to SMP debug with the "POSIX-SMP Demo" on TMDXIDK5728 based on the below wiki.

http://software-dl.ti.com/processor-sdk-rtos/esd/docs/05_00_00_15/rtos/Examples_and_Demonstrations.html#id5

We also found the proper cross-trigger halt behavior on A15_1 based on the below wiki.  

http://processors.wiki.ti.com/index.php/SMP_Debug

 

But we cannot found the cross-trigger halt behavior on TMDSIDK574

(Please see attached pdf)

 

Question:

Do you have same experience on TMDSIDK574 with the "POSIX-SMP Demo"?

 

Our customer start to evaluation with TMDSIDK574 for their next product.

We would appreciate if you tell us how to solve this problem.

 

Best regards,

(Please visit the site to view this file)


Linux/TDA2: TDA2x Pin Muxing for Linux

$
0
0

Part Number:TDA2

Tool/software: Linux

Hello every one,

I am trying to connect a custom camera board to TDA2x board. How can I change the pin muxing for linux ? 

I want to connect the cameras in vin1a,vin2a,vin6a and vin1b port. How can i do the pinmuxing for the same ?

Regards,

Renjith

Linux/TDA2EVM5777: Glitches heard when wav files are played out

$
0
0

Part Number:TDA2EVM5777

Tool/software: Linux

Hi,

I have Vision SDK version 03_03 (Linux on A15) running on TDA2x EVM (Rev H).
Vision SDK Image was built keeping MAKECONFIG as 'tda2xx_evm_linux_all' in Linux+BIOS mode

My usecase has a requirement to give audio alerts(.wav files of duration < 2s) , hence I have enabled audio on TDA2x EVM.
Please refer https://e2e.ti.com/support/processors/f/791/t/688263 for details

I hear glitches before and after the audio alerts are being played out(very frequently).
I have verified that the wav files don't contain any glitch.

To debug the issue I tried playing out a silent wav file, and still the glitch was heard.
(Silent wav generated by 'sox -n -r 44100 -c 2 silence.wav trim 0.0 3.0')

Is this a driver related issue ? Any fix is available for this ?

Regards,
Uday M S

RTOS/PROCESSOR-SDK-AM437X: GPMC access

$
0
0

Part Number:PROCESSOR-SDK-AM437X

Tool/software: TI-RTOS

I want to access the first address 0x1000000(physical address) on a SRAM chip(8bits/512KByte), CPU is the AM4376, and no OS(pdk_am437x_1_0_10).

If I disable all the MMU and cache, It can work(I can get the active chip select signal from the oscilloscope). but because of other requirements, I have to enable the MMU and cache, the code is:

    MMUConfigAndEnable();
    CACHEEnable(CACHE_IDCACHE, CACHE_INNER_OUTER);

this functions is in the file:C:\ti\pdk_am437x_1_0_10\packages\ti\starterware\examples\example_utils\example_utils_mmu.c

but the program was throwed into AbortHandler interrupt.

How to change code to access to the first address 0x1000000(physical address)?

also, I notice that in  function MMUConfigAndEnable(), there are this structure:

mmuMemRegionConfig_t regionOcmc =
            {  
                0,
                NUM_SECTIONS_OCMC, /* Number of pages */
                1U*MEM_SIZE_MB, /* Page size - Min 1MB */
                MMU_MEM_ATTR_NORMAL_NON_SHAREABLE,
                MMU_CACHE_POLICY_WT_NOWA, /* Inner */
                MMU_CACHE_POLICY_WB_WA, /* Outer */
                MMU_ACCESS_CTRL_PRV_RW_USR_RW,
                FALSE /* Non Secure memory */
            };

Please explain its function. 

AM5728: Maximum frequency of GPMC_CLK

$
0
0

Part Number:AM5728

Hi,

I have a question about AM572x GPMC_CLK.

Our customer are replacing from AM437x to AM572x.
They are going to use GPMC as NOR Flash Interface Synchronous mode.
From AM572x datasheet(sprs953d) page.246 Table 7-26, it seems that gpmc_clk maximum frequency is 88.6[MHz].

The maximum frequency of AM437x is 100[MHz], but AM572x GPMC_CLK is 88.6[MHz].
They want to know the reason why the GPMC_CLK maximum frequency of AM572x have decreased from AM437x GPMC_CLK.

And also have following question:
Have functions and mechanisms added such that performance is not a problem even if the frequency is decreased?

best regards,
g.f.

TDA2: New model runs well in tidl_model_import.out.exe but abnormally in CCS and EVM

$
0
0

Part Number:TDA2

Hi,

I train a new model, and runs well in in tidl_model_import.out.exe, and the result is shown in attachment.

Then I run the model in EVM TIDL_OD usecase, it comes out the unexpected result.(show in attachment).

At last, I run the model in CCS, and also got unexpected result. I check the trace_dump files between CCS and tidl_model_import.out.exe, and all layers are unmatched except input data layer.

So could you please help to check my issue. and if prototxt and caffemodel is needed, please provide email.

(Please visit the site to view this file)

Thanks

Jerry

66AK2G12: Triggering EDMA from external device

$
0
0

Part Number:66AK2G12

Hello

 

I’m looking for the ability to make GPMC-read commands using EDMA or similar to not load the ARM/DSP.

At the moment my device is set to “External 16-bit pseudo-SRAM (pSRAM) device” multiplexed address/data for an FPGA.

 

Can I control EDMA externally by an FPGA?

 

I have read about GPMC_DMA_REQ and other GPMC and DMA related in TRM but not sure.

Do I need to use this register: GPMC_PREFETCH_CONFIG1 and how?

 

Kind regards

Fredrik

Linux/BEAGLEBOARD-X15: Peripheral configuration

$
0
0

Part Number:BEAGLEBOARD-X15

Tool/software: Linux

Hi,

When I used beaglebone Black from image Debian 9.5 2018-08-30 4GB SD IoT (https://debian.beagleboard.org/images/bone-debian-9.5-iot-armhf-2018-08-30-4gb.img.xz)

and I want to enable I2C, CAN bus and UART

I can set from /boot/uEnv.txt inline

cape_enable=bone_capemgr.enable_partno=BB-CAN1, BB-I2C2, BB-UART2, BB-UART3, BB-UART4

and When I want to show it with command: cat /sys/devices/platform/bone_capemgr/slots

it can show cape_slots no problem.

But when bought BEAGLEBOARD-X15 and Install image bbx15-debian-9.5-iot-armhf-2018-09-23-4gb.img.xz (https://rcn-ee.com/rootfs/bb.org/testing/2018-09-23/stretch-iot/bbx15-debian-9.5-iot-armhf-2018-09-23-4gb.img.xz )

it can run on debian no problem but I found when i want to enable interface it cannot open.

and don't have bone_capemgr/slots in /sys/devices/platform

My goal is want to use CAN bus, UART, I2C from expansion pinout under board follow in BEAGLEBOARD_X15_REV_B1 schematic

system:

uboot 2017.01

kernel linux 4.14.71-ti-rt-r69

root file debian 9.5


RTOS/AM3352: McASP connection

$
0
0

Part Number:AM3352

Tool/software: TI-RTOS

Hi team,

My customer reports a random issue to causing no output in I2S during using our AM3352 with voice record and SD R/W.

please see below schematic, they have a series 100ohm and 100pf cap in the MCASP0_AHCLK line, and we check this clock signal integrity is good. Now we suggest to remove these components, this random issue seems no happen again yet. we still cannot understand, this RC should only related to signal integrity, do you think there is any potential link to this?

Linux/AM4378: How to config pins if boot system use emmc connected MMC1

$
0
0

Part Number:AM4378

Tool/software: Linux

Hi

   I use AM4378 and I want to boot the system with eMMC memory connected on MMC1.

On the AM437Xx TRM ,Table 5-33, 6 pins are used which are clk,cmd,dat0-dat3.

Does it support 8bit bus eMMC for boot device which have clk,cmd,dat0-dat7?

May I connect  Pins used for MMC1  like Table 5-33 on AM437xTRM if I want to use the emmc booting system?

for example

signal      Pin Used      BALL NUMBER

clk         gpmc_csn1       B9
cmd      gpmc_csn2       F10
dat0      gpmc_ad8         B10
dat1      gpmc_ad9         A10
dat2      gpmc_ad10       F11
dat3      gpmc_ad11       D11
dat4      gpmc_ad12      E11
dat5      gpmc_ad13      C11
dat6      gpmc_ad14      B11
dat7      gpmc_ad15      A11

?

Best wishes!

Jianhua Yuan

Linux/AM3352: Opkg fails to edit target root FS

$
0
0

Part Number:AM3352

Tool/software: Linux

Hello,

In all Sitara Linux SDKs so far there is opkg package manager in linux-devkit/sysroots/x86_64-arago-linux/usr/bin.

We use it to edit the filesystem image before deploying to target, mainly to remove unneeded packages.

However, in SDK 5.00 (latest at this time) this opkg executable does not work.

Steps to reproduce on Ubuntu host with installed SDK 5.00.

1. create directory rootfs in home, and cd rootfs

2. sudo tar xvf ~/SDK/filesystem/tisdk-rootfs-image-am335x-evm.tar.xz from SDK/filesystems, and cd ..

3. sudo ~/SDK/linux-devkit/sysroots/x86_64-arago-linux/usr/bin/opkg -o rootfs list

There will be no output.

strace-ing opkg execution shows this (after initial libraries loading etc).

open("/home/USER/rootfs//tmp/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy/sysroots/x86_64-arago-linux/etc/opkg", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
lstat("/home/USER/rootfs//run", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
creat("/home/USER/rootfs//run/opkg.lock", 0640) = 3
fcntl(3, F_SETLK, {type=F_WRLCK, whence=SEEK_CUR, start=0, len=0}) = 0
getpid()                                = 5964
mkdir("/tmp/opkg-RRhoh0", 0700)         = 0
stat("/home/USER/rootfs//tmp/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy/sysroots/x86_64-arago-linux/var/cache/opkg", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
stat("/home/USER/rootfs/", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
stat("/home/USER/rootfs///tmp/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy/sysroots/x86_64-arago-linux/var/lib/opkg/info", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
stat("/home/USER/rootfs///tmp/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy/sysroots/x86_64-arago-linux/var/lib/opkg", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat("/home/USER/rootfs///tmp/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy/sysroots/x86_64-arago-linux/var/lib/opkg/status", 0x7fffb19eedb0) = -1 ENOENT (No such file or directory)
open("/tmp/opkg-RRhoh0", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 4
fstat(4, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0
fchdir(4)                               = 0
getdents(4, /* 2 entries */, 32768)     = 48
getdents(4, /* 0 entries */, 32768)     = 0
chdir("..")                             = 0
rmdir("/tmp/opkg-RRhoh0")               = 0
close(4)                                = 0
fcntl(3, F_SETLK, {type=F_UNLCK, whence=SEEK_CUR, start=0, len=0}) = 0
close(3)                                = 0
lstat("/home/USER/rootfs//run/opkg.lock", {st_mode=S_IFREG|0640, st_size=0, ...}) = 0
unlink("/home/USER/rootfs//run/opkg.lock") = 0
exit_group(0)                           = ?
+++ exited with 0 +++

opkg commands to remove some package will fail similarly, with a message "No packages installed or removed.".

This procedure has always worked till and including SDK 4.03. strace-ing older opkg does not show these strange

long names xxxxx/yyyyy that are indeed found in the SDK 5.00 libopkg.so.1.

So the question is: is the host opkg in SDK 5.00 usable to edit the targetg filesystem image,

and if so, what are the options, environment variables, etc. to achieve this.

Thanks

Linux/PROCESSOR-SDK-AM335X: eMMC formatting fails

$
0
0

Part Number:PROCESSOR-SDK-AM335X

Tool/software: Linux

Hi Ti Team,

I use the SDK pre-image put in SD card and  boot on into share the environment  

Now I want to boot my system from eMMC.  I made two partitions (mmcblk1p1 and mmcblk1p2). as per below guidelines:

  1. The eMMC is /dev/mmcblk1. Format it this way:
    1.01. fdisk /dev/mmcblk1
    1.02. o - this clears the existing partitions
    1.03. p - this lists all partition tables on the card (there should be none)
    1.04. n - create a new partition
    1.05. p - primary partition
    1.06. 1 - partition number
    1.07. 2048 - default value for the first sector
    1.08. +16M - last sector / partition size
    1.09. t - change the partition type (select partition 1)
    1.10. e - change tha partition type to "W95 FAT16 (LBA)"
    1.11. a - set the bootable flag for the selected partition (select partition 1)
    1.12. n - create a new partition
    1.13. p - primary partition
    1.14. 2 - partition number
    1.15. hit Enter to choose the default (next available) value for the first sector
    1.16. hit Enter to choose the default (last) value for the last sector
    1.17. p - this lists all partition tables on the card (there should be two)
    1.18. w - write all the above changes to disk
    1.19. umount /dev/mmcblk1p1 - if mounted
    1.20. mkfs.vfat -F 16 /dev/mmcblk1p1 - format the first partition
    1.21. umount /dev/mmcblk1p2 - if mounted
    1.22. mkfs.ext4 /dev/mmcblk1p2 - format the second partition 

But I executed the error to step 1.18. and step 1.19 

The following is the record of my implementation process :

===============================================================================================

_____ _____ _ _
| _ |___ ___ ___ ___ | _ |___ ___ |_|___ ___| |_
| | _| .'| . | . | | __| _| . | | | -_| _| _|
|__|__|_| |__,|_ |___| |__| |_| |___|_| |___|___|_|
|___| |___|

Arago Project http://arago-project.org am335x-evm ttyS0

Arago 2017.12 am335x-evm ttyS0

am335x-evm login: root

root@am335x-evm:~# fdisk /dev/mmcblk1

Welcome to fdisk (util-linux 2.28.1).
Changes will remain in memory only, until you decide to write them.
Be careful before using the write command.


Command (m for help): o
Created a new DOS disklabel with disk identifier 0x9a61e951.

Command (m for help): p
Disk /dev/mmcblk1: 14.7 GiB, 15762194432 bytes, 30785536 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x9a61e951

Command (m for help): n
Partition type
p primary (0 primary, 0 extended, 4 free)
e extended (container for logical partitions)
Select (default p): 1
Value out of range.
p primary (0 primary, 0 extended, 4 free)
e extended (container for logical partitions)
Select (default p): p
Partition number (1-4, default 1): 1
First sector (2048-30785535, default 2048): 2048
Last sector, +sectors or +size{K,M,G,T,P} (2048-30785535, default 30785535): +16M

Created a new partition 1 of type 'Linux' and of size 16 MiB.

Command (m for help): t
Selected partition 1
Partition type (type L to list all types): e
Changed type of partition 'Linux' to 'W95 FAT16 (LBA)'.

Command (m for help): a
Selected partition 1
The bootable flag on partition 1 is enabled now.

Command (m for help): n
Partition type
p primary (1 primary, 0 extended, 3 free)
e extended (container for logical partitions)
Select (default p): p
Partition number (2-4, default 2): 2
First sector (34816-30785535, default 34816):
Last sector, +sectors or +size{K,M,G,T,P} (34816-30785535, default 30785535):

Created a new partition 2 of type 'Linux' and of size 14.7 GiB.

Command (m for help): p
Disk /dev/mmcblk1: 14.7 GiB, 15762194432 bytes, 30785536 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x9a61e951

Device Boot Start End Sectors Size Id Type
/dev/mmcblk1p1 * 2048 34815 32768 16M e W95 FAT16 (LBA)
/dev/mmcblk1p2 34816 30785535 30750720 14.7G 83 Linux

Command (m for help): w
The partition table has been altered.
Calling ioctl() to re-read partition table.
Re-reading the partition table failed.: Device or resource busy


root@am335x-evm:~# umount /dev/mmcblk1
mmcblk1 mmcblk1boot0 mmcblk1boot1 mmcblk1rpmb
root@am335x-evm:~# umount /dev/mmcblk1p1 -if mounted
umount: /dev/mmcblk1p1: mountpoint not found
umount: mounted: mountpoint not found

How do I solve this problem?

Regards,

Egbert Liu

Building Smaller Image of SDK

$
0
0

Hi Bill

After discussion, we give up eMMC booting on AM437x GP EVM. Your sugestion is good but I think it's too complicated to me at now, and the deadline will coming soon. I will make a research in future.

Now I am trying to build a smaller image using the snapshot of the source packages in Processor SDK release (ti-processor-sdk-linux-am437x-evm-05.00.00.15 ) but I can not download git2_git.linaro.org.toolchain.gcc.git.tar.gz by “am437x-evm-linux-sdk-arago-src-05.00.00.15/get_build_sources.sh am437x-evm-linux-sdk-arago-src-05.00.00.15/source_pkg_list.txt” command or web browser from software-dl.ti.com/.../

However, I have tried to build arago-base-tisdk-image without git2_git.linaro.org.toolchain.gcc.git.tar.gz to see what happens. I also attack a build log file until 37% for you to consider.(Please visit the site to view this file)

Hope receiving feedback from you.

Thank you.

Viewing all 17527 articles
Browse latest View live