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

Linux/AM5728: Where should i do pin configuration, u-boot or dts?

$
0
0

Part Number: AM5728

Tool/software: Linux

Hi

I have a custom board :

video in : component => ADV7403 => AM5728

video out : AM5728 => ADV7343 => THS7303 => component

my question : where should i do pin configuration? The EVM reva3 work with OV10635 and there is no pin configuration in am57xx-evm-reva3-cam-ov10635.dts, so how it works?


I want to config vin3a ( from VIP2) as a 16 bit parallel input port and VOUT! (DPI1) as a 16 bit parallel video port. I don't know what should i do!


AM3358: DDR3 (8-bit) support

$
0
0

Part Number: AM3358

Hi, 

My customer is going to use AM3358.

Please help to check if AM3358 is able to support ONE 8-bit DDR3 memories.

Thanks.

Linux/AM1808: am1808‘s upp driver problems

$
0
0

Part Number: AM1808

Tool/software: Linux

hi,

    i want to add uPP driver for am1080, because you have not provide the linux driver?

    i add the uPP driver refer to  https://e2echina.ti.com/question_answer/dsp_arm/omap_l1x/f/54/p/172062/512475?keyMatch=upp&tisearch=Search-CN-Everything

    then , i test the driver, I find i can't read the upp register effective, the value of all upp registers is always 0;

    then, i use the busybox's  devmem tools to read the register 0x01E16000 (uPP base address + 0, is the UPPID), the value is 0 as before:

    admin@localhost:/# busybox devmem 0x01E16000 32
    0x00000000

   I can read vpif registers effective:

    admin@localhost:/# busybox devmem 0x01E17000 32
    0x4C080A01

    i don't know why is that??? could you help me 。。。

thanks!

Linux/TDA2SX: tlv320aic3x-codec 2-001a: ASoC: Failed to set DAI format: -22

$
0
0

Part Number: TDA2SX

Tool/software: Linux

Hello all,

 We are working on a custom board based on tda2sx.We are trying to interface tlv320aic34 through mscap4 and mcasp7.The codec is being deteced as i2c device but I'm getting the followig log:

asoc-simple-card sound@0: tlv320adc3101-hifi <-> 48474000.mcasp mapping ok
tlv320aic3x-codec 2-001a: ASoC: Failed to set DAI format: -22
asoc-simple-card sound@1: tlv320aic3x-hifi <-> 48478000.mcasp mapping ok
tlv320aic3x-codec 2-001b: ASoC: Failed to set DAI format: -22
asoc-simple-card sound@2: tlv320aic3x-hifi <-> 4846c000.mcasp mapping ok

                                                Why is its failing to set DAI format?I made the following modification in davinci-evm.c

static struct snd_soc_dai_link evm_dai_tlv320aic3x = {
        .name           = "TLV320AIC3X",
        .stream_name    = "AIC3X",
        .codec_dai_name = "tlv320aic3x-hifi",
        .ops            = &evm_ops,
        .init           = evm_aic3x_init,
        /*.dai_fmt = SND_SOC_DAIFMT_DSP_B | SND_SOC_DAIFMT_CBM_CFM |
                   SND_SOC_DAIFMT_IB_NF,*//*commented by murugan.s@fossilshale.com*/
/*      .dai_fmt = SND_SOC_DAIFMT_I2S | SND_SOC_DAIFMT_CBM_CFM |
                   SND_SOC_DAIFMT_IB_NF,*/
        .dai_fmt = SND_SOC_DAIFMT_I2S | SND_SOC_DAIFMT_CBS_CFS | SND_SOC_DAIFMT_NB_NF,

};

My dts configuration related to sound and mcasp:

