Related
i tried cm7_nand_photon_v2, but bootloop
dmesg log
Code:
<6>[ 0.000000] Initializing cgroup subsys cpu
<5>[ 0.000000] Linux version 2.6.32.21-gf9fbd2a ([email protected]) (gcc v
ersion 4.4.1 (Sourcery G++ Lite 2010q1-188) ) #27 PREEMPT Wed Jan 4 00:36:49 MSK
2012
<4>[ 0.000000] CPU: ARMv6-compatible processor [4117b365] revision 5 (ARMv6TE
J), cr=00c5387f
<4>[ 0.000000] CPU: VIPT aliasing data cache, VIPT aliasing instruction cache
<4>[ 0.000000] Machine: photon
<6>[ 0.000000] fixup: nr_banks = 2
<6>[ 0.000000] fixup: bank0 start=00200000, node=00000000, size=0ca00000
<6>[ 0.000000] fixup: bank1 start=20000000, node=00000000, size=05600000
<4>[ 0.000000] Ignoring unrecognised tag 0x00000000
<4>[ 0.000000] Ignoring unrecognised tag 0x00000000
<4>[ 0.000000] Memory policy: ECC disabled, Data cache writeback
<7>[ 0.000000] On node 0 totalpages: 73728
<7>[ 0.000000] free_area_init_node: node 0, pgdat c05b29b0, node_mem_map c08b
9000
<7>[ 0.000000] Normal zone: 1192 pages used for memmap
<7>[ 0.000000] Normal zone: 0 pages reserved
<7>[ 0.000000] Normal zone: 72536 pages, LIFO batch:15
<4>[ 0.000000] liberty_init_map_io()
<6>[ 0.000000] L210 cache controller enabled
<4>[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total
pages: 72536
<5>[ 0.000000] Kernel command line: rw?
<6>[ 0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
<6>[ 0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes
)
<6>[ 0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
<6>[ 0.000000] Memory: 202MB 86MB = 288MB total
<5>[ 0.000000] Memory: 284212KB available (4280K code, 1331K data, 1148K init
, 0K highmem)
<6>[ 0.000000] Hierarchical RCU implementation.
<6>[ 0.000000] NR_IRQS:277
<4>[ 0.000000] photon_init_irq()
<6>[ 0.000000] ram_console: no valid data in buffer (sig = 0x48454150)
<6>[ 0.000000] console [ram0] enabled
<6>[ 0.000000] Calibrating delay loop... 598.01 BogoMIPS (lpj=2990080)
<4>[ 0.230191] Mount-cache hash table entries: 512
<6>[ 0.230828] Initializing cgroup subsys debug
<6>[ 0.230858] Initializing cgroup subsys cpuacct
<6>[ 0.230876] Initializing cgroup subsys freezer
<6>[ 0.230918] CPU: Testing write buffer coherency: ok
<6>[ 0.233663] NET: Registered protocol family 16
<4>[ 0.234270] photon_init() revision = 0x0
<6>[ 0.385178] YoYo--BD_ADDRESS=00:00:00:00:00:00
<6>[ 0.385580] acpu_clock_init()
<6>[ 0.385646] ACPU running at 600000 KHz
<6>[ 0.385726] ACPU speed 19200 KHz
<6>[ 0.385741] ACPU speed 120000 KHz
<6>[ 0.385755] ACPU speed 122880 KHz
<6>[ 0.385768] ACPU speed 200000 KHz
<6>[ 0.385781] ACPU speed 245760 KHz
<6>[ 0.385796] ACPU speed 320000 KHz
<6>[ 0.385810] ACPU speed 400000 KHz
<6>[ 0.385823] ACPU speed 480000 KHz
<6>[ 0.385836] ACPU speed 600000 KHz
<6>[ 0.385851] ACPU speed 768000 KHz
<6>[ 0.385865] ACPU speed 787200 KHz
<6>[ 0.385878] ACPU speed 806400 KHz
<6>[ 0.385891] ACPU speed 825600 KHz
<6>[ 0.385906] ACPU speed 844800 KHz
<6>[ 0.385920] ACPU speed 864000 KHz
<6>[ 0.385935] ACPU running at 0 KHz
<6>[ 0.385980] msm_proc_comm_wince_init: WinCE PCOM initialized.
<6>[ 0.386011] PLL0 @ f8005300: MODE=00000007 L=00000032 M=00000000 N=0000000
1 freq=960000000 Hz (960 MHz)
<6>[ 0.386046] PLL1 @ f800531c: MODE=00000007 L=0000000c M=00000004 N=0000000
5 freq=245760000 Hz (245 MHz)
<6>[ 0.386080] PLL2 @ f8005338: MODE=00000007 L=0000003e M=00000001 N=0000000
2 freq=1200000000 Hz (1200 MHz)
<6>[ 0.386103] PCB XC: 00000000
<6>[ 0.386116] AMSS version: 32.26.05.04U
<6>[ 0.386151] Acquire 'boot-time' perf_lock
<4>[ 0.390408] after msm_add_devices()
<6>[ 0.391256] photon_init_mmc
<6>[ 0.392315] msm_hsusb_set_vbus_state: 1
<4>[ 0.399266] bio: create slab <bio-0> at 0
<6>[ 0.400081] msm_i2c_probe
<6>[ 0.400286] msm_i2c_probe: clk_ctl 315, 400000 Hz
<6>[ 0.401790] Bluetooth: Core ver 2.15
<6>[ 0.401965] NET: Registered protocol family 31
<6>[ 0.401981] Bluetooth: HCI device and connection manager initialized
<6>[ 0.402006] Bluetooth: HCI socket layer initialized
<6>[ 0.402198] Switching to clocksource dg_timer
<6>[ 0.403455] NET: Registered protocol family 2
<6>[ 0.403686] IP route cache hash table entries: 4096 (order: 2, 16384 bytes
)
<6>[ 0.404316] TCP established hash table entries: 16384 (order: 5, 131072 by
tes)
<6>[ 0.404896] TCP bind hash table entries: 16384 (order: 4, 65536 bytes)
<6>[ 0.405330] TCP: Hash tables configured (established 16384 bind 16384)
<6>[ 0.405351] TCP reno registered
<6>[ 0.405631] NET: Registered protocol family 1
<6>[ 0.405980] Unpacking initramfs...
<6>[ 0.491268] Freeing initrd memory: 720K
<6>[ 0.491970] smd_init()
<6>[ 0.491983] smd_core_init()
<4>[ 0.492001] smem_item: id=85 offset=19072 size=32=
<6>[ 0.492021] phy addr of smd_info.state=0xFF04A80
<6>[ 0.492116] smd_core_init() done
<4>[ 0.492138] smem_item: id=336 offset=8712 size=6936=
<3>[ 0.492175] msm_init_last_radio_log: last radio log is 6936 bytes long
<4>[ 0.492740] smem_item: id=13 offset=102296 size=2048=
<4>[ 0.492770] smem_item: id=14 offset=219320 size=40=
<4>[ 0.492790] smem_item: id=338 offset=219360 size=16384=
<6>[ 0.492813] smd_alloc_channel() cid=00 size=08192 'SMD_DS'
<4>[ 0.492971] smem_item: id=15 offset=137320 size=40=
<4>[ 0.492993] smem_item: id=339 offset=137360 size=65536=
<6>[ 0.493013] smd_alloc_channel() cid=01 size=32768 'SMD_DIAG'
<4>[ 0.493125] smem_item: id=16 offset=120896 size=40=
<4>[ 0.493145] smem_item: id=340 offset=120936 size=16384=
<6>[ 0.493166] smd_alloc_channel() cid=02 size=08192 'SMD_RPCCALL'
<4>[ 0.493283] smem_item: id=19 offset=104472 size=40=
<4>[ 0.493303] smem_item: id=343 offset=104512 size=16384=
<6>[ 0.493323] smd_alloc_channel() cid=05 size=08192 'SMD_CONTROL'
<4>[ 0.493435] smem_item: id=21 offset=235744 size=40=
<4>[ 0.493455] smem_item: id=345 offset=235784 size=65536=
<6>[ 0.493476] smd_alloc_channel() cid=07 size=32768 'SMD_DATA1'
<4>[ 0.493586] smem_item: id=22 offset=301320 size=40=
<4>[ 0.493606] smem_item: id=346 offset=301360 size=65536=
<6>[ 0.493626] smd_alloc_channel() cid=08 size=32768 'SMD_DATA2'
<4>[ 0.493745] smem_item: id=23 offset=366896 size=40=
<4>[ 0.493766] smem_item: id=347 offset=366936 size=65536=
<6>[ 0.493786] smd_alloc_channel() cid=09 size=32768 'SMD_DATA3'
<4>[ 0.493903] smem_item: id=29 offset=432472 size=40=
<4>[ 0.493923] smem_item: id=353 offset=432512 size=16384=
<6>[ 0.493943] smd_alloc_channel() cid=15 size=08192 'SMD_DATA9'
<4>[ 0.494058] smem_item: id=41 offset=448896 size=40=
<4>[ 0.494078] smem_item: id=365 offset=448936 size=16384=
<6>[ 0.494100] smd_alloc_channel() cid=27 size=08192 'SMD_GPSNMEA'
<4>[ 0.494225] smem_item: id=52 offset=202896 size=40=
<4>[ 0.494245] smem_item: id=376 offset=202936 size=16384=
<6>[ 0.494265] smd_alloc_channel() cid=38 size=08192 'SMD_DAL00'
<4>[ 0.494871] smem_item: id=79 offset=19200 size=40000=
<4>[ 0.494895] smem_item: id=78 offset=59200 size=8=
<4>[ 0.494915] smem_item: id=81 offset=59208 size=3000=
<4>[ 0.494935] smem_item: id=80 offset=62208 size=8=
<4>[ 0.494955] smem_item: id=407 offset=62224 size=40000=
<4>[ 0.494975] smem_item: id=405 offset=102224 size=8=
<4>[ 0.494995] smem_item: id=7 offset=8612 size=32=
<4>[ 0.495015] smem_item: id=7 offset=8612 size=32=
<4>[ 0.495845] smd_open success: [SMD_RPCCALL]
<6>[ 0.495866] SMD: ch 2 0 -> 1
<6>[ 0.495970] SMD: ch 2 1 -> 2
<4>[ 0.612405] RPC: NEW_SERVER id=0:00000001 prog=30000025:00000000
<4>[ 0.612718] RPC: NEW_SERVER id=0:00000001 prog=30000044:bbf38d5a
<4>[ 0.613001] RPC: NEW_SERVER id=0:00000001 prog=30000043:00000000
<4>[ 0.613283] RPC: NEW_SERVER id=0:00000001 prog=30000005:ac8ba7b7
<4>[ 0.613555] RPC: NEW_SERVER id=0:00000001 prog=30000061:00010001
<4>[ 0.613831] RPC: NEW_SERVER id=0:00000001 prog=30000003:00000000
<4>[ 0.614103] RPC: NEW_SERVER id=0:00000001 prog=30000060:00010002
<4>[ 0.614401] RPC: NEW_SERVER id=0:00000001 prog=3000005f:00010002
<4>[ 0.614675] RPC: NEW_SERVER id=0:00000001 prog=30000021:00000000
<4>[ 0.614948] RPC: NEW_SERVER id=0:00000001 prog=30000002:00020002
<4>[ 0.615258] RPC: NEW_SERVER id=0:00000001 prog=3000001f:00000000
<4>[ 0.615556] RPC: NEW_SERVER id=0:00000001 prog=30000000:e9fb8210
<4>[ 0.615848] RPC: NEW_SERVER id=0:00000001 prog=3000fffd:0000ffff
<4>[ 0.616151] RPC: NEW_SERVER id=0:00000001 prog=3000001d:00020001
<4>[ 0.616438] RPC: NEW_SERVER id=0:00000001 prog=3000005b:a60286b0
<4>[ 0.616726] RPC: NEW_SERVER id=0:00000001 prog=3000003c:20cebc12
<4>[ 0.617041] RPC: NEW_SERVER id=0:00000001 prog=3000003b:00000000
<4>[ 0.617336] RPC: NEW_SERVER id=0:00000001 prog=3000005a:00000000
<4>[ 0.617628] RPC: NEW_SERVER id=0:00000001 prog=30000059:00000000
<4>[ 0.617923] RPC: NEW_SERVER id=0:00000001 prog=3000001b:408f49d3
<4>[ 0.618226] RPC: NEW_SERVER id=0:00000001 prog=30000019:356f9094
<4>[ 0.618551] RPC: NEW_SERVER id=0:00000001 prog=30000055:00000000
<4>[ 0.618860] RPC: NEW_SERVER id=0:00000001 prog=30000016:008a27be
<4>[ 0.619176] RPC: NEW_SERVER id=0:00000001 prog=30000091:00010001
<4>[ 0.619500] RPC: NEW_SERVER id=0:00000001 prog=30000053:cfb85d48
<4>[ 0.619813] RPC: NEW_SERVER id=0:00000001 prog=30000014:00020001
<4>[ 0.620140] RPC: NEW_SERVER id=0:00000001 prog=30000051:00000000
<4>[ 0.620455] RPC: NEW_SERVER id=0:00000001 prog=30000013:00030001
<4>[ 0.620771] RPC: NEW_SERVER id=0:00000001 prog=30000012:00000000
<4>[ 0.621098] RPC: NEW_SERVER id=0:00000001 prog=3000fe00:a82d4624
<4>[ 0.621416] RPC: NEW_SERVER id=0:00000001 prog=30000010:00000000
<4>[ 0.621748] RPC: NEW_SERVER id=0:00000001 prog=3000006c:00000000
<4>[ 0.622068] RPC: NEW_SERVER id=0:00000001 prog=3000000f:00010001
<4>[ 0.622480] RPC: NEW_SERVER id=0:00000001 prog=3000006b:0aabc7a4
<4>[ 0.622816] RPC: NEW_SERVER id=0:00000001 prog=3000000e:052ff749
<4>[ 0.623146] RPC: NEW_SERVER id=0:00000001 prog=3000006a:00000000
<4>[ 0.623490] RPC: NEW_SERVER id=0:00000001 prog=30000068:00000000
<4>[ 0.623823] RPC: NEW_SERVER id=0:00000001 prog=30000067:00000000
<4>[ 0.624160] RPC: NEW_SERVER id=0:00000001 prog=30000048:00010004
<4>[ 0.624495] RPC: NEW_SERVER id=0:00000001 prog=3000000a:00000000
<4>[ 0.624828] RPC: NEW_SERVER id=0:00000001 prog=30000066:00020001
<4>[ 0.625196] RPC: NEW_SERVER id=0:00000001 prog=30000064:00010002
<4>[ 0.625550] RPC: NEW_SERVER id=0:00000001 prog=30000025:00000000
<3>[ 0.625570] rpcrouter: Duplicate svr
<4>[ 0.625596] RPC: NEW_SERVER id=0:00000001 prog=30000044:bbf38d5a
<3>[ 0.625613] rpcrouter: Duplicate svr
<4>[ 0.625638] RPC: NEW_SERVER id=0:00000001 prog=30000043:00000000
<3>[ 0.625656] rpcrouter: Duplicate svr
<4>[ 0.625680] RPC: NEW_SERVER id=0:00000001 prog=30000005:ac8ba7b7
<3>[ 0.625698] rpcrouter: Duplicate svr
<4>[ 0.625723] RPC: NEW_SERVER id=0:00000001 prog=30000061:00010001
<3>[ 0.625740] rpcrouter: Duplicate svr
<4>[ 0.625765] RPC: NEW_SERVER id=0:00000001 prog=30000003:00000000
<3>[ 0.625781] rpcrouter: Duplicate svr
<4>[ 0.625806] RPC: NEW_SERVER id=0:00000001 prog=30000060:00010002
<3>[ 0.625825] rpcrouter: Duplicate svr
<4>[ 0.625848] RPC: NEW_SERVER id=0:00000001 prog=3000005f:00010002
<3>[ 0.625866] rpcrouter: Duplicate svr
<4>[ 0.625891] RPC: NEW_SERVER id=0:00000001 prog=30000021:00000000
<3>[ 0.625910] rpcrouter: Duplicate svr
<4>[ 0.625935] RPC: NEW_SERVER id=0:00000001 prog=30000002:00020002
<3>[ 0.625951] rpcrouter: Duplicate svr
<4>[ 0.625976] RPC: NEW_SERVER id=0:00000001 prog=3000001f:00000000
<3>[ 0.625995] rpcrouter: Duplicate svr
<4>[ 0.626018] RPC: NEW_SERVER id=0:00000001 prog=30000000:e9fb8210
<3>[ 0.626036] rpcrouter: Duplicate svr
<4>[ 0.626061] RPC: NEW_SERVER id=0:00000001 prog=3000fffd:0000ffff
<3>[ 0.626080] rpcrouter: Duplicate svr
<4>[ 0.626103] RPC: NEW_SERVER id=0:00000001 prog=3000001d:00020001
<3>[ 0.626121] rpcrouter: Duplicate svr
<4>[ 0.626146] RPC: NEW_SERVER id=0:00000001 prog=3000005b:a60286b0
<3>[ 0.626165] rpcrouter: Duplicate svr
<4>[ 0.626190] RPC: NEW_SERVER id=0:00000001 prog=3000003c:20cebc12
<3>[ 0.626208] rpcrouter: Duplicate svr
<4>[ 0.626233] RPC: NEW_SERVER id=0:00000001 prog=3000003b:00000000
<3>[ 0.626251] rpcrouter: Duplicate svr
<4>[ 0.626275] RPC: NEW_SERVER id=0:00000001 prog=3000005a:00000000
<3>[ 0.626293] rpcrouter: Duplicate svr
<4>[ 0.626318] RPC: NEW_SERVER id=0:00000001 prog=30000059:00000000
<3>[ 0.626336] rpcrouter: Duplicate svr
<4>[ 0.626361] RPC: NEW_SERVER id=0:00000001 prog=3000001b:408f49d3
<3>[ 0.626378] rpcrouter: Duplicate svr
<4>[ 0.626403] RPC: NEW_SERVER id=0:00000001 prog=30000019:356f9094
<3>[ 0.626421] rpcrouter: Duplicate svr
<4>[ 0.626446] RPC: NEW_SERVER id=0:00000001 prog=30000055:00000000
<3>[ 0.626465] rpcrouter: Duplicate svr
<4>[ 0.626490] RPC: NEW_SERVER id=0:00000001 prog=30000016:008a27be
<3>[ 0.626508] rpcrouter: Duplicate svr
<4>[ 0.626531] RPC: NEW_SERVER id=0:00000001 prog=30000091:00010001
<3>[ 0.626550] rpcrouter: Duplicate svr
<4>[ 0.626575] RPC: NEW_SERVER id=0:00000001 prog=30000053:cfb85d48
<3>[ 0.626593] rpcrouter: Duplicate svr
<4>[ 0.626618] RPC: NEW_SERVER id=0:00000001 prog=30000014:00020001
<3>[ 0.626636] rpcrouter: Duplicate svr
<4>[ 0.626661] RPC: NEW_SERVER id=0:00000001 prog=30000051:00000000
<3>[ 0.626680] rpcrouter: Duplicate svr
<4>[ 0.626705] RPC: NEW_SERVER id=0:00000001 prog=30000013:00030001
<3>[ 0.626723] rpcrouter: Duplicate svr
<4>[ 0.626748] RPC: NEW_SERVER id=0:00000001 prog=30000012:00000000
<3>[ 0.626766] rpcrouter: Duplicate svr
<4>[ 0.626791] RPC: NEW_SERVER id=0:00000001 prog=3000fe00:a82d4624
<3>[ 0.626808] rpcrouter: Duplicate svr
<4>[ 0.626835] RPC: NEW_SERVER id=0:00000001 prog=30000010:00000000
<3>[ 0.626853] rpcrouter: Duplicate svr
<4>[ 0.626876] RPC: NEW_SERVER id=0:00000001 prog=3000006c:00000000
<3>[ 0.626895] rpcrouter: Duplicate svr
<4>[ 0.626921] RPC: NEW_SERVER id=0:00000001 prog=3000000f:00010001
<3>[ 0.626940] rpcrouter: Duplicate svr
<4>[ 0.626963] RPC: NEW_SERVER id=0:00000001 prog=3000006b:0aabc7a4
<3>[ 0.626981] rpcrouter: Duplicate svr
<4>[ 0.627008] RPC: NEW_SERVER id=0:00000001 prog=3000000e:052ff749
<3>[ 0.627026] rpcrouter: Duplicate svr
<4>[ 0.627050] RPC: NEW_SERVER id=0:00000001 prog=3000006a:00000000
<3>[ 0.627068] rpcrouter: Duplicate svr
<4>[ 0.627093] RPC: NEW_SERVER id=0:00000001 prog=30000068:00000000
<3>[ 0.627111] rpcrouter: Duplicate svr
<4>[ 0.627136] RPC: NEW_SERVER id=0:00000001 prog=30000067:00000000
<3>[ 0.627155] rpcrouter: Duplicate svr
<4>[ 0.627180] RPC: NEW_SERVER id=0:00000001 prog=30000048:00010004
<3>[ 0.627198] rpcrouter: Duplicate svr
<4>[ 0.627221] RPC: NEW_SERVER id=0:00000001 prog=3000000a:00000000
<3>[ 0.627240] rpcrouter: Duplicate svr
<4>[ 0.627266] RPC: NEW_SERVER id=0:00000001 prog=30000066:00020001
<3>[ 0.627285] rpcrouter: Duplicate svr
<4>[ 0.627310] RPC: NEW_SERVER id=0:00000001 prog=30000064:00010002
<3>[ 0.627328] rpcrouter: Duplicate svr
<4>[ 0.727580] Found SND_DEVICE_IDLE id 17
<6>[ 0.728413] Acquire 'boot-time' no_halt_lock 60s
<6>[ 0.728606] perflock_notifier_call: cpufreq lock speed 600000
<6>[ 0.728626] active perf lock 'boot-time'
<4>[ 0.728863] htc_acoustic_wince_init called
<4>[ 0.728943] htc_acoustic_wince_probe called
<4>[ 0.728958] Initialize HTC acoustic driver for wince based devices
<4>[ 0.728980] htc_acoustic_wince_probe, retrieving the smem address to copy
those params
<4>[ 0.729006] smem_item: id=135 offset=465576 size=7712=
<4>[ 0.729026] htc_acoustic_wince_probe, acoustic table smem address=0xf8171a
a8
<4>[ 0.729056] htc_acoustic_wince_probe, final addresses: volume=0xf8171aa8 w
b_volume=0xf8171c42 CE=0xf817325c ADIE=0xf817265c codec=0xf8171ddc mic=0xf02e345
0
<6>[ 0.748868] mdp_probe: initialized
<4>[ 0.749061] photon_wifi_init: start
<6>[ 0.751276] atmega-microp 0-0066: microp version [05][1B]
<3>[ 0.752128] microp_function_check: No function 2 !!
<3>[ 0.753416] microp_function_check: No function 18 !!
<6>[ 0.753633] [HS_MGR] (htc_headset_mgr_probe) ++++++++++++++++++++
<6>[ 0.754341] input: h2w headset as /devices/virtual/input/input0
<6>[ 0.754703] [HS_MGR] (hs_notify_driver_ready) HS_MGR ready
<6>[ 0.754871] [HS_MGR] (htc_headset_mgr_probe) --------------------
<6>[ 0.755171] [HS_MICROP] (htc_headset_microp_probe) ++++++++++++++++++++
<6>[ 0.758300] [HS_MGR] (headset_notifier_register) Register REMOTE_ADC notif
ier
<6>[ 0.758326] [HS_MGR] (headset_notifier_register) Register MIC_STATUS notif
ier
<6>[ 0.758350] [HS_MGR] (headset_notifier_register) Register KEY_INT_ENABLE n
otifier
<6>[ 0.758371] [HS_MGR] (hs_notify_driver_ready) HS_MICROP ready
<6>[ 0.758576] [HS_GPIO] (htc_headset_gpio_probe) ++++++++++++++++++++
<6>[ 0.758758] [HS_MGR] (headset_notifier_register) Register HPIN_GPIO notifi
er
<6>[ 0.758783] [HS_MGR] (hs_notify_driver_ready) HS_GPIO ready
<6>[ 0.758801] [HS_GPIO] (htc_headset_gpio_probe) --------------------
<6>[ 0.758828] [HS_MICROP] (htc_headset_microp_probe) --------------------
<6>[ 0.772721] ashmem: initialized
<6>[ 0.774616] fuse init (API version 7.13)
<7>[ 0.774948] yaffs built Dec 30 2011 23:14:41 Installing.
<6>[ 0.780106] alg: No test for stdrng (krng)
<6>[ 0.780211] io scheduler noop registered
<6>[ 0.780228] io scheduler anticipatory registered
<6>[ 0.780246] io scheduler deadline registered (default)
<6>[ 0.780663] mddi: init() base=0xe5858000 irq=16
<7>[ 0.780870] mddi runs at 81920000
<6>[ 0.782050] mddi cmd send rtd: int 3a000, stat 8063, rtd val f
<6>[ 0.784215] mddi: registering panel mddi_c_0101_0000
<6>[ 0.784235] mddi: publish:
<6>[ 0.785016] CABC enabled
<6>[ 0.786051] vsync on gpio 97 now 0
<6>[ 0.786291] setup_fb_info msmfb->xres 320, msmfb->yres 480
<6>[ 0.786503] msmfb_probe() installing 320 x 480 panel
<4>[ 0.786520] before register_framebuffer ()
<4>[ 0.786833] register_framebuffer ()
<4>[ 0.786848] load_565rle_image()
<6>[ 0.787323] Registered led device: lcd-backlight
<6>[ 0.789871] msm_serial: detected port #2
<6>[ 0.789981] msm_serial.2: ttyMSM2 at MMIO 0xa9c00000 (irq = 11) is a MSM
<6>[ 0.790333] msm_serial: driver initialized
<6>[ 0.790665] msm_serial_hs module loaded
more dmesg log
Code:
<6>[ 0.790831] msm_serial_hs module loaded
<6>[ 0.791026] BCM chip
<6>[ 0.791145] msm_serial_hs_bcm.0: ttyHS0 at MMIO 0xa0200000 (irq = 45) is a
MSM HS UART
<6>[ 0.791505] msm_serial_hs module loaded
<6>[ 0.795528] loop: module loaded
<6>[ 0.795686] pmem: 1 init
<6>[ 0.796600] pmem_adsp: 1 init
<6>[ 0.797358] pmem_camera: 0 init
<6>[ 0.798068] Android kernel panic handler initialized (bind=crashdata)
<6>[ 0.798216] spi_bma150_probe: G-sensor connect with microP: start initial,
kvalue = 0x0
<6>[ 0.798576] input: bma150 as /devices/virtual/input/input1
<4>[ 0.798611] bma150: Input device successfuly registered
<6>[ 0.814915] __spi_bma150_set_mode: BMA get into SLEEP mode!
<6>[ 0.815596] msm_nand: allocated dma buffer at ffa47000, dma_addr 24814000
<6>[ 0.815703] status: c03120
<6>[ 0.815720] nandid: 5500bcec maker ec device bc
<6>[ 0.815738] Found a supported NAND device
<6>[ 0.815753] NAND Id : 0xBCEC
<6>[ 0.815766] Buswidth : 16 Bits
<6>[ 0.815780] Density : 512 MByte
<6>[ 0.815795] Pagesize : 2048 Bytes
<6>[ 0.815808] Erasesize: 131072 Bytes
<6>[ 0.815821] Oobsize : 64 Bytes
<6>[ 0.815865] msm_nand: read CFG0 = aa5400c0, CFG1 = a7476
<6>[ 0.815883] CFG0 Old: 0xaa5400c0
<6>[ 0.815896] CFG1 Old: 0x000a7476
<6>[ 0.815911] CFG0 Init : 0xea5400c0
<6>[ 0.815926] CFG1 Init : 0x000a7476
<6>[ 0.815945] CFG0: cw/page=3 ud_sz=512 ecc_sz=10 spare_sz=4 num_addr_cycles
=5
<6>[ 0.815991] DEV_CMD1: f00f3000
<6>[ 0.816026] <6>NAND_EBI2_ECC_BUF_CFG: 1ff
<4>[ 0.816045] #MTD# parts in atag = 7
<5>[ 0.816070] Creating 7 MTD partitions on "msm_nand":
<5>[ 0.816096] 0x000002820000-0x000002840000 : "lkbootloader"
<5>[ 0.817178] 0x000002840000-0x000003240000 : "boot"
<4>[ 0.820128] ###BAD BLOCK 363 02D60000###
<5>[ 0.823645] 0x000003240000-0x000003c40000 : "recovery"
<5>[ 0.830331] 0x000003c40000-0x000003ce0000 : "misc"
<5>[ 0.831440] 0x000003ce0000-0x00000dce0000 : "system"
<4>[ 0.854836] ###BAD BLOCK 803 06460000###
<4>[ 0.867655] ###BAD BLOCK 977 07A20000###
<4>[ 0.871276] ###BAD BLOCK 1026 08040000###
<4>[ 0.878588] ###BAD BLOCK 1125 08CA0000###
<4>[ 0.881328] ###BAD BLOCK 1162 09140000###
<4>[ 0.891501] ###BAD BLOCK 1300 0A280000###
<5>[ 0.926496] 0x00000dce0000-0x00001eee0000 : "userdata"
<4>[ 0.947281] ###BAD BLOCK 2048 10000000###
<4>[ 0.947373] ###BAD BLOCK 2049 10020000###
<4>[ 0.967620] ###BAD BLOCK 2324 12280000###
<4>[ 0.972271] ###BAD BLOCK 2387 12A60000###
<4>[ 1.009271] ###BAD BLOCK 2863 165E0000###
<4>[ 1.069118] ###BAD BLOCK 3672 1CB00000###
<5>[ 1.090975] 0x00001f000000-0x000020000000 : "cache"
<4>[ 1.097075] ###BAD BLOCK 4049 1FA20000###
<6>[ 1.101363] PPP generic driver version 2.4.2
<6>[ 1.101598] PPP Deflate Compression module registered
<6>[ 1.101618] PPP BSD Compression module registered
<6>[ 1.106225] PPP MPPE Compression module registered
<6>[ 1.106255] NET: Registered protocol family 24
<6>[ 1.106936] tun: Universal TUN/TAP device driver, 1.6
<6>[ 1.106958] tun: (C) 1999-2004 Max Krasnyansky <[email protected]>
<6>[ 1.107471] msm72k_udc: msm72k_probe
<6>[ 1.107498] usb: accessory detect 0
<6>[ 1.107511] usb: id_pin_gpio 19
<6>[ 1.107525] usb: dock detect 0
<6>[ 1.107538] usb: dock pin gpio 0
<6>[ 1.107538] usb: dock pin gpio 0
<6>[ 1.107630] msm72k_udc: msm72k_probe() io=e5864000, irq=47, dma=ffa48000(2
485b000)
<6>[ 1.108420] android init
<6>[ 1.108503] android_probe pdata: c05876f0
<6>[ 1.108641] android_bind
<7>[ 1.108658] android_bind_config
<6>[ 1.108678] android_usb gadget: android_usb ready
<6>[ 1.108705] msm72k_udc: msm72k_udc: registered gadget driver 'android_usb'
<6>[ 1.108840] f_adb init
<6>[ 1.108855] android_register_function adb
<6>[ 1.108870] f_mass_storage init
<6>[ 1.108883] android_register_function usb_mass_storage
<6>[ 1.108900] f_rndis init
<6>[ 1.108913] android_register_function ether
<6>[ 1.108928] serial init
<6>[ 1.108941] android_register_function serial
<6>[ 1.108956] f_projector init
<6>[ 1.109388] android_register_function projector
<6>[ 1.109406] diag init
<6>[ 1.109488] diag:msm_diag_probe(), pdev->id=0x0
<6>[ 1.109896] diag:msm_diag_probe(), pdev->id=0xffffffff
<6>[ 1.109920] android_register_function diag
<4>[ 1.109971] android_usb gadget: using random self ethernet address
<4>[ 1.110006] android_usb gadget: using random host ethernet address
<6>[ 1.110613] usb0: MAC 0e:dd:bd:bd:84:bf
<6>[ 1.110631] usb0: HOST MAC 2a:cb:95:17:4e:f0
<6>[ 1.110808] mass_storage_bind_config
<6>[ 1.110995] fsg_probe pdata: c0587ab0
<6>[ 1.111460] hsusb: IDLE -> ONLINE
<6>[ 1.111480] usb: lpm exit
<6>[ 1.111625] hsusb: reset controller
<6>[ 1.111680] android_usb gadget: Number of LUNs=1
<6>[ 1.111706] adb_bind_config
<6>[ 1.112336] diag_bind_config
<6>[ 1.113428] serial_bind_config
<6>[ 1.114288] projector_bind_config
<6>[ 1.114650] input: projector_input as /devices/virtual/input/input2
<6>[ 1.114686] projector_touch_init OK
<6>[ 1.115008] input: projector-Keypad as /devices/virtual/input/input3
<6>[ 1.115036] projector_keypad_init OK
<6>[ 1.115625] usb: product_id=0xff9
<6>[ 1.127936] synaptics_ts_probe: panel_version: 103
<6>[ 1.128251] synaptics_ts_probe: Manufacturer ID 1
<6>[ 1.129440] max_x: 734, max_y: c7d
<6>[ 1.129581] synaptics_ts_probe: max_x 1844, max_y 3197
<6>[ 1.129603] synaptics_ts_probe: inactive_x -5 -5, inactive_y -6 -479
<6>[ 1.129630] synaptics_ts_probe: snap_x 0-0 0-0, snap_y 0-0 0-0
<6>[ 1.129651] input_set_abs_params: mix_x 5, max_x 1839, min_y 6, max_y 2718
<6>[ 1.130030] input: synaptics-rmi-touchscreen as /devices/virtual/input/inp
ut4
<6>[ 1.130580] synaptics_ts_probe: Start touchscreen synaptics-rmi-touchscree
n in interrupt mode
<6>[ 1.130780] capella_cm3602_probe: probe
<6>[ 1.131106] input: proximity as /devices/virtual/input/input5
<6>[ 1.131440] capella_cm3602_setup
<6>[ 1.131878] GPIO Matrix Keypad Driver: Start keypad matrix for liberty-key
pad in interrupt mode
<6>[ 1.132111] GPIO Input Driver: Start gpio inputs for liberty-keypad in int
errupt mode
<6>[ 1.132565] input: liberty-keypad as /devices/virtual/input/input6
<6>[ 1.133626] input: lightsensor-level as /devices/virtual/input/input7
<6>[ 1.134006] set_ls_kvalue: ALS calibrated als_kadc=0x0
<6>[ 1.134025] set_ls_kvalue: no ALS calibrated
<6>[ 1.134043] set_ls_kvalue: als_kadc=0x1, als_gadc=0x1
<4>[ 1.134065] ls_table: data[0] , data[0] = 0, 0
<4>[ 1.134083] ls_table: data[1] , data[1] = 0, 21
<4>[ 1.134101] ls_table: data[2] , data[2] = 0, 4d
<4>[ 1.134120] ls_table: data[3] , data[3] = 0, dc
<4>[ 1.134138] ls_table: data[4] , data[4] = 1, 34
<4>[ 1.134156] ls_table: data[5] , data[5] = 1, 8d
<4>[ 1.134175] ls_table: data[6] , data[6] = 1, e5
<4>[ 1.134193] ls_table: data[7] , data[7] = 2, ba
<4>[ 1.134213] ls_table: data[8] , data[8] = 3, 5c
<4>[ 1.134231] ls_table: data[9] , data[9] = 3, ff
<7>[ 1.136385] __capella_cm3602_power: Turn the capella_cm3602 power on
<6>[ 1.136710] using input dev h2w headset for key reset
<6>[ 1.136800] using input dev liberty-keypad for key reset
<6>[ 1.137171] gpio_keys_scan_keys: key 1-116, 0 (20) changed to 0
<6>[ 1.137358] gpiomatrix: key 115, 0-0 (35-42) changed to 1
<6>[ 1.137988] using rtc device, msm_rtc, for alarms
<6>[ 1.138011] rs30000048:00010004 rs30000048:00010004: rtc core: registered
msm_rtc as rtc0
<6>[ 1.138113] adp1650 Led Flash driver: init
<6>[ 1.138213] Linux video capture interface: v2.00
<4>[ 1.138288] s5k4e1gx_init
<4>[ 1.138375] __s5k4e1gx_probe
<6>[ 1.138390] s5k4e1gx_vreg_enable camera vreg on
<3>[ 1.138405] sensor platform_data didnt register
<3>[ 1.138421] __s5k4e1gx_probe fail sensor power on error
<6>[ 1.138920] sctrl.node 0
<4>[ 1.138933] s5k4e1gx_sensor_probe()
<6>[ 1.138988] s5k4e1gx_probe called!
<6>[ 1.189073] s5k4e1gx_probe successed! rc = 0
<6>[ 1.189163] s5k4e1gx s->node 0
<6>[ 1.234290] s5k4e1gx_sensor_init(): reseting sensor.
<6>[ 1.234396] msm_hsusb_phy_reset
<6>[ 1.234868] sensor_lc_disable=0
<4>[ 1.326080] sensor evt version : 0x10
<4>[ 1.326096] use analog_settings_evt3
<6>[ 1.334836] s5k4e1gx_sysfs_init : kobject_create_and_add
<6>[ 1.334890] s5k4e1gx_sysfs_init : sysfs_create_file
<6>[ 1.336375] device-mapper: uevent: version 1.0.3
<6>[ 1.336828] device-mapper: ioctl: 4.15.0-ioctl (2009-04-01) initialised: d
[email protected]
<6>[ 1.336928] Bluetooth: HCI UART driver ver 2.2
<6>[ 1.336948] Bluetooth: HCI H4 protocol initialized
<6>[ 1.336965] Bluetooth: HCILL protocol initialized
<6>[ 1.337003] perflock_notifier_call: cpufreq lock speed 600000
<6>[ 1.337021] active perf lock 'boot-time'
<4>[ 1.338053] smem_item: id=134 not allocated, return 0
<6>[ 1.338163] mmc0: Qualcomm MSM SDCC at 0x00000000a0400000 irq 24,0 dma 8
<6>[ 1.338186] mmc0: Platform slot type: N/A
<6>[ 1.338201] mmc0: 4 bit data mode enabled
<6>[ 1.338218] mmc0: 8 bit data mode disabled
<6>[ 1.338236] mmc0: MMC clock 144000 -> 50000000 Hz, PCLK 100000000 Hz
<6>[ 1.338256] mmc0: Slot eject status = 1
<6>[ 1.338273] mmc0: Power save feature enable = 1
<6>[ 1.338295] mmc0: DM non-cached buffer at ffa4b000, dma_addr 0x24868000
<6>[ 1.338316] mmc0: DM cmd busaddr 0x24868000, cmdptr busaddr 0x24868300
<7>[ 1.338688] msmsdcc_platform_status_irq: 102
<6>[ 1.338715] mmc1: Slot status change detected (0 -> 1)
<6>[ 1.339050] photon_sdslot_switchvdd: Disabling SD slot power
<4>[ 1.340275] smem_item: id=134 not allocated, return 0
<6>[ 1.340348] mmc1: Qualcomm MSM SDCC at 0x00000000a0500000 irq 26,102 dma 8
<6>[ 1.340370] mmc1: Platform slot type: SD
<6>[ 1.340385] mmc1: 4 bit data mode enabled
<6>[ 1.340400] mmc1: 8 bit data mode disabled
<6>[ 1.340418] mmc1: MMC clock 144000 -> 50000000 Hz, PCLK 100000000 Hz
<6>[ 1.340438] mmc1: Slot eject status = 0
<6>[ 1.340453] mmc1: Power save feature enable = 1
<6>[ 1.340473] mmc1: DM non-cached buffer at ffa4c000, dma_addr 0x2486a000
<6>[ 1.340495] mmc1: DM cmd busaddr 0x2486a000, cmdptr busaddr 0x2486a300
<6>[ 1.341103] Registered led device: amber
<6>[ 1.341225] Registered led device: green
<6>[ 1.341353] Registered led device: button-backlight
<6>[ 1.341398] microp_led_probe: succeeded
<6>[ 1.342401] logger: created 64K log 'log_main'
<6>[ 1.342558] logger: created 256K log 'log_events'
<6>[ 1.342703] logger: created 64K log 'log_radio'
<6>[ 1.342870] logger: created 64K log 'log_system'
<4>[ 1.343385] GACT probability NOT on
<4>[ 1.343401] Mirror/redirect action on
<4>[ 1.343420] u32 classifier
<4>[ 1.343431] Actions configured
<4>[ 1.343450] Netfilter messages via NETLINK v0.30.
<4>[ 1.343566] nf_conntrack version 0.5.0 (4457 buckets, 17828 max)
<4>[ 1.343936] CONFIG_NF_CT_ACCT is deprecated and will be removed soon. Plea
se use
<4>[ 1.343960] nf_conntrack.acct=1 kernel parameter, acct=1 nf_conntrack modu
le option or
<4>[ 1.343981] sysctl net.netfilter.nf_conntrack_acct=1 to enable it.
<4>[ 1.344218] ctnetlink v0.93: registering with nfnetlink.
<6>[ 1.344565] xt_time: kernel timezone is -0000
<6>[ 1.344935] ip_tables: (C) 2000-2006 Netfilter Core Team
<6>[ 1.345156] arp_tables: (C) 2002 David S. Miller
<6>[ 1.345258] TCP cubic registered
<6>[ 1.345741] NET: Registered protocol family 10
<6>[ 1.346556] lo: Disabled Privacy Extensions
<6>[ 1.347240] Mobile IPv6
<6>[ 1.347261] IPv6 over IPv4 tunneling driver
<6>[ 1.347913] sit0: Disabled Privacy Extensions
<6>[ 1.348643] ip6tnl0: Disabled Privacy Extensions
<6>[ 1.348796] NET: Registered protocol family 17
<6>[ 1.348843] NET: Registered protocol family 15
<6>[ 1.348890] Bluetooth: L2CAP ver 2.14
<6>[ 1.348905] Bluetooth: L2CAP socket layer initialized
<6>[ 1.348931] Bluetooth: SCO (Voice Link) ver 0.6
<6>[ 1.348948] Bluetooth: SCO socket layer initialized
<6>[ 1.349211] Bluetooth: RFCOMM TTY layer initialized
<6>[ 1.349245] Bluetooth: RFCOMM socket layer initialized
<6>[ 1.349263] Bluetooth: RFCOMM ver 1.11
<6>[ 1.349281] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
<6>[ 1.349301] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
<4>[ 1.349448] smem_item: id=334 offset=102240 size=56=
<4>[ 1.349473] smem_item: id=136 offset=465320 size=256=
<6>[ 1.349491] [Port list] init()
<6>[ 1.349508] [Port list] Virtual Address for port_list: [f81719a8]
<6>[ 1.349526] [Port list] Physical Address for port_list: [FF719A8]
<6>[ 1.350056] wifi_nvs_init
<6>[ 1.350095] Device Wifi Mac Address: macaddr= 0:23:76:fb:c8:54
<6>[ 1.350105]
<4>[ 1.354598] htc_get_batt_info: cable status really needed an update: gpio
detected source=1, cable detected source=0
<4>[ 1.354648] htc_get_batt_info called: batt_id=270;volt=4127;tempRaw=199C;t
emp=199C;current=27;discharge=549;LEVEL=100;charging src=0;charging?0;adc_range=
4102
<4>[ 1.354680] [BAT]: initialized settings
<6>[ 1.354940] perflock_notifier_call: screen_on_policy_req 1,policy_min 4800
00
<6>[ 1.354968] perflock_notifier_call: cpufreq lock speed 600000
<6>[ 1.354986] active perf lock 'boot-time'
<6>[ 1.355011] VFP support v0.3: implementor 41 architecture 1 part 20 varian
t b rev 5
<4>[ 1.356331] smem_item: id=134 not allocated, return 0
<6>[ 1.356770] rs30000048:00010004 rs30000048:00010004: setting system clock
to 2012-01-04 01:30:28 UTC (1325640628)
<6>[ 1.357250] Freeing init memory: 1148K
<4>[ 1.357325] Warning: unable to open an initial console.
<4>[ 1.372418] smem_item: id=134 not allocated, return 0
<4>[ 1.374506] smem_item: id=134 not allocated, return 0
<4>[ 1.375573] smem_item: id=134 not allocated, return 0
<6>[ 1.382431] msm72k_udc: ulpi: write 0x1d to 0x0d
<6>[ 1.382460] msm72k_udc: ulpi: write 0x1d to 0x10
<6>[ 1.382523] usb: notify offline
<6>[ 1.382538] msm_hsusb: enable pullup
<6>[ 1.385568] msm72k_udc: usb: suspend
<6>[ 1.402318] usb: not AC charger
<6>[ 1.437415] photon_sdslot_switchvdd: Setting level to 2900
<3>[ 1.471996] init: Unable to open persistent property directory /data/prope
rty errno: 2
<6>[ 1.476298] enabling adb
<6>[ 1.476386] hsusb: ONLINE -> RESET
<6>[ 1.476403] msm_hsusb: disable pullup
<6>[ 1.476421] hsusb: reset controller
<6>[ 1.479938] adb_open
<4>[ 1.492405] smem_item: id=134 not allocated, return 0
<4>[ 1.512376] smem_item: id=134 not allocated, return 0
<6>[ 1.513603] msm_hsusb_phy_reset
<4>[ 1.515001] smem_item: id=134 not allocated, return 0
<6>[ 1.547458] photon_sdslot_switchvdd: Setting level to 2850
<4>[ 1.547540] smem_item: id=134 not allocated, return 0
<4>[ 1.547610] smem_item: id=134 not allocated, return 0
<4>[ 1.550118] smem_item: id=134 not allocated, return 0
<6>[ 1.589580] msmfb: pan_update in state(1)
<6>[ 1.589603] msmfb: full update starting
<6>[ 1.599925] gpiomatrix: key 115, 0-0 (35-42) changed to 0
<6>[ 1.602691] yaffs: dev is 32505862 name is "mtdblock6" rw
<6>[ 1.602718] yaffs: passed flags ""
<7>[ 1.602740] yaffs: Attempting MTD mount of 31.6,"mtdblock6"
<6>[ 1.633566] msmfb: full update completed
<6>[ 1.633680] msmfb: turning on panel
<4>[ 1.641243] ###BAD BLOCK 4049 1FA20000###
<7>[ 1.641260] block 82 is bad
<7>[ 1.661540] yaffs_read_super: isCheckpointed 0
<6>[ 1.662728] msm72k_udc: ulpi: write 0x1d to 0x0d
<6>[ 1.662753] msm72k_udc: ulpi: write 0x1d to 0x10
<6>[ 1.662816] usb: notify offline
<6>[ 1.662853] msm_hsusb: enable pullup
<6>[ 1.662868] hsusb: RESET -> ONLINE
<6>[ 1.665876] msm72k_udc: usb: suspend
<7>[ 1.673721] turn on backlight.
<4>[ 1.673900] smem_item: id=134 not allocated, return 0
<6>[ 1.702286] usb: send connect type -1
<4>[ 1.702325] usb_status_notifier_func: NOTIFIER Connected usb == 1
<6>[ 1.702346] fsg_set_ums_state: 1
<7>[ 1.765621] save exit: isCheckpointed 1
<6>[ 1.774656] msm72k_udc: usb: reset
<6>[ 1.774698] usb: send connect type 1
<4>[ 1.774721] usb_status_notifier_func: NOTIFIER Connected usb == 1
<6>[ 1.774743] fsg_set_ums_state: 1
<6>[ 1.774756] ums: set state 1
<6>[ 1.776936] msm72k_udc: usb: portchange USB_SPEED_HIGH
<6>[ 1.949460] msm72k_udc: usb: reset
<6>[ 1.951736] msm72k_udc: usb: portchange USB_SPEED_HIGH
<6>[ 2.166845] android_usb gadget: high speed config #1: android
<6>[ 2.166925] adb_function_set_alt: maxsize = 512
<6>[ 2.166998] ums: set state 1
<4>[ 2.336163] smem_item: id=134 not allocated, return 0
<4>[ 2.351455] smem_item: id=134 not allocated, return 0
<4>[ 2.351571] smem_item: id=134 not allocated, return 0
<4>[ 2.351618] smem_item: id=134 not allocated, return 0
<4>[ 2.351640] mmc1: host does not support reading read-only switch. assuming
write-enable.
<6>[ 2.351680] mmc1: new high speed SDHC card at address 1234
<6>[ 2.352446] mmcblk0: mmc1:1234 SA08G 7.42 GiB
<6>[ 2.352780] mmcblk0:
<6>[ 60.722268] Release 'boot-time' no_halt_lock
<3>[ 240.762271] INFO: task rpcrouter:16 blocked for more than 120 seconds.
<3>[ 240.762303] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables th
is message.
<6>[ 240.762326] rpcrouter D c045aed8 0 16 2 0x00000000
<4>[ 240.762429] [<c045aed8>] (schedule+0x444/0x4d8) from [<c013b4e0>] (rr_read
+0x14c/0x178)
<4>[ 240.762474] [<c013b4e0>] (rr_read+0x14c/0x178) from [<c013c698>] (do_read_
data+0x14/0x3a8)
<4>[ 240.762528] [<c013c698>] (do_read_data+0x14/0x3a8) from [<c0173ca0>] (work
er_thread+0x16c/0x210)
<4>[ 240.762573] [<c0173ca0>] (worker_thread+0x16c/0x210) from [<c01772b0>] (kt
hread+0x78/0x80)
<4>[ 240.762629] [<c01772b0>] (kthread+0x78/0x80) from [<c0128874>] (kernel_thr
ead_exit+0x0/0x8)
<3>[ 360.762276] INFO: task rpcrouter:16 blocked for more than 120 seconds.
<3>[ 360.762308] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables th
is message.
<6>[ 360.762331] rpcrouter D c045aed8 0 16 2 0x00000000
<4>[ 360.762424] [<c045aed8>] (schedule+0x444/0x4d8) from [<c013b4e0>] (rr_read
+0x14c/0x178)
<4>[ 360.762468] [<c013b4e0>] (rr_read+0x14c/0x178) from [<c013c698>] (do_read_
data+0x14/0x3a8)
<4>[ 360.762514] [<c013c698>] (do_read_data+0x14/0x3a8) from [<c0173ca0>] (work
er_thread+0x16c/0x210)
<4>[ 360.762558] [<c0173ca0>] (worker_thread+0x16c/0x210) from [<c01772b0>] (kt
hread+0x78/0x80)
<4>[ 360.762611] [<c01772b0>] (kthread+0x78/0x80) from [<c0128874>] (kernel_thr
ead_exit+0x0/0x8)
~ #
Hey, so I am having issues getting my nexus 7 to connect to:
1) A WiFi hit spot sold by sprint
2) WiFi tether for root users on my epic 4g touch
Every time I try to connect, it just sits there saying Saved, when it attempts to connect, it does the following.
<6>[ 1731.085143] gpio_keys: Pressed KEY_VOLUMEUP
<6>[ 1732.075103] gpio_keys: Released KEY_VOLUMEUP
<4>[ 1742.238678] connect failed event=0 e->status 1 e->reason 0
<3>[ 1742.239261] CFG80211-ERROR) wl_bss_connect_done : Report connect result - connection failed
<6>[ 1742.905188] gpio_keys: Pressed KEY_VOLUMEUP
<4>[ 1743.796567] cpu_up(1)+
<7>[ 1743.819992] tegra CPU: force EDP limit 1200000 kHz
<4>[ 1743.820228] CPU1: Booted secondary processor
<4>[ 1743.820922] cpu_up(1)-
<6>[ 1743.825092] Switched to NOHz mode on CPU #1
<6>[ 1745.355185] gpio_keys: Released KEY_VOLUMEUP
<4>[ 1747.495190] cpu_down(1)+
<4>[ 1747.497796] stop_machine_cpu_stop smp=0
<4>[ 1747.497819] stop_machine_cpu_stop smp=1
<5>[ 1747.501350] CPU1: shutdown
<4>[ 1747.505652] cpu_down(1)-
<4>[ 1754.209707] connect failed event=0 e->status 1 e->reason 0
<3>[ 1754.210075] CFG80211-ERROR) wl_bss_connect_done : Report connect result - connection failed
<4>[ 1766.179474] connect failed event=0 e->status 1 e->reason 0
<3>[ 1766.179604] CFG80211-ERROR) wl_bss_connect_done : Report connect result - connection failed
<4>[ 1768.175110] cpu_up(1)+
<7>[ 1768.197452] tegra CPU: force EDP limit 1200000 kHz
<4>[ 1768.197685] CPU1: Booted secondary processor
<4>[ 1768.198278] cpu_up(1)-
<6>[ 1768.205065] Switched to NOHz mode on CPU #1
<4>[ 1770.675130] cpu_down(1)+
<4>[ 1770.676925] stop_machine_cpu_stop smp=0
<4>[ 1770.676948] stop_machine_cpu_stop smp=1
<5>[ 1770.679400] CPU1: shutdown
<4>[ 1770.682323] cpu_down(1)-
<4>[ 1772.935077] cpu_up(1)+
<4>[ 1772.956078] CPU1: Booted secondary processor
<4>[ 1772.956804] cpu_up(1)-
<6>[ 1772.965070] Switched to NOHz mode on CPU #1
<5>[ 1773.297550] bq27541_get_psp status: Discharging ret= 0x0101
<5>[ 1773.298205] bq27541_get_psp voltage_now= 3737000 uV
<5>[ 1773.298844] bq27541_get_capacity = 31% ret= 35
<5>[ 1773.299535] bq27541_get_psp temperature= 290 (0.1¢XC)
<5>[ 1773.301018] bq27541_get_capacity = 31% ret= 35
<5>[ 1773.301791] bq27541_get_psp voltage_now= 3737000 uV
<5>[ 1773.302505] bq27541_get_psp temperature= 290 (0.1¢XC)
<5>[ 1773.303274] bq27541_get_psp status: Discharging ret= 0x0101
<4>[ 1775.236203] cpu_down(1)+
<4>[ 1775.238012] stop_machine_cpu_stop smp=0
<4>[ 1775.238033] stop_machine_cpu_stop smp=1
<5>[ 1775.240341] CPU1: shutdown
<4>[ 1775.243291] cpu_down(1)-
<4>[ 1779.005135] cpu_up(1)+
<7>[ 1779.044705] tegra CPU: force EDP limit 1200000 kHz
<4>[ 1779.044947] CPU1: Booted secondary processor
<6>[ 1779.045076] Switched to NOHz mode on CPU #1
<4>[ 1779.055396] cpu_up(1)-
<4>[ 1779.105085] cpu_up(2)+
<4>[ 1779.105756] CPU2: Booted secondary processor
<4>[ 1779.106395] cpu_up(2)-
<6>[ 1779.115065] Switched to NOHz mode on CPU #2
<4>[ 1779.156698] connect failed event=0 e->status 1 e->reason 0
<3>[ 1779.156862] CFG80211-ERROR) wl_bss_connect_done : Report connect result - connection failed
<4>[ 1781.205190] cpu_down(1)+
<4>[ 1781.208001] stop_machine_cpu_stop smp=0
<4>[ 1781.208026] stop_machine_cpu_stop smp=1
<4>[ 1781.208047] stop_machine_cpu_stop smp=2
<5>[ 1781.211678] CPU1: shutdown
<4>[ 1781.215786] cpu_down(1)-
<4>[ 1783.205273] cpu_down(2)+
<4>[ 1783.207760] stop_machine_cpu_stop smp=0
<4>[ 1783.207785] stop_machine_cpu_stop smp=2
<5>[ 1783.211411] CPU2: shutdown
<4>[ 1783.214996] cpu_down(2)-
<4>[ 1790.855129] cpu_up(1)+
<7>[ 1790.885773] tegra CPU: force EDP limit 1200000 kHz
<4>[ 1790.886013] CPU1: Booted secondary processor
<6>[ 1790.895086] Switched to NOHz mode on CPU #1
<4>[ 1790.896718] cpu_up(1)-
<4>[ 1791.131409] connect failed event=0 e->status 1 e->reason 0
<3>[ 1791.131768] CFG80211-ERROR) wl_bss_connect_done : Report connect result - connection failed
<4>[ 1793.055193] cpu_down(1)+
<4>[ 1793.057518] stop_machine_cpu_stop smp=0
<4>[ 1793.057541] stop_machine_cpu_stop smp=1
<5>[ 1793.061289] CPU1: shutdown
<4>[ 1793.065042] cpu_down(1)-
<4>[ 1795.855139] cpu_up(1)+
<7>[ 1795.885792] tegra CPU: force EDP limit 1200000 kHz
<4>[ 1795.886027] CPU1: Booted secondary processor
<6>[ 1795.895092] Switched to NOHz mode on CPU #1
<4>[ 1795.896734] cpu_up(1)-
<4>[ 1798.255168] cpu_down(1)+
<4>[ 1798.267013] stop_machine_cpu_stop smp=0
<4>[ 1798.267033] stop_machine_cpu_stop smp=1
<5>[ 1798.269651] CPU1: shutdown
<4>[ 1798.272700] cpu_down(1)-
<4>[ 1800.255080] cpu_up(1)+
<4>[ 1800.256713] connect failed event=0 e->status 1 e->reason 0
<3>[ 1800.256787] CFG80211-ERROR) wl_bss_connect_done : Report connect result - connection failed
<4>[ 1800.276129] CPU1: Booted secondary processor
<4>[ 1800.276841] cpu_up(1)-
<6>[ 1800.285069] Switched to NOHz mode on CPU #1
<4>[ 1802.355169] cpu_down(1)+
<4>[ 1802.357613] stop_machine_cpu_stop smp=0
<4>[ 1802.357636] stop_machine_cpu_stop smp=1
<5>[ 1802.361199] CPU1: shutdown
<4>[ 1802.364700] cpu_down(1)-
<4>[ 1807.235110] cpu_up(1)+
<4>[ 1807.256269] CPU1: Booted secondary processor
<4>[ 1807.257405] cpu_up(1)-
<6>[ 1807.265082] Switched to NOHz mode on CPU #1
<4>[ 1809.335168] cpu_down(1)+
<4>[ 1809.337691] stop_machine_cpu_stop smp=0
<4>[ 1809.337716] stop_machine_cpu_stop smp=1
<5>[ 1809.341149] CPU1: shutdown
<4>[ 1809.346352] cpu_down(1)-
<4>[ 1812.195150] cpu_up(1)+
<4>[ 1812.216592] connect failed event=0 e->status 1 e->reason 0
<3>[ 1812.216675] CFG80211-ERROR) wl_bss_connect_done : Report connect result - connection failed
<7>[ 1812.235578] tegra CPU: force EDP limit 1200000 kHz
<4>[ 1812.235817] CPU1: Booted secondary processor
<4>[ 1812.241341] cpu_up(1)-
<6>[ 1812.245097] Switched to NOHz mode on CPU #1
<4>[ 1814.395180] cpu_down(1)+
<4>[ 1814.398667] stop_machine_cpu_stop smp=0
<4>[ 1814.398690] stop_machine_cpu_stop smp=1
<5>[ 1814.400749] CPU1: shutdown
<4>[ 1814.404283] cpu_down(1)-
<4>[ 1816.142361] wl_bss_connect_done succeeded with 00:22:75:99:39:f9
<6>[ 1816.145835] ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
<4>[ 1816.300417] wl_bss_connect_done succeeded with 00:22:75:99:39:f9
<4>[ 1816.595097] cpu_up(1)+
<7>[ 1816.636158] tegra CPU: force EDP limit 1200000 kHz
<4>[ 1816.636391] CPU1: Booted secondary processor
<6>[ 1816.645084] Switched to NOHz mode on CPU #1
<4>[ 1816.647752] cpu_up(1)-
Click to expand...
Click to collapse
The last bit when it connects is me connecting to a random billing router. I tried resetting all the devices, forgetting the pass code on the nexus and retyping it again.
So far nothing has worked. Has anyone has a similar issue.
does your home wifi work? what channel/frequency are your modems? r u running an custom rom with custom kernel? more info would be helpful
Access point at home works fine. The nexus is currently stock minus being rooted. I believe the APs were on channel 1 or 2. It seems to have connected fine to the hotspot that sprint gives out. When I tried to connect to WiFi tether on my epic touch 4g , the same problem happened, and then I was unable to connect to the hotspot device from sprint.
Dear all,
I know this is not the correct thread but I don't have enough privileges to post in development.
EDIT: crap, just saw there is a Q&A section, messed up the location of my first post it seems.
The Project
Roaming is bad on most android devices for VOIP. This is due to the fact that you can't change the default parameters efficiently.
I wrote a fix for the broadcom drivers (BCMDHD4354 and BCMDHD) by means of using the iotcl's and a custom tool I wrote to change the default parameters (delta, trigger, interval)
The problem
When I compiled the stock kernel G900FXXU1ANG2 found on the opensource page of samsung I had no error's whatsoever.
The device booted fine and everything seemed to work. I was able to adjust the roaming parameters successfully.
However ...
After turning the wifi on and off by means of reboot or just turning it off or whatever, the connection profile is lost.
The entry found before in wpa supplicant is gone and is replaced by this:
Code:
cat /data/misc/wifi/wpa_supplicant.conf
ctrl_interface=/data/misc/wifi/sockets
update_config=1
device_name=kltexx
manufacturer=samsung
model_name=SM-G900F
model_number=SM-G900F
serial_number=8e98743f
device_type=10-0050F204-5
config_methods=physical_display virtual_push_button
p2p_disabled=1
okc=1
ss_enc=1
autoscan=samsung_exponential:8:128
cred={
imsi="?"
}
It also takes a very long time to actually turn on the wifi. The stockrom takes around one second while my kernel version takes 8-10 seconds.
The steps I allready took
kernel without any customization
I downloaded the source again (just to be sure) and compiled it without any changes. Using the build_msm8974pro_kernel.sh script found with the kernel (with some small adaptions regarding folder locations and toolchains).
It compiled fine and was able to successfully flash the zImage on the phone: Still the same issue, so its not because of my small change to the BCMDHD4354 driver.
in short the script can be reduced to this:
Code:
make -C ../kernel O=../okernel -j4 ARCH=arm \
CROSS_COMPILE=/opt/toolchains/gcc-arm-none-eabi-4_7-2014q2/bin/arm-none-eabi- \
msm8974_sec_defconfig VARIANT_DEFCONFIG=msm8974pro_sec_klte_eur_defconfig \
DEBUG_DEFCONFIG=msm8974_sec_eng_defconfig SELINUX_DEFCONFIG=selinux_defconfig \
SELINUX_LOG_DEFCONFIG=selinux_log_defconfig || exit -1
Toolchains
Samsung suggests to build the kernel using the arm-eabi-4.6 toolchain. However, the sockrom uses the gcc 4.7 library, so I tried both. (got some errors with the 4.6 not finding certain headers etc... which I fixed by mannually adding them).
However, I got the same problem using both toolchains. So I don't think it's a toolchain problem.
DMESG log
I disabled the wifi and started a clean dmesg log the moment I turned wifi back on to compare the differences with the stock and the compiled stock.
(I got a lot more debugging messages, but that is probly because it is configured that way in my defconfig file).
Besides taking 10 seconds longer before showing up in the dmesg there does not seem to be anything off.
Custom:
Code:
[email protected]:/ # dmesg
dmesg
<6>[ 93.693003] secure_storage_ (5477): undefined instruction: pc=b6dd7548
<6>[ 93.693018] Code: ea000002 00000000 f26ee1fe e12fff1e (ee190f1d)
<4>[ 93.704726] QSEECOM: qseecom_load_app: App (sec_stor) does'nt exist, loading apps for first time
<4>[ 93.717920] QSEECOM: qseecom_load_app: App with id 2 (sec_stor) now loaded
<4>[ 93.760176] QSEECOM: qseecom_unload_app: App id 2 now unloaded
<6>[ 96.410056] CFG80211-INFO2) wl_scan_timeout : timer expired but no scan request
<6>[ 96.561489] max77804k_get_input_current: CHG_CNFG_09(0x12)
<6>[ 96.563822] max77804k_get_input_current: CHG_CNFG_09(0x12)
<7>[ 96.593202] sec-fuelgauge 19-0036: sec_fg_get_scaled_capacity: scaled capacity (101.0)
<6>[ 96.593260] sec-battery battery.97: sec_bat_get_battery_info:Vnow(4387mV),Inow(450mA),Imax(460mA),SOC(100%),Tbat(294)
<6>[ 96.618093] max77804k_get_health_state: bat_dtls(0x3) int_mask(0x9a)
<6>[ 96.621311] max77804k_get_health_state: vbus_state : 0x3, chg_dtls : 0x3
<6>[ 96.621362] sec-battery battery.97: sec_bat_time_management: Charging Time : 91 secs
<6>[ 96.621416] sec-battery battery.97: sec_bat_temperature: HLT(800) HLR(750) HT(600), HR(460), LT(-50), LR(0)
<6>[ 96.621472] sec-battery battery.97: sec_bat_fullcharged_check: Charging Mode : Additional
<6>[ 96.621522] sec-battery battery.97: sec_bat_monitor_work: Status(Full), Mode(Additional), Health(Good), Cable(4), Vendor(SDI SDI), siop_level(70)
<6>[ 96.621575] sec-battery battery.97: sec_bat_monitor_work: stability_test(0), eng_not_full_status(0) slate_mode(0)
<6>[ 96.630069] healthd: battery l=100 v=4387 t=29.4 h=2 st=5 c=0 o=4 ca=450 ct=1 ps=0 chg=u
<6>[ 97.360330] Debug Temp for Sensor:
<6>[ 97.360435] (0 --- 43)(1 --- 42)(2 --- 41)(3 --- 42)(4 --- 42)(5 --- 43)(6 --- 42)(7 --- 42)(8 --- 42)(9 --- 42)(10 --- 41)
<6>[ 98.267735] synaptics_rmi4_i2c 2-0020: [0][P] 0x01, x = 757, y = 168, wx = 5, wy = 5 |[1]
<6>[ 98.320636] synaptics_rmi4_i2c 2-0020: [0][R] 0x00 M[4], Ver[A355][0/14]
<6>[ 98.368072] secure_storage_ (5485): undefined instruction: pc=b6dab548
<6>[ 98.368087] Code: ea000002 00000000 f26ee1fe e12fff1e (ee190f1d)
<4>[ 98.377907] QSEECOM: qseecom_load_app: App (sec_stor) does'nt exist, loading apps for first time
<6>[ 98.387574] wpa_supplicant (5487): undefined instruction: pc=b6e1b548
<6>[ 98.387584] Code: ea000002 00000000 f26ee1fe e12fff1e (ee190f1d)
<4>[ 98.399498] QSEECOM: qseecom_load_app: App with id 2 (sec_stor) now loaded
<4>[ 98.426938] QSEECOM: qseecom_unload_app: App id 2 now unloaded
<6>[ 101.090347] [SSP]: debug_work_func(0) - Sensor state: 0x3feff, RC: 0, CC: 0 DC: 0 TC: 0
<6>[ 101.090393] vfsspi_work_func_debug ocp state: 0, ocp en: 0 ldo pin: 0, sleep pin: 0, tz_mode: 1
<6>[ 101.091348] dmesg (5507): undefined instruction: pc=b6e43548
<6>[ 101.091361] Code: ea000002 00000000 f26ee1fe e12fff1e (ee190f1d)
<3>[ 101.652891] reading MSM_THERM_CH [rc = 0] [adc_code = 31567]
<6>[ 102.370160] Debug Temp for Sensor:
<6>[ 102.370264] (0 --- 41)(1 --- 40)(2 --- 40)(3 --- 41)(4 --- 41)(5 --- 41)(6 --- 41)(7 --- 40)(8 --- 41)(9 --- 41)(10 --- 40)
<6>[ 102.499529] dmesg (5510): undefined instruction: pc=b6dd1548
<6>[ 102.499568] Code: ea000002 00000000 f26ee1fe e12fff1e (ee190f1d)
<6>[ 103.578665] [email protected] 3
<6>[ 103.729261] secure_storage_ (5513): undefined instruction: pc=b6db3548
<6>[ 103.729279] Code: ea000002 00000000 f26ee1fe e12fff1e (ee190f1d)
<4>[ 103.740552] QSEECOM: qseecom_load_app: App (sec_stor) does'nt exist, loading apps for first time
<4>[ 103.756539] QSEECOM: qseecom_load_app: App with id 2 (sec_stor) now loaded
<4>[ 103.801920] QSEECOM: qseecom_unload_app: App id 2 now unloaded
<6>[ 105.180716] dmesg (5514): undefined instruction: pc=b6e65548
<6>[ 105.180755] Code: ea000002 00000000 f26ee1fe e12fff1e (ee190f1d)
<6>[ 106.119765] dmesg (5516): undefined instruction: pc=b6e82548
<6>[ 106.119819] Code: ea000002 00000000 f26ee1fe e12fff1e (ee190f1d)
<6>[ 106.665073] max77804k_get_input_current: CHG_CNFG_09(0x12)
<6>[ 106.666137] max77804k_get_input_current: CHG_CNFG_09(0x12)
<7>[ 106.694353] sec-fuelgauge 19-0036: sec_fg_get_scaled_capacity: scaled capacity (101.0)
<6>[ 106.694397] sec-battery battery.97: sec_bat_get_battery_info:Vnow(4387mV),Inow(450mA),Imax(460mA),SOC(100%),Tbat(294)
<6>[ 106.718716] max77804k_get_health_state: bat_dtls(0x3) int_mask(0x9a)
<6>[ 106.721475] max77804k_get_health_state: vbus_state : 0x3, chg_dtls : 0x3
<6>[ 106.721518] sec-battery battery.97: sec_bat_monitor_work: Status(Full), Mode(Additional), Health(Good), Cable(4), Vendor(SDI SDI), siop_level(70)
<6>[ 106.721559] sec-battery battery.97: sec_bat_monitor_work: stability_test(0), eng_not_full_status(0) slate_mode(0)
<6>[ 106.729328] healthd: battery l=100 v=4387 t=29.4 h=2 st=5 c=0 o=4 ca=450 ct=1 ps=0 chg=u
<6>[ 106.970738] dmesg (5518): undefined instruction: pc=b6dff548
<6>[ 106.970754] Code: ea000002 00000000 f26ee1fe e12fff1e (ee190f1d)
<6>[ 107.380213] Debug Temp for Sensor:
<6>[ 107.380316] (0 --- 41)(1 --- 40)(2 --- 39)(3 --- 40)(4 --- 40)(5 --- 40)(6 --- 40)(7 --- 40)(8 --- 40)(9 --- 40)(10 --- 39)
<6>[ 108.165214] dmesg (5520): undefined instruction: pc=b6eb2548
<6>[ 108.165231] Code: ea000002 00000000 f26ee1fe e12fff1e (ee190f1d)
<4>[ 108.456315]
<4>[ 108.456327] Dongle Host Driver, version 1.141.64 (r)
<4>[ 108.456343] Compiled in drivers/net/wireless/bcmdhd4354 on Mar 23 2015 at 09:41:26
<4>[ 108.456386] wl_android_wifi_on in
<4>[ 108.456424] wifi_platform_set_power = 1
<6>[ 108.456452] ------------------------------------------------
<6>[ 108.456481] ------------------------------------------------
<6>[ 108.456514] brcm_wlan_power Enter: power on
<6>[ 108.457764] WL_REG_ON on-step : [0]
<6>[ 108.457800] pcal6416a_gpio_direction_output(off=[8], val=[1])
<6>[ 108.462554] WL_REG_ON on-step-2 : [1]
<4>[ 108.700163] sdio_reset_comm():
<4>[ 108.751959] mmc1: queuing unknown CIS tuple 0x80 (2 bytes)
<4>[ 108.756041] mmc1: queuing unknown CIS tuple 0x80 (7 bytes)
<4>[ 108.758269] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
<6>[ 108.848597] secure_storage_ (5523): undefined instruction: pc=b6da1548
<6>[ 108.848614] Code: ea000002 00000000 f26ee1fe e12fff1e (ee190f1d)
<4>[ 108.861303] F1 signature OK, socitype:0x1 chip:0x4354 rev:0x1 pkg:0x0
<4>[ 108.862623] QSEECOM: qseecom_load_app: App (sec_stor) does'nt exist, loading apps for first time
<4>[ 108.863191] DHD: dongle ram size is set to 786432(orig 786432) at 0x180000
<4>[ 108.863717] dhdsdio_download_firmware: firmware path=/system/etc/wifi/bcmdhd_sta.bin, nvram path=/system/etc/wifi/nvram_net.txt_semco3rd
<4>[ 108.876014] QSEECOM: qseecom_load_app: App with id 2 (sec_stor) now loaded
<4>[ 108.915372] QSEECOM: qseecom_unload_app: App id 2 now unloaded
<4>[ 108.963772] dhdsdio_write_vars: Download, Upload and compare of NVRAM succeeded.
<4>[ 109.011066] dhd_bus_init: enable 0x06, ready 0x06 (waited 0us)
<4>[ 109.013853] dhd_wl_ioctl: WLC_GET_VAR: cisdump, ret = -23
<4>[ 109.013862] [WIFI_SEC] dhd_check_module_cid: CIS reading failed, ret=-23
<4>[ 109.016449] Firmware up: op_mode=0x0005, MAC=84:33:32
<4>[ 109.022932] dhdcdc_set_ioctl: SET PM to 2
<4>[ 109.023288] [WIFI_SEC] sec_control_pm: /data/.psm.info open failed, so set PM to 2
<4>[ 109.024880] [WIFI_SEC] dhd_sel_ant_from_file: File [/data/.ant.info] open error
<4>[ 109.027944] dhd_wl_ioctl: WLC_SET_VAR: pspretend_threshold, ret = -23
<4>[ 109.027953] dhd_preinit_ioctls pspretend_threshold for HostAPD failed -23
<4>[ 109.034028] Firmware version = wl0: Jun 11 2014 21:58:43 version 7.26.5.2 (A1 Station/P2P) FWID 01-8e4c322
<4>[ 109.034838] [WIFI_SEC] sec_save_wlinfo: .wifiver.info File open failed.
<4>[ 109.035965] dhd_wlfc_hostreorder_init(): successful bdcv2 tlv signaling, 64
<4>[ 109.036391] dhd_wl_ioctl: WLC_GET_VAR: pfnlbest, ret = -14
<4>[ 109.037788] dhd_wl_ioctl: WLC_GET_VAR: cisdump, ret = -23
<4>[ 109.037800] [WIFI_SEC] dhd_check_module_mac: Check module mac by legacy FW : 84:33:32
<4>[ 109.037921] [WIFI_SEC] Check Mac address in .mac.info
<6>[ 109.039168] CFG80211-INFO2) wl_cfg80211_attach_post : p2p0: p2p_dev_addr=86:33:32
<6>[ 109.141663] dmesg (5526): undefined instruction: pc=b6dfc548
<6>[ 109.141678] Code: ea000002 00000000 f26ee1fe e12fff1e (ee190f1d)
<6>[ 110.891535] dmesg (5528): undefined instruction: pc=b6e63548
<6>[ 110.891574] Code: ea000002 00000000 f26ee1fe e12fff1e (ee190f1d)
<3>[ 111.708851] reading MSM_THERM_CH [rc = 0] [adc_code = 31807]
<6>[ 111.753992] dmesg (5530): undefined instruction: pc=b6e2a548
<6>[ 111.754031] Code: ea000002 00000000 f26ee1fe e12fff1e (ee190f1d)
<6>[ 112.090633] [SSP]: debug_work_func(0) - Sensor state: 0x3feff, RC: 0, CC: 0 DC: 0 TC: 0
<6>[ 112.090718] vfsspi_work_func_debug ocp state: 0, ocp en: 0 ldo pin: 0, sleep pin: 0, tz_mode: 1
<6>[ 112.390254] Debug Temp for Sensor:
<6>[ 112.390355] (0 --- 40)(1 --- 39)(2 --- 38)(3 --- 40)(4 --- 40)(5 --- 40)(6 --- 40)(7 --- 39)(8 --- 39)(9 --- 40)(10 --- 39)
<6>[ 112.548404] dmesg (5532): undefined instruction: pc=b6deb548
<6>[ 112.548443] Code: ea000002 00000000 f26ee1fe e12fff1e (ee190f1d)
<6>[ 113.787197] secure_storage_ (5535): undefined instruction: pc=b6e44548
<6>[ 113.787214] Code: ea000002 00000000 f26ee1fe e12fff1e (ee190f1d)
<4>[ 113.797691] QSEECOM: qseecom_load_app: App (sec_stor) does'nt exist, loading apps for first time
<4>[ 113.813220] QSEECOM: qseecom_load_app: App with id 2 (sec_stor) now loaded
<4>[ 113.886957] QSEECOM: qseecom_unload_app: App id 2 now unloaded
<4>[ 114.236388] dhd_wl_ioctl: WLC_SET_VAR: mws_coex_bitmap, ret = -23
<4>[ 114.236412] LTECX_CHAN_BITMAP error -23
<6>[ 114.260260] [SSP] batch 0: delay 66000000, timeout 0, flag 1, ret 0
<6>[ 114.260358] [SSP] batch 0: delay 66000000, timeout 0, flag 0, ret 0
<6>[ 114.260634] [SSP]: set_sensors_enable - new_enable = 1, old_enable = 0
<6>[ 114.260659] [SSP]: send_instruction - Inst = 0xa1, Sensor Type = 0x0, data = 66
<6>[ 114.277962] [SSP], delay 66, timeout 0, flag=0, ret1
<6>[ 114.289037] [SSP]: MSG From MCU - RM 0 1 0 0
<6>[ 114.289046] AR-0,155,-78,-16881
<6>[ 114.289052] AR-0,198,-2,-16845
<6>[ 114.289057] AD 0 2 0 1
<6>[ 114.361413] CFG80211-TRACE) __wl_cfg80211_scan : START SCAN
<6>[ 114.595632] dmesg (5552): undefined instruction: pc=b6e50548
<6>[ 114.595644] Code: ea000002 00000000 f26ee1fe e12fff1e (ee190f1d)
<6>[ 114.957791] CFG80211-TRACE) wl_escan_handler : SCAN COMPLETED: scanned AP count=11
<6>[ 115.041899] CFG80211-TRACE) __wl_cfg80211_scan : START SCAN
<6>[ 116.741258] max77804k_get_input_current: CHG_CNFG_09(0x12)
<6>[ 116.742308] max77804k_get_input_current: CHG_CNFG_09(0x12)
<7>[ 116.771405] sec-fuelgauge 19-0036: sec_fg_get_scaled_capacity: scaled capacity (101.0)
<6>[ 116.771422] sec-battery battery.97: sec_bat_get_battery_info:Vnow(4388mV),Inow(450mA),Imax(460mA),SOC(100%),Tbat(294)
<6>[ 116.794821] max77804k_get_health_state: bat_dtls(0x3) int_mask(0x9a)
<6>[ 116.796692] max77804k_get_health_state: vbus_state : 0x3, chg_dtls : 0x3
<6>[ 116.796709] sec-battery battery.97: sec_bat_monitor_work: Status(Full), Mode(Additional), Health(Good), Cable(4), Vendor(SDI SDI), siop_level(70)
<6>[ 116.796724] sec-battery battery.97: sec_bat_monitor_work: stability_test(0), eng_not_full_status(0) slate_mode(0)
<6>[ 116.799714] healthd: battery l=100 v=4388 t=29.4 h=2 st=5 c=0 o=4 ca=450 ct=1 ps=0 chg=u
<6>[ 117.342213] dmesg (5561): undefined instruction: pc=b6e03548
<6>[ 117.342227] Code: ea000002 00000000 f26ee1fe e12fff1e (ee190f1d)
Stock:
Code:
[email protected]:/ # dmesg
dmesg
<6>[ 101.327392] synaptics_rmi4_i2c 2-0020: [0][P] 0x01
<6>[ 101.379872] synaptics_rmi4_i2c 2-0020: [0][R] 0x00 M[4], Ver[A355][0/14]
<6>[ 101.425208] SLIMBUS_0_RX: dpcm: open BE SLIMBUS_0_RX
<6>[ 101.425222] MSM8974 LowLatency: dpcm: open FE MSM8974 LowLatency
<6>[ 101.425287] msm_slim_0_rx_be_hw_params_fixup: format = 2, rate = 48000, channels = 1
<6>[ 101.425296] taiko_esxxx_get_channel_map(): dai_name = taiko_rx1 DAI-ID 0 tx_ch 0 rx_ch 0
<7>[ 101.425306] es705-codec es705-codec-gen0: es705_remote_route_enable():dai->name = taiko_rx1 dai->id = 0
<6>[ 101.425316] taiko_esxxx_hw_params: dai_name = taiko_rx1 DAI-ID 0 rate 48000 num_ch 1
<6>[ 101.425322] taiko_hw_params: dai_name = taiko_rx1 DAI-ID 0 rate 48000 num_ch 1
<7>[ 101.425338] es705-codec es705-codec-gen0: es705_remote_route_enable():dai->name = taiko_rx1 dai->id = 0
<6>[ 101.425350] __q6asm_open_write: session[1] wr_format[0x0]
<6>[ 101.425356] __q6asm_open_write: session[1] open.mode_flags:10000000
<6>[ 101.428819] q6asm_audio_client_buf_alloc_contiguous: session[1]bufsz[960]bufcnt[2]
<6>[ 101.452287] wpa_supplicant (5602): undefined instruction: pc=b6d3b548
<6>[ 101.452299] Code: ea000002 00000000 f26ee1fe e12fff1e (ee190f1d)
<6>[ 101.456934] es705-codec es705-codec-gen0: es705_remote_cfg_slim_rx(): dai_id = 0
<6>[ 101.456943] Before slim_define_ch:
<6>[ 101.456946] ch_cnt 1,ch_h[0] 16 ch_h[1] 0, grph 272 sampleszbits 16
<3>[ 101.477343] reading MSM_THERM_CH [rc = 0] [adc_code = 31012]
<6>[ 101.717989] Governor: enter mode 0x1
<4>[ 101.719712]
<4>[ 101.719715] Dongle Host Driver, version 1.141.64 (r)
<4>[ 101.719720] Compiled in drivers/net/wireless/bcmdhd4354 on Jul 3 2014 at 14:10:22
<4>[ 101.719730] wl_android_wifi_on in
<4>[ 101.719739] wifi_platform_set_power = 1
<6>[ 101.719746] ------------------------------------------------
<6>[ 101.719754] ------------------------------------------------
<6>[ 101.719762] brcm_wlan_power Enter: power on
<6>[ 101.720346] WL_REG_ON on-step : [0]
<6>[ 101.720356] pcal6416a_gpio_direction_output(off=[8], val=[1])
<6>[ 101.722417] WL_REG_ON on-step-2 : [1]
<6>[ 101.817994] Governor: exit mode 0x0
<4>[ 101.958194] sdio_reset_comm():
<4>[ 102.013000] mmc1: queuing unknown CIS tuple 0x80 (2 bytes)
<4>[ 102.016479] mmc1: queuing unknown CIS tuple 0x80 (7 bytes)
<4>[ 102.018887] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
<4>[ 102.139432] F1 signature OK, socitype:0x1 chip:0x4354 rev:0x1 pkg:0x0
<4>[ 102.140493] DHD: dongle ram size is set to 786432(orig 786432) at 0x180000
<4>[ 102.140893] dhdsdio_download_firmware: firmware path=/system/etc/wifi/bcmdhd_sta.bin, nvram path=/system/etc/wifi/nvram_net.txt_semco3rd
<4>[ 102.226624] dhdsdio_write_vars: Download, Upload and compare of NVRAM succeeded.
<4>[ 102.274236] dhd_bus_init: enable 0x06, ready 0x06 (waited 0us)
<4>[ 102.276911] dhd_wl_ioctl: WLC_GET_VAR: cisdump, ret = -23
<4>[ 102.276920] [WIFI_SEC] dhd_check_module_cid: CIS reading failed, ret=-23
<4>[ 102.280067] Firmware up: op_mode=0x0005, MAC=84:33:32
<4>[ 102.285947] dhdcdc_set_ioctl: SET PM to 2
<4>[ 102.286257] [WIFI_SEC] sec_control_pm: /data/.psm.info open failed, so set PM to 2
<4>[ 102.287833] [WIFI_SEC] dhd_sel_ant_from_file: File [/data/.ant.info] open error
<4>[ 102.290706] dhd_wl_ioctl: WLC_SET_VAR: pspretend_threshold, ret = -23
<4>[ 102.290713] dhd_preinit_ioctls pspretend_threshold for HostAPD failed -23
<4>[ 102.296346] Firmware version = wl0: Jun 11 2014 21:58:43 version 7.26.5.2 (A1 Station/P2P) FWID 01-8e4c322
<4>[ 102.296550] [WIFI_SEC] sec_save_wlinfo: .wifiver.info File open failed.
<4>[ 102.297750] dhd_wlfc_hostreorder_init(): successful bdcv2 tlv signaling, 64
<4>[ 102.298165] dhd_wl_ioctl: WLC_GET_VAR: pfnlbest, ret = -14
<4>[ 102.299421] dhd_wl_ioctl: WLC_GET_VAR: cisdump, ret = -23
<4>[ 102.299430] [WIFI_SEC] dhd_check_module_mac: Check module mac by legacy FW : 84:33:32
<4>[ 102.299590] [WIFI_SEC] Check Mac address in .mac.info
<6>[ 102.300345] CFG80211-INFO2) wl_cfg80211_attach_post : p2p0: p2p_dev_addr=86:33:32
<6>[ 102.468055] Debug Temp for Sensor:
<6>[ 102.468089] (0 --- 49)(1 --- 45)(2 --- 44)(3 --- 45)(4 --- 47)(5 --- 53)(6 --- 48)(7 --- 47)(8 --- 49)(9 --- 45)(10 --- 44)dhd_wl_ioctl: WLC_SET_VAR: mws_coex_bitmap, ret = -23
<4>[ 102.566476] LTECX_CHAN_BITMAP error -23
<6>[ 102.611939] CFG80211-TRACE) __wl_cfg80211_scan : START SCAN
<6>[ 102.653459] [email protected] 3
<6>[ 103.178451] CFG80211-TRACE) wl_escan_handler : SCAN COMPLETED: scanned AP count=7
<6>[ 103.308893] CFG80211-TRACE) __wl_cfg80211_scan : START SCAN
<6>[ 103.335840] [SSP] batch 0: delay 66000000, timeout 0, flag 1, ret 0
<6>[ 103.335880] [SSP] batch 0: delay 66000000, timeout 0, flag 0, ret 0
<6>[ 103.336102] [SSP]: set_sensors_enable - new_enable = 1, old_enable = 0
<6>[ 103.336121] [SSP]: send_instruction - Inst = 0xa1, Sensor Type = 0x0, data = 66
<6>[ 103.344646] [SSP], delay 66, timeout 0, flag=0, ret1
<6>[ 103.355432] [SSP]: MSG From MCU - RM 0 1 0 0
<6>[ 103.355438] AR-0,201,-31,-16894
<6>[ 103.355440] AD 0 2 0 1
<6>[ 103.637994] Governor: enter mode 0x1
<6>[ 105.097993] Governor: exit mode 0x0
<6>[ 105.398623] MSM8974 LowLatency: dpcm: close FE MSM8974 LowLatency
<6>[ 105.439585] SLIMBUS_0_RX: dpcm: close BE MSM8974 LowLatency
<6>[ 105.456839] es705-codec es705-codec-gen0: es705_remote_close_slim_rx(): dai_id = 0
<6>[ 105.577413] dmesg (5668): undefined instruction: pc=b6e48548
<6>[ 105.577455] Code: ea000002 00000000 f26ee1fe e12fff1e (ee190f1d)
Any ideas what I could be missing?
SOLVED
Strange I didn't think of checking the logcat output before trying to find something in DMESG.
Anyway, I found this output in logcat once I tried to enable my Wifi:
Code:
E/SecureStorage(21019): [ERROR]:SPID(0x00000000)Client SS library: connect: Connection refused
E/SecureStorage(21019): [ERROR]:SPID(0x00000000)SS_ConnectToDmnSndCmnData error
To fix this you need to disable secure storage in the /system/build.prop
Change
Code:
ro.securestorage.support=true
To
Code:
ro.securestorage.support=false
So now I have a deodexed, pre-rooted, roaming-fixed, debloated, Odin flashable stock image for SM-G900F
Help me, please. How to use build_msm8974pro_kernel.sh? Where can I get a ramdisk.img and ../buildscript/tools/signclient.jar?
I build my our modem files following as: https://forum.xda-developers.com/android/software-hacking/dev-building-qualcomm-modem-sources-t3489833
I have a Moto G X1032 that already unlocked. and also replace the NON-HLOS partition by my our mba.b00/mba.mdt. but when starting, it logs:
4>[ 4427.564452,0] ------------[ cut here ]------------
<4>[ 4427.564673,0] WARNING: at ../../../../../../kernel/kernel/irq/manage.c:428 enable_irq+0x3c/0x74()
<4>[ 4427.564786,0] Unbalanced enable for IRQ 404
<4>[ 4427.564980,0] Modules linked in:
<4>[ 4427.565210,0] [<c010bb78>] (unwind_backtrace+0x0/0xec) from [<c0182278>] (warn_slowpath_common+0x54/0x64)
<4>[ 4427.565422,0] [<c0182278>] (warn_slowpath_common+0x54/0x64) from [<c01822b8>] (warn_slowpath_fmt+0x30/0x40)
<4>[ 4427.565633,0] [<c01822b8>] (warn_slowpath_fmt+0x30/0x40) from [<c01e8f3c>] (enable_irq+0x3c/0x74)
<4>[ 4427.565845,0] [<c01e8f3c>] (enable_irq+0x3c/0x74) from [<c0130a48>] (pil_boot+0x80c/0xbf0)
<4>[ 4427.565970,0] [<c0130a48>] (pil_boot+0x80c/0xbf0) from [<c01327a0>] (mss_start+0x2c/0x60)
<4>[ 4427.566183,0] [<c01327a0>] (mss_start+0x2c/0x60) from [<c015c7f0>] (subsystem_get+0x9c/0x178)
<4>[ 4427.566397,0] [<c015c7f0>] (subsystem_get+0x9c/0x178) from [<c014573c>] (msm_ipc_load_default_node+0x34/0x6c)
<4>[ 4427.566611,0] [<c014573c>] (msm_ipc_load_default_node+0x34/0x6c) from [<c014b27c>] (msm_ipc_router_ioctl+0x124/0x2dc)
<4>[ 4427.566827,0] [<c014b27c>] (msm_ipc_router_ioctl+0x124/0x2dc) from [<c0779a08>] (sock_ioctl+0x1c8/0x294)
<4>[ 4427.567043,0] [<c0779a08>] (sock_ioctl+0x1c8/0x294) from [<c026c4e8>] (do_vfs_ioctl+0x3f4/0x5a8)
<4>[ 4427.567166,0] [<c026c4e8>] (do_vfs_ioctl+0x3f4/0x5a8) from [<c026c708>] (sys_ioctl+0x6c/0x7c)
<4>[ 4427.567376,0] [<c026c708>] (sys_ioctl+0x6c/0x7c) from [<c0105ae0>] (ret_fast_syscall+0x0/0x30)
<4>[ 4427.567576,0] ---[ end trace 3373d290566a10f8 ]---
<3>[ 4427.593954,0] pil-q6v5-mss fc880000.qcom,mss: PBL returned unexpected status -274725888
<3>[ 4427.594121,0] pil-q6v5-mss fc880000.qcom,mss: mba: Failed to bring out of reset
<3>[ 4427.594382,0] modem_notifier_cb: sysmon_send_event error -19
<3>[ 4427.594469,0] M-Notify: General: 5
<3>[ 4427.594743,0] msm_ipc_load_default_node: Failed to load modem
<6>[ 4427.599158,0] pil-q6v5-mss fc880000.qcom,mss: mba: loading from 0x0c300000 to 0x0c349000
<4>[ 4427.604425,0] ------------[ cut here ]------------
any one know what cause this?
<3>[ 4427.593954,0] pil-q6v5-mss fc880000.qcom,mss: PBL returned unexpected status -274725888
after my investigation, i think it caused by my mba is blocked by PBL. i read the <<Qualcomm-Secure-Boot>> (you can google it, because i cannot attach a link for newbie) and use the tools in attachments to compared the mba with the official mba.
I got the Certification Store and analysis it. the tool is great that i can verify the mba.b00. but any one know how to generate the certification by reversing way?
NB: This is a development thread!
A few days ago I embarked on merging the latest release from CAF (https://source.codeaurora.org/quic/la/kernel/msm-3.10/?h=LA.BR.1.3.7.c25 - 2021-01-28) with the SonyXperiadev unified kernel (https://github.com/sonyxperiadev/kernel/tree/aosp/LA.BR.1.3.3_rb2.14) which I've come to know quite well these last few years. I've sorted out most merging assumption errors (I think) and seem to have kept all important changes by Sony. It first started showing signs of life yesterday (I initially used 'fastboot boot boot.img' to test and didn't receive logs from /sys/fs/pstore/ in TWRP
Currently it's configured towards Aosp 7.1/8.01, the default branch I wish not to deviate too far from SonyXperiadev with CAF merged. 3.10.108 and booting Aosp 9/10/11 will come later. Right now there's a NULL pointer deference... Somewhere... Causing a fatal crash.
For anyone with motivation to help, it lives here: https://github.com/threader/kernel/tree/xperiadev/aosp/LA.BR.1.3.7.c26 -
First signes of life - log:
Code:
<6>[ 6.967271] vidc: disabling clock-voltage handling
<6>[ 6.974584] platform fdc00000.qcom,vidc: Driver msm_vidc_v4l2 requests probe deferral
<4>[ 6.987934] ------------[ cut here ]------------
<4>[ 6.991554] WARNING: at /xperiadev/xperiadev/threader/LA.BR.1.3.3_rb2.14-LA.BR.1.3.7_c25/kernel/mm/page_alloc.c:2583 __alloc_pages_nodemask+0x2e8/0x904()
<4>[ 7.005301] CPU: 5 PID: 1 Comm: swapper/0 Not tainted 3.10.84-g68623d4646022-03022-gb4272132d257b-dirty #42
<4>[ 7.014977] Call trace:
<4>[ 7.017404] [<ffffffc000206a4c>] dump_backtrace+0x0/0x130
<4>[ 7.022773] [<ffffffc000206b8c>] show_stack+0x10/0x1c
<4>[ 7.027840] [<ffffffc000cf525c>] dump_stack+0x1c/0x28
<4>[ 7.032845] [<ffffffc00021b120>] warn_slowpath_common+0x70/0xa0
<4>[ 7.038757] [<ffffffc00021b380>] warn_slowpath_null+0x14/0x20
<4>[ 7.044473] [<ffffffc0002ca4a8>] __alloc_pages_nodemask+0x2e4/0x904
<4>[ 7.050741] [<ffffffc0002caadc>] __get_free_pages+0x14/0x60
<4>[ 7.056300] [<ffffffc0002fb5a0>] kmalloc_order_trace+0x3c/0xf0
<4>[ 7.062092] [<ffffffc0002fc7c0>] __kmalloc_track_caller+0x40/0x1e8
<4>[ 7.068282] [<ffffffc0005f8e9c>] devm_kmalloc+0x20/0x60
<4>[ 7.073476] [<ffffffc000849d44>] cam_ahb_clk_init+0xe4/0x488
<4>[ 7.079123] [<ffffffc00084ce48>] msm_probe+0x334/0x3ac
<4>[ 7.084230] [<ffffffc0005f7198>] platform_drv_probe+0x14/0x20
<4>[ 7.089980] [<ffffffc0005f5cd0>] driver_probe_device+0x158/0x340
<4>[ 7.095961] [<ffffffc0005f5f64>] __driver_attach+0x60/0x90
<4>[ 7.101417] [<ffffffc0005f41a0>] bus_for_each_dev+0x64/0x98
<4>[ 7.106987] [<ffffffc0005f5b0c>] driver_attach+0x1c/0x28
<4>[ 7.112267] [<ffffffc0005f4a1c>] bus_add_driver+0x114/0x240
<4>[ 7.117837] [<ffffffc0005f6760>] driver_register+0x8c/0x10c
<4>[ 7.123381] [<ffffffc0005f7b20>] platform_driver_register+0x58/0x64
<4>[ 7.129657] [<ffffffc0014364bc>] msm_init+0x10/0x1c
<4>[ 7.134498] [<ffffffc0014008a0>] do_one_initcall+0xb0/0x158
<4>[ 7.140057] [<ffffffc001400ae0>] kernel_init_freeable+0x198/0x23c
<4>[ 7.146138] [<ffffffc000ceab94>] kernel_init+0x14/0xcc
<4>[ 7.151264] ---[ end trace 7bd08e91a20d3935 ]---
<3>[ 7.155856] msm_probe: failed to register ahb clocks
<4>[ 7.161013] msm: probe of fd8c0000.qcom,msm-cam failed with error -12
<4>[ 7.169157] ------------[ cut here ]------------
<4>[ 7.172756] WARNING: at /xperiadev/xperiadev/threader/LA.BR.1.3.3_rb2.14-LA.BR.1.3.7_c25/kernel/drivers/media/platform/msm/camera_v2/msm.c:406 msm_sd_register+0x50/0x1ec()
<4>[ 7.188072] CPU: 5 PID: 1 Comm: swapper/0 Tainted: G W 3.10.84-g68623d4646022-03022-gb4272132d257b-dirty #42
<4>[ 7.198744] Call trace:
<4>[ 7.201137] [<ffffffc000206a4c>] dump_backtrace+0x0/0x130
<4>[ 7.206554] [<ffffffc000206b8c>] show_stack+0x10/0x1c
<4>[ 7.211544] [<ffffffc000cf525c>] dump_stack+0x1c/0x28
<4>[ 7.216595] [<ffffffc00021b120>] warn_slowpath_common+0x70/0xa0
<4>[ 7.222478] [<ffffffc00021b380>] warn_slowpath_null+0x14/0x20
<4>[ 7.228243] [<ffffffc00084da18>] msm_sd_register+0x4c/0x1ec
<4>[ 7.233769] [<ffffffc000851c2c>] msm_cci_probe+0x274/0xc68
<4>[ 7.239253] [<ffffffc0005f7198>] platform_drv_probe+0x14/0x20
<4>[ 7.244974] [<ffffffc0005f5cd0>] driver_probe_device+0x158/0x340
<4>[ 7.250951] [<ffffffc0005f5f64>] __driver_attach+0x60/0x90
<4>[ 7.256430] [<ffffffc0005f41a0>] bus_for_each_dev+0x64/0x98
<4>[ 7.261975] [<ffffffc0005f5b0c>] driver_attach+0x1c/0x28
<4>[ 7.267286] [<ffffffc0005f4a1c>] bus_add_driver+0x114/0x240
<4>[ 7.272825] [<ffffffc0005f6760>] driver_register+0x8c/0x10c
<4>[ 7.278392] [<ffffffc0005f7b20>] platform_driver_register+0x58/0x64
<4>[ 7.284633] [<ffffffc0014364d8>] msm_cci_init_module+0x10/0x1c
<3>[ 7.285451] i2c-msm-v2 f9928000.i2c: msm_bus_scale_register_client(mstr-id:86):0x11 (ok)
<4>[ 7.298547] [<ffffffc0014008a0>] do_one_initcall+0xb0/0x158
<6>[ 7.301509] clearpad clearpad: device mid 1, prop 224, family 0xa1, rev 0x09.00, extra 0x03
<6>[ 7.301516] clearpad clearpad: bl 2000-00-00, tester 0, s/n 20556, id 'G0498-C1'
<6>[ 7.304011] clearpad clearpad: x_max=1079, y_max=1919, n_fingers=10, n_bytes_per_object=8
<6>[ 7.304541] clearpad clearpad: result: G0498-C1, family 0xa1, fw rev 0x09.00, extra 0x03, (no fw update)
<6>[ 7.304672] clearpad clearpad: funcarea 'pointer' [0, 0, 1079, 1919] [0, 0, 1079, 1919]
<6>[ 7.304678] clearpad clearpad: Touch area [0, 0, 1079, 1919]
<6>[ 7.304902] input: clearpad as /devices/virtual/input/input2
<6>[ 7.305135] evdt_initialize: LOG [=== DOUBLE TAP ===]
<6>[ 7.305146] evdt_initialize: KEY [143, DOWN]
<6>[ 7.305154] evdt_initialize: KEY [143, UP]
<6>[ 7.305164] clearpad clearpad: Touch Wakeup Feature OK
<6>[ 7.305948] clearpad clearpad: clearpad_set_power: state=running
<6>[ 7.305990] clearpad clearpad: clearpad_vreg_suspend: vdd: set mode (HPM) ok, new mode=2
<6>[ 7.328607] clearpad clearpad: normal mode OK
<6>[ 7.337308] clearpad clearpad: Touch irq busy
<6>[ 7.349856] clearpad-i2c 6-002c: clearpad_i2c_probe: sucess
<6>[ 7.350167] clearpad clearpad: status = 0x81
<6>[ 7.350171] clearpad clearpad: device reset
<6>[ 7.368106] clearpad clearpad: x_max=1079, y_max=1919, n_fingers=10, n_bytes_per_object=8
<6>[ 7.368628] clearpad clearpad: result: G0498-C1, family 0xa1, fw rev 0x09.00, extra 0x03, (no fw update)
<6>[ 7.368638] clearpad clearpad: clearpad_vreg_suspend: vdd: set mode (HPM) ok, new mode=2
<6>[ 7.391199] clearpad clearpad: normal mode OK
<6>[ 7.391206] clearpad clearpad: Touch irq pending
<6>[ 7.391415] clearpad clearpad: no work, interrupt=[0x00]
<4>[ 7.451850] [<ffffffc001400ae0>] kernel_init_freeable+0x198/0x23c
<4>[ 7.457907] [<ffffffc000ceab94>] kernel_init+0x14/0xcc
<4>[ 7.463018] ---[ end trace 7bd08e91a20d3936 ]---
<3>[ 7.467992] msm_camera_get_dt_vreg_data:1119 number of entries is 0 or not present in dts
<4>[ 7.477770] ------------[ cut here ]------------
<4>[ 7.481359] WARNING: at /xperiadev/xperiadev/threader/LA.BR.1.3.3_rb2.14-LA.BR.1.3.7_c25/kernel/drivers/media/platform/msm/camera_v2/msm.c:406 msm_sd_register+0x50/0x1ec()
<4>[ 7.496667] CPU: 4 PID: 1 Comm: swapper/0 Tainted: G W 3.10.84-g68623d4646022-03022-gb4272132d257b-dirty #42
<4>[ 7.507319] Call trace:
<4>[ 7.509742] [<ffffffc000206a4c>] dump_backtrace+0x0/0x130
<4>[ 7.515131] [<ffffffc000206b8c>] show_stack+0x10/0x1c
<4>[ 7.520156] [<ffffffc000cf525c>] dump_stack+0x1c/0x28
<4>[ 7.525204] [<ffffffc00021b120>] warn_slowpath_common+0x70/0xa0
<4>[ 7.531091] [<ffffffc00021b380>] warn_slowpath_null+0x14/0x20
<4>[ 7.536833] [<ffffffc00084da18>] msm_sd_register+0x4c/0x1ec
<4>[ 7.542380] [<ffffffc00085cc90>] csiphy_probe+0x17c/0x758
<4>[ 7.547775] [<ffffffc0005f7198>] platform_drv_probe+0x14/0x20
<4>[ 7.553487] [<ffffffc0005f5cd0>] driver_probe_device+0x158/0x340
<4>[ 7.559487] [<ffffffc0005f5f64>] __driver_attach+0x60/0x90
<4>[ 7.564958] [<ffffffc0005f41a0>] bus_for_each_dev+0x64/0x98
<4>[ 7.570499] [<ffffffc0005f5b0c>] driver_attach+0x1c/0x28
<4>[ 7.575804] [<ffffffc0005f4a1c>] bus_add_driver+0x114/0x240
<4>[ 7.581349] [<ffffffc0005f6760>] driver_register+0x8c/0x10c
<4>[ 7.586921] [<ffffffc0005f7b20>] platform_driver_register+0x58/0x64
<4>[ 7.593159] [<ffffffc0014364f4>] msm_csiphy_init_module+0x10/0x1c
<4>[ 7.599242] [<ffffffc0014008a0>] do_one_initcall+0xb0/0x158
<4>[ 7.604788] [<ffffffc001400ae0>] kernel_init_freeable+0x198/0x23c
<4>[ 7.610880] [<ffffffc000ceab94>] kernel_init+0x14/0xcc
<4>[ 7.615998] ---[ end trace 7bd08e91a20d3937 ]---
<1>[ 7.621062] Unable to handle kernel NULL pointer dereference at virtual address 00000080
<1>[ 7.628677] pgd = ffffffc00007d000
<1>[ 7.632044] [00000080] *pgd=000000001020b003, *pmd=000000001020c003, *pte=00e00000f9000407
<0>[ 7.640301] Internal error: Oops: 96000045 [#1] PREEMPT SMP
<4>[ 7.645850] CPU: 4 PID: 1 Comm: swapper/0 Tainted: G W 3.10.84-g68623d4646022-03022-gb4272132d257b-dirty #42
<4>[ 7.656524] task: ffffffc0c0170000 ti: ffffffc0c0178000 task.ti: ffffffc0c0178000
<4>[ 7.663992] PC is at csiphy_probe+0x6b4/0x758
<4>[ 7.668329] LR is at csiphy_probe+0x6a4/0x758
<4>[ 7.672671] pc : [<ffffffc00085d1c8>] lr : [<ffffffc00085d1b8>] pstate: 80000005
<4>[ 7.680045] sp : ffffffc0c017bc20
<4>[ 7.683344] x29: ffffffc0c017bc20 x28: ffffffc0019398c8
<4>[ 7.688642] x27: 0000000000000007 x26: ffffffc00508e238
<4>[ 7.693936] x25: ffffffc001e3c926 x24: ffffffc001249f70
<4>[ 7.699231] x23: ffffffc001249000 x22: ffffffc0052c8ee8
<4>[ 7.704526] x21: ffffffc0bf55bc00 x20: ffffffc001c27260
<4>[ 7.709821] x19: ffffffc00508e000 x18: 0000000000000002
<4>[ 7.715116] x17: 0000000000000001 x16: 0000000000000007
<4>[ 7.720410] x15: ffffffc0c10c82e0 x14: 0000000000000000
<4>[ 7.725705] x13: 0000000000000000 x12: 0000000000000000
<4>[ 7.731001] x11: ffffffc0007f59cc x10: 0000000000000000
<4>[ 7.736297] x9 : ffffffc0007f60e0 x8 : ffffffc0007f6324
<4>[ 7.741592] x7 : ffffffc0007f6204 x6 : ffffffc001c272b8
<4>[ 7.746886] x5 : 0000000000000000 x4 : 0000000000000008
<4>[ 7.752182] x3 : 0000000000000010 x2 : ffffffffffffffd0
<4>[ 7.757478] x1 : ffffffc000ea1d20 x0 : 0000000000000000
<4>[ 7.762774]
<4>[ 7.762774] PC: 0xffffffc00085d0c8:
<4>[ 7.767721] d0c8 9102a021d0004f40 12800254910ac000 1400004e94125ba1 71003c1fb9428660 90004f61540001e9 91317421aa1503e0 97ffbae152800022 b5000100f9011a60
<4>[ 7.781434] d108 d0004f4091036281 910ac0009102a021 94125b9012800254 913dc2f814000038 aa1803e1aa1503e0 f901126097ffb9ef 91036281b5000100 9102a021d0004f40
<4>[ 7.795151] d148 12800254910b2000 1400002294125b83 aa0003e190000002 aa1803e4aa1303e5 aa1503e0910da042 97ffba03d2800023 9103628136f80100 9102a021d0004f40
<4>[ 7.808865] d188 128001f4910c1000 1400001294125b73 52800001f9411260 f9403fa097ffba69 9100829491090014 97ffc12faa1403e0 9116b000d0ffffe0 f9408260f9001a80
<4>[ 7.822580] d1c8 52800020f9004014 52800000b9028a60 b94286601400001e 540000e971003c1f f9411a6190004f62 aa1503e091317442 97ffbb5152800023 913dc2e2f9411661
<4>[ 7.836296] d208 52800023aa1503e0 aa1a03e097ffbb4c f9414a6097e82c13 aa1303e097ea7a70 2a1403e097ea7a6e 9103628114000008 9102a021b0004f60 128001b49102d800
<4>[ 7.850011] d248 17fffff294125b45 a9425bf5a94153f3 a9446bf9a94363f7 a8c87bfda94573fb a9be7bfdd65f03c0 a90153f3910003fd f9411414aa0003f3 b9419001f9414800
<4>[ 7.863728] d288 8b01028152800000 f9414a6097ffa1c4 52800000b9419801 97ffa1bf8b010281 b941a001f9414a60 8b01028152800000 f9414a6097ffa1ba 52800000b941a801
<4>[ 7.877442]
<4>[ 7.877442] LR: 0xffffffc00085d0b8:
<4>[ 7.882389] d0b8 f901166097ffbaf2 91036281b5000100 9102a021d0004f40 12800254910ac000 1400004e94125ba1 71003c1fb9428660 90004f61540001e9 91317421aa1503e0
<4>[ 7.896105] d0f8 97ffbae152800022 b5000100f9011a60 d0004f4091036281 910ac0009102a021 94125b9012800254 913dc2f814000038 aa1803e1aa1503e0 f901126097ffb9ef
<4>[ 7.909821] d138 91036281b5000100 9102a021d0004f40 12800254910b2000 1400002294125b83 aa0003e190000002 aa1803e4aa1303e5 aa1503e0910da042 97ffba03d2800023
<4>[ 7.923537] d178 9103628136f80100 9102a021d0004f40 128001f4910c1000 1400001294125b73 52800001f9411260 f9403fa097ffba69 9100829491090014 97ffc12faa1403e0
<4>[ 7.937252] d1b8 9116b000d0ffffe0 f9408260f9001a80 52800020f9004014 52800000b9028a60 b94286601400001e 540000e971003c1f f9411a6190004f62 aa1503e091317442
<4>[ 7.950967] d1f8 97ffbb5152800023 913dc2e2f9411661 52800023aa1503e0 aa1a03e097ffbb4c f9414a6097e82c13 aa1303e097ea7a70 2a1403e097ea7a6e 9103628114000008
<4>[ 7.964681] d238 9102a021b0004f60 128001b49102d800 17fffff294125b45 a9425bf5a94153f3 a9446bf9a94363f7 a8c87bfda94573fb a9be7bfdd65f03c0 a90153f3910003fd
<4>[ 7.978397] d278 f9411414aa0003f3 b9419001f9414800 8b01028152800000 f9414a6097ffa1c4 52800000b9419801 97ffa1bf8b010281 b941a001f9414a60 8b01028152800000
<4>[ 7.992113]
<4>[ 7.992113] SP: 0xffffffc0c017bb20:
<4>[ 7.997061] bb20 0000000000000008 0000000000000000 ffffffc001c272b8 ffffffc0007f6204 ffffffc0007f6324 ffffffc0007f60e0 0000000000000000 ffffffc0007f59cc
<4>[ 8.010775] bb60 0000000000000000 0000000000000000 0000000000000000 ffffffc0c10c82e0 0000000000000007 0000000000000001 0000000000000002 ffffffc00508e000
<4>[ 8.024491] bba0 ffffffc001c27260 ffffffc0bf55bc00 ffffffc0052c8ee8 ffffffc001249000 ffffffc001249f70 ffffffc001e3c926 ffffffc00508e238 0000000000000007
<4>[ 8.038207] bbe0 ffffffc0019398c8 ffffffc0c017bc20 ffffffc00085d1b8 ffffffc0c017bc20 ffffffc00085d1c8 0000000080000005 ffffffc0c017bc20 ffffffc00085d1b8
<4>[ 8.051920] bc20 ffffffc0c017bca0 ffffffc0005f719c ffffffc0bf55bc10 ffffffc00191c000 ffffffc001830c38 0000000000000000 ffffffc0017cd000 ffffffc001c17000
<4>[ 8.065637] bc60 0000000000000069 ffffffc001601088 ffffffc0016b31c8 0000000000000000 ffffffc0c017bcb0 ffffffc00124a05c ffffffc0019395f8 ffffffc001c27000
<4>[ 8.079353] bca0 ffffffc0c017bcb0 ffffffc0005f5cd4 ffffffc0c017bd00 ffffffc0005f5f68 ffffffc0bf55bc10 ffffffc0bf55bc70 ffffffc001830c38 ffffffc0017ce368
<4>[ 8.093066] bce0 ffffffc0052c8d80 ffffffc001400194 ffffffc00198b000 ffffffc001830c38 ffffffc0c017bd30 ffffffc0005f41a4 0000000000000000 ffffffc001830c38
<4>[ 8.106783]
<0>[ 8.108259] Process swapper/0 (pid: 1, stack limit = 0xffffffc0c0178058)
<4>[ 8.114942] Call trace:
<4>[ 8.117374] [<ffffffc00085d1c8>] csiphy_probe+0x6b4/0x758
<4>[ 8.122758] [<ffffffc0005f7198>] platform_drv_probe+0x14/0x20
<4>[ 8.128486] [<ffffffc0005f5cd0>] driver_probe_device+0x158/0x340
<4>[ 8.134475] [<ffffffc0005f5f64>] __driver_attach+0x60/0x90
<4>[ 8.139943] [<ffffffc0005f41a0>] bus_for_each_dev+0x64/0x98
<4>[ 8.145498] [<ffffffc0005f5b0c>] driver_attach+0x1c/0x28
<4>[ 8.150793] [<ffffffc0005f4a1c>] bus_add_driver+0x114/0x240
<4>[ 8.156349] [<ffffffc0005f6760>] driver_register+0x8c/0x10c
<4>[ 8.161906] [<ffffffc0005f7b20>] platform_driver_register+0x58/0x64
<4>[ 8.168155] [<ffffffc0014364f4>] msm_csiphy_init_module+0x10/0x1c
<4>[ 8.174232] [<ffffffc0014008a0>] do_one_initcall+0xb0/0x158
<4>[ 8.179786] [<ffffffc001400ae0>] kernel_init_freeable+0x198/0x23c
<4>[ 8.185864] [<ffffffc000ceab94>] kernel_init+0x14/0xcc
<0>[ 8.190990] Code: d0ffffe0 9116b000 f9001a80 f9408260 (f9004014)
<4>[ 8.197275] ---[ end trace 7bd08e91a20d3938 ====9.215583
Edit 1:
Compiling without camera and media - short log:
Code:
<6>[ 10.479964] init[1]: undefined instruction: pc=0000007fa4d704c8
<6>[ 10.485266] Code: 2947b0cb d50339bf b94038c9 d5033fdf (d53be04f)
<4>[ 10.509764] init (1) used greatest stack depth: 11624 bytes left
<0>[ 10.514754] Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000004
<0>[ 10.514754]
<2>[ 10.523855] CPU5: stopping
<4>[ 10.526542]
<4>[ 10.528019] CPU: 5 PID: 0 Comm: swapper/5 Not tainted 3.10.84-g68623d4646022-03025-g95c2ecaa95022-dirty #4
<4>[ 10.537654] task: ffffffc0c0333e80 ti: ffffffc0c034c000 task.ti: ffffffc0c034c000
<4>[ 10.545125] PC is at lpm_cpuidle_enter+0xb4c/0xbc0
<4>[ 10.549895] LR is at lpm_cpuidle_enter+0xac4/0xbc0
<4>[ 10.554667] pc : [<ffffffc0008564c4>] lr : [<ffffffc00085643c>] pstate: 80000145
Fixed compiling and booting for KVM, included ranchu_defconfig for build targeting emulator - 'qemu-system-aarch64 -machine virt -cpu cortex-a57 -machine type=virt -nographic -smp 2 -kernel arch/arm64/boot/Image' - (interestingly does not happen if you remove "-smp 2")
Edit 2 :
I just built a KVM/ranchu_defconfig version of Sony's LA.BR.1.3.3_rb2.14 (almost) without changes - it outputs the same as the merged CAF-LA.BR.1.3.7_c25 with -smp 2:
Code:
[ 1.107402] Please append a correct "root=" boot option; here are the available partitions:
[ 1.107902] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[ 1.108471] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 3.10.84+ #5
[ 1.108854] Call trace:
[ 1.109421] [<ffffffc000087098>] dump_backtrace+0x0/0x140
[ 1.109646] [<ffffffc0000871e8>] show_stack+0x10/0x20
[ 1.109832] [<ffffffc000453b64>] dump_stack+0x1c/0x28
[ 1.110008] [<ffffffc000452c04>] panic+0xdc/0x228
[ 1.110181] [<ffffffc0005cece4>] mount_block_root+0x1c4/0x264
[ 1.110379] [<ffffffc0005cee8c>] mount_root+0x108/0x128
[ 1.110565] [<ffffffc0005cefe0>] prepare_namespace+0x134/0x174
[ 1.110763] [<ffffffc0005ce96c>] kernel_init_freeable+0x1b4/0x1d8
[ 1.110965] [<ffffffc00044cf28>] kernel_init+0x18/0x140
[ 1.111353] CPU1: stopping
[ 1.111689]
[ 1.111950] CPU: 1 PID: 0 Comm: swapper/1 Not tainted 3.10.84+ #5
[ 1.112530] task: ffffffc005d48000 ti: ffffffc005d50000 task.ti: ffffffc005d50000
[ 1.113340] PC is at arch_cpu_idle+0x18/0x20
[ 1.113745] LR is at arch_cpu_idle+0x14/0x20
[ 1.114080] pc : [<ffffffc000084d80>] lr : [<ffffffc000084d7c>] pstate: 40000045
Hi, I'm work on port k3.10 for nexus 5, but still won't boot... I will ask you, if I can use this base, and I wanted to know, if to boot, do build rom+kernel
I've not looked at this for a while, I'm a bit perplexed as to where the problem lies, I have some ideas i would like to try soom but I can't quite understand why devices do not initializing, it's not a very obvious fault, I've not tried it for 8974, yet, i've worked with 8994, but this will not work with nexus 4, you would need a 3.10 kernel from google then merge the difference and pray, as far as i can tell only 3.4 kernels are available.
Commit 505510e59c86ff283a2eb743f679debc6698d1ed 'clocksource: arch_timer: make virtual counter access configurable' and a problem with arch/arm64/include/hw_breakpoints.h were the reason behind the issues.
The logs tell of some problems, and i don't like a few of the compiler warnings.
Code:
----
[ 10.541250] msm8994-asoc-snd fe034000.sound: msm8994_asoc_machine_probe: hdmi audio support present
[ 10.542886] msm8994-asoc-snd fe034000.sound: ASoC: CODEC tomtom_codec not registered
[ 10.542953] platform fe034000.sound: Driver msm8994-asoc-snd requests probe deferral
[ 10.144994] ALSA device list:
[ 10.144995] No soundcards found.
Very interesting https://source.codeaurora.org/quic/la/kernel/msm-3.10/log/?h=LA.BR.1.3.7.c26 - I spent some time on the arm32 end of LA.BR.1.3.7.c25 today, as aarch64 worked to an extent on the device and seemed quite happy in qemu I wouldn't not have thought 32bit at least to some degree shouldn't , that degree being qemu and the ranchu_defconfig. But the fact that c26 is out here is quite motivating.
2021-10-13Merge "msm: adsprpc: allocated all remote memory in kernel"
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Linux Build Service Account3-67/+3472021-10-12Merge "asoc : msm: Fix zero size pointer issue"
Linux Build Service Account1-0/+62021-10-12asoc : msm: Fix zero size pointer issue
Soumya Managoli1-0/+6
https://github.com/threader/kernel/tree/xperiadev/aosp/LA.BR.1.3.7.c26 is alive on ARM64 but ARM32 does not output anything in qemu, and doesn't get further then the logo on the device(which is an improvement).
So this is the status of ARM32:
Code:
(gdb) stepi
restart () at arch/arm/boot/compressed/head.S:371
371 bl __hyp_set_vectors
=> 0x40010138 <restart+136>: 28 00 8f e2 add r0, pc, #40 ; 0x28
(gdb) stepi
375 sub r9, r6, r5 @ size to copy
=> 0x4001013c <restart+140>: b8 00 90 e8 ldm r0, {r3, r4, r5, r7}
(gdb) stepi
376 add r9, r9, #31 @ rounded up to a multiple
=> 0x40010140 <restart+144>: 03 30 40 e0 sub r3, r0, r3
(gdb) stepi
377 bic r9, r9, #31 @ ... of 32 bytes
=> 0x40010144 <restart+148>: 03 40 84 e0 add r4, r4, r3
(gdb) stepi
378 add r6, r9, r5
=> 0x40010148 <restart+152>: 03 50 85 e0 add r5, r5, r3
(gdb) stepi
379 add r9, r9, r10
=> 0x4001014c <restart+156>: 03 70 87 e0 add r7, r7, r3
(gdb) stepi
381 1: ldmdb r6!, {r0 - r3, r10 - r12, lr}
=> 0x40010150 <restart+160>: 00 80 87 e5 str r8, [r7]
(gdb) stepi
382 cmp r6, r5
=> 0x40010154 <restart+164>: 23 6c a0 e1 lsr r6, r3, #24
(gdb) stepi
383 stmdb r9!, {r0 - r3, r10 - r12, lr}
=> 0x40010158 <restart+168>: 06 0c 33 e1 teq r3, r6, lsl #24
(gdb) stepi
384 bhi 1b
=> 0x4001015c <restart+172>: 70 b9 0e 1a bne 0x403be724
(gdb) stepi
0x403be724 in ?? ()
=> 0x403be724: 00 00 a0 e1 nop ; (mov r0, r0)
(gdb) stepi
0x403be728 in ?? ()
=> 0x403be728: fd ff ff ea b 0x403be724
(gdb)
Code:
/* Relocate the hyp vector base if necessary */
#ifdef CONFIG_ARM_VIRT_EXT
mrs r0, spsr
and r0, r0, #MODE_MASK
cmp r0, #HYP_MODE
bne 1f
bl __hyp_get_vectors
sub r0, r0, r5
add r0, r0, r10
bl __hyp_set_vectors
1:
#endif
sub r9, r6, r5 @ size to copy
add r9, r9, #31 @ rounded up to a multiple
bic r9, r9, #31 @ ... of 32 bytes
add r6, r9, r5
add r9, r9, r10
1: ldmdb r6!, {r0 - r3, r10 - r12, lr}
cmp r6, r5
stmdb r9!, {r0 - r3, r10 - r12, lr}
bhi 1b
/* Preserve offset to relocated code. */
sub r6, r9, r6
Placeholder until recovered from injury
Why aren't you participating to the other mainline trees?
postmarketOS / linux-postmarketos-archive · GitLab
Archive of the issues in linux-postmarketos.git
gitlab.com
Qualcomm Snapdragon 820 Mainline / linux · GitLab
Staging area for Device Tree support and drivers for various Qualcomm Snapdragon 820/821 mobile devices
gitlab.com
GitHub - SoMainline/linux: Linux kernel source tree
Linux kernel source tree. Contribute to SoMainline/linux development by creating an account on GitHub.
github.com
mirhl said:
Why aren't you participating to the other mainline trees?
Click to expand...
Click to collapse
I read about somainline but last I checked it had little activity, I might have been abit quick there though, reading and poking a bit about. Very much interesting, thank you for the heads up.
mirhl said:
Why aren't you participating to the other mainline trees?
postmarketOS / linux-postmarketos-archive · GitLab
Archive of the issues in linux-postmarketos.git
gitlab.com
Qualcomm Snapdragon 820 Mainline / linux · GitLab
Staging area for Device Tree support and drivers for various Qualcomm Snapdragon 820/821 mobile devices
gitlab.com
GitHub - SoMainline/linux: Linux kernel source tree
Linux kernel source tree. Contribute to SoMainline/linux development by creating an account on GitHub.
github.com
Click to expand...
Click to collapse
Ok, so I'm taking a look at SoMainline atm, and gathering some info, I remember Rob Clark in regards to the Freedreno project did a panel driver for the Sony Z3 (https://patchwork.kernel.org/[email protected]/) - Started reading the documentation and found this gem (https://github.com/freedreno/freedreno/wiki/DSI-Panel-Driver-Porting) mentioning this gem https://github.com/msm8916-mainline/linux-mdss-dsi-panel-driver-generator .
hey! how's it going? i haven't seen any work done in a while...
IGor2Orel said:
hey! how's it going? i haven't seen any work done in a while...
Click to expand...
Click to collapse
Hey, thanks for asking, I've had to recover from all sorts of ****, got Covid around february 2022, i was in a good flow, but alas, it took it's toll and my lungs were wrecked after, took at least 6 months before i didn't need a break or two going to the store to buy stuff.
I worked on an old huawei kernel trying to pull of a similar thing i did in 2011 or so where i stuffed the drivers in a mainline kernel and such, just doing so with the knowledge i have now, i worked for a month flat out on that until migraines and tinnitus beat the **** out of me, turns out i have a chronic sinus infection which leads to tinnitus, I've gotten some nasal-spray for that and the condition is improving. I'm slowly getting into a flow again, but i wont dare work 24h+ again and let it become too much of an obsession to get **** working as earlier, the body is complaining in all sorts of ways, i had to let everything go for months after the Huawei stuff.
I got recovery booting on the MSM .c25 kernel here though, i got stuck on getting arm32 working, now I've got a similar problem with the Huawei kernel where i need to debug an early boot problem and boot in qemu to get any useful output, I'm hunting for my notes at the time and cursing myself for not posting everything in this forum so i could just go back and copy paste. I know, i think that CAF now Code Linaro has a new branch of this MSM kernel I could try to merge and see if arm32 boots, It stumps me that aarch64 worked, this was supposed to be a continuation of Sony's efforts to unify the kernel having the Z1 and z5 in the same place, I also got sidetracked with https://github.com/SoMainline , and a merge with of a Copyleft kernel to a Z3+, z4 and Z5 kernel, i guess too many balls in the air? I'll see in the coming weeks if i can manage to get around to merging newer branches and see if this work properly, or even boot los 14.1/15 which requires more diligence than just a recovery. As far as i could tell or remember audio wasn't initializing properly though, for reasons unknown, I know of a patch which i applied that fixed audio for the said Copyleft kernel, but that didn't seem to work reading the 'dmesg'. Question is though, is it worth the effort or should i focus on So-mainline, or both,I got to the point of having a generated display driver and was trying to figure out the regulator stuff on So-mainline before Covid screwed me hard. . . I'll get around to trying again, it's just taken me forever, and the years are flying these days, I could use a helping hand.
Cheers.
threader said:
Hey, thanks for asking...
Click to expand...
Click to collapse
by the time you answered i already managed to sell the thing... can't help much at this point, my knowledge is near 0 too
IGor2Orel said:
by the time you answered i already managed to sell the thing... can't help much at this point, my knowledge is near 0 too
Click to expand...
Click to collapse
hehe, that makes sense knowing now all the nasty bugs that lurk everywhere in firmware and TZ and such, I can't recommend using old phones for anything serious. I got another z5 to play with but also bought a new phone last year, I'm discovering some rather annoying bugs in this kernel, I don't remember it being this way, or stubborn, i always tested with 'fastboot boot recovery.img' and it worked, now it work's the first time and fail to boot itself if i flash recovery to boot and select reboot, or 'fastboot boot recovery.img' twice without a full power circle. Same goes for getting into TWRP recovery to get the logs, TWRP sometimes fails to boot, i think it's left over NVRAM variables from the previous kernel. ugh. At least i got all the way back around to this in 1.4 years ?