This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Linux/TDA2EVM5777: How to get prebuilt zImage's .config?

Part Number: TDA2EVM5777

Tool/software: Linux

Hi Expert,

I used following prebuilt on VAYU EVM XC5777X CPU Board.

downloads.ti.com/.../index_FDS.html
boot-dra7xx-evm.tar.gz、arago-glsdk-multimedia-image-dra7xx-evm.tar.gz (GLSDK 7_03_00_03)

System response:

root@dra7xx-evm:~# lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
root@dra7xx-evm:~# dmesg | grep -i dwc3
[ 6.123869] dwc3 48890000.usb: otg: primary host xhci-hcd.0.auto registered
[ 6.133057] dwc3 48890000.usb: otg: shared host xhci-hcd.0.auto registered
[ 6.140091] dwc3 48890000.usb: otg: can't start till gadget registers
[ 6.322619] dwc3 48890000.usb: otg: gadget gadget registered

 

And used following.

Vision SDK v02.09.00 Linux User Guide.pdf
Clone kernel(glsdk-7.03.00.03)
$> git clone git://git.omapzoom.org/kernel/omap.git
$> git checkout -b kernel_dev 84bfe0e20dd2593212cba68edfbd49a2b23b8975

When the compilation is finished only copy the zImage to the SD card.

But system response:

root@dra7xx-evm:~# lsusb
unable to initialize libusb: -99
root@dra7xx-evm:~# dmesg | grep -i dwc3
(nothing!)

Why dwc3 did not start?

The zImage of Prebuilt and clone kerne are different,
How to get prebuilt zImage's .config?

  • Hi,

    when you have the prebuilt image running on the board can you check if there is /proc/config.gz - this file should contain the .config of the running kernel.

    Regards,
    Yordan
  • Hi,

    I zact the /proc/config.gz

    replace .config and make zImage on ../ti-glsdk_dra7xx-evm_7_03_00_03/board-support/linux

    but the resoult is different as prebuilt image.

    What should I do?

  • Hi,

    I have pinged VisionSDK experts for further help.

    Regards,
    Yordan
  • Hi
    Is there any reason for you to use Vision SDK v02.09.00 (which uses Linux 3.14 kernel and we have limitted support on this)
    Can you move to lastest VSDK 3.1 (you can download from ti.com)
    software-dl.ti.com/.../index_FDS.html
    And refer \vision_sdk\docs\Linux\VisionSDK_Linux_UserGuide.pdf to clone Kernel, uboot etc., to build and run VSDK linux

    regards, Shiju
  • Hi,

    I move to lastest VSDK 3.1.

    But the zImage results is different.

    copy > PROCESSOR_SDK_VISION_03_01_00_00/ti_components/os_tools/linux/kernel/omap/arch/arm/boot/zImage

    root@dra7xx-evm:~# lsusb
    unable to initialize libusb: -99


    copy > PROCESSOR_SDK_VISION_03_01_00_00/ti_components/os_tools/linux/targetfs/boot/zImage

    root@dra7xx-evm:~# lsusb
    Bus 002 Device 001: ID 1d6b:0003 Linux Foundation
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation

    Try the following but no improvement.

    ../PROCESSOR_SDK_VISION_03_01_00_00/ti_components/os_tools/linux/kernel/omap
    make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- distclean
    make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- ti_sdk_dra7x_release_defconfig
    make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- zImage

    or

    zcat /proc/config.gz > config
    replace to ./omap.

    How to get correct zImage's .config?
    (targetfs/boot/zImage)

  • Hello
    Sorry I did not get what you are trying to do.
    Fisrt of all, we do not share the prebuilt Kernel, Uboot images for Vision SDK. The repo has some prebuilt version for processor SDK Linux, (not for vision SDK). So you need to rebuild linux, by following the steps in user guide.

    regards, Shiju
  • Hi,

    I mean when I compile zImage,
    (../PROCESSOR_SDK_VISION_03_01_00_00/ti_components/os_tools/linux/kernel/omap/arch/arm/boot/zImage)
    replace rootfs/boot/zImage of SD card.
    'unable to initialize libusb: -99' issue occur on EVM.