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 4.3 and AM37X

Hi, TIers

As we all know that Google has released the newest Android version 4.3, but TI have not updated the Andrdoid support for AM37x for a long time.

Android 4.3 have some new features, is it possible to running Android 4.3 on AM37x platform?

Does Linux 2.6.37 on AM37x can support Android 4.3?  SGX for AM37x in Android ICS version can be used to Android 4.3?

hope for your reply.

Thanks a lot.

  • Hi,

    We don't have any plans to support JB 4.3 on AM37x platform.

    Regards,

    Pankaj Bharadiya

  • Thanks Pankaj.

    Would you pls give me some suggestions if I want to port JB4.3 to AM37x.

    In fact, I just want to make sure whether Linux 2.6.37 and SGX for ICS can be used on JB4.3?

    If you can help me to make sure, that will be very appreciated.

    Thanks

  • Hi,

    I think you can use AM37x Linux 2.6.37 available on rowboat, but some of the Android features may not work (need to investigate on this). You can not use ICS SGX directly, You will need SGX libraries which are built with JB 4.3 sources.

    Please go ahead with porting and let us know if you face any issues.

    Regards,

    Pankaj Bharadiya

  • Hi, Pankaj

    I have port 2.6.37 to JB 4.3 source.

    The following step is what I do:

    1.  Download

    ANDROIDEVKIT-JB-AM335X:
    Android Jelly Bean 4.2.2 - Dev Kit for AM335x and install it.

    2. remove the kernel from the ANDROIDEVKIT-JB-AM335X ,and move our 2.6.37 kernel to  ANDROIDEVKIT-JB-AM335X 

    3. create neccesary files under devices/ti/  directory

    4. Build android fs with make -j8 TARGET_PRODUCT=omap3evm OMAPES=5.x

    after finishing the building,  I make an sdcard to boot our board.

    The following information is what I got from the serial console:

    [    5.160064] mmc2: new SDIO card at address 0001
    [    5.231689] init: cannot open '/initlogo.rle'
    [    5.243255] fs_mgr: Error parsing mount_flags
    [    5.247833] init: fs_mgr_mount_all returned an error
    [    5.306854] init: cannot find '/system/etc/install-recovery.sh', disabling 'flash_recovery'
    [    5.364593] Compat-wireless backport release: ol_R5.SP3.03
    [    5.370330] Backport based on wl12xx.git ol_R5.SP3.03
    [    5.763153] cfg80211: Calling CRDA to update world regulatory domain
    [    5.815246] Unable to handle kernel NULL pointer dereference at virtual address 00000000
    [    5.823730] pgd = de99c000
    [    5.826538] [00000000] *pgd=00000000
    [    5.830261] Internal error: Oops: 5 [#1]
    [    5.834350] last sysfs file: /sys/devices/platform/mmci-omap-hs.0/mmc_host/mmc0/mmc0:0007/block/mmcblk0/queue/read_ahead_kb
    [    5.845947] Modules linked in: omaplfb(+) cfg80211 pvrsrvkm compat
    [    5.852386] CPU: 0    Not tainted  (2.6.37 #3)
    [    5.857116] PC is at AllocateDeviceID+0xc/0x54 [pvrsrvkm]
    [    5.862762] LR is at PVRSRVRegisterDCDeviceKM+0xfc/0x188 [pvrsrvkm]
    [    5.869262] pc : [<bf0158f8>]    lr : [<bf011590>]    psr: 40000013
    [    5.869293] sp : de9a7e28  ip : de9a7e38  fp : de9a7e34
    [    5.881225] r10: 00000000  r9 : 00000258  r8 : 00258000
    [    5.886657] r7 : 00000000  r6 : de95e87c  r5 : de95e804  r4 : 00000000
    [    5.893432] r3 : de8125c0  r2 : 00000001  r1 : de8125c8  r0 : 00000000
    [    5.900238] Flags: nZcv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment user
    [    5.907653] Control: 10c5387d  Table: 9e99c019  DAC: 00000015
    [    5.913635]
    [    5.913635] SP: 0xde9a7da8:
    [    5.918090] 7da8  c05088fc c05082b0 c0071d80 c0071c74 de9a7dd4 de9a7dc8 ffffffff de9a7e14
    [    5.926605] 7dc8  de95e87c 00000000 de9a7e34 de9a7de0 c0509eec c00411c4 00000000 de8125c8
    [    5.935150] 7de8  00000001 de8125c0 00000000 de95e804 de95e87c 00000000 00258000 00000258
    [    5.943695] 7e08  00000000 de9a7e34 de9a7e38 de9a7e28 bf011590 bf0158f8 40000013 ffffffff
    [    5.952209] 7e28  de9a7e5c de9a7e38 bf011590 bf0158f8 de898300 de8125c0 de95e800 00000000
    [    5.960754] 7e48  00000000 de80ec00 de9a7eac de9a7e60 bf079e14 bf0114a0 fffffffc 00000000
    [    5.969299] 7e68  00000000 00800000 de9a7e8c de9a7e80 c00b0654 c00b04ec de9a7eb4 bf07af90
    [    5.977813] 7e88  bf07e000 00000000 bf07afd8 00000001 00000024 0000001c de9a7ebc de9a7eb0
    [    5.986358]
    [    5.986358] IP: 0xde9a7db8:
    [    5.990814] 7db8  de9a7dd4 de9a7dc8 ffffffff de9a7e14 de95e87c 00000000 de9a7e34 de9a7de0
    [    5.999328] 7dd8  c0509eec c00411c4 00000000 de8125c8 00000001 de8125c0 00000000 de95e804
    [    6.007873] 7df8  de95e87c 00000000 00258000 00000258 00000000 de9a7e34 de9a7e38 de9a7e28
    [    6.016418] 7e18  bf011590 bf0158f8 40000013 ffffffff de9a7e5c de9a7e38 bf011590 bf0158f8
    [    6.024932] 7e38  de898300 de8125c0 de95e800 00000000 00000000 de80ec00 de9a7eac de9a7e60
    [    6.033477] 7e58  bf079e14 bf0114a0 fffffffc 00000000 00000000 00800000 de9a7e8c de9a7e80
    [    6.042022] 7e78  c00b0654 c00b04ec de9a7eb4 bf07af90 bf07e000 00000000 bf07afd8 00000001
    [    6.050537] 7e98  00000024 0000001c de9a7ebc de9a7eb0 bf07e010 bf0799bc de9a7ef4 de9a7ec0
    [    6.059082]
    [    6.059082] FP: 0xde9a7db4:
    [    6.063507] 7db4  c0071c74 de9a7dd4 de9a7dc8 ffffffff de9a7e14 de95e87c 00000000 de9a7e34
    [    6.072052] 7dd4  de9a7de0 c0509eec c00411c4 00000000 de8125c8 00000001 de8125c0 00000000
    [    6.080596] 7df4  de95e804 de95e87c 00000000 00258000 00000258 00000000 de9a7e34 de9a7e38
    [    6.089111] 7e14  de9a7e28 bf011590 bf0158f8 40000013 ffffffff de9a7e5c de9a7e38 bf011590
    [    6.097656] 7e34  bf0158f8 de898300 de8125c0 de95e800 00000000 00000000 de80ec00 de9a7eac
    [    6.106201] 7e54  de9a7e60 bf079e14 bf0114a0 fffffffc 00000000 00000000 00800000 de9a7e8c
    [    6.114746] 7e74  de9a7e80 c00b0654 c00b04ec de9a7eb4 bf07af90 bf07e000 00000000 bf07afd8
    [    6.123260] 7e94  00000001 00000024 0000001c de9a7ebc de9a7eb0 bf07e010 bf0799bc de9a7ef4
    [    6.131805]
    [    6.131805] R1: 0xde812548:
    [    6.136230] 2548  00000000 00000000 00000000 00000000 00000006 00000000 70000001 0000b728
    [    6.144775] 2568  0000b728 0000b728 00000638 00000638 00000004 00000004 6474e552 0000ea38
    [    6.153320] 2588  0000fa38 0000fa38 000005c8 000005c8 00000006 00000004 00000000 00000000
    [    6.161834] 25a8  00000000 00000000 00000000 00000000 00000000 00000000 00000009 00000001
    [    6.170379] 25c8  00000000 00000000 00000000 00000001 00000000 00000000 00000000 00000000
    [    6.178924] 25e8  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
    [    6.187438] 2608  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
    [    6.195983] 2628  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
    [    6.204498]
    [    6.204528] R3: 0xde812540:
    [    6.208953] 2540  6474e551 00000000 00000000 00000000 00000000 00000000 00000006 00000000
    [    6.217498] 2560  70000001 0000b728 0000b728 0000b728 00000638 00000638 00000004 00000004
    [    6.226013] 2580  6474e552 0000ea38 0000fa38 0000fa38 000005c8 000005c8 00000006 00000004
    [    6.234558] 25a0  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
    [    6.243103] 25c0  00000009 00000001 00000000 00000000 00000000 00000001 00000000 00000000
    [    6.251617] 25e0  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
    [    6.260162] 2600  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
    [    6.268707] 2620  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
    [    6.277221]
    [    6.277221] R5: 0xde95e784:
    [    6.281677] e784  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
    [    6.290191] e7a4  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
    [    6.298736] e7c4  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
    [    6.307281] e7e4  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
    [    6.315795] e804  00000000 00000000 00000000 00000000 00000000 de95e800 00000200 de95e820
    [    6.324340] e824  de95e820 bf07a124 00000000 9f800000 e1000000 00000000 00000000 00000000
    [    6.332855] e844  00000038 bf011494 bf0113d0 bf01db74 bf0182bc bf0181f8 bf01812c bf010ec0
    [    6.341400] e864  bf015330 00000000 bf010e88 bf0113ac bf010ea4 bf011394 00000048 bf0797f0
    [    6.349945]
    [    6.349945] R6: 0xde95e7fc:
    [    6.354370] e7fc  00000000 00000000 00000000 00000000 00000000 00000000 00000000 de95e800
    [    6.362915] e81c  00000200 de95e820 de95e820 bf07a124 00000000 9f800000 e1000000 00000000
    [    6.371459] e83c  00000000 00000000 00000038 bf011494 bf0113d0 bf01db74 bf0182bc bf0181f8
    [    6.379974] e85c  bf01812c bf010ec0 bf015330 00000000 bf010e88 bf0113ac bf010ea4 bf011394
    [    6.388519] e87c  00000048 bf0797f0 bf079000 bf079014 bf079130 bf079058 bf07918c bf0791d0
    [    6.397064] e89c  bf0794e8 bf07940c bf079088 bf07909c bf0790b0 bf0790c4 bf0792f8 bf0790d8
    [    6.405578] e8bc  bf0793c0 00000000 00800000 00258000 00258000 00000400 00000258 00001000
    [    6.414123] e8dc  0000005a 00000036 9f800000 e1000000 00000014 00000000 00000000 00000000
    [    6.422668] Process insmod (pid: 1135, stack limit = 0xde9a62f0)
    [    6.428924] Stack: (0xde9a7e28 to 0xde9a8000)
    [    6.433441] 7e20:                   de9a7e5c de9a7e38 bf011590 bf0158f8 de898300 de8125c0
    [    6.441955] 7e40: de95e800 00000000 00000000 de80ec00 de9a7eac de9a7e60 bf079e14 bf0114a0
    [    6.450469] 7e60: fffffffc 00000000 00000000 00800000 de9a7e8c de9a7e80 c00b0654 c00b04ec
    [    6.458984] 7e80: de9a7eb4 bf07af90 bf07e000 00000000 bf07afd8 00000001 00000024 0000001c
    [    6.467498] 7ea0: de9a7ebc de9a7eb0 bf07e010 bf0799bc de9a7ef4 de9a7ec0 c00413b8 bf07e00c
    [    6.476013] 7ec0: bf07af90 00000000 de898380 bf07afd8 bf07af90 00000000 de898380 bf07afd8
    [    6.484527] 7ee0: 00000001 00000024 de9a7fa4 de9a7ef8 c00a5c78 c0041304 bf07af9c 00000000
    [    6.493041] 7f00: c00a31c4 00000000 00000000 000000c0 bf07b0b0 c0513358 c0109ec0 c0678f04
    [    6.501556] 7f20: 00000000 00000000 00000000 00000000 00000000 00000000 e08dc000 00004840
    [    6.510070] 7f40: e08deb38 e08dea64 e08e0040 de8125c0 00002150 00002710 00000000 00000000
    [    6.518585] 7f60: 00000014 00000015 0000000c 0000000a 00000009 00000000 00004840 4110d020
    [    6.527099] 7f80: 00004840 4009bce0 00000080 c004b3c8 de9a6000 00000000 00000000 de9a7fa8
    [    6.535614] 7fa0: c004b220 c00a4434 4110d020 00004840 4110d020 00004840 befc7704 00000000
    [    6.544128] 7fc0: 4110d020 00004840 4009bce0 00000080 befc7c84 befc7b84 00000002 befc7b7c
    [    6.552642] 7fe0: 4009be0c befc7678 40083e8f 40188dcc 60000010 4110d020 00000000 00000000
    [    6.561157] Backtrace:
    [    6.563781] [<bf0158ec>] (AllocateDeviceID+0x0/0x54 [pvrsrvkm]) from [<bf011590>] (PVRSRVRegisterDCDeviceKM+0xfc/0x188 [pvrsrvkm])
    [    6.576019] [<bf011494>] (PVRSRVRegisterDCDeviceKM+0x0/0x188 [pvrsrvkm]) from [<bf079e14>] (OMAPLFBInit+0x464/0x60c [omaplfb])
    [    6.587890]  r7:de80ec00 r6:00000000 r5:00000000 r4:de95e800
    [    6.593811] [<bf0799b0>] (OMAPLFBInit+0x0/0x60c [omaplfb]) from [<bf07e010>] (OMAPLFB_Init+0x10/0x34 [omaplfb])
    [    6.604309] [<bf07e000>] (OMAPLFB_Init+0x0/0x34 [omaplfb]) from [<c00413b8>] (do_one_initcall+0xc0/0x194)
    [    6.614288] [<c00412f8>] (do_one_initcall+0x0/0x194) from [<c00a5c78>] (sys_init_module+0x1850/0x1a40)
    [    6.623962]  r9:00000024 r8:00000001 r7:bf07afd8 r6:de898380 r5:00000000
    [    6.630767] r4:bf07af90
    [    6.633514] [<c00a4428>] (sys_init_module+0x0/0x1a40) from [<c004b220>] (ret_fast_syscall+0x0/0x30)
    [    6.642913] Code: e89da830 e1a0c00d e92dd800 e24cb004 (e5902000)
    [    6.649322] ---[ end trace e5ce89d014bcbb24 ]---
    [    6.654144] Kernel panic - not syncing: Fatal exception
    [    6.659576] Backtrace:
    [    6.662139] [<c004f588>] (dump_backtrace+0x0/0x110) from [<c0503580>] (dump_stack+0x18/0x1c)
    [    6.670928]  r6:00000001 r5:de9a6000 r4:c06e60a8 r3:60000113
    [    6.676849] [<c0503568>] (dump_stack+0x0/0x1c) from [<c0503768>] (panic+0x5c/0x180)
    [    6.684844] [<c050370c>] (panic+0x0/0x180) from [<c004fa10>] (die+0x2c4/0x318)
    [    6.692352]  r3:00000001 r2:de9a7bd8 r1:c06e64e8 r0:c05fd4f9
    [    6.698272]  r7:bf0158fa
    [    6.700927] [<c004f74c>] (die+0x0/0x318) from [<c05035e0>] (__do_kernel_fault.part.3+0x5c/0x7c)
    [    6.709991] [<c0503584>] (__do_kernel_fault.part.3+0x0/0x7c) from [<c050be2c>] (do_page_fault.part.4+0x260/0x278)
    [    6.720703]  r7:00000000 r3:de9a7de0
    [    6.724426] [<c050bbcc>] (do_page_fault.part.4+0x0/0x278) from [<c050be98>] (do_page_fault+0x54/0x60)
    [    6.734039] [<c050be44>] (do_page_fault+0x0/0x60) from [<c050bec8>] (do_translation_fault+0x24/0xa8)
    [    6.743560]  r6:00000000 r5:c069c41c r4:00000005 r3:00000000
    [    6.749481] [<c050bea4>] (do_translation_fault+0x0/0xa8) from [<c00411f4>] (do_DataAbort+0x3c/0xa0)
    [    6.758911]  r7:de9a7de0 r6:00000000 r5:c069c41c r4:00000005
    [    6.764831] [<c00411b8>] (do_DataAbort+0x0/0xa0) from [<c0509eec>] (__dabt_svc+0x4c/0x60)
    [    6.773345] Exception stack(0xde9a7de0 to 0xde9a7e28)
    [    6.778625] 7de0: 00000000 de8125c8 00000001 de8125c0 00000000 de95e804 de95e87c 00000000
    [    6.787139] 7e00: 00258000 00000258 00000000 de9a7e34 de9a7e38 de9a7e28 bf011590 bf0158f8
    [    6.795654] 7e20: 40000013 ffffffff
    [    6.799285]  r7:00000000 r6:de95e87c r5:de9a7e14 r4:ffffffff
    [    6.805267] [<bf0158ec>] (AllocateDeviceID+0x0/0x54 [pvrsrvkm]) from [<bf011590>] (PVRSRVRegisterDCDeviceKM+0xfc/0x188 [pvrsrvkm])
    [    6.817565] [<bf011494>] (PVRSRVRegisterDCDeviceKM+0x0/0x188 [pvrsrvkm]) from [<bf079e14>] (OMAPLFBInit+0x464/0x60c [omaplfb])
    [    6.829437]  r7:de80ec00 r6:00000000 r5:00000000 r4:de95e800
    [    6.835357] [<bf0799b0>] (OMAPLFBInit+0x0/0x60c [omaplfb]) from [<bf07e010>] (OMAPLFB_Init+0x10/0x34 [omaplfb])
    [    6.845886] [<bf07e000>] (OMAPLFB_Init+0x0/0x34 [omaplfb]) from [<c00413b8>] (do_one_initcall+0xc0/0x194)
    [    6.855865] [<c00412f8>] (do_one_initcall+0x0/0x194) from [<c00a5c78>] (sys_init_module+0x1850/0x1a40)
    [    6.865539]  r9:00000024 r8:00000001 r7:bf07afd8 r6:de898380 r5:00000000
    [    6.872375] r4:bf07af90
    [    6.875091] [<c00a4428>] (sys_init_module+0x0/0x1a40) from [<c004b220>] (ret_fast_syscall+0x0/0x30)

    From this information, I think it need newer sgx ddk support to work with JB4.3, is that right?

    Can you give me some help?

    Thanks

  • Hi,

    For time being please try booting without sgx libraries. Refer to below wiki for more details.

    http://processors.wiki.ti.com/index.php/TI-Android-JB-4.2.2-DevKit-4.1.1_DeveloperGuide#Filesystem_without_SGX

    We will push JB 4.3 sources on rowboat with Beaglebone support shortly.

    Stay tuned for further updates.

    Regards,

    Pankaj Bharadiya

  • Hi,Pankaj

    I have tried to build entire android system with build command with SGX Removed!

    Then I boot the board with the new build files, I can see Android logo on my screen. So it can be sure that the SGX sources needs to be updated for AM37XX to make it work to JB 4.3?