Jump to content

RK3328 Kernel


Peba

Recommended Posts

On 4.2.2018 at 7:03 PM, Jose Deras said:

Yes, I've seen this and tried but when I put 'console=both' or 'console=serial' into armbianEnv.txt the system won't boot up anymore, so I figured I might be doing something wrong. The docs aren't really "guiding" in that particular case.

Maybe I misunderstood the instructions? The - or + console is confusing to me at least and since it explicitly says "either boot.cmd OR armbianEnv.txt" I decided to not touch boot.cmd and stick to armbianEnv.txt, but yea... above happened.

Link to comment
Share on other sites

9 hours ago, HackXIt said:

Maybe I misunderstood the instructions? The - or + console is confusing to me at least and since it explicitly says "either boot.cmd OR armbianEnv.txt" I decided to not touch boot.cmd and stick to armbianEnv.txt, but yea... above happened.

 

You can edit boot.cmd (and recompile to boot.scr), but it is not recommended if you are not confident in what you are doing. 

 

It is possible that this feature is broken for this board. Since this is nothing critical, I guess nobody pays attention.

 

Thanks for pointing this out. Will be checked why is this so.

Link to comment
Share on other sites

Congrats, now let's fix the CSI support. :P According to  this issue, OV5647 (RPi 5MP cam) and IMX219 (RPI 8 MP cam) should work with upstream drivers.  The Rockchip ISP1 driver which was merged to 4.4 kernel in january should do the job and the Asus workaround with RK CIF ISP10 should no longer be needed. Unfortunately I fail when I compile a kernel with the needed drivers. 

When I adjust the kernel to activate the needed drivers, the board doesn't come up. 

 CONFIG_REGULATOR_TPS65910=y
 CONFIG_MEDIA_SUPPORT=y
 CONFIG_MEDIA_CAMERA_SUPPORT=y
+CONFIG_MEDIA_CONTROLLER=y
+CONFIG_VIDEO_V4L2_SUBDEV_API=y
 CONFIG_MEDIA_USB_SUPPORT=y
 CONFIG_USB_VIDEO_CLASS=y
 # CONFIG_USB_VIDEO_CLASS_INPUT_EVDEV is not set
 # CONFIG_USB_GSPCA is not set
 CONFIG_V4L_PLATFORM_DRIVERS=y
+CONFIG_VIDEO_ROCKCHIP_ISP1=y
 CONFIG_SOC_CAMERA=y
 CONFIG_VIDEO_RK_CIF_ISP10=y
 CONFIG_V4L_MEM2MEM_DRIVERS=y
 CONFIG_VIDEO_ROCKCHIP_RGA=y
 CONFIG_VIDEO_ROCKCHIP_VPU=y
 CONFIG_V4L_TEST_DRIVERS=y
+# CONFIG_MEDIA_SUBDRV_AUTOSELECT is not set
+CONFIG_VIDEO_TC35874X=y
+CONFIG_VIDEO_IMX219=y
+CONFIG_VIDEO_OV5647=y
 CONFIG_DRM=y
 CONFIG_DRM_ROCKCHIP=y
 CONFIG_ROCKCHIP_DW_HDMI=y

Bootlog from serial console:

Spoiler


U-Boot SPL 2017.09-armbian (Feb 21 2018 - 11:39:48)
Returning to boot ROM...


U-Boot 2017.09-armbian (Feb 21 2018 - 11:39:48 +0100)

Model: Tinker-RK3288
DRAM:  2 GiB
MMC:   dwmmc@ff0c0000: 1
*** Warning - bad CRC, using default environment

In:    serial
Out:   serial
Err:   serial
Model: Tinker-RK3288
Net:   eth0: ethernet@ff290000
Hit any key to stop autoboot:  0
switch to partitions #0, OK
mmc1 is current device
Scanning mmc 1:1...
Found U-Boot script /boot/boot.scr
1485 bytes read in 40 ms (36.1 KiB/s)
## Executing script at 00000000
U-boot loaded from eMMC
106 bytes read in 33 ms (2.9 KiB/s)
54150 bytes read in 89 ms (593.8 KiB/s)
4343811 bytes read in 244 ms (17 MiB/s)
8044488 bytes read in 411 ms (18.7 MiB/s)
## Loading init Ramdisk from Legacy Image at 21000000 ...
   Image Name:   uInitrd
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    4343747 Bytes = 4.1 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
## Flattened Device Tree blob at 01f00000
   Booting using the fdt blob at 0x1f00000
   Loading Ramdisk to 0fbdb000, end 0ffff7c3 ... OK
   Loading Device Tree to 0fbca000, end 0fbda385 ... OK

Starting kernel ...

