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

[For DRA829 Questions] MIPI I/F.

$
0
0

Hello Support team.

I would like to know if MIPI C-PHY can be supported at DRA829.

I think it is not supported.

But I need to confirm as double-check.

Br

KORO


PRU-ICSS-INDUSTRIAL-SW: EtherCAT Slave demo

$
0
0

Part Number: PRU-ICSS-INDUSTRIAL-SW

Hello,

I would like you to confirm about following behavior is expected result of not.

* When I connect PC(installed TwinCat3) and AMIC110 EVM to perform ethercat slave demo, I got following behavior.

- I can not see TI ESC on TwinCAT project. Here is my result.

- I can see lighting of LED3 and LED4 on AMIC110 EVM.

 It seems that ther is no error, however I guess that this may be not expected behavior from user's guide...

Best Regards,

Compiler/TDA2PXEVM: Regarding the performance of NullSource link

$
0
0

Part Number: TDA2PXEVM

Tool/software: TI C/C++ Compiler

Dear,

When I use the NullSource link for YUV stream, the frame rate shows about 0.4 fps.

How can I improve the frame rate?

The file read mode is NULLSRC_LINK_FILEREAD_RUN_TIME.

BR,

Heechang

TDA2P-ACD: Two independent GPIO interrupts

$
0
0

Part Number: TDA2P-ACD

Hi all,

I want to configure interrupts for two different GPIO pins on same GPIO base (GPIO4) on IPU2. Interrupts are working fine independently, ISR is activated correctly. But, when I try to configure both interrupts to work together, strange behavior happens, for example, one ISR is constantly active (ISR is activated about 180 times in second). One GPIO should have 1 Hz pulse and another from 15 - 60 Hz. Both interrupts are configured on rising edge.

Do you know what can cause this problem, one suggestions, some specific sequence during configuration...?

Best regards,

Stefan.

AM5718: am5718

$
0
0

Part Number: AM5718

I am new to idkAM571x board. I want to use idkAM571x for my development process.

But I am not able to run the SDK examples.

When I am creating the project as per guideline given in "http://software-dl.ti.com/processor-sdk-rtos/esd/docs/latest/rtos/index_overview.html#setup-environment" I am getting the following message. Kindly help me.

I have configured rtos and pdk on windows. The images are below

After that When I am creating the project, I am getting the following error.

The versions I am using is shown in the figure below.

Kindly help me, I got stuck here.

TDA2EVM5777: Camera 6 has no output

$
0
0

Part Number: TDA2EVM5777

Hi,

   I use UC_lvds_vip_multi_cam_vpe_enc_null in PROCESSOR_SDK_VISION_03_06_00_00,

    gChains_usecaseCfg.numLvdsCh = 6; NDK_PROC_TO_USE=none;

    Do "make -s -j depend_ndk_fatfs;make -s -j" to do an incremental build with modified settings.

   Camera 6 has no output。How should I set it up?

   Camera capture status is as follows

[HOST] [IPU2  ]    168.398798 s:  CAPTURE: VIP1 Slice0 PortA FRAME MODE
 [HOST] [IPU2  ]    168.398889 s:  CAPTURE: VIP1 Slice1 PortA FRAME MODE
 [HOST] [IPU2  ]    168.398981 s:  CAPTURE: VIP2 Slice0 PortA FRAME MODE
 [HOST] [IPU2  ]    168.399072 s:  CAPTURE: VIP3 Slice0 PortA FRAME MODE
 [HOST] [IPU2  ]    168.399133 s:  CAPTURE: VIP3 Slice1 PortA FRAME MODE
 [HOST] [IPU2  ]    168.399255 s:  CAPTURE: VIP2 Slice1 PortB FRAME MODE
 [HOST] [IPU2  ]    168.399347 s:  
 [HOST] [IPU2  ]    168.399408 s:  [ CAPTURE ] Link Statistics,
 [HOST] [IPU2  ]    168.399469 s:  ******************************
 [HOST] [IPU2  ]    168.399530 s:  
 [HOST] [IPU2  ]    168.399591 s:  Elapsed time       = 76951 msec
 [HOST] [IPU2  ]    168.399652 s:  
 [HOST] [IPU2  ]    168.399713 s:  New data Recv      = 150.57 fps
 [HOST] [IPU2  ]    168.399804 s:  Get Full Buf Cb    = 150.48 fps
 [HOST] [IPU2  ]    168.399896 s:  Put Empty Buf Cb   = 150.47 fps
 [HOST] [IPU2  ]    168.399957 s:  Driver/Notify Cb   = 150.57 fps
 [HOST] [IPU2  ]    168.400048 s:  
 [HOST] [IPU2  ]    168.400109 s:  Input Statistics,
 [HOST] [IPU2  ]    168.400170 s:  
 [HOST] [IPU2  ]    168.400231 s:  CH | In Recv | In Drop | In User Drop | In Process 
 [HOST] [IPU2  ]    168.400323 s:     | FPS     | FPS     | FPS          | FPS        
 [HOST] [IPU2  ]    168.400384 s:  -------------------------------------------------- 
 [HOST] [IPU2  ]    168.400475 s:   0 |  30.31      0. 0      0. 0          30.31 
 [HOST] [IPU2  ]    168.400628 s:   1 |  30. 7      0. 0      0. 0          30. 7 
 [HOST] [IPU2  ]    168.400780 s:   2 |  30. 5      0. 0      0. 0          30. 5 
 [HOST] [IPU2  ]    168.400902 s:   3 |  30. 5      0. 0      0. 0          30. 5 
 [HOST] [IPU2  ]    168.401055 s:   4 |  30. 5      0. 0      0. 0          30. 5 
 [HOST] [IPU2  ]    168.401299 s:  
 [HOST] [IPU2  ]    168.401360 s:  Output Statistics,
 [HOST] [IPU2  ]    168.401421 s:  
 [HOST] [IPU2  ]    168.401451 s:  CH | Out | Out     | Out Drop | Out User Drop 
 [HOST] [IPU2  ]    168.401543 s:     | ID  | FPS     | FPS      | FPS           
 [HOST] [IPU2  ]    168.401604 s:  --------------------------------------------- 
 [HOST] [IPU2  ]    168.401695 s:   0 |  0     30.31     0. 0      0. 0 
 [HOST] [IPU2  ]    168.401817 s:   1 |  0     30. 7     0. 0      0. 0 
 [HOST] [IPU2  ]    168.401939 s:   2 |  0     30. 5     0. 0      0. 0 
 [HOST] [IPU2  ]    168.402061 s:   3 |  0     30. 7     0. 0      0. 0 
 [HOST] [IPU2  ]    168.402214 s:   4 |  0     30. 7     0. 0      0. 0 
 [HOST] [IPU2  ]    168.402397 s:  
 [HOST] [IPU2  ]    168.402458 s:  [VIP1 Slice0 PortA] Statistics
 [HOST] [IPU2  ]    168.402519 s:  ==============================
 [HOST] [IPU2  ]    168.402580 s:  Number of request queued  : 2334
 [HOST] [IPU2  ]    168.402671 s:  Number of request dequeued: 2333
 [HOST] [IPU2  ]    168.402732 s:  Overflow Count            : 0
 [HOST] [IPU2  ]    168.402793 s:  
 [HOST] [IPU2  ]    168.402854 s:     CH    |     Q      DQ     Total   Top     Bot    Total  Top    Bot   Min/Max     Min/Max   Dropped  Repeat   Fid   Desc 
 [HOST] [IPU2  ]    168.402976 s:  (I/S/CH) |   Count   Count  Fields  Fields  Fields   FPS   FPS    FPS    Width       Height   Frames   Frames  Repeat Error
 [HOST] [IPU2  ]    168.403129 s:  ---------------------------------------------------------------------------------------------------------------------------
 [HOST] [IPU2  ]    168.403495 s:   00.0.00 |    2339    2333    2333    2333       0     30    30     0     1/1280     35/720         0       0       0     0
 [HOST] [IPU2  ]    168.403708 s:  
 [HOST] [IPU2  ]    168.403769 s:  
 [HOST] [IPU2  ]    168.403800 s:  [VIP1 Slice1 PortA] Statistics
 [HOST] [IPU2  ]    168.403861 s:  ==============================
 [HOST] [IPU2  ]    168.403922 s:  Number of request queued  : 2315
 [HOST] [IPU2  ]    168.403983 s:  Number of request dequeued: 2314
 [HOST] [IPU2  ]    168.404074 s:  Overflow Count            : 0
 [HOST] [IPU2  ]    168.404135 s:  
 [HOST] [IPU2  ]    168.404196 s:     CH    |     Q      DQ     Total   Top     Bot    Total  Top    Bot   Min/Max     Min/Max   Dropped  Repeat   Fid   Desc 
 [HOST] [IPU2  ]    168.404318 s:  (I/S/CH) |   Count   Count  Fields  Fields  Fields   FPS   FPS    FPS    Width       Height   Frames   Frames  Repeat Error
 [HOST] [IPU2  ]    168.404471 s:  ---------------------------------------------------------------------------------------------------------------------------
 [HOST] [IPU2  ]    168.404776 s:   02.0.00 |    2320    2314    2314    2314       0     30    30     0  1280/1280    720/720         0       0       0     0
 [HOST] [IPU2  ]    168.404898 s:  
 [HOST] [IPU2  ]    168.404928 s:  
 [HOST] [IPU2  ]    168.404989 s:  [VIP2 Slice0 PortA] Statistics
 [HOST] [IPU2  ]    168.405050 s:  ==============================
 [HOST] [IPU2  ]    168.405111 s:  Number of request queued  : 2314
 [HOST] [IPU2  ]    168.405203 s:  Number of request dequeued: 2313
 [HOST] [IPU2  ]    168.405264 s:  Overflow Count            : 0
 [HOST] [IPU2  ]    168.405325 s:  
 [HOST] [IPU2  ]    168.405386 s:     CH    |     Q      DQ     Total   Top     Bot    Total  Top    Bot   Min/Max     Min/Max   Dropped  Repeat   Fid   Desc 
 [HOST] [IPU2  ]    168.405508 s:  (I/S/CH) |   Count   Count  Fields  Fields  Fields   FPS   FPS    FPS    Width       Height   Frames   Frames  Repeat Error
 [HOST] [IPU2  ]    168.405630 s:  ---------------------------------------------------------------------------------------------------------------------------
 [HOST] [IPU2  ]    168.405935 s:   04.0.00 |    2319    2313    2313    2313       0     30    30     0  1280/1280    720/720         0       0       0     0
 [HOST] [IPU2  ]    168.406057 s:  
 [HOST] [IPU2  ]    168.406118 s:  
 [HOST] [IPU2  ]    168.406179 s:  [VIP3 Slice0 PortA] Statistics
 [HOST] [IPU2  ]    168.406240 s:  ==============================
 [HOST] [IPU2  ]    168.406301 s:  Number of request queued  : 2314
 [HOST] [IPU2  ]    168.406514 s:  Number of request dequeued: 2314
 [HOST] [IPU2  ]    168.406575 s:  Overflow Count            : 0
 [HOST] [IPU2  ]    168.406636 s:  
 [HOST] [IPU2  ]    168.406697 s:     CH    |     Q      DQ     Total   Top     Bot    Total  Top    Bot   Min/Max     Min/Max   Dropped  Repeat   Fid   Desc 
 [HOST] [IPU2  ]    168.406819 s:  (I/S/CH) |   Count   Count  Fields  Fields  Fields   FPS   FPS    FPS    Width       Height   Frames   Frames  Repeat Error
 [HOST] [IPU2  ]    168.406941 s:  ---------------------------------------------------------------------------------------------------------------------------
 [HOST] [IPU2  ]    168.407277 s:   08.0.00 |    2319    2314    2314    2314       0     30    30     0  1280/1280    720/720         0       0       0     0
 [HOST] [IPU2  ]    168.407430 s:  
 [HOST] [IPU2  ]    168.407460 s:  
 [HOST] [IPU2  ]    168.407521 s:  [VIP3 Slice1 PortA] Statistics
 [HOST] [IPU2  ]    168.407582 s:  ==============================
 [HOST] [IPU2  ]    168.407643 s:  Number of request queued  : 2314
 [HOST] [IPU2  ]    168.407704 s:  Number of request dequeued: 2314
 [HOST] [IPU2  ]    168.407765 s:  Overflow Count            : 0
 [HOST] [IPU2  ]    168.407857 s:  
 [HOST] [IPU2  ]    168.407887 s:     CH    |     Q      DQ     Total   Top     Bot    Total  Top    Bot   Min/Max     Min/Max   Dropped  Repeat   Fid   Desc 
 [HOST] [IPU2  ]    168.408009 s:  (I/S/CH) |   Count   Count  Fields  Fields  Fields   FPS   FPS    FPS    Width       Height   Frames   Frames  Repeat Error
 [HOST] [IPU2  ]    168.408131 s:  ---------------------------------------------------------------------------------------------------------------------------
 [HOST] [IPU2  ]    168.408467 s:   10.0.00 |    2319    2314    2314    2314       0     30    30     0  1280/1280    720/720         0       0       0     0
 [HOST] [IPU2  ]    168.408589 s:  
 [HOST] [IPU2  ]    168.408650 s:  
 [HOST] [IPU2  ]    168.408680 s:  [VIP2 Slice1 PortB] Statistics
 [HOST] [IPU2  ]    168.408741 s:  ==============================
 [HOST] [IPU2  ]    168.408924 s:  Number of request queued  : 1
 [HOST] [IPU2  ]    168.408985 s:  Number of request dequeued: 0
 [HOST] [IPU2  ]    168.409046 s:  Overflow Count            : 0
 [HOST] [IPU2  ]    168.409138 s:  
 [HOST] [IPU2  ]    168.409199 s:     CH    |     Q      DQ     Total   Top     Bot    Total  Top    Bot   Min/Max     Min/Max   Dropped  Repeat   Fid   Desc 
 [HOST] [IPU2  ]    168.409321 s:  (I/S/CH) |   Count   Count  Fields  Fields  Fields   FPS   FPS    FPS    Width       Height   Frames   Frames  Repeat Error
 [HOST] [IPU2  ]    168.409473 s:  ---------------------------------------------------------------------------------------------------------------------------
 [HOST] [IPU2  ]    168.409778 s:   07.0.00 |       6       0       0       0       0      0     0     0     0/0         0/0           0       0       0     0
 [HOST] [IPU2  ]    168.409900 s:  

AM3359: Linux based Hello world example

$
0
0

Part Number: AM3359

Respected sir,

                I am new to the am3359 industrial communications engine board. I have downloaded the LinuxSDK package for the same board. Now i want to implement simple hello world example using UART. But i am not able to find any example or pre-build binary for the hello world example. So please share the path for hello world example using UART on Linux SDK  or pre build binary for the same.

Regrads,

Digvijay

TDA2P-ABZ: RTOS: Analog out from ADV7393 does not give data output correctly

$
0
0

Part Number: TDA2P-ABZ

Hi All,

I am working on generating NTSC output from ADV7393 which is connected to LCD3 interface of SoC

We have 16 data lines, Hsync, Field and Pixclock connected to ADV7393.

We tried generating test pattern from ADV7393 to check ADV7393 - Display Pipeline. We were able to generate the test pattern. 

But when we tried sending data from the SoC,the image is distorted.There is a horizontal scrolling.

I understand there is some sync related issue but could not identify the cause.

I am attaching the image of both test pattern and horizontal scrolling.

We have enabled TDM Mode with TDMCYCLEFORMAT configured for 2 cycles for 1 pixel.

Can anyone please point out the issue.

Regards,

Deepika


PROCESSOR-SDK-AM57X: C66x motion control

$
0
0

Part Number: PROCESSOR-SDK-AM57X

I want to use am57x c66x for motion control. How can I compile and download my c/c++ program to c66x? Is it used as an example of opencl in DSP c66x?

Linux/TDA2PXEVM: How do I get data pointer from ov2775 in Linux in Vision SDK?

$
0
0

Part Number: TDA2PXEVM

Tool/software: Linux

Hi,

I got this hardware below.

a. TDA2Px EVM x 1
b. Fusion Card/EVM x 1
c. TIDA OV2775 cameras (with Fakra cables) x 1

I can capture the image from OV2775_TIDA1130 in Linux in vision_sdk with ISS Usecases, (TDA2Px ONLY)/1CH ISS Capture + ISP + DISPLAY.  and display with HDMI.

Now I need to get the image data after ISP for my application like stitching,object detect and others. But I don't know where is the image data. So how do I get the data pointer? Is it in a source file or need to use a API to copy to the RAM?

Regards

Thanks

TMDX654IDKEVM: I2C LED controler

$
0
0

Part Number: TMDX654IDKEVM

Hello, 

I'm trying to write a simple C application that controls this TPIC2810D (LED controller) in Linux.

Can you tell me what drivers do I need? Do I need to add additional modules in the Linux Makefile and compile again? And if yes, where do I modify the makefile?

Best regards! 

DRA745: test_qnx Compilation Problem

$
0
0

Part Number: DRA745

 The project develops H264 decoding based on test_qnx. How to compile test_qnx?

TDA2SX: Linux/TDA2sx : DP83867:No RGMII1_CLK output from processor.

$
0
0

Part Number: TDA2SX

Hello all,

                                We are working on a custom board based on tda2sx.We are trying to interface dp83867 through rgmii1.I have done the pinmuxing.I can see continuous 25MHz clock in RGMII1_RXC but there is no output from RGMII1_txc.I have configured rgmmi1_txc pin as output pull up.

DTS config:

/*pinmux for dp83867*/

cpsw_default: cpsw_default {
                pinctrl-single,pins = <
                                /* Slave 1 */
               0x19C (PIN_OUTPUT_PULLDOWN | MUX_MODE3)    /* mii1_txen.rgmii1_tctl */
               0x1B4 (PIN_INPUT_PULLDOWN | MUX_MODE3)     /* mii1_rxdv.rgmii1_rctl */
               0x1A0 (PIN_OUTPUT_PULLDOWN | MUX_MODE3)    /* mii1_txd3.rgmii1_td3 */
               0x1A4 (PIN_OUTPUT_PULLDOWN | MUX_MODE3)    /* mii1_txd2.rgmii1_td2 */
               0x1A8 (PIN_OUTPUT_PULLDOWN | MUX_MODE3)    /* mii1_txd1.rgmii1_td1 */
               0x1AC (PIN_OUTPUT_PULLDOWN | MUX_MODE3)    /* mii1_txd0.rgmii1_td0 */                     

               0x198(PIN_OUTPUT_PULLUP | MUX_MODE3)    /* mii1_txclk.rgmii1_tclk */
               0x1B0 (PIN_INPUT_PULLDOWN | MUX_MODE3)     /* mii1_rxclk.rgmii1_rclk */
               0x1B8 (PIN_INPUT_PULLDOWN | MUX_MODE3)     /* mii1_rxd3.rgmii1_rd3 */
               0x1BC (PIN_INPUT_PULLDOWN | MUX_MODE3)     /* mii1_rxd2.rgmii1_rd2 */
               0x1C0 (PIN_INPUT_PULLDOWN | MUX_MODE3)     /* mii1_rxd1.rgmii1_rd1 */
               0x1C4 (PIN_INPUT_PULLDOWN | MUX_MODE3)     /* mii1_rxd0.rgmii1_rd0 */
        >;
        };
davinci_mdio_default: davinci_mdio_default {
                pinctrl-single,pins = <
                        /* MDIO */
                       0x240  (PIN_INPUT_PULLUP | MUX_MODE0)     /* mdio_data.mdio_data */
                       0x23C (PIN_OUTPUT_PULLUP | MUX_MODE0)                    /* mdio_clk.mdio_clk */
        
                >;
        };
/*other configs related to ethernet*/

&mac {
        pinctrl-names = "default", "sleep";
        pinctrl-0 = <&cpsw_default>;
        pinctrl-1 = <&cpsw_sleep>;

        status = "okay";
/*      active_slaves = <1>;*/
/*      dual_emac;*/
};

&davinci_mdio {
        pinctrl-names = "default", "sleep";
        compatible = "ti,cpsw-mdio", "ti,davinci_mdio";
        pinctrl-0 = <&davinci_mdio_default>;
        pinctrl-1 = <&davinci_mdio_sleep>;

        dp83867: ethernet-phy@8 {
                reg = <8>;
                ti,rx-internal-delay = <DP83867_RGMIIDCTL_4_00_NS>;
                ti,tx-internal-delay = <DP83867_RGMIIDCTL_4_00_NS>;
                ti,fifo-depth = <DP83867_PHYCR_FIFO_DEPTH_8_B_NIB>;
                ti,min-output-impedance;
                ti,dp83867-rxctrl-strap-quirk;

        };

};


&cpsw_emac0 {
        phy_id = <&davinci_mdio>, <8>;
        phy-mode = "rgmii-id";
};

Regards,

Murugan S

PROCESSOR-SDK-DRA7X: Error building yoctofile system, ./build-core-sdk.sh dra7xx-evm

$
0
0

Part Number: PROCESSOR-SDK-DRA7X

Hi,

    I am trying to install and build the Processor SDK Linux Automotive release on a Ubuntu host machine following the instructions from, http://processors.wiki.ti.com/index.php/DRA7xx_GLSDK_Software_Developers_Guide The Processor SDK Linux Automotive installer is ti-processor-sdk-linux-automotive-dra7xx-evm-5.00.00.01-installer.bin.

For building core sdk , I run the command './build-core-sdk.sh dra7xx-evm' from the folder "cd yocto-layers". But the build fails giving the following error:

ERROR: binutils-linaro-2.27-r2016.10 do_compile: oe_runmake failed
ERROR: binutils-linaro-2.27-r2016.10 do_compile: Function failed: do_compile (log file is located at /home/visionpc/ti-processor-sdk-linux-automotive-dra7xx-evm-5_00_00_01/yocto-layers/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/binutils/linaro-2.27-r2016.10/temp/log.do_compile.99628)
ERROR: Logfile of failure stored in: /home/visionpc/ti-processor-sdk-linux-automotive-dra7xx-evm-5_00_00_01/yocto-layers/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/binutils/linaro-2.27-r2016.10/temp/log.do_compile.99628

| /home/visionpc/ti-processor-sdk-linux-automotive-dra7xx-evm-5_00_00_01/yocto-layers/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/binutils/linaro-2.27-r2016.10/git/build.arm-linux-gnueabi.arm-linux-gnueabi/gold/../../gold/arm.cc:8319: undefined reference to `.LC129'
| /home/visionpc/ti-processor-sdk-linux-automotive-dra7xx-evm-5_00_00_01/yocto-layers/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/binutils/linaro-2.27-r2016.10/git/build.arm-linux-gnueabi.arm-linux-gnueabi/gold/../../gold/arm.cc:9231: undefined reference to `.LC125'
| /home/visionpc/ti-processor-sdk-linux-automotive-dra7xx-evm-5_00_00_01/yocto-layers/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/binutils/linaro-2.27-r2016.10/git/build.arm-linux-gnueabi.arm-linux-gnueabi/gold/../../gold/arm.cc:9231: undefined reference to `.LC125'
| /home/visionpc/ti-processor-sdk-linux-automotive-dra7xx-evm-5_00_00_01/yocto-layers/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/binutils/linaro-2.27-r2016.10/git/build.arm-linux-gnueabi.arm-linux-gnueabi/gold/../../gold/arm.cc:8626: undefined reference to `.LC128'
| /home/visionpc/ti-processor-sdk-linux-automotive-dra7xx-evm-5_00_00_01/yocto-layers/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/binutils/linaro-2.27-r2016.10/git/build.arm-linux-gnueabi.arm-linux-gnueabi/gold/../../gold/arm.cc:8626: undefined reference to `.LC128'
| /home/visionpc/ti-processor-sdk-linux-automotive-dra7xx-evm-5_00_00_01/yocto-layers/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/binutils/linaro-2.27-r2016.10/git/build.arm-linux-gnueabi.arm-linux-gnueabi/gold/../../gold/arm.cc:8485: undefined reference to `.LC126'
| /home/visionpc/ti-processor-sdk-linux-automotive-dra7xx-evm-5_00_00_01/yocto-layers/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/binutils/linaro-2.27-r2016.10/git/build.arm-linux-gnueabi.arm-linux-gnueabi/gold/../../gold/arm.cc:8485: undefined reference to `.LC126'
| /home/visionpc/ti-processor-sdk-linux-automotive-dra7xx-evm-5_00_00_01/yocto-layers/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/binutils/linaro-2.27-r2016.10/git/build.arm-linux-gnueabi.arm-linux-gnueabi/gold/../../gold/arm.cc:8727: undefined reference to `.LC130'
| /home/visionpc/ti-processor-sdk-linux-automotive-dra7xx-evm-5_00_00_01/yocto-layers/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/binutils/linaro-2.27-r2016.10/git/build.arm-linux-gnueabi.arm-linux-gnueabi/gold/../../gold/arm.cc:8727: undefined reference to `.LC130'
| arm.o: In function `(anonymous namespace)::Target_arm<true>::do_make_elf_object(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, gold::Input_file*, long long, elfcpp::Ehdr<32, true> const&)':
| /home/visionpc/ti-processor-sdk-linux-automotive-dra7xx-evm-5_00_00_01/yocto-layers/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/binutils/linaro-2.27-r2016.10/git/build.arm-linux-gnueabi.arm-linux-gnueabi/gold/../../gold/arm.cc:10740: undefined reference to `.LC140'
| /home/visionpc/ti-processor-sdk-linux-automotive-dra7xx-evm-5_00_00_01/yocto-layers/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/binutils/linaro-2.27-r2016.10/git/build.arm-linux-gnueabi.arm-linux-gnueabi/gold/../../gold/arm.cc:10740: undefined reference to `.LC140'
| arm.o: In function `(anonymous namespace)::Arm_relobj<true>::do_count_local_symbols(gold::Stringpool_template<char>*, gold::Stringpool_template<char>*)':
| /home/visionpc/ti-processor-sdk-linux-automotive-dra7xx-evm-5_00_00_01/yocto-layers/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/binutils/linaro-2.27-r2016.10/git/build.arm-linux-gnueabi.arm-linux-gnueabi/gold/../../gold/arm.cc:6499: undefined reference to `.LC142'
| /home/visionpc/ti-processor-sdk-linux-automotive-dra7xx-evm-5_00_00_01/yocto-layers/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/binutils/linaro-2.27-r2016.10/git/build.arm-linux-gnueabi.arm-linux-gnueabi/gold/../../gold/arm.cc:6499: undefined reference to `.LC142'
| /home/visionpc/ti-processor-sdk-linux-automotive-dra7xx-evm-5_00_00_01/yocto-layers/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/binutils/linaro-2.27-r2016.10/git/build.arm-linux-gnueabi.arm-linux-gnueabi/gold/../../gold/arm.cc:6491: undefined reference to `.LC141'
| /home/visionpc/ti-processor-sdk-linux-automotive-dra7xx-evm-5_00_00_01/yocto-layers/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/binutils/linaro-2.27-r2016.10/git/build.arm-linux-gnueabi.arm-linux-gnueabi/gold/../../gold/arm.cc:6491: undefined reference to `.LC141'
| arm.o: In function `(anonymous namespace)::Target_arm<false>::do_make_elf_object(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, gold::Input_file*, long long, elfcpp::Ehdr<32, false> const&)':
| /home/visionpc/ti-processor-sdk-linux-automotive-dra7xx-evm-5_00_00_01/yocto-layers/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/binutils/linaro-2.27-r2016.10/git/build.arm-linux-gnueabi.arm-linux-gnueabi/gold/../../gold/arm.cc:10740: undefined reference to `.LC140'
| /home/visionpc/ti-processor-sdk-linux-automotive-dra7xx-evm-5_00_00_01/yocto-layers/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/binutils/linaro-2.27-r2016.10/git/build.arm-linux-gnueabi.arm-linux-gnueabi/gold/../../gold/arm.cc:10740: undefined reference to `.LC140'
| arm.o: In function `(anonymous namespace)::Arm_relobj<false>::do_count_local_symbols(gold::Stringpool_template<char>*, gold::Stringpool_template<char>*)':
| /home/visionpc/ti-processor-sdk-linux-automotive-dra7xx-evm-5_00_00_01/yocto-layers/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/binutils/linaro-2.27-r2016.10/git/build.arm-linux-gnueabi.arm-linux-gnueabi/gold/../../gold/arm.cc:6499: undefined reference to `.LC142'
| /home/visionpc/ti-processor-sdk-linux-automotive-dra7xx-evm-5_00_00_01/yocto-layers/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/binutils/linaro-2.27-r2016.10/git/build.arm-linux-gnueabi.arm-linux-gnueabi/gold/../../gold/arm.cc:6499: undefined reference to `.LC142'
| /home/visionpc/ti-processor-sdk-linux-automotive-dra7xx-evm-5_00_00_01/yocto-layers/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/binutils/linaro-2.27-r2016.10/git/build.arm-linux-gnueabi.arm-linux-gnueabi/gold/../../gold/arm.cc:6491: undefined reference to `.LC141'
| /home/visionpc/ti-processor-sdk-linux-automotive-dra7xx-evm-5_00_00_01/yocto-layers/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/binutils/linaro-2.27-r2016.10/git/build.arm-linux-gnueabi.arm-linux-gnueabi/gold/../../gold/arm.cc:6491: undefined reference to `.LC141'
| arm.o: In function `_GLOBAL__sub_I_arm.cc':
| /home/visionpc/ti-processor-sdk-linux-automotive-dra7xx-evm-5_00_00_01/yocto| /home/visionpc/ti-processor-sdk-linux-automotive-dra7xx-evm-5_00_00_01/yocto-layers/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/binutils/linaro-2.27-r2016.10/git/build.arm-linux-gnueabi.arm-linux-gnueabi/gold/../../gold/arm.cc:8319: undefined reference to `.LC129'
| /home/visionpc/ti-processor-sdk-linux-automotive-dra7xx-evm-5_00_00_01/yocto-layers/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/binutils/linaro-2.27-r2016.10/git/build.arm-linux-gnueabi.arm-linux-gnueabi/gold/../../gold/arm.cc:9231: undefined reference to `.LC125'
| /home/visionpc/ti-processor-sdk-linux-automotive-dra7xx-evm-5_00_00_01/yocto-layers/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/binutils/linaro-2.27-r2016.10/git/build.arm-linux-gnueabi.arm-linux-gnueabi/gold/../../gold/arm.cc:9231: undefined reference to `.LC125'
| /home/visionpc/ti-processor-sdk-linux-automotive-dra7xx-evm-5_00_00_01/yocto-layers/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/binutils/linaro-2.27-r2016.10/git/build.arm-linux-gnueabi.arm-linux-gnueabi/gold/../../gold/arm.cc:8626: undefined reference to `.LC128'
| /home/visionpc/ti-processor-sdk-linux-automotive-dra7xx-evm-5_00_00_01/yocto-layers/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/binutils/linaro-2.27-r2016.10/git/build.arm-linux-gnueabi.arm-linux-gnueabi/gold/../../gold/arm.cc:8626: undefined reference to `.LC128'
| /home/visionpc/ti-processor-sdk-linux-automotive-dra7xx-evm-5_00_00_01/yocto-layers/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/binutils/linaro-2.27-r2016.10/git/build.arm-linux-gnueabi.arm-linux-gnueabi/gold/../../gold/arm.cc:8485: undefined reference to `.LC126'
| /home/visionpc/ti-processor-sdk-linux-automotive-dra7xx-evm-5_00_00_01/yocto-layers/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/binutils/linaro-2.27-r2016.10/git/build.-layers/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/binutils/linaro-2.27-r2016.10/git/build.arm-linux-gnueabi.arm-linux-gnueabi/gold/../../gold/arm.cc:12713: undefined reference to `.LC131'
| /home/visionpc/ti-processor-sdk-linux-automotive-dra7xx-evm-5_00_00_01/yocto-layers/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/binutils/linaro-2.27-r2016.10/git/build.arm-linux-gnueabi.arm-linux-gnueabi/gold/../../gold/arm.cc:12713: undefined reference to `.LC132'
| /home/visionpc/ti-processor-sdk-linux-automotive-dra7xx-evm-5_00_00_01/yocto-layers/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/binutils/linaro-2.27-r2016.10/git/build.arm-linux-gnueabi.arm-linux-gnueabi/gold/../../gold/arm.cc:12713: undefined reference to `.LC131'
| /home/visionpc/ti-processor-sdk-linux-automotive-dra7xx-evm-5_00_00_01/yocto-layers/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/binutils/linaro-2.27-r2016.10/git/build.arm-linux-gnueabi.arm-linux-gnueabi/gold/../../gold/arm.cc:12713: undefined reference to `.LC132'
| arm.o: In function `_GLOBAL__sub_I_arm.cc':
| /home/visionpc/ti-processor-sdk-linux-automotive-dra7xx-evm-5_00_00_01/yocto-layers/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/binutils/linaro-2.27-r2016.10/git/build.arm-linux-gnueabi.arm-linux-gnueabi/gold/../../gold/nacl.h:100: undefined reference to `.LC134'
| /home/visionpc/ti-processor-sdk-linux-automotive-dra7xx-evm-5_00_00_01/yocto-layers/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/binutils/linaro-2.27-r2016.10/git/build.arm-linux-gnueabi.arm-linux-gnueabi/gold/../../gold/nacl.h:100: undefined reference to `.LC134'
| /home/visionpc/ti-processor-sdk-linux-automotive-dra7xx-evm-5_00_00_01/yocto-layers/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/binutils/linaro-2.27-r2016.10/git/build.arm-linux-gnueabi.arm-linux-gnueabi/gold/../../gold/nacl.h:100: undefined reference to `.LC135'
| /home/visionpc/ti-processor-sdk-linux-automotive-dra7xx-evm-5_00_00_01/yocto-layers/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/binutils/linaro-2.27-r2016.10/git/build.arm-linux-gnueabi.arm-linux-gnueabi/gold/../../gold/nacl.h:100: undefined reference to `.LC135'
| arm.o: In function `_GLOBAL__sub_I_arm.cc':
| /home/visionpc/ti-processor-sdk-linux-automotive-dra7xx-evm-5_00_00_01/yocto-layers/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/binutils/linaro-2.27-r2016.10/git/build.arm-linux-gnueabi.arm-linux-gnueabi/gold/../../gold/arm.cc:12713: undefined reference to `.LC136'
| /home/visionpc/ti-processor-sdk-linux-automotive-dra7xx-evm-5_00_00_01/yocto-layers/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/binutils/linaro-2.27-r2016.10/git/build.arm-linux-gnueabi.arm-linux-gnueabi/gold/../../gold/arm.cc:12713: undefined reference to `.LC137'
| /home/visionpc/ti-processor-sdk-linux-automotive-dra7xx-evm-5_00_00_01/yocto-layers/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/binutils/linaro-2.27-r2016.10/git/build.arm-linux-gnueabi.arm-linux-gnueabi/gold/../../gold/arm.cc:12713: undefined reference to `.LC136'
| /home/visionpc/ti-processor-sdk-linux-automotive-dra7xx-evm-5_00_00_01/yocto-layers/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/binutils/linaro-2.27-r2016.10/git/build.arm-linux-gnueabi.arm-linux-gnueabi/gold/../../gold/arm.cc:12713: undefined reference to `.LC137'
| arm.o: In function `_GLOBAL__sub_I_arm.cc':
| /home/visionpc/ti-processor-sdk-linux-automotive-dra7xx-evm-5_00_00_01/yocto-layers/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/binutils/linaro-2.27-r2016.10/git/build.arm-linux-gnueabi.arm-linux-gnueabi/gold/../../gold/nacl.h:100: undefined reference to `.LC138'
| /home/visionpc/ti-processor-sdk-linux-automotive-dra7xx-evm-5_00_00_01/yocto-layers/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/binutils/linaro-2.27-r2016.10/git/build.arm-linux-gnueabi.arm-linux-gnueabi/gold/../../gold/nacl.h:100: undefined reference to `.LC139'
| /home/visionpc/ti-processor-sdk-linux-automotive-dra7xx-evm-5_00_00_01/yocto-layers/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/binutils/linaro-2.27-r2016.10/git/build.arm-linux-gnueabi.arm-linux-gnueabi/gold/../../gold/nacl.h:100: undefined reference to `.LC138'
| /home/visionpc/ti-processor-sdk-linux-automotive-dra7xx-evm-5_00_00_01/yocto-layers/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/binutils/linaro-2.27-r2016.10/git/build.arm-linux-gnueabi.arm-linux-gnueabi/gold/../../gold/nacl.h:100: undefined reference to `.LC139'
| arm.o: In function `_GLOBAL__sub_I_arm.cc':
| /home/visionpc/ti-processor-sdk-linux-automotive-dra7xx-evm-5_00_00_01/yocto-layers/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/binutils/linaro-2.27-r2016.10/git/build.arm-linux-gnueabi.arm-linux-gnueabi/gold/../../gold/arm.cc:13062: undefined reference to `.LC133'
| arm.o: In function `.LANCHOR0':
| arm.cc:(.rodata+0x1d64): undefined reference to `.LC160'
| arm.cc:(.rodata+0x1dac): undefined reference to `.LC161'
| arm.cc:(.rodata+0x1db0): undefined reference to `.LC162'
| arm.cc:(.rodata+0x1ed4): undefined reference to `.LC163'
| arm.cc:(.rodata+0x1f1c): undefined reference to `.LC161'
| arm.cc:(.rodata+0x1f20): undefined reference to `.LC162'
| arm.cc:(.rodata+0x1f3c): undefined reference to `.LC160'
| arm.cc:(.rodata+0x1f84): undefined reference to `.LC161'
| arm.cc:(.rodata+0x1f88): undefined reference to `.LC162'
| arm.o: In function `.LANCHOR2':
| arm.cc:(.rodata+0x20ac): undefined reference to `.LC163'
| arm.cc:(.rodata+0x20f4): undefined reference to `.LC161'
| arm.cc:(.rodata+0x20f8): undefined reference to `.LC162'
| arm.cc:(.rodata+0x3410): undefined reference to `.LC143'
| arm.cc:(.rodata+0x3414): undefined reference to `.LC144'
| arm.cc:(.rodata+0x341c): undefined reference to `.LC145'
| arm.cc:(.rodata+0x3420): undefined reference to `.LC146'
| arm.cc:(.rodata+0x3424): undefined reference to `.LC147'
| arm.cc:(.rodata+0x3428): undefined reference to `.LC148'
| arm.cc:(.rodata+0x342c): undefined reference to `.LC149'
| arm.cc:(.rodata+0x3430): undefined reference to `.LC150'
| arm.cc:(.rodata+0x3434): undefined reference to `.LC151'
| arm.cc:(.rodata+0x3438): undefined reference to `.LC152'
| arm.cc:(.rodata+0x343c): undefined reference to `.LC153'
| arm.cc:(.rodata+0x3440): undefined reference to `.LC154'
| arm.cc:(.rodata+0x3444): undefined reference to `.LC155'
| arm.cc:(.rodata+0x3448): undefined reference to `.LC156'
| arm.cc:(.rodata+0x344c): undefined reference to `.LC157'
| arm.cc:(.rodata+0x3450): undefined reference to `.LC158'
| arm.cc:(.rodata+0x3454): undefined reference to `.LC159'
| collect2: error: ld returned 1 exit status
| collect2: error: ld returned 1 exit status
| make[4]: *** [incremental-dump] Error 1
| make[4]: *** Waiting for unfinished jobs....
| make[4]: *** [ld-new] Error 1
| make[4]: Leaving directory `/home/visionpc/ti-processor-sdk-linux-automotive-dra7xx-evm-5_00_00_01/yocto-layers/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/binutils/linaro-2.27-r2016.10/git/build.arm-linux-gnueabi.arm-linux-gnueabi/gold'
| make[3]: *** [all-recursive] Error 1
| make[3]: Leaving directory `/home/visionpc/ti-processor-sdk-linux-automotive-dra7xx-evm-5_00_00_01/yocto-layers/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/binutils/linaro-2.27-r2016.10/git/build.arm-linux-gnueabi.arm-linux-gnueabi/gold'
| make[2]: *** [all] Error 2
| make[2]: Leaving directory `/home/visionpc/ti-processor-sdk-linux-automotive-dra7xx-evm-5_00_00_01/yocto-layers/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/binutils/linaro-2.27-r2016.10/git/build.arm-linux-gnueabi.arm-linux-gnueabi/gold'
| ERROR: oe_runmake failed
| make[1]: *** [all-gold] Error 2
| make[1]: Leaving directory `/home/visionpc/ti-processor-sdk-linux-automotive-dra7xx-evm-5_00_00_01/yocto-layers/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/binutils/linaro-2.27-r2016.10/git/build.arm-linux-gnueabi.arm-linux-gnueabi'
| make: *** [all] Error 2

AMIC110: SPI configuration

$
0
0

Part Number: AMIC110

Hi,

I was trying to configure spi1 on AMIC110.

And the register values are configured as follow.
CM_PER_SPI1_CLKCTRL = 0x00000002
conf_mii1_col = 0x0000002A (SPI1_SCLK)
conf_mii1_crs = 0x0000002A (SPI1_D0)
conf_mii1_rx_er = 0x0000002A (SPI1_D2)
conf_rmii_ref_clk = 0x0000002A (SPI1_CS0)
MCSPI_MODULCTRL = 0x00000000
MCSPI_CH0CONF = 0x001607CD
MCSPI_CH0CTRL = 0x00000001
I wrote some value to MCSPI_TX0 register directly, but data trasfer was not successful. CS pin and CLK pin were not responding according to oscilloscope measurement. 
Did I miss any critical steps?
Kind regards
Orient

How to flash QSPI/SPI flash(No SD-CARD) in AM572X Board?

$
0
0

Dear Sir,

Board-Custom AM5728 Board

QSPI Flash:-s25flxxxx

In my project no SD-Card and no eMMC only using QSPI flash and DDR3 memory. But how to load linux OS code to QSPI flash.

In Beagleboard X15 board through SD-Card they are loading into eMMC flash, But in my case no SD-Card eMMC then how to load the Linux OS?

i am thinking through CCSv7 we can load using OMPL138 NOR Flasher based on AM57xx.bin we can load any thing?

Please give me some suggestions,

Thanking you sir,

Regards,

Ramachandra

CCS/AM5718: SPI transfer issue

$
0
0

Part Number: AM5718

Tool/software: Code Composer Studio

Hiii,

We are using a custom board of AM5718 in which we have an ADC (ADC102s051) which we are configuring through MCSPI3.

Data word size : 16 bit

Mode : mode2 (POL = 1 PHA =0)

Bit Rate configuration : 400ksps

CCS version : CCS 7.4

PSDK Version : 4_03_00_05

For configuration we are using MCSPI driver function codes.

While probing we are able to see some output on Dout pin but while reading using McSPI_Transfer function, we always get the output as 0x00.

Can anyone please help us to resolve the issue ?

Thanks and regards

Arpita Jena

AM4376: Kernel boot fails on custom board

$
0
0

Part Number: AM4376

We have a target board with multiple AM4376 SOCs and I am trying to get zImage to boot on at least one of the SOCs using u-boot.  The following observations and debugging steps have been performed and the result is described below.

1) I am using an AM437x IDK EVM as the base for my target u0boot and zImage. 

u-boot is built, with modifications for the target, using board-support release version ===> u-boot-2018.01+gitAUTOINC+313dcd69c2-g313dcd69c2

zImage is built, using the default configuration for the AM437x, tisdk_am437x-evm_defconfig, using board-support release version =====> linux-4.14.79+gitAUTOINC+bde58ab01e-gbde58ab01e

The only modification to the zImage is to add debug print statements in main.c and setup.c (suggestions from other E2E and open source forums)

main.c/ start_kernel function looks like this:

asmlinkage __visible void __init start_kernel(void)
{
char *command_line;
char *after_dashes;

pr_info("start_kernel() 00\n");

set_task_stack_end_magic(&init_task);

pr_info("start_kernel() 01\n");

smp_setup_processor_id();

pr_info("start_kernel() 02\n");

debug_objects_early_init();

pr_info("start_kernel() 03\n");

cgroup_init_early();

pr_info("start_kernel() 04\n");

local_irq_disable();
early_boot_irqs_disabled = true;

/*
* Interrupts are still disabled. Do necessary setups, then
* enable them.
*/
boot_cpu_init();
page_address_init();
pr_notice("%s", linux_banner);
setup_arch(&command_line);

...

and setup.c / smp_setup_processor_id() looks like this:

void __init smp_setup_processor_id(void)
{
int i;
u32 mpidr = is_smp() ? read_cpuid_mpidr() & MPIDR_HWID_BITMASK : 0;
u32 cpu = MPIDR_AFFINITY_LEVEL(mpidr, 0);

pr_info("smp_setup_processor_id Start\n");

cpu_logical_map(0) = cpu;
for (i = 1; i < nr_cpu_ids; ++i)
cpu_logical_map(i) = i == cpu ? 0 : i;

/*sm
* clear __my_cpu_offset on boot CPU to avoid hang caused by
* using percpu variable early, for example, lockdep will
* access percpu variable inside lock_release
*/
set_my_cpu_offset(0);

pr_info("Booting Linux on physical CPU 0x%x\n", mpidr);

}

2) Booting zImage on the AM437x_IDK_EVM board boots as expected and outputs the debug messages as expected, here is the console output of the startups from u-boot.

U-Boot SPL 2018.01-00558-g8617e02-dirty (Jul 26 2019 - 15:03:35)
Trying to boot from eth device
Card did not respond to voltage select!
** Bad device mmc 0 **
Using default environment

<ethaddr> not set. Validating first E-fuse MAC
<ethaddr> set to CoreACE CPU A
CoreACE eth_env_set_enetaddr()
<ethaddr> set to CoreACE CPU A
CoreACE eth_env_set_enetaddr()
Could not get PHY for cpsw: addr 7
CoreACE eth_env_set_enetaddr()
cpsw, usb_ether
Error: usb_ether address not set.

Trying cpsw
FAIL
Trying usb_ether
using dwc3-gadget, OUT ep2out IN ep1in STATUS ep3in
MAC 00:00:00:0d:00:0a
HOST MAC de:ad:be:ef:00:00
RNDIS ready
The remote end did not respond in time.FAIL
Problem booting with BOOTP
SPL: RJP failed to boot from all boot devices
### ERROR ### Please RESET the board ###

U-Boot SPL 2018.01-00558-g8617e02-dirty (Jul 26 2019 - 14:56:16)
Trying to boot from eth device
Card did not respond to voltage select!
** Bad device mmc 0 **
Using default environment

<ethaddr> not set. Validating first E-fuse MAC
<ethaddr> set to CoreACE CPU A
CoreACE eth_env_set_enetaddr()
<ethaddr> set to CoreACE CPU A
CoreACE eth_env_set_enetaddr()
CoreACE eth_env_set_enetaddr()
cpsw, usb_ether
Error: usb_ether address not set.

Trying cpsw
cpsw Waiting for PHY auto negotiation to complete... done
link up on port 0, speed 100, full duplex
BOOTP broadcast 1
BOOTP broadcast 2
BOOTP broadcast 3
DHCP client bound to address 192.168.1.21 (1270 ms)
Using cpsw device
TFTP from server 192.168.1.9; our IP address is 192.168.1.21
Filename 'u-boot.img'.
Load address: 0x82000000
Loading: #################################################################
#######################################################
840.8 KiB/s
done
Bytes transferred = 611400 (95448 hex)


U-Boot 2018.01-00558-g8617e02-dirty (Jul 26 2019 - 14:56:16 -0400)

CPU : AM437X-GP rev 1.2
Model: TI AM437x CoreACE Rev 0.00
DRAM: 1 GiB
PMIC: TPS62362
NAND: 0 MiB
MMC: OMAP SD/MMC: 0
MMC: no card present
** Bad device mmc 0 **
Using default environment

Net: <ethaddr> not set. Validating first E-fuse MAC
<ethaddr> set to CoreACE CPU A
CoreACE eth_env_set_enetaddr()
<ethaddr> set to CoreACE CPU A
CoreACE eth_env_set_enetaddr()
<ethaddr> set to CoreACE CPU A
CoreACE eth_env_set_enetaddr()
CoreACE eth_env_set_enetaddr()
cpsw, usb_ether
Hit any key to stop autoboot: 0
MMC: no card present
MMC: no card present
MMC: no card present
MMC: no card present
Booting from network ...
Trying cpsw
link up on port 0, speed 100, full duplex
BOOTP broadcast 1
DHCP client bound to address 192.168.1.21 (5 ms)
Trying cpsw
link up on port 0, speed 100, full duplex
Using cpsw device
TFTP from server 192.168.1.9; our IP address is 192.168.1.21
Filename 'zImage'.
Load address: 0x82000000
Loading: #################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
############################################
854.5 KiB/s
done
Bytes transferred = 3883520 (3b4200 hex)
Trying cpsw
link up on port 0, speed 100, full duplex
Using cpsw device
TFTP from server 192.168.1.9; our IP address is 192.168.1.21
Filename 'am437x-idk-evm.dtb'. <============ Using am437x-idk-evm devicetree
Load address: 0x88000000
Loading: ##########
899.4 KiB/s
done
Bytes transferred = 46974 (b77e hex)
## Flattened Device Tree blob at 88000000
Booting using the fdt blob at 0x88000000
Loading Device Tree to 8fff1000, end 8ffff77d ... OK

Starting kernel ...

[ 0.000000] start_kernel() 00 <============ Debug pr_info() in start_kernel()
[ 0.000000] start_kernel() 01 <============ Debug pr_info() in start_kernel()
[ 0.000000] smp_setup_processor_id Start <============ Debug pr_info() in smp_setup_processor_id()
[ 0.000000] Booting Linux on physical CPU 0x0 <============ Standard pr_info() in smp_setup_processor_id()
[ 0.000000] start_kernel() 02 <============ Debug pr_info() in start_kernel()
[ 0.000000] start_kernel() 03 <============ Debug pr_info() in start_kernel()
[ 0.000000] start_kernel() 04 <============ Debug pr_info() in start_kernel()
[ 0.000000] Linux version 4.14.79-gbde58ab01e (root@dev-vbox) (gcc version 7.2.1 20171011 (Linaro GCC 7.2-2017.11)) #17 PREEMPT Fri Jul 26 15:53:41 EDT 2019
[ 0.000000] CPU: ARMv7 Processor [412fc09a] revision 10 (ARMv7), cr=10c53c7d
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[ 0.000000] OF: fdt: Machine model: TI AM437x Industrial Development Kit
[ 0.000000] Memory policy: Data cache writeback
[ 0.000000] efi: Getting EFI parameters from FDT:
[ 0.000000] efi: UEFI not found.

3) Booting zImage on our Target SOC u-boot loads zImage to RAM but not debug messages are output, here is the console output of the startup from u-boot on the target:

U-Boot SPL 2018.01-00558-g8617e02-dirty (Jul 26 2019 - 15:03:35)
Trying to boot from eth device
** No partition table - mmc 0 **
Using default environment

<ethaddr> not set. Validating first E-fuse MAC
<ethaddr> set to CoreACE CPU A
CoreACE eth_env_set_enetaddr()
<ethaddr> set to CoreACE CPU A
CoreACE eth_env_set_enetaddr()
CoreACE eth_env_set_enetaddr()
cpsw, usb_ether
Error: usb_ether address not set.

Trying cpsw
cpsw Waiting for PHY auto negotiation to complete.... done
link up on port 0, speed 100, half duplex
BOOTP broadcast 1
BOOTP broadcast 2
BOOTP broadcast 3
DHCP client bound to address 192.168.1.21 (1058 ms)
Using cpsw device
TFTP from server 192.168.1.9; our IP address is 192.168.1.21
Filename 'u-boot.img'.
Load address: 0x82000000
Loading: #################################################################
#######################################################
727.5 KiB/s
done
Bytes transferred = 611400 (95448 hex)


U-Boot 2018.01-00558-g8617e02-dirty (Jul 26 2019 - 15:03:35 -0400)

CPU : AM437X-GP rev 1.2
Model: TI AM437x CoreACE Rev 0.00
DRAM: 1 GiB
Can't find PMIC:TPS62362
NAND: 0 MiB
MMC: OMAP SD/MMC: 0
MMC: no card present
** Bad device mmc 0 **
Using default environment

Net: <ethaddr> not set. Validating first E-fuse MAC
<ethaddr> set to CoreACE CPU A
CoreACE eth_env_set_enetaddr()
<ethaddr> set to CoreACE CPU A
CoreACE eth_env_set_enetaddr()
<ethaddr> set to CoreACE CPU A
CoreACE eth_env_set_enetaddr()
CoreACE eth_env_set_enetaddr()
cpsw, usb_ether
Hit any key to stop autoboot: 0
MMC: no card present
MMC: no card present
MMC: no card present
MMC: no card present
Booting from network ...
Trying cpsw
cpsw Waiting for PHY auto negotiation to complete. done
link up on port 0, speed 100, half duplex
BOOTP broadcast 1
DHCP client bound to address 192.168.1.21 (6 ms)
Trying cpsw
link up on port 0, speed 100, full duplex
Using cpsw device
TFTP from server 192.168.1.9; our IP address is 192.168.1.21
Filename 'zImage'.
Load address: 0x82000000
Loading: #################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
############################################
724.6 KiB/s
done
Bytes transferred = 3883520 (3b4200 hex)
Trying cpsw
link up on port 0, speed 100, half duplex
Using cpsw device
TFTP from server 192.168.1.9; our IP address is 192.168.1.21
Filename 'am437x-idk-evm.dtb'.
Load address: 0x88000000
Loading: ##########
705.1 KiB/s
done
Bytes transferred = 46974 (b77e hex)
## Flattened Device Tree blob at 88000000
Booting using the fdt blob at 0x88000000
Loading Device Tree to 8fff1000, end 8ffff77d ... OK

Starting kernel ... <============= Last message printed by U-boot
<============= Target board does not get to start_kernel()?????

I think our target is having issue at a much lower point in the boot process than main.c, perhaps in Init.S or at the _start vector?  I do have an XDS560 emulator connected to the target using CCS, when I am connected to the CortexA9 and pause debugging I stop in the address range 0xC01023C0, but I have not been able to load symbols for zImage to see what function/tag this is in the source?  Perhaps, help with loading symbols may reveal more details?

Also, it is not clear what could be different from the EVM to the our Target? The EVM uses an AM4379 while our target is AM4376. The devicetree for the am437x-idk-evem is referencing targets in the AM437x and AM4372 family so I am not sure is need to make an update there?  

Any direction you can give in debugging this boot issue is most welcome, I continue to look for samples on what to debug before Linux enters main.c and have not found anything yet.  

Thanks in advance,

Rob

Compiler/TMS320C6654: parmbuf seems to be leaked

$
0
0

Part Number: TMS320C6654

Tool/software: TI C/C++ Compiler

Hi,

I'm implementing my signal processing on c6654.

In the process, I found that parmbuf leaked to later area. Please check the attached.

if powOutput2 and powInput2 are nothing, adjust_gain is overwritten. I regards this as leakage but is it correct?

When does this situation happen and what is the reason? What or who uses parmbuf?

I'm sorry, I can hardly submit my source code. please tell me if you can't  judge by this only.

regards,

CCS/AM3359: EtherCAT Alias ID

$
0
0

Part Number: AM3359

Tool/software: Code Composer Studio

Hi, there.

I have an AM3359ICE and J-Link Debugger.

I want to know how to set alias id.

Could I set alias id to rotary switch?

However, changing the rotary switch does not change the Alias ID.


Thank you in advance.

Viewing all 17527 articles
Browse latest View live