Jump to content

Can't boot tinker board s from emmc


freak

Recommended Posts

Using 5.41 I ran armbian-config to install armbian on a tinker board s emmc.  Install went ok but get nothing but a black screen on boot.  Any ideas on what to do to get it going?

Link to comment
Share on other sites

1 minute ago, TonyMac32 said:

we need to rebuild the images for download, let me verify the current state of master is good.


OK, let me know. I can verify normal Tinkerboard. 

Link to comment
Share on other sites

30 minutes ago, freak said:

Hmmm....   Still nothing.

OK, I wasn't sure if the updated u-boot packages had made it into the repo yet or not.  The tinker S boot patch was in the development branch and only in the last few days made it to the main branch.  It will take a day or two to roll out the new images.

Link to comment
Share on other sites

2 hours ago, TonyMac32 said:

Specific points are Bluetooth and sound.

 

BT headset connected, sound distorted (Chromium Youtube)

BT keyboard works fine

mali fails (user 10.6, kernel 10.4)

video acceleration works fine

don't have sound on HDMI, headset audio works

 

Building with Midgard for Android fails with:

drivers/gpu/arm/midgard/ipa/mali_kbase_ipa.c:582:22: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types]
error, forbidden warning: mali_kbase_ipa.c:582
  CC      drivers/regulator/core.o
scripts/Makefile.build:277: recipe for target 'drivers/gpu/arm/midgard/ipa/mali_kbase_ipa.o' failed
make[4]: *** [drivers/gpu/arm/midgard/ipa/mali_kbase_ipa.o] Error 1
make[4]: *** Waiting for unfinished jobs....

This is fixed ... going further.

Link to comment
Share on other sites

OK.

 

  @Myy I know 4.4 isn't your interest, but does this warning look familiar?

 

I'll try compiling it with gcc 6, they were correcting stuff for gcc 7 so I went with that when it built properly, but they may not be using it it would seem (I put in an issue/got it corrected on some wireless driver warnings that gcc 7 would not allow vs gcc 6)

 

 

Link to comment
Share on other sites

45 minutes ago, Igor said:

Building with Midgard for Android fails with:


CONFIG_MALI_PWRSOFT_765=y

 

has to be enabled, but then I don't get the picture on the screen. Continuing tomorrow.

 

 

Link to comment
Share on other sites

8 hours ago, TonyMac32 said:

I'll see if that gets the Android driver working as expected, and I'll reach out to Rockchip about what the recommended course of action is.


Mine crashes:

Spoiler

[   85.463225] dw_wdt: unexpected close, system will reboot soon
[   85.807193] reboot: Restarting system
[    7.356504] Internal error: Oops: 5 [#1] SMP ARM
[    7.361630] Modules linked in:
[    7.365071] CPU: 0 PID: 1 Comm: swapper/0 Tainted: G        W       4.4.133-rockchip #7
[    7.373954] Hardware name: Rockchip (Device Tree)
[    7.379193] task: ee950000 task.stack: ee8ba000
[    7.383828] dwmmc_rockchip ff0d0000.dwmmc: Unexpected interrupt latency
[    7.391588] PC is at __kmalloc_track_caller+0x204/0x280
[    7.397416] LR is at __kmalloc_track_caller+0x7c/0x280
[    7.403149] pc : [<c0231744>]    lr : [<c02315bc>]    psr: 20000013
[    7.403149] sp : ee8bbd00  ip : ee8bbd00  fp : ee8bbd3c
[    7.415889] r10: 00000000  r9 : c02084f4  r8 : 024000c0
[    7.421703] r7 : 0000000c  r6 : ee801e40  r5 : 656d616e  r4 : ee801e40
[    7.428958] r3 : 00000000  r2 : 0000494c  r1 : c11c40b8  r0 : 2dbc8000
[    7.436222] Flags: nzCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment none
[    7.444154] Control: 10c5387d  Table: 0000406a  DAC: 00000051
[    7.450537] 
[    7.450537] PC: 0xc02316c4:
[    7.455291] 16c4  e1a0300d e59f00ec e3c33d7f e3c3303f e5933050 e5900000 e3530000 e283201f
[    7.464583] 16e4  a1a02003 e203301f e1a022c2 e7902102 e1a03332 e3130001 0affffa0 e596600c
[    7.473864] 1704  e5914010 e3540000 0a000025 e88d0140 e1a03007 e594a000 e1a02005 e5940004
[    7.483149] 1724  e1a01009 e12fff3a e5b4300c e3530000 eafffff4 e1a04006 eaffffb7 e5943014
[    7.492432] 1744  e795e003 e10f0000 f10c0080 e5943000 ee1dcf90 e1a01003 e791a00c e155000a
[    7.501708] 1764  0a000001 e121f000 eaffffae e2833004 e793300c e1520003 1afffff9 e781e00c
[    7.510986] 1784  e2822001 e5943000 ee1d1f90 e2833004 e7832001 e121f000 e5943014 f7def003
[    7.520273] 17a4  eaffffb3 eaffff75 c12076f0 c133e934 001fff00 c12d7138 c0d01a84 e1a0c00d
[    7.529567] 
[    7.529567] LR: 0xc023153c:
[    7.534321] 153c  c0ed43f8 e1a0c00d e92ddff0 e24cb004 e24dd014 e52de004 e8bd4000 e3500a02
[    7.543604] 155c  e1a07000 e1a08001 e1a09002 9a000008 e2402001 e1a02622 e16f2f12 e2622020
[    7.552885] 157c  ebff7745 e1a05000 e1a00005 e24bd028 e89daff0 ebff7b47 e3500010 e1a06000
[    7.562168] 159c  91a05000 9afffff7 e59f3200 e5934000 e0044008 e3140501 0a000000 eb2835bd
[    7.571447] 15bc  e59f31ec e5932000 e50b3030 e3520000 da000059 e3140601 1a000057 e1a0300d
[    7.580735] 15dc  e59f21d0 e3c33d7f e3c3303f e5931044 e0022001 e3520000 1a00004f e593304c
[    7.590020] 15fc  e59323b0 e3520000 0a00004b e593300c e3130602 1a000048 e1a00006 eb001dc8
[    7.599306] 161c  e1a04000 e3540000 01a05004 0a000021 e5943000 e1a0000d ee1d2f90 e2833004
[    7.608599] 
[    7.608599] SP: 0xee8bbc80:
[    7.613354] bc80  c05ac7b0 c022fa20 ee88e088 025000c0 c0231744 20000013 ffffffff ee8bbce4
[    7.622642] bca0  ee8bbd3c ee8bbcb0 c010c760 c01011e4 2dbc8000 c11c40b8 0000494c 00000000
[    7.631928] bcc0  ee801e40 656d616e ee801e40 0000000c 024000c0 c02084f4 00000000 ee8bbd3c
[    7.641214] bce0  ee8bbd00 ee8bbd00 c02315bc c0231744 20000013 ffffffff 00000051 c0c3ecc0
[    7.650503] bd00  eda81c80 00000000 00000000 c133e934 ee8bbd54 024000c0 eea57c00 0000000c
[    7.659790] bd20  c02084f4 00000000 c11bbac0 00000000 ee8bbd5c ee8bbd40 c02084a8 c023154c
[    7.669060] bd40  c0f50f20 024000c0 ee8bbddc c120bbe0 ee8bbd6c ee8bbd60 c02084f4 c0208474
[    7.678338] bd60  ee8bbd8c ee8bbd70 c05b82ec c02084d0 ed0f01e0 ed0f0300 ed0f01e0 c120bbe0
[    7.687630] 
[    7.687630] IP: 0xee8bbc80:
[    7.692385] bc80  c05ac7b0 c022fa20 ee88e088 025000c0 c0231744 20000013 ffffffff ee8bbce4
[    7.701662] bca0  ee8bbd3c ee8bbcb0 c010c760 c01011e4 2dbc8000 c11c40b8 0000494c 00000000
[    7.710933] bcc0  ee801e40 656d616e ee801e40 0000000c 024000c0 c02084f4 00000000 ee8bbd3c
[    7.720214] bce0  ee8bbd00 ee8bbd00 c02315bc c0231744 20000013 ffffffff 00000051 c0c3ecc0
[    7.729496] bd00  eda81c80 00000000 00000000 c133e934 ee8bbd54 024000c0 eea57c00 0000000c
[    7.738773] bd20  c02084f4 00000000 c11bbac0 00000000 ee8bbd5c ee8bbd40 c02084a8 c023154c
[    7.748042] bd40  c0f50f20 024000c0 ee8bbddc c120bbe0 ee8bbd6c ee8bbd60 c02084f4 c0208474
[    7.757333] bd60  ee8bbd8c ee8bbd70 c05b82ec c02084d0 ed0f01e0 ed0f0300 ed0f01e0 c120bbe0
[    7.766623] 
[    7.766623] FP: 0xee8bbcbc:
[    7.771377] bcbc  00000000 ee801e40 656d616e ee801e40 0000000c 024000c0 c02084f4 00000000
[    7.780667] bcdc  ee8bbd3c ee8bbd00 ee8bbd00 c02315bc c0231744 20000013 ffffffff 00000051
[    7.789946] bcfc  c0c3ecc0 eda81c80 00000000 00000000 c133e934 ee8bbd54 024000c0 eea57c00
[    7.799237] bd1c  0000000c c02084f4 00000000 c11bbac0 00000000 ee8bbd5c ee8bbd40 c02084a8
[    7.808518] bd3c  c023154c c0f50f20 024000c0 ee8bbddc c120bbe0 ee8bbd6c ee8bbd60 c02084f4
[    7.817799] bd5c  c0208474 ee8bbd8c ee8bbd70 c05b82ec c02084d0 ed0f01e0 ed0f0300 ed0f01e0
[    7.827076] bd7c  c120bbe0 ee8bbdac ee8bbd90 c05ad34c c05b82a4 ed0f01e0 ed0f0300 ed0f01e0
[    7.836358] bd9c  c120bbe0 ee8bbdd4 ee8bbdb0 c05ad940 c05ad324 c09596c0 ee8bbddc ed0f01e0
[    7.845646] 
[    7.845646] R1: 0xc11c4038:
[    7.850402] 4038  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    7.859668] 4058  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    7.868943] 4078  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    7.878206] 4098  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    7.887464] 40b8  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    7.896721] 40d8  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    7.905990] 40f8  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    7.915244] 4118  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    7.924518] 
[    7.924518] R4: 0xee801dc0:
[    7.929272] 1dc0  c0ed692a ee801e84 ee801d04 00000000 edeb2080 ee801e94 ee801d14 eddd8898
[    7.938551] 1de0  eddd8880 c1224294 edeb1b90 00000002 00000007 00000001 ee801df8 ee801df8
[    7.947826] 1e00  00000000 00000000 00000000 edeb2100 ee800f80 ffffffff ffffffff ffffffff
[    7.957097] 1e20  ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff
[    7.966376] 1e40  c11c40b8 00000000 00000005 00000040 00000040 00000000 0000001e 00000040
[    7.975651] 1e60  00000040 00000040 00000000 0000000e 00000000 00000040 00000040 00000000
[    7.984922] 1e80  c0ed691f ee801f44 ee801dc4 00000000 edeb2140 ee801f54 ee801dd4 eddd8898
[    7.994207] 1ea0  eddd8880 c1224294 edeb35a0 00000002 00000007 00000001 ee801eb8 ee801eb8
[    8.003485] 
[    8.003485] R6: 0xee801dc0:
[    8.008242] 1dc0  c0ed692a ee801e84 ee801d04 00000000 edeb2080 ee801e94 ee801d14 eddd8898
[    8.017522] 1de0  eddd8880 c1224294 edeb1b90 00000002 00000007 00000001 ee801df8 ee801df8
[    8.026803] 1e00  00000000 00000000 00000000 edeb2100 ee800f80 ffffffff ffffffff ffffffff
[    8.036078] 1e20  ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff
[    8.045357] 1e40  c11c40b8 00000000 00000005 00000040 00000040 00000000 0000001e 00000040
[    8.054614] 1e60  00000040 00000040 00000000 0000000e 00000000 00000040 00000040 00000000
[    8.063879] 1e80  c0ed691f ee801f44 ee801dc4 00000000 edeb2140 ee801f54 ee801dd4 eddd8898
[    8.073164] 1ea0  eddd8880 c1224294 edeb35a0 00000002 00000007 00000001 ee801eb8 ee801eb8
[    8.082451] 
[    8.082451] R9: 0xc0208474:
[    8.087206] 8474  e52de004 e8bd4000 e2505000 e1a04001 e1a0700e 01a04005 0a00000a eb0eab83
[    8.096483] 8494  e2806001 e1a01004 e1a02007 e1a00006 eb00a425 e2504000 0a000002 e1a02006
[    8.105768] 84b4  e1a01005 eb0e8658 e1a00004 e89da8f0 e1a0c00d e92dd800 e24cb004 e52de004
[    8.115042] 84d4  e8bd4000 e59f3018 e1500003 3a000002 e59f3010 e1500003 389da800 ebffffdc
[    8.124324] 84f4  e89da800 c0d00000 c100d000 e1a0c00d e92dd8f0 e24cb004 e52de004 e8bd4000
[    8.133604] 8514  e1a04001 e1a06000 e1a01002 e1a00004 e1a0200e eb00a404 e2505000 0a000002
[    8.142877] 8534  e1a02004 e1a01006 eb0e8637 e1a00005 e89da8f0 e1a0c00d e92dd8f0 e24cb004
[    8.152155] 8554  e52de004 e8bd4000 e2506000 e1a05001 01a04006 e1a01002 0a000009 e1a0200e
[    8.161459] Process swapper/0 (pid: 1, stack limit = 0xee8ba258)
[    8.168139] Stack: (0xee8bbd00 to 0xee8bc000)
[    8.173028] bd00: eda81c80 00000000 00000000 c133e934 ee8bbd54 024000c0 eea57c00 0000000c
[    8.182139] bd20: c02084f4 00000000 c11bbac0 00000000 ee8bbd5c ee8bbd40 c02084a8 c023154c
[    8.191250] bd40: c0f50f20 024000c0 ee8bbddc c120bbe0 ee8bbd6c ee8bbd60 c02084f4 c0208474
[    8.200360] bd60: ee8bbd8c ee8bbd70 c05b82ec c02084d0 ed0f01e0 ed0f0300 ed0f01e0 c120bbe0
[    8.209471] bd80: ee8bbdac ee8bbd90 c05ad34c c05b82a4 ed0f01e0 ed0f0300 ed0f01e0 c120bbe0
[    8.218581] bda0: ee8bbdd4 ee8bbdb0 c05ad940 c05ad324 c09596c0 ee8bbddc ed0f01e0 ed0f01e0
[    8.227690] bdc0: ed0f02d0 eea57c00 ee8bbdfc ee8bbde0 c095a28c c05ad8f8 c0f50f20 eea57c00
[    8.236799] bde0: ed0f02d0 00000000 60000013 c120bbe0 ee8bbe1c ee8bbe00 c0960dd0 c095a224
[    8.245908] be00: 00000000 ed0f02d0 60000013 c120bbe0 ee8bbe3c ee8bbe20 c0960dec c0960d60
[    8.255018] be20: ed0f0394 ed0f01b0 60000013 c120bbe0 ee8bbe5c ee8bbe40 c0960dec c0960d60
[    8.264128] be40: c1354254 ed0f8024 ee8bbe70 c120bbe0 ee8bbee4 ee8bbe60 c1143258 c0960d60
[    8.273238] be60: ee8bbea4 ee8bbee0 0000000c c0ecdeef ed0f0000 c05b832c c11bbac0 00000000
[    8.282348] be80: ee8bbebc ee8bbe90 c05b828c c05b673c c13542c4 ee8bbee0 ee8bbebc c114316c
[    8.291456] bea0: c12de000 00000000 c1172044 c12de000 ee8bbed8 c0101ba0 c05b832c c114316c
[    8.300566] bec0: eda7dcc0 00000000 c120bbe0 c120bbe0 c11bbac0 00000000 ee8bbf5c ee8bbee8
[    8.309676] bee0: c0101ba8 c1143178 ee8bbf0c ee8bbef8 c0139f50 c0139ed8 eedbeb00 eedbeb59
[    8.318785] bf00: ee8bbf5c ee8bbf10 c013a11c c0139f2c c0168814 c100bcd0 c100bcd0 00000007
[    8.327892] bf20: 00000007 00000184 c100ada8 eedbeb79 00000000 00000008 c12de000 00000008
[    8.337001] bf40: c12de000 00000184 c1172044 c12de000 ee8bbf94 ee8bbf60 c1100f58 c0101a14
[    8.346104] bf60: 00000007 00000007 00000000 c1100600 00000000 c0c3d738 00000000 00000000
[    8.355211] bf80: 00000000 00000000 ee8bbfac ee8bbf98 c0c3d750 c1100d48 00000000 c0c3d738
[    8.364317] bfa0: 00000000 ee8bbfb0 c01076d0 c0c3d744 00000000 00000000 00000000 00000000
[    8.373419] bfc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    8.382524] bfe0: 00000000 00000000 00000000 00000000 00000013 00000000 ffffffff ffffffff
[    8.391671] [<c0231744>] (__kmalloc_track_caller) from [<c02084a8>] (kstrdup+0x40/0x5c)
[    8.400609] [<c02084a8>] (kstrdup) from [<c02084f4>] (kstrdup_const+0x30/0x3c)
[    8.408673] [<c02084f4>] (kstrdup_const) from [<c05b82ec>] (kvasprintf_const+0x54/0x70)
[    8.417605] [<c05b82ec>] (kvasprintf_const) from [<c05ad34c>] (kobject_set_name_vargs+0x34/0xa0)
[    8.427398] [<c05ad34c>] (kobject_set_name_vargs) from [<c05ad940>] (kobject_add+0x58/0x90)
[    8.436715] [<c05ad940>] (kobject_add) from [<c095a28c>] (__of_attach_node_sysfs+0x74/0xec)
[    8.446031] [<c095a28c>] (__of_attach_node_sysfs) from [<c0960dd0>] (attach_node_and_children+0x7c/0xe0)
[    8.456586] [<c0960dd0>] (attach_node_and_children) from [<c0960dec>] (attach_node_and_children+0x98/0xe0)
[    8.467336] Code: eafffff4 e1a04006 eaffffb7 e5943014 (e795e003) 
[    8.474620] ---[ end trace b3f75b8246d5f8b8 ]---
[    8.480324] Unable to handle kernel paging request at virtual address 656d616e
[    8.480341] Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b
[    8.480341] 
[    8.480347] CPU1: stopping
[    8.480354] CPU: 1 PID: 37 Comm: cfinteractive Tainted: G      D W       4.4.133-rockchip #7
[    8.480356] Hardware name: Rockchip (Device Tree)
[    8.480371] [<c0110104>] (unwind_backtrace) from [<c010bde0>] (show_stack+0x20/0x24)
[    8.480381] [<c010bde0>] (show_stack) from [<c05ab1f0>] (dump_stack+0x84/0xa4)
[    8.480389] [<c05ab1f0>] (dump_stack) from [<c010e750>] (handle_IPI+0x1d0/0x288)
[    8.480396] [<c010e750>] (handle_IPI) from [<c01014a4>] (gic_handle_irq+0x90/0x9c)
[    8.480403] [<c01014a4>] (gic_handle_irq) from [<c010c7d4>] (__irq_svc+0x54/0x70)
[    8.480406] Exception stack(0xeebe3d38 to 0xeebe3d80)
[    8.480410] 3d20:                                                       eed96818 eeb6a440
[    8.480417] 3d40: 00000001 00000161 600b0013 00000001 eed967b0 c1207758 eed96888 eebe3eb0
[    8.480423] 3d60: c1206eac eebe3d9c eebe3d88 eebe3d88 c0c41f94 c0c41f98 600b0013 ffffffff
[    8.480433] [<c010c7d4>] (__irq_svc) from [<c0c41f98>] (_raw_spin_unlock_irqrestore+0x20/0x24)
[    8.480447] [<c0c41f98>] (_raw_spin_unlock_irqrestore) from [<c091e6ec>] (cpufreq_interactive_notifier+0xf0/0x134)
[    8.480458] [<c091e6ec>] (cpufreq_interactive_notifier) from [<c013ba48>] (notifier_call_chain+0x50/0x74)
[    8.480466] [<c013ba48>] (notifier_call_chain) from [<c013be8c>] (__srcu_notifier_call_chain+0x54/0x70)
[    8.480473] [<c013be8c>] (__srcu_notifier_call_chain) from [<c013bed0>] (srcu_notifier_call_chain+0x28/0x30)
[    8.480481] [<c013bed0>] (srcu_notifier_call_chain) from [<c0916458>] (cpufreq_notify_transition+0x16c/0x1a4)
[    8.480489] [<c0916458>] (cpufreq_notify_transition) from [<c09166b8>] (cpufreq_freq_transition_end+0x44/0x9c)
[    8.480496] [<c09166b8>] (cpufreq_freq_transition_end) from [<c0916e24>] (__cpufreq_driver_target+0x218/0x27c)
[    8.480505] [<c0916e24>] (__cpufreq_driver_target) from [<c091dfec>] (cpufreq_interactive_speedchange_task+0x28c/0x304)
[    8.480516] [<c091dfec>] (cpufreq_interactive_speedchange_task) from [<c013a9ac>] (kthread+0x104/0x114)
[    8.480524] [<c013a9ac>] (kthread) from [<c01076d0>] (ret_from_fork+0x14/0x24)
[    8.480529] CPU3: stopping
[    8.480535] CPU: 3 PID: 0 Comm: swapper/3 Tainted: G      D W       4.4.133-rockchip #7
[    8.480537] Hardware name: Rockchip (Device Tree)
[    8.480550] [<c0110104>] (unwind_backtrace) from [<c010bde0>] (show_stack+0x20/0x24)
[    8.480558] [<c010bde0>] (show_stack) from [<c05ab1f0>] (dump_stack+0x84/0xa4)
[    8.480566] [<c05ab1f0>] (dump_stack) from [<c010e750>] (handle_IPI+0x1d0/0x288)
[    8.480573] [<c010e750>] (handle_IPI) from [<c01014a4>] (gic_handle_irq+0x90/0x9c)
[    8.480579] [<c01014a4>] (gic_handle_irq) from [<c010c7d4>] (__irq_svc+0x54/0x70)
[    8.480582] Exception stack(0xee97ff58 to 0xee97ffa0)
[    8.480585] ff40:                                                       00000001 00000000
[    8.480592] ff60: 00000000 c0119160 00000000 00000000 c0d01a84 c12de300 c1206634 410fc0d1
[    8.480599] ff80: 00000000 ee97ffb4 ee97ffb8 ee97ffa8 c0108200 c01081f0 60000013 ffffffff
[    8.480607] [<c010c7d4>] (__irq_svc) from [<c01081f0>] (arch_cpu_idle+0x2c/0x48)
[    8.480618] [<c01081f0>] (arch_cpu_idle) from [<c01691f8>] (default_idle_call+0x38/0x3c)
[    8.480627] [<c01691f8>] (default_idle_call) from [<c01694c4>] (cpu_startup_entry+0x268/0x334)
[    8.480635] [<c01694c4>] (cpu_startup_entry) from [<c010e304>] (secondary_start_kernel+0x114/0x130)
[    8.480642] [<c010e304>] (secondary_start_kernel) from [<0010188c>] (0x10188c)
[    8.488311] CPU0: stopping
[    8.488316] CPU: 0 PID: 106 Comm: kworker/0:3 Tainted: G      D W       4.4.133-rockchip #7
[    8.488318] Hardware name: Rockchip (Device Tree)
[    8.488328] Workqueue: events_power_efficient crda_timeout_work
[    8.488339] [<c0110104>] (unwind_backtrace) from [<c010bde0>] (show_stack+0x20/0x24)
[    8.488348] [<c010bde0>] (show_stack) from [<c05ab1f0>] (dump_stack+0x84/0xa4)
[    8.488355] [<c05ab1f0>] (dump_stack) from [<c010e750>] (handle_IPI+0x1d0/0x288)
[    8.488362] [<c010e750>] (handle_IPI) from [<c01014a4>] (gic_handle_irq+0x90/0x9c)
[    8.488368] [<c01014a4>] (gic_handle_irq) from [<c010c7d4>] (__irq_svc+0x54/0x70)
[    8.488371] Exception stack(0xeda87b50 to 0xeda87b98)
[    8.488375] 7b40:                                     c134eb34 ed9f2b80 00000000 60000113
[    8.488382] 7b60: c12e08c8 c12e08c8 00000000 c12f4214 c12e1208 00000001 00000052 eda87bf4
[    8.488387] 7b80: eda87af8 eda87ba0 c064d78c c0176370 60000113 ffffffff
[    8.488397] [<c010c7d4>] (__irq_svc) from [<c0176370>] (console_unlock+0x334/0x3e0)
[    8.488406] [<c0176370>] (console_unlock) from [<c0176760>] (vprintk_emit+0x344/0x4a0)
[    8.488413] [<c0176760>] (vprintk_emit) from [<c01768ec>] (vprintk+0x30/0x38)
[    8.488420] [<c01768ec>] (vprintk) from [<c017690c>] (vprintk_default+0x18/0x1c)
[    8.488430] [<c017690c>] (vprintk_default) from [<c01ec93c>] (printk+0x3c/0x48)
[    8.488442] [<c01ec93c>] (printk) from [<c011a230>] (__do_kernel_fault.part.0+0x48/0x1f4)
[    8.488451] [<c011a230>] (__do_kernel_fault.part.0) from [<c011599c>] (do_page_fault+0x338/0x34c)
[    8.488458] [<c011599c>] (do_page_fault) from [<c0115af4>] (do_translation_fault+0x2c/0xbc)
[    8.488465] [<c0115af4>] (do_translation_fault) from [<c0101220>] (do_DataAbort+0x48/0xc8)
[    8.488471] [<c0101220>] (do_DataAbort) from [<c010c760>] (__dabt_svc+0x40/0x60)
[    8.488473] Exception stack(0xeda87dd0 to 0xeda87e18)
[    8.488478] 7dc0:                                     2dbc8000 c11c40b8 0000494c 00000000
[    8.488485] 7de0: ee801e40 656d616e ee801e40 024080c0 c0b8efcc 0000002c c12d6878 eda87e5c
[    8.488490] 7e00: eda87e20 eda87e20 c022ebb8 c022ed40 20000113 ffffffff
[    8.488498] [<c010c760>] (__dabt_svc) from [<c022ed40>] (kmem_cache_alloc_trace+0x1c8/0x24c)
[    8.488509] [<c022ed40>] (kmem_cache_alloc_trace) from [<c0b8efcc>] (regulatory_hint_core+0x2c/0x68)
[    8.488519] [<c0b8efcc>] (regulatory_hint_core) from [<c0b91030>] (restore_regulatory_settings+0x2c4/0x378)
[    8.488526] [<c0b91030>] (restore_regulatory_settings) from [<c0b91114>] (crda_timeout_work+0x30/0x3c)
[    8.488533] [<c0b91114>] (crda_timeout_work) from [<c0134ca0>] (process_one_work+0x250/0x404)
[    8.488541] [<c0134ca0>] (process_one_work) from [<c0135e90>] (worker_thread+0x31c/0x414)
[    8.488549] [<c0135e90>] (worker_thread) from [<c013a9ac>] (kthread+0x104/0x114)
[    8.488557] [<c013a9ac>] (kthread) from [<c01076d0>] (ret_from_fork+0x14/0x24)
[    8.488560] PMU:
[    8.488572] 00000000: 00000000 00000000 00000200 00000200 00000004 00000004 00000000 80000001
[    8.488582] 00000020: 00005dc0 10004000 00005dc0 00005dc0 00005dc0 00000018 00000018 00000018
[    8.488592] 00000040: 00000018 00005dc0 00000000 0000000f 00000000 020e0000 00000000 00000008
[    8.488602] 00000060: 00020000 00005558 00002a85 00000018 0000555a 00005555 00000015 00000000
[    8.488611] 00000080: 00000006 00000001 00004010 00000001 00000000 5242c300 00000000 32a0d2a0
[    8.488620] 000000a0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    8.488628] 000000c0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    8.488637] 000000e0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    8.488645] rockchip-thermal ff280000.tsadc: channal 0: temperature(3 C)
[    8.488646] THERMAL REGS:
[    8.488653] 00000000: 00000200 00030161 00000062 00000000 00000000 00000000 00000000 00000000
[    8.488660] 00000020: 00000000 00000e2c 00000e30 00000000 00000000 00000deb 00000000 00000000
[    8.488666] 00000040: 00000000 00000db6 00000db6 00000000 00000000 00000000 00000000 00000000
[    8.488672] 00000060: 00000004 00000004 000000fa 00000032 00000000 00000000 00000000 00000000
[    8.488675] 00000080: 00000000 00000000
[    9.260145] ---[ end Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b
[    9.260145] 

 


 

 

Link to comment
Share on other sites

I haven't seen such errors, but given that the driver affects a function pointer with different signatures, based on some CONFIG_ #define, this have to fail one way or another...

 

Anyway, the crash seems to provide too few information. I guess that adding logs to attach_node_and_children might be needed.

Link to comment
Share on other sites

Anyway, some like this after the first variables initialization, in attach_node_and_children 

char const * __restrict const null_name = "(NULL)";
char const * __restrict const node_name = np->name ? np->name : null_name;
char const * __restrict const node_full_name = np->full_name ? np->full_name : null_name;
pr_err("%s: Testing node with name : %s (%s)\n", __func__, node_name, node_full_name);

might provide you more information about the current issue.

Link to comment
Share on other sites

On 5/29/2018 at 3:41 PM, Igor said:

CONFIG_MALI_PWRSOFT_765=y

 

has to be enabled, but then I don't get the picture on the screen. Continuing tomorrow.

Does it though? 

 

On 5/29/2018 at 2:30 PM, Igor said:

BT headset connected, sound distorted (Chromium Youtube)

BT keyboard works fine

mali fails (user 10.6, kernel 10.4)

video acceleration works fine

don't have sound on HDMI, headset audio works

 

I have a BT speaker I paired today to verify, I got clean audio.  Did the headset give you the option of being an audio sink, or did it default to a handsfree?  (I've had this issue)

    - The cpu governor has been known to cause audio issues on USB devices, I have moved the default to "ondemand" from "Conservative" to see if that helps, perhaps that is an issue with the BT as well?  DMA is still disabled for the UARTS to my knowledge.

I've put in an issue on the Rockchip repo to see if I can at least get a description of the change in regards to breaking everything.

I'm still tracking in circles on the HDMI audio issue, it must be due to alsa config

 

Link to comment
Share on other sites

3 hours ago, TonyMac32 said:

Does it though? 

If you don't, you get the wrong function pointer it seems.

I don't understand why they have two functions with different signatures assigned to the same function pointer.

 

Srsly, Y tho ?

Link to comment
Share on other sites

5 minutes ago, Myy said:

If you don't, you get the wrong function pointer it seems.

Yikes.

 

[edit] This might have something to do with the recommendation to only run 1.6 GHz, the patch over at Tinker to limit CPU frequency when GPU is in use, etc. 

 

Almost done with day job, then I can actually look at code

Link to comment
Share on other sites

Don't you love function signatures that different by their FIRST argument ? It makes things so much easier !

 

It's not like they could use the same function signature and avoid using the first argument. That said, maybe that #ifdef was protecting against the Linux version first, and then got replaced by mistake.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines