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.

Android bootup Screen not getting displayed.

Hi,

We are trying to port Android Gingerbread on Beagleboard-Xm.

We are getting error

" pvrsrvkm: disagrees about version of symbol module_layout
  omaplfb: disagrees about version of symbol module_layout   "

in terminal.

and logcat message as.

7725.logcat_.txt

 

  • Hi,

    1. Kindly rebuild sgx with the kernel you are using or modifying.. This is a classic problem with any kernel module which is built seperately.

    BR,

    satish

  • Hi Satish,

    Kindly please help to rebuild sgx.

    Thanks & Regards,

    Nobel

  • Hi Satish,

    I tried the steps mention in the site

    http://processors.wiki.ti.com/index.php/TI-Android-GingerBread-2.3.4-DevKit-2.1_DeveloperGuide#Filesystem_with_SGX

    but I am still getting same issue. While building we are getting error as

      Image arch/arm/boot/uImage is ready
    make[1]: Leaving directory `/home/nobel/TI_Android_GingerBread_2_3_4Sources/kernel'
    make -C hardware/ti/sgx ANDROID_ROOT_DIR=/home/nobel/TI_Android_GingerBread_2_3_4Sources TOOLS_PREFIX=prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/arm-eabi-
    make[1]: Entering directory `/home/nobel/TI_Android_GingerBread_2_3_4Sources/hardware/ti/sgx'
    building the sgx kernel modules...
    make[2]: Entering directory `/home/nobel/TI_Android_GingerBread_2_3_4Sources/hardware/ti/sgx/eurasiacon/build/linux2/omap_android'
      Building modules, stage 2.
      MODPOST 2 modules
    make[2]: Leaving directory `/home/nobel/TI_Android_GingerBread_2_3_4Sources/hardware/ti/sgx/eurasiacon/build/linux2/omap_android'
    copying the sgx kernel modules to /home/nobel/TI_Android_GingerBread_2_3_4Sources/hardware/ti/sgx/gfx_rel_es5.x_android
    building devmem2...
    make -C /home/nobel/TI_Android_GingerBread_2_3_4Sources/hardware/ti/sgx/tools/devmem2 && make -C /home/nobel/TI_Android_GingerBread_2_3_4Sources/hardware/ti/sgx/tools/devmem2 install
    make[2]: Entering directory `/home/nobel/TI_Android_GingerBread_2_3_4Sources/hardware/ti/sgx/tools/devmem2'
    make[2]: `Obj/devmem2' is up to date.
    make[2]: Leaving directory `/home/nobel/TI_Android_GingerBread_2_3_4Sources/hardware/ti/sgx/tools/devmem2'
    make[2]: Entering directory `/home/nobel/TI_Android_GingerBread_2_3_4Sources/hardware/ti/sgx/tools/devmem2'
    copying devmem2 to /home/nobel/TI_Android_GingerBread_2_3_4Sources/hardware/ti/sgx/gfx_rel_es5.x_android
    cp ./Obj/devmem2 /home/nobel/TI_Android_GingerBread_2_3_4Sources/hardware/ti/sgx/gfx_rel_es5.x_android
    make[2]: Leaving directory `/home/nobel/TI_Android_GingerBread_2_3_4Sources/hardware/ti/sgx/tools/devmem2'
    make[1]: Leaving directory `/home/nobel/TI_Android_GingerBread_2_3_4Sources/hardware/ti/sgx'
    make -C hardware/ti/sgx ANDROID_ROOT_DIR=/home/nobel/TI_Android_GingerBread_2_3_4Sources TOOLS_PREFIX=prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/arm-eabi- install
    make[1]: Entering directory `/home/nobel/TI_Android_GingerBread_2_3_4Sources/hardware/ti/sgx'

    Installing PowerVR Consumer/Embedded DDK 1.7.17.4352 on host

    File system installation root is /home/nobel/TI_Android_GingerBread_2_3_4Sources/out/target/product/beagleboard/

    Uninstalling existing version 1.7.17.4352
    Uninstallation completed.
    boot script rc.pvr -> /system/bin/sgx/rc.pvr
    kernel module pvrsrvkm.ko -> /system/bin/sgx/pvrsrvkm.ko
    kernel module omaplfb.ko -> /system/bin/sgx/omaplfb.ko

    Thanks & Regards,

    Nobel.

  • Hi Nobel

    for cleaning sgx do : $make ARCH=arm CROSS_COMPILE=arm-eabi- TARGET_PRODUCT=beagleboard OMAPES=5.x sgx_clean

    then build it again : $make ARCH=arm CROSS_COMPILE=arm-eabi- TARGET_PRODUCT=beagleboard OMAPES=5.x

    Thanks

    Faisal Hassan

  • Hi,

    Still we are facing same issue.

    during build it shows,

    " Installation complete!

     make[1]: Leaving directory `/home/nobel/TI_Android_GingerBread_2_3_4Sources/hardware/ti/sgx' "

    8875.gingerbread_build_error.txt

    In logcat it shows,

    " # enabling adb
    adb_open
    pvrsrvkm: disagrees about version of symbol module_layout
    omaplfb: disagrees about version of symbol module_layout  "

    Thanks & Regards,

    Nobel.

  • Hi Nobel,

    One more quick check

    1. Are you replacing new kernel image also ? Because SGX & Kernel images should be same as what has been build...

    If you are still facing that problem...send us

    1. which kernel r u using ? link

    -

    satish

  • Hi Satish,

    We downloaded Android Gingerbread source from

     http://software-dl.ti.com/dsps/dsps_public_sw/sdo_tii/TI_Android_DevKit/TI_Android_GingerBread_2_3_4_DevKit_2_1/index_FDS.html

    we are using kernel present in TI android gingerbread source directory.

    FYI we are using U-boot, x-loader, MLO from the source directory. We are getting unclear joined multiple android logo during system start and system getting struck with an error below.

    pvrsrvkm: disagrees about version of symbol module_layout
    omaplfb: disagrees about version of symbol module_layout

    during build, it shows

    Installation complete!

    make[1]: Leaving directory `/home/nobel/TI_Android_GingerBread_2_3_4Sources/hardware/ti/sgx'

    0576.gingerbread_build_error.txt

    Kindly help us to fix the issuse.

    Thanks & Regards,

    Nobel.

  • Hi Nobel,

               Please make sure that you are replacing the newly built uImage in place of old one. If you still see the problem, please check if  "KERNEL_INSTALL_DIR" is pointing to right kernel sources in Rules.make file present in harware/ti/sgx dir and rebuild SGX.

     

    Regards,

    Aditya

     

  • Hi,

    Work fine with beagleboard-Xm Pre-built Image downloaded from

    http://software-dl.ti.com/dsps/dsps_public_sw/sdo_tii/TI_Android_DevKit/TI_Android_GingerBread_2_3_4_DevKit_2_1/index_FDS.html

    and also work fine with a modification of root filesystem in Filesystem directory

    Kindly help us to build uImage for android gingerbread.

    Thanks & Regards,

    Nobel

  • Hi Nobel,

     Did you try the below steps as suggested in the previous post?  Could you please update what happens if you try?

    >>Please make sure that you are replacing the newly built uImage in place of old one. If you still see the problem, please check if  "KERNEL_INSTALL_DIR" is pointing to right kernel sources in Rules.make file present in harware/ti/sgx dir and rebuild SGX.

     

    Regards,

    Aditya

  • Hi Nobel,

    If you want to modify the kernel and build uImage; download the source from android repository

    Use repo and clone the android gingerbread and try.

    repo download

      $ mkdir rowboat-android
      $ cd rowboat-android
      $ repo init -u git://gitorious.org/rowboat/manifest.git -m <Manifest>
      $ repo sync
    Thanks,
    Faisal Hassan

     

  • Hi Aditya,

    We checked KERNEL_INSTALL_DIR in Rules.make present in harware/ti/sgx. It displayed correct path for kernel.

    System got stuck during android boot,.

    Texas Instruments X-Loader 1.51 (Jul 11 2011 - 21:11:32)
    Unsupported Chip!
    Beagle xM Rev A
    Starting X-loader on MMC
    Reading boot sector

    213256 Bytes Read from MMC
    Starting OS Bootloader from MMC...
    Starting OS Bootloader...


    U-Boot 2010.06 (Jul 08 2011 - 04:37:45)

    OMAP34xx/35xx-GP ES2.0, CPU-OPP2 L3-165MHz
    OMAP3 Beagle board + LPDDR/NAND
    I2C:   ready
    DRAM:  384 MiB
    NAND:  HW ECC [Kernel/FS layout] selected
    0 MiB
    *** Warning - bad CRC or NAND, using default environment

    In:    serial
    Out:   serial
    Err:   serial
    Beagle xM Rev A/C
    Die ID #5b2c00011ff0000001592f3502006018
    Hit any key to stop autoboot:  0
    mmc1 is available
    reading boot.scr

    486 bytes read
    Running bootscript from mmc ...
    ## Executing script at 82000000
    reading uImage

    2747004 bytes read
    ***** Kernel: /dev/mmcblk0p1/uImage *****
    ***** RootFS: /dev/mmcblk0p2 *****
    ## Booting kernel from Legacy Image at 80200000 ...
       Image Name:   Linux-2.6.37-g06ebbba-dirty
       Image Type:   ARM Linux Kernel Image (uncompressed)
       Data Size:    2746940 Bytes = 2.6 MiB
       Load Address: 80008000
       Entry Point:  80008000
       Verifying Checksum ... OK
       Loading Kernel Image ... OK
    OK

    Starting kernel ...

    Uncompressing Linux... done, booting the kernel.

    system hang here.

    We use below step to build RootFS and uImage.

    root@Ubundu-Android:/home/nobel/TI_Android_GingerBread_2_3_4Sources# echo $PATH

    /home/nobel/TI_Android_GingerBread_2_3_4Sources/prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin:/usr/local/bin/jdk1.6.0_26/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games

    we use the below step to build.

     $ make ARCH=arm CROSS_COMPILE=arm-eabi- TARGET_PRODUCT=beagleboard OMAPES=5.x -j2

    8666.build_process.txt

    Thanks & Regards,

    Nobel

  • Hi Nobel,

            Could you please let me know the bootargs used on the platform?  I guess this might have happened because you are not setting console value correctly in bootargs.

    Regards,

    Aditya

     

     

  • the same problem whit android4.1.2 with am335x.

    give me some help .