Quantcast
Channel: Forums - Recent Threads
Viewing all articles
Browse latest Browse all 262198

am335x porting problem

$
0
0

We make a custom AM335x board , it reference AM335x EVM.

 

        what difference between TI AM335x EVM and our custom AM335x  board.

 

                              TI AM335x EVM         custom AM335x board

 

        ETH                 may be grmii               MII

 

        WIFI                 wl127x                   No wifi  No BT NO CAN

 

      other is same.

 

        And We have run it in the custom board ,follow TI-Android-ICS-4.0.3-DevKit-3.0.1 DeveloperGuide.

        download TI-Android-ICS-4.0.3_AM335x_3.0.1.bin,and make TARGET_PRODUCT=am335xevm OMAPES=2.x -j.

 

        When we port android os on our custom AM335x board,it can show the word "android", but can't display other after this.

 

        So I do logcat to an file.

 

         it show many error,such as :

 

[    3.954498] android_usb: already disabled

[    3.959747] adb_bind_config

[    4.719085] adb_open

root@android:/ # [   14.360717] warning: `zygote' uses 32-bit capabilities (legacy support in use)

[   18.377502] request_suspend_state: wakeup (3->0) at 18375250763 (2000-01-01 00:00:17.104171292 UTC)

[   19.133605] acc_open

[   19.135925] acc_release

[   20.259643] BUG: Bad page state in process JDWP  pfn:89177

[   20.265502] page:c0893ee0 count:-1 mapcount:0 mapping:  (null) index:0x0

[   20.272491] page flags: 0x0()

[   20.275573] Modules linked in: compat(O)

[   20.279693] Backtrace:

[   20.282287] [<c001803c>] (dump_backtrace+0x0/0x10c) from [<c044dfcc>] (dump_stack+0x18/0x1c)

[   20.291076]  r7:00000000 r6:c0608198 r5:c0657968 r4:c0893ee0

[   20.297088] [<c044dfb4>] (dump_stack+0x0/0x1c) from [<c0081148>] (bad_page+0xb0/0x110)

[   20.305358] [<c0081098>] (bad_page+0x0/0x110) from [<c0082950>] (get_page_from_freelist+0x440/0x50c)

[   20.314910]  r7:00000000 r6:c06330b0 r5:00000018 r4:00000001

[   20.320831] [<c0082510>] (get_page_from_freelist+0x0/0x50c) from [<c0082c20>] (__alloc_pages_nodemask+0xe8/0x62c)

[   20.331542] [<c0082b38>] (__alloc_pages_nodemask+0x0/0x62c) from [<c0093604>] (do_wp_page+0xc0/0x710)

[   20.341186] [<c0093544>] (do_wp_page+0x0/0x710) from [<c0093f48>] (handle_pte_fault+0x2f4/0x5f0)

[   20.350372] [<c0093c54>] (handle_pte_fault+0x0/0x5f0) from [<c00946b8>] (handle_mm_fault+0x90/0xc0)

[   20.359832] [<c0094628>] (handle_mm_fault+0x0/0xc0) from [<c045195c>] (do_page_fault+0x1b0/0x228)

[   20.369110] [<c04517ac>] (do_page_fault+0x0/0x228) from [<c0008448>] (do_DataAbort+0x3c/0xa4)

[   20.378021] [<c000840c>] (do_DataAbort+0x0/0xa4) from [<c0450238>] (__dabt_usr+0x38/0x40)

[   20.386566] Exception stack(0xcf39bfb0 to 0xcf39bff8)

[   20.391815] bfa0:                                     00000001 00000040 00131da0 0000b000

[   20.400360] bfc0: 0019ffc0 400d64c8 00168478 00000010 00168500 400d6498 58e9eecc 00000001

[   20.408905] bfe0: 00000012 58e9ee18 400a0010 400a174a 20000030 ffffffff

[   20.415802]  r7:00000010 r6:ffffffff r5:20000030 r4:400a174a

[   20.434417] Unable to handle kernel NULL pointer dereference at virtual address 00000000

[   20.442871] pgd = c0004000

[   20.445678] [00000000] *pgd=00000000

[   20.449401] Internal error: Oops: 17 [#1]

[   20.453582] Modules linked in: compat(O)

[   20.457672] CPU: 0    Tainted: G    B      O  (3.2.0-gb02ab39-dirty #80)

[   20.464691] PC is at __wake_up_bit+0x10/0x3c

[   20.469146] LR is at unlock_page+0x6c/0x70

[   20.473419] pc : [<c00562e0>]    lr : [<c007c7a0>]    psr: 20000193

[   20.473419] sp : cfb5ddf8  ip : cfb5de10  fp : cfb5de0c

[   20.485382] r10: 00000000  r9 : 00000000  r8 : 000b6a21

[   20.490814] r7 : cf881640  r6 : 00000001  r5 : cf881640  r4 : 000002d8

[   20.497619] r3 : 9e370001  r2 : 00000000  r1 : c0881fe0  r0 : 00000000

[   20.504425] Flags: nzCv  IRQs off  FIQs on  Mode SVC_32  ISA ARM  Segment kernel

[   20.512145] Control: 10c5387d  Table: 8f13c019  DAC: 00000015

[   20.518127]

[   20.518127] PC: 0xc0056260:

[   20.522583] 6260  e1a0c00d e92dd830 e24cb004 e30b2e28 e3073ab8 e34c205e e34c3065 e28054c0

[   20.531127] 6280  e5924000 e303c0b0 e5932000 e1810280 e34cc063 e3a01fb6 e1a04624 e3003001

[   20.539672] 62a0  e0644625 e3493e37 e7922284 e0030093 e1a02fa2 e02cc291 e59c02c0 e59c22b8

[   20.548248] 62c0  e260c020 e1a00c33 e0820180 e89da830 e1a0c00d e92dd800 e24cb004 e24dd008

[   20.556793] 62e0  e5903000 e50b1014 e1530000 e50b2010 0a000003 e3a01003 e3a02001 e24b3014

[   20.565338] 6300  ebff7b25 e24bd00c e89da800 e1a0c00d e92dd830 e24cb004 e1a04001 e1a05000

[   20.573883] 6320  ebffffce e1a01005 e1a02004 ebffffe7 e89da830 e1a0c00d e92dd830 e24cb004

[   20.582458] 6340  e1a04000 ebff8eb1 e3500000 089da830 e5942010 e284300c e594100c e5812004

[   20.591003]

[   20.591003] LR: 0xc007c720:

[   20.595458] c720  ebff66ea e89da830 eb0029c7 eaffffe6 c06330b0 e1a0c00d e92dd830 e24cb004

[   20.604003] c740  e5903000 e10f3000 f10c0080 e5902000 e3c22001 e5802000 e121f003 e590e000

[   20.612548] c760  e303c0b0 e3a04fb6 e34cc063 e3003001 e1a01000 e1a0efae e3493e37 e3a02000

[   20.621124] c780  e02cce94 e0000093 e59ce2c0 e59cc2b8 e26ee020 e1a00e30 e08c0180 ebff66cb

[   20.629669] c7a0  e89da830 e1a0c00d e92dd8f0 e24cb004 e1a04000 e1a05001 e1a00004 e1a01005

[   20.638214] c7c0  ebffff13 e2506000 0a00000c e3160003 1a00000a e10f2000 f10c0080 e5963000

[   20.646759] c7e0  e3831001 e5861000 e121f002 e3130001 1a000004 e5963004 e1540003 1a000003

[   20.655334] c800  e1a00006 e89da8f0 ebffff5c eafffff8 e1a00006 ebffffc6 e1a00006 eb0028e9

[   20.663879]

[   20.663879] SP: 0xcfb5dd78:

[   20.668334] dd78  cfb5ddac cfb5dd88 c0039740 c0034418 fffffffe 00000000 c00562e0 20000193

[   20.676879] dd98  ffffffff cfb5dde4 cfb5de0c cfb5ddb0 c0450098 c0008418 00000000 c0881fe0

[   20.685424] ddb8  00000000 9e370001 000002d8 cf881640 00000001 cf881640 000b6a21 00000000

[   20.694000] ddd8  00000000 cfb5de0c cfb5de10 cfb5ddf8 c007c7a0 c00562e0 20000193 ffffffff

[   20.702545] ddf8  c0882000 00000000 cfb5de24 cfb5de10 c007c7a0 c00562dc cfb91b48 cf881640

[   20.711090] de18  cfb5de44 cfb5de28 c00ddfa8 c007c740 cf881640 cfb57de8 00000000 cf881640

[   20.719635] de38  cfb5de54 cfb5de48 c00d5f70 c00ddf44 cfb5de7c cfb5de58 c01fa68c c00d5f40

[   20.728210] de58  00000000 00000000 00000000 cf881640 0000c000 cf881640 cfb5debc cfb5de80

[   20.736755]

[   20.736755] IP: 0xcfb5dd90:

[   20.741210] dd90  c00562e0 20000193 ffffffff cfb5dde4 cfb5de0c cfb5ddb0 c0450098 c0008418

[   20.749755] ddb0  00000000 c0881fe0 00000000 9e370001 000002d8 cf881640 00000001 cf881640

[   20.758300] ddd0  000b6a21 00000000 00000000 cfb5de0c cfb5de10 cfb5ddf8 c007c7a0 c00562e0

[   20.766876] ddf0  20000193 ffffffff c0882000 00000000 cfb5de24 cfb5de10 c007c7a0 c00562dc

[   20.775421] de10  cfb91b48 cf881640 cfb5de44 cfb5de28 c00ddfa8 c007c740 cf881640 cfb57de8

[   20.783966] de30  00000000 cf881640 cfb5de54 cfb5de48 c00d5f70 c00ddf44 cfb5de7c cfb5de58

[   20.792510] de50  c01fa68c c00d5f40 00000000 00000000 00000000 cf881640 0000c000 cf881640

[   20.801086] de70  cfb5debc cfb5de80 c01fa7ec c01fa610 cfb60000 0000c000 cfb57de8 00000000

[   20.809631]

[   20.809631] FP: 0xcfb5dd8c:

[   20.814086] dd8c  00000000 c00562e0 20000193 ffffffff cfb5dde4 cfb5de0c cfb5ddb0 c0450098

[   20.822631] ddac  c0008418 00000000 c0881fe0 00000000 9e370001 000002d8 cf881640 00000001

[   20.831176] ddcc  cf881640 000b6a21 00000000 00000000 cfb5de0c cfb5de10 cfb5ddf8 c007c7a0

[   20.839752] ddec  c00562e0 20000193 ffffffff c0882000 00000000 cfb5de24 cfb5de10 c007c7a0

[   20.848297] de0c  c00562dc cfb91b48 cf881640 cfb5de44 cfb5de28 c00ddfa8 c007c740 cf881640

[   20.856842] de2c  cfb57de8 00000000 cf881640 cfb5de54 cfb5de48 c00d5f70 c00ddf44 cfb5de7c

[   20.865386] de4c  cfb5de58 c01fa68c c00d5f40 00000000 00000000 00000000 cf881640 0000c000

[   20.873962] de6c  cf881640 cfb5debc cfb5de80 c01fa7ec c01fa610 cfb60000 0000c000 cfb57de8

[   20.882507]

[   20.882507] R1: 0xc0881f60:

[   20.886962] 1f60  990105fc 370b1c2e 33370164 0d18370a 370a3337 e1370216 01a73707 3707e137

[   20.895507] 1f80  e13701a8 01a73707 0105f802 f4382e99 05fa0201 241c8702 26bc4008 05fa021e

[   20.904052] 1fa0  041c8702 3726bc0a fa020c8b 1c870205 26bc0a04 020d6837 990105fc 37091c2e

[   20.912628] 1fc0  33370164 0d18370a 370a3337 103701ff 01da3705 3707fa37 fb0201a7 2e990105

[   20.921173] 1fe0  f638101c 01ec3801 3801f938 f83801e7 01e53801 3801eb38 f53801e6 01ea3801

[   20.929718] 2000  3801e938 e83801e4 01f73801 3801f038 fc0201f4 2e990105 fa37051c 37ec1707

[   20.938262] 2020  33370a3a 022a370a 99017900 122a372e 99017900 1228372e 99017900 1227372e

[   20.946838] 2040  0105fc0a 071c2e99 37016437 18370a33 0a33370d 37020137 a7370b42 05fc0201

[   20.955383]

[   20.955383] R5: 0xcf8815c0:

[   20.959838] 15c0  000b6a21 00000000 00000000 cf402ac0 20000009 00000000 00000010 0000000b

[   20.968383] 15e0  00000000 00001000 00006000 00000010 00000000 cfb91980 c00ddf38 00000000

[   20.976928] 1600  c00d7d80 00000000 00001000 00000000 c08936a0 00001000 00000000 c08a6900

[   20.985504] 1620  00001000 00000000 c08a6920 00001000 00000000 c4838008 68900804 1404e432

[   20.994049] 1640  000b6a81 00000000 00000000 cf402ac0 20000009 00000000 0000000c 00000001

[   21.002593] 1660  00000000 0000c000 0000c000 00000010 00000001 cfb91b00 c00ddf38 00000000

[   21.011138] 1680  c00d7d80 00000000 00001000 00000000 c0889700 00001000 00000000 c08896e0

[   21.019714] 16a0  00001000 00000000 c08896c0 00001000 00000000 4cc81001 e4138004 900ba494

[   21.028259]

[   21.028259] R7: 0xcf8815c0:

[   21.032714] 15c0  000b6a21 00000000 00000000 cf402ac0 20000009 00000000 00000010 0000000b

[   21.041259] 15e0  00000000 00001000 00006000 00000010 00000000 cfb91980 c00ddf38 00000000

[   21.049804] 1600  c00d7d80 00000000 00001000 00000000 c08936a0 00001000 00000000 c08a6900

[   21.058349] 1620  00001000 00000000 c08a6920 00001000 00000000 c4838008 68900804 1404e432

[   21.066925] 1640  000b6a81 00000000 00000000 cf402ac0 20000009 00000000 0000000c 00000001

[   21.075469] 1660  00000000 0000c000 0000c000 00000010 00000001 cfb91b00 c00ddf38 00000000

[   21.084014] 1680  c00d7d80 00000000 00001000 00000000 c0889700 00001000 00000000 c08896e0

[   21.092559] 16a0  00001000 00000000 c08896c0 00001000 00000000 4cc81001 e4138004 900ba494

[   21.101135] Process mmcqd/0 (pid: 54, stack limit = 0xcfb5c2f0)

[   21.107299] Stack: (0xcfb5ddf8 to 0xcfb5e000)

[   21.111846] dde0:                                                       c0882000 00000000

[   21.120361] de00: cfb5de24 cfb5de10 c007c7a0 c00562dc cfb91b48 cf881640 cfb5de44 cfb5de28

[   21.128906] de20: c00ddfa8 c007c740 cf881640 cfb57de8 00000000 cf881640 cfb5de54 cfb5de48

[   21.137420] de40: c00d5f70 c00ddf44 cfb5de7c cfb5de58 c01fa68c c00d5f40 00000000 00000000

[   21.145935] de60: 00000000 cf881640 0000c000 cf881640 cfb5debc cfb5de80 c01fa7ec c01fa610

[   21.154479] de80: cfb60000 0000c000 cfb57de8 00000000 c0219400 cfb57de8 00000000 00000000

[   21.162994] dea0: cfb00000 00000000 cfb5df24 00000000 cfb5dedc cfb5dec0 c01fab2c c01fa6ec

[   21.171539] dec0: 00000000 cfb57de8 cfb57de8 cfb00000 cfb5defc cfb5dee0 c01fb9b0 c01fab1c

[   21.180053] dee0: cfb52c28 cfb52c04 cfb57de8 cfb00000 cfb5df0c cfb5df00 c01fbc14 c01fb9a4

[   21.188568] df00: cfb5df54 cfb5df10 c0342f34 c01fbc0c fa200000 00000000 cfb52c00 00000000

[   21.197113] df20: cfb5df44 00000000 cfaa0ae8 cfb00000 cfb52c04 cfb5c000 cfb52c00 00000000

[   21.205627] df40: cfb57de8 cfb52c00 cfb5df8c cfb5df58 c03431cc c0342cb8 cfb5c000 00000001

[   21.214172] df60: cfaa0ae8 cfb52c04 00000000 cfb5c000 00000001 cfaa0ae8 cfb57de8 cfb52c0c

[   21.222686] df80: cfb5dfbc cfb5df90 c034438c c0342fe4 00000000 cfa97cb8 cfb5dfcc cfb52c04

[   21.231201] dfa0: c034432c 00000000 00000000 00000000 cfb5dff4 cfb5dfc0 c0055f18 c0344338

[   21.239746] dfc0: cfa97cb8 00000000 cfb52c04 00000000 cfb5dfd0 cfb5dfd0 cfa97cb8 c0055e88

[   21.248260] dfe0: c003f774 00000013 00000000 cfb5dff8 c003f774 c0055e94 eb6ffe5b 7e63797d

[   21.256774] Backtrace:

[   21.259338] [<c00562d0>] (__wake_up_bit+0x0/0x3c) from [<c007c7a0>] (unlock_page+0x6c/0x70)

[   21.268066] [<c007c734>] (unlock_page+0x0/0x70) from [<c00ddfa8>] (mpage_end_io+0x70/0x108)

[   21.276763]  r5:cf881640 r4:cfb91b48

[   21.280517] [<c00ddf38>] (mpage_end_io+0x0/0x108) from [<c00d5f70>] (bio_endio+0x3c/0x5c)

[   21.289031]  r7:cf881640 r6:00000000 r5:cfb57de8 r4:cf881640

[   21.294952] [<c00d5f34>] (bio_endio+0x0/0x5c) from [<c01fa68c>] (req_bio_endio+0x88/0xdc)

[   21.303497] [<c01fa604>] (req_bio_endio+0x0/0xdc) from [<c01fa7ec>] (blk_update_request+0x10c/0x430)

[   21.312988]  r9:cf881640 r8:0000c000 r7:cf881640 r6:00000000 r5:00000000

[   21.319824] r4:00000000

[   21.322570] [<c01fa6e0>] (blk_update_request+0x0/0x430) from [<c01fab2c>] (blk_update_bidi_request+0x1c/0x6c)

[   21.332885] [<c01fab10>] (blk_update_bidi_request+0x0/0x6c) from [<c01fb9b0>] (__blk_end_bidi_request+0x18/0x38)

[   21.343505]  r7:cfb00000 r6:cfb57de8 r5:cfb57de8 r4:00000000

[   21.349426] [<c01fb998>] (__blk_end_bidi_request+0x0/0x38) from [<c01fbc14>] (__blk_end_request+0x14/0x18)

[   21.359497]  r7:cfb00000 r6:cfb57de8 r5:cfb52c04 r4:cfb52c28

[   21.365417] [<c01fbc00>] (__blk_end_request+0x0/0x18) from [<c0342f34>] (mmc_blk_issue_rw_rq+0x288/0x32c)

[   21.375396] [<c0342cac>] (mmc_blk_issue_rw_rq+0x0/0x32c) from [<c03431cc>] (mmc_blk_issue_rq+0x1f4/0x440)

[   21.385375] [<c0342fd8>] (mmc_blk_issue_rq+0x0/0x440) from [<c034438c>] (mmc_queue_thread+0x60/0xf0)

[   21.394897] [<c034432c>] (mmc_queue_thread+0x0/0xf0) from [<c0055f18>] (kthread+0x90/0x98)

[   21.403533] [<c0055e88>] (kthread+0x0/0x98) from [<c003f774>] (do_exit+0x0/0x6ac)

[   21.411315]  r7:00000013 r6:c003f774 r5:c0055e88 r4:cfa97cb8

[   21.417236] Code: e1a0c00d e92dd800 e24cb004 e24dd008 (e5903000)

[   21.423736] ---[ end trace 1c0686c7480177bb ]---

[   21.428558] Kernel panic - not syncing: Fatal exception

[   21.434020] Backtrace:

[   21.436584] [<c001803c>] (dump_backtrace+0x0/0x10c) from [<c044dfcc>] (dump_stack+0x18/0x1c)

[   21.445404]  r7:00000001 r6:00000000 r5:c0634ad0 r4:c0634ad0

[   21.451324] [<c044dfb4>] (dump_stack+0x0/0x1c) from [<c044e034>] (panic+0x64/0x198)

[   21.459320] [<c044dfd0>] (panic+0x0/0x198) from [<c0018268>] (die+0x120/0x2b4)

[   21.466857]  r3:00000001 r2:0000beb8 r1:00000000 r0:c05231d8

[   21.472808] [<c0018148>] (die+0x0/0x2b4) from [<c001a7a4>] (__do_kernel_fault+0x6c/0x8c)

[   21.481262] [<c001a738>] (__do_kernel_fault+0x0/0x8c) from [<c045184c>] (do_page_fault+0xa0/0x228)

[   21.490600]  r9:00000000 r8:000b6a21 r7:00000017 r6:00000000 r5:00000000

[   21.497436] r4:cfb5ddb0

[   21.500183] [<c04517ac>] (do_page_fault+0x0/0x228) from [<c0008448>] (do_DataAbort+0x3c/0xa4)

[   21.509094] [<c000840c>] (do_DataAbort+0x0/0xa4) from [<c0450098>] (__dabt_svc+0x38/0x60)

[   21.517608] Exception stack(0xcfb5ddb0 to 0xcfb5ddf8)

[   21.522888] dda0:                                     00000000 c0881fe0 00000000 9e370001

[   21.531433] ddc0: 000002d8 cf881640 00000001 cf881640 000b6a21 00000000 00000000 cfb5de0c

[   21.539978] dde0: cfb5de10 cfb5ddf8 c007c7a0 c00562e0 20000193 ffffffff

[   21.546875]  r7:cfb5dde4 r6:ffffffff r5:20000193 r4:c00562e0

[   21.552825] [<c00562d0>] (__wake_up_bit+0x0/0x3c) from [<c007c7a0>] (unlock_page+0x6c/0x70)

[   21.561523] [<c007c734>] (unlock_page+0x0/0x70) from [<c00ddfa8>] (mpage_end_io+0x70/0x108)

[   21.570251]  r5:cf881640 r4:cfb91b48

[   21.574005] [<c00ddf38>] (mpage_end_io+0x0/0x108) from [<c00d5f70>] (bio_endio+0x3c/0x5c)

[   21.582550]  r7:cf881640 r6:00000000 r5:cfb57de8 r4:cf881640

[   21.588470] [<c00d5f34>] (bio_endio+0x0/0x5c) from [<c01fa68c>] (req_bio_endio+0x88/0xdc)

[   21.597015] [<c01fa604>] (req_bio_endio+0x0/0xdc) from [<c01fa7ec>] (blk_update_request+0x10c/0x430)

[   21.606536]  r9:cf881640 r8:0000c000 r7:cf881640 r6:00000000 r5:00000000

[   21.613372] r4:00000000

[   21.616088] [<c01fa6e0>] (blk_update_request+0x0/0x430) from [<c01fab2c>] (blk_update_bidi_request+0x1c/0x6c)

[   21.626464] [<c01fab10>] (blk_update_bidi_request+0x0/0x6c) from [<c01fb9b0>] (__blk_end_bidi_request+0x18/0x38)

[   21.637084]  r7:cfb00000 r6:cfb57de8 r5:cfb57de8 r4:00000000

[   21.643005] [<c01fb998>] (__blk_end_bidi_request+0x0/0x38) from [<c01fbc14>] (__blk_end_request+0x14/0x18)

[   21.653076]  r7:cfb00000 r6:cfb57de8 r5:cfb52c04 r4:cfb52c28

[   21.658996] [<c01fbc00>] (__blk_end_request+0x0/0x18) from [<c0342f34>] (mmc_blk_issue_rw_rq+0x288/0x32c)

[   21.669006] [<c0342cac>] (mmc_blk_issue_rw_rq+0x0/0x32c) from [<c03431cc>] (mmc_blk_issue_rq+0x1f4/0x440)

[   21.678985] [<c0342fd8>] (mmc_blk_issue_rq+0x0/0x440) from [<c034438c>] (mmc_queue_thread+0x60/0xf0)

[   21.688537] [<c034432c>] (mmc_queue_thread+0x0/0xf0) from [<c0055f18>] (kthread+0x90/0x98)

[   21.697174] [<c0055e88>] (kthread+0x0/0x98) from [<c003f774>] (do_exit+0x0/0x6ac)

[   21.704986]  r7:00000013 r6:c003f774 r5:c0055e88 r4:cfa97cb8

 

                   

 

        Can you help me , I am very worried. Thank you very much!

 

        Regards


Viewing all articles
Browse latest Browse all 262198

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>