snd2: sound@1 {
               compatible = "simple-audio-card";
               simple-audio-card,name = "DRA7xx-EVM-snd2";
               simple-audio-card,widgets =
                       "Microphone",            "Mic Jack",
                       "Line",                  "Line In",
                       "Line",                  "Line Out",
                       "Headphone",             "HP Jack",
                       "Speaker",               "Speaker External";
               simple-audio-card,routing =
                       "HP Jack",               "HPLOUT",
                       "HP Jack",               "HPROUT",
                       "HP Jack",               "HPLCOM",
                       "HP Jack",               "HPRCOM",
                       "Speaker External",      "LLOUT",
                       "Speaker External",      "RLOUT",
                       "LINE2L",                "Line In",
                       "LINE2R",                "Line In";

               simple-audio-card,format = "i2s";
               simple-audio-card,bitclock-master = <&sound1_master>;
               simple-audio-card,frame-master = <&sound1_master>;
               simple-audio-card,bitclock-inversion;        /*uncommented  to make soc master*/
               sound1_master: simple-audio-card,cpu {
                        sound-dai = <&mcasp7>;
                        system-clock-direction = "out";
                      system-clock-frequency = <19200000>;
               };

               simple-audio-card,codec {
                       sound-dai = <&tlv320aic34_a>;
                    /*   bitclock-master;
                       frame-master;
                       bitclock-inversion;*/
                       system-clock-frequency = <19200000>;
                    /*  system-clock-frequency = <19200000>;*/
               };

  snd3: sound@2 {
               compatible = "simple-audio-card";
               simple-audio-card,name = "DRA7xx-EVM-snd3";
               simple-audio-card,widgets =
                       "Microphone", "Mic Jack",
                       "Line",                  "Line In",
                       "Line",                  "Line Out",
                       "Headphone",             "HP Jack",
                       "Speaker",               "Speaker External";
               simple-audio-card,routing =
                       "Line Out",              "MONO_LOUT",
                       "Speaker External",      "LLOUT",
                       "Speaker External",      "RLOUT",
                       "LINE1L",                "Line In",
                       "LINE1R",                "Line In",
                       "MIC3L",                 "Mic Jack",
                       "MIC3R",                 "Mic Jack";
               simple-audio-card,format = "i2s";
               simple-audio-card,bitclock-master = <&sound2_master>;
               simple-audio-card,frame-master = <&sound2_master>;
               simple-audio-card,bitclock-inversion; /*uncommented  to set SoC as master*/

               sound2_master: simple-audio-card,cpu {
                        sound-dai = <&mcasp4>;
                        system-clock-direction = "out";
                      system-clock-frequency = <19200000>;
               };

               simple-audio-card,codec {
                       sound-dai = <&tlv320aic34_b>;
                     /*  bitclock-master;
                       frame-master;
                       bitclock-inversion;*/ /*commented to make SoC master*/
                       system-clock-frequency = <19200000>;
                    /*  system-clock-frequency = <19200000>;*/
               };
        };

Pinmuxing for mcasp4 and 7:

 aic34_mcasp7: aic34_mcasp7 {
                 pinctrl-single,pins = <
                        0x29C (PIN_OUTPUT | MUX_MODE4) /*default ws 3*/ /* xref_clk2.mcasp7_ahclkx - MCLK */
                        0x2EC (PIN_INPUT | MUX_MODE1)  /* mcasp1_axr14.mcasp7_aclkx - BCLK */
                        0x2F0 (PIN_INPUT | MUX_MODE1)  /* mcasp1_axr15.mcasp7_fsx - WCLK */
                        0x2E8 (PIN_INPUT_PULLUP | MUX_MODE1)  /* mcasp1_axr13.mcasp7_axr1 - DIN */
                        0x2E4 (PIN_OUTPUT | MUX_MODE1)  /* mcasp1_axr12.mcasp7_axr0 - DOUT */
                        >;
        };

        aic34_mcasp4: aic34_mcasp4 {
                 pinctrl-single,pins = <
                        0x2A0 (PIN_OUTPUT | MUX_MODE3)  /* xref_clk3.mcasp4_ahclkx - MCLK */
                        0x334 (PIN_INPUT | MUX_MODE0)  /* mcasp4_aclkx.mcasp4_aclkx - BCLK */
                        0x338 (PIN_INPUT | MUX_MODE0)  /* mcasp4_fsx.mcasp4_fsx - WCLK */
                        0x340 (PIN_INPUT_PULLUP | MUX_MODE0)  /* mcasp4_axr1.mcasp4_axr1 - DIN */
                        0x33C (PIN_OUTPUT | MUX_MODE0)  /* mcasp4_axr0.mcasp4_axr0 - DOUT */
                        0x3C0 (PIN_OUTPUT_PULLUP | MUX_MODE14)  /* gpio7_14 */
                        0x158 (PIN_OUTPUT_PULLUP | MUX_MODE14)  /* .gpio3_29  */
                        0x190 (PIN_OUTPUT_PULLUP | MUX_MODE14)  /* gpio4_11 */
                >;
        };

&i2c3 {
        status = "okay";
        clock-frequency = <400000>;

        /*      Audio Codec for ITS, FS:NIRAJ   */

        tlv320aic34_a: tlv320aic34_a@1a {
                #sound-dai-cells = <0>;
                compatible = "ti,tlv320aic3x";
                reg = <0x1a>;
                adc-settle-ms = <40>;
                ai3x-micbias-vg = <1>;          /* 2.0V */
                gpio-reset = <&gpio2 26 GPIO_ACTIVE_LOW>;
                status = "okay";

                /* Regulators */
                AVDD-supply = <&evm_3v3_sw>;
                IOVDD-supply = <&evm_3v3_sw>;
                DRVDD-supply = <&evm_3v3_sw>;
                DVDD-supply = <&aic_dvdd>;
        };

        tlv320aic34_b: tlv320aic34_b@1b {
                #sound-dai-cells = <0>;
                compatible = "ti,tlv320aic3x";
                reg = <0x1b>;
                adc-settle-ms = <40>;
                ai3x-micbias-vg = <1>;          /* 2.0V */
                gpio_reset = <&gpio2 27 GPIO_ACTIVE_LOW>;
                status = "okay";

                /* Regulators */
                AVDD-supply = <&evm_3v3_sw>;
                IOVDD-supply = <&evm_3v3_sw>;
                DRVDD-supply = <&evm_3v3_sw>;
                DVDD-supply = <&aic_dvdd>;
        };
}

&mcasp7 {
        #sound-dai-cells = <0>;

        status = "okay";

        pinctrl-names = "default";
        pinctrl-0 = <&aic34_mcasp7>;

        op-mode = <0>;          /* MCASP_IIS_MODE */
        tdm-slots = <2>;
        /* 4 serializer */
        serial-dir = <  /* 0: INACTIVE, 1: TX, 2: RX */
                1 2 0 0
        >;
        tx-num-evt = <32>;
        rx-num-evt = <32>;
};
/* Mcasp 7 ITS end */

/* Mcasp 4 ITS */
&mcasp4 {
        #sound-dai-cells = <0>;

        status = "okay";

        pinctrl-names = "default";
        pinctrl-0 = <&aic34_mcasp4>;

        op-mode = <0>;          /* MCASP_IIS_MODE */
        tdm-slots = <2>;
        /* 4 serializer */
        serial-dir = <  /* 0: INACTIVE, 1: TX, 2: RX */
                1 2 0 0
        >;
        tx-num-evt = <32>;
        rx-num-evt = <32>;
};

Regards,

Murugan S

Linux/AM5728: I2C Driver in Media Chips

$
0
0

Part Number: AM5728

Tool/software: Linux

Hi

In my custom board, we have ADV7343. I see this log:

~# dmesg | grep adv7343

~# adv7343 3-002b: chip found @ 0x56 ( OMAP I2C adapter)

Now when i set wrong address in dts, for example 0x36, i see this log:

~# dmesg | grep adv7343

~# adv7343 3-0036: chip found @ 0x6c ( OMAP I2C adapter)

~# adv7343 3-0036: Error initializing

~# adv7343: probe of 3-0036 failed  with error -121

my question: Why we have "chip found @ ..." when address is wrong?!! what do i2c_check_functionality(client->adapter, I2C_FUNC_SMBUS_BYTE_DATA) ?

thanks.

RTOS/TDA2EVM5777: tidl layers supported by DSP

$
0
0

Part Number: TDA2EVM5777

Tool/software: TI-RTOS

Hello,

We are trying to migrate some tidl Layers from EVE to DSP.

As long as we set all the values of layersGroupId in our to txt configuration to 1 (except the first and last ones which are set to 0 and the TIDL_DetectionOutputLayer to 2) - the flow works fluently.

Once we set one more layer - the one before TIDL_DetectionOutputLayer to 2, and then re-import the files using tidl_model_import tool, the DSP hangs for 15 seconds per-page.

The question that follows:

Is DSP capable of running other than TIDL_DetectionOutputLayer tidl layer?

Please let us know if more information regarding this issue is needed.

This is our setup:

UseCase: chains_tidlBrodmann

NullSource -> Decode -> VPE -> Dup

Dup -> Merge

Dup -> Alg_tidlpreproc (A15)


Alg_tidlpreproc (A15) -> Alg_tidl_Eve1 (EVE1)

Alg_tidl_Eve1 (EVE1) -> Alg_tidl_DSP1 (DSP1) -> Merge -> Sync -> Alg_ObjectDraw

Alg_ObjectDraw -> Display

GrpxSrc -> Display_Grpx

Regards

TMS320C6678: PCIE root complex problem - there is link, can access to PCIE configuration space, but cannot access to the bar memory in the End point

$
0
0

Part Number: TMS320C6678

Hi,

I bring up pcie DSP root complex to the Xilinx FPGA ultrascale End point by chip to chip by the board.

I got link, the pcie training is passed and the dsp pcie root can access to "Pcie configuration space" on the FPGA End point.

When try to access by DSP Pcie root to internal memory of the End point its fail and noting is happens.

How I can to debug it?

the Xilinx FPGA ip is https://www.xilinx.com/support/documentation/ip_documentation/xdma/v4_1/pg195-pcie-dma.pdf

I configured  bar0 to direct access and bar1 to dma port.

Thanks,

Zvi

RTOS/EVMK2G: MCASP_audio example with external clocks not working

$
0
0

Part Number: EVMK2G

Tool/software: TI-RTOS

Hi,

I'm trying to run the MCASP_Audio_evmK2G_c66ExampleProject on the EVMK2G board. The example working fine when the clocks are internal, but when I'm trying to run he example with external clocks (without the predefined symbol MCASP_MASTER) I'm getting an assertion failure at the function mcaspCreateChan():

"

[C66xx] xdc.runtime.Main: "src/mcasp_drv.c", line 4208: assertion failure
xdc.runtime.Error.raise: terminating execution

"

Do you know the cause of this problem, or if there another example of MCASP with external clocks?

Thank you,

Offer.


Linux/AM5728: Jailhouse TI-RTOS inmate colliding with L3 interconnect firewall

$
0
0

Part Number: AM5728

Tool/software: Linux

Hi there,

I'm working with Linux processor-sdk 05.02.00.10 and RTOS processor-sdk 4.03.00.05.
I successfully worked with jailhouse hypervisor on the AM5728 evaluation board.

Now I'm trying to startup jailhouse on a AM5728 based custom board.

I can startup my SYS/BIOS inmate application and debug it. During the init phase I get the famous dump from the kernel:

[ 147.605931] ------------[ cut here ]------------
[ 147.610600] WARNING: CPU: 0 PID: 28 at /home/stx-ti/Projects/tisdk/build/arago-tmp-external-linaro-toolchain/work-shared/am57xx-evm/kernel-source/drivers/bus/omap_l3_noc.c:147 l3_interrupt_handler+0x254/0x370
[ 147.629222] 44000000.ocp:L3 Custom Error: MASTER MPU TARGET GPMC(Read): Data Access in User mode during Functional access
[ 147.640328] Modules linked in: jailhouse(O) vnetdevice(O) sha512_generic sha512_arm sha256_generic sha1_generic sha1_arm md5 cbc xhci_plat_hcd xhci_hcd usbcore dwc3 udc_core usb_common ti_prueth pru_rproc pruss pruss_intc snd_soc_omap_hdmi_audio omap_aes_driver pruss_soc_bus c_can_platform c_can can_dev omap_sham omap_wdt phy_omap_usb2 ahci_platform libahci_platform libahci libata scsi_mod ti_vpe ti_vip ti_sc ti_csc ti_vpdma dwc3_omap rtc_omap extcon_palmas rtc_palmas gpio_tpic2810 ov2659 v4l2_fwnode omap_des des_generic crypto_engine omap_crypto omap_remoteproc virtio_rpmsg_bus rpmsg_core remoteproc sch_fq_codel cryptodev(O)
[ 147.696164] CPU: 0 PID: 28 Comm: irq/23-l3-app-i Tainted: G O 4.14.79-rt47-gd9200ca684 #9
[ 147.696167] Hardware name: Generic DRA74X (Flattened Device Tree)
[ 147.696169] Backtrace:
[ 147.696187] [<c010b808>] (dump_backtrace) from [<c010baec>] (show_stack+0x18/0x1c)
[ 147.696194] r7:00000009 r6:60030013 r5:00000000 r4:c0d575a0
[ 147.696204] [<c010bad4>] (show_stack) from [<c082245c>] (dump_stack+0x90/0xa4)
[ 147.696215] [<c08223cc>] (dump_stack) from [<c012aea0>] (__warn+0xec/0x104)
[ 147.696220] r7:00000009 r6:c0ad5790 r5:00000000 r4:d4a31e40
[ 147.696229] [<c012adb4>] (__warn) from [<c012aef8>] (warn_slowpath_fmt+0x40/0x48)
[ 147.696234] r9:0000000b r8:d4a14b10 r7:c0ad55fc r6:00000002 r5:c0ad56bc r4:c0ad5760
[ 147.696243] [<c012aebc>] (warn_slowpath_fmt) from [<c041e108>] (l3_interrupt_handler+0x254/0x370)
[ 147.696246] r3:d4a14980 r2:c0ad5760
[ 147.696249] r4:80080003
[ 147.696258] [<c041deb4>] (l3_interrupt_handler) from [<c0181dd8>] (irq_forced_thread_fn+0x28/0x7c)
[ 147.696263] r10:c0181db0 r9:d4a14e80 r8:d49df100 r7:00000001 r6:00000000 r5:d49df100
[ 147.696265] r4:d4a14e80
[ 147.696272] [<c0181db0>] (irq_forced_thread_fn) from [<c0182130>] (irq_thread+0x130/0x208)
[ 147.696276] r7:00000001 r6:00000000 r5:ffffe000 r4:d4a14ea4
[ 147.696284] [<c0182000>] (irq_thread) from [<c0149368>] (kthread+0x164/0x16c)
[ 147.696289] r10:d4871b20 r9:c0182000 r8:d4a14e80 r7:d4a30000 r6:00000000 r5:d4a14ec0
[ 147.696291] r4:d49e3080
[ 147.696299] [<c0149204>] (kthread) from [<c0107a90>] (ret_from_fork+0x14/0x24)
[ 147.696303] r10:00000000 r9:00000000 r8:00000000 r7:00000000 r6:00000000 r5:c0149204
[ 147.696306] r4:d4a14ec0
[ 147.696308] ---[ end trace 0000000000000002 ]---

Specifically this dump is generated when SPI_open() goes down all the way to McSPIReset(), which attempts to read and write McSPI4 register MCSPI_SYSSTATUS(0x480BA114).

Additionally when the error is generated GPMC related registers are set to:
GPMC_ERR_ADDRESS (0x50000044) = 0x0480B110
GPMC_ERR_TYPE (0x50000048) = 0x00000211

Previously I made sure that ALL the SPI's are disabled in the Linux kernel dts, and SPI is disabled in the kernel config, so I'm trying to figure out what causes this error.

Going through AM572x_Sitara_Processors_Technical_Reference_Manual, L3_MAIN Interconnect (fascinating stuff) I found out that a configurable firewall exists, and
an interrupt is generated to the Cortex-A15 INTC upon protection violation. (14.2.3.7.3.4 L3_MAIN Firewall Error Logging)

I suspect the firewall needs to be configured to allow user access, but I'm not sure where and how.
I also don't understand why an attempt to read a SPI related register causes an error in GPMC.

In attempt to prevent the interrupt, setting the GPMC_FW registers
GPMC_FW_START_REGION_i_1 (0x4A210090) = 0x480BA000
GPMC_FW_END_REGION_i_1 (0x4A210094) = 0x480BB000
didn't change the behavior.

Can you please explain why SPI is related to GPMC, and more important how can I configure the firewall to allow user access to SPI registers?

Thanks a lot,

Nir.

TDA3MA: Download link to CLOCKTREETOOL AUTOMOTIVE is not accessible (v1.0.0.8, July 2019)

$
0
0

Part Number: TDA3MA

Hello,

please could somebody from TI solve the links to CLOCKTREETOOL ?

Or could somebody send me the install file?

Best regards,
Milan

CCS/TDA3MA: GEL-Script for PRCM dump

$
0
0

Part Number: TDA3MA

Tool/software: Code Composer Studio

Hello,

is there a GEL script for PRCM dump for importing in CTT (Clock Tree Tool)?

Best regards,
Milan

Linux/AM5708: AM5708 psdk Resource acquisition failure faild.How to solve this problem when resources are moved elsewhere?

$
0
0

Part Number: AM5708

Tool/software: Linux

Gcc-linaro-6.2.1-2016.11-x86_64_arm-linux-gnueabihf.tar.tx comes from the following link:
releases.linaro.org/.../gcc-linaro-6.2.1-2016.11-x86_64_arm-linux-gnueabihf.tar.xz

I encountered the following problems in the compilation process. How can I solve them?

[root@MSO:build]# 
[root@MSO:build]# 
[root@MSO:build]# . conf/setenv 
[root@MSO:build]# MACHINE=am57xx-evm bitbake opencl
Loading cache: 100% |#########################################################################################################################################################################| Time: 0:00:01
Loaded 3236 entries from dependency cache.
NOTE: Resolving any missing task queue dependencies

Build Configuration:
BB_VERSION = "1.32.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "Ubuntu-14.04"
TARGET_SYS = "arm-linux-gnueabi"
MACHINE = "am57xx-evm"
DISTRO = "arago"
DISTRO_VERSION = "2017.05"
TUNE_FEATURES = "arm armv7a vfp thumb neon callconvention-hard"
TARGET_FPU = "hard"
meta-processor-sdk = "HEAD:3d2f620a6a98b1b6abb1103d7dc986921436ed19"
meta-arago-distro 
meta-arago-extras = "HEAD:b727bf8fce8e9cb5a6b5d5b48c45f0088e67eb53"
meta-browser = "HEAD:880a7bd1d3b9a1b2003f5b0620350f03158bbd43"
meta-qt5 = "HEAD:3601fd2c5306ac6d5d0d536e0be8cbb90da9b4c1"
meta-networking 
meta-ruby 
meta-python 
meta-oe 
meta-gnome = "HEAD:fe5c83312de11e80b85680ef237f8acb04b4b26e"
meta-ti = "HEAD:41d6fdc0fe5ea6054616cfccda13baac3ff33791"
meta-linaro-toolchain 
meta-optee = "HEAD:d84874bad834657dd04ea69c35a74dd9dbd535b8"
meta = "HEAD:ddf907ca95a19f54785079b4396935273b3747f6"

Initialising tasks: 100% |####################################################################################################################################################################| Time: 0:00:01
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
ERROR: external-linaro-toolchain-2016.11-r0.arago35.tisdk0 do_install: Function failed: do_install (log file is located at /root/psdk/tisdk/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/external-linaro-toolchain/2016.11-r0.arago35.tisdk0/temp/log.do_install.29918)
ERROR: Logfile of failure stored in: /root/psdk/tisdk/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/external-linaro-toolchain/2016.11-r0.arago35.tisdk0/temp/log.do_install.29918
Log data follows:
| DEBUG: Executing shell function do_install
| cp: cannot stat ‘/root/factory/linux-devkit/sysroots/x86_64-arago-linux/usr/arm-linux-gnueabihf/libc/usr/share/*’: No such file or directory
| WARNING: /root/psdk/tisdk/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/external-linaro-toolchain/2016.11-r0.arago35.tisdk0/temp/run.do_install.29918:1 exit 1 from 'cp -a /root/factory/linux-devkit/sysroots/x86_64-arago-linux/usr/arm-linux-gnueabihf/libc/usr/share/* /root/psdk/tisdk/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/external-linaro-toolchain/2016.11-r0.arago35.tisdk0/image/usr/share'
| ERROR: Function failed: do_install (log file is located at /root/psdk/tisdk/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/external-linaro-toolchain/2016.11-r0.arago35.tisdk0/temp/log.do_install.29918)
ERROR: Task (/root/psdk/tisdk/sources/meta-linaro/meta-linaro-toolchain/recipes-devtools/external-linaro-toolchain/external-linaro-toolchain.bb:do_install) failed with exit code '1'
NOTE: Tasks Summary: Attempted 162 tasks of which 161 didn't need to be rerun and 1 failed.

Summary: 1 task failed:
/root/psdk/tisdk/sources/meta-linaro/meta-linaro-toolchain/recipes-devtools/external-linaro-toolchain/external-linaro-toolchain.bb:do_install
Summary: There was 1 ERROR message shown, returning a non-zero exit code.
[root@MSO:build]# \
> ^C
[root@MSO:build]# 
[root@MSO:build]# 
[root@MSO:build]# 
[root@MSO:build]#
[root@MSO:build]# 
[root@MSO:build]# echo $PATH
/root/psdk/tisdk/sources/meta-browser/scripts:/root/psdk/tisdk/sources/oe-core/scripts:/root/psdk/tisdk/sources/bitbake/bin:/root/psdk/tisdk/sources/meta-browser/scripts:/root/psdk/tisdk/sources/oe-core/scripts:/root/psdk/tisdk/sources/bitbake/bin:/root/psdk/tisdk/sources/meta-browser/scripts:/root/psdk/tisdk/sources/oe-core/scripts:/root/psdk/tisdk/sources/bitbake/bin:/root/psdk/cross_compile/gcc-linaro-6.2.1-2016.11-x86_64_arm-linux-gnueabihf:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/root/factory/linux-devkit/sysroots/x86_64-arago-linux/usr/bin
[root@MSO:build]# 
[root@MSO:build]# 
[root@MSO:build]# 
[root@MSO:build]# echo ~/.
./                    .bashrc               .dbus/                .lesshst              .pki/                 .subversion/          .viminfo              .xsession-errors.old  
../                   .cache/               .dmrc                 .local/               .profile              .swt/                 .wgetrc               
.aptitude/            .compiz/              .gconf/               .minirc.dfl           .python-history       .ti/                  .Xauthority           
.bash_history         .config/              .ICEauthority         .oracle_jre_usage/    .ssh/                 .vim/                 .xsession-errors      
[root@MSO:build]# echo ~/.bashrc 
/root/.bashrc
[root@MSO:build]# cat ~/.bashrc 
# ~/.bashrc: executed by bash(1) for non-login shells.
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc)
# for examples

# If not running interactively, don't do anything
[ -z "$PS1" ] && return

# don't put duplicate lines in the history. See bash(1) for more options
# ... or force ignoredups and ignorespace
HISTCONTROL=ignoredups:ignorespace

# append to the history file, don't overwrite it
shopt -s histappend

# for setting history length see HISTSIZE and HISTFILESIZE in bash(1)
HISTSIZE=1000
HISTFILESIZE=2000

# check the window size after each command and, if necessary,
# update the values of LINES and COLUMNS.
shopt -s checkwinsize

# make less more friendly for non-text input files, see lesspipe(1)
[ -x /usr/bin/lesspipe ] && eval "$(SHELL=/bin/sh lesspipe)"

# set variable identifying the chroot you work in (used in the prompt below)
if [ -z "$debian_chroot" ] && [ -r /etc/debian_chroot ]; then
    debian_chroot=$(cat /etc/debian_chroot)
fi

# set a fancy prompt (non-color, unless we know we "want" color)
case "$TERM" in
    xterm-color) color_prompt=yes;;
esac

# uncomment for a colored prompt, if the terminal has the capability; turned
# off by default to not distract the user: the focus in a terminal window
# should be on the output of commands, not on the prompt
#force_color_prompt=yes

if [ -n "$force_color_prompt" ]; then
    if [ -x /usr/bin/tput ] && tput setaf 1 >&/dev/null; then
    # We have color support; assume it's compliant with Ecma-48
    # (ISO/IEC-6429). (Lack of such support is extremely rare, and such
    # a case would tend to support setf rather than setaf.)
    color_prompt=yes
    else
    color_prompt=
    fi
fi

if [ "$color_prompt" = yes ]; then
    PS1='[${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\W\[\033[00m\]]\$ '
else
    PS1='[${debian_chroot:+($debian_chroot)}\u@\h:\W]\$ '
fi
unset color_prompt force_color_prompt

# If this is an xterm set the title to user@host:dir
case "$TERM" in
xterm*|rxvt*)
    PS1="\[\e]0;${debian_chroot:+($debian_chroot)}\u@\h: \w\a\]$PS1"
    ;;
*)
    ;;
esac

# enable color support of ls and also add handy aliases
if [ -x /usr/bin/dircolors ]; then
    test -r ~/.dircolors && eval "$(dircolors -b ~/.dircolors)" || eval "$(dircolors -b)"
    alias ls='ls --color=auto'
    #alias dir='dir --color=auto'
    #alias vdir='vdir --color=auto'

    alias grep='grep --color=auto'
    alias fgrep='fgrep --color=auto'
    alias egrep='egrep --color=auto'
fi

# some more ls aliases
alias ll='ls -alF'
alias la='ls -A'
alias l='ls -CF'

# Alias definitions.
# You may want to put all your additions into a separate file like
# ~/.bash_aliases, instead of adding them here directly.
# See /usr/share/doc/bash-doc/examples in the bash-doc package.

if [ -f ~/.bash_aliases ]; then
    . ~/.bash_aliases
fi

# enable programmable completion features (you don't need to enable
# this, if it's already enabled in /etc/bash.bashrc and /etc/profile
# sources /etc/bash.bashrc).
#if [ -f /etc/bash_completion ] && ! shopt -oq posix; then
#    . /etc/bash_completion
#fi
#export PATH=$PATH:/home/mso/ti-processor-sdk-linux-rt-am57xx-evm-03.03.00.04/linux-devkit/sysroots/x86_64-arago-linux/usr/bin
#export PATH=$PATH:/home/mso/ti-processor-sdk-linux-rt-am57xx-evm-04.00.00.04/linux-devkit/sysroots/x86_64-arago-linux/usr/bin
#export PATH=$PATH:/home/mso/ti-processor-sdk-linux-rt-am57xx-evm-03.03.00.04/linux-devkit/sysroots/x86_64-arago-linux/usr/bin
export PATH=/root/psdk/cross_compile/gcc-linaro-6.2.1-2016.11-x86_64_arm-linux-gnueabihf:$PATH
export PATH=$PATH:/root/factory/linux-devkit/sysroots/x86_64-arago-linux/usr/bin
#export PATH=$PATH:/root/fuck_dsp/linux-devkit/sysroots/x86_64-arago-linux/usr/bin
export TOOLCHAIN_PATH_ARMV7=/root/psdk/cross_compile/gcc-linaro-7.2.1-2017.11-x86_64_arm-linux-gnueabihf
export TOOLCHAIN_PATH_ARMV8=/root/psdk/cross_compile/gcc-linaro-7.2.1-2017.11-x86_64_aarch64-linux-gnu


#export http_proxy='<a href="127.0.0.1:8123/.../a>
#export https_proxy='<a href="127.0.0.1:8123/.../a>
#export ftp_proxy='<a href="127.0.0.1:8123/.../a>
#export ALL_PROXY='socks://127.0.0.1:8123/'
#export all_proxy='socks://127.0.0.1:8123/'
#export no_proxy='example.com'
#export GIT_PROXY_COMMAND="oe-git-proxy"
#export NO_PROXY=$no_proxy

[root@MSO:build]# 

I made some errors while executing the "MACHINE=am57xx-evm bitbake arago-base-tisdk-image" command.

By analyzing the log, I found that the link of some files failed and the corresponding file could not be searched on the previous path of the link.The link "downloads.yoctoproject.org/.../git2_git.ti.com.ti-linux-kernel.ti-linux-kernel.git.tar.gz", for example, git2_git.ti.com.ti-linux-kernel.ti-linux-kernel.git.tar.gz this file no.How can I solve this problem?Or can you compile a DSP binary file of 512M? I will directly copy the DSP binary file you compiled.

(Please visit the site to view this file)

AM5708: Changing frequency for MPU and DSP on AM5708

$
0
0

Part Number: AM5708

Hello,

Can we change the frequency for MPU and DSP on AM5708?
My customers are considering lowering power consumption by changing frequency.
However, in the datasheet, only the maximum frequency is described.
For example, can we operate the Arm Cortex A15 core at 300MHz?

If yes, could you tell us the procedure?

Best Regards,
Nomo

TMDXICE110: MII_RT data path

$
0
0

Part Number: TMDXICE110

I have questions about data path setup in MII_RT of AMIC110 PRU-ICSS. (TRM 4.4.6.2.1 Data Path Configuration)

When using full duplex communication
- Frames received on one port are sent to the other
- AMIC 110 may also transmit data

For this reason, I am trying to switch the following as needed.
- Normally wait in "Auto-forward" to reduce the delay time.
- When sending by yourself "32-byte Double Buffer or Ping-Pong Processing"

However, because the switching timing is bad, the output Ethernet frame is it may be broken and it takes time to adjust.

It could be the switching timing of the above two, but there are cases that Ethernet frame output is corrupted and I'm struggling to adjust it and fix the problem.
To confirm that my approach is correct or not, I have following questions. I'm using TMDXICE110.

1.
Whether MII_RT is receiving Ethernet frames or not, TXCFG register TX_AUTO_SEQUENCE seems to be reflected. Is this correct?

If so, I think it is necessary to avoid the receiving state in order not to break the flowing frame.
As a way to do so, I'm thinking about changing settings after confirming that "RX_SOF is not detected in INTC". Can this be in time ?  
Would it be no data flow to the TX FIFO while changing TX_AUTO_SEQUENCE to disable?

2.
When resetting the receive FIFO by RX_RESET, are both RX L1 FIFO and RX L2 FIFO cleared even if TX_AUTO_SEQUENCE is enable ?

3.
If you change TX_AUTO_SEQUENCE from enable to disable, I do not think I can't find how much data is in TX L1 FIFO. Is this correct?

4.
When transmitting, I'm using CRC32 calculation function of MII_RT (cmdR31 [TX_CRC_HIGH + TX_CRC_LOW + TX_EOF]).
Before switching TX_AUTO_SEQUENCE from disable to enable, do I have to wait for several clocks or until the TX L1 FIFO is empty?


Linux/AM6548: WDT device tree node in SDK6.0.0.7

$
0
0

Part Number: AM6548

Tool/software: Linux

Hi,

The WDT device tree node in AM65XX SDK6.0.0.7 is such:

    mcu_rti1: rti@40610000 {
        compatible = "ti,keystone-wdt";
        reg = <0x0 0x40610000 0x0 0x100>;
        clocks = <&k3_clks 135 0>;
        power-domains = <&k3_pds 135>;
        assigned-clocks = <&k3_clks 135 0>;
        assigned-clock-parents = <&k3_clks 135 4>;
    };

in file: arch/arm64/boot/dts/ti/k3-am65-mcu.dtsi .

However, the "power-domain" property might be not in it's correct format as in other nodes, for example: 

    mcu_spi0: spi@40300000 {
        compatible = "ti,am654-mcspi","ti,omap4-mcspi";
        reg = <0x0 0x40300000 0x0 0x400>;
        interrupts = <GIC_SPI 560 IRQ_TYPE_LEVEL_HIGH>;
        clocks = <&k3_clks 142 1>;
        power-domains = <&k3_pds 142 TI_SCI_PD_EXCLUSIVE>;
        #address-cells = <1>;
        #size-cells = <0>;
    };
This property in all other nodes are 3-cell. So the WDT node's power-domain is lacking  of the "TI_SCI_PD_EXCLUSIVE" flag, this causes the kernel unable to parse the device tree correctly.

Linux/AM3352: Secure Boot Material Requirement

$
0
0

Part Number: AM3352

Tool/software: Linux

We need the secure boot material of AM3352 for end customer(Vantron,website:http://www.vantrontech.com.cn).They want to know the hardware security policy and user guide for AM3352.

We can not open the PDF document in the same question link(https://e2e.ti.com/support/processors/f/791/t/582848) on 

The end application is the gateway and must use the secure boot function.How can we get the material about secure boot?

RTOS/PROCESSOR-SDK-TDAX: How do I test Ethernet Loopback

$
0
0

Part Number: PROCESSOR-SDK-TDAX

Tool/software: TI-RTOS

I am working on project using TDA2xx(X5777A7XGABC) in Custom board.

I am developing with vision sdk 03.06 & ndk_2_24_02_31 & nsp_gmacsw_4_16_00_00.

I want to test RGMII0/RGMII1 loopback mode for H/W validation.

I modified code as follows:

GMACSW_Config *GMACSW_getConfig(void)
{

   ......................

#if ( defined(NDK_PROC_TO_USE_IPU1_0) && defined(BUILD_M4_0) ) || \
    ( defined(NDK_PROC_TO_USE_IPU1_1) && defined(BUILD_M4_1) ) || \
    ( defined(NDK_PROC_TO_USE_IPU2)   && defined(BUILD_M4_2) ) || \
    ( defined(NDK_PROC_TO_USE_A15_0)  && defined(BUILD_A15) )

    //pGMACSWConfig = GMACSW_CONFIG_getDefaultConfig();
    pGMACSWConfig = GMACSW_CONFIG_getDLBConfig();
  .........................

Is is correct? Please let me know the modification point.
And then I want to know ping test in RTOS of TDA2xx.
Regards,
Jongyoun

Linux/AM5728: Ducati encoder issue with Python

$
0
0

Part Number: AM5728

Tool/software: Linux

I'm trying to use ducatih264enc in a GStreamer pipeline, constructed using Python 3.  I can construct pipelines that work correctly, but only if I don't use ducatih264enc.  But when I add ducatih264enc in, the pipeline fails to launch.  Same pipeline works correctly when launched using gst-launch-1.0.

My suspicion is that Python doesn't know how to create the TI proprietary GStreamer elements, but I stress this is only a suspicion at the moment.

Any help on sorting this out would be greatly appreciated.

TMS320C6748: EMIFA Read and Write Cycle

$
0
0

Part Number: TMS320C6748

Customer reporting the use the CPU profile in CCS to measure the clock cycles for write and read to EMIFA address in the code below. The write takes about 10 clock cycles but the read takes about 150 clock cycles. Stepping into the disassembly, it appeared the instructions LDHU.D1T1     *+A3[0], A3   take about ~140 cycles.

 

There are two memory mapped registers that write and read samples from EMIFA external address range  defined as below

#define VD32_BASE_ADDRESS   (0x66000100)

#define VD32_OUTPUT  *(volatile int16u*) (VD32_BASE_ADDRESS + 0x08)    // for read

#define VD32_SOFT_D    *(volatile int16u*) (VD32_BASE_ADDRESS + 0x00)    // for write

int16u ReadBackBits[VD32_INPUT_R12_LEN + VD32_INPUT_R34_LEN];   // put this in either with local memory or in internal RAM

int16u *ReadBackBitsPtr; /* Point to read back bits buffer */

ReadBackBitsPtr = &ReadBackBits[0];

int16u SoftDecisionsR34[1] = { 0x4340};


Looking for an explanation why the read from EMIFA address are much slower?.The EMIFA controller is set up for 16 data bits, chip select 5. They get the same number of cycles when the memory location where it reads the data from EMIFA into is either in a local buffer or in L3 internal RAM.

 

 

Linux/PROCESSOR-SDK-TDAX: Memory size configuration in uBoot.

$
0
0

Part Number: PROCESSOR-SDK-TDAX

Tool/software: Linux

Hi, 

We have an application - Two EMIFs in interleaved mode/total 4G memory  on TDA2x.

But I only saw 2G and 1.5GB case in  board/ti/dra7xx/evm.c.

Could you let me know how to modify the memory size configuration uBoot ?

I run on PROCESSOR-SDK-TDAX V3.05.00.

Thanks!

Viewing all 17527 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>