Linux (Enlightenment and Lubuntu) in WeTek Play Amlogic TV Box

Last week I reviewed WeTek Play, a TV box with two DVB-S2 tuners, powered by Amlogic AML8726-MX dual core ARM Cortex A9 processor, and running Android 4.2, but the company also released several Linux based images including one with Enlightenment window manager, and another, temporary one, with Ubuntu core which allows you to install Lubuntu or Xubuntu with apt-get. There are also working on OpenELEC, but have not released the binary yet. Today, I’ll try the Enlightenment image because it also supports hardware video decoding via Gplay (gstreamer), and show how to install Lubuntu.

The instructions below have been done in a computer running Ubuntu 14.04, but a Windows computer can also be used.

  1. Download Wetek-Linux.img.bz2
  2. Connect a micro SD card to your computer, extract and flash Wetek-Linux.img:
    • In Linux using a terminal window:
    • In Windows, extract the image, and use Win32DiskImager to copy the image to your micro SD card
  3. Now insert the micro SD card into Wetek Play, and start the device.
  4. Linux should boot and run Enlightenment
Enlightenment in Wetek Play (Click for Original Size)
Enlightenment in Wetek Play (Click for Original Size)

For some reasons, the USB mouse and keyboard I connected where powered on, but no recognized / usable by the system, so instead I used the air mouse provided with the box. This is a minimal image with a rootfs built with buildroot, using busybox, and Enlightenment window manager. There are just three main applications in the menu: Mplayer, Enlightenment File Manager and Xterm. You also have more settings options.

Since I had no keyboard input, I connected the provided serial cable to the RS-232 port (barrel) on Wetek Play to my PC via an RS-232 to USB adapter, setup minicom to connect to /dev/ttyUSB0 with 115800 8N1 parameter, and I could access the serial console. For some reason all keyboard keys are repeated, so “ls -l” actually looks like “llss –ll”, but it works anyway. Pressing the Tab key may get rid off the duplicate characters.

I’ve run some commands to check the available storage space and memory.


I’ve used a 16GB SD card, so I should probably have resized the partition with parted and resize2fs to make full use of the card capacity. But for quick testing, I skipped that part.  There’s plenty of free memory, becasue Enlightenment is an ultra lightweight desktop environment.

WeTek used the latest kernel 3.10.33 source from Amlogic with device tree support.


Finally, I mounted a USB hard drive (ext-4), and successfully play a 1080p video with gplay:


You can checkout the video below where I show the desktop environment, the serial connection, and play the 1080p video above.

This image us better suited as a start point to build your own application, still has some bugs, and not something you would use as a desktop computer. But at least, it’s one of the few ARM platform with proper hardware video decoding in Linux. Others would be the Freesale i.MX6 boards (Wandboard, TBS Matrix, etc…), Hardkernel ODROID boards, and Nvidia Tegra TK1 development board.

I’ve also included the full boot log below for reference:

HHH
BootFrom SPI
0x12345678
Boot from int dev 1stSPITE : 346507System StartedU-boot([email protected]) (Aug 08 2014 – 13:50:34)aml_rtc_init
aml rtc init first time!
clr h-ram
DRAM:  1 GiB
relocation Offset is: 105e4000
MMC:   [mmc_register] add mmc dev_num=0, port=1, if_type=6
[mmc_register] add mmc dev_num=1, port=2, if_type=6
SDIO Port B: 0, SDIO Port C: 1
NAND:  Amlogic nand flash uboot driver, Version U1.06.020 (c) 2010 Amlogic Inc.
SPI BOOT : continue i 0
No NAND device found!!!
NAND device id: 2c 44 44 4b a9 0
NAND device: Manufacturer ID: 0x2c, Chip ID: 0x2c (Micron D revision NAND 4GiB )
1 NAND chips detected
#####aml_nand_init, with RB pins and chip->chip_delay:20
bus_cycle=5, bus_timing=6, start_cycle=6, end_cycle=7,system=5.0ns
oob size is not enough for selected bch mode: NAND_BCH60_1K_MODE force bch to mE
aml_chip->oob_fill_cnt =168,aml_chip->oob_size =744,bch_bytes =70
multi plane error for selected plane mode: NAND_TWO_PLANE_MODE force plane to :E
aml_nand_init:oobmul =1,chip->ecc.layout->oobfree[0].length=16,aml_chip->oob_si4
aml nand env valid addr: 8000 ,status =0
key start_blk=2040,end_blk=2047,aml_nand_key_init:684
aml nand key valid addr: ff010000
aml nand key valid addr: ff210000
aml nand key valid addr: ff410000
aml nand key valid addr: ff610000
CONFIG_KEYSIZE=0x10000; KEYSIZE=0xfffc; bbt=0x1330; default_keyironment_size=0xc
i=0,register — nand_key
NAND bbt detect Bad block at 0
Creating 8 MTD partitions on “nandnormal”:
0x000000800000-0x000001000000 : “logo”
0x000001000000-0x000001800000 : “aml_logo”
0x000001800000-0x000002000000 : “recovery”
0x000002000000-0x000002800000 : “boot”
0x000002800000-0x000042800000 : “system”
0x000042800000-0x000062800000 : “cache”
0x000062800000-0x000072800000 : “backup”
0x000072800000-0x0000ff000000 : “data”
nandnormal initialized ok
detect mx chiprevD :1 and nand_type: 40
nand_curr_device =1
SPI BOOT,spi_env_relocate_spec : env_relocate_spec 53
SF: Detected MX25L3205D with page size 256, total 4 MiBSPI NOR Flash have write protect!!!
In:    serial
Out:   serial
Err:   serial
register usb cfg[0] = 9fe85564
Net:   Meson_Ethernet
init suspend firmware done. (ret:0)
detect_storage
nand exist return 0
setenv storage nand
reboot_mode=normal
ir init
efuse version is not selected.
Hit Enter key to stop autoboot — :  0
exit abortboot: 0
Checking for OpenElectv …
sdio_detect return 1
[mmc_init] SDIO Port B:0, if_type=7, initialized OK!
Device: SDIO Port B
Manufacturer ID: 0
OEM: 0
Name: Tran Speed: 40000000
Rd Block Len: 512
SD version 2.0
High Capacity: Yes
Capacity: 15798894592
Boot Part Size: 0
Bus Width: 4-bit
reading kernel.img** Unable to read “kernel.img” from mmc 0:1 **
Checking for Linux …
Device: SDIO Port B
Manufacturer ID: 0
OEM: 0
Name: Tran Speed: 40000000
Rd Block Len: 512
SD version 2.0
High Capacity: Yes
Capacity: 15798894592
Boot Part Size: 0
Bus Width: 4-bit
reading boot.img

6449001 bytes read

NAND read: logo whole chip
8388608 bytes read: OK
unpackimg:Magic error, use old format

NAND read: logo whole chip
8388608 bytes read: OK
unpackimg:Magic error, use old format
## ANDROID Format IMAGE
## Booting kernel from Legacy Image at 82000000 …
Image Name:   Linux-3.10.33
Image Type:   ARM Linux Kernel Image (lzma compressed)
Data Size:    3655540 Bytes = 3.5 MiB
Load Address: 80008000
Entry Point:  80008000
Verifying Checksum … OK
Ramdisk start addr = 0x8237d000, len = 0x2a495d
Process device tree. dt magic: edfe0dd0
One dtb detected
Flat device tree start addr = 0x82622000, len = 0x40c6 magic=0xedfe0dd0
Uncompressing Kernel Image … OK
uboot time: 5142982 us.
machid from environment: 0x4e27
EFUSE machid is not set.
Using machid 0x4e27 from environment
From device tree /memory/ node aml_reserved_end property, for relocate ramdisk 1
Loading Ramdisk to 84008000, end 842ac95d … OK
Loading Device Tree to 84000000, end 840070c5 … OK

Starting kernel …

[    [email protected]] Booting Linux on physical CPU 0x200
[    [email protected]] Linux version 3.10.33 ([email protected]) (gcc version 4.7.4
[    [email protected]] CPU: ARMv7 Processor [413fc090] revision 0 (ARMv7), cr=10c5387d
[    [email protected]] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruce
[    [email protected]] Machine: Amlogic Meson6 platform, model: AMLOGIC
[    [email protected]] physical memory start address is 0x80000000
[    [email protected]] reserved_end is 8dafffff
[    [email protected]]  reserved 511M-512M 1M memory for firmware
[    [email protected]] Total memory is 1024 MiB
[    [email protected]] Reserved low memory from 0x85000000 to 0x8dafffff, size: 139 M
[    [email protected]]        ion_dev0(low)           : 0x85100000 – 0x87100000 ( 32 )
[    [email protected]]        mesonfb0(low)           : 0x87100000 – 0x88100000 ( 16 )
[    [email protected]]        mesonfb1(low)           : 0x88100000 – 0x88200000 (  1 )
[    [email protected]]        deinterlace0(low)       : 0x88200000 – 0x89e00000 ( 28 )
[    [email protected]]        mesonstream0(low)       : 0x89e00000 – 0x8a800000 ( 10 )
[    [email protected]]        vdec0(low)      : 0x8a800000 – 0x8c800000 ( 32 MiB)
[    [email protected]]        ppmgr0(low)     : 0x8c800000 – 0x8db00000 ( 19 MiB)
[    [email protected]] Ignore bootargs ‘mem’ param.
[    [email protected]] Memory policy: ECC disabled, Data cache writealloc
[    [email protected]] PERCPU: Embedded 8 pages/cpu @c1231000 s8704 r8192 d15872 u3278
[    [email protected]] Built 1 zonelists in Zone order, mobility grouping on.  Total 0
[    [email protected]] Kernel command line: root=/dev/mmcblk0p2 rw rootfstype=ext3 ro1
[    [email protected]] osd0:0
[    [email protected]] 1080i:7
[    [email protected]] full:2
[    [email protected]] kernel get hdmimode form uboot is 1080i
[    [email protected]] kernel get cvbsmode form uboot is 576cvbs
[    [email protected]] ******** uboot setup mac-addr: 0:15:18:1:81:31
[    [email protected]] PID hash table entries: 4096 (order: 2, 16384 bytes)
[    [email protected]] Dentry cache hash table entries: 131072 (order: 7, 524288 byte)
[    [email protected]] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[    [email protected]] Memory: 80MB 292MB 512MB = 884MB total
[    [email protected]] Memory: 884060k/884060k available, 21156k reserved, 278528K him
[    [email protected]] Virtual kernel memory layout:
[    [email protected]]     vector  : 0xffff0000 – 0xffff1000   (   4 kB)
[    [email protected]]     fixmap  : 0xfff00000 – 0xfffe0000   ( 896 kB)
[    [email protected]]     vmalloc : 0xef800000 – 0xff000000   ( 248 MB)
[    [email protected]]     lowmem  : 0xc0000000 – 0xef000000   ( 752 MB)
[    [email protected]]     pkmap   : 0xbfe00000 – 0xc0000000   (   2 MB)
[    [email protected]]     modules : 0xbf000000 – 0xbfe00000   (  14 MB)
[    [email protected]]       .text : 0xc0008000 – 0xc08ef880   (9119 kB)
[    [email protected]]       .init : 0xc08f0000 – 0xc0923200   ( 205 kB)
[    [email protected]]       .data : 0xc0924000 – 0xc098a100   ( 409 kB)
[    [email protected]]        .bss : 0xc098a100 – 0xc0a23d8c   ( 616 kB)
[    [email protected]] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[    [email protected]] Preemptible hierarchical RCU implementation.
[    [email protected]] NR_IRQS:256
[    [email protected]] sched_clock: 32 bits at 1000kHz, resolution 1000ns, wraps evers
[    [email protected]] Global timer: MESON TIMER-A (c0941d00) initialized
[    [email protected]] Disable timerA
[    [email protected]] Console: colour dummy device 80×30
[    [email protected]] console [ttyS0] enabled
[    [email protected]] Calibrating delay loop… 2387.14 BogoMIPS (lpj=11935744)
[    [email protected]] pid_max: default: 32768 minimum: 301
[    [email protected]] Security Framework initialized
[    [email protected]] SELinux:  Initializing.
[    [email protected]] Mount-cache hash table entries: 512
[    [email protected]] CPU: Testing write buffer coherency: ok
[    [email protected]] CPU0: thread -1, cpu 0, socket 2, mpidr 80000200
[    [email protected]] Local timer: MESON TIMER-B (c0941e00) for CPU0 initialized
[    [email protected]] Disable timerA
[    [email protected]] Disable timerB
[    [email protected]] Disable timerA
[    [email protected]] Setting up static identity map for 0xc065ff20 – 0xc065ff78
[    [email protected]] L310 cache controller enabled
[    [email protected]] l2x0: 8 ways, 2048 sets, CACHE_ID 0x4100a0c8,  Cache size: 524B
[    [email protected]]       AUX_CTRL 0x3e460000, PERFETCH_CTRL 0x30000006, POWER_CTR0
[    [email protected]]       TAG_LATENCY 0x00000222, DATA_LATENCY 0x00000222
[    [email protected]] CPU1: Booted secondary processor
[    [email protected]] CPU1: thread -1, cpu 1, socket 2, mpidr 80000201
[    [email protected]] Local timer: MESON TIMER-D (c0942000) for CPU1 initialized
[    [email protected]] Brought up 2 CPUs
[    [email protected]] SMP: Total of 2 processors activated (4780.85 BogoMIPS).
[    [email protected]] CPU: All CPU(s) started in SVC mode.
[    [email protected]] devtmpfs: initialized
[    [email protected]] clkrate [ xtal         ] : 24000000
[    [email protected]] clkrate [ pll_sys      ] : 1200000000
[    [email protected]] clkrate [ pll_fixed    ] : 2000000000
[    [email protected]] clkrate [ pll_vid2     ] : 378000000
[    [email protected]] clkrate [ pll_hpll     ] : 378000000
[    [email protected]] clkrate [ pll_ddr      ] : 516000000
[    [email protected]] clkrate [ a9_clk       ] : 1200000000
[    [email protected]] clkrate [ clk81        ] : 200000000
[    [email protected]] pinctrl core: initialized pinctrl subsystem
[    [email protected]] regulator-dummy: no parameters
[    [email protected]] NET: Registered protocol family 16
[    [email protected]] DMA: preallocated 4096 KiB pool for atomic coherent allocations
[    [email protected]] amlogic_gpio gpio: Probed amlogic GPIO driver
[    [email protected]] register lm device lm-root
[    [email protected]] register lm device lm1
[    [email protected]] register lm device lm0
[    [email protected]] Init pinux probe!
[    [email protected]] pinmux-m6 pinmux: Probed amlogic pinctrl driver
[    [email protected]] ——-early_init_dt_probe:38———-
[    [email protected]] ——-early_init_dt_init:115———-
[    [email protected]] tv_init_module
[    [email protected]] major number 254 for disp
[    [email protected]] vout_register_server
[    [email protected]] register tv module server ok
[    [email protected]] major number 0 for disp
[    [email protected]] register tv module server ok
[    [email protected]] drivers/amlogic/i2c/aml_i2c.c : aml_i2c_init
[    [email protected]] drivers/amlogic/i2c/aml_i2c.c : aml_i2c_probe
[    [email protected]] plat->state_name:default
[    [email protected]] master_no = 0, maseter_regs=f3100500
[    [email protected]] aml-i2c i2c-AO: add adapter aml_i2c_adap0(ee97b4a8)
[    [email protected]] aml-i2c i2c-AO: aml i2c bus driver.
[    [email protected]] drivers/amlogic/i2c/aml_i2c.c : aml_i2c_probe
[    [email protected]] plat->state_name:default
[    [email protected]] master_no = 1, maseter_regs=f1108500
[    [email protected]] aml-i2c i2c-A: add adapter aml_i2c_adap1(ee9bc0a8)
[    [email protected]] aml-i2c i2c-A: aml i2c bus driver.
[    [email protected]] drivers/amlogic/i2c/aml_i2c.c : aml_i2c_probe
[    [email protected]] plat->state_name:default
[    [email protected]] master_no = 2, maseter_regs=f11087c0
[    [email protected]] aml-i2c i2c-B: add adapter aml_i2c_adap2(ee9bcca8)
[    [email protected]] aml-i2c i2c-B: aml i2c bus driver.
[    [email protected]] aml_pmu_init, 454
[    [email protected]] call aml_dvfs_init in
[    [email protected]] [DVFS]aml_dvfs_probe, child name:vcck_dvfs
[    [email protected]] [DVFS]dvfs table of vcck_dvfs is:
[    [email protected]] [DVFS]     freq,    min_uV,    max_uV
[    [email protected]] [DVFS]   200000,   1010000,   1010000
[    [email protected]] [DVFS]   600000,   1010000,   1010000
[    [email protected]] [DVFS]   792000,   1010000,   1010000
[    [email protected]] [DVFS]   816000,   1110000,   1110000
[    [email protected]] [DVFS]   840000,   1110000,   1110000
[    [email protected]] [DVFS]   984000,   1110000,   1110000
[    [email protected]] [DVFS]  1000000,   1110000,   1110000
[    [email protected]] [DVFS]  1080000,   1220000,   1220000
[    [email protected]] [DVFS]  1200000,   1240000,   1240000
[    [email protected]] [DVFS]  1320000,   1320000,   1320000
[    [email protected]] [DVFS]  1500000,   1320000,   1320000
[    [email protected]] hdmitx: system: amhdmitx_init
[    [email protected]] hdmitx: system: Ver: 2014May6
[    [email protected]] hdmitx: system: amhdmitx_probe
[    [email protected]] amhdmitx is using the pin GPIOD_5
[    [email protected]] hdmitx: system: hw init
[    [email protected]] HDMI: get brd phy data
[    [email protected]] hdmi phy setting
[    [email protected]] HDMI: get brd phy data
[    [email protected]] hdmi phy setting
[    [email protected]] hdmitx: system: reset intr mask
[    [email protected]] hdmitx: system: irq 1
[    [email protected]] bio: create slab <bio-0> at 0
[    [email protected]] SCSI subsystem initialized
[    [email protected]] usbcore: registered new interface driver usbfs
[    [email protected]] usbcore: registered new interface driver hub
[    [email protected]] usbcore: registered new device driver usb
[    [email protected]] Linux video capture interface: v2.00
[    [email protected]] LCD driver init
[    [email protected]] TV mode 1080i selected.
[    [email protected]] [0x1b7e] = 0xff
[    [email protected]] [0x105f] = 0x0
[    [email protected]] [0x109d] = 0x814d3928
[    [email protected]] [0x109e] = 0x6b425012
[    [email protected]] [0x109f] = 0x110
[    [email protected]] [0x109c] = 0x1043e
[    [email protected]] [0x1066] = 0x10843
[    [email protected]] [0x1059] = 0x100
[    [email protected]] [0x105f] = 0x80000
[    [email protected]] [0x105f] = 0x88001
[    [email protected]] [0x105f] = 0x80003
[    [email protected]] [0x104a] = 0x101
[    [email protected]] [0x1bb8] = 0x52
[    [email protected]] [0x1b62] = 0x2029
[    [email protected]] [0x1b97] = 0x112f
[    [email protected]] [0x1bae] = 0x464
[    [email protected]] [0x1b98] = 0x58
[    [email protected]] [0x1b99] = 0x108
[    [email protected]] [0x1b9a] = 0x58
[    [email protected]] [0x1ba4] = 0x204
[    [email protected]] [0x1ba3] = 0x1103
[    [email protected]] [0x1ba7] = 0x108
[    [email protected]] [0x1ba8] = 0xb0
[    [email protected]] [0x1b9f] = 0x8f0
[    [email protected]] [0x1ba0] = 0x9a0
[    [email protected]] [0x1b9b] = 0x1b8
[    [email protected]] [0x1b9c] = 0x898
[    [email protected]] [0x1b9d] = 0x0
[    [email protected]] [0x1b9e] = 0x4
[    [email protected]] [0x1ba1] = 0x0
[    [email protected]] [0x1ba2] = 0x4
[    [email protected]] [0x1ba6] = 0x14
[    [email protected]] [0x1baf] = 0x22f
[    [email protected]] [0x1ba9] = 0x58
[    [email protected]] [0x1baa] = 0x58
[    [email protected]] [0x1bab] = 0x0
[    [email protected]] [0x1bac] = 0x5
[    [email protected]] [0x1b94] = 0x204
[    [email protected]] [0x1b95] = 0x1103
[    [email protected]] [0x1b68] = 0x100
[    [email protected]] [0x1bba] = 0x11
[    [email protected]] [0x1b8d] = 0x5ffc
[    [email protected]] [0x1b8e] = 0x19
[    [email protected]] [0x1b81] = 0x207
[    [email protected]] [0x1b60] = 0x0
[    [email protected]] [0x1b6e] = 0x200
[    [email protected]] [0x1b58] = 0x0
[    [email protected]] [0x1bfc] = 0x1000
[    [email protected]] [0x1b7e] = 0x0
[    [email protected]] [0x1c0d] = 0x3102
[    [email protected]] [0x1c0e] = 0x54
[    [email protected]] [0x1b78] = 0x1
[    [email protected]] [0x1b79] = 0x1
[    [email protected]] [0x1b7a] = 0x1
[    [email protected]] [0x1b7b] = 0x1
[    [email protected]] [0x1b7c] = 0x1
[    [email protected]] [0x1b7d] = 0x1
[    [email protected]] [0x1b57] = 0x0
[    [email protected]] [0x1b80] = 0x1
[    [email protected]] tvoutc_setmode[397]
[    [email protected]] mode is: 7
[    [email protected]] config HPLL
[    [email protected]] config HPLL done
[    [email protected]] call aml_pmu_probe_init in
[    [email protected]] get property:                  use_pwm, value:0x00000001, dec:1
[    [email protected]] get property:              table_count, value:0x00000010, dec:6
[    [email protected]] meson_cs_dvfs_probe, table count:16, use_pwm:1, pwm controller2
[    [email protected]]  0, 00130009, 1010000
[    [email protected]]  1, 0012000a, 1050000
[    [email protected]]  2, 0011000b, 1070000
[    [email protected]]  3, 0010000c, 1090000
[    [email protected]]  4, 000f000d, 1110000
[    [email protected]]  5, 000e000e, 1130000
[    [email protected]]  6, 000d000f, 1150000
[    [email protected]]  7, 000c0010, 1170000
[    [email protected]]  8, 000b0011, 1190000
[    [email protected]]  9, 000a0012, 1210000
[    [email protected]] 10, 00090013, 1220000
[    [email protected]] 11, 00080014, 1240000
[    [email protected]] 12, 00070015, 1270000
[    [email protected]] 13, 00060016, 1280000
[    [email protected]] 14, 00050017, 1300000
[    [email protected]] 15, 00040018, 1320000
[    [email protected]] get pin for pwm——–
[    [email protected]] [DVFS]aml_dvfs_register_driver, driver meson-cs-dvfs regist su1
[    [email protected]] Advanced Linux Sound Architecture Driver Initialized.
[    [email protected]] Bluetooth: Core ver 2.16
[    [email protected]] NET: Registered protocol family 31
[    [email protected]] Bluetooth: HCI device and connection manager initialized
[    [email protected]] Bluetooth: HCI socket layer initialized
[    [email protected]] Bluetooth: L2CAP socket layer initialized
[    [email protected]] Bluetooth: SCO socket layer initialized
[    [email protected]] cfg80211: Calling CRDA to update world regulatory domain
[    [email protected]] Switching to clocksource Timer-E
[    [email protected]] Disable timerD
[    [email protected]] hdmitx: edid: edid ready
[    [email protected]] NET: Registered protocol family 2
[    [email protected]] TCP established hash table entries: 8192 (order: 4, 65536 byte)
[    [email protected]] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
[    [email protected]] TCP: Hash tables configured (established 8192 bind 8192)
[    [email protected]] TCP: reno registered
[    [email protected]] UDP hash table entries: 512 (order: 2, 16384 bytes)
[    [email protected]] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[    [email protected]] NET: Registered protocol family 1
[    [email protected]] Unpacking initramfs…
[    [email protected]] Freeing initrd memory: 2704K (c4008000 – c42ac000)
[    [email protected]] audit: initializing netlink socket (disabled)
[    [email protected]] type=2000 audit(1.410:1): initialized
[    [email protected]] bounce pool size: 64 pages
[    [email protected]] hdmitx: edid: edid ready
[    [email protected]] hdmitx: edid: 202 errors between two reading
[    [email protected]] VFS: Disk quotas dquot_6.5.2
[    [email protected]] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    [email protected]] fuse init (API version 7.22)
[    [email protected]] msgmni has been set to 1187
[    [email protected]] Block layer SCSI generic (bsg) driver version 0.4 loaded (majo)
[    [email protected]] io scheduler noop registered
[    [email protected]] io scheduler deadline registered
[    [email protected]] io scheduler cfq registered (default)
[    [email protected]] hdmitx: edid: check sum valid
[    [email protected]] hdmitx: edid: check sum valid
[    [email protected]] hdmitx: edid: blk0 raw data
[    [email protected]] 00ffffffffffff0034a996a20101010100170103808048780adaffa3584aa29
[    [email protected]] 17494b21080031404540614081800101010101010101023a80d072382d4010c
[    [email protected]] 4580ba882100001e023a801871382d40582c4500ba882100001e000000fc000
[    [email protected]] 616e61736f6e69632d54560a000000fd00173d0f440f000a20202020202001b
[    [email protected]]
[    [email protected]] hdmitx: edid: blk1 raw data
[    [email protected]] 020322f24d9f9014052021221304120316072309070168030c002000b8260f2
[    [email protected]] 004b011d80d0721c1620102c2580ba882100009e011d8018711c1620582c250
[    [email protected]] ba8821[    [email protected]] [drm] Initialized drm 1.1.0 20060810
[    [email protected]] loop: module loaded
[    [email protected]] tun: Universal TUN/TAP device driver, 1.6
[    [email protected]] tun: (C) 1999-2004 Max Krasnyansky <[email protected]>
[    [email protected]] PPP generic driver version 2.4.2
[    [email protected]] PPP BSD Compression module registered
[    [email protected]] PPP Deflate Compression module registered
[    [email protected]] PPP MPPE Compression module registered
[    [email protected]] NET: Registered protocol family 24
[    [email protected]] usbcore: registered new interface driver asix
[    [email protected]] usbcore: registered new interface driver ax88179_178a
[    [email protected]] usbcore: registered new interface driver cdc_ether
[    [email protected]] usbcore: registered new interface driver net1080
[    [email protected]] usbcore: registered new interface driver cdc_subset
[    [email protected]] usbcore: registered new interface driver zaurus
[    [email protected]] usbcore: registered new interface driver cdc_ncm
[    [email protected]] usbcore: registered new interface driver cdc_acm
[    [email protected]] cdc_acm: USB Abstract Control Model driver for USB modems and s
[    [email protected]] usbcore: registered new interface driver usb-storage
[    [email protected]] usbcore: registered new interface driver usbserial
[    [email protected]] usbcore: registered new interface driver option
[    [email protected]] usbserial: USB Serial support registered for GSM modem (1-port)
[    [email protected]] mousedev: PS/2 mouse device common for all mice
[    [email protected]] i2c /dev entries driver
[    [email protected]] usbcore: registered new interface driver uvcvideo
[    [email protected]] USB Video Class driver (1.1.1)
[    [email protected]] Bluetooth: HCI UART driver ver 2.2
[    [email protected]] Bluetooth: HCI H4 protocol initialized
[    [email protected]] usbcore: registered new interface driver usbhid
[    [email protected]] usbhid: USB HID core driver
[    [email protected]] zram: Created 1 device(s) …
[    [email protected]] ashmem: initialized
[    [email protected]] logger: created 256K log ‘log_main’
[    [email protected]] logger: created 256K log ‘log_events’
[    [email protected]] logger: created 256K log ‘log_radio’
[    [email protected]] logger: created 256K log ‘log_system’
[    [email protected]] vout_init_module
[    [email protected]] start init vout module
[    [email protected]] create  vout attribute ok
[    [email protected]] ge2d_init
[    [email protected]] ge2d_dev major:248
[    [email protected]] ge2d start monitor
[    [email protected]] osd_init
[    [email protected]] osd_probe, vinfo:c06a3b78
[    [email protected]] Frame buffer memory assigned at phy:0x87100000, vir:0xfb000000K
[    [email protected]] osd_probe, mydef_var:c09613f0, vinfo:c06a3b78
[    [email protected]] don’t find to display_size_default from mesonfb-dts
[    [email protected]] init fbdev bpp is :24
[    [email protected]] ge2d workqueue monitor start
00[    [email protected]] Frame buffer memory assigned at phy:0x88100000, vir:0xefe000K
[    [email protected]] osd_probe, mydef_var:c09613f0, vinfo:c06a3b78
[    [email protected]] —————clear framebuffer1 memory
009e011d00bc52d01e20b8285540ba882100001e662156aa51001e30
[    [email protected]] 468f3300ba88[    [email protected]] osd probe ok
[    [email protected]] osd_ext_init
[    [email protected]] vout2_init_module enter
[    [email protected]] amlvideo-000: V4L2 device registered as video10
[    [email protected]] ionvideo-000: V4L2 device registered as video13
[    [email protected]] Video Technology Magazine Ion Video Capture Board ver 1.0 succ.
[    [email protected]] keys===========================================
[    [email protected]] keys_devno=f400000
[    [email protected]] securitykey: device aml_keys created
[    [email protected]] amlkeys=0
[    [email protected]] platform_driver_register–aml_keys_driver——————–
[    [email protected]] set uart_ao pinmux use pinctrl subsystem
[    [email protected]] P_AO_RTI_PIN_MUX_REG:5861
[    [email protected]] start uart_ao_ttyS0:(irq = 122)
[    [email protected]] register uart_ao ok
[    [email protected]] start uart_a_ttyS1:(irq = 58)
[    [email protected]] register uart_a ok
[    [email protected]] start uart_d_ttyS4:(irq = 126)
[    [email protected]] register uart_d ok
[    [email protected]] dwc_otg: version 3.10a 12-MAY-2014
[    [email protected]] dwc_otg_driver_probe NOT match
[    [email protected]] usb1: type: 1, speed: 0, config: 0, dma: 0, id: 1, phy: f110840
2100001e000000000000000000000000000000000000000000ab
[    [email protected]]
[    [email protected]] hdmitx: edid: find IEEEOUT
[    [email protected]] hdmitx: video: get current mode: 1080i
[    [email protected]] hdmitx: system: already init VIC = 0  Now VIC = 5
[    [email protected]] set mode VIC 5 (cd0,cs0,pm1,vd0,1)
[    [email protected]] hdmitx: system: hw reset
[    [email protected]] HDMI: get brd phy data
[    [email protected]] hdmi phy setting
[    [email protected]] hdmitx: audio: SPDIFHDMI: get brd phy data
[    [email protected]] hdmi phy setting
[    [email protected]] hdmitx: system: set pll
[    [email protected]] hdmitx: system: param->VIC:5
[    [email protected]] mode is: 7
[    [email protected]] config HPLL
[    [email protected]] config HPLL done
[    [email protected]] hdmitx: system: fixed HDMI mode output
[    [email protected]] Sink is HDMI device
[    [email protected]] No sink attached
[    [email protected]] hdmitx: audio: audio channel num is 0
[    [email protected]] hdmitx: audio: SPDIFhdmitx: audio: current VIC: 5
[    [email protected]] hdmitx: audio: audio sample rate: 0
[    [email protected]] hdmitx: audio: reset audio N para
[    [email protected]] hdmitx: audio: PCM out to HDMI
[    [email protected]] hdmitx: audio: Time out: AIU_HDMI_CLK_DATA_CTRL
[    [email protected]] hdmitx: audio: i2s_to_spdif_flag:1
[    [email protected]] hdmitx: audio: Enable audio spdif to HDMI
[    [email protected]] hdmitx: cec: CEC not ready
[    [email protected]] USB (1) use clock source: XTAL input
[    [email protected]] Core Release: 2.94a
[    [email protected]] Setting default values for core params
[    [email protected]] curmode: 0, host_only: 1
[    [email protected]] ERROR::dwc_otg_set_param_host_perio_tx_fifo_size:5919: 500 inv.
[    [email protected]]
[    [email protected]] dwc_otg: probe of lm1 failed with error -22
[    [email protected]] usb0: type: 0, speed: 0, config: 0, dma: 0, id: 0, phy: f110840
[    [email protected]] Core Release: 2.94a
[    [email protected]] Setting default values for core params
[    [email protected]] curmode: 0, host_only: 0
[    [email protected]] ERROR::dwc_otg_set_param_host_perio_tx_fifo_size:5919: 500 inv.
[    [email protected]]
[    [email protected]] dwc_otg: probe of lm0 failed with error -22
[    [email protected]] boot_device_flag : 0
[    [email protected]] ===========================================amlnf_init:632,nandd
[    [email protected]] Nand PHY driver Version: 1.01.001.0005 (c) 2013 Amlogic Inc.
[    [email protected]] amlnf_phy_init : amlnf init flag 0
[    [email protected]] ######STS IRQ mode for nand driver
[    [email protected]] NAND device id: 2c 44 44 4b a9 0 0 0
[    [email protected]] detect NAND device: D revision NAND 4GiB MT29F32G08CBADA
[    [email protected]] onfi timing mode set failed: 0
[    [email protected]] bus_cycle=5, bus_timing=7,system=0.0ns,flash->T_REA =20,flash-5
[    [email protected]] detect RB pin here and por_cfg:3dd
[    [email protected]] detect without RB pin here
[    [email protected]] force none rb mode for rb irq
[    [email protected]] boot_device_flag = 0
[    [email protected]] NAND CKECK  : arg nbbt: arg_valid= 0, valid_blk_addr = 0, vali0
[    [email protected]] found NO arg : nbbt info
[    [email protected]] nand scan bbt failed
[    [email protected]] get device configs failed and ret:fffffff0
[    [email protected]] nandphy_init failed and ret=0xfffffff0
[    [email protected]] ethernet_driver probe!
[    [email protected]] Please config phy  interface.
[    [email protected]] Please config savepowermode.
[    [email protected]] Please config reset_pin_enable.
[    [email protected]] Please config reset_delay.
[    [email protected]] Please config reset_pin.
[    [email protected]] ethernetinit(dbg[c0964c80]=1)
[    [email protected]] ethernet base addr is f3610000
[    [email protected]] write mac add to:edef6908: 00 15 18 01 81 31 |...1|
[    [email protected]] libphy: AMLMAC MII Bus: probed
[    [email protected]] eth0: PHY ID 0007c0f1 at 1 IRQ -1 (0:01) active
[    [email protected]] Amlogic A/V streaming port init
[    [email protected]] init vdec memsource -1971322880->-1937768449
[    [email protected]] [tsync_pcr_init]init success.
[    [email protected]] amvideocap_init_module
[    [email protected]] regist mpeg12 codec profile
[    [email protected]] regist mpeg4 codec profile
[    [email protected]] amvdec_vc1 module init
[    [email protected]] regist vc1 codec profile
[    [email protected]] amvdec_h264 module init
[    [email protected]] regist h264 codec profile
[    [email protected]] regist mjpeg codec profile
[    [email protected]] amvdec_real module init
[    [email protected]] regist real codec profile
[    [email protected]] efuse===========================================
[    [email protected]] efuse: device efuse created
[    [email protected]] efuse——————————————–
[    [email protected]] SARADC Driver init.
[    [email protected]] __saradc_probe__
[    [email protected]] saradc calibration: ref_val = 515
[    [email protected]] saradc calibration: ref_nominal = 512
[    [email protected]] saradc calibration: coef = 4169
[    [email protected]] Remote Driver
[    [email protected]] Remote platform_data g_remote_base=f3100480
[    [email protected]] input: aml_keypad as /devices/platform/meson-remote/input/inpu0
[    [email protected]] Remote date_valye======0,status == 8915d00
[    [email protected]] remote config major:241
[    [email protected]] physical address:0xaea1c000
[    [email protected]] ADC Keypad Driver init.
[    [email protected]] ==kp_probe==
[    [email protected]] chan #4 used for ADC key
[    [email protected]] menu key(139) registed.
[    [email protected]] vol- key(114) registed.
[    [email protected]] vol+ key(115) registed.
[    [email protected]] back key(158) registed.
[    [email protected]] home key(102) registed.
[    [email protected]] ok key(232) registed.
[    [email protected]] input: adc_keypad as /devices/platform/adc_keypad.3/input/inpu1
[    [email protected]] adc keypad register input device completed.
[    [email protected]] adc keypad major:240
[    [email protected]] Meson KeyInput init
[    [email protected]] Key 116 registed.
[    [email protected]] input: key_input as /devices/platform/key_input.4/input/input2
[    [email protected]] Meson KeyInput register RTC interrupt
[    [email protected]] Meson KeyInput major=238
[    [email protected]] ==touch_ts_init==
[    [email protected]] ==ft5x0x_ts_init==
[    [email protected]] ==goodix_ts_init==
[    [email protected]] ==gsl_ts_init==
[    [email protected]] i2c-core: driver [gslx680] using legacy suspend method
[    [email protected]] i2c-core: driver [gslx680] using legacy resume method
[    [email protected]] VTL ct36x TouchScreen driver, <[email protected]>.
[    [email protected]] i2c-core: driver [ct36x] using legacy suspend method
[    [email protected]] i2c-core: driver [ct36x] using legacy resume method
[    [email protected]] VTL ct36x TouchScreen driver End.
[    [email protected]] ==gsl_ts_init==
[    [email protected]] ret=0
[    [email protected]] i2c-core: driver [lis3dh_acc] using legacy suspend method
[    [email protected]] i2c-core: driver [lis3dh_acc] using legacy resume method
[    [email protected]] i2c-core: driver [bma222] using legacy suspend method
[    [email protected]] i2c-core: driver [bma222] using legacy resume method
[    [email protected]] i2c-core: driver [dmard06] using legacy suspend method
[    [email protected]] i2c-core: driver [dmard06] using legacy resume method
[    [email protected]] lsm303d driver: init
[    [email protected]] i2c-core: driver [dmard10] using legacy suspend method
[    [email protected]] i2c-core: driver [dmard10] using legacy resume method
[    [email protected]] stk831x_init
[    [email protected]] mxc622x accelerometer driver: init
[    [email protected]] i2c-core: driver [mxc622x] using legacy suspend method
[    [email protected]] i2c-core: driver [mxc622x] using legacy resume method
[    [email protected]] cm3217 v.1.0.0.1
[    [email protected]] i2c-core: driver [elan_epl6814] using legacy suspend method
[    [email protected]] i2c-core: driver [elan_epl6814] using legacy resume method
[    [email protected]] i2c-core: driver [LTR501] using legacy suspend method
[    [email protected]] i2c-core: driver [LTR501] using legacy resume method
[    [email protected]] spi_nor_init
[    3.50[email protected]] amlogic_spi_nor_probe:
[    [email protected]] amlogic_spi->state_name:default
[    [email protected]] AMLOGIC_SPI_NOR cc000000.spi: master is unqueued, this is deprd
[    [email protected]] spi_nor_probe
[    [email protected]] check_storage_device : spi boot_device_flag : 0
[    [email protected]] spi_nor apollospi:32766: mx25l3205d (4096 Kbytes)
[    [email protected]] Creating 2 MTD partitions on “apollospi:32766”:
[    [email protected]] 0x000000000000-0x000000060000 : “bootloader”
[    [email protected]] 0x000000080000-0x000000088000 : “ubootenv”
[    [email protected]] amlogic_spi_nor_probe over
[    [email protected]] mmc driver version: 1.05, 2014-05-14: sdhc regular tuning suppt
[    [email protected]] host->base f1108c20
[    [email protected]] pdata->caps 7
[    [email protected]] pdata->caps2 0
[    [email protected]] get property:                     port, value:0x00000001
[    [email protected]] get property:                ocr_avail, value:0x00200000
[    [email protected]] get property:                    f_min, value:0x000493e0
[    [email protected]] get property:                    f_max, value:0x02faf080
[    [email protected]] get property:                  f_max_w, value:0x02faf080
[    [email protected]] get property:             max_req_size, value:0x00020000
[    [email protected]] get property:                   irq_in, value:0x00000005
[    [email protected]] get property:                  irq_out, value:0x00000006
[    [email protected]] get property:              power_level, value:0x00000000
[    [email protected]] get property:                  gpio_cd, str:CARD_6
[    [email protected]] get property:               gpio_power, str:CARD_8
[    [email protected]] get property:                  pinname, str:sd
[    [email protected]] get property:                card_type, value:0x00000005
[    [email protected]] get property:                gpio_dat3, str:CARD_3
[    [email protected]] normal card in
[    [email protected]] sd: mmc_rescan_try_freq: trying to init card at 400000 Hz
[    [email protected]] sd: new high speed SDHC card at address 59b4, clock 50000000, h
[    [email protected]] [aml_sdio_probe] aml_sdio_probe() success!
[    [email protected]] [dsp]DSP start addr 0xc5000000
[    [email protected]] mmcblk0: sd:59b4 SD    14.7 GiB
[    [email protected]] [dsp]register dsp to char divece(232)
[    [email protected]]  mmcblk0: p1 p2
[    [email protected]] aml_rtc_init…
[    [email protected]] aml_rtc rtc.0: rtc core: registered aml_rtc as rtc0
[    [email protected]] [AXP]call axp_battery_init, ret = 0
[    [email protected]] platform reg-20-cs-ldo2: Driver reg-20-cs-ldo2 requests probe l
[    [email protected]] platform reg-20-cs-ldo3: Driver reg-20-cs-ldo3 requests probe l
[    [email protected]] platform reg-20-cs-ldo4: Driver reg-20-cs-ldo4 requests probe l
[    [email protected]] platform reg-20-cs-buck2: Driver reg-20-cs-buck2 requests probl
[    [email protected]] platform reg-20-cs-buck3: Driver reg-20-cs-buck3 requests probl
[    [email protected]] platform reg-20-cs-ldoio0: Driver reg-20-cs-ldoio0 requests prl
[    [email protected]] [AML_PMU]call aml_pmu_battery_init, ret = 0
[    [email protected]] [RN5T618]call rn5t618_battery_init, ret = 0
[    [email protected]] wifi_power power_gpio is 24
[    [email protected]] Error: Didn’t get power valid value — wifi_power_probe 320
[    [email protected]] wifi_dev_probe : there is no wifi_power_on_pin2 setup in DTS f!
[    [email protected]] amlogic rfkill init
[    [email protected]] UMP: UMP device driver  loaded
[    [email protected]] usbcore: registered new interface driver snd-usb-audio
[    [email protected]] enter dummy_codec_audio_probe
[    [email protected]] soc-audio soc-audio: ASoC: machine AML-DUMMY-CODEC should use )
[    [email protected]] rtd ed875810
[    [email protected]] cpu_dai eeae7600
[    [email protected]] codec_dai eeae7500
[    [email protected]] aml-pcm 0:playback preallocate_dma_buffer: area=efd72000, addr2
[    [email protected]] iec958 0: preallocate dma buffer start=eff01000, size=80000
[    [email protected]] aml-pcm 1:capture preallocate_dma_buffer: area=efd94000, addr=6
[    [email protected]] soc-audio soc-audio:  dummy_codec <-> aml-dai0 mapping ok
[    [email protected]] =dummy_codec_device_init==,dummy_codec_audio init done
[    [email protected]] GACT probability NOT on
[    [email protected]] Mirror/redirect action on
[    [email protected]] u32 classifier
[    [email protected]]     Actions configured
[    [email protected]] Netfilter messages via NETLINK v0.30.
[    [email protected]] nf_conntrack version 0.5.0 (13855 buckets, 55420 max)
[    [email protected]] ctnetlink v0.93: registering with nfnetlink.
[    [email protected]] NF_TPROXY: Transparent proxy support initialized, version 4.1.0
[    [email protected]] NF_TPROXY: Copyright (c) 2006-2007 BalaBit IT Ltd.
[    [email protected]] xt_time: kernel timezone is -0000
[    [email protected]] ip_tables: (C) 2000-2006 Netfilter Core Team
[    [email protected]] arp_tables: (C) 2002 David S. Miller
[    [email protected]] TCP: cubic registered
[    [email protected]] NET: Registered protocol family 10
[    [email protected]] mip6: Mobile IPv6
[    [email protected]] ip6_tables: (C) 2000-2006 Netfilter Core Team
[    [email protected]] sit: IPv6 over IPv4 tunneling driver
[    [email protected]] NET: Registered protocol family 17
[    [email protected]] NET: Registered protocol family 15
[    [email protected]] Bridge firewalling registered
[    [email protected]] Bluetooth: RFCOMM TTY layer initialized
[    [email protected]] Bluetooth: RFCOMM socket layer initialized
[    [email protected]] Bluetooth: RFCOMM ver 1.11
[    [email protected]] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[    [email protected]] Bluetooth: BNEP filters: protocol multicast
[    4.5[email protected]] Bluetooth: BNEP socket layer initialized
[    [email protected]] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[    [email protected]] Bluetooth: HIDP socket layer initialized
[    [email protected]] NET: Registered protocol family 35
[    [email protected]] VFP support v0.3: implementor 41 architecture 3 part 30 varian4
[    [email protected]] Registering SWP/SWPB emulation handler
[    [email protected]] enter meson_pm_init
[    [email protected]] enter meson_pm_probe!
[    [email protected]] meson_pm_probe done !
[    [email protected]] platform reg-20-cs-ldo2: Driver reg-20-cs-ldo2 requests probe l
[    [email protected]] platform reg-20-cs-ldo3: Driver reg-20-cs-ldo3 requests probe l
[    [email protected]] platform reg-20-cs-ldo4: Driver reg-20-cs-ldo4 requests probe l
[    [email protected]] platform reg-20-cs-buck2: Driver reg-20-cs-buck2 requests probl
[    [email protected]] platform reg-20-cs-buck3: Driver reg-20-cs-buck3 requests probl
[    [email protected]] platform reg-20-cs-ldoio0: Driver reg-20-cs-ldoio0 requests prl
[    [email protected]] ERROR::usb_gadget_probe_driver:1372: usb_gadget_register_driveV
[    [email protected]]
[    [email protected]] init: failed to probe driver -19
[    [email protected]] aml_rtc rtc.0: setting system clock to 2014-08-24 04:39:59 UTC)
[    [email protected]] ### dt-test ### No testcase data in device tree; not running ts
[    [email protected]] meson_cpufreq: no voltage_control prop
[    [email protected]] voltage_control = 0
[    [email protected]] platform reg-20-cs-ldo2: Driver reg-20-cs-ldo2 requests probe l
[    [email protected]] <<-GTP-INFO->> GTP driver installing…
[    [email protected]] platform reg-20-cs-ldo3: Driver reg-20-cs-ldo3 requests probe l
[    [email protected]] platform reg-20-cs-ldo4: Driver reg-20-cs-ldo4 requests probe l
[    [email protected]] platform reg-20-cs-buck2: Driver reg-20-cs-buck2 requests probl
[    [email protected]] platform reg-20-cs-buck3: Driver reg-20-cs-buck3 requests probl
[    [email protected]] platform reg-20-cs-ldoio0: Driver reg-20-cs-ldoio0 requests prl
[    [email protected]] hdmitx: cec: CEC init
[    [email protected]] hdmitx: cec: CEC task process
[    [email protected]] input: cec_input as /devices/virtual/input/input3
[    [email protected]] hdmitx: cec: hdmitx_device->cec_init_ready:0x1
[    [email protected]] I[    [email protected]] Changing uart_ao_ttyS0: baud from 0 to 115200
[    [email protected]] Freeing unused kernel memory: 204K (c08f0000 – c0923000)
[    [email protected]] aml_nftl_dev: module license ‘Proprietary’ taints kernel.
[    [email protected]] Disabling lock debugging due to kernel taint
[    [email protected]] boot_device_flag : 0
[    [email protected]] register_ntd_blktrans start
[    [email protected]] init_aml_nftl end
[    [email protected]] kjournald starting.  Commit interval 5 seconds
[    [email protected]] EXT3-fs (mmcblk0p2): using internal journal
[    [email protected]] EXT3-fs (mmcblk0p2): mounted filesystem with ordered data mode
[    [email protected]] ————[ cut here ]————
[    [email protected]] WARNING: at kernel/smp.c:382 smp_call_function_many+0x84/0x2c4)
[    [email protected]] Modules linked in: aml_nftl_dev(P)
[    [email protected]] CPU: 0 PID: 4 Comm: kworker/0:0 Tainted: P             3.10.331
[    [email protected]] Workqueue: events cs_dbs_timer
[    [email protected]] [<c0014c3c>] (unwind_backtrace+0x0/0xf8) from [<c0011d14>] (sh)
[    [email protected]] [<c0011d14>] (show_stack+0x10/0x14) from [<c002a2dc>] (warn_sl)
[    [email protected]] [<c002a2dc>] (warn_slowpath_common+0x4c/0x6c) from [<c002a318>)
[    [email protected]] [<c002a318>] (warn_slowpath_null+0x1c/0x24) from [<c0070c88>] )
[    [email protected]] [<c0070c88>] (smp_call_function_many+0x84/0x2c4) from [<c00710)
[    [email protected]] [<c0071054>] (smp_call_function+0x34/0x64) from [<c001b69c>] ()
[    [email protected]] [<c001b69c>] (clk_set_rate_a9+0x9c/0xec) from [<c001baa4>] (me)
[    [email protected]] [<c001baa4>] (meson_clk_set_rate+0xa0/0x184) from [<c001bc2c>])
[    [email protected]] [<c001bc2c>] (clk_set_rate+0xa4/0xc0) from [<c03d01d0>] (meson)
[    [email protected]] [<c03d01d0>] (meson_cpufreq_target_locked.isra.0+0xe0/0x1c8) f)
[    [email protected]] [<c03d02dc>] (meson_cpufreq_target+0x24/0x3c) from [<c03347f0>)
[    [email protected]] [<c03347f0>] (__cpufreq_driver_target+0x50/0x74) from [<c033b8)
[    [email protected]] [<c033b854>] (dbs_check_cpu+0x254/0x268) from [<c0338634>] (cs)
[    [email protected]] [<c0338634>] (cs_dbs_timer+0x98/0xc8) from [<c0040830>] (proce)
[    [email protected]] [<c0040830>] (process_one_work+0x20c/0x340) from [<c0040e54>] )
[    [email protected]] [<c0040e54>] (worker_thread+0x22c/0x37c) from [<c00470a8>] (kt)
[    [email protected]] [<c00470a8>] (kthread+0xa0/0xac) from [<c000e258>] (ret_from_f)
[    [email protected]] —[ end trace 529d33b6db914909 ]—
[    [email protected]] ————[ cut here ]————
[    [email protected]] WARNING: at kernel/smp.c:244 smp_call_function_single+0x98/0x1)
[    [email protected]] Modules linked in: aml_nftl_dev(P)
[    [email protected]] CPU: 0 PID: 4 Comm: kworker/0:0 Tainted: P        W    3.10.331
[    [email protected]] Workqueue: events cs_dbs_timer
[    [email protected]] [<c0014c3c>] (unwind_backtrace+0x0/0xf8) from [<c0011d14>] (sh)
[    [email protected]] [<c0011d14>] (show_stack+0x10/0x14) from [<c002a2dc>] (warn_sl)
[    [email protected]] [<c002a2dc>] (warn_slowpath_common+0x4c/0x6c) from [<c002a318>)
[    [email protected]] [<c002a318>] (warn_slowpath_null+0x1c/0x24) from [<c0070adc>] )
[    [email protected]] [<c0070adc>] (smp_call_function_single+0x98/0x1c0) from [<c007)
[    [email protected]] [<c0071054>] (smp_call_function+0x34/0x64) from [<c001b69c>] ()
[    [email protected]] [<c001b69c>] (clk_set_rate_a9+0x9c/0xec) from [<c001baa4>] (me)
[    [email protected]] [<c001baa4>] (meson_clk_set_rate+0xa0/0x184) from [<c001bc2c>])
[    [email protected]] [<c001bc2c>] (clk_set_rate+0xa4/0xc0) from [<c03d01d0>] (meson)
[    [email protected]] [<c03d01d0>] (meson_cpufreq_target_locked.isra.0+0xe0/0x1c8) f)
[    [email protected]] [<c03d02dc>] (meson_cpufreq_target+0x24/0x3c) from [<c03347f0>)
[    [email protected]] [<c03347f0>] (__cpufreq_driver_target+0x50/0x74) from [<c033b8)
[    [email protected]] [<c033b854>] (dbs_check_cpu+0x254/0x268) from [<c0338634>] (cs)
[    [email protected]] [<c0338634>] (cs_dbs_timer+0x98/0xc8) from [<c0040830>] (proce)
[    [email protected]] [<c0040830>] (process_one_work+0x20c/0x340) from [<c0040e54>] )
[    [email protected]] [<c0040e54>] (worker_thread+0x22c/0x37c) from [<c00470a8>] (kt)
[    [email protected]] [<c00470a8>] (kthread+0xa0/0xac) from [<c000e258>] (ret_from_f)
[    [email protected]] —[ end trace 529d33b6db91490a ]—
[    [email protected]] mail version=-1
[    [email protected]] Mali pp1 MMU register mapped at f8064000…
[    [email protected]] Mali pp2 MMU register mapped at f8065000…
[    [email protected]] mali_meson_poweron: Interrupt received.
[    [email protected]] mail version=1
[    [email protected]] mali_meson_poweron: Interrupt received.
[    [email protected]] mail version=1
[    [email protected]] platform reg-20-cs-ldo2: Driver reg-20-cs-ldo2 requests probe l
[    [email protected]] Mali: Mali device driver loaded
[    [email protected]] platform reg-20-cs-ldo3: Driver reg-20-cs-ldo3 requests probe l
[    [email protected]] platform reg-20-cs-ldo4: Driver reg-20-cs-ldo4 requests probe l
[    [email protected]] platform reg-20-cs-buck2: Driver reg-20-cs-buck2 requests probl
[    [email protected]] platform reg-20-cs-buck3: Driver reg-20-cs-buck3 requests probl
[    [email protected]] platform reg-20-cs-ldoio0: Driver reg-20-cs-ldoio0 requests prl
[    [email protected]] Mali DRM initialize, driver name: mali_drm, version 2.1
[    [email protected]] [drm] Initialized mali_drm 2.1.1 20140306 on minor 0
[    [email protected]] Mali DRM initialize, driver name: mali_drm, version 2.1
[    [email protected]] platform reg-20-cs-ldo2: Driver reg-20-cs-ldo2 requests probe l
[    [email protected]] platform reg-20-cs-ldo3: Driver reg-20-cs-ldo3 requests probe l
[    [email protected]] platform reg-20-cs-ldo4: Driver reg-20-cs-ldo4 requests probe l
[    [email protected]] platform reg-20-cs-buck2: Driver reg-20-cs-buck2 requests probl
[    [email protected]] platform reg-20-cs-buck3: Driver reg-20-cs-buck3 requests probl
[    [email protected]] platform reg-20-cs-ldoio0: Driver reg-20-cs-ldoio0 requests prl
[    [email protected]] [drm] Initialized mali_drm 2.1.1 20140306 on minor 1
[    [email protected]] platform reg-20-cs-ldo2: Driver reg-20-cs-ldo2 requests probe l
[    [email protected]] platform reg-20-cs-ldo3: Driver reg-20-cs-ldo3 requests probe l
[    [email protected]] platform reg-20-cs-ldo4: Driver reg-20-cs-ldo4 requests probe l
[    [email protected]] platform reg-20-cs-buck2: Driver reg-20-cs-buck2 requests probl
[    [email protected]] platform reg-20-cs-buck3: Driver reg-20-cs-buck3 requests probl
[    [email protected]] platform reg-20-cs-ldoio0: Driver reg-20-cs-ldoio0 requests prl
Starting logging: OK
Populating /dev using udev: [    [email protected]] udevd[1696]: starting version 1.5.3
done
Initializing random number generator… done.
Starting system message bus: done
Starting network…
ip: RTNETLINK answers: File exists
[    [email protected]] netdev_open
[    [email protected]] Ethernet reset
[    [email protected]] NET MDA descpter start addr=edbb9000
[    [email protected]] phy_interface = 1
[    [email protected]] aml_phy_init:  trying to attach to 0:01
[    [email protected]] –1–write mac add to:edef6908: 00 15 18 01 81 31 |...1|
[    [email protected]] –2–write mac add to:edef6908: 00 15 18 01 81 31 |...1|
[    [email protected]] write mac add to:edef6908: 00 15 18 01 81 31 |...1|
[    [email protected]] Current DMA mode=0, set mode=621c100
[    [email protected]] ether leave promiscuous mode
[    [email protected]] ether leave all muticast mode
[    [email protected]] changed the Multicast,mcount=1
[    [email protected]] add mac address:33:33:00:00:00:01,bit=1
[    [email protected]] set hash low=2,high=0
[    [email protected]] changed the filter setting to :4
[    [email protected]] changed the Multicast,mcount=1
[    [email protected]] add mac address:33:33:00:00:00:01,bit=1
[    [email protected]] changed the Multicast,mcount=2
[    [email protected]] add mac address:33:33:00:00:00:01,bit=1
[    [email protected]] add mac address:01:00:5e:00:00:01,bit=32
[    [email protected]] set hash low=2,high=1
[    [email protected]] changed the filter setting to :4
[    [email protected]] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
udhcpc (v1.22.1) started
[    [email protected]] changed the Multicast,mcount=2
[    [email protected]] add mac address:33:33:00:00:00:01,bit=1
[    [email protected]] add mac address:01:00:5e:00:00:01,bit=32
[    [email protected]] changed the Multicast,mcount=2
[    [email protected]] add mac address:33:33:00:00:00:01,bit=1
[    [email protected]] add mac address:01:00:5e:00:00:01,bit=32
Sending discover…
[    [email protected]] ionvideo open
[    [email protected]] ionvideo release
[    [email protected]] amlvideo openamlvideo close[    [email protected]] libphy: 0:01 – Linl
[    [email protected]] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[    [email protected]] changed the Multicast,mcount=3
[    [email protected]] add mac address:33:33:00:00:00:01,bit=1
[    [email protected]] add mac address:01:00:5e:00:00:01,bit=32
[    [email protected]] add mac address:33:33:ff:01:81:31,bit=0
[    [email protected]] set hash low=3,high=1
[    [email protected]] changed the filter setting to :4
Sending discover…
Sending select for 192.168.0.102…
Lease of 192.168.0.102 obtained, lease time 7200
[   [email protected]] changed the Multicast,mcount=3
[   [email protected]] add mac address:33:33:00:00:00:01,bit=1
[   [email protected]] add mac address:01:00:5e:00:00:01,bit=32
[   [email protected]] add mac address:33:33:ff:01:81:31,bit=0
deleting routers
adding dns 192.168.0.1
Starting inetd: OK
Starting supplicant…
[   [email protected]] rtl8192cu driver version=v4.0.2_9000.20130911
[   [email protected]] build time: Aug  3 2014 01:33:35
[   [email protected]] usbcore: registered new interface driver rtl8192cu
[   [email protected]] Set usb wifi power up!
Getting initial time via ntp.
Starting network time protocol daemon: ntpd.
[   [email protected]] tvmode set to 720p
[   [email protected]]
[   [email protected]] TV mode 720p selected.
[   [email protected]] [0x1b7e] = 0xff
[   [email protected]] [0x105f] = 0x0
[   [email protected]] [0x109d] = 0x814d3928
[   [email protected]] [0x109e] = 0x6b425012
[   [email protected]] [0x109f] = 0x110
[   [email protected]] [0x109c] = 0x1043e
[   [email protected]] [0x1066] = 0x10843
[   [email protected]] [0x1059] = 0x100
[   [email protected]] [0x105f] = 0x80000
[   [email protected]] [0x105f] = 0x88001
[   [email protected]] [0x105f] = 0x80003
[   [email protected]] [0x104a] = 0x101
[   [email protected]] [0x107f] = 0x8c0000c3
[   [email protected]] [0x1bb8] = 0x52
[   [email protected]] [0x1b62] = 0x2029
[   [email protected]] [0x1b8d] = 0x4040
[   [email protected]] [0x1b8e] = 0x19
[   [email protected]] [0x1b94] = 0x288
[   [email protected]] [0x1b95] = 0xc87
[   [email protected]] [0x1b97] = 0xce3
[   [email protected]] [0x1b98] = 0x50
[   [email protected]] [0x1b99] = 0xf0
[   [email protected]] [0x1b9a] = 0x50
[   [email protected]] [0x1b9b] = 0x2b0
[   [email protected]] [0x1b9c] = 0xcb0
[   [email protected]] [0x1b9d] = 0x4
[   [email protected]] [0x1b9e] = 0x8
[   [email protected]] [0x1ba1] = 0x4
[   [email protected]] [0x1ba2] = 0x8
[   [email protected]] [0x1ba4] = 0x288
[   [email protected]] [0x1ba3] = 0xc87
[   [email protected]] [0x1ba6] = 0x1d
[   [email protected]] [0x1baf] = 0x2ec
[   [email protected]] [0x1ba7] = 0x100
[   [email protected]] [0x1ba8] = 0xa8
[   [email protected]] [0x1ba9] = 0xa8
[   [email protected]] [0x1baa] = 0x100
[   [email protected]] [0x1bab] = 0x0
[   [email protected]] [0x1bac] = 0x5
[   [email protected]] [0x1bae] = 0x2ed
[   [email protected]] [0x1b68] = 0x100
[   [email protected]] [0x1b60] = 0x0
[   [email protected]] [0x1b6e] = 0x200
[   [email protected]] [0x1b58] = 0x0
[   [email protected]] [0x1b7e] = 0x0
[   [email protected]] [0x1b64] = 0x9061
[   [email protected]] [0x1b65] = 0xa061
[   [email protected]] [0x1b66] = 0xb061
[   [email protected]] [0x1b78] = 0x1
[   [email protected]] [0x1b79] = 0x1
[   [email protected]] [0x1b7a] = 0x1
[   [email protected]] [0x1b7b] = 0x1
[   [email protected]] [0x1b7c] = 0x1
[   [email protected]] [0x1b7d] = 0x1
[   [email protected]] [0x271a] = 0xa
[   [email protected]] [0x1bfc] = 0x1000
[   [email protected]] [0x1c0d] = 0x3102
[   [email protected]] [0x1c0e] = 0x54
[   [email protected]] [0x1b80] = 0x1
[   [email protected]] [0x1b57] = 0x0
[   [email protected]] tvoutc_setmode[397]
[   [email protected]] mode is: 6
[   [email protected]] config HPLL
[   [email protected]] config HPLL done
[   [email protected]] new mode 720p
[   [email protected]]  set ok
[   [email protected]] hdmitx: video: get current mode: 720p
[   [email protected]] hdmitx: system: already init VIC = 0  Now VIC = 4
[   [email protected]] set mode VIC 4 (cd0,cs0,pm1,vd0,1)
[   [email protected]] hdmitx: system: hw reset
[   [email protected]] HDMI: get brd phy data
[   [email protected]] hdmi phy setting

[   [email protected]] hdmitx: audio: SPDIFHDMI: get brd phy data
[   [email protected]] hdmi phy setting
[   [email protected]] hdmitx: system: set pll
[   [email protected]] hdmitx: system: param->VIC:4
[   [email protected]] mode is: 6
[   [email protected]] config HPLL
[   [email protected]] config HPLL done
[   [email protected]] hdmitx: system: fixed HDMI mode output
[   [email protected]] Sink is HDMI device
[   [email protected]] No sink attached
[   [email protected]] set_vout_mode[156]
[   [email protected]] create_disp_get_ump_secure_id******0
[   [email protected]] create_disp_get_ump_secure_id******1

If you want a useable desktop image, you can install Lubuntu in the Ubuntu 14.04 core image provided by the company. A ready-to-use Ubuntu 14.04 firmware with video decoding will be made available a little later.

I haven’t tried the current image due to time contraints, and because it does not support hardware video decoding yet. But here’s what you’d need to do to install Lubuntu 14.04:

  1. Download Ubuntu 14.04 for Wetek Play
  2. Flash the image to a micro SD card with dd or Win32DiskImager as shown above, using 8GB micro SD at least, and preferably Class 10 for better performance
  3. Insert the micro SD card into Wetek Play, connect the serial console, and power the device.
  4. In the serial console (connected via minicom, Hyterminal, putty,….), install Lubuntu as follows:
  5. After reboot, you should be able to access the LXDE desktop environment.
Share this:

Support CNX Software! Donate via cryptocurrencies or become a Patron on Patreon

ROCK Pi 4C Plus
Subscribe
Notify of
guest
The comment form collects your name, email and content to allow us keep track of the comments placed on the website. Please read and accept our website Terms and Privacy Policy to post a comment.
24 Comments
oldest
newest
ovi
ovi
8 years ago

Jean-Luc our next project will be building Openelec image for the quadcore Amlogic s802h offcourse with full dvb/s2/c/t2 support.

roel
roel
8 years ago

Hello,

this is the first time I see an linux image that boots from sd-card for an amlogic chip. Is this a feature of wetek or can all amlogic soc’s do that (similar to allwinner). If yes, does somebody know how to do it on a M3 soc.

Tsanten
Tsanten
8 years ago

@ovi

When this will be on market?

m][sko
8 years ago

roel :
Hello,
this is the first time I see an linux image that boots from sd-card for an amlogic chip. Is this a feature of wetek or can all amlogic soc’s do that (similar to allwinner). If yes, does somebody know how to do it on a M3 soc.

it is common stuff
look at uboot howto-s
you can simple boot kernel from tftp, sdcard,…

ovi
ovi
8 years ago

Jean-luc will provide you an sample when its finished nearly ready to launch . Just make sure you will have the possibility to test out 4K content 🙂 , (btw thank you for accepting me in your linkedin list) because we aim mainly for this stb to be able to easy play 4k content via Sat/Cable or Terrestrial . Main focus and target: 1) playback of all video content flawless from any sources 2) playback of all audio content flawless from any sources 3) possibility of playback of all kind of 4k content from any sources 4) possibility of using… Read more »

m][sko
8 years ago

@ovi
I hope that you do some stuff open (kernel and other usefull patches)
Everybody would like to see publicly maintained amlogic kernel and other stuff.

sam
sam
8 years ago

@ovi

Can you add USB DVB tuner support in your Wetek Openelec image pls?

ovi
ovi
8 years ago

@Sam I have no WETEK stuff , and i have nothing to do with WETEK company. Our box will be built by another china company can’t tell you too much yet. @m][sko Everything will be public more or less (depending on the NDA’s from Amlogic) At this point we are roaming on waiting on s812H Soc , which providing gigabit network and few more stuff or go directly with s802H either way the firmware will be based on Openelec and will have all Openelec stuff included + some extras. At this point we received partial linux sources based on armhf… Read more »

m][sko
8 years ago

@ovi
You have armhf buildroot from amlogic or your hw supplier?
unbelievable 🙂
I hope that amlogic publish that on http://openlinux.amlogic.com/

m][sko
8 years ago

btw
It looks like amlogic release new buildroot kernel and other stuff
http://openlinux.amlogic.com:8000/download/ARM

Gennaro
Gennaro
8 years ago

—BEGIN QUOTE—
For some reason all keyboard keys are repeated, so “ls -l” actually looks like “llss –ll”, but it works anyway. Pressing the Tab key may get rid off the duplicate characters.
—END QUOTE—

Did you try to turn off “local echo” in your terminal emulator?
It is one of the basic parameters, after serial line discipline (baud rate, handshaking, start/stop bits…).

GC

m][sko
8 years ago

We get nice present from Amlogic
amlogic release armhf mali userspace drivers
r4p0-01
mali400/450 x and fb versions

jumperout
jumperout
8 years ago


Why does everyone reference to 802H as if it is another chipset? It is just 802, with the software difference of providing the proper licensed bin files for ac3 and dts. If you flash the firmware of the k200 devices that claim 802 and 802H you will notice they are compatible. You can confirm with AML, the only worry should be the differentiation of the RAM sizes and wifi modules which renders them incompatible but there is no such thing of a physical 802H chipset, only SDK differences on release to the company.

Tsanten
Tsanten
8 years ago


Thank You I’m waiting for a quad core solution like this with 2 dvb-s2.

m][sko
8 years ago


But you still can enable it in software and SOC manufacturer sell 2 SDKs for 1 SOC.
Amlogic has some firmwares kick ups in kernel, then enable specific codec in VPU.
But I think that if you use HDMI pass-thru there should be no problem.
except if amlogic made some filter in hdmi hw

ovi
ovi
8 years ago

Looks like amlogi will show at IBC Amsterdam their s812 SoC.
Btw Jean Luc are you going to IBC Amsterdam 12 – 16 september?

m][sko
8 years ago

@ovi
I am not sure if Amlogic but Geniatech was last year.
They presented ATV400 nice small box.
btw I don’t see amlogic on IBC Exhibitor List.

jumperout
jumperout
8 years ago

@Jean-Luc Aufranc (CNXSoft) Correct, this is the only difference – the device builds are symbolized and initiated with board specific exports in their 4.4.x sources which details each firmware variation. These are ONLY small changes and nothing to do with CPU detailing. All k200 devices are the same and compatible with the same firmware if identical hardware props and can be flashed without issues…..what differs, is only the SDK as factories release either with or without dts+ac3. Lately there has been a lot of cloning going on from the top factories, so there has been a board change in which… Read more »

eldon
eldon
8 years ago

hi,

that linux mx stuff is quite interesting.

however i was wondering how you can tell that hw video decoding is actually used, in xbmc or with any other player.

Luigi Capriotti
Luigi Capriotti
2 years ago

these two links for the disk images are broken; any chance to have backup links?

Weller PCB manufacturer