[    2.896939] Internal error: Oops: 805 [#1] SMP ARM
[    2.902237] Modules linked in:
[    2.905624] CPU: 0 PID: 1 Comm: swapper/0 Tainted: G        W       4.4.115-r                                    ockchip #13
[    2.914567] Hardware name: Rockchip (Device Tree)
[    2.919768] task: ee950000 task.stack: ee958000
[    2.924786] PC is at dt_remember_or_free_map+0xd8/0xf4
[    2.930466] LR is at 0x0
[    2.933268] pc : [<c05ede3c>]    lr : [<00000000>]    psr: a0000013
[    2.933268] sp : ee959d08  ip : 00000000  fp : ee959d24
[    2.945960] r10: 00000000  r9 : eeaef980  r8 : eedca084
[    2.951737] r7 : eeaef980  r6 : 00000002  r5 : ed40f798  r4 : ed40cfd8
[    2.958953] r3 : 2d6c7274  r2 : 00000000  r1 : 00000002  r0 : eea40cc0
[    2.966172] Flags: NzCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment none
[    2.974062] Control: 10c5387d  Table: 0000406a  DAC: 00000051
[    2.980413]
[    2.980413] PC: 0xc05eddbc:
[    2.985132] ddbc  e59f1090 eb045794 e1a00007 e1a02006 e1a01005 ebffffd4 e3e00                                    00b e89da8f0
[    2.994225] dddc  e594c008 e59c002c e3500000 059c0008 e3570000 e1c200f0 0a000                                    004 e597c020
[    3.003319] ddfc  e59c002c e3500000 059c0008 e582000c e282201c eaffffdf e5807                                    008 e2844018
[    3.012407] de1c  e580500c e3a02000 e5806010 e1a01006 e5943004 e5840004 e5804                                    000 e5803004
[    3.021502] de3c  e5830000 e1a00005 ebfff744 e89da8f0 c143b330 024080c0 c0f1a                                    48c e1a0c00d
[    3.030600] de5c  e92ddbf0 e24cb004 e52de004 e8bd4000 e1a05000 e1a07000 e5b54                                    018 e3a08c01
[    3.039693] de7c  e5946000 e1540005 1a000003 e5973008 e5930184 eb0e46e4 e89da                                    bf0 e594000c
[    3.048788] de9c  ebfff79f e1c420d0 e2840008 e5823004 e5832000 e3a03c02 e5843                                    004 e5848000
[    3.057874]
[    3.057874] SP: 0xee959c88:
[    3.062592] 9c88  c0c58ac4 c0c589e8 a0000013 00000000 c05ede3c a0000013 fffff                                    fff ee959cec
[    3.071680] 9ca8  ee959d24 ee959cb8 c010c760 c01011e4 eea40cc0 00000002 00000                                    000 2d6c7274
[    3.080776] 9cc8  ed40cfd8 ed40f798 00000002 eeaef980 eedca084 eeaef980 00000                                    000 ee959d24
[    3.089872] 9ce8  00000000 ee959d08 00000000 c05ede3c a0000013 ffffffff 00000                                    051 c022e340
[    3.098967] 9d08  ed40cfc0 00000000 00000001 eedc9ddc ee959d7c ee959d28 c05ee                                    114 c05edd70
[    3.108062] 9d28  00000002 c136d50c ee959d7c cfbcda20 cfbcd9f5 eede2804 cfbcd                                    9f5 00000001
[    3.117147] 9d48  ed40f798 00000002 c136d538 ed40cfc0 c136d50c eeac1610 00000                                    000 c139958c
[    3.126243] 9d68  c12d0f28 00000000 ee959dbc ee959d80 c05eb058 c05edf00 00000                                    000 ed40cfcc
[    3.135339]
[    3.135339] FP: 0xee959ca4:
[    3.140057] 9ca4  ee959cec ee959d24 ee959cb8 c010c760 c01011e4 eea40cc0 00000                                    002 00000000
[    3.149148] 9cc4  2d6c7274 ed40cfd8 ed40f798 00000002 eeaef980 eedca084 eeaef                                    980 00000000
[    3.158239] 9ce4  ee959d24 00000000 ee959d08 00000000 c05ede3c a0000013 fffff                                    fff 00000051
[    3.167331] 9d04  c022e340 ed40cfc0 00000000 00000001 eedc9ddc ee959d7c ee959                                    d28 c05ee114
[    3.176426] 9d24  c05edd70 00000002 c136d50c ee959d7c cfbcda20 cfbcd9f5 eede2                                    804 cfbcd9f5
[    3.185513] 9d44  00000001 ed40f798 00000002 c136d538 ed40cfc0 c136d50c eeac1                                    610 00000000
[    3.194606] 9d64  c139958c c12d0f28 00000000 ee959dbc ee959d80 c05eb058 c05ed                                    f00 00000000
[    3.203689] 9d84  ed40cfcc c12d0f28 00000000 ee959dbc ed40cf58 ed40cf98 eeac1                                    610 00000000
[    3.212778]
[    3.212778] R0: 0xeea40c40:
[    3.217496] 0c40  656d616e ffffff00 ffffffff ffffffff ffffffff ffffffff fffff                                    fff ffffffff
[    3.226592] 0c60  ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffff                                    fff ffffffff
[    3.235685] 0c80  00676572 ff003040 ffffffff ffffffff ffffffff ffffffff fffff                                    fff ffffffff
[    3.244781] 0ca0  ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffff                                    fff ffffffff
[    3.253875] 0cc0  ed40cfd8 2d6c7274 eeaef980 ed40f798 00000002 00000000 00000                                    000 00000000
[    3.262966] 0ce0  00000000 00000000 00000000 00000000 00000000 00000000 00000                                    000 00000000
[    3.272049] 0d00  74726f70 ff003040 ffffffff ffffffff ffffffff ffffffff fffff                                    fff ffffffff
[    3.281136] 0d20  ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffff                                    fff ffffffff
[    3.290233]
[    3.290233] R4: 0xed40cf58:
[    3.294951] cf58  00000000 00000000 00000000 00000000 00000000 00000000 00000                                    000 00000000
[    3.304044] cf78  00000000 00000000 ed40cf80 ed40cf80 c05ea248 c0f19801 00000                                    004 00000000
[    3.313137] cf98  00000000 00000000 00000000 00000000 00000000 00000000 00000                                    000 00000000
[    3.322221] cfb8  00000000 00000000 00000000 00000000 eeac1610 ed40cfcc ed40c                                    fcc 00000000
[    3.331309] cfd8  00000000 eea40cc0 00000031 00000000 00000000 00000000 00000                                    000 00000000
[    3.340403] cff8  00000000 00000000 00000001 00000000 ed40bf00 c0f4acb6 ed40d                                    151 00000000
[    3.349495] d018  ed40d1a0 00000000 3af3f719 00000000 eead6b90 00000000 00000                                    000 00000000
[    3.358588] d038  00000000 00000000 00000000 a1ff0014 00003a28 00000000 00000                                    001 00000000
[    3.367682]
[    3.367682] R5: 0xed40f718:
[    3.372400] f718  eea9ad80 cfbcd9f0 00000002 eeadf700 eede27f8 eede26ac 00000                                    000 eea9ad80
[    3.381492] f738  cfbcd9f0 00000003 eeadf700 eeaeef00 eeb093c0 00000001 00000                                    000 00000000
[    3.390585] f758  00000000 00000000 00000000 00000000 00000000 00000000 00000                                    000 00000000
[    3.399668] f778  00000000 00000000 eeae97b4 ed40f700 c070af58 c0f3c11c 00000                                    038 00000000
[    3.408761] f798  eea9ad80 cfbcd9f5 00000002 eeadf700 eede2948 eede26ac 00000                                    000 eea9ad80
[    3.417854] f7b8  cfbcd9f5 00000003 eeadf700 eeaeef00 eeb09480 00000001 00000                                    000 00000000
[    3.426939] f7d8  00000000 00000000 00000000 00000000 00000000 00000000 00000                                    000 00000000
[    3.436033] f7f8  00000000 00000000 ed40f880 ffffffff ffffffff ffffffff fffff                                    fff ffffffff
[    3.445128]
[    3.445128] R7: 0xeeaef900:
[    3.449846] f900  eeb0ebc0 eeb0e980 c070af58 c0f3c11c 00000060 00000000 00000                                    001 eeb0e9c0
[    3.458940] f920  00000001 00000001 eeb0ea00 00000001 00000001 eeb0ea40 00000                                    001 00000001
[    3.468023] f940  eeb0ea80 00000001 00000001 eeb0eac0 00000001 00000001 eeb0e                                    b00 00000001
[    3.477107] f960  00000001 eeb0eb40 00000001 00000001 eeb0eb80 00000001 00000                                    000 00000000
[    3.486190] f980  c136d530 c136d530 eead9f30 00000002 024000c0 ee4009c1 c136e                                    f38 c136f8b8
[    3.495286] f9a0  eeae9610 00000000 eead9f18 eeb13c00 ffffffed ffffffed 00000                                    001 00000000
[    3.504372] f9c0  dead4ead ffffffff ffffffff eeaef9cc eeaef9cc 00000000 00000                                    000 ee404e40
[    3.513466] f9e0  00000000 00000000 00000000 00000000 00000000 00000000 00000                                    000 00000000
[    3.522551]
[    3.522551] R8: 0xeedca004:
[    3.527270] a004  00000124 0000000a 00000000 c097b520 00000000 00000000 cfbd6                                    a8b 00000013
[    3.536364] a024  cfbcd9f0 eedca050 00000000 00000000 eea2ce00 00000124 00000                                    013 00000000
[    3.545457] a044  c097b520 00000000 00000000 cfbd6a99 00000004 cfbcda10 eedca                                    084 00000000
[    3.554542] a064  00000000 eea2ce80 00000124 00000004 00000000 c097b520 00000                                    000 00000000
[    3.563634] a084  cfbd6df5 00000004 cfbcda20 eedca0b8 00000000 00000000 eea2c                                    f00 00000124
[    3.572730] a0a4  00000004 00000000 c097b520 00000000 00000000 cfbd6dff 00000                                    004 cfbcda30
[    3.581816] a0c4  eedca0ec 00000000 00000000 eea2cf80 00000124 00000004 00000                                    000 c097b520
[    3.590908] a0e4  00000000 00000000 cfbd6e09 00000004 cfbcda40 eedca120 00000                                    000 00000000
[    3.599992]
[    3.599992] R9: 0xeeaef900:
[    3.604709] f900  eeb0ebc0 eeb0e980 c070af58 c0f3c11c 00000060 00000000 00000                                    001 eeb0e9c0
[    3.613794] f920  00000001 00000001 eeb0ea00 00000001 00000001 eeb0ea40 00000                                    001 00000001
[    3.622885] f940  eeb0ea80 00000001 00000001 eeb0eac0 00000001 00000001 eeb0e                                    b00 00000001
[    3.631978] f960  00000001 eeb0eb40 00000001 00000001 eeb0eb80 00000001 00000                                    000 00000000
[    3.641071] f980  c136d530 c136d530 eead9f30 00000002 024000c0 ee4009c1 c136e                                    f38 c136f8b8
[    3.650154] f9a0  eeae9610 00000000 eead9f18 eeb13c00 ffffffed ffffffed 00000                                    001 00000000
[    3.659240] f9c0  dead4ead ffffffff ffffffff eeaef9cc eeaef9cc 00000000 00000                                    000 ee404e40
[    3.668328] f9e0  00000000 00000000 00000000 00000000 00000000 00000000 00000                                    000 00000000
[    3.677423] Process swapper/0 (pid: 1, stack limit = 0xee958258)
[    3.684064] Stack: (0xee959d08 to 0xee95a000)
[    3.688886] 9d00:                   ed40cfc0 00000000 00000001 eedc9ddc ee959                                    d7c ee959d28
[    3.697935] 9d20: c05ee114 c05edd70 00000002 c136d50c ee959d7c cfbcda20 cfbcd                                    9f5 eede2804
[    3.706985] 9d40: cfbcd9f5 00000001 ed40f798 00000002 c136d538 ed40cfc0 c136d                                    50c eeac1610
[    3.716035] 9d60: 00000000 c139958c c12d0f28 00000000 ee959dbc ee959d80 c05eb                                    058 c05edf00
[    3.725084] 9d80: 00000000 ed40cfcc c12d0f28 00000000 ee959dbc ed40cf58 ed40c                                    f98 eeac1610
[    3.734133] 9da0: 00000000 c139958c c12d0f28 00000000 ee959de4 ee959dc0 c05eb                                    368 c05eaf4c
[    3.743183] 9dc0: c0f19801 c070a974 eeac1610 ed40cf58 eeac1610 c139958c ee959                                    e04 ee959de8
[    3.752233] 9de0: c07284c4 c05eb328 eeac1610 c1451fb0 c139958c 00000000 ee959                                    e2c ee959e08
[    3.761281] 9e00: c07073a4 c0728490 eeac1610 eeac1644 c139958c c137e098 c130b                                    be0 c12d0f28
[    3.770330] 9e20: ee959e4c ee959e30 c0707604 c070731c 00000000 c139958c c0707                                    5a8 c137e098
[    3.779380] 9e40: ee959e74 ee959e50 c070599c c07075b4 eea20074 eea97ac0 c0c58                                    aa4 c139958c
[    3.788428] 9e60: ed40f680 00000000 ee959e84 ee959e78 c0706f40 c0705918 ee959                                    eac ee959e88
[    3.797476] 9e80: c0706b7c c0706f24 c0f780cb ee959e98 c139958c ed40ce80 00000                                    000 c130bbe0
[    3.806525] 9ea0: ee959ec4 ee959eb0 c070816c c0706a04 c123dcec ed40ce80 ee959                                    ed4 ee959ec8
[    3.815575] 9ec0: c07090b4 c07080c8 ee959ee4 ee959ed8 c123dd04 c0709080 ee959                                    f5c ee959ee8
[    3.824624] 9ee0: c0101ba8 c123dcf8 ee959f0c ee959ef8 c0139e4c c0139dd4 eedbd                                    a00 eedbda99
[    3.833673] 9f00: ee959f5c ee959f10 c013a018 c0139e28 c01681fc c101209c c1012                                    09c 00000006
[    3.842721] 9f20: 00000006 00000180 c1011098 eedbda9a 00000000 00000007 c13e0                                    000 00000007
[    3.851770] 9f40: c13e0000 00000180 c1273040 c13e0000 ee959f94 ee959f60 c1200                                    f58 c0101a14
[    3.860817] 9f60: 00000006 00000006 00000000 c1200600 00000000 c0c542ec 00000                                    000 00000000
[    3.869866] 9f80: 00000000 00000000 ee959fac ee959f98 c0c54304 c1200d48 00000                                    000 c0c542ec
[    3.878914] 9fa0: 00000000 ee959fb0 c01076d0 c0c542f8 00000000 00000000 00000                                    000 00000000
[    3.887961] 9fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000                                    000 00000000
[    3.897009] 9fe0: 00000000 00000000 00000000 00000000 00000013 00000000 fffff                                    fff ffffffff
[    3.906068] [<c05ede3c>] (dt_remember_or_free_map) from [<c05ee114>] (pinctrl                                    _dt_to_map+0x220/0x2a8)
[    3.916178] [<c05ee114>] (pinctrl_dt_to_map) from [<c05eb058>] (pinctrl_get+0                                    x118/0x3dc)
[    3.925137] [<c05eb058>] (pinctrl_get) from [<c05eb368>] (devm_pinctrl_get+0x                                    4c/0x8c)
[    3.933808] [<c05eb368>] (devm_pinctrl_get) from [<c07284c4>] (pinctrl_bind_p                                    ins+0x40/0x124)
[    3.943151] [<c07284c4>] (pinctrl_bind_pins) from [<c07073a4>] (driver_probe_                                    device+0x94/0x298)
[    3.952778] [<c07073a4>] (driver_probe_device) from [<c0707604>] (__driver_at                                    tach+0x5c/0x9c)
[    3.962115] [<c0707604>] (__driver_attach) from [<c070599c>] (bus_for_each_de                                    v+0x90/0xa0)
[    3.971164] [<c070599c>] (bus_for_each_dev) from [<c0706f40>] (driver_attach+                                    0x28/0x30)
[    3.980020] [<c0706f40>] (driver_attach) from [<c0706b7c>] (bus_add_driver+0x                                    184/0x1ec)
[    3.988878] [<c0706b7c>] (bus_add_driver) from [<c070816c>] (driver_register+                                    0xb0/0xf0)
[    3.997737] [<c070816c>] (driver_register) from [<c07090b4>] (__platform_driv                                    er_register+0x40/0x54)
[    4.007750] [<c07090b4>] (__platform_driver_register) from [<c123dd04>] (rock                                    chip_thermal_driver_init+0x18/0x20)
[    4.019010] [<c123dd04>] (rockchip_thermal_driver_init) from [<c0101ba8>] (do                                    _one_initcall+0x1a0/0x1d4)
[    4.029407] [<c0101ba8>] (do_one_initcall) from [<c1200f58>] (kernel_init_fre                                    eable+0x21c/0x26c)
[    4.039038] [<c1200f58>] (kernel_init_freeable) from [<c0c54304>] (kernel_ini                                    t+0x18/0x118)
[    4.048188] [<c0c54304>] (kernel_init) from [<c01076d0>] (ret_from_fork+0x14/                                    0x24)
[    4.056566] Code: e5943004 e5840004 e5804000 e5803004 (e5830000)
[    4.063392] ---[ end trace e56604dbd5b912a5 ]---
[    4.068772] ------------[ cut here ]------------
[    4.073881] kernel BUG at mm/slub.c:3744!
[    4.078315] Internal error: Oops - BUG: 0 [#2] SMP ARM
[    4.083993] Modules linked in:
[    4.087378] CPU: 0 PID: 4 Comm: kworker/0:0 Tainted: G      D W       4.4.115                                    -rockchip #13
[    4.096513] Hardware name: Rockchip (Device Tree)
[    4.101721] task: ee951500 task.stack: ee96e000
[    4.106736] PC is at kfree+0xec/0x1d0
[    4.110790] LR is at kthread_create_on_node+0x150/0x178
[    4.116568] pc : [<c022f540>]    lr : [<c013a614>]    psr: 40000113
[    4.116568] sp : ee96fe50  ip : ee96fe80  fp : ee96fe7c
[    4.129261] r10: 00000008  r9 : c0135a74  r8 : ed40f600
[    4.135037] r7 : ee96fe84  r6 : 00000000  r5 : c013a614  r4 : c136d588
[    4.136445] Kernel panic - not syncing: Attempted to kill init! exitcode=0x00                                    00000b
[    4.136445]
[    4.136457] CPU3: stopping
[    4.136468] CPU: 3 PID: 0 Comm: swapper/3 Tainted: G      D W       4.4.115-r                                    ockchip #13
[    4.136472] Hardware name: Rockchip (Device Tree)
[    4.136500] [<c0110104>] (unwind_backtrace) from [<c010bde8>] (show_stack+0x2                                    0/0x24)
[    4.136520] [<c010bde8>] (show_stack) from [<c05bc630>] (dump_stack+0x84/0xa4                                    )
[    4.136536] [<c05bc630>] (dump_stack) from [<c010e750>] (handle_IPI+0x1d0/0x2                                    88)
[    4.136550] [<c010e750>] (handle_IPI) from [<c01014a4>] (gic_handle_irq+0x90/                                    0x9c)
[    4.136563] [<c01014a4>] (gic_handle_irq) from [<c010c7d4>] (__irq_svc+0x54/0                                    x70)
[    4.136568] Exception stack(0xee981f58 to 0xee981fa0)
[    4.136576] 1f40:                                                       00000                                    001 00000000
[    4.136590] 1f60: 00000000 c0119160 00000000 00000000 c0d01a8c c13e0300 c1306                                    634 410fc0d1
[    4.136603] 1f80: 00000000 ee981fb4 ee981fb8 ee981fa8 c0108200 c01081f0 60000                                    013 ffffffff
[    4.136619] [<c010c7d4>] (__irq_svc) from [<c01081f0>] (arch_cpu_idle+0x2c/0x                                    48)
[    4.136638] [<c01081f0>] (arch_cpu_idle) from [<c0168be0>] (default_idle_call                                    +0x38/0x3c)
[    4.136655] [<c0168be0>] (default_idle_call) from [<c0168eac>] (cpu_startup_e                                    ntry+0x268/0x334)
[    4.136671] [<c0168eac>] (cpu_startup_entry) from [<c010e304>] (secondary_sta                                    rt_kernel+0x114/0x130)
[    4.136683] [<c010e304>] (secondary_start_kernel) from [<0010188c>] (0x10188c                                    )
[    4.136692] CPU1: stopping
[    4.136704] CPU: 1 PID: 0 Comm: swapper/1 Tainted: G      D W       4.4.115-r                                    ockchip #13
[    4.136708] Hardware name: Rockchip (Device Tree)
[    4.136734] [<c0110104>] (unwind_backtrace) from [<c010bde8>] (show_stack+0x2                                    0/0x24)
[    4.136752] [<c010bde8>] (show_stack) from [<c05bc630>] (dump_stack+0x84/0xa4                                    )
[    4.136767] [<c05bc630>] (dump_stack) from [<c010e750>] (handle_IPI+0x1d0/0x2                                    88)
[    4.136781] [<c010e750>] (handle_IPI) from [<c01014a4>] (gic_handle_irq+0x90/                                    0x9c)
[    4.136793] [<c01014a4>] (gic_handle_irq) from [<c010c7d4>] (__irq_svc+0x54/0                                    x70)
[    4.136799] Exception stack(0xee97df58 to 0xee97dfa0)
[    4.136807] df40:                                                       00000                                    001 00000000
[    4.136820] df60: 00000000 c0119160 00000000 00000000 c0d01a8c c13e0300 c1306                                    634 410fc0d1
[    4.136834] df80: 00000000 ee97dfb4 ee97dfb8 ee97dfa8 c0108200 c01081f0 60000                                    013 ffffffff
[    4.136849] [<c010c7d4>] (__irq_svc) from [<c01081f0>] (arch_cpu_idle+0x2c/0x                                    48)
[    4.136866] [<c01081f0>] (arch_cpu_idle) from [<c0168be0>] (default_idle_call                                    +0x38/0x3c)
[    4.136884] [<c0168be0>] (default_idle_call) from [<c0168eac>] (cpu_startup_e                                    ntry+0x268/0x334)
[    4.136899] [<c0168eac>] (cpu_startup_entry) from [<c010e304>] (secondary_sta                                    rt_kernel+0x114/0x130)
[    4.136911] [<c010e304>] (secondary_start_kernel) from [<0010188c>] (0x10188c                                    )
[    4.423752] r3 : eee25b68  r2 : 00000024  r1 : c13d8cb8  r0 : eee25b54
[    4.430971] Flags: nZcv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment none
[    4.438859] Control: 10c5387d  Table: 0000406a  DAC: 00000051
[    4.445209]
[    4.445209] PC: 0xc022f4c0:
[    4.449928] f4c0  e5916010 e3560000 0a000007 e5963000 e1a02004 e5960004 e1a01                                    005 e12fff33
[    4.459025] f4e0  e5b6300c e3530000 eafffff6 e3540010 9a000018 e59f3124 e2840                                    101 e1a00620
[    4.468120] f500  e3a02024 e5933000 e0203092 e5903014 e3130001 12430001 e5903                                    000 e3130080
[    4.477216] f520  1590c01c 1a00000d e5903000 e3130901 1a000003 e5903014 e3130                                    001 1a000000
[    4.486311] f540  e7f001f2 e5901000 e7e01751 e3510000 11d013be ebff1338 e24bd                                    024 e89dabf0
[    4.495398] f560  e59c2000 e1a0300d ee1d1f90 e2822004 e792e001 e59c1000 ee1d8                                    f90 e0813008
[    4.504493] f580  e5933008 e1500003 1a000019 e7912008 e59c3014 e7842003 e10f6                                    000 f10c0080
[    4.513587] f5a0  e59c2000 ee1d7f90 e7911008 e1a03002 e7939007 e1590001 0a000                                    001 e121f006
[    4.522683]
[    4.522683] LR: 0xc013a594:
[    4.527401] a594  f57ff05b e2843010 f593f000 e1932f9f e1831f96 e3310000 1afff                                    ffb f57ff05b
[    4.536496] a5b4  e1520006 13e05003 1a000014 e1a00007 eb2c6ece e594500c e3750                                    a01 8a00000d
[    4.545589] a5d4  e2850d13 e28b3008 e59b2004 e3a01010 e280000c e50b3048 eb123                                    563 e3a01000
[    4.554685] a5f4  e59f2038 e1a00005 eb003d71 e59f1030 e1a00005 eb0032ac e1a00                                    004 eb03d38f
[    4.563777] a614  e1a00005 e24bd024 e89dabf0 dead4ead c143b330 024000c0 c1310                                    af0 c13e0f04
[    4.572874] a634  c0d01db4 c0d01a94 e1a0c00d e92ddbf0 e24cb004 e52de004 e8bd4                                    000 e1a06000
[    4.581969] a654  e5903018 e3530000 0a000002 e3001241 e59f012c ebff8ed4 e59f5                                    128 e1a0300d
[    4.591061] a674  e0033005 e593304c e5863018 e59f7118 e1a0300d e3a02001 e0033                                    005 e593304c
[    4.600149]
[    4.600149] SP: 0xee96fdd0:
[    4.604867] fdd0  ee96fe0c ee96fde0 00000001 00000000 c022f544 00000000 c010c                                    c98 00000000
[    4.613961] fdf0  ee96fe7c ee96fe00 c010c860 c010100c eee25b54 c13d8cb8 00000                                    024 eee25b68
[    4.623046] fe10  c136d588 c013a614 00000000 ee96fe84 ed40f600 c0135a74 00000                                    008 ee96fe7c
[    4.632132] fe30  ee96fe80 ee96fe50 c013a614 c022f540 40000113 ffffffff 00000                                    051 c013a614
[    4.641226] fe50  ee96fe84 ed40f600 c136d588 edb07700 00000000 ee96fe84 ed40f                                    600 c0135a74
[    4.650322] fe70  ee96fec8 ee96fe80 c013a614 c022f460 ee96fed0 00000000 00030                                    003 dead4ead
[    4.659417] fe90  ffffffff ffffffff ee96fe98 ee96fe98 ee96fec4 ed40f600 eed87                                    f40 00000002
[    4.668512] feb0  ee96fed8 eed88114 c1310658 ee96ff0c ee96fed0 c0135300 c013a                                    4d4 c0ece0fe
[    4.677607]
[    4.677607] IP: 0xee96fe00:
[    4.682326] fe00  eee25b54 c13d8cb8 00000024 eee25b68 c136d588 c013a614 00000                                    000 ee96fe84
[    4.691419] fe20  ed40f600 c0135a74 00000008 ee96fe7c ee96fe80 ee96fe50 c013a                                    614 c022f540
[    4.700504] fe40  40000113 ffffffff 00000051 c013a614 ee96fe84 ed40f600 c136d                                    588 edb07700
[    4.709589] fe60  00000000 ee96fe84 ed40f600 c0135a74 ee96fec8 ee96fe80 c013a                                    614 c022f460
[    4.718673] fe80  ee96fed0 00000000 00030003 dead4ead ffffffff ffffffff ee96f                                    e98 ee96fe98
[    4.727756] fea0  ee96fec4 ed40f600 eed87f40 00000002 ee96fed8 eed88114 c1310                                    658 ee96ff0c
[    4.736839] fec0  ee96fed0 c0135300 c013a4d4 c0ece0fe ee96fed8 c0f61235 00323                                    a30 40000113
[    4.745925] fee0  eed87f40 ee898600 eed87f40 ee898600 eed87f40 eed87f40 c1302                                    100 eed87fac
[    4.755011]
[    4.755011] FP: 0xee96fdfc:
[    4.759729] fdfc  c010100c eee25b54 c13d8cb8 00000024 eee25b68 c136d588 c013a                                    614 00000000
[    4.768825] fe1c  ee96fe84 ed40f600 c0135a74 00000008 ee96fe7c ee96fe80 ee96f                                    e50 c013a614
[    4.777921] fe3c  c022f540 40000113 ffffffff 00000051 c013a614 ee96fe84 ed40f                                    600 c136d588
[    4.787008] fe5c  edb07700 00000000 ee96fe84 ed40f600 c0135a74 ee96fec8 ee96f                                    e80 c013a614
[    4.796102] fe7c  c022f460 ee96fed0 00000000 00030003 dead4ead ffffffff fffff                                    fff ee96fe98
[    4.805197] fe9c  ee96fe98 ee96fec4 ed40f600 eed87f40 00000002 ee96fed8 eed88                                    114 c1310658
[    4.814291] febc  ee96ff0c ee96fed0 c0135300 c013a4d4 c0ece0fe ee96fed8 c0f61                                    235 00323a30
[    4.823386] fedc  40000113 eed87f40 ee898600 eed87f40 ee898600 eed87f40 eed87                                    f40 c1302100
[    4.832479]
[    4.832479] R0: 0xeee25ad4:
[    4.837198] 5ad4  00000001 eee25ad8 eee25ad8 00000000 00000000 00000400 00000                                    000 00000000
[    4.846291] 5af4  ffffffff 00000001 eee25afc eee25afc 00000000 00000000 00000                                    400 00000000
[    4.855378] 5b14  00000000 ffffffff 00000001 eee25b20 eee25b20 00000000 00000                                    000 00000400
[    4.864462] 5b34  00000000 00000000 ffffffff 00000001 eee25b44 eee25b44 00000                                    000 00000000
[    4.873555] 5b54  00000400 00000000 00000000 ffffffff 00000001 eee25b68 eee25                                    b68 00000000
[    4.882650] 5b74  00000000 00000400 00000000 00000000 ffffffff 00000001 eee25                                    b8c eee25b8c
[    4.891739] 5b94  00000000 00000000 00000400 00000000 00000000 ffffffff 00000                                    001 eee25bb0
[    4.900823] 5bb4  eee25bb0 00000000 00000000 00000400 00000000 00000000 fffff                                    fff 00000001
[    4.909911]
[    4.909911] R1: 0xc13d8c38:
[    4.914630] 8c38  00000000 00000000 c0fbcd17 00000000 00000000 00000000 00000                                    000 c0fbcd2a
[    4.923724] 8c58  00000000 00000000 00000000 00000000 c0fbcd44 00000000 00000                                    000 00000000
[    4.932808] 8c78  00000000 c0fbcd52 00000000 00000000 00000000 00000000 c0fbc                                    d67 00000000
[    4.941901] 8c98  00000000 00000000 00000000 c0fbcd74 00000000 00000000 00000                                    000 00000000
[    4.950986] 8cb8  c0fbcd84 00000000 00000000 00000000 00000000 c0fbcd8a 00000                                    000 00000000
[    4.960073] 8cd8  00000000 00000000 c0fbcda0 00000000 00000000 00000000 00000                                    000 c0fbcdad
[    4.969165] 8cf8  00000000 00000000 00000000 00000000 c0fbce58 00000000 00000                                    000 00000000
[    4.978247] 8d18  00000000 c0fbce78 00000000 00000000 00000000 00000000 c0fbc                                    dc6 00000000
[    4.987336]
[    4.987336] R3: 0xeee25ae8:
[    4.992054] 5ae8  00000400 00000000 00000000 ffffffff 00000001 eee25afc eee25                                    afc 00000000
[    5.001147] 5b08  00000000 00000400 00000000 00000000 ffffffff 00000001 eee25                                    b20 eee25b20
[    5.010232] 5b28  00000000 00000000 00000400 00000000 00000000 ffffffff 00000                                    001 eee25b44
[    5.019317] 5b48  eee25b44 00000000 00000000 00000400 00000000 00000000 fffff                                    fff 00000001
[    5.028409] 5b68  eee25b68 eee25b68 00000000 00000000 00000400 00000000 00000                                    000 ffffffff
[    5.037493] 5b88  00000001 eee25b8c eee25b8c 00000000 00000000 00000400 00000                                    000 00000000
[    5.046582] 5ba8  ffffffff 00000001 eee25bb0 eee25bb0 00000000 00000000 00000                                    400 00000000
[    5.055676] 5bc8  00000000 ffffffff 00000001 eee25bd4 eee25bd4 00000000 00000                                    000 00000400
[    5.064770]
[    5.064770] R4: 0xc136d508:
[    5.069489] d508  00000000 00000001 00000000 dead4ead ffffffff ffffffff c136d                                    520 c136d520
[    5.078583] d528  00000000 00000000 eeaef980 eeaef980 00000001 00000000 dead4                                    ead ffffffff
[    5.087669] d548  ffffffff c136d54c c136d54c 00000000 00000000 eeb13c00 ed405                                    4c0 00000001
[    5.096756] d568  00000000 dead4ead ffffffff ffffffff c136d578 c136d578 00000                                    000 00000000
[    5.105850] d588  c0135a74 ed40f600 00000000 edb07700 00000000 c136d59c c136d                                    59c c0f1ac4e
[    5.114938] d5a8  c137e098 00000000 00000000 00000000 00000000 c0d51280 00000                                    000 c0709114
[    5.124030] d5c8  c07090c8 c0708c0c 00000000 00000000 00000000 c0d51fe8 eea8f                                    b80 00000000
[    5.133116] d5e8  00000000 00000000 00000020 00000004 00000000 00000020 00000                                    000 00000000
[    5.142210]
[    5.142210] R5: 0xc013a594:
[    5.146928] a594  f57ff05b e2843010 f593f000 e1932f9f e1831f96 e3310000 1afff                                    ffb f57ff05b
[    5.156024] a5b4  e1520006 13e05003 1a000014 e1a00007 eb2c6ece e594500c e3750                                    a01 8a00000d
[    5.165122] a5d4  e2850d13 e28b3008 e59b2004 e3a01010 e280000c e50b3048 eb123                                    563 e3a01000
[    5.174216] a5f4  e59f2038 e1a00005 eb003d71 e59f1030 e1a00005 eb0032ac e1a00                                    004 eb03d38f
[    5.183302] a614  e1a00005 e24bd024 e89dabf0 dead4ead c143b330 024000c0 c1310                                    af0 c13e0f04
[    5.192399] a634  c0d01db4 c0d01a94 e1a0c00d e92ddbf0 e24cb004 e52de004 e8bd4                                    000 e1a06000
[    5.201494] a654  e5903018 e3530000 0a000002 e3001241 e59f012c ebff8ed4 e59f5                                    128 e1a0300d
[    5.210582] a674  e0033005 e593304c e5863018 e59f7118 e1a0300d e3a02001 e0033                                    005 e593304c
[    5.219678]
[    5.219678] R7: 0xee96fe04:
[    5.224397] fe04  c13d8cb8 00000024 eee25b68 c136d588 c013a614 00000000 ee96f                                    e84 ed40f600
[    5.233491] fe24  c0135a74 00000008 ee96fe7c ee96fe80 ee96fe50 c013a614 c022f                                    540 40000113
[    5.242587] fe44  ffffffff 00000051 c013a614 ee96fe84 ed40f600 c136d588 edb07                                    700 00000000
[    5.251680] fe64  ee96fe84 ed40f600 c0135a74 ee96fec8 ee96fe80 c013a614 c022f                                    460 ee96fed0
[    5.260765] fe84  00000000 00030003 dead4ead ffffffff ffffffff ee96fe98 ee96f                                    e98 ee96fec4
[    5.269849] fea4  ed40f600 eed87f40 00000002 ee96fed8 eed88114 c1310658 ee96f                                    f0c ee96fed0
[    5.278947] fec4  c0135300 c013a4d4 c0ece0fe ee96fed8 c0f61235 00323a30 40000                                    113 eed87f40
[    5.288033] fee4  ee898600 eed87f40 ee898600 eed87f40 eed87f40 c1302100 eed87                                    fac ee96ff3c
[    5.297129]
[    5.297129] R8: 0xed40f580:
[    5.301847] f580  eeae51b4 ed40f500 c070af58 c0f3c11c 0000002c 00000000 00736                                    d75 00000000
[    5.310941] f5a0  00000000 00000000 00000000 00000000 00000000 00000000 5242c                                    30c ed40ce58
[    5.320034] f5c0  ed40f53c 00000000 00000000 00000000 00000000 00000000 00000                                    000 00000000
[    5.329129] f5e0  00000000 00000000 00000000 00000000 00000000 00000000 00000                                    000 00000000
[    5.338223] f600  ed40f600 ed40f600 00000000 00000000 00000000 00000000 ed40f                                    618 ed40f618
[    5.347306] f620  00000000 eed87f40 ed40f628 ed40f628 00000000 00000008 00000                                    002 00000000
[    5.356398] f640  00000000 00000000 00000000 00000000 00000000 00000000 00000                                    000 00000000
[    5.365483] f660  00000000 00000000 00000000 00000000 00000000 00000000 00000                                    000 00000000
[    5.374568]
[    5.374568] R9: 0xc01359f4:
[    5.379286] 59f4  e50b3044 ebfff21d e51b303c e1530000 e51b3044 1a000004 e1a02                                    003 e51b1038
[    5.388380] 5a14  e1a00008 ebf
ff248[   [  5 .3  59.23925122] 51]  e5 1e5b130b4340e44d to stop secondary CPUs

[    5.399460] ---[ end Kernel panic - not syncing: Attempted to kill init! exit                                    code=0x0000000b
[    5.399460]
[    5.399462]  e51b8030 e5982004 e2422004 e50b2030 eaffffbd
[    5.416602] 5a34  e51b3040 e1a0200d e3a00000 e0033002 e593304c e5830000 e5952                                    020 e592300c
[    5.425695] 5a54  e3c33020 e582300c e24bd028 e89daff0 ffffe000 c13106cc c13d7                                    ede c0ecc633
[    5.434781] 5a74  e1a0c00d e92ddff8 e24cb004 e52de004 e8bd4000 e1a04000 e5902                                    020 e59f73dc
[    5.443868] 5a94  e5906024 e592300c e3833020 e582300c e1a00006 eb2c8bd0 e5943                                    034 e3130002
[    5.452963] 5ab4  0a00001f e1a00006 eb2c8c02 e5943000 e1540003 0a000008 e59f5                                    3a4 e5d5301f
[    5.462058] 5ad4  e3530000 1a000004 e3001869 e59f0394 ebffa1b5 e3a03001 e5c53                                    01f e5942020
[    5.471156] Process kworker/0:0 (pid: 4, stack limit = 0xee96e258)
[    5.477990] Stack: (0xee96fe50 to 0xee970000)
[    5.482809] fe40:                                     ee96fe84 ed40f600 c136d                                    588 edb07700
[    5.491859] fe60: 00000000 ee96fe84 ed40f600 c0135a74 ee96fec8 ee96fe80 c013a                                    614 c022f460
[    5.500908] fe80: ee96fed0 00000000 00030003 dead4ead ffffffff ffffffff ee96f                                    e98 ee96fe98
[    5.509957] fea0: ee96fec4 ed40f600 eed87f40 00000002 ee96fed8 eed88114 c1310                                    658 ee96ff0c
[    5.519007] fec0: ee96fed0 c0135300 c013a4d4 c0ece0fe ee96fed8 c0f61235 00323                                    a30 40000113
[    5.528056] fee0: eed87f40 ee898600 eed87f40 ee898600 eed87f40 eed87f40 c1302                                    100 eed87fac
[    5.537106] ff00: ee96ff3c ee96ff10 c0135bd4 c0135264 ee951500 ee96e000 ee899                                    bc0 00000000
[    5.546155] ff20: ee898600 c0135a74 00000000 00000000 ee96ffac ee96ff40 c013a                                    8a8 c0135a80
[    5.555202] ff40: ee96ff8c 00000000 c0144364 ee898600 00000000 00000000 dead4                                    ead ffffffff
[    5.564252] ff60: ffffffff ee96ff64 ee96ff64 00000000 00000000 dead4ead fffff                                    fff ffffffff
[    5.573300] ff80: ee96ff80 ee96ff80 c01488c8 ee899bc0 c013a7a4 00000000 00000                                    000 00000000
[    5.582348] ffa0: 00000000 ee96ffb0 c01076d0 c013a7b0 00000000 00000000 00000                                    000 00000000
[    5.591396] ffc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000                                    000 00000000
[    5.600445] ffe0: 00000000 00000000 00000000 00000000 00000013 00000000 fffff                                    fff ffffffff
[    5.609502] [<c022f540>] (kfree) from [<c013a614>] (kthread_create_on_node+0x                                    150/0x178)
[    5.618365] [<c013a614>] (kthread_create_on_node) from [<c0135300>] (create_w                                    orker+0xa8/0x174)
[    5.627894] [<c0135300>] (create_worker) from [<c0135bd4>] (worker_thread+0x1                                    60/0x414)
[    5.636657] [<c0135bd4>] (worker_thread) from [<c013a8a8>] (kthread+0x104/0x1                                    14)
[    5.644845] [<c013a8a8>] (kthread) from [<c01076d0>] (ret_from_fork+0x14/0x24                                    )
[    5.652837] Code: 1a000003 e5903014 e3130001 1a000000 (e7f001f2)
[    5.659575] ---[ end trace e56604dbd5b912a6 ]---
[    5.664692] CPU0: stopping
[    5.667689] CPU: 0 PID: 4 Comm: kworker/0:0 Tainted: G      D W       4.4.115                                    -rockchip #13
[    5.676825] Hardware name: Rockchip (Device Tree)
[    5.682054] [<c0110104>] (unwind_backtrace) from [<c010bde8>] (show_stack+0x2                                    0/0x24)
[    5.690628] [<c010bde8>] (show_stack) from [<c05bc630>] (dump_stack+0x84/0xa4                                    )
[    5.698622] [<c05bc630>] (dump_stack) from [<c010e750>] (handle_IPI+0x1d0/0x2                                    88)
[    5.706806] [<c010e750>] (handle_IPI) from [<c01014a4>] (gic_handle_irq+0x90/                                    0x9c)
[    5.715182] [<c01014a4>] (gic_handle_irq) from [<c010c7d4>] (__irq_svc+0x54/0                                    x70)
[    5.723454] Exception stack(0xee96fc88 to 0xee96fcd0)
[    5.729044] fc80:                   c1302040 ee951500 00000000 00000000 ee951                                    500 c13109e4
[    5.738094] fca0: 00000404 ee96fce8 ee9518e8 00000000 ee950000 ee96fce4 ee96f                                    cd8 ee96fcd8
[    5.747139] fcc0: c0c58d84 c0c58d88 60000113 ffffffff
[    5.752735] [<c010c7d4>] (__irq_svc) from [<c0c58d88>] (_raw_write_unlock_irq                                    +0x1c/0x20)
[    5.761692] [<c0c58d88>] (_raw_write_unlock_irq) from [<c0121558>] (do_exit+0                                    x660/0x930)
[    5.770645] [<c0121558>] (do_exit) from [<c010c0c8>] (die+0x2dc/0x31c)
[    5.777867] [<c010c0c8>] (die) from [<c010c168>] (arm_notify_die+0x60/0x64)
[    5.785570] [<c010c168>] (arm_notify_die) from [<c01010b8>] (do_undefinstr+0x                                    b8/0x1d8)
[    5.794331] [<c01010b8>] (do_undefinstr) from [<c010c860>] (__und_svc_finish+                                    0x0/0x20)
[    5.803084] Exception stack(0xee96fe00 to 0xee96fe48)
[    5.808675] fe00: eee25b54 c13d8cb8 00000024 eee25b68 c136d588 c013a614 00000                                    000 ee96fe84
[    5.817724] fe20: ed40f600 c0135a74 00000008 ee96fe7c ee96fe80 ee96fe50 c013a                                    614 c022f540
[    5.826765] fe40: 40000113 ffffffff
[    5.830628] [<c010c860>] (__und_svc_finish) from [<c022f540>] (kfree+0xec/0x1                                    d0)
[    5.838816] [<c022f540>] (kfree) from [<c013a614>] (kthread_create_on_node+0x                                    150/0x178)
[    5.847676] [<c013a614>] (kthread_create_on_node) from [<c0135300>] (create_w                                    orker+0xa8/0x174)
[    5.857205] [<c0135300>] (create_worker) from [<c0135bd4>] (worker_thread+0x1                                    60/0x414)
[    5.865965] [<c0135bd4>] (worker_thread) from [<c013a8a8>] (kthread+0x104/0x1                                    14)
[    5.874152] [<c013a8a8>] (kthread) from [<c01076d0>] (ret_from_fork+0x14/0x24                                    )
[   36.136356] ------------[ cut here ]------------
[   36.141475] WARNING: CPU: 2 PID: 1 at kernel/watchdog.c:352 watchdog_timer_fn+0x18c/0x344()
[   36.150707] Watchdog detected hard LOCKUP on cpu 3
[   36.155807] Modules linked in:
[   36.159392] CPU: 2 PID: 1 Comm: swapper/0 Tainted: G      D W       4.4.115-rockchip #13
[   36.168335] Hardware name: Rockchip (Device Tree)
[   36.173553] [<c0110104>] (unwind_backtrace) from [<c010bde8>] (show_stack+0x20/0x24)
[   36.182127] [<c010bde8>] (show_stack) from [<c05bc630>] (dump_stack+0x84/0xa4)
[   36.190122] [<c05bc630>] (dump_stack) from [<c011e104>] (warn_slowpath_common+0x98/0xc4)
[   36.199077] [<c011e104>] (warn_slowpath_common) from [<c011e170>] (warn_slowpath_fmt+0x40/0x48)
[   36.208703] [<c011e170>] (warn_slowpath_fmt) from [<c01b3b28>] (watchdog_timer_fn+0x18c/0x344)
[   36.218238] [<c01b3b28>] (watchdog_timer_fn) from [<c018a7d0>] (__hrtimer_run_queues+0x1f8/0x30c)
[   36.228060] [<c018a7d0>] (__hrtimer_run_queues) from [<c018afa8>] (hrtimer_interrupt+0xc0/0x20c)
[   36.237789] [<c018afa8>] (hrtimer_interrupt) from [<c095a658>] (arch_timer_handler_phys+0x38/0x48)
[   36.247708] [<c095a658>] (arch_timer_handler_phys) from [<c017b648>] (handle_percpu_devid_irq+0xf4/0x19c)
[   36.258297] [<c017b648>] (handle_percpu_devid_irq) from [<c0176ef8>] (generic_handle_irq+0x28/0x38)
[   36.268312] [<c0176ef8>] (generic_handle_irq) from [<c0177254>] (__handle_domain_irq+0xb0/0xc4)
[   36.277938] [<c0177254>] (__handle_domain_irq) from [<c0101478>] (gic_handle_irq+0x64/0x9c)
[   36.287177] [<c0101478>] (gic_handle_irq) from [<c010c7d4>] (__irq_svc+0x54/0x70)
[   36.295449] Exception stack(0xee959a40 to 0xee959a88)
[   36.301042] 9a40: ee959acc 00000000 fd640800 c095a5a8 ee959acc 00005dbf 000077ec 00007850
[   36.310092] 9a60: 00000050 c136cf1c 066665b0 ee959a9c ee959aa0 ee959a90 c010f4c0 c095a5b8
[   36.319133] 9a80: a0000013 ffffffff
[   36.322999] [<c010c7d4>] (__irq_svc) from [<c095a5b8>] (arch_counter_get_cntpct+0x10/0x18)
[   36.332140] [<c095a5b8>] (arch_counter_get_cntpct) from [<c010f4c0>] (arch_timer_read_counter_long+0x20/0x28)
[   36.343112] [<c010f4c0>] (arch_timer_read_counter_long) from [<c05ba500>] (read_current_timer+0x30/0x48)
[   36.353603] [<c05ba500>] (read_current_timer) from [<c05ba550>] (__timer_delay+0x38/0x5c)
[   36.362651] [<c05ba550>] (__timer_delay) from [<c05ba5a0>] (__timer_const_udelay+0x2c/0x34)
[   36.371896] [<c05ba5a0>] (__timer_const_udelay) from [<c01ec1c0>] (panic+0x1cc/0x200)
[   36.380565] [<c01ec1c0>] (panic) from [<c0121414>] (do_exit+0x51c/0x930)
[   36.387972] [<c0121414>] (do_exit) from [<c010c0c8>] (die+0x2dc/0x31c)
[   36.395199] [<c010c0c8>] (die) from [<c011a24c>] (__do_kernel_fault.part.0+0x64/0x1f4)
[   36.403965] [<c011a24c>] (__do_kernel_fault.part.0) from [<c011599c>] (do_page_fault+0x338/0x34c)
[   36.413783] [<c011599c>] (do_page_fault) from [<c0115af4>] (do_translation_fault+0x2c/0xbc)
[   36.423024] [<c0115af4>] (do_translation_fault) from [<c0101220>] (do_DataAbort+0x48/0xc8)
[   36.432167] [<c0101220>] (do_DataAbort) from [<c010c760>] (__dabt_svc+0x40/0x60)
[   36.440343] Exception stack(0xee959cb8 to 0xee959d00)
[   36.445928] 9ca0:                                                       eea40cc0 00000002
[   36.454976] 9cc0: 00000000 2d6c7274 ed40cfd8 ed40f798 00000002 eeaef980 eedca084 eeaef980
[   36.464024] 9ce0: 00000000 ee959d24 00000000 ee959d08 00000000 c05ede3c a0000013 ffffffff
[   36.473077] [<c010c760>] (__dabt_svc) from [<c05ede3c>] (dt_remember_or_free_map+0xd8/0xf4)
[   36.482321] [<c05ede3c>] (dt_remember_or_free_map) from [<c05ee114>] (pinctrl_dt_to_map+0x220/0x2a8)
[   36.492426] [<c05ee114>] (pinctrl_dt_to_map) from [<c05eb058>] (pinctrl_get+0x118/0x3dc)
[   36.501382] [<c05eb058>] (pinctrl_get) from [<c05eb368>] (devm_pinctrl_get+0x4c/0x8c)
[   36.510051] [<c05eb368>] (devm_pinctrl_get) from [<c07284c4>] (pinctrl_bind_pins+0x40/0x124)
[   36.519391] [<c07284c4>] (pinctrl_bind_pins) from [<c07073a4>] (driver_probe_device+0x94/0x298)
[   36.529018] [<c07073a4>] (driver_probe_device) from [<c0707604>] (__driver_attach+0x5c/0x9c)
[   36.538354] [<c0707604>] (__driver_attach) from [<c070599c>] (bus_for_each_dev+0x90/0xa0)
[   36.547402] [<c070599c>] (bus_for_each_dev) from [<c0706f40>] (driver_attach+0x28/0x30)
[   36.556258] [<c0706f40>] (driver_attach) from [<c0706b7c>] (bus_add_driver+0x184/0x1ec)
[   36.565115] [<c0706b7c>] (bus_add_driver) from [<c070816c>] (driver_register+0xb0/0xf0)
[   36.573973] [<c070816c>] (driver_register) from [<c07090b4>] (__platform_driver_register+0x40/0x54)
[   36.583986] [<c07090b4>] (__platform_driver_register) from [<c123dd04>] (rockchip_thermal_driver_init+0x18/0x20)
[   36.595246] [<c123dd04>] (rockchip_thermal_driver_init) from [<c0101ba8>] (do_one_initcall+0x1a0/0x1d4)
[   36.605642] [<c0101ba8>] (do_one_initcall) from [<c1200f58>] (kernel_init_freeable+0x21c/0x26c)
[   36.615271] [<c1200f58>] (kernel_init_freeable) from [<c0c54304>] (kernel_init+0x18/0x118)
[   36.624420] [<c0c54304>] (kernel_init) from [<c01076d0>] (ret_from_fork+0x14/0x24)
[   36.632790] ---[ end trace e56604dbd5b912a7 ]---

 

 

see config file in attachment to reproduce it.  The LED on the tinkercam shines during boot (it doesn't do it with normal armbian Image).  Any suggestions to solve it are appreciated. :)

 

linux-rockchip-default.config

Link to comment
Share on other sites

15 hours ago, TonyMac32 said:

Hello Bluetooth.  Thanks @Igor for the services help, loading on boot no problem.  Played some music through the board from my phone over Bluetooth, nice and smooth.

Does this improve the chances of my wireless keyboard working? It's not bluetooth exactly, it's got it's own proprietary dongle. It works on the mainline kernel, but not 4.4, even though the keyboard is ancient. I wonder if there are some kernel config options that are needed to support USB interfaces that are enabled in the mainline, but not in 4.4? I'm really looking forward to the new image, even if I have to bring my keyboard home from work to test!

Link to comment
Share on other sites

Does this improve the chances of my wireless keyboard working? It's not bluetooth exactly, it's got it's own proprietary dongle. It works on the mainline kernel, but not 4.4, even though the keyboard is ancient. I wonder if there are some kernel config options that are needed to support USB interfaces that are enabled in the mainline, but not in 4.4? I'm really looking forward to the new image, even if I have to bring my keyboard home from work to test!
Are there Linux drivers for that keyboard? I feel like we talked about that before, do you have the lsusb output while it's plugged in?

Sent from my Pixel using Tapatalk

Link to comment
Share on other sites

19 hours ago, TonyMac32 said:

Are there Linux drivers for that keyboard? I feel like we talked about that before, do you have the lsusb output while it's plugged in?

Good memory, yes I tried to diff the config on the page 14, but page 15:

...is where I detailed most of my findings. Looks like the dongle started working between 4.11 and 4.12

Link to comment
Share on other sites

On 2/21/2018 at 4:28 AM, TonyMac32 said:

Tinkerboard Onboard audio is now available out of the box for build-it-yourself enthusiasts on default kernel.  :beer: New image should be ready in the following days.

I've downloaded the "Ubuntu desktop - legacy kernel" from the armbian main page and flashed it, did "apt update && apt upgrade" and yet the sound doesn't seem to be working for me.
So I'm guessing the "default" kernel is something else?

BTW
Sound once worked when I did the fix in the Tinkerboard Sound Post of yours. I'm simply wondering what you're referring to, since I'm not the brightest linux kid around and I tend to get confused by all the kernel terminology.

I'm trying to hop onto the tinkerboard train again to use it as my main development station for µController related stuff and would certainly like to help here with any testing or such, as long as I know what I am doing.

Link to comment
Share on other sites

I've downloaded the "Ubuntu desktop - legacy kernel" from the armbian main page and flashed it, did "apt update && apt upgrade" and yet the sound doesn't seem to be working for me.
So I'm guessing the "default" kernel is something else?

BTW
Sound once worked when I did the fix in the Tinkerboard Sound Post of yours. I'm simply wondering what you're referring to, since I'm not the brightest linux kid around and I tend to get confused by all the kernel terminology.
The image hasn't been updated yet, the changes are primarily in asound.conf and default.pa, which don't get touched on package upgrades. If you have a kernel dated after my update, then you can modify those with

https://github.com/armbian/build/blob/master/packages/bsp/rockchip/pulseaudio.txt

*Insert in where it lists modules*

and

https://github.com/armbian/build/blob/master/packages/bsp/rockchip/asound.conf

*Copy/add depending on if you have one or not*

Sent from my Pixel using Tapatalk

Link to comment
Share on other sites

1 minute ago, TonyMac32 said:

The image hasn't been updated yet, the changes are primarily in asound.conf and default.pa, which don't get touched on package upgrades. If you have a kernel dated after my update, then you can modify those with

https://github.com/armbian/build/blob/master/packages/bsp/rockchip/pulseaudio.txt

*Insert in where it lists modules*

and

https://github.com/armbian/build/blob/master/packages/bsp/rockchip/asound.conf

*Copy/add depending on if you have one or not*

Sent from my Pixel using Tapatalk
 

I see. Great, I'll do that, thanks for the hint.

On another topic:

There is one thing that NEVER worked for me, which is "dpkg-reconfigure keyboard-configuration". That command changes the keyboard configuration, but the system either forgets or resets back to US keyboard-configuration after every reboot.
I honestly don't know why, I was mostly busy with other stuff.
If anyone got a hint as to why this happens, I would greatly appreciate it :)

Link to comment
Share on other sites

4 minutes ago, HackXIt said:

On another topic:

There is one thing that NEVER worked for me, which is "dpkg-reconfigure keyboard-configuration". That command changes the keyboard configuration, but the system either forgets or resets back to US keyboard-configuration after every reboot.
I honestly don't know why, I was mostly busy with other stuff.
If anyone got a hint as to why this happens, I would greatly appreciate it

 

Link to comment
Share on other sites

I've inserted the modules from the provided .txt and also added the file asound.conf to /etc/ with the contents from github.
However, after restarting now the pulseaudio sound server won't function properly anymore ("Connection refused" upon trying to connect)
Must have done something wrong somewhere?

Link to comment
Share on other sites

I've inserted the modules from the provided .txt and also added the file asound.conf to /etc/ with the contents from github.
However, after restarting now the pulseaudio sound server won't function properly anymore ("Connection refused" upon trying to connect)
Must have done something wrong somewhere?
Then the kernel must be older than the update. I patched in a rename of the soundcard I/O channels to make it match ASUS and make sense (spdif, headphone, BT VoIP). Let me get back to you when I have access to my machine. Worst case I'll upload a deb for you to install the new kernel if you can't build yourself.

Sent from my Pixel using Tapatalk

Link to comment
Share on other sites

On 2/27/2018 at 10:02 PM, TonyMac32 said:

Then the kernel must be older than the update. I patched in a rename of the soundcard I/O channels to make it match ASUS and make sense (spdif, headphone, BT VoIP). Let me get back to you when I have access to my machine. Worst case I'll upload a deb for you to install the new kernel if you can't build yourself.

Sent from my Pixel using Tapatalk
 

How do I update the armbian kernel? I doubt I could build it myself, definitly don't have the skillset.

Sorry for the late reply, been a busy week.

 

About the keyboard configuration, I've settled with the fact to use the rather simple command: `setxkbmap at`
It's an easy one liner and I only have to do it once per boot.. Only works once x-environment has booted, so no init.d scripts for that simple command. But I'll see if there's another way to script it sometime. For now it will work, been distracting me with this for too long anyways.

Link to comment
Share on other sites

How do I update the armbian kernel? I doubt I could build it myself, definitly don't have the skillset.
Sorry for the late reply, been a busy week.
 
About the keyboard configuration, I've settled with the fact to use the rather simple command: `setxkbmap at`
It's an easy one liner and I only have to do it once per boot.. Only works once x-environment has booted, so no init.d scripts for that simple command. But I'll see if there's another way to script it sometime. For now it will work, been distracting me with this for too long anyways.
New 4.4 based images were released containing the updates.

Sent from my Pixel using Tapatalk

Link to comment
Share on other sites

3 minutes ago, TonyMac32 said:

New 4.4 based images were released containing the updates.

Sent from my Pixel using Tapatalk
 

From the main armbian page or on github? I've used the armbian mainline download (from the armbian website)... But I guess I gotta redo ? Is there no way to not use a complete new image? Kinda tough to reconfigure everything now.

Link to comment
Share on other sites

If you are using mainline kernel (4.14) you have to follow the instructions detailed in the thread dedicated to Tinker Board sound, that update has not been rolled out yet. If you are using 4.4 kernel you should, after installing all the files, simply have to apt update and upgrade now.

Sent from my Pixel using Tapatalk

Link to comment
Share on other sites

10 minutes ago, HackXIt said:

uname -r
4.4.112-rockchip

I guess I have it. I'll try copying the files again.
 

Nope. Still same result, no audio. No pulse server.
Maybe I didn't delete some lines that should have been deleted? Here's my default.pa:

#!/usr/bin/pulseaudio -nF
#
# This file is part of PulseAudio.
#
# PulseAudio is free software; you can redistribute it and/or modify it
# under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# PulseAudio is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public License
# along with PulseAudio; if not, see <http://www.gnu.org/licenses/>.

# This startup script is used only if PulseAudio is started per-user
# (i.e. not in system mode)

.nofail

### Load something into the sample cache
#load-sample-lazy x11-bell /usr/share/sounds/freedesktop/stereo/bell.oga
#load-sample-lazy pulse-hotplug /usr/share/sounds/freedesktop/stereo/device-added.oga
#load-sample-lazy pulse-coldplug /usr/share/sounds/freedesktop/stereo/device-added.oga
#load-sample-lazy pulse-access /usr/share/sounds/freedesktop/stereo/message.oga

.fail

### Automatically restore the volume of streams and devices
load-module module-device-restore
load-module module-stream-restore
load-module module-card-restore

### Automatically augment property information from .desktop files
### stored in /usr/share/application
load-module module-augment-properties

### Should be after module-*-restore but before module-*-detect
load-module module-switch-on-port-available

### Load audio drivers statically
### (it's probably better to not load these drivers manually, but instead
### use module-udev-detect -- see below -- for doing this automatically)
#load-module module-alsa-sink
load-module module-alsa-sink device=OnBoard_D0 sink_properties=device.description="BT_VOIP-Output"
load-module module-alsa-sink device=OnBoard_D1 sink_properties=device.description="SPDIF-Output"
load-module module-alsa-sink device=OnBoard_D2 sink_properties=device.description="Headset-Output"
#load-module module-alsa-source device=hw:1,0
load-module module-alsa-source device=OnBoard_D0 source_properties=device.description="BT_VOIP-Input"
load-module module-alsa-source device=OnBoard_D1 source_properties=device.description="Headset-Input"


### Automatically load driver modules depending on the hardware available
.ifexists module-udev-detect.so
load-module module-udev-detect tsched=0
.else
### Use the static hardware detection module (for systems that lack udev support)
load-module module-detect
.endif

### Automatically connect sink and source if JACK server is present
.ifexists module-jackdbus-detect.so
.nofail
load-module module-jackdbus-detect channels=2
.fail
.endif

### Automatically load driver modules for Bluetooth hardware
.ifexists module-bluetooth-policy.so
load-module module-bluetooth-policy
.endif

.ifexists module-bluetooth-discover.so
load-module module-bluetooth-discover
.endif

### Load several protocols
.ifexists module-esound-protocol-unix.so
load-module module-esound-protocol-unix
.endif
load-module module-native-protocol-unix

### Network access (may be configured with paprefs, so leave this commented
### here if you plan to use paprefs)
#load-module module-esound-protocol-tcp
#load-module module-native-protocol-tcp
#load-module module-zeroconf-publish

### Load the RTP receiver module (also configured via paprefs, see above)
#load-module module-rtp-recv

### Load the RTP sender module (also configured via paprefs, see above)
#load-module module-null-sink sink_name=rtp format=s16be channels=2 rate=44100 sink_properties="device.description='RTP Multicast Sink'"
#load-module module-rtp-send source=rtp.monitor

### Load additional modules from GConf settings. This can be configured with the paprefs tool.
### Please keep in mind that the modules configured by paprefs might conflict with manually
### loaded modules.
.ifexists module-gconf.so
.nofail
load-module module-gconf
.fail
.endif

### Automatically restore the default sink/source when changed by the user
### during runtime
### NOTE: This should be loaded as early as possible so that subsequent modules
### that look up the default sink/source get the right value
load-module module-default-device-restore

### Automatically move streams to the default sink if the sink they are
### connected to dies, similar for sources
load-module module-rescue-streams

### Make sure we always have a sink around, even if it is a null sink.
load-module module-always-sink

### Honour intended role device property
load-module module-intended-roles

### Automatically suspend sinks/sources that become idle for too long
load-module module-suspend-on-idle

### If autoexit on idle is enabled we want to make sure we only quit
### when no local session needs us anymore.
.ifexists module-console-kit.so
load-module module-console-kit
.endif
.ifexists module-systemd-login.so
load-module module-systemd-login
.endif

### Enable positioned event sounds
load-module module-position-event-sounds

### Cork music/video streams when a phone stream is active
#load-module module-role-cork

### Modules to allow autoloading of filters (such as echo cancellation)
### on demand. module-filter-heuristics tries to determine what filters
### make sense, and module-filter-apply does the heavy-lifting of
### loading modules and rerouting streams.
load-module module-filter-heuristics
load-module module-filter-apply

# X11 modules should not be started from default.pa so that one daemon
# can be shared by multiple sessions.

### Load X11 bell module
#load-module module-x11-bell sample=x11-bell

### Register ourselves in the X11 session manager
#load-module module-x11-xsmp

### Publish connection data in the X11 root window
#.ifexists module-x11-publish.so
#.nofail
#load-module module-x11-publish
#.fail
#.endif

### Make some devices default
#set-default-sink output
#set-default-source input



 

Link to comment
Share on other sites

I think running apt update and apt upgrade should give you 4.4.117 or 119 since the new image came out. @Igor the repo was updated, correct?

If not, the link I shared in the new kernel testing thread has the most recent kernel packages in it, with the audio updates. Install those, verify you have 4.4.(newer than 112), then reinstall all the files you deleted, they are necessary.

(I'm working off my phone at the moment, I apologize for curtness or spelling errors)

Sent from my Pixel using Tapatalk

Link to comment
Share on other sites

49 minutes ago, mfarley said:

Does Bluetooth Audio only work on the 4.4 default kernal? Or is it working on the new 4.14 mainline kernel? .. I spent all weekend configuring a new 4.14 install and now want to send audio to a bluetooth speaker (Amazon Echo).

 

I'm afraid at present it only works with 4.4.  I can't give you a very good reason for this, the rtk_hciattach program simply refuses to function properly with the Tinkerboard on 4.14.  @Myy and myself spent some time working on it https://github.com/Miouyouyou/MyyQi/issues/7, I got some progress toggling the BT gpio's manually, Myy wrote a driver to help, but in the end it simply refused.  Now, I lost track of it long before the conversation was over, and I will be trying to move some of the progress from the default image to the Next image, so I will have another go of it, and I know there were some efforts to make it mainline without needing that attach tool at all, I'll have to see what became of that.

Link to comment
Share on other sites

You can always contribute to the project (big "Donate Now" button at the bottom right of this page), I know that Myy has some links in Github for donations, as for myself I have an amazon wishlist for those interested (only shared on request), it's how I get some hardware for support purposes that I wouldn't buy on my own (like the RPi touchscreen).

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines