Difference between revisions of "Poky migration from rocko to warrior"

From ElphelWiki
Jump to: navigation, search
(Note 3)
Line 14: Line 14:
 
==Note 3==
 
==Note 3==
 
* php, what's that?
 
* php, what's that?
  [  35.872118] BUG: unsupported FP instruction in kernel mode
+
  <font size='1'>[  35.872118] BUG: unsupported FP instruction in kernel mode
 
  [  35.877621] Internal error: Oops - BUG: 0 [#1] PREEMPT SMP ARM
 
  [  35.877621] Internal error: Oops - BUG: 0 [#1] PREEMPT SMP ARM
 
  [  35.883380] Modules linked in:
 
  [  35.883380] Modules linked in:
Line 36: Line 36:
 
  [  35.988626] Code: 128aa080 e89a0162 e3110102 0a000003 (eee96a10)  
 
  [  35.988626] Code: 128aa080 e89a0162 e3110102 0a000003 (eee96a10)  
 
  [  35.994724] ---[ end trace 06029778db6d2d90 ]---
 
  [  35.994724] ---[ end trace 06029778db6d2d90 ]---
  [  35.999422] note: php[1756] exited with preempt_count 2
+
  [  35.999422] note: php[1756] exited with preempt_count 2</font>
  
 
==Note 4==
 
==Note 4==

Revision as of 11:05, 26 July 2019

Note 1

  • /dev/xdevfg got obsolete - there's fpga manager instead which cannot load *.bit (only *.bin or *.bit.bin)
  • Solution:
Brought back the old driver (drivers/char/xilinx_devcfg.c)- it works

Note 2

  • php 5.6.40 - EOL and won't build - mysql supposedly moved header files.
  • Solution:
Disabled mysql extension:
To meta-elphel393/recipes-devtools/php/php_5.6.%.bbappend:
    PACKAGECONFIG[mysql] = "--without-mysql --without-mysqli --without-pdo-mysql"
    CFLAGS += " -ldl"

Note 3

  • php, what's that?
[   35.872118] BUG: unsupported FP instruction in kernel mode
[   35.877621] Internal error: Oops - BUG: 0 [#1] PREEMPT SMP ARM
[   35.883380] Modules linked in:
[   35.886498] CPU: 1 PID: 1756 Comm: php Not tainted 4.14.0-xilinx-v2018.3 #1
[   35.893459] Hardware name: Xilinx Zynq Platform
[   35.897989] task: ee83f280 task.stack: ef1d6000
[   35.902527] PC is at vfp_reload_hw+0x30/0x44
[   35.906802] LR is at __und_usr_fault_32+0x0/0x8
[   35.911338] pc : [<c0102e10>]    lr : [<c010c280>]    psr: a0000013
[   35.917529] sp : ef1d7fb0  ip : 00000051  fp : 00000001
[   35.922813] r10: ef1d61f8  r9 : c010c308  r8 : ee9893c0
[   35.928040] r7 : 00000001  r6 : 00400100  r5 : c0138d08  r4 : ecd600f8
[   35.934569] r3 : c0c6c064  r2 : b67bde8c  r1 : ecd9a224  r0 : eeb00a40
[   35.941098] Flags: NzCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment none
[   35.948241] Control: 18c5387d  Table: 2cda404a  DAC: 00000051
[   35.953993] Process php (pid: 1756, stack limit = 0xef1d6210)
[   35.959740] Stack: (0xef1d7fb0 to 0xef1d8000)
[   35.964020] 7fa0:                                     a5f43f50 a5f43e18 00000080 00000000
[   35.972269] 7fc0: 00000000 a5f43f4c b687b338 000000ae 00000000 bedcdfe4 00000001 a5f43ffc
[   35.980385] 7fe0: a5f43f50 a5f43d7c b676cf78 b67bde8c 60000010 ffffffff 00000000 00000000
[   35.988626] Code: 128aa080 e89a0162 e3110102 0a000003 (eee96a10) 
[   35.994724] ---[ end trace 06029778db6d2d90 ]---
[   35.999422] note: php[1756] exited with preempt_count 2

Note 4

  • New package rng-tools is whining: Failed to init entropy source hwrng
  • Solution:
Leave as is for now. The full log is:
Initalizing available sources
Failed to init entropy source hwrng
Enabling JITTER rng support
Initalizing entropy source jitter
  • Comments:
    • Haven't found if Xilinx uses any driver for /dev/hwrng
    • TODO: Find out if the order or entropy sources can be changed