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.

DRA7xxx GLSDK 6.10.00.02 booting issue.

Hello,

I have Spectrum Digital VAYU EVM(X5777) with 10.1' touch display. I tried to boot it with GLSDK 6.10.00.02.

But it stuck at the following point and I am not getting prompt after it.

[ 12.469083] Waiting for root device /dev/mmcblk1p2...
[ 12.507146] (stk) : timed out waiting for ldisc to be un-installed
[ 12.619983] (stk) :ldisc_install = 1(stk) :ldisc installation timeout
[ 13.615003] (stk) :ldisc_install = 0(stk) : timed out waiting for ldisc to be un-installed
[ 14.718750] (stk) :ldisc_install = 1(stk) :ldisc installation timeout
[ 15.715141] (stk) :ldisc_install = 0(stk) : timed out waiting for ldisc to be un-installed
[ 16.818917] (stk) :ldisc_install = 1(stk) :ldisc installation timeout
[ 17.815370] (stk) :ldisc_install = 0(stk) : timed out waiting for ldisc to be un-installed
[ 18.919056] (stk) :ldisc_install = 1(stk) :ldisc installation timeout
[ 19.915420] (stk) :ldisc_install = 0(stk) : timed out waiting for ldisc to be un-installed
[ 21.019172] (stk) :ldisc_install = 1(stk) :ldisc installation timeout
[ 22.015560] (stk) :ldisc_install = 0(stk) : timed out waiting for ldisc to be un-installed
[ 23.014807] Bluetooth: st_register failed -22
[ 70.654539] remoteproc0: failed to load dra7-dsp1-fw.xe66
[ 70.660361] remoteproc1: failed to load dra7-ipu2-fw.xem4
[ 70.666464] remoteproc2: failed to load dra7-dsp2-fw.xe66
[ 70.672281] remoteproc3: failed to load dra7-ipu1-fw.xem4

Please help on this.

I have attached full log of booting.7652.log.txt

  • Hi Vaibhav,

    It seems that your ducaty & tesla firmware is not loading.

    Do you use customized kernel, or the prebuilt images that come with the GLSDK? 

    Best Regards,
    Yordan

  • Hi Yordan,

    I am using prebuilt images only.

  • Hi Vaibhav,

    There shouldn't be such issue then.  GLSDK6_10 works fine on my side. 

    A couple of thoughts:

    1. Are you using 12-V (7A) DC power supply, right?

    2. Can you try rebuilding your kernel as described here: http://processors.wiki.ti.com/index.php/DRA7xx_GLSDK_Software_Developers_Guide#Creating_your_own_Linux_kernel_image and see if it will fix your issue. Maybe your prebuilt images were somehow damaged.

    NOTE: you should export the environment variables (PATH=<path to gcc-linaro-arm-linux-gnueabihf-4.7-2013.03-20130313_linux cross compiler>/bin:$PATH, CROSS_COMPILE = <path to gcc cross compiler>/bin/arm-linux-gnueabihf-  and ARCH = arm) before issuing make commands. 

    3. If the freshly built kernel image doesn't work, try to enable CONFIG_DEBUG_LL=y CONFIG_EARLY_PRINTK=y CONFIG_OMAP_LL_DEBUG_UART1=y in your .config file & then rebuilt the kernel.

     This should provide some additional debug output, which could help analyzing the issue. 

    Best Regards, 

    Yordan

  • Hi Yordan,

    1. I am using 12V(5A) DC power supply, that comes with evm only.

    2. I rebuilded kernel, but still I got stuck at same point.

    3. I enable these in .config file. Please find attached file.6746.log_printk_enable.txt

    Swtich setting on my evm are

    SYSBOOT - SW2&3 [0-15] = 11100000 10000001

    SW5 [1-10] = 0001100000

    SW8 [0-1] = 11

    Please share your binaries, so that I can verify with them.

  • Hi Yordan,

    I check the same sd card/binary with different revision of same board.

    It's working fine on Rev E1 & G1.

    My board's revision is either G2/G3. (I am not able to read it. Please find attached snapshot). On which I am facing issue.

  • Hi Vaibhav,

    I see, rev G board will not boot with the prebuilt binaries.

    You need to apply some patches related to booting rev. G boards. Here are the patches needed:
    http://processors.wiki.ti.com/index.php/DRA7xx_GLSDK_6.10.00.02_Post-release_Updates

    See the Defect Fixes and Patch Updates table, especially the patches in Rev G and 10 lcd panel support  

    Best Regards,

    Yordan

  • Hi Yordan,

    I applied the patches of "Rev G and 10 lcd panel support".

    Following are the result of these changes.

    1] It failed with SW5[1-10] = 0001100000 on Hard Reset (by unplgging-plugging power jack).

    2] It succeeded with SW5[1-10] = 0001100000 on Soft Reset(by pressing PWR_Reset Push Button).

    3] It succeeded with SW5[1-10] = 0010100000 on both Hard & Soft Reset.

    What are the settings of SW5??

    I have attached logs for all scenario described above for reference.

    6786.log_sw5_0001100000_failure.txt

    4572.log_sw5_0001100000_success.txt

    3566.log_sw5_0010100000.txt

  • Hi Yordan,

    Please update on this.

  • Hi Vaibhav,

    It depends on your boot preferences. As I understand you boot from SD Card, so your settings should be as presented in DRA7xx Quick Start Guide: http://downloads.ti.com/dsps/dsps_public_sw/glsdk/latest/exports/DRA7xx_EVM_Quick_Start_Guide.pdf

    Best Regards,

    Yordan

  • For other boot preferences I advise you to check: http://processors.wiki.ti.com/index.php/DRA7xx_GLSDK_Software_Developers_Guide#Booting_EVM_with_different_modes


    Best Regards,

    Yordan

  • Yordan,

    I have exactly the same problem with rev G1:

    I made the appropriate patches for the 10.1" screen manually. The build works fine with the rev E2 10.1" screen but does not work with the rev G1 board.

    I am including the end of the console output during the boot which never completes:

    [   13.223505] Waiting for root device /dev/mmcblk1p2...                      
    [   13.238031] omap-hdmi-audio omap-hdmi-audio: snd_soc_register_card failed ()
    [   13.245883] platform omap-hdmi-audio: Driver omap-hdmi-audio requests probel
    [   13.368502] (stk) : timed out waiting for ldisc to be un-installed         
    [   13.481334] (stk) :ldisc_install = 1(stk) :ldisc installation timeout      
    [   14.476357] (stk) :ldisc_install = 0(stk) : timed out waiting for ldisc to d
    [   15.580158] (stk) :ldisc_install = 1(stk) :ldisc installation timeout      
    [   16.576490] (stk) :ldisc_install = 0(stk) : timed out waiting for ldisc to d
    [   17.680300] (stk) :ldisc_install = 1(stk) :ldisc installation timeout      
    [   18.676632] (stk) :ldisc_install = 0(stk) : timed out waiting for ldisc to d
    [   19.780445] (stk) :ldisc_install = 1(stk) :ldisc installation timeout      
    [   20.776778] (stk) :ldisc_install = 0(stk) : timed out waiting for ldisc to d
    [   21.880584] (stk) :ldisc_install = 1(stk) :ldisc installation timeout      
    [   22.876926] (stk) :ldisc_install = 0(stk) : timed out waiting for ldisc to d
    [   23.876147] Bluetooth: st_register failed -22                              
    [   71.515973]  remoteproc0: failed to load dra7-dsp1-fw.xe66                 
    [   71.521819]  remoteproc1: failed to load dra7-ipu2-fw.xem4                 
    [   71.527658]  remoteproc2: failed to load dra7-dsp2-fw.xe66                 
    [   71.533657]  remoteproc3: failed to load dra7-ipu1-fw.xem4                 

    I did a diff with the original (non-patched) GLSDK 6.10.00.02 and there was no different in the console output (except timestamps which I stripped using sed).

    On the G1 rev board the patched version did bring up the display (the Linux Tux Penguin) is displayed correctly while the unpatched version keeps cycling between colors.

    Any help would be very useful.

    Best regards,

    Javad
  • Hi Javad,

    Javad Hashtroudian said:
    On the G1 rev board the patched version did bring up the display (the Linux Tux Penguin) is displayed correctly while the unpatched version keeps cycling between colors.

    This is to be expected, as I said kernel needs to be patched in order to bring up the display.

    Also I am not sure what your question is? Is it that you cannot boot your rev G board (boot screen stuck on the above remoteproc messages?
    If so then check the post release uptades wiki: http://processors.wiki.ti.com/index.php/DRA7xx_GLSDK_6.10.00.02_Post-release_Updates

    In the row Rev G and 10 lcd panel support there are some kernel & patches that need to be applied in order to boot rev G boards with GLSDK6_10:

    Kernel (patches merged)
    http://review.omapzoom.org/#/c/35821/
    http://review.omapzoom.org/#/c/35822/
    http://review.omapzoom.org/#/c/35823/
    U-Boot (patches merged)
    http://review.omapzoom.org/#/c/35829/

    Best Regards,

    Yordan

  • Hi Yordan

    I already applied those patches. They work fine on 10.1" screen on rev E2 board but fail (boot stops where I show above) with G1 board.

    In case of GLSDK 06.00.002 I applied similar post release patches and that works fine with our rev G1 board (as well as older 8" boards (except the screen size is wrong - because of fewer pixels in 8" screen).

    Best regards,

    Javad
  • Hi Javad,

    Officially rev G boards are not supported with GLSDK6_10, this is a limitaion of the release (see http://processors.wiki.ti.com/index.php/DRA7xx_GLSDK_6.10.00.02_Release_Notes#Limitations).
    However I had feedback of ctms that were able to boot the board, by applying the u-boot & kernel patches above...

    Can you confirm what is your sys boot configuration (SW2 , SW3 and SW5 )? It should be as described in the Quick Start Guide: http://downloads.ti.com/dsps/dsps_public_sw/glsdk/latest/exports/DRA7xx_EVM_Quick_Start_Guide.pdf

    Best Regards,
    Yordan

  • Hi Yordan,


    Thank you. I will go back to using 6.04.00.02 which is working fine on our 10.1" rev G boards.

    Best regards,

    Javad

  • Hi,

       I am also using the rev G board and I have applied the patches my switch setting are

    SW5 0001100000

    SW2 1110000000

    SW8 11

    but still I get I get

      12.421958] Waiting for root device /dev/mmcblk1p2...
    [   12.565595] (stk) : timed out waiting for ldisc to be un-installed
    [   12.678442] (stk) :ldisc_install = 1(stk) :ldisc installation timeout
    [   13.673450] (stk) :ldisc_install = 0(stk) : timed out waiting for ldisc to be un-installed
    [   14.777232] (stk) :ldisc_install = 1(stk) :ldisc installation timeout
    [   15.773678] (stk) :ldisc_install = 0(stk) : timed out waiting for ldisc to be un-installed
    [   16.877366] (stk) :ldisc_install = 1(stk) :ldisc installation timeout
    [   17.873818] (stk) :ldisc_install = 0(stk) : timed out waiting for ldisc to be un-installed
    [   18.977501] (stk) :ldisc_install = 1(stk) :ldisc installation timeout
    [   19.973928] (stk) :ldisc_install = 0(stk) : timed out waiting for ldisc to be un-installed
    [   21.077643] (stk) :ldisc_install = 1(stk) :ldisc installation timeout
    [   22.074074] (stk) :ldisc_install = 0(stk) : timed out waiting for ldisc to be un-installed
    [   23.073260] Bluetooth: st_register failed -22
    [   70.494072]  remoteproc0: failed to load dra7-dsp1-fw.xe66
    [   70.653223]  remoteproc1: failed to load dra7-ipu2-fw.xem4
    [   70.659048]  remoteproc2: failed to load dra7-dsp2-fw.xe66
    [   70.665042]  remoteproc3: failed to load dra7-ipu1-fw.xem4

    am I missing some ting please let me know.

    Thanks.