GE2D Accelerated Greyscale Conversion

Moderators: mdrjr, odroid

GE2D Accelerated Greyscale Conversion

Unread postby crick » Fri Jul 07, 2017 12:46 am

Hi,

I'm using the GE2D Acceleration on the C1+ to blit a monochrome camera image to a framebuffer. It all works fine apart from the image is either in shades of green or red (http://imgur.com/US6IqMl) depending on whether the YUV/RGB bit is set in the source format. I've been reading through the GE2D driver source but I'm struggling to fully understand it and how I'd configure the device to convert 8 bpp to 18/24/32 bpp, copying each 8 bit value into the the correct place for the RGB framebuffer.

e.g. Greyscale to RGB24
Source Y: 0x13 -> Dest. R: 0x13, Dest. G: 0x13, Dest. B: 0x13

Currently I configure the GE2D device like so:
Code: Select all
// Open GE2D device and destination framebuffer
...
config_para_t ge2d_config;
ge2d_config.src_dst_type = ALLOC_ALLOC;
ge2d_config.src_planes[0].addr = (unsigned long) 1;  // later set to camera frame buffer
ge2d_config.src_planes[0].w = w;
ge2d_config.src_planes[0].h = h;
ge2d_config.src_format =
  GE2D_FORMAT_YUV |
  GE2D_FORMAT_COMP_RANGE |
  GE2D_LITTLE_ENDIAN |
  GE2D_BPP_8BIT;
 
ge2d_config.dst_planes[0].addr = fb_finfo.smem_start
ge2d_config.dst_planes[0].w = fb_vinfo.xres;
ge2d_config.dst_planes[0].h = fb_vinfo.yres;

switch (fb_vinfo.bits_per_pixel) {
  case 16:
    ctx->ge2d_config.dst_format = GE2D_FORMAT_S16_RGB_565 | GE2D_LITTLE_ENDIAN;
    break;
  case 24:
    ctx->ge2d_config.dst_format = GE2D_FORMAT_S24_RGB;
    break;
  case 32:
    ctx->ge2d_config.dst_format = GE2D_FORMAT_S32_ARGB;
    break;
  default:
    errno_exit("Framebuffer has unsupported bits per pixel");
  }

// utility function to execute an IOCTL and exit with an errno string
if (xioctl(ge2d_fd, GE2D_CONFIG, &ctx->ge2d_config) < 0)
  errno_exit("GE2D_CONFIG Failed");


https://github.com/hardkernel/linux/blob/odroidc-3.10.y/drivers/amlogic/display/ge2d
https://github.com/hardkernel/linux/tree/odroidc-3.10.y/include/linux/amlogic/ge2d

From the GE2D driver source files, there seems to be another ioctl: GE2D_SRCCOLORKEY. I am wondering if configuring this properly might be the answer but I really don't know what to set the struct values to.

Code: Select all
typedef struct {
  int  key_enable;
  int  key_color;
  int  key_mask;
  int  key_mode;
} src_key_ctrl_t;


I just wondered if anyone has had much experience with using the GE2D acceleration to convert greyscale images or would have any hints at all?

I've mainly got where I am at the moment by going through @CrashOverride's posts and github repos - I've certainly learned a bit about the linux graphics stack and have a whole new appreciation for documentation/code comments!
crick
 
Posts: 4
Joined: Thu Jul 06, 2017 11:55 pm
languages_spoken: english
ODROIDs: C0, C1+, XU4

Re: GE2D Accelerated Greyscale Conversion

Unread postby crashoverride » Fri Jul 07, 2017 3:25 am

crashoverride
 
Posts: 3104
Joined: Tue Dec 30, 2014 8:42 pm
languages_spoken: english
ODROIDs: C1

Re: GE2D Accelerated Greyscale Conversion

Unread postby crick » Fri Jul 07, 2017 6:04 pm

Hey @crashoverride, first off thank you for all the work you've done on this subject.

I am afraid that the resulting image is still in shades of green when using that format.
I made sure to add the line:
Code: Select all
config.alu_const_color = 0xffffffff;

Although I'm not sure how the device uses this.

I wondered if it was because the destination framebuffer is a 16bit RGB565 TFT LCD screen, but it is the same if I plug in a monitor to the HDMI and render to that.
crick
 
Posts: 4
Joined: Thu Jul 06, 2017 11:55 pm
languages_spoken: english
ODROIDs: C0, C1+, XU4

Re: GE2D Accelerated Greyscale Conversion

Unread postby crashoverride » Fri Jul 07, 2017 7:38 pm

I used the RGB565 format to blit to the official LCD here:
https://github.com/OtherCrashOverride/c ... #L124-L167

Also make sure you are using GE2D_STRETCHBLIT_NOALPHA to perform the blit. The regular bit had some issues:
https://github.com/OtherCrashOverride/c ... n.cpp#L229

I have not tested on C1, only on C2. The GE2D hardware is the same but there are driver changes between kernel 3.10 and 3.14.
crashoverride
 
Posts: 3104
Joined: Tue Dec 30, 2014 8:42 pm
languages_spoken: english
ODROIDs: C1

Re: GE2D Accelerated Greyscale Conversion

Unread postby crick » Sat Jul 08, 2017 12:16 am

I've made a test program if anyone wants to try this out:
https://github.com/chris-ricketts/ge2d_greyscale_test

If using fbtft driver the following patch is required for the C1:
https://github.com/chris-ricketts/linux-hardkernel/commit/9b644b6fe54e31ee197c919dc730eab90f6f8061

One unusual thing is that it seems to start rendering the image from the middle of the screen and wraps it round.
It doesn't do this in my program using the camera yet it is the same code. Weird.

crashoverride wrote:I have not tested on C1, only on C2. The GE2D hardware is the same but there are driver changes between kernel 3.10 and 3.14.


Ah okay, I'll investigate and try to consolidate the changes.
crick
 
Posts: 4
Joined: Thu Jul 06, 2017 11:55 pm
languages_spoken: english
ODROIDs: C0, C1+, XU4

Re: GE2D Accelerated Greyscale Conversion

Unread postby crick » Thu Jul 13, 2017 1:06 am

Okay so I've made a branch with the C2 3.14 kernel GE2D changes added:
https://github.com/Chris-Ricketts/linux-hardkernel/tree/c1-ge2d

It builds okay but I'm getting the following NULL pointer dereference when booting up:
Code: Select all
-----------------------------------------------------------------------
* Welcome to Hardkernel's ODROID-C... (Built at 19:33:00 Dec  8 2014) *
-----------------------------------------------------------------------
CPU : AMLogic S805
MEM : 1024MB (DDR3@792MHz)
BID : HKC1311611
S/N : HKC11122F37EC947
0x0000009f
Loading U-boot...success.


U-boot-00000-g87cafd6(odroidc@87cafd6a) (Jul 12 2016 - 17:04:30)

I2C:   clear pinmux reg1[24]=0
clear pinmux reg1[1]=0
out reg=c1108058,value=fffcfa00
set output en 0xc1108054[21]=0
set output val 0xc1108058[21]=0
clear pinmux reg1[25]=0
clear pinmux reg8[12]=0
clear pinmux reg1[3]=0
clear pinmux reg1[2]=0
set output en 0xc1108054[20]=1
clear pinmux reg1[24]=0
clear pinmux reg1[1]=0
out reg=c1108058,value=fffcfa00
set output en 0xc1108054[21]=0
set output val 0xc1108058[21]=0
clear pinmux reg1[25]=0
clear pinmux reg8[12]=0
clear pinmux reg1[3]=0
clear pinmux reg1[2]=0
out reg=c1108058,value=fffcfa00
set output en 0xc1108054[20]=0
set output val 0xc1108058[20]=0
clear pinmux reg1[25]=0
clear pinmux reg8[12]=0
clear pinmux reg1[3]=0
clear pinmux reg1[2]=0
set output en 0xc1108054[20]=1
clear pinmux reg1[24]=0
clear pinmux reg1[1]=0
out reg=c1108058,value=ffdcfa00
set output en 0xc1108054[21]=0
set output val 0xc1108058[21]=0
clear pinmux reg1[24]=0
clear pinmux reg1[1]=0
out reg=c1108058,value=fffcfa00
set output en 0xc1108054[21]=0
set output val 0xc1108058[21]=0
clear pinmux reg1[24]=0
clear pinmux reg1[1]=0
out reg=c1108058,value=ffdcfa00
set output en 0xc1108054[21]=0
set output val 0xc1108058[21]=0
clear pinmux reg1[24]=0
clear pinmux reg1[1]=0
out reg=c1108058,value=fffcfa00
set output en 0xc1108054[21]=0
set output val 0xc1108058[21]=0
clear pinmux reg1[24]=0
clear pinmux reg1[1]=0
out reg=c1108058,value=ffdcfa00
set output en 0xc1108054[21]=0
set output val 0xc1108058[21]=0
clear pinmux reg1[24]=0
clear pinmux reg1[1]=0
out reg=c1108058,value=fffcfa00
set output en 0xc1108054[21]=0
set output val 0xc1108058[21]=0
clear pinmux reg1[24]=0
clear pinmux reg1[1]=0
out reg=c1108058,value=ffdcfa00
set output en 0xc1108054[21]=0
set output val 0xc1108058[21]=0
clear pinmux reg1[24]=0
clear pinmux reg1[1]=0
out reg=c1108058,value=fffcfa00
set output en 0xc1108054[21]=0
set output val 0xc1108058[21]=0
clear pinmux reg1[24]=0
clear pinmux reg1[1]=0
out reg=c1108058,value=ffdcfa00
set output en 0xc1108054[21]=0
set output val 0xc1108058[21]=0
clear pinmux reg1[24]=0
clear pinmux reg1[1]=0
out reg=c1108058,value=fffcfa00
set output en 0xc1108054[21]=0
set output val 0xc1108058[21]=0
clear pinmux reg1[24]=0
clear pinmux reg1[1]=0
out reg=c1108058,value=ffdcfa00
set output en 0xc1108054[21]=0
set output val 0xc1108058[21]=0
clear pinmux reg1[24]=0
clear pinmux reg1[1]=0
out reg=c1108058,value=fffcfa00
set output en 0xc1108054[21]=0
set output val 0xc1108058[21]=0
clear pinmux reg1[24]=0
clear pinmux reg1[1]=0
out reg=c1108058,value=ffdcfa00
set output en 0xc1108054[21]=0
set output val 0xc1108058[21]=0
clear pinmux reg1[24]=0
clear pinmux reg1[1]=0
out reg=c1108058,value=fffcfa00
set output en 0xc1108054[21]=0
set output val 0xc1108058[21]=0
clear pinmux reg1[24]=0
clear pinmux reg1[1]=0
out reg=c1108058,value=ffdcfa00
set output en 0xc1108054[21]=0
set output val 0xc1108058[21]=0
clear pinmux reg1[24]=0
clear pinmux reg1[1]=0
out reg=c1108058,value=fffcfa00
set output en 0xc1108054[21]=0
set output val 0xc1108058[21]=0
clear pinmux reg1[24]=0
clear pinmux reg1[1]=0
out reg=c1108058,value=ffdcfa00
set output en 0xc1108054[21]=0
set output val 0xc1108058[21]=0
clear pinmux reg1[24]=0
clear pinmux reg1[1]=0
out reg=c1108058,value=fffcfa00
set output en 0xc1108054[21]=0
set output val 0xc1108058[21]=0
clear pinmux reg1[24]=0
clear pinmux reg1[1]=0
out reg=c1108058,value=ffdcfa00
set output en 0xc1108054[21]=0
set output val 0xc1108058[21]=0
clear pinmux reg1[25]=0
clear pinmux reg8[12]=0
clear pinmux reg1[3]=0
clear pinmux reg1[2]=0
out reg=c1108058,value=ffccfa00
set output en 0xc1108054[20]=0
set output val 0xc1108058[20]=0
clear pinmux reg1[24]=0
clear pinmux reg1[1]=0
out reg=c1108058,value=ffecfa00
set output en 0xc1108054[21]=0
set output val 0xc1108058[21]=0
clear pinmux reg1[25]=0
clear pinmux reg8[12]=0
clear pinmux reg1[3]=0
clear pinmux reg1[2]=0
set output en 0xc1108054[20]=1
clear pinmux reg1[25]=0
clear pinmux reg8[12]=0
clear pinmux reg1[3]=0
clear pinmux reg1[2]=0
set output en 0xc1108054[20]=1
clear pinmux reg1[25]=0
clear pinmux reg8[12]=0
clear pinmux reg1[3]=0
clear pinmux reg1[2]=0
set output en 0xc1108054[20]=1
ready
DRAM:  1 GiB
relocation Offset is: 2ff18000
MMC:   eMMC: 0, SDCARD: 1
IR init is done!
vpu clk_level = 3
set vpu clk: 182150000Hz, readback: 182150000Hz(0x701)
mode = 6  vic = 4
set HDMI vic: 4
mode is: 6
viu chan = 1
config HPLL
config HPLL done
reconfig packet setting done
MMC read: dev # 0, block # 33984, count 12288 ... 12288 blocks read: OK
There is no valid bmp file at the given address
============================================================
Vendor: Man 450100 Snr 011ff54f Rev: 4.7 Prod: SDW16
            Type: Removable Hard Disk
            Capacity: 15028.0 MB = 14.6 GB (30777344 x 512)
------------------------------------------------------------
Partition     Start Sector     Num Sectors     Type
    1                 2048          262144       c
    2               264192         8124416      83
============================================================
Net:   Meson_Ethernet
init suspend firmware done. (ret:0)
Hit Enter key to stop autoboot -- :  0
exit abortboot: 0
reading boot.ini

3563 bytes read
Loading boot.ini from mmc0:1 (vfat)
Executing the script...
setenv m "1080p"                # 1080P@60Hz
setenv vout_mode "hdmi"
setenv m_bpp "32"
setenv monitor_onoff "false" # true or false
setenv hpd "0"
setenv cec "0"
setenv disableuhs "disableuhs"
setenv vpu "1"
setenv hdmioutput "1"
setenv condev "console=tty0 console=ttyS0,115200n8"   # on both
setenv disable_vu7 "false" # false
setenv max_freq "1536"
if test "${hpd}" = "0"; then setenv hdmi_hpd "disablehpd=true"; fi
if test "${cec}" = "1"; then setenv hdmi_cec "hdmitx=cecf"; fi
if test "${disable_vu7}" = "false"; then setenv hid_quirks "usbhid.quirks=0x0eef:0x0005:0x0004"; fi
setenv bootargs "root=UUID=e139ce78-9841-40fe-8823-96a304a09859 rootwait ro ${condev} no_console_suspend fsck.repair=yes vdaccfg=0xa000 logo=osd1,loaded,0x7900000,720p,full dmfc=3 c         vbsmode=576cvbs hdmimode=${m} m_bpp=${m_bpp} vout=${vout_mode} ${disableuhs} ${hdmi_hpd} ${hdmi_cec} ${enabledac} monitor_onoff=${monitor_onoff} max_freq=${max_freq} ${hid_quirks}"
fatload mmc 0:1 0x21000000 uImage
reading uImage

5600587 bytes read
fatload mmc 0:1 0x22000000 uInitrd
reading uInitrd

3269498 bytes read
fatload mmc 0:1 0x21800000 meson8b_odroidc.dtb
reading meson8b_odroidc.dtb

20083 bytes read
fdt addr 21800000
if test "${vpu}" = "0"; then fdt rm /mesonstream; fdt rm /vdec; fdt rm /ppmgr; fi
if test "${hdmioutput}" = "0"; then fdt rm /mesonfb; fi
bootm 0x21000000 0x22000000 0x21800000"
## Booting kernel from Legacy Image at 21000000 ...
   Image Name:   Linux-3.10.104
   Image Type:   ARM Linux Kernel Image (lzo compressed)
   Data Size:    5600523 Bytes = 5.3 MiB
   Load Address: 00208000
   Entry Point:  00208000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 22000000 ...
   Image Name:   uInitrd
   Image Type:   ARM Linux RAMDisk Image (uncompressed)
   Data Size:    3269434 Bytes = 3.1 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
## Flattened Device Tree blob at 21800000
   Booting using the fdt blob at 0x21800000
   Uncompressing Kernel Image ... OK
uboot time: 6415602 us.
Using machid 0xf81 from environment
From device tree /memory/ node aml_reserved_end property, for relocate ramdisk and fdt, relocate_addr: 0x5327001
   Loading Ramdisk to 05008000, end 0532633a ... OK
   Loading Device Tree to 05000000, end 05007e72 ... OK

Starting kernel ...

[    0.000000@0] Booting Linux on physical CPU 0x200
[    0.000000@0] Initializing cgroup subsys cpuset
[    0.000000@0] Initializing cgroup subsys cpu
[    0.000000@0] Initializing cgroup subsys cpuacct
[    0.000000@0] Linux version 3.10.104 (chris@chris-UBUNTU) (gcc version 4.9.2 20140904 (prerelease) (crosstool-NG linaro-1.13.1-4.9-2014.09 - Linaro GCC 4.9-2014.09) ) #8 SMP PREE         MPT Wed Jul 12 16:23:54 BST 2017
[    0.000000@0] Kernel was built at commit id '5542a15'
[    0.000000@0] CPU: ARMv7 Processor [410fc051] revision 1 (ARMv7), cr=10c5387d
[    0.000000@0] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000@0] Machine: ODROIDC, model: AMLOGIC
[    0.000000@0] physical memory start address is 0x200000
[    0.000000@0] reserved_end is e3fffff
[    0.000000@0]
[    0.000000@0] Total memory is 1022 MiB
[    0.000000@0] Reserved low memory from 0x06000000 to 0x0e3fffff, size: 132 MiB
[    0.000000@0]        mesonfb0(low)           : 0x06100000 - 0x07900000 ( 24 MiB)
[    0.000000@0]        mesonfb1(low)           : 0x07900000 - 0x07a00000 (  1 MiB)
[    0.000000@0]        mesonstream0(low)       : 0x07a00000 - 0x09a00000 ( 32 MiB)
[    0.000000@0]        vdec0(low)      : 0x09a00000 - 0x0da00000 ( 64 MiB)
[    0.000000@0]        ppmgr0(high)    : 0x3f000000 - 0x40000000 ( 16 MiB)
[    0.000000@0]        deinterlace0(high)      : 0x3cf00000 - 0x3f000000 ( 33 MiB)
[    0.000000@0]        amvideocap0(low)        : 0x0da00000 - 0x0e400000 ( 10 MiB)
[    0.000000@0] cma: CMA: reserved 8 MiB at 3c400000
[    0.000000@0] cma: Found region@0, memory base 0, size 42 MiB
[    0.000000@0] cma: CMA: reserved 44 MiB at 2cc00000
[    0.000000@0] Memory policy: ECC disabled, Data cache writealloc
[    0.000000@0] Meson chip version = RevA (1B:A - 0:B72)
[    0.000000@0] PERCPU: Embedded 8 pages/cpu @c1446000 s8576 r8192 d16000 u32768
[    0.000000@0] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 210192
[    0.000000@0] Kernel command line: root=UUID=e139ce78-9841-40fe-8823-96a304a09859 rootwait ro console=tty0 console=ttyS0,115200n8 no_console_suspend fsck.repair=yes vdaccfg=0xa00         0 logo=osd1,loaded,0x7900000,720p,full dmfc=3 cvbsmode=576cvbs hdmimode=1080p m_bpp=32 vout=hdmi disableuhs disablehpd=true monitor_onoff=false max_freq=1536 usbhid.quirks=0x0eef:0x         0005:0x0004
[    0.000000@0] cvbs trimming line = 0xa000
[    0.000000@0] cvbs trimming.1.v5: 0xa0, 0x0
[    0.000000@0] osd1:1
[    0.000000@0] loaded:268435459
[    0.000000@0] logo has been loaded
[    0.000000@0] 720p:11
[    0.000000@0] full:2
[    0.000000@0] kernel get cvbsmode form uboot is 576cvbs
[    0.000000@0] kernel get hdmimode form uboot is 1080p
[    0.000000@0] PID hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000@0] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[    0.000000@0] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000@0] allocated 1992704 bytes of page_cgroup
[    0.000000@0] please try 'cgroup_disable=memory' option if you don't want memory cgroups
[    0.000000@0] Memory: 64MB 16MB 747MB = 827MB total
[    0.000000@0] Memory: 766632k/766632k available, 80216k reserved, 209920K highmem
[    0.000000@0] Virtual kernel memory layout:
[    0.000000@0]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000@0]     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
[    0.000000@0]     vmalloc : 0xf0000000 - 0xff000000   ( 240 MB)
[    0.000000@0]     lowmem  : 0xc0000000 - 0xef800000   ( 760 MB)
[    0.000000@0]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
[    0.000000@0]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
[    0.000000@0]       .text : 0xc0008000 - 0xc094d5b0   (9494 kB)
[    0.000000@0]       .init : 0xc094e000 - 0xc0987180   ( 229 kB)
[    0.000000@0]       .data : 0xc0988000 - 0xc0a00dc0   ( 484 kB)
[    0.000000@0]        .bss : 0xc0a00dc0 - 0xc0c98a7c   (2656 kB)
[    0.000000@0] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000@0] Preemptible hierarchical RCU implementation.
[    0.000000@0] NR_IRQS:256
[    0.000000@0] sched_clock: 32 bits at 1000kHz, resolution 1000ns, wraps every 4294967ms
[    0.000000@0] Global timer: MESON TIMER-F (c09a3440) initialized
[    0.000000@0] Switching to timer-based delay loop
[    0.000000@0] Console: colour dummy device 80x30
[    0.000000@0] console [tty0] enabled
[    0.000000@0] console [ttyS0] enabled
[    0.382032@0] Calibrating delay loop (skipped), value calculated using timer frequency.. 2.00 BogoMIPS (lpj=10000)
[    0.392314@0] pid_max: default: 32768 minimum: 301
[    0.397242@0] Security Framework initialized
[    0.401370@0] AppArmor: AppArmor initialized
[    0.405604@0] Mount-cache hash table entries: 512
[    0.414992@0] Initializing cgroup subsys memory
[    0.415100@0] Initializing cgroup subsys devices
[    0.419305@0] Initializing cgroup subsys freezer
[    0.423952@0] Initializing cgroup subsys blkio
[    0.428309@0] Initializing cgroup subsys perf_event
[    0.433334@0] CPU: Testing write buffer coherency: ok
[    0.438614@0] CPU0: thread -1, cpu 0, socket 2, mpidr 80000200
[    0.444124@0] Setting up static identity map for 0xc06a77f8 - 0xc06a7850
[    0.450824@0] L310 cache controller enabled
[    0.454801@0] l2x0: 8 ways, 2048 sets, CACHE_ID 0x4100a0c9,  Cache size: 524288 B
[    0.462298@0]       AUX_CTRL 0x7ec60001, PERFETCH_CTRL 0x75000007, POWER_CTRL  0x00000000
[    0.470399@0]       TAG_LATENCY 0x00000111, DATA_LATENCY 0x00000222
[    0.550317@1] CPU1: Booted secondary processor
[    0.550336@1] CPU1: thread -1, cpu 1, socket 2, mpidr 80000201
[    0.570315@2] CPU2: Booted secondary processor
[    0.570333@2] CPU2: thread -1, cpu 2, socket 2, mpidr 80000202
[    0.590311@3] CPU3: Booted secondary processor
[    0.590330@3] CPU3: thread -1, cpu 3, socket 2, mpidr 80000203
[    0.590420@0] Brought up 4 CPUs
[    0.618608@0] SMP: Total of 4 processors activated (8.00 BogoMIPS).
[    0.624838@0] CPU: All CPU(s) started in SVC mode.
[    0.630320@0] devtmpfs: initialized
[    0.639869@0] clkrate [ xtal         ] : 24000000
[    0.639915@0] clkrate [ pll_sys      ] : 1200000000
[    0.642870@0] clkrate [ pll_fixed    ] : 2550000000
[    0.647522@0] clkrate [ pll_vid      ] : 732000000
[    0.651947@0] clkrate [ pll_ddr      ] : 0
[    0.655659@0] clkrate [ a9_clk       ] : 1200000000
[    0.660087@0] clkrate [ clk81        ] : 159375000
[    0.664696@0] pinctrl core: initialized pinctrl subsystem
[    0.669895@0] regulator-dummy: no parameters
[    0.675885@0] NET: Registered protocol family 16
[    0.682858@0] DMA: preallocated 4096 KiB pool for atomic coherent allocations
[    0.686818@0] VPU driver version: v02
[    0.689257@0] load vpu_clk in dts: 182150000Hz(3)
[    0.693984@0] vpu_probe OK
[    0.696832@0] cma: Assigned CMA region with name cma_0 to amvenc_avc.0 device
[    0.705542@0] amlogic_gpio gpio: Probed amlogic GPIO driver
[    0.709710@0] register lm device lm-root
[    0.713207@0] register lm device lm1
[    0.716733@0] register lm device lm0
[    0.720329@0] hw-breakpoint: found 2 (+1 reserved) breakpoint and 1 watchpoint registers.
[    0.728403@0] hw-breakpoint: maximum watchpoint size is 4 bytes.
[    0.734495@0] Init pinux probe!
[    0.738150@0] pinmux-m8b pinmux: Probed amlogic pinctrl driver
[    0.743341@0] tv_init_module
[    0.746150@0] major number 254 for disp
[    0.749952@0] vout_register_server
[    0.753342@0] register tv module server ok
[    0.757461@0] call aml_dvfs_init in
[    0.761123@0] hdmitx: system: amhdmitx_init
[    0.765020@0] hdmitx: system: Ver: 2014May6
[    0.769231@0] hdmitx: system: amhdmitx_probe
[    0.773704@0] hdmitx: system: gate/pwr cmd: 7
[    0.777751@0] hdmitx: system: ALREADY init VIC = 4
[    0.782529@0] hdmitx: system: gate/pwr cmd: 0
[    0.787265@1] hdmitx: system: reset intr mask
[    0.819549@0] bio: create slab <bio-0> at 0
[    0.820286@0] SCSI subsystem initialized
[    0.822180@0] usbcore: registered new interface driver usbfs
[    0.827674@0] usbcore: registered new interface driver hub
[    0.833200@0] usbcore: registered new device driver usb
[    0.838358@0] media: Linux media interface: v0.10
[    0.843017@0] Linux video capture interface: v2.00
[    0.848159@0] request vpu clk holdings: vencp 159375000Hz
[    0.853110@0] TV mode 1080p selected.
[    0.856735@0] tvoutc_setmode[460]
[    0.860028@0] aml_logo: outputmode changed(11->26), reset osd1 scaler.
[    4.863339@0] get property:                  use_pwm, value:0x00000001, dec:       1
[    4.865460@0] get property:              table_count, value:0x0000001d, dec:      29
[    4.873191@0] meson_cs_dvfs_probe, table count:29, use_pwm:1, pwm controller:2
[    4.880359@0]  0, 010f001b,  860000
[    4.883802@0]  1, 01050025,  870000
[    4.887265@0]  2, 00fc002e,  880000
[    4.890739@0]  3, 00f30037,  890000
[    4.894192@0]  4, 00ea0040,  900000
[    4.897655@0]  5, 00e10049,  910000
[    4.901130@0]  6, 00d60054,  920000
[    4.904583@0]  7, 00cb005f,  930000
[    4.908046@0]  8, 00c0006a,  940000
[    4.911520@0]  9, 00b50075,  950000
[    4.914974@0] 10, 00aa0080,  960000
[    4.918436@0] 11, 00a0008a,  970000
[    4.921910@0] 12, 00960094,  980000
[    4.925364@0] 13, 008d009d,  990000
[    4.928827@0] 14, 007b00af, 1000000
[    4.932301@0] 15, 007200b8, 1010000
[    4.935755@0] 16, 006900c1, 1020000
[    4.939217@0] 17, 006000ca, 1030000
[    4.942692@0] 18, 005700d3, 1040000
[    4.946145@0] 19, 004e00dc, 1050000
[    4.949608@0] 20, 004500e5, 1060000
[    4.953082@0] 21, 003c00ee, 1070000
[    4.956536@0] 22, 003300f7, 1080000
[    4.959999@0] 23, 002a0100, 1090000
[    4.963473@0] 24, 00180109, 1100000
[    4.966927@0] 25, 000f011b, 1110000
[    4.970400@0] 26, 000a0120, 1120000
[    4.973854@0] 27, 00050125, 1130000
[    4.977316@0] 28, 0000012a, 1140000
[    4.980836@0] get pin for pwm--------
[    4.984657@0] Advanced Linux Sound Architecture Driver Initialized.
[    4.991088@0] Bluetooth: Core ver 2.16
[    4.994413@0] NET: Registered protocol family 31
[    4.998966@0] Bluetooth: HCI device and connection manager initialized
[    5.005493@0] Bluetooth: HCI socket layer initialized
[    5.010501@0] Bluetooth: L2CAP socket layer initialized
[    5.015698@0] Bluetooth: SCO socket layer initialized
[    5.020875@0] Loading modules backported from Linux version next-20150129-0-g828f79f
[    5.028413@0] Backport integrated by backports.git backports-20150129-0-gdd4a670
[    5.036007@0] cfg80211: Calling CRDA to update world regulatory domain
[    5.043028@0] Switching to clocksource Timer-E
[    5.046982@0] AppArmor: AppArmor Filesystem Enabled
[    5.058965@0] NET: Registered protocol family 2
[    5.059695@0] TCP established hash table entries: 8192 (order: 4, 65536 bytes)
[    5.065172@0] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
[    5.071778@0] TCP: Hash tables configured (established 8192 bind 8192)
[    5.078211@0] TCP: reno registered
[    5.081514@0] UDP hash table entries: 512 (order: 2, 16384 bytes)
[    5.087619@0] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[    5.094304@0] NET: Registered protocol family 1
[    5.098782@0] Unpacking initramfs...
[    5.271970@0] Freeing initrd memory: 3192K (c4e08000 - c5126000)
[    5.273110@0] hw perfevents: enabled with ARMv7 Cortex-A9 PMU driver, 3 counters available
[    5.281169@0] audit: initializing netlink socket (disabled)
[    5.286150@0] type=2000 audit(5.180:1): initialized
[    5.291676@0] bounce pool size: 64 pages
[    5.300118@0] VFS: Disk quotas dquot_6.5.2
[    5.300380@0] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    5.307549@0] aufs 3.10.x
[    5.308209@0] msgmni has been set to 1181
[    5.313636@0] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)
[    5.319759@0] io scheduler noop registered
[    5.323783@0] io scheduler deadline registered
[    5.328348@0] io scheduler cfq registered (default)
[    5.374955@0] [drm] Initialized drm 1.1.0 20060810
[    5.375126@0] gpu cooling register okay with err=0
[    5.381810@0] Mali: Mali device driver loaded
[    5.383345@0] UMP: UMP device driver -jenkins-deb_kernel_c1-186-5-g5542a15 loaded
[    5.393545@0] loop: module loaded
[    5.394454@0] tun: Universal TUN/TAP device driver, 1.6
[    5.399172@0] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
[    5.405601@0] PPP generic driver version 2.4.2
[    5.410260@0] usbcore: registered new interface driver usb-storage
[    5.416143@0] usbcore: registered new interface driver usbserial
[    5.422065@0] usbcore: registered new interface driver usbserial_generic
[    5.428722@0] usbserial: USB Serial support registered for generic
[    5.435063@0] mousedev: PS/2 mouse device common for all mice
[    5.440813@0] i2c /dev entries driver
[    5.444530@0] device-mapper: uevent: version 1.0.3
[    5.449244@0] device-mapper: ioctl: 4.24.0-ioctl (2013-01-15) initialised: dm-devel@redhat.com
[    5.457669@0] Bluetooth: HCI UART driver ver 2.2
[    5.462096@0] Bluetooth: HCI H4 protocol initialized
[    5.467046@0] Bluetooth: HCI BCSP protocol initialized
[    5.472139@0] Bluetooth: HCILL protocol initialized
[    5.477002@0] Bluetooth: HCIATH3K protocol initialized
[    5.482097@0] Bluetooth: HCI Three-wire UART (H5) protocol initialized
[    5.489164@0] ledtrig-cpu: registered to indicate activity on CPUs
[    5.494803@0] hidraw: raw HID events driver (C) Jiri Kosina
[    5.500526@0] usbcore: registered new interface driver usbhid
[    5.505997@0] usbhid: USB HID core driver
[    5.510210@0] efuse===========================================
[    5.515905@0] efuse: device efuse created
[    5.519827@0] efuse--------------------------------------------
[    5.525653@0] vout_init_module
[    5.528732@0] start init vout module
[    5.532433@0] create  vout attribute ok
[    5.536451@0] ge2d: ge2d_init_module
[    5.539959@0] ge2d: ge2d_dev major:244
[    5.543876@0] osd_init
[    5.546029@0] osd_probe, vinfo:c06e8a00
[    5.550140@0] Frame buffer memory assigned at phy:0x06100000, vir:0xf1000000, size=24576K
[    5.557985@0] osd_probe, mydef_var:c09d6858, vinfo:c06e8a00
[    5.563492@0] init fbdev bpp is :32
[    5.567053@0] ---------------clear framebuffer0 memory
[    6.589965@0] Console: switching to colour frame buffer device 160x90
[    6.603116@0] Frame buffer memory assigned at phy:0x07900000, vir:0xf0600000, size=1024K
[    6.611106@0] osd_probe, mydef_var:c09d6858, vinfo:c06e8a00
[    6.616596@0] don't find to display_size_default from mesonfb-dts
[    6.622678@0] init fbdev bpp is :24
[    7.616736@0] osd probe ok
[    7.616803@0] hdmitx: video: get current mode: 1080p
[    7.619076@0] hdmitx: video: get current mode: 1080p
[    7.624010@0] hdmitx: system: gate/pwr cmd: 7
[    7.628387@0] hdmitx: system: already init VIC = 0  Now VIC = 16
[    7.634324@0] hdmitx: system:  16 (cd0,cs0,pm1,vd0,1)
[    7.639434@0] hdmitx: system: gate/pwr cmd: 0
[    7.643741@0] hdmitx: system: hw reset
[    7.648511@0] hdmitx: audio: SPDIF
[    7.650879@0] reconfig packet setting done
[    7.674893@0] hdmitx: system: set pll
[    7.674965@0] hdmitx: system: param->VIC:16
[    7.677142@0] mode is: 26
[    7.679708@0] VPU_VIU_VENC_MUX_CTRL: 0xa
[    7.683616@0] viu chan = 1
[    7.686287@0] VPU_VIU_VENC_MUX_CTRL: 0xa
[    7.690212@0] config HPLL
[    7.706731@0] config HPLL done
[    7.706801@0] enc_vpu_bridge_reset[314]
[    7.846728@0] hdmitx: system: phy setting done
[    7.846815@0] hdmi: Fixing to HDMI Mode
[    7.849391@0] hdmi: Sink is HDMI device
[    7.853203@0] hdmi: No sink attached
[    7.856803@0] hdmitx: audio: audio channel num is 0
[    7.861623@0] hdmitx: audio: SPDIF
[    7.864980@0] hdmitx: audio: current VIC: 16
[    7.869240@0] hdmitx: audio: audio sample rate: 0
[    7.873907@0] hdmitx: audio: reset audio N para
[    7.878440@0] hdmitx: audio: PCM out to HDMI
[    7.895074@0] hdmitx: audio: Time out: AIU_HDMI_CLK_DATA_CTRL
[    7.895248@0] hdmitx: audio: i2s_to_spdif_flag:1
[    7.899925@0] hdmitx: audio: Enable audio spdif to HDMI
[    7.942930@0] amlvideo-000: V4L2 device registered as video10
[    7.943353@0] ionvideo-000: V4L2 device registered as video13
[    7.948849@0] Video Technology Magazine Ion Video Capture Board ver 1.0 successfully loaded.
[    7.957690@0] aml_wdt_driver_init,306
[    7.960847@0] ** disable watchdog
[    7.964211@0] one-secod=7812,min_timeout=1,max_timeout=8,default_timeout=10,reset_watchdog_method=0,reset_watchdog_time=2,shutdown_timeout=10,firmware_timeout=6,suspend_timeout=6
[    7.980401@0] AML Watchdog Timer probed done
[    7.984610@0] set uart_ao pinmux use pinctrl subsystem
[    7.989487@0] P_AO_RTI_PIN_MUX_REG:1801
[    7.993246@0] start uart_ao_ttyS0:(irq = 122)
[    7.997601@0] register uart_ao ok
[    8.001054@0] set uart_b pinmux use pinctrl subsystem
[    8.005877@0] P_AO_RTI_PIN_MUX_REG:1801
[    8.013168@0] start uart_b_ttyS2:(irq = 107)
[    8.017372@0] register uart_b ok
[    8.020927@0] dwc_otg: version 3.10a 12-MAY-2014
[    8.025113@0] dwc_otg_driver_probe NOT match
[    8.069364@0] usb1: type: 1, speed: 0, config: 0, dma: 0, id: 1, phy: fe108820, ctrl: fe080000
[    8.075856@0] USB (1) use clock source: XTAL input
[    8.101777@0] Core Release: 3.10a
[    8.105321@0] Setting default values for core params
[    8.108924@0] curmode: 1, host_only: 1
[    8.132631@0] Using Buffer DMA mode
[    8.136150@0] OTG VER PARAM: 1, OTG VER FLAG: 1
[    8.139693@0] Working on port type = HOST
[    8.143430@0] WARN::dwc_otg_hcd_init:1102: FIQ DMA bounce buffers: virt = 0xf0437000 dma = 0x3c808000 len=18048
[    8.152705@0] FIQ FSM acceleration enabled for :
[    8.152705@0] Non-periodic Split Transactions
[    8.152705@0] Periodic Split Transactions
[    8.152705@0] High-Speed Isochronous Endpoints
[    8.180617@0] WARN::hcd_init:473: FIQ at 0xc043ca64
[    8.184182@0] WARN::hcd_init:474: FIQ ASM at 0xc043cddc length 36
[    8.189494@0] WARN::hcd_init:483: FIQ r8=0xec616800 r9=0x00000010
[    8.195546@0] enable fiq 63
[    8.199152@0] dwc_otg lm1: DWC OTG Controller
[    8.202773@0] dwc_otg lm1: new USB bus registered, assigned bus number 1
[    8.209427@0] dwc_otg lm1: irq 61, io mem 0x00000000
[    8.214264@0] -------hcd->flags.d32 = 0
[    8.218071@0] Init: Port Power? op_state=1
[    8.222073@0] Init1: Power Port (0)
[    8.226115@0] hub 1-0:1.0: USB hub found
[    8.229690@0] hub 1-0:1.0: 1 port detected
[    8.233632@0] usb0: type: 0, speed: 0, config: 0, dma: 0, id: 0, phy: fe108800, ctrl: fe040000
[    8.242119@0] USB (0) use clock source: XTAL input
[    8.267930@0] Core Release: 3.10a
[    8.271406@0] Setting default values for core params
[    8.274885@0] curmode: 1, host_only: 0
[    8.338513@0] Using Buffer DMA mode
[    8.341974@0] OTG VER PARAM: 1, OTG VER FLAG: 1
[    8.345477@0] Working on port type = OTG
[    8.348995@0] Current port type: SLAVE
[    8.352692@0] dwc_otg lm0: DWC OTG Controller
[    8.356313@0] dwc_otg lm0: new USB bus registered, assigned bus number 2
[    8.363060@0] dwc_otg lm0: irq 62, io mem 0x00000000
[    8.368418@0] hub 2-0:1.0: USB hub found
[    8.372005@0] hub 2-0:1.0: 1 port detected
[    8.376056@0] Dedicated Tx FIFOs mode
[    8.380006@0] using timer detect id change, ec8f2c00
[    8.384698@0] ethernet_driver probe!
[    8.388329@0] ethernetinit(dbg[c09db504]=1)
[    8.392237@0] ethernet base addr is fe0c0000
[    8.396491@0] write mac add to:ebe52948: 00 1e 06 10 ec c7 |....|
[    8.407052@0] libphy: AMLMAC MII Bus: probed
[    8.410714@0] eth0: PHY ID 001cc916 at 0 IRQ -1 (0:00) active
[    8.415051@0] eth0: PHY ID 001cc916 at 1 IRQ -1 (0:01) active
[    8.420955@0] amvideocap_init_module
[    8.424717@0] amvideocap_probe,amvideocap
[    8.428419@0] amvideocap_dev_register buf:0da00000,size:a00000.
[    8.428449@1] Indeed it is in host mode hprt0 = 00021501
[    8.439748@0] Amlogic A/V streaming port init
[    8.445091@0] init vdec memsource 9a00000->d9fffff
[    8.448982@0] [tsync_pcr_init]init success.
[    8.452920@0] regist mpeg12 codec profile
[    8.456934@0] regist mpeg4 codec profile
[    8.460746@0] amvdec_vc1 module init
[    8.464534@0] regist vc1 codec profile
[    8.468310@0] amvdec_h264 module init
[    8.472066@0] Unable to handle kernel NULL pointer dereference at virtual address 00000000
[    8.479977@0] pgd = c0004000
[    8.483729@0] [00000000] *pgd=00000000
[    8.487537@0] Internal error: Oops: 805 [#1] PREEMPT SMP ARM
[    8.492123@0] Modules linked in:
[    8.495836@0] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 3.10.104 #8
[    8.501563@0] task: ec670000 ti: ec678000 task.ti: ec678000
[    8.507026@0] PC is at create_ge2d_work_queue+0xe4/0xf8
[    8.512116@0] LR is at _raw_spin_lock+0x10/0x50
[    8.516602@0] pc : [<c03f26fc>]    lr : [<c06a6e88>]    psr: 60000113
[    8.516602@0] sp : ec679f18  ip : 00000000  fp : 00000000
[    8.531970@0] r10: c097b30c  r9 : 000001ee  r8 : c096f8d4
[    8.535570@0] r7 : c0a00dc0  r6 : ebe64234  r5 : c0ab6464  r4 : ebe64000
[    8.541985@0] r3 : 00000000  r2 : 00000000  r1 : 00000000  r0 : c0ab6494
[    8.548651@0] Flags: nZCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment kernel
[    8.556131@0] Control: 10c5387d  Table: 0020404a  DAC: 00000015
[    8.562031@0]
[    8.562031@0] PC: 0xc03f267c:
[    8.570172@0] 267c  e2800f8f e5846238 e59f2080 ebf16893 e3a03000 e5843250 e30810d0 e3a00f8b
[    8.576474@0] 269c  ebf3d110 e3700a01 9a000004 e30a09d8 e34c008a eb0aabde e3a00000 e8bd8070
[    8.584769@0] 26bc  e5943238 e2555001 e5840238 e5806000 e5803004 e5830000 1affffee e3065464
[    8.593068@0] 26dc  e34c50ab e2850030 eb0ad1e3 e5953004 e2850030 e5854004 e5845000 e5843004
[    8.601400@0] 26fc  e5834000 eb0ad28b e1a00004 e8bd8070 c0ab64c0 e3500000 0a00004c e92d41f0
[    8.606747@1] usb 1-1: new high-speed USB device number 2 using dwc_otg
[    8.616430@1] 271c  e3064464 e34c40ab e1a05000 e2840030 eb0ad1d1 e5953004 e3a0cc01 e5952000
[    8.624714@1] 273c  e3a01c02 e2840030 e5823004 e5832000 e585c000 e5851004 eb0ad276 e5943008
[    8.633047@1] 275c  e1530005 1a000008 e5943048 e3530001 1a000005 e3a03003 e2840020 e5843048
[    8.641381@0]
[    8.641381@0] LR: 0xc06a6e08:
[    8.649650@0] 6e08  e3a07002 e5867000 f57ff05f e1a00004 eb0000d6 ebfffca9 e1a00004 eb000027
[    8.656039@0] 6e28  e5953000 e1a01000 e3530000 1afffff4 e59d3004 e3e0c000 e59d2000 e3a0ec01
[    8.664383@0] 6e48  e585c000 e1a00004 e3a0cc02 e5823004 e5832000 e58de000 e58dc004 eb0000c3
[    8.672715@0] 6e68  e28dd014 e8bd80f0 e3a01000 eaffffce e92d4010 e1a04000 e3a00001 ebe6b789
[    8.681043@0] 6e88  e1943f9f e2832801 e1841f92 e3310000 1afffffa e1a02823 e6ff3073 e1520003
[    8.689386@0] 6ea8  1a000001 f57ff05f e8bd8010 e320f002 e1d430b0 e1520003 1afffffb eafffff8
[    8.697728@0] 6ec8  e92d4070 e1a04000 e10f5000 f10c0080 e3a00001 ebe6b773 e1943f9f e2832801
[    8.706054@0] 6ee8  e1841f92 e3310000 1afffffa e1a02823 e6ff3073 e1520003 0a000003 e320f002
[    8.714398@0]
[    8.714398@0] SP: 0xec679e98:
[    8.722919@0] 9e98  c03f26a0 c144a1f0 ec678008 ffffffff ec600e80 ec678000 00000000 00000000
[    8.729510@0] 9eb8  c03f26fc 60000113 ffffffff ec679f04 c096f8d4 c000db58 c0ab6494 00000000
[    8.737849@0] 9ed8  00000000 00000000 ebe64000 c0ab6464 ebe64234 c0a00dc0 c096f8d4 000001ee
[    8.746191@0] 9ef8  c097b30c 00000000 00000000 ec679f18 c06a6e88 c03f26fc 60000113 ffffffff
[    8.754534@0] 9f18  c0ae5bd8 ec678030 c097b304 c096f900 c0a00dc0 c000854c c06c5f6c c004a538
[    8.762892@0] 9f38  c088f2a8 00000000 00000006 c1443bcf 00000000 c0983d60 00000006 c097b304
[    8.771189@0] 9f58  c0a00dc0 c0a00dc0 000001ee c097b30c 00000000 c094ec74 00000006 00000006
[    8.779467@0] 9f78  c094e4e4 c06a71e8 00000000 00000dc0 00000000 00000000 00000000 00000000
[    8.787784@0]
[    8.787784@0] R0: 0xc0ab6414:
[    8.796439@0] 6414  31303231 00003032 00000000 00000000 00000000 00000000 00000000 00000000
[    8.803169@0] 6434  00000000 00000000 00000031 00000000 00000000 00000000 00000000 00000000
[    8.811469@0] 6454  00000000 00000000 00000000 00000000 00000000 ebe64000 00000000 00000000
[    8.819759@0] 6474  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    8.828054@0] 6494  00010000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    8.836341@0] 64b4  00000000 00000000 00000000 64326567 00000000 00000000 00000000 00000000
[    8.844626@0] 64d4  00000000 000000f4 00000000 c09d6030 ec9b5a00 00000000 00000000 00000000
[    8.852916@0] 64f4  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    8.861215@0]
[    8.861215@0] R4: 0xebe63f80:
[    8.869830@0] 3f80  ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff
[    8.876490@0] 3fa0  ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff
[    8.884771@0] 3fc0  ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff
[    8.893066@0] 3fe0  ffffffff ffffffff ffffffff ffffffff ffff7fff ffffffff ffffffff ffffffff
[    8.901361@0] 4000  c0ab6464 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    8.909696@0] 4020  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    8.917967@0] 4040  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    8.926240@0] 4060  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    8.934552@0]
[    8.934552@0] R5: 0xc0ab63e4:
[    8.943071@0] 63e4  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    8.949661@0] 6404  00000000 00000000 00000001 ec74e340 31303231 00003032 00000000 00000000
[    8.957954@0] 6424  00000000 00000000 00000000 00000000 00000000 00000000 00000031 00000000
[    8.966252@0] 6444  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    8.974535@0] 6464  00000000 ebe64000 00000000 00000000 00000000 00000000 00000000 00000000
[    8.982822@0] 6484  00000000 00000000 00000000 00000000 00010000 00000000 00000000 00000000
[    8.991118@0] 64a4  00000000 00000000 00000000 00000000 00000000 00000000 00000000 64326567
[    8.999427@0] 64c4  00000000 00000000 00000000 00000000 00000000 000000f4 00000000 c09d6030
[    9.007728@0]
[    9.007728@0] R6: 0xebe641b4:
[    9.016227@0] 41b4  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    9.022736@0] 41d4  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    9.030983@0] 41f4  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    9.039276@0] 4214  00000000 00000000 00000000 00000000 00000000 00000000 ebe6422c ebe6422c
[    9.047566@0] 4234  ebe64400 ebf14000 00000000 ebe64240 ebe64240 00000000 00000000 00000000
[    9.055879@0] 4254  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    9.064172@0] 4274  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    9.072437@0] 4294  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    9.080713@0]
[    9.080713@0] R7: 0xc0a00d40:
[    9.088986@0] 0d40  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    9.095307@0] 0d60  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    9.103594@0] 0d80  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    9.111873@0] 0da0  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    9.120151@0] 0dc0  00000000 00000000 00000000 00000000 00000000 c1443900 c1443a80 00000000
[    9.128420@0] 0de0  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    9.136688@0] 0e00  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    9.144962@0] 0e20  00000001 00000000 00000000 00000000 00000000 00000000 0031e33a 00000000
[    9.153276@0]
[    9.153276@0] R8: 0xc096f854:
[    9.161267@0] f854  e30c0364 e92d4010 e34c009d ebe5a84d e2504000 13e04012 1a000002 e59f000c
[    9.167333@0] f874  ebeb849a eaffffff e1a00004 e8bd8010 c09dc3b8 e309062c e92d4010 e34c008b
[    9.175651@0] f894  ebf4b765 e30c03c0 e34c009d ebe5a83d e2504000 0a000004 e3090644 e3e04012
[    9.183962@0] f8b4  e34c008b ebf4b75c ea000001 e59f0008 ebeb8486 e1a00004 e8bd8010 c09dc414
[    9.192258@0] f8d4  e309093c e92d4010 e34c008b ebf4b752 e3053bd8 e34c30ae e59326f4 e1a04003
[    9.200559@0] f8f4  e3520000 1a000001 ebea0b45 e58406f4 e59436f4 e3530000 1a000002 e3090958
[    9.208881@0] f914  e34c008b ebf4b744 e59f002c ebe5a81d e2504000 0a000004 e3090984 e3e04012
[    9.217199@0] f934  e34c008b ebf4b73c ea000001 e59f000c ebeb8466 e1a00004 e8bd8010 c09dc440
[    9.225487@0]
[    9.225487@0] R10: 0xc097b28c:
[    9.233602@0] b28c  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    9.239648@0] b2ac  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    9.247919@0] b2cc  00000000 00000000 00000000 00000000 00000000 00000000 00000000 c0983680
[    9.256190@0] b2ec  c0983690 c098370c c0983744 c0983778 c098385c c09838ac c0983f48 c0983fb4
[    9.264506@0] b30c  c0851cfc c08d9698 c0851d04 c0851d10 c0851d18 c08648f4 c088f2a8 c0851d20
[    9.272812@0] b32c  00000000 00000000 00000000 00000000 44495555 3331653d 37656339 38392d38
[    9.281129@0] b34c  342d3134 2d656630 33323838 6136392d 61343033 35383930 00000039 00000000
[    9.289445@0] b36c  00000000 00000000 00000000 00000000 00000000 00000001 00000000 00000000
[    9.297742@0] Process swapper/0 (pid: 1, stack limit = 0xec678238)
[    9.304021@0] Stack: (0xec679f18 to 0xec67a000)
[    9.308486@0] 9f00:                                                       c0ae5bd8 ec678030
[    9.316839@0] 9f20: c097b304 c096f900 c0a00dc0 c000854c c06c5f6c c004a538 c088f2a8 00000000
[    9.325162@0] 9f40: 00000006 c1443bcf 00000000 c0983d60 00000006 c097b304 c0a00dc0 c0a00dc0
[    9.333476@0] 9f60: 000001ee c097b30c 00000000 c094ec74 00000006 00000006 c094e4e4 c06a71e8
[    9.341766@0] 9f80: 00000000 00000dc0 00000000 00000000 00000000 00000000 00000000 c0698f6c
[    9.350061@0] 9fa0: 00000000 c0698f60 00000000 c000e0a0 00000000 00000000 00000000 00000000
[    9.358357@0] 9fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    9.366648@0] 9fe0: 00000000 00000000 00000000 00000000 00000013 00000000 ffffffff ffffffff
[    9.374929@0] [<c03f26fc>] (create_ge2d_work_queue+0xe4/0xf8) from [<c096f900>] (amvdec_h264_driver_init_module+0x2c/0x84)
[    9.386038@0] [<c096f900>] (amvdec_h264_driver_init_module+0x2c/0x84) from [<c000854c>] (do_one_initcall+0xa0/0x148)
[    9.396529@0] [<c000854c>] (do_one_initcall+0xa0/0x148) from [<c094ec74>] (kernel_init_freeable+0x190/0x23c)
[    9.406372@0] [<c094ec74>] (kernel_init_freeable+0x190/0x23c) from [<c0698f6c>] (kernel_init+0xc/0x154)
[    9.415787@0] [<c0698f6c>] (kernel_init+0xc/0x154) from [<c000e0a0>] (ret_from_fork+0x14/0x34)
[    9.424402@0] Code: e2850030 e5854004 e5845000 e5843004 (e5834000)
[    9.430795@0] ---[ end trace 9c17ff291c31eb70 ]---
[    9.435516@0] note: swapper/0[1] exited with preempt_count 1
[    9.435534@1] Indeed it is in host mode hprt0 = 00001101
[    9.446482@0] Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b
[    9.446482@0]
[    9.459578@1] CPU1: stopping
[    9.463264@1] CPU: 1 PID: 40 Comm: khubd Tainted: G      D      3.10.104 #8
[    9.468338@1] [<c0014f00>] (unwind_backtrace+0x0/0xec) from [<c0011ea8>] (show_stack+0x10/0x14)
[    9.477079@1] [<c0011ea8>] (show_stack+0x10/0x14) from [<c00137a4>] (handle_IPI+0xd4/0x17c)
[    9.485445@1] [<c00137a4>] (handle_IPI+0xd4/0x17c) from [<c0008478>] (gic_handle_irq+0x58/0x5c)
[    9.494100@1] [<c0008478>] (gic_handle_irq+0x58/0x5c) from [<c000dbc0>] (__irq_svc+0x40/0x70)
[    9.502633@1] Exception stack(0xec79dc80 to 0xec79dcc8)
[    9.507865@1] dc80: 00fd0fef a0000113 ffe42b00 fe109000 c0aadb1c 000003e7 00fd0fb0 ec8f2000
[    9.516279@1] dca0: 00000000 ec79dd40 00000000 00000023 00000016 ec79dcc8 c0237f40 c001fe08
[    9.524579@1] dcc0: a0000113 ffffffff
[    9.528675@1] [<c000dbc0>] (__irq_svc+0x40/0x70) from [<c001fe08>] (cycle_read_timerE1+0x10/0x14)
[    9.537121@1] [<c001fe08>] (cycle_read_timerE1+0x10/0x14) from [<c0237f40>] (__timer_delay+0x4c/0x5c)
[    9.546350@1] [<c0237f40>] (__timer_delay+0x4c/0x5c) from [<c043d43c>] (DWC_MDELAY+0x28/0x34)
[    9.554877@1] [<c043d43c>] (DWC_MDELAY+0x28/0x34) from [<c04339f8>] (dwc_otg_hcd_hub_control+0x8a4/0x108c)
[    9.564572@1] [<c04339f8>] (dwc_otg_hcd_hub_control+0x8a4/0x108c) from [<c0434ed8>] (hub_control+0x20/0x28)
[    9.574335@1] [<c0434ed8>] (hub_control+0x20/0x28) from [<c03285b4>] (usb_hcd_submit_urb+0x488/0x70c)
[    9.583573@1] [<c03285b4>] (usb_hcd_submit_urb+0x488/0x70c) from [<c0329b64>] (usb_start_wait_urb+0x4c/0xb4)
[    9.593429@1] [<c0329b64>] (usb_start_wait_urb+0x4c/0xb4) from [<c0329c6c>] (usb_control_msg+0xa0/0xd0)
[    9.602831@1] [<c0329c6c>] (usb_control_msg+0xa0/0xd0) from [<c0320704>] (set_port_feature+0x44/0x4c)
[    9.612003@1] [<c0320704>] (set_port_feature+0x44/0x4c) from [<c0321e9c>] (hub_port_reset+0xe4/0x40c)
[    9.621237@1] [<c0321e9c>] (hub_port_reset+0xe4/0x40c) from [<c0322504>] (hub_port_init+0x340/0x9f4)
[    9.630324@1] [<c0322504>] (hub_port_init+0x340/0x9f4) from [<c0324ef4>] (hub_port_connect_change+0x394/0x898)
[    9.640335@1] [<c0324ef4>] (hub_port_connect_change+0x394/0x898) from [<c0325910>] (hub_thread+0x518/0x7ac)
[    9.650098@1] [<c0325910>] (hub_thread+0x518/0x7ac) from [<c004c298>] (kthread+0xb0/0xb4)
[    9.658275@1] [<c004c298>] (kthread+0xb0/0xb4) from [<c000e0a0>] (ret_from_fork+0x14/0x34)
[    9.666513@2] CPU2: stopping
[    9.671297@2] CPU: 2 PID: 0 Comm: swapper/2 Tainted: G      D      3.10.104 #8
[    9.677730@2] [<c0014f00>] (unwind_backtrace+0x0/0xec) from [<c0011ea8>] (show_stack+0x10/0x14)
[    9.686470@2] [<c0011ea8>] (show_stack+0x10/0x14) from [<c00137a4>] (handle_IPI+0xd4/0x17c)
[    9.694772@2] [<c00137a4>] (handle_IPI+0xd4/0x17c) from [<c0008478>] (gic_handle_irq+0x58/0x5c)
[    9.703486@2] [<c0008478>] (gic_handle_irq+0x58/0x5c) from [<c000dbc0>] (__irq_svc+0x40/0x70)
[    9.711961@2] Exception stack(0xec6a1fa0 to 0xec6a1fe8)
[    9.717192@2] 1fa0: 00000002 00000000 000008c8 00000000 ec6a0000 c099c590 c06ab0b8 ec6a0030
[    9.725606@2] 1fc0: c0a00c5e c0a00c5e ec6a0000 00000000 01000000 ec6a1fe8 c000f3c8 c000f3cc
[    9.733961@2] 1fe0: 60000113 ffffffff
[    9.739142@2] [<c000dbc0>] (__irq_svc+0x40/0x70) from [<c000f3cc>] (arch_cpu_idle+0x28/0x2c)
[    9.747199@2] [<c000f3cc>] (arch_cpu_idle+0x28/0x2c) from [<c007060c>] (cpu_startup_entry+0xf4/0x150)
[    9.756452@2] [<c007060c>] (cpu_startup_entry+0xf4/0x150) from [<00899f24>] (0x899f24)
[    9.764370@3] CPU3: stopping
[    9.769724@3] CPU: 3 PID: 0 Comm: swapper/3 Tainted: G      D      3.10.104 #8
[    9.776720@3] [<c0014f00>] (unwind_backtrace+0x0/0xec) from [<c0011ea8>] (show_stack+0x10/0x14)
[    9.785394@3] [<c0011ea8>] (show_stack+0x10/0x14) from [<c00137a4>] (handle_IPI+0xd4/0x17c)
[    9.790806@0] SMP: failed to stop secondary CPUs
[    9.793706@3] [<c00137a4>] (handle_IPI+0xd4/0x17c) from [<c0008478>] (gic_handle_irq+0x58/0x5c)
[    9.806962@3] [<c0008478>] (gic_handle_irq+0x58/0x5c) from [<c000dbc0>] (__irq_svc+0x40/0x70)
[    9.815450@3] Exception stack(0xec6a3fa0 to 0xec6a3fe8)
[    9.820912@3] 3fa0: 00000003 00000000 00004606 00000000 ec6a2000 c099c590 c06ab0b8 ec6a2030
[    9.829083@3] 3fc0: c0a00c5e c0a00c5e ec6a2000 00000000 01000000 ec6a3fe8 c000f3c8 c000f3cc
[    9.837384@3] 3fe0: 600f0013 ffffffff
[    9.842846@3] [<c000dbc0>] (__irq_svc+0x40/0x70) from [<c000f3cc>] (arch_cpu_idle+0x28/0x2c)
[    9.851128@3] [<c000f3cc>] (arch_cpu_idle+0x28/0x2c) from [<c007060c>] (cpu_startup_entry+0xf4/0x150)
[    9.860373@3] [<c007060c>] (cpu_startup_entry+0xf4/0x150) from [<00899f24>] (0x899f24)


I'm assuming its somewhere in the video codecs. I'm hoping I can just disable the offending module as I don't need any video decoding/encoding apart from maybe MJPEG for the project I'm working on.

But I'll have to try and fix this if it was to be merged into the C1 3.10 kernel. Is this something that people would want?
crick
 
Posts: 4
Joined: Thu Jul 06, 2017 11:55 pm
languages_spoken: english
ODROIDs: C0, C1+, XU4


Return to General Chat

Who is online

Users browsing this forum: No registered users and 3 guests