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.

am335x android4.0.3 lcd not work

 time consuminghello ti:

our company want to use am335x in the bank product. i am in charge of hardware and lcd drive.

the software source  i used is TI-Android-ICS-4.0.3-DevKit-3.0.1,all of the setps is follow the  http://processors.wiki.ti.com/index.php/TI-Android-ICS-4.0.3-DevKit-3.0.1_DevelopersGuide

the hardware i used is beaglebone A5

when i build the u-boot and android kernel, ,the filesystem i used is the prebuilt by ti, then i put them into the sd to start the system.while the serial printf as belows:

root@android:/ # [    4.383392] Disabling lock debugging due to kernel taint
[    4.543609] omaplfb: OMAPLFBInitFBDev: Device 0: Unknown FB format
[    5.031250] init: untracked pid 61 exited
[    8.998962] init: untracked pid 104 exited
[   13.380523] init: untracked pid 119 exited
[   18.770111] init: untracked pid 126 exited
[   24.160858] init: untracked pid 133 exited
[   28.549530] init: untracked pid 140 exited
[   33.940765] init: untracked pid 147 exited
[   39.329406] init: untracked pid 154 exited
[   43.717651] init: untracked pid 161 exited
[   49.100830] init: untracked pid 168 exited
[   53.499908] init: untracked pid 175 exited
[   58.890594] init: untracked pid 182 exited
[   64.280517] init: untracked pid 189 exited
[   68.666534] init: untracked pid 196 exited

i think it because of the filesystem and the  kernel is not compatible.so i rebuilt the filesystem,while i follow steps by ti.

$ make TARGET_PRODUCT=<product-name> OMAPES=4.x -j<N>
so there is a problem i want to ask, i use the vmware with ubuntu 10.04 .my host is  dual core machine,while the vmware's total processor is 1, so i use 
$ make TARGET_PRODUCT=beaglebone OMAPES=4.x -j2
to built the filesystem,it's  time consuming ,almost take me about 7hours ,while there has a problem in the last. i don't know why?
when i cd /home/android/TI-Android-ICS-4.0.3_AM335x_3.0.1/out/target/product/beaglebone/boot/  it shows as belows: 
 
 
while there is nothing in the data or dev or proc or sbin ,and i put the filesystem and kernel and u-boot into the sd. power on the seril printf as:
[    1.980194] VFS: Mounted root (ext4 filesystem) on device 179:2.
[    1.986907] Freeing init memory: 236K
[    1.992553] Failed to execute /init.  Attempting defaults...
[    2.001495] Kernel panic - not syncing: No init found.  Try passing init= opt
ion to kernel. See Linux Documentation/init.txt for guidance.
[    2.014495] Backtrace:
[    2.017089] [<c001803c>] (dump_backtrace+0x0/0x10c) from [<c04d52b8>] (dump_s
tack+0x18/0x1c)
[    2.025878]  r7:00000013 r6:c00406f0 r5:c06f5090 r4:c06f5090
[    2.031860] [<c04d52a0>] (dump_stack+0x0/0x1c) from [<c04d5320>] (panic+0x64/
0x198)
[    2.039855] [<c04d52bc>] (panic+0x0/0x198) from [<c0008818>] (init_post+0x84/
0xd4)
[    2.047760]  r3:fffffffe r2:00000012 r1:00000080 r0:c05c3340
[    2.053680] [<c0008794>] (init_post+0x0/0xd4) from [<c06602fc>] (kernel_init+
0xf4/0x124)
[    2.062133]  r5:c069adac r4:c06f4080
[    2.065887] [<c0660208>] (kernel_init+0x0/0x124) from [<c00406f0>] (do_exit+0
x0/0x6ac)
i just want to use the beaglebone to drive the lcd.
so my questions is :
1.whether the filesystem and android kernel is rebuilt in the same pc..
2.why i follow the setps but there has some problem when i built the filesystem
3.should i use
$ make TARGET_PRODUCT=beaglebone OMAPES=4.x -j2 or
$ make TARGET_PRODUCT=beaglebone OMAPES=4.x -j4
i use the vmware with ubuntu 10.04 .my host is  dual core machine,while the vmware's total processor is 1
i will be very thankful if you help me to solve the problem,thank you very much.
  • Hi Huang,

    1. First I would recommend to check release with prebuilt images. Just to ensure that there is nothing wrong with the h/w

    2. They follow the guide "http://processors.wiki.ti.com/index.php/BeagleBone-Android-DevKit_Guide#Building_Source_Code"

    Let us know which errror are you getting after build is complete.

    For you -j4 option should work

    BR,

    satish

  • Hello, yongliang huang.

    I would like to report of my success case for Android-ics-4.0.3-DevKit-3.0.1 boot.

    I have encountered same error on my AM3358EVM like below.
    [    1.980194] VFS: Mounted root (ext4 filesystem) on device 179:2.
    [    1.986907] Freeing init memory: 236K
    [    1.992553] Failed to execute /init.  Attempting defaults...
    [    2.001495] Kernel panic - not syncing: No init found.  Try passing init= option to kernel. See Linux Documentation/init.txt for guidance.

    When I checked linux boot log, I noticed the uEnv.txt is not applied on bootargs.
    Starting kernel ...

    Uncompressing Linux... done, booting the kernel.
    [    0.000000] Linux version 3.2.0-gb02ab39 (x0029463@psplinux052) (gcc version 4.4.3 (GCC) ) #1 Wed Apr 11 14:03:37 IST 2012
    [    0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c53c7d
    [    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
    [    0.000000] Machine: am335xevm
    [    0.000000] Memory policy: ECC disabled, Data cache writeback
    [    0.000000] AM335X ES1.0 (sgx neon )
    [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 65024
    [    0.000000] Kernel command line: console=ttyO0,115200n8 root=/dev/mmcblk0p2 rw rootfstype=ext3 rootwait ip=none

    So, I have set bootargs manually on u-boot like below.
    U-Boot# setenv bootargs console=ttyO0,115200n8 androidboot.console=ttyO0 mem=256M root=/dev/mmcblk0p2 rw rootfstype=ext4 rootwait init=/init ip=off
    U-Boot# setenv bootcmd 'mmc rescan ; fatload mmc 0 82000000 uImage ; bootm 82000000'
    U-Boot# setenv uenvcmd 'boot'

    After that, I have completed booting.
    If you have encountered same problem, try this.

    Best regards,
    RY