Jump to content

Armbian for Amlogic S805 and S802/S812


masteripper

Recommended Posts

1. Show the printenv output.

2. Judging by the log u-boot you have not activated multiload, so there are no attempts to run the script s805_autoscript.

3. What you copied from the firmware is not a DTB file. And you can't use it directly.

Link to comment
Share on other sites

this is my printenv:

Spoiler

m8_k200_v1#printenv
720poutputheight=691
720poutputwidth=1229
720poutputx=25
720poutputy=14
aml_dt=m8_k200_2gsdhc
baudrate=115200
bootargs=init=/init console=ttyS0,115200n8 no_console_suspend storage=4 cvbsdrv=0 vdaccfg=0xa007 logo=osd1,loaded,0x15100000,576cvbs,full hdmimode=720p50hz cvbsmode=576cvbs androidboot.firstboot=0 hdmitx=
bootcmd=run storeboot
bootdelay=1
bootfile=boot.img
bootm_low=0x00000000
bootm_size=0x80000000
bootpath=u-boot.bin
bootsize=100000
bootstart=0
bootup_1080_offset=0x13000280
bootup_1080_size=0x5eec7a
bootup_720_offset=0x135eef00
bootup_720_size=0x2a3036
bootup_offset=0x135eef00
bootup_size=0x2a3036
chipname=8726m8
console=ttyS0,115200n8
cvbs_drv=0
cvbsmode=576cvbs
digitaudiooutput=PCM
disp.fromleft=true
display_bpp=24
display_color_bg=0
display_color_fg=0xffff
display_color_format_index=24
display_height=576
display_layer=osd2
display_width=720
ethact=Meson_Ethernet
ethaddr=c4:4e:ac:08:61:75
fb_addr=0x15100000
fb_height=720
fb_width=1280
firstboot=0
gatewayip=10.18.9.1
get_dt=checkhw
has.accelerometer=false
hdmimode=720p50hz
hostname=arm_m8
initargs=init=/init console=ttyS0,115200n8 no_console_suspend storage=4
initrd_high=60000000
ipaddr=10.18.9.97
loadaddr=0x12000000
loadaddr_logo=0x13000000
mmcargs=setenv bootargs console=${console} boardname=m8_board
netmask=255.255.255.0
normalsize=400000
normalstart=1000000
outputmode=576cvbs
p0path=uImage
p0size=400000
p0start=1000000
p1path=android.rootfs
p1size=8000000
p1start=1400000
partnum=2
preboot=if itest ${upgrade_step} == 3; then run prepare; run storeargs; run update; fi; if itest ${upgrade_step} == 1; then  defenv; setenv upgrade_step 2; saveenv;fi; run prepare;run storeargs;get_rebootmode; clear_rebootmode; echo reboot_mode=${reboot_mode};run update_key; run switch_bootmode
preloaddtb=imgread dtb boot ${loadaddr}
prepare=logo size ${outputmode}; video open; video clear; video dev open ${outputmode};imgread res logo ${loadaddr_logo}; unpackimg ${loadaddr_logo}; logo source ${outputmode}; bmp display ${bootup_offset}; bmp scale;
reboot_mode=normal
recovery=echo enter recovery;if mmcinfo; then if fatload mmc 0 ${loadaddr} recovery.img; then bootm;fi;fi; if usb start 0; then if fatload usb 0 ${loadaddr} recovery.img; then bootm; fi;fi;if imgread kernel recovery ${loadaddr}; then bootm; else echo no recovery in flash; fi;
sdc_burning=sdc_burn ${sdcburncfg}
sdcburncfg=aml_sdc_burn.ini
serverip=10.18.9.113
stderr=serial
stdin=serial
stdout=serial
store=4
storeargs=setenv bootargs ${initargs} cvbsdrv=${cvbs_drv} vdaccfg=${vdac_config} logo=osd1,loaded,${fb_addr},${outputmode},full hdmimode=${hdmimode} cvbsmode=${cvbsmode} androidboot.firstboot=${firstboot} hdmitx=${cecconfig}
storeboot=secukey auto;secukey write keyexample 1234567890; echo Booting...; if unifykey get usid; then  setenv bootargs ${bootargs} androidboot.serialno=${usid};fi;imgread kernel boot ${loadaddr};bootm;run recovery
switch_bootmode=if test ${reboot_mode} = factory_reset; then run recovery;else if test ${reboot_mode} = update; then run update;else if test ${reboot_mode} = usb_burning; then run usb_burning;else if test ${wipe_data} = failed; then echo wipe_data=${wipe_data}; run recovery;else   fi;fi;fi;fi
testaddr=0x12400000
update=run usb_burning; if mmcinfo; then if fatexist mmc 0 ${sdcburncfg}; then run sdc_burning; else if fatload mmc 0 ${loadaddr} aml_autoscript; then autoscr ${loadaddr}; fi;run recovery;fi;else run recovery;fi;
update_key=saradc open 0; if saradc get_in_range 0 0x50; then msleep 50; if saradc get_in_range 0 0x50; then echo update by key...; run update; fi;fi
upgrade_bar_offset=0x13891f40
upgrade_bar_size=0xde
upgrade_error_offset=0x13892020
upgrade_error_size=0x41ee6
upgrade_fail_offset=0x138d3f10
upgrade_fail_size=0x41ee6
upgrade_logo_offset=0x13915e00
upgrade_logo_size=0x41ee6
upgrade_step=0
upgrade_success_offset=0x13957cf0
upgrade_success_size=0x41ee6
upgrade_unfocus_offset=0x13999be0
upgrade_unfocus_size=0xde
upgrade_upgrading_offset=0x13999cc0
upgrade_upgrading_size=0x41ee6
us_delay_step=1
usb_burning=update 1000
vdac_config=0xa007
video_dev=tvout
wipe_data=success

Environment size: 4294/65532 bytes

 

Link to comment
Share on other sites

from uart console entered all these values manually, line by line:

Spoiler

setenv bootfromnand 0
setenv start_mmc_autoscript 'if fatload mmc 0 11000000 s805_autoscript; then autoscr 11000000; fi;'
setenv start_usb_autoscript "if fatload usb 0 11000000 s805_autoscript; then autoscr 11000000; fi; if fatload usb 1 11000000 s805_autoscript; then autoscr 11000000; fi; if fatload usb 2 11000000 s805_autoscript; then autoscr 11000000; fi; if fatload usb 3 11000000 s805_autoscript; then autoscr 11000000; fi;"
setenv start_autoscript 'if usb start; then run start_usb_autoscript; fi; if mmcinfo; then run start_mmc_autoscript; fi;'
setenv bootcmd 'run start_autoscript; run storeboot'
setenv reboot_mode normal
saveenv


so now, it boots from card. but just white noise on screen for few seconds, and after that just black screen.

this is log:

Spoiler

=~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2019.03.22 18:40:10 =~=~=~=~=~=~=~=~=~=~=~=
EEEE I3000000032940xf100110303B77500EEEE I400000004294_M8_BL1_10221D113B323EEEE I3000000032940xbbbb000026A22525
no sdio debug board detected 
TE : 102615
BT : 16:03:10 Jul 28 2015
PMU:rn5t618
DC01 v:1100, 0x[36]: 18 -> 28
DC02 v:1150, 0x[37]: 18 -> 2c
DC03 v:1500, 0x[38]: 38 -> 48
LDO01 v:2900, 0x[4c]: 4e -> 50
LDO02 v:1800, 0x[4d]: 24 -> 24
LDO03 v:1800, 0x[4e]: 30 -> 30
LDO04 v:2850, 0x[4f]: 4e -> 4e
LDO05 v:1800, 0x[50]: 24 -> 24
LDO0a v:2700, 0x[56]: 28 -> 28
LDO0b v:900, 0x[57]: 00 -> 00

CPU clock is 1200MHz

CPU type: M8
DDR info: 2GB(auto) @ 528MHz(1T)
DDR channel: DDR 0 + DDR 1

DDR init use : 12569 us

HHH
Boot From SPI
ucl decompress...pass
0x12345678
Boot from internal device 1st SPI

TE : 473111

System Started


U-boot-00000-g2832a16(m8_k200_v1@s82_netxeon) (Jul 28 2015 - 16:03:00)

clr h-ram
DRAM:  2 GiB
relocation Offset is: 6fec0000
show partition table: 
part: 0, name :       logo, size : 2000000
part: 1, name :   recovery, size : 2000000
part: 2, name :       misc, size : 2000000
part: 3, name :       boot, size : 2000000
part: 4, name :     system, size : 60000000
part: 5, name :      cache, size : 20000000
part: 6, name :       data, size : end 
aml_card_type=0x100
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
PMU fault status:
reg[0x9A] = 0x1d
LSI version:04, OTP version:0c
PMU type:RN5T618
register usb cfg[0][1] = 7ff6fccc
register usb cfg[2][0] = 7ff731dc
NAND:  SPI BOOT: boot_device_flag 0
Nand PHY driver Version: 1.01.001.0004 (c) 2013 Amlogic Inc.
amlnf_phy_init : amlnf init flag 0
NAND device id: 2c 64 44 4b a9 0 0 0
detect NAND device: B revision NAND 8GiB MT29F64G08CBABA
AML_NAND_NEW_OOB : new oob
bus_cycle=5, bus_timing=7,system=3.9ns,flash->T_REA =16,flash->T_RHOH=15
NAND CKECK  : arg nbbt: arg_valid= 1, valid_blk_addr = 4, valid_page_addr = 0
NAND CKECK  : arg ncnf: arg_valid= 1, valid_blk_addr = 5, valid_page_addr = 0
NAND CKECK  : arg nkey: arg_valid= 1, valid_blk_addr = 8, valid_page_addr = 144
i=0,register --- nand_key
nfcache   : offset: 0x000006000000 -0x000024800000 : partitons 1 : single_chip multi_plane
nfcode    : offset: 0x00002a800000 -0x000073800000 : partitons 5 : single_chip multi_plane
nfdata    : offset: 0x00009e000000 -0x000162000000 : partitons 1 : single_chip multi_plane
bad block count = 0

bad block count = 0

bad block count = 0

amlnf_logic_init: START
aml_nftl_start:117,size_in_blk=145,tmp_block=128,part->free_block_num=17
aml_nftl_start:117,size_in_blk=462,tmp_block=416,part->free_block_num=46
amlnf_logic_init:  COMPLETE
get_boot_device_flag: init_ret 0
get_boot_device_flag   SPI BOOT: 
nand init success, change the device_boot_flag to 4 : spi+nand 
SPI BOOT,spi_env_relocate_spec : env_relocate_spec 53 
SF: Detected W25Q16 with page size 256, total 2 MiB

SPI NOR Flash have write protect!!!
set_storage_device_flag: store 4
      Multi dtb tool version: v2 .
      Multi dtb detected, support 6 dtbs.
        aml_dt soc: m8 platform: k200 variant: 2gsdhc
        dtb 0 soc: m8                 plat: k200               vari: 2gsdhc          
        dtb 1 soc: m8                 plat: k200               vari: 2gsdio          
        dtb 2 soc: m8                 plat: k200               vari: sdhc            
        dtb 3 soc: m8                 plat: k200               vari: sdio            
        dtb 4 soc: m8m2               plat: n200               vari: 1G              
        dtb 5 soc: m8m2               plat: n200               vari: 2G              
      Find match dtb: 0
vpu driver detect cpu type: m8
vpu clk_level in dts: 7
set vpu clk: 364300000Hz, readback: 364300000Hz(0x700)
Net:   Meson_Ethernet
init suspend firmware done. (ret:0)
cvbs trimming.1.v5: 0xa0, 0x7
mode = 9  vic = 19
set HDMI vic: 19
reconfig packet setting done
[ImgPck]ver=2
reboot_mode=charging
Hit Enter key to stop autoboot -- :  1 0 
exit abortboot: 0
(Re)start USB(0)...
USB:   dwc_usb driver version: 2.94 6-June-2012
USB (1) peri reg base: c1108820
USB (1) use clock source: XTAL input
USB (1) base addr: 0xc90c0000
Force id mode: Host
dwc_otg: No USB device found !
Error, couldn't init Lowlevel part

** Invalid boot device **

** Invalid boot device **

** Invalid boot device **

** Invalid boot device **
 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: 20000000
Rd Block Len: 512
SD version 2.0
High Capacity: Yes
Capacity: 63864569856
Boot Part Size: 0
Bus Width: 4-bit
reading s805_autoscript

1760 bytes read
## Executing script at 11000000
reading uImage

6570502 bytes read
reading uInitrd

3531817 bytes read
reading uEnv.ini

286 bytes read
reading /dtb/meson8_k200b_2G_emmc_sdhc.dtb

21708 bytes read
## Booting kernel from Legacy Image at 14000000 ...
   Image Name:   Linux-3.10.108
   Image Type:   ARM Linux Kernel Image (gzip compressed)
   Data Size:    6570438 Bytes = 6.3 MiB
   Load Address: 00208000
   Entry Point:  00208000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 15000000 ...
   Image Name:   uInitrd
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    3531753 Bytes = 3.4 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
## Flattened Device Tree blob at 11800000
   Booting using the fdt blob at 0x11800000
   Uncompressing Kernel Image ... OK
uboot time: 5571649 us.
EFUSE machid is not set.
Using machid 0xf81 from environment
From device tree /memory/ node aml_reserved_end property, for relocate ramdisk and fdt, relocate_addr: 0x5368001
   Loading Ramdisk to 05009000, end 053673e9 ... OK
   Loading Device Tree to 05000000, end 050084cb ... OK

Starting kernel ...

[    0.000000@0] Booting Linux on physical CPU 0x200
[    0.000000@0] Initializing cgroup subsys cpu
[    0.000000@0] Initializing cgroup subsys cpuacct
[    0.000000@0] Linux version 3.10.108-aml-s812 (root@CompileServer) (gcc version 6.4.1 20171012 (Linaro GCC 6.4-2017.11) ) #41 SMP PREEMPT Thu Mar 7 20:53:44 MSK 2019
[    0.000000@0] CPU: ARMv7 Processor [414fc091] revision 1 (ARMv7), cr=10c5387d
[    0.000000@0] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000@0] Machine: Amlogic Meson8, model: AMLOGIC
[    0.000000@0] physical memory start address is 0x200000
[    0.000000@0] reserved_end is d9fffff 
[    0.000000@0]  
[    0.000000@0] Total memory is 2046 MiB
[    0.000000@0] Reserved low memory from 0x06000000 to 0x0d9fffff, size: 122 MiB 
[    0.000000@0]     mesonfb0(low)       : 0x06100000 - 0x07900000 ( 24 MiB)
[    0.000000@0]     mesonfb1(low)       : 0x07900000 - 0x07a00000 (  1 MiB)
[    0.000000@0]     deinterlace0(high)       : 0x7df00000 - 0x80000000 ( 33 MiB)
[    0.000000@0]     mesonstream0(low)       : 0x07a00000 - 0x09a00000 ( 32 MiB)
[    0.000000@0]     vdec0(high)       : 0x79f00000 - 0x7df00000 ( 64 MiB)
[    0.000000@0]     ppmgr0(high)       : 0x77f00000 - 0x79f00000 ( 32 MiB)
[    0.000000@0]     vdin00(low)       : 0x09a00000 - 0x0aa00000 ( 16 MiB)
[    0.000000@0]     vdin10(low)       : 0x0aa00000 - 0x0ba00000 ( 16 MiB)
[    0.000000@0]     amlvideo20(low)       : 0x0ba00000 - 0x0d200000 ( 24 MiB)
[    0.000000@0]     amvideocap0(low)       : 0x0d200000 - 0x0da00000 (  8 MiB)
[    0.000000@0] Memory policy: ECC disabled, Data cache writealloc
[    0.000000@0] Meson chip version = RevC (19:C - 0:27ED)
[    0.000000@0] PERCPU: Embedded 8 pages/cpu @c1e6b000 s8512 r8192 d16064 u32768
[    0.000000@0] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 454416
[    0.000000@0] Kernel command line: root=LABEL=ROOTFS rootflags=data=writeback rw console=ttyS0,115200n8 console=tty0 no_console_suspend consoleblank=0 fsck.repair=yes net.ifnames=0 cvbsdrv=0 vdaccfg=0xa000 logo=osd1,loaded,0x7900000,${hdmimode},full cvbsmode=576cvbs 
[    0.000000@0] cvbs performance line = 0
[    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] full:2
[    0.000000@0] kernel get cvbsmode form uboot is 576cvbs
[    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] Memory: 64MB 16MB 1701MB = 1781MB total
[    0.000000@0] Memory: 1788164k/1788164k available, 35580k reserved, 1184768K 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 - 0xc0bfd100   (12245 kB)
[    0.000000@0]       .init : 0xc0bfe000 - 0xc0c3a140   ( 241 kB)
[    0.000000@0]       .data : 0xc0c3c000 - 0xc0cb40d8   ( 481 kB)
[    0.000000@0]        .bss : 0xc0cb40d8 - 0xc0f57bb0   (2703 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]     RCU debugfs-based tracing is enabled.
[    0.000000@0] NR_IRQS:256
[    0.000000@0] sched_clock: 32 bits at 1000kHz, resolution 1000ns, wraps every 4294967ms
[    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.346507@0] Calibrating delay loop (skipped), value calculated using timer frequency.. 2.00 BogoMIPS (lpj=10000)
[    0.356800@0] pid_max: default: 32768 minimum: 301
[    0.361698@0] Security Framework initialized
[    0.365818@0] SELinux:  Initializing.
[    0.369550@0] Mount-cache hash table entries: 512
[    0.377816@0] Initializing cgroup subsys debug
[    0.378561@0] Initializing cgroup subsys freezer
[    0.383240@0] CPU: Testing write buffer coherency: ok
[    0.388565@0] CPU0: thread -1, cpu 0, socket 2, mpidr 80000200
[    0.394088@0] Setting up static identity map for 0xc08b47f8 - 0xc08b4850
[    0.400812@0] L310 cache controller enabled
[    0.404819@0] l2x0: 8 ways, 4096 sets, CACHE_ID 0x4100a0c9,  Cache size: 1048576 B
[    0.412401@0]       AUX_CTRL 0x7ec80001, PERFETCH_CTRL 0x71000007, POWER_CTRL  0x00000000
[    0.420512@0]       TAG_LATENCY 0x00000111, DATA_LATENCY 0x00000222
[    0.500144@0] write pen_release: 1
[    0.500487@1] CPU1: Booted secondary processor
[    0.500501@1] CPU1: thread -1, cpu 1, socket 2, mpidr 80000201
[    0.520138@0] write pen_release: 2
[    0.528446@2] CPU2: Booted secondary processor
[    0.528459@2] CPU2: thread -1, cpu 2, socket 2, mpidr 80000202
[    0.540136@0] write pen_release: 3
[    0.548443@3] CPU3: Booted secondary processor
[    0.548456@3] CPU3: thread -1, cpu 3, socket 2, mpidr 80000203
[    0.548523@0] Brought up 4 CPUs
[    0.561493@0] SMP: Total of 4 processors activated (8.00 BogoMIPS).
[    0.567723@0] CPU: All CPU(s) started in SVC mode.
[    0.573001@0] devtmpfs: initialized
[    0.580311@0] clkrate [ xtal     ] : 24000000
[    0.580347@0] clkrate [ pll_sys     ] : 1200000000
[    0.584540@0] clkrate [ pll_fixed     ] : 2550000000
[    0.589221@0] clkrate [ pll_vid     ] : 732000000
[    0.593649@0] TODO: clk_get_rate_hpll() is not implement in M8 now
[    0.599795@0] clkrate [ pll_hpll     ] : 0
[    0.603615@0] clkrate [ pll_ddr     ] : 0
[    0.607338@0] clkrate [ a9_clk     ] : 1200000000
[    0.611765@0] clkrate [ clk81     ] : 141666666
[    0.616241@0] xor: measuring software checksum speed
[    0.720015@0]    arm4regs  :  1610.400 MB/sec
[    0.820012@0]    8regs     :  1260.000 MB/sec
[    0.920012@0]    32regs    :  1299.200 MB/sec
[    0.920045@0] xor: using function: arm4regs (1610.400 MB/sec)
[    0.924457@0] pinctrl core: initialized pinctrl subsystem
[    0.929973@0] regulator-dummy: no parameters
[    0.934237@0] NET: Registered protocol family 16
[    0.944562@0] DMA: preallocated 4096 KiB pool for atomic coherent allocations
[    0.946876@0] VPU driver version: v03
[    0.949711@0] vpu driver detect cpu type: m8
[    0.953992@0] load vpu_clk in dts: 364300000Hz(7)
[    0.958650@0] vpu_probe OK
[    0.962986@0] amlogic_gpio gpio: Probed amlogic GPIO driver
[    0.967047@0] register lm device lm-root
[    0.970806@0] register lm device lm1
[    0.974347@0] register lm device lm0
[    0.978004@0] Init pinux probe!
[    0.981483@0] pinmux-m8 pinmux: Probed amlogic pinctrl driver
[    0.986740@0] tv_init_module
[    0.989590@0] major number 254 for disp
[    0.993406@0] vout_register_server
[    0.996779@0] register tv module server ok
[    1.000900@0] aml_i2c version: 20140813
[    1.004778@0] aml-i2c i2c-AO: add adapter aml_i2c_adap0(ef354ca8)
[    1.010745@0] aml-i2c i2c-AO: aml i2c bus driver.
[    1.015493@0] aml-i2c i2c-A: add adapter aml_i2c_adap1(ef3550a8)
[    1.021407@0] aml-i2c i2c-A: aml i2c bus driver.
[    1.026073@0] aml-i2c i2c-B: add adapter aml_i2c_adap2(ef3554a8)
[    1.031982@0] aml-i2c i2c-B: aml i2c bus driver.
[    1.036639@0] aml-i2c i2c-C: add adapter aml_i2c_adap3(ef3558a8)
[    1.042556@0] aml-i2c i2c-C: aml i2c bus driver.
[    1.047194@0] aml_pmu_init, 458
[    1.050286@0] call aml_dvfs_init in
[    1.053886@0] hdmitx: system: amhdmitx_init
[    1.057890@0] hdmitx: system: Ver: 2014May6
[    1.062113@0] hdmitx: system: amhdmitx_probe
[    1.066430@0] hdmitx: system: not find ao cec
[    1.070640@0] hdmitx: system: not find vend_init_data
[    1.075704@0] hdmitx: system: gate/pwr cmd: 7
[    1.079995@0] hdmitx: system: ALREADY init VIC = 19
[    1.084855@0] hdmitx: system: gate/pwr cmd: 0
[    1.089580@1] hdmitx: system: reset intr mask
[    1.110525@0] hdmitx: system: irq 1
[    1.112614@0] bio: create slab <bio-0> at 0
[    1.220846@1] hdmitx: system: gate/pwr cmd: 4
[    1.280083@0] raid6: int32x1    196 MB/s
[    1.430767@1] hdmitx: system: gate/pwr cmd: 5
[    1.430800@1] hdmitx: edid: edid ready
[    1.433215@1] hdmitx: system: gate/pwr cmd: 4
[    1.450231@0] raid6: int32x2    273 MB/s
[    1.620022@0] raid6: int32x4    342 MB/s
[    1.640769@1] hdmitx: system: gate/pwr cmd: 5
[    1.640801@1] hdmitx: edid: edid ready
[    1.643219@1] hdmitx: edid: check sum valid
[    1.647377@1] hdmitx: edid: check sum valid
[    1.651545@1] hdmitx: edid: blk0 raw data
[    1.655525@1] 00ffffffffffff004c2db005000000000d130103801009780aee91a3544c9926
[    1.662719@1] 0f5054bfef80714f8100814081809500950fa940b300023a801871382d40582c
[    1.669914@1] 4500a05a0000001e011d00bc52d01e20b8285540a05a0000001e000000fd0018
[    1.677108@1] 4b1a5117000a202020202020000000fc0053796e634d61737465720a202001d1
[    1.684303@1] 
[    1.685950@1] hdmitx: edid: blk1 raw data
[    1.689937@1] 020323f14b930405140312101f2021222309070783010000e2000f67030c0010
[    1.697132@1] 00b82d011d80d0721c1620102c2580a05a0000009e011d8018711c1620582c25
[    1.704326@1] 00a05a0000009e011d007251d01e206e285500a05a0000001e8c0ad090204031
[    1.711521@1] 200c405500a05a000000188c0ad08a20e02d10103e9600a05a00000018000057
[    1.718716@1] 
[    1.720789@1] hdmitx: edid: find IEEEOUT
[    1.724292@1] hdmitx: video: cann't get valid mode
[    1.729033@1] hdmitx: audio: audio channel num is 0
[    1.733899@1] hdmitx: audio: SPDIF
[    1.737275@1] hdmitx: audio: current VIC: 19
[    1.741521@1] hdmitx: audio: audio sample rate: 0
[    1.746195@1] hdmitx: audio: set audio N para
[    1.750542@1] Unable to handle kernel NULL pointer dereference at virtual address 00000000
[    1.758764@1] pgd = c0004000
[    1.761630@1] [00000000] *pgd=00000000
[    1.765355@1] Internal error: Oops: 5 [#1] PREEMPT SMP ARM
[    1.770813@1] Modules linked in:
[    1.774024@1] CPU: 1 PID: 31 Comm: kthread_hdmi Not tainted 3.10.108-aml-s812 #41
[    1.781476@1] task: ef2d8cc0 ti: ef36a000 task.ti: ef36a000
[    1.787032@1] PC is at hdmitx_set_audmode+0x330/0x788
[    1.790143@0] raid6: int32x8    346 MB/s
[    1.790146@0] raid6: using algorithm int32x8 (346 MB/s)
[    1.790147@0] raid6: using intx1 recovery algorithm
[    1.790362@0] SCSI subsystem initialized
[    1.790478@0] usbcore: registered new interface driver usbfs
[    1.790507@0] usbcore: registered new interface driver hub
[    1.821008@1] LR is at _raw_spin_unlock_irqrestore+0x28/0x48
[    1.826639@1] pc : [<c002370c>]    lr : [<c08b4270>]    psr: 80000113
[    1.826639@1] sp : ef36bea8  ip : ffffffff  fp : 00000001
[    1.838425@1] r10: 00000000  r9 : 14001000  r8 : 00003000
[    1.843800@1] r7 : 00000000  r6 : c0f47e08  r5 : c0f486d8  r4 : c0c5dff8
[    1.850474@1] r3 : 00000000  r2 : 00000001  r1 : 00004718  r0 : 00000000
[    1.857150@1] Flags: Nzcv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment kernel
[    1.864604@1] Control: 10c5387d  Table: 0020404a  DAC: 00000015
[    1.870498@1] 
[    1.870498@1] PC: 0xc002368c:
[    1.875091@1] 368c  e3a0005d eb000a71 e3c01030 e3a0005d e3811020 eb000a85 ea000011 e3a0005d
[    1.883412@1] 36ac  eb000a6a e3c01030 e3a0005d e3811010 eb000a7e ea00000a e3a0005d eb000a63
[    1.891734@1] 36cc  e3801030 e3a0005d eb000a78 ea000004 e3a0005d eb000a5d e3c01030 e3a0005d
[    1.900055@1] 36ec  eb000a72 e5953000 e353000a 0a000001 e353000b 1a000000 e1a08108 e3041718
[    1.908377@1] 370c  e5970000 e3a02009 e34c10ab eb10b8ee e3500000 e6ef1078 03043808 034c30cb
[    1.916698@1] 372c  e3a0001c 05838404 e3a07a05 eb000a5f e7e71458 e3a0001d eb000a5c e7e31858
[    1.925020@1] 374c  e3a0001e e3811030 e34f7e10 eb000a57 e3a0005d eb000a3d e3801001 e3a0005d
[    1.933341@1] 376c  eb000a52 e5d42000 e3a03000 e1520003 03a08002 13a08001 e58734a8 f57ff05f
[    1.941664@1] 
[    1.941664@1] LR: 0xc08b41f0:
[    1.946257@1] 41f0  e5930000 e7e000d0 e3500000 1afffff3 e8bd8070 e92d4010 f57ff05f e1d030b0
[    1.954578@1] 4210  e2833001 e1c030b0 f57ff04f e320f004 e3a00001 ebde7820 e1a0300d e3c33d7f
[    1.962900@1] 4230  e3c3303f e5933000 e3130002 08bd8010 e8bd4010 eafffc70 e92d4010 f57ff05f
[    1.971221@1] 4250  e1d030b0 e2833001 e1c030b0 f57ff04f e320f004 e121f001 e3a00001 ebde780e
[    1.979543@1] 4270  e1a0300d e3c33d7f e3c3303f e5933000 e3130002 08bd8010 e8bd4010 eafffc5e
[    1.987864@1] 4290  e92d4010 f57ff05f e1d030b0 e2833001 e1c030b0 f57ff04f e320f004 f1080080
[    1.996186@1] 42b0  e3a00001 ebde77fc e1a0300d e3c33d7f e3c3303f e5933000 e3130002 08bd8010
[    2.004508@1] 42d0  e8bd4010 eafffc4c e92d4070 e1a04000 e3a00001 ebde77b5 e1943f9f e3a05000
[    2.012830@1] 
[    2.012830@1] SP: 0xef36be28:
[    2.017423@1] be28  00000000 00000000 00000000 00000000 c0cb6f04 0000001f 0000003c 00000000
[    2.025745@1] be48  c002370c 80000113 ffffffff ef36be94 00003000 c000da58 00000000 00004718
[    2.034066@1] be68  00000001 00000000 c0c5dff8 c0f486d8 c0f47e08 00000000 00003000 14001000
[    2.042388@1] be88  00000000 00000001 ffffffff ef36bea8 c08b4270 c002370c 80000113 ffffffff
[    2.050709@1] bea8  c0f47ff7 00000000 c0cb6f04 00000000 c0f47e08 00000001 c0f486d8 15000013
[    2.059031@1] bec8  14001000 00000000 00000001 c07145f8 00000000 00000000 00000000 00000000
[    2.067352@1] bee8  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    2.075674@1] bf08  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    2.083996@1] 
[    2.083996@1] R4: 0xc0c5df78:
[    2.088589@1] df78  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    2.096911@1] df98  00000000 00000000 00000000 00000000 00000000 00000000 00000000 fe1080b0
[    2.105232@1] dfb8  fe1080b4 fe1080b8 fe1080bc fe1080c0 fe1080c4 fe1080c8 fe1080cc fe1080d0
[    2.113554@1] dfd8  fe1080d4 fe600014 00000001 00000000 c0c5dfe8 c0c5dfe8 00000000 00000000
[    2.121875@1] dff8  00004901 00000001 00000101 00000001 00000001 00001b8d 00004040 00001c3a
[    2.130197@1] e018  00000112 00001c3b 00000892 00001c3c 00000029 00001c3d 00000461 00001c30
[    2.138518@1] e038  00000052 00001c31 0000007e 00001c32 00000000 00001c34 00000005 00001c36
[    2.146840@1] e058  00000052 00001c38 00000052 00001c51 00000000 00001b62 0000809d 00000000
[    2.155162@1] 
[    2.155162@1] R5: 0xc0f48658:
[    2.159756@1] 8658  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    2.168077@1] 8678  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    2.176398@1] 8698  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    2.184720@1] 86b8  00000000 00000000 00000000 00000000 00000000 000000d1 00000000 0000000b
[    2.193042@1] 86d8  00000000 00000000 00000000 00000000 00000000 00001300 00010001 00000000
[    2.201363@1] 86f8  00000000 00000001 00000001 00000002 00000001 00000001 00003f03 00000000
[    2.209684@1] 8718  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    2.218006@1] 8738  00000000 00000000 00000000 00000000 00000040 00000000 00000005 6f010001
[    2.226328@1] 
[    2.226328@1] R6: 0xc0f47d88:
[    2.230922@1] 7d88  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    2.239243@1] 7da8  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    2.247565@1] 7dc8  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    2.255886@1] 7de8  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    2.264208@1] 7e08  00000000 c0f47e0c c0f47e0c 00000000 00000000 c0c647d4 00000000 00000001
[    2.272529@1] 7e28  00000001 00000000 c0985c98 c0f47e34 c0f47e34 0fd00000 00000020 00000000
[    2.280851@1] 7e48  ef2d8cc0 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    2.289172@1] 7e68  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    2.297496@1] Process kthread_hdmi (pid: 31, stack limit = 0xef36a238)
[    2.303997@1] Stack: (0xef36bea8 to 0xef36c000)
[    2.308507@1] bea0:                   c0f47ff7 00000000 c0cb6f04 00000000 c0f47e08 00000001
[    2.316828@1] bec0: c0f486d8 15000013 14001000 00000000 00000001 c07145f8 00000000 00000000
[    2.325149@1] bee0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    2.333470@1] bf00: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    2.341793@1] bf20: 00000000 00000000 c0f47e08 c0f47e08 c0f47e08 c0ca4e4c 13000002 c0713e2c
[    2.350114@1] bf40: ef2d8cc0 ef279df0 00000000 c0f47e08 c07139c8 00000000 00000000 00000000
[    2.358435@1] bf60: 00000000 c0049920 fffeeefd 00000000 1ffffffe c0f47e08 00000000 00000000
[    2.366757@1] bf80: ef36bf80 ef36bf80 00000000 00000000 ef36bf90 ef36bf90 ef36bfac ef279df0
[    2.375078@1] bfa0: c0049870 00000000 00000000 c000df80 00000000 00000000 00000000 00000000
[    2.383400@1] bfc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    2.391721@1] bfe0: 00000000 00000000 00000000 00000000 00000013 00000000 fffffff7 ddffffdf
[    2.400058@1] [<c002370c>] (hdmitx_set_audmode+0x330/0x788) from [<c07145f8>] (hdmitx_set_audio+0x50/0x35c)
[    2.409756@1] [<c07145f8>] (hdmitx_set_audio+0x50/0x35c) from [<c0713e2c>] (hdmi_task_handle+0x464/0x5bc)
[    2.419293@1] [<c0713e2c>] (hdmi_task_handle+0x464/0x5bc) from [<c0049920>] (kthread+0xb0/0xb8)
[    2.427962@1] [<c0049920>] (kthread+0xb0/0xb8) from [<c000df80>] (ret_from_fork+0x14/0x34)
[    2.436190@1] Code: e353000b 1a000000 e1a08108 e3041718 (e5970000) 
[    2.442491@1] ---[ end trace 3e8a3e42a7c07139 ]---
[    2.442506@0] usbcore: registered new device driver usb
[    2.442611@0] pps_core: LinuxPPS API ver. 1 registered
[    2.442613@0] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    2.442622@0] PTP clock support registered
[    2.442789@0] mode is 15,sync_duration_den=1,sync_duration_num=60
[    2.442795@0] TV mode 1080p selected.
[    2.442801@0] tvoutc_setmode[505]
[    2.442804@0] tvoutc_setmode[516] mode is 15
[    2.442806@0] vinfo mode is: 1080p
[    2.442809@0] aml_logo: outputmode changed(0->15), reset osd1 scaler.
[    5.441899@0] call aml_pmu_probe_init in
[    5.441993@0] aml_pmus_probe, child name:rn5t618
[    5.444786@0] aml_pmus_probe, i2c_bus:i2c_bus_ao
[    5.449644@0] board_has_battery:false
[    5.453040@0] [DVFS]aml_dvfs_register_driver, driver rn5t618-dvfs regist success, mask:7, source id:1
[    5.462216@0] [RN5T618]ricoh_pmu_probe, 287
[    5.467159@0] [RN5T618]coulomb_flag:0x00
[    5.470275@0] [RN5T618]no saved coulomb counter
[    5.474816@0] ricoh_pmu_probe, 302
[    5.478161@0] Allocate new i2c device: adapter:0, addr:0x32, node name:rn5t618, type:ricoh_pmu
[    5.486960@0] Advanced Linux Sound Architecture Driver Initialized.
[    5.493802@0] Switching to clocksource Timer-E
[    5.497571@0] FS-Cache: Loaded
[    5.504627@0] NET: Registered protocol family 2
[    5.505434@0] TCP established hash table entries: 8192 (order: 4, 65536 bytes)
[    5.512242@0] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
[    5.518817@0] TCP: Hash tables configured (established 8192 bind 8192)
[    5.525266@0] TCP: reno registered
[    5.528621@0] UDP hash table entries: 512 (order: 2, 16384 bytes)
[    5.534697@0] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[    5.541324@0] NET: Registered protocol family 1
[    5.545876@0] RPC: Registered named UNIX socket transport module.
[    5.551766@0] RPC: Registered udp transport module.
[    5.556605@0] RPC: Registered tcp transport module.
[    5.561467@0] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    5.568116@0] wifi_dev_probe
[    5.570910@0] wifi_dt : interrupt_pin=GPIOX_21
[    5.575331@0] wifi_dt : irq_num=null
[    5.578894@0] wifi_dt : irq_trigger_type=GPIO_IRQ_HIGH
[    5.583997@0] wifi_dt : power_on_pin=GPIOAO_6
[    5.588355@0] wifi_dt : power_on_pin2=GPIOX_11
[    5.592756@0] interrupt_pin=133, irq_num=4, irq_trigger_type=0, power_on_pin=6,clock_32k_pin=122
[    5.601806@0] Unpacking initramfs...
[    5.736361@0] Freeing initrd memory: 3448K
[    5.737167@0] audit: initializing netlink socket (disabled)
[    5.740528@0] type=2000 audit(5.640:1): initialized
[    5.745869@0] bounce pool size: 64 pages
[    5.753327@0] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    5.755268@0] exFAT: Core Version 1.2.4
[    5.758964@0] exFAT: FS Version 1.2.4
[    5.763254@0] NFS: Registering the id_resolver key type
[    5.767820@0] Key type id_resolver registered
[    5.772115@0] Key type id_legacy registered
[    5.776591@0] NTFS driver 2.1.30 [Flags: R/O].
[    5.780996@0] fuse init (API version 7.22)
[    5.785167@0] JFS: nTxBlock = 8192, nTxLock = 65536
[    5.795354@0] SGI XFS with security attributes, large block/inode numbers, no debug enabled
[    5.799361@0] bio: create slab <bio-1> at 1
[    5.802897@0] Btrfs loaded
[    5.805066@0] msgmni has been set to 1185
[    5.808971@0] SELinux:  Registering netfilter hooks
[    5.815092@0] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 248)
[    5.821331@0] io scheduler noop registered
[    5.825390@0] io scheduler deadline registered
[    5.829833@0] io scheduler cfq registered (default)
[    5.834673@0] io scheduler fiops registered
[    5.839334@0] [drm] Initialized drm 1.1.0 20060810
[    5.843688@0] gpu cooling register okay with err=0
[    5.849826@0] Mali: Mali device driver loaded
[    5.852788@0] UMP: UMP device driver -9e055d5b loaded
[    5.859521@0] loop: module loaded
[    5.861491@0] tun: Universal TUN/TAP device driver, 1.6
[    5.866217@0] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
[    5.872917@0] PPP generic driver version 2.4.2
[    5.877041@0] PPP BSD Compression module registered
[    5.881835@0] PPP Deflate Compression module registered
[    5.887030@0] PPP MPPE Compression module registered
[    5.891972@0] NET: Registered protocol family 24
[    5.896595@0] usbcore: registered new interface driver asix
[    5.902168@0] usbcore: registered new interface driver ax88179_178a
[    5.908376@0] usbcore: registered new interface driver cdc_ether
[    5.914352@0] usbcore: registered new interface driver smsc95xx
[    5.920253@0] usbcore: registered new interface driver net1080
[    5.926059@0] usbcore: registered new interface driver cdc_subset
[    5.932125@0] usbcore: registered new interface driver zaurus
[    5.937865@0] usbcore: registered new interface driver cdc_ncm
[    5.943647@0] usbcore: registered new interface driver qf9700
[    5.949378@0] usbcore: registered new interface driver sr9600
[    5.955161@0] usbcore: registered new interface driver cdc_acm
[    5.960890@0] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[    5.969068@0] usbcore: registered new interface driver usb-storage
[    5.975351@0] mousedev: PS/2 mouse device common for all mice
[    5.981343@0] usbcore: registered new interface driver iforce
[    5.986975@0] usbcore: registered new interface driver xpad
[    5.992243@0] usbcore: registered new interface driver usb_acecad
[    5.998267@0] usbcore: registered new interface driver aiptek
[    6.003977@0] usbcore: registered new interface driver gtco
[    6.009534@0] usbcore: registered new interface driver hanwang
[    6.015332@0] usbcore: registered new interface driver kbtab
[    6.020976@0] usbcore: registered new interface driver wacom
[    6.026642@0] i2c /dev entries driver
[    6.030545@0] lirc_dev: IR Remote Control driver registered, major 244 
[    6.036808@0] IR NEC protocol handler initialized
[    6.041500@0] IR RC5(x) protocol handler initialized
[    6.046429@0] IR RC6 protocol handler initialized
[    6.051118@0] IR JVC protocol handler initialized
[    6.055790@0] IR Sony protocol handler initialized
[    6.060566@0] IR RC5 (streamzap) protocol handler initialized
[    6.066279@0] IR SANYO protocol handler initialized
[    6.071141@0] IR MCE Keyboard/mouse protocol handler initialized
[    6.077115@0] IR LIRC bridge handler initialized
[    6.081721@0] Registered IR keymap rc-empty
[    6.085990@0] input: rc-core loopback device as /devices/virtual/rc/rc0/input0
[    6.093159@0] rc0: rc-core loopback device as /devices/virtual/rc/rc0
[    6.099655@0] input: MCE IR Keyboard/Mouse (rc-loopback) as /devices/virtual/input/input1
[    6.107842@0] rc rc0: lirc_dev: driver ir-lirc-codec (rc-loopback) registered at minor = 0
[    6.116155@0] device-mapper: uevent: version 1.0.3
[    6.120814@0] device-mapper: ioctl: 4.24.0-ioctl (2013-01-15) initialised: dm-devel@redhat.com
[    6.129609@0] hidraw: raw HID events driver (C) Jiri Kosina
[    6.134898@0] usbcore: registered new interface driver usbhid
[    6.140491@0] usbhid: USB HID core driver
[    6.144732@0] zram: Created 1 device(s) ...
[    6.148873@0] ashmem: initialized
[    6.152011@0] logger: created 256K log 'log_main'
[    6.156684@0] logger: created 256K log 'log_events'
[    6.161560@0] logger: created 256K log 'log_radio'
[    6.166300@0] logger: created 256K log 'log_system'
[    6.171100@0] vout_init_module
[    6.174150@0] start init vout module
[    6.177707@0] create  vout attribute ok
[    6.181548@0] ge2d_init
[    6.183911@0] ge2d_dev major:242
[    6.187203@0] ge2d start monitor
[    6.190382@0] osd_init
[    6.190388@1] ge2d workqueue monitor start
[    6.196764@0] osd_probe, vinfo:c0929ad8
[    6.200730@0] Frame buffer memory assigned at phy:0x06100000, vir:0xf1000000, size=24576K
[    6.208710@0] osd_probe, mydef_var:c0c995c0, vinfo:c0929ad8
[    6.214247@0] init fbdev bpp is :32
[    6.217726@0] ---------------clear framebuffer0 memory
[    7.250995@0] Console: switching to colour frame buffer device 240x67
[    8.267525@0] Frame buffer memory assigned at phy:0x07900000, vir:0xf0a00000, size=1024K
[    8.270111@0] osd_probe, mydef_var:c0c995c0, vinfo:c0929ad8
[    8.275657@0] don't find to display_size_default from mesonfb-dts
[    8.281737@0] init fbdev bpp is :24
[    9.277440@0] osd probe ok
[    9.277603@0] enter aml_sysled_init
[    9.278284@0] DI: di_init
[    9.280642@0] DI: di_probe
[    9.283543@0] aml_wdt_driver_init,306
[    9.286952@0] ** disable watchdog
[    9.290409@0] keys===========================================
[    9.295968@0] keys_devno=ef00000
[    9.299279@0] securitykey: device aml_keys created
[    9.303948@0] amlkeys=0
[    9.306393@0] platform_driver_register--aml_keys_driver--------------------
[    9.313530@0] set uart_ao pinmux use pinctrl subsystem
[    9.318448@0] P_AO_RTI_PIN_MUX_REG:5860
[    9.322244@0] start uart_ao_ttyS0:(irq = 122)
[    9.326566@0] register uart_ao ok
[    9.330018@0] set uart_a pinmux use pinctrl subsystem
[    9.334887@0] P_AO_RTI_PIN_MUX_REG:5860
[    9.338739@0] start uart_a_ttyS1:(irq = 58)
[    9.342862@0] register uart_a ok
[    9.346187@0] start uart_d_ttyS4:(irq = 126)
[    9.350343@0] register uart_d ok
[    9.353601@0] dwc_otg: version 3.10a 12-MAY-2014
[    9.358160@0] dwc_otg_driver_probe NOT match
[    9.362387@0] usb1: type: 1, speed: 0, config: 0, dma: 0, id: 1, phy: fe108820, ctrl: fe080000
[    9.370985@0] USB (1) use clock source: XTAL input
[    9.396754@0] Core Release: 3.10a
[    9.396837@0] Setting default values for core params
[    9.399462@0] curmode: 1, host_only: 1
[    9.423786@0] Using Buffer DMA mode
[    9.427943@0] OTG VER PARAM: 1, OTG VER FLAG: 1
[    9.432043@0] Working on port type = HOST
[    9.436144@0] dwc_otg lm1: DWC OTG Controller
[    9.440229@0] dwc_otg lm1: new USB bus registered, assigned bus number 1
[    9.445917@0] dwc_otg lm1: irq 63, io mem 0x00000000
[    9.450859@0] -------hcd->flags.d32 = 0
[    9.454839@0] Init: Port Power? op_state=1
[    9.458796@0] Init1: Power Port (0)
[    9.462806@0] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    9.469153@0] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    9.476501@0] usb usb1: Product: DWC OTG Controller
[    9.481370@0] usb usb1: Manufacturer: Linux 3.10.108 dwc_otg_hcd
[    9.487336@0] usb usb1: SerialNumber: lm1
[    9.491761@0] hub 1-0:1.0: USB hub found
[    9.495921@0] hub 1-0:1.0: 1 port detected
[    9.500202@0] usb0: type: 0, speed: 0, config: 0, dma: 0, id: 0, phy: fe108800, ctrl: fe040000
[    9.507906@0] USB (0) use clock source: XTAL input
[    9.533686@0] Core Release: 3.10a
[    9.538002@0] Setting default values for core params
[    9.542373@0] curmode: 1, host_only: 0
[    9.606811@0] Using Buffer DMA mode
[    9.611192@0] OTG VER PARAM: 1, OTG VER FLAG: 1
[    9.615580@0] Working on port type = OTG
[    9.619920@0] Current port type: SLAVE
[    9.624200@0] dwc_otg lm0: DWC OTG Controller
[    9.628471@0] dwc_otg lm0: new USB bus registered, assigned bus number 2
[    9.633817@0] dwc_otg lm0: irq 62, io mem 0x00000000
[    9.638785@0] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
[    9.645679@0] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    9.653061@0] usb usb2: Product: DWC OTG Controller
[    9.657913@0] usb usb2: Manufacturer: Linux 3.10.108 dwc_otg_hcd
[    9.663880@0] usb usb2: SerialNumber: lm0
[    9.668261@0] hub 2-0:1.0: USB hub found
[    9.672408@0] hub 2-0:1.0: 1 port detected
[    9.676616@0] Dedicated Tx FIFOs mode
[    9.680845@0] using timer detect id change, ef5ca400
[    9.685150@0] boot_device_flag : 0
[    9.689366@0] ===========================================amlnf_init:642,nand device tree ok,dev-name:nand
[    9.697342@0] Nand PHY driver Version: 1.01.001.0006 (c) 2013 Amlogic Inc.
[    9.699378@3] HOST mode
[    9.708528@0] amlnf_phy_init : amlnf init flag 0
[    9.712995@0] ######STS IRQ mode for nand driver
[    9.717462@0] NAND device id: 2c 64 44 4b a9 0 0 0
[    9.721816@0] detect NAND device: B revision NAND 8GiB MT29F64G08CBABA
[    9.727459@3] -------hcd->flags.d32 = 0
[    9.727480@3] Init: Port Power? op_state=1
[    9.727482@3] Init1: Power Port (0)
[    9.727486@3] [RN5T618]rn5t618_otg_change, driver is not ready, do it later
[    9.727488@3] set usb port power on (board gpio 15)!
[    9.791465@0] AML_NAND_NEW_OOB : new oob
[    9.795842@0] bus_cycle=6, bus_timing=8,system=3.9ns,flash->T_REA =16,flash->T_RHOH=15
[    9.802628@0] boot_device_flag = 0
[    9.807815@0] NAND CKECK  : arg nbbt: arg_valid= 1, valid_blk_addr = 4, valid_page_addr = 0
[    9.819219@0] NAND CKECK  : arg ncnf: arg_valid= 1, valid_blk_addr = 5, valid_page_addr = 0
[    9.826838@0] nand shipped bbt at block 6
[    9.896306@0] NAND CKECK  : arg nkey: arg_valid= 1, valid_blk_addr = 8, valid_page_addr = 144
[    9.904213@0] i=0,register --- nand_key
[    9.908856@0] nand adjust phy offset : block 4
[    9.913467@0] nand adjust phy offset : block 4
[    9.918064@0] nfcache    : offset: 0x000006000000 -0x000024800000 : partitons 1 : single_chip multi_plane
[    9.926670@0] nfcode     : offset: 0x00002a800000 -0x000073800000 : partitons 5 : single_chip multi_plane
[    9.936219@0] nfdata     : offset: 0x00009e000000 -0x000162000000 : partitons 1 : single_chip multi_plane
[    9.948083@0] bad block count = 0
[    9.948083@0] 
[    9.964608@0] bad block count = 0
[    9.964608@0] 
[    9.996077@0] bad block count = 0
[    9.996077@0] 
[   10.005008@0] amlnand_add_nftl:
[   10.009494@0] Creating 1 ntd partitions
[   10.013936@0] block_num 146 
[   10.020662@0] ------init_ntd
[   10.025178@0] ntd: Giving out device 0 to nfcache
[   10.029572@0] Creating 5 ntd partitions
[   10.033917@0] block_num 462 
[   10.045687@0] ntd: Giving out device 1 to nfcode
[   10.050095@0] Creating 1 ntd partitions
[   10.054404@0] block_num 1416 
[   10.081172@0] ntd: Giving out device 2 to nfdata
[   10.085594@0] boot_device_flag : 0
[   10.089834@0] register_ntd_blktrans start
[   10.094043@0] ntd device 250!
[   10.098248@0] ntd->name: nfcache
[   10.102417@0] adjust_block_num : 4,reserved_block_ratio 10
[   10.106652@0] nftl version 140911a
[   10.110902@0] nftl part attr 0
[   10.117446@0] size_in_blk 146; total_block 145; 
[   10.121646@0] nftl start:145,17
[   10.126028@0] first
[   10.179019@0] average_erase_count:0
[   10.183090@0] second 23,128
[   10.187101@0] part->max_discard_block = 4
[   10.204603@0] all block full!!
[   10.208609@0] all discard block full!!
[   10.212621@0] free list: 
[   10.216594@0] free block cnt = 135
[   10.220579@0] new current block is 122
[   10.224538@0] total discard page count is 0
[   10.228508@0] create_part_list:1235,current_used_discard_block=121,current_discard_block_used_count=59
[   10.236834@0] unmappig_pages=31728,discarded_pages=0,mapping_pages=1040
[   10.242898@0] nftl ok!
[   10.247375@0] Enable QUEUE_FLAG_DISCARD for NFTL
[   10.251660@0] aml_nftl_add_ntd ok
[   10.255601@0] ntd device 250!
[   10.259516@0] ntd->name: nfcode
[   10.263362@0] adjust_block_num : 4,reserved_block_ratio 10
[   10.267241@0] nftl version 140911a
[   10.271157@0] nftl part attr 0
[   10.282349@0] nftl start:462,46
[   10.286860@0] first
[   10.441215@0] average_erase_count:0
[   10.444940@0] second 240,416
[   10.448594@0] part->max_discard_block = 4
[   10.594450@0] all block full!!
[   10.597996@0] all discard block full!!
[   10.601646@0] free list: 
[   10.605096@0] free block cnt = 234
[   10.608485@0] new current block is 221
[   10.611791@0] total discard page count is 0
[   10.615099@0] create_part_list:1235,current_used_discard_block=220,current_discard_block_used_count=278
[   10.625248@0] unmappig_pages=50813,discarded_pages=0,mapping_pages=55683
[   10.630182@0] nftl ok!
[   10.634257@0] Enable QUEUE_FLAG_DISCARD for NFTL
[   10.638203@0] Enable QUEUE_FLAG_DISCARD for NFTL
[   10.641997@0] Enable QUEUE_FLAG_DISCARD for NFTL
[   10.646551@0] Enable QUEUE_FLAG_DISCARD for NFTL
[   10.651159@0] Enable QUEUE_FLAG_DISCARD for NFTL
[   10.655680@0] aml_nftl_add_ntd ok
[   10.659063@0] ntd device 250!
[   10.662421@0] ntd->name: nfdata
[   10.665770@0] adjust_block_num : 4,reserved_block_ratio 10
[   10.670288@0] nftl version 140911a
[   10.673831@0] nftl part attr 0
[   10.699747@0] size_in_blk 1416; total_block 1411; 
[   10.703190@0] nftl start:1411,132
[   10.708310@0] first
[   11.181639@0] found discard block:1414
[   11.185354@0] average_erase_count:0
[   11.188781@0] second 402,1279
[   11.192156@0] part->max_discard_block = 4
[   11.432149@0] all block full!!
[   11.436040@0] currnet_discard_block1:1414
[   11.454345@0] reach the last discard page:22
[   11.459987@0] free list: 
[   11.463382@0] free block cnt = 1116
[   11.466720@0] new current block is 1013
[   11.470068@0] total discard page count is 22
[   11.473438@0] create_part_list:1235,current_used_discard_block=1414,current_discard_block_used_count=2
[   11.488109@0] unmappig_pages=281823,discarded_pages=19280,mapping_pages=26321
[   11.493165@0] nftl ok!
[   11.497358@0] Enable QUEUE_FLAG_DISCARD for NFTL
[   11.501327@0] aml_nftl_add_ntd ok
[   11.504954@0] init_aml_nftl end
[   11.508709@0] ethernet_driver probe!
[   11.512315@0] Please config phy  interface.
[   11.515934@0] Please config savepowermode.
[   11.519557@0] Please config reset_pin_enable.
[   11.523175@0] Please config reset_delay.
[   11.526766@0] Please config reset_pin.
[   11.530502@0] ethernetinit(dbg[c0c9f3a4]=1)
[   11.534666@0] ethernet base addr is fe0c0000
[   11.538911@0] write mac add to:ee7b0f48: 00 01 23 cd ee af |..#...|
[   11.550471@0] libphy: AMLMAC MII Bus: probed
[   11.553882@0] eth0: PHY ID 02430c54 at 0 IRQ -1 (0:00) active
[   11.558682@0] Amlogic A/V streaming port init
[   11.563142@0] buffersize=262144,0,start=0
[   11.566636@0] Subtitle stbuf alloced at 0xee440000, size = 262144
[   11.572623@0] changed the (2) buffer size from 0 to 262144
[   11.578230@0] init vdec memsource 79f00000->7defffff
[   11.583101@0] [tsync_pcr_init]init success. 
[   11.587252@0] amvideocap_init_module
[   11.590873@0] amvideocap_probe,amvideocap
[   11.594795@0] amvideocap_dev_register buf:0d200000,size:800000.
[   11.600877@0] regist mpeg12 codec profile
[   11.604717@0] regist mpeg4 codec profile
[   11.608593@0] amvdec_vc1 module init
[   11.612241@0] regist vc1 codec profile
[   11.615856@0] amvdec_h264 module init
[   11.619585@0] regist h264 codec profile
[   11.623312@0] amvdec_h264mvc module init
[   11.627250@0] regist hmvc codec profile
[   11.631048@0] amvdec_h264_4k2k module init
[   11.635140@0] regist h264_4k2k codec profile
[   11.639364@0] amvdec_h265 module init
[   11.643026@0] regist hevc_unsupport codec profile
[   11.647725@0] regist mjpeg codec profile
[   11.651569@0] amvdec_real module init
[   11.655247@0] amvdec_avs module init
[   11.658877@0] amvenc_avc memory resource undefined.
[   11.663617@0] amvenc_avc memory is invaild, probe fail!
[   11.668840@0] amvenc_avc: probe of amvenc_avc.0 failed with error -14
[   11.675296@0] jpegenc module init
[   11.679070@0] picdec buffer size is 4000000
[   11.682803@0] alloc_keep_buffer keep_y_addr ede00000
[   11.687665@0] alloc_keep_buffer keep_u_addr ee500000
[   11.692576@0] alloc_keep_buffer keep_v_addr ee480000
[   11.697527@0] yaddr=ede00000,u_addr=ee500000,v_addr=ee480000
[   11.703338@0] create_ge2d_work_queue video task ok 
[   11.708284@0] efuse===========================================
[   11.713895@0] efuse: device efuse created
[   11.717863@0] efuse--------------------------------------------
[   11.723689@0] SARADC Driver init.
[   11.727486@0] __saradc_probe__
[   11.877562@0] saradc calibration: ref_val = 509
[   11.881245@0] saradc calibration: ref_nominal = 512
[   11.884971@0] saradc calibration: coef = 4104
[   11.889489@0] ir irblaster probe
[   11.893248@0] Remote Driver
[   11.896943@0] Remote platform_data g_remote_base=fe600580
[   11.900707@0] set drvdata completed

[   11.904221@0] device_create_file completed 

[   11.908759@0] input: aml_keypad as /devices/platform/meson-remote/input/input2
[   11.915814@0] input_register_device completed 

[   11.920235@0] [0xffffff00] = 0x1dd0190
[   11.923894@0] [0xffffff04] = 0xf800ca
[   11.927548@0] [0xffffff08] = 0x82006e
[   11.931172@0] [0xffffff0c] = 0x3c0030
[   11.934812@0] [0xffffff10] = 0x30fa0013
[   11.938641@0] [0xffffff18] = 0x6f19000
[   11.942354@0] [0xffffff1c] = 0xbe40
[   11.945820@0] [0x0] = 0xfa00a0
[   11.949274@0] [0x4] = 0xfa00a0
[   11.952678@0] [0x8] = 0xfa00a0
[   11.956020@0] [0xc] = 0x640030
[   11.959311@0] [0x10] = 0x30fa0013
[   11.962549@0] [0x18] = 0x961b800
[   11.965740@0] [0x1c] = 0x9740
[   11.968902@0] [0x20] = 0x104
[   11.971988@0] [0x24] = 0x0
[   11.975008@0] [0x28] = 0x0
[   11.977977@0] set_remote_mode[69]
[   11.980935@0] remote config major:233

[   11.983957@0] physical address:0x2dc1e000
[   11.986958@0] Meson KeyInput init
[   11.990048@0] GPIO Keypad Driver init.
[   11.993736@0] ==gpio_key_probe==
[   11.996900@0]  reg:2620,clearmask=400040,setmask=1
[   12.001635@0] reg:2622,clearmask=ff0000,set pin=3
[   12.006315@0] reg:2623,clearmask=7000000,setmask=7
[   12.011113@0]  reg:2620,clearmask=800080,setmask=10001
[   12.016198@0] reg:2622,clearmask=ff000000,set pin=3
[   12.021051@0] reg:2623,clearmask=70000000,setmask=7
[   12.025966@0] power key(116) registed.
[   12.029758@0] input: gpio_keypad as /devices/platform/gpio_keypad.6/input/input3
[   12.037100@0] gpio keypad register input device completed.
[   12.042494@0] gpio keypad major:232
[   12.046032@0] spi_nor_init
[   12.049173@0] amlogic_spi_nor_probe:
[   12.052248@0] amlogic_spi->state_name:default
[   12.056580@0] AMLOGIC_SPI_NOR cc000000.spi: master is unqueued, this is deprecated
[   12.064119@0] check_storage_device : spi boot_device_flag : 0
[   12.069794@0] spi_nor_probe
[   12.072999@0] spi_nor apollospi:32766: w25q16 (2048 Kbytes)
[   12.078778@0] Creating 2 MTD partitions on "apollospi:32766":
[   12.083832@0] 0x000000000000-0x000000100000 : "bootloader"
[   12.089764@0] 0x000000100000-0x000000110000 : "ubootenv"
[   12.094952@0] amlogic_spi_nor_probe over
[   12.098615@0] mmc driver version: 1.07, 2015-01-21: fix a bug in tuning which caused eMMC data CRC error
[   12.108026@0] host->base fe108c20
[   12.111439@0] pdata->caps 7
[   12.114764@0] pdata->caps2 0
[   12.118046@0] get property:                     port, value:0x00000001
[   12.123348@0] get property:                ocr_avail, value:0x00200000
[   12.129873@0] get property:                    f_min, value:0x000493e0
[   12.136350@0] get property:                    f_max, value:0x02faf080
[   12.142874@0] get property:             max_req_size, value:0x00020000
[   12.149367@0] get property:                   irq_in, value:0x00000003
[   12.155854@0] get property:                  irq_out, value:0x00000005
[   12.162373@0] get property:                  gpio_cd, str:CARD_6
[   12.168353@0] get property:                  gpio_ro, str:GPIOZ_0
[   12.174404@0] get property:                  pinname, str:sd
[   12.180054@0] get property:                 jtag_pin, str:CARD_0
[   12.186020@0] get property:                card_type, value:0x00000005
[   12.192539@0] get property:                gpio_dat3, str:CARD_4
[   12.198534@0] normal card in
[   12.237461@3] sd: mmc_rescan_try_freq: trying to init card at 400000 Hz
[   12.237471@0]  reg:2620,clearmask=80008,setmask=10001
[   12.237474@0] reg:2621,clearmask=ff000000,set pin=64
[   12.237476@0] reg:2623,clearmask=7000,setmask=7
[   12.237479@0]  reg:2620,clearmask=200020,setmask=1
[   12.237481@0] reg:2622,clearmask=ff00,set pin=64
[   12.237483@0] reg:2623,clearmask=700000,setmask=7
[   12.237613@0] pdata->caps 107
[   12.237616@0] pdata->caps2 0
[   12.237618@0] get property:                     port, value:0x00000000
[   12.237621@0] get property:                ocr_avail, value:0x00200000
[   12.237623@0] get property:                    f_min, value:0x000493e0
[   12.237625@0] get property:                    f_max, value:0x02faf080
[   12.237628@0] get property:             max_req_size, value:0x00020000
[   12.237633@0] get property:                  pinname, str:sdio
[   12.237636@0] get property:                card_type, value:0x00000003
[   12.359537@2] sd: new high speed SDXC card at address aaaa, clock 35416666, 4-bit-bus-width
[   12.365984@2] mmcblk0: sd:aaaa AFGCE 59.4 GiB (ro)
[   12.399896@2]  mmcblk0: p1 p2
[   12.457455@0] [aml_sdio_probe] aml_sdio_probe() success!
[   12.462102@0] host->base fe108e00
[   12.465745@0] pdata->caps 80000547
[   12.469344@0] pdata->caps2 0
[   12.472866@0] get property:                     port, value:0x00000005
[   12.477314@0] get property:                ocr_avail, value:0x00200000
[   12.483835@0] get property:                    f_min, value:0x000493e0
[   12.490335@0] get property:                    f_max, value:0x05f5e100
[   12.496818@0] get property:             max_req_size, value:0x00020000
[   12.503353@0] get property:                  pinname, str:emmc
[   12.509146@0] get property:                card_type, value:0x00000001
[   12.515630@0] get property:                gpio_dat3, str:BOOT_3
[   12.521629@0] [is_emmc_exist] host->storage_flag=0, POR_BOOT_VALUE=5
[   12.567464@2] emmc: mmc_rescan_try_freq: trying to init card at 400000 Hz
[   12.572078@2] aml_emmc_hw_reset 1338
[   12.583774@2] [aml_sdhc_print_err][0;40;32m emmc: rsp timeout error, port=5, Cmd1 Arg 00000000, xfer_step=3, status=5, cmd25=0, fifo_empty=0, fifo_full=0, timeout=1, iSTA=0x2, STAT=0xb0003e
[0mPinmux: REG2=0x0000fc00, REG3=0x00000000, REG4=0x7c003c00, REG5=0x0c000000, REG6=0x00007de0, REG8=0x00000000
[   12.608874@2] ***********SDHC_REGS***********
[   12.613190@2] SDHC_ARGU: 0x00000000
[   12.617087@2] SDHC_SEND: 0x00000241
[   12.620954@2] SDHC_CTRL: 0xe7ffe000
[   12.624764@2] SDHC_STAT: 0x00b0003e
[   12.627454@0] [aml_sdhc_probe] aml_sdhc_probe() success!
[   12.627524@0] [dsp]DSP start addr 0xc5e00000
[   12.627544@0] [dsp]register dsp to char divece(257)
[   12.627774@0] amlogic audio spdif interface device init!
[   12.627832@0] name=nand_key nand_key
[   12.627861@0] pinmux-m8 pinmux: pin BOOT_0 already requested by aml_sdhc.0; cannot claim for nand
[   12.627866@0] pinmux-m8 pinmux: pin-39 (nand) status -22
[   12.627870@0] pinmux-m8 pinmux: could not request pin 39 on device pinmux
[   12.627873@0] nand_get_chip:160  nand  can't get pinctrl 
[   12.676572@2] SDHC_CLKC: 0x0002f84d
[   12.680521@2] SDHC_ADDR: 0x2dc80000
[   12.684451@2] SDHC_PDMA: 0x0c43bcf0
[   12.688382@2] SDHC_MISC: 0xe0000150
[   12.692313@2] SDHC_DATA: 0x00000000
[   12.696213@2] SDHC_ICTL: 0x00003067
[   12.700126@2] SDHC_ISTA: 0x00000002
[   12.704023@2] SDHC_SRST: 0x00000000
[   12.707909@2] SDHC_ESTA: 0x00000000
[   12.711754@2] SDHC_ENHC: 0x00fe0cff
[   12.715573@2] SDHC_CLK2: 0x00001425
[   12.720190@2] [aml_sdhc_print_err][0;40;32m emmc: rsp timeout error, port=5, Cmd1 Arg 00000000, xfer_step=3, status=5, cmd25=0, fifo_empty=0, fifo_full=0, timeout=2, iSTA=0x4002, STAT=0x20
[0mPinmux: REG2=0x0000fc00, REG3=0x00000000, REG4=0x7c003c00, REG5=0x0c000000, REG6=0x00007de0, REG8=0x00000000
[   12.745459@2] ***********SDHC_REGS***********
[   12.749784@2] SDHC_ARGU: 0x00000000
[   12.754043@2] SDHC_SEND: 0x00000241
[   12.758288@2] SDHC_CTRL: 0xe7ffe000
[   12.762491@2] SDHC_STAT: 0x00000020
[   12.766686@2] SDHC_CLKC: 0x0002f84d
[   12.770854@2] SDHC_ADDR: 0x2dc80000
[   12.775038@2] SDHC_PDMA: 0x0c43bcf0
[   12.779198@2] SDHC_MISC: 0xe0000150
[   12.783354@2] SDHC_DATA: 0x00000000
[   12.787509@2] SDHC_ICTL: 0x00003067
[   12.791666@2] SDHC_ISTA: 0x00004002
[   12.795805@2] SDHC_SRST: 0x00000000
[   12.799925@2] SDHC_ESTA: 0x00000000
[   12.804019@2] SDHC_ENHC: 0x00fe0cff
[   12.808019@2] SDHC_CLK2: 0x00001425
[   12.812738@2] [aml_sdhc_print_err][0;40;32m emmc: rsp timeout error, port=5, Cmd1 Arg 00000000, xfer_step=3, status=5, cmd25=0, fifo_empty=0, fifo_full=0, timeout=3, iSTA=0x4002, STAT=0x20
[0mPinmux: REG2=0x0000fc00, REG3=0x00000000, REG4=0x7c003c00, REG5=0x0c000000, REG6=0x00007de0, REG8=0x00000000
[   12.838141@2] ***********SDHC_REGS***********
[   12.842542@2] SDHC_ARGU: 0x00000000
[   12.846936@2] SDHC_SEND: 0x00000241
[   12.851346@2] SDHC_CTRL: 0xe7ffe000
[   12.855708@2] SDHC_STAT: 0x00000020
[   12.860074@2] SDHC_CLKC: 0x0002f84d
[   12.864434@2] SDHC_ADDR: 0x2dc80000
[   12.868797@2] SDHC_PDMA: 0x0c43bcf0
[   12.873146@2] SDHC_MISC: 0xe0000150
[   12.877483@2] SDHC_DATA: 0x00000000
[   12.881786@2] SDHC_ICTL: 0x00003067
[   12.886058@2] SDHC_ISTA: 0x00004002
[   12.890270@2] SDHC_SRST: 0x00000000
[   12.894408@2] SDHC_ESTA: 0x00000000
[   12.898476@2] SDHC_ENHC: 0x00fe0cff
[   12.902308@2] SDHC_CLK2: 0x00001425
[   12.906706@2] [aml_sdhc_print_err][0;40;32m emmc: rsp timeout error, port=5, Cmd1 Arg 00000000, xfer_step=3, status=5, cmd25=0, fifo_empty=0, fifo_full=0, timeout=4, iSTA=0x4002, STAT=0x20
[0mPinmux: REG2=0x0000fc00, REG3=0x00000000, REG4=0x7c003c00, REG5=0x0c000000, REG6=0x00007de0, REG8=0x00000000
[   12.931695@2] ***********SDHC_REGS***********
[   12.936013@2] SDHC_ARGU: 0x00000000
[   12.940074@2] SDHC_SEND: 0x00000241
[   12.944121@2] SDHC_CTRL: 0xe7ffe000
[   12.948135@2] SDHC_STAT: 0x00000020
[   12.952108@2] SDHC_CLKC: 0x0002f84d
[   12.956048@2] SDHC_ADDR: 0x2dc80000
[   12.959954@2] SDHC_PDMA: 0x0c43bcf0
[   12.963814@2] SDHC_MISC: 0xe0000150
[   12.967585@2] SDHC_DATA: 0x00000000
[   12.971285@2] SDHC_ICTL: 0x00003067
[   12.974936@2] SDHC_ISTA: 0x00004002
[   12.978530@2] SDHC_SRST: 0x00000000
[   12.982069@2] SDHC_ESTA: 0x00000000
[   12.985596@2] SDHC_ENHC: 0x00fe0cff
[   12.989138@2] SDHC_CLK2: 0x00001425
[   12.993692@2] emmc: mmc_rescan_try_freq: trying to init card at 300000 Hz
[   13.037441@2] aml_emmc_hw_reset 1338
[   13.049548@2] [aml_sdhc_print_err][0;40;32m emmc: rsp timeout error, port=5, Cmd1 Arg 00000000, xfer_step=3, status=5, cmd25=0, fifo_empty=0, fifo_full=0, timeout=1, iSTA=0x2, STAT=0xb0003e
[0mPinmux: REG2=0x0000fc00, REG3=0x00000000, REG4=0x7c003c00, REG5=0x0c000000, REG6=0x00007de0, REG8=0x00000000
[   13.074859@2] ***********SDHC_REGS***********
[   13.079193@2] SDHC_ARGU: 0x00000000
[   13.083527@2] SDHC_SEND: 0x00000241
[   13.087869@2] SDHC_CTRL: 0xe7ffe000
[   13.091981@2] SDHC_STAT: 0x00b0003e
[   13.095852@2] SDHC_CLKC: 0x0002fb11
[   13.099590@2] SDHC_ADDR: 0x2dc80000
[   13.103289@2] SDHC_PDMA: 0x0c43bcf0
[   13.106993@2] SDHC_MISC: 0xe0000150
[   13.110706@2] SDHC_DATA: 0x00000000
[   13.114407@2] SDHC_ICTL: 0x00003067
[   13.118108@2] SDHC_ISTA: 0x00000002
[   13.121791@2] SDHC_SRST: 0x00000000
[   13.125466@2] SDHC_ESTA: 0x00000000
[   13.129141@2] SDHC_ENHC: 0x00fe0cff
[   13.132812@2] SDHC_CLK2: 0x00001425
[   13.137570@2] [aml_sdhc_print_err][0;40;32m emmc: rsp timeout error, port=5, Cmd1 Arg 00000000, xfer_step=3, status=5, cmd25=0, fifo_empty=0, fifo_full=0, timeout=2, iSTA=0x2, STAT=0xb0003e
[0mPinmux: REG2=0x0000fc00, REG3=0x00000000, REG4=0x7c003c00, REG5=0x0c000000, REG6=0x00007de0, REG8=0x00000000
[   13.162879@2] ***********SDHC_REGS***********
[   13.167204@2] SDHC_ARGU: 0x00000000
[   13.171548@2] SDHC_SEND: 0x00000241
[   13.175884@2] SDHC_CTRL: 0xe7ffe000
[   13.180005@2] SDHC_STAT: 0x00b0003e
[   13.183875@2] SDHC_CLKC: 0x0002fb11
[   13.187625@2] SDHC_ADDR: 0x2dc80000
[   13.191331@2] SDHC_PDMA: 0x0c43bcf0
[   13.195040@2] SDHC_MISC: 0xe0000150
[   13.198754@2] SDHC_DATA: 0x00000000
[   13.202458@2] SDHC_ICTL: 0x00003067
[   13.206164@2] SDHC_ISTA: 0x00000002
[   13.209866@2] SDHC_SRST: 0x00000000
[   13.213559@2] SDHC_ESTA: 0x00000000
[   13.217232@2] SDHC_ENHC: 0x00fe0cff
[   13.220922@2] SDHC_CLK2: 0x00001425
[   13.225673@2] [aml_sdhc_print_err][0;40;32m emmc: rsp timeout error, port=5, Cmd1 Arg 00000000, xfer_step=3, status=5, cmd25=0, fifo_empty=0, fifo_full=0, timeout=3, iSTA=0x2, STAT=0xb0003e
[0mPinmux: REG2=0x0000fc00, REG3=0x00000000, REG4=0x7c003c00, REG5=0x0c000000, REG6=0x00007de0, REG8=0x00000000
[   13.250988@2] ***********SDHC_REGS***********
[   13.255317@2] SDHC_ARGU: 0x00000000
[   13.259670@2] SDHC_SEND: 0x00000241
[   13.264005@2] SDHC_CTRL: 0xe7ffe000
[   13.268136@2] SDHC_STAT: 0x00b0003e
[   13.272012@2] SDHC_CLKC: 0x0002fb11
[   13.275750@2] SDHC_ADDR: 0x2dc80000
[   13.279467@2] SDHC_PDMA: 0x0c43bcf0
[   13.283187@2] SDHC_MISC: 0xe0000150
[   13.286900@2] SDHC_DATA: 0x00000000
[   13.290616@2] SDHC_ICTL: 0x00003067
[   13.294324@2] SDHC_ISTA: 0x00000002
[   13.298033@2] SDHC_SRST: 0x00000000
[   13.301730@2] SDHC_ESTA: 0x00000000
[   13.305412@2] SDHC_ENHC: 0x00fe0cff
[   13.309110@2] SDHC_CLK2: 0x00001425
[   13.313877@2] [aml_sdhc_print_err][0;40;32m emmc: rsp timeout error, port=5, Cmd1 Arg 00000000, xfer_step=3, status=5, cmd25=0, fifo_empty=0, fifo_full=0, timeout=4, iSTA=0x2, STAT=0xb0003e
[0mPinmux: REG2=0x0000fc00, REG3=0x00000000, REG4=0x7c003c00, REG5=0x0c000000, REG6=0x00007de0, REG8=0x00000000
[   13.339207@2] ***********SDHC_REGS***********
[   13.343549@2] SDHC_ARGU: 0x00000000
[   13.347911@2] SDHC_SEND: 0x00000241
[   13.352268@2] SDHC_CTRL: 0xe7ffe000
[   13.356561@2] SDHC_STAT: 0x00b0003e
[   13.360796@2] SDHC_CLKC: 0x0002fb11
[   13.364798@2] SDHC_ADDR: 0x2dc80000
[   13.368557@2] SDHC_PDMA: 0x0c43bcf0
[   13.372175@2] SDHC_MISC: 0xe0000150
[   13.375762@2] SDHC_DATA: 0x00000000
[   13.379362@2] SDHC_ICTL: 0x00003067
[   13.382938@2] SDHC_ISTA: 0x00000002
[   13.386505@2] SDHC_SRST: 0x00000000
[   13.390084@2] SDHC_ESTA: 0x00000000
[   13.393634@2] SDHC_ENHC: 0x00fe0cff
[   13.397176@2] SDHC_CLK2: 0x00001425
[   19.727453@3] Connect Timeout
[   19.731019@3] Device Not Connected/Responding
 

stops here, do i need to check with different dtbs?

i tried to connect ethernet cable, with changed ip address in armbian_first_run.txt

can't see device on network..

Link to comment
Share on other sites

Hi people, I have a minix X8-H and I running the last version Armbian_5.76_Aml-s812_Debian_stretch_default_3.10.108_desktop_20190307, all its OK... but not ethernet, not wifi is running I try all dtb and no one its working... Any idea... 

Link to comment
Share on other sites

11 hours ago, gmytis said:

stops here, do i need to check with different dtbs?

i tried to connect ethernet cable, with changed ip address in armbian_first_run.txt

can't see device on network.. 

Judging by the log, the system starts, but there is a problem with the quality of data reading from the SD card (maybe problems with the card or card reader on the TV box). Try to write an image on a USB flash drive and also to configure dtb. If multi-boot is activated, you can use any media SD card and USB flash drives.

 

4 hours ago, wolfeblnx said:

Hi people, I have a minix X8-H and I running the last version Armbian_5.76_Aml-s812_Debian_stretch_default_3.10.108_desktop_20190307, all its OK... but not ethernet, not wifi is running I try all dtb and no one its working... Any idea... 

On TV boxes usually only two variants of wired network 100 and 1000 are used. Therefore, a wired network must work with one of the DTBS.

Link to comment
Share on other sites

The wired network and the wifi did not work in the armbian, but i probe LibreELEC 8.0.2 and the last LibreELEC 9.0 and they work OK on the same minix X8-H, both version of LibreELEC and wifi's work. I will probe the dtb.img from the LibreELEC on the armbian but it did not work...

Link to comment
Share on other sites

On 3/23/2019 at 6:02 AM, balbes150 said:

Judging by the log, the system starts, but there is a problem with the quality of data reading from the SD card (maybe problems with the card or card reader on the TV box). Try to write an image on a USB flash drive and also to configure dtb.

what do you mean configure dtb? try different dtb from dtb folder?

why its 2 folders with dtbs? dtb and dtb-3.10.108?

i tried with usb flash drive, it's exactly same, just stops.

Maybe i need try image with older kernel? I think android runs on 3.10.33 kernel.

Link to comment
Share on other sites

On 3/24/2019 at 12:34 AM, wolfeblnx said:

The wired network and the wifi did not work in the armbian, but i probe LibreELEC 8.0.2 and the last LibreELEC 9.0 and they work OK on the same minix X8-H, both version of LibreELEC and wifi's work. I will probe the dtb.img from the LibreELEC on the armbian but it did not work...

 

Minix X8-H is using S802 SoC (with 100mbps ethernet) while the Minix X8-H Plus is using S812 (has gigabit ethernet), so you can't use the same dtb files

Link to comment
Share on other sites

How do you even edit the uEnv.ini
When I flashed the (latest) Armbian_5.78_Aml-s812_Debian_stretch_next_5.1.0-rc5-next-20190418-g3f018f4a0-dirty.img with rufus, I cant even access my sd card (says i need to format) 
 I downloaded previous versions and 5.73 lets me see the uEnv.ini file

How do I get logs?
Right now it goes multicoloured pixels then black screen then remains at no signal.
I can see the ip address of it in my router admin page.
 

S802 btw (chinese clone tv box)

Link to comment
Share on other sites

Not too sure what I'm doing wrong, but none of the latest builds has working network/ethernet working for me.

I got version 5.44 working with this dtb.img file that I found here in the thread.

 

I have a cloned M8N OTT TV box with s802, 2gb ram and 100mb ethernet.

dtb.img

Link to comment
Share on other sites

On 5/21/2019 at 10:20 PM, LarsN said:

Not too sure what I'm doing wrong, but none of the latest builds has working network/ethernet working for me.

I got version 5.44 working with this dtb.img file that I found here in the thread.

 

I have a cloned M8N OTT TV box with s802, 2gb ram and 100mb ethernet.

dtb.img 20 kB · 14 downloads

 

finally, mine works with your dtb. 5.44 debian server. is it possible install this version to eMMc? like its been done for other builds with install.sh script?

Link to comment
Share on other sites

On 7/3/2019 at 5:10 PM, RaptorSDS said:

if is a realtek or broadcom , plugin maybe restart and than configure wlan1 , maybe setup iprouting and thats all

It uses MediaTek RT2770 drivers. I have to use modprobe dhd every time to start onboard wifi but iwconfig shows only onboard wifi0 and external usb wifi does not turn on. I believe that armbian misses the drivers or i have to do something to wake it up

Link to comment
Share on other sites

2 hours ago, RaptorSDS said:

Mediatek is RALink , thats this driver https://wiki.debian.org/rt2800usb

you have to download the driver

 

No it does not work. I tried to install firmware-misc-nonfree and it crashes due to conflicting dependencies. It cannot replace agere_ap_fw.bin which is also in firmware_aml_s812. I tried to remove firmware_aml_s812 but with no luck. Never mind i tried a spare realtec8192cu and iwconfig see it as wlan1. No how i could disable or switch from onboard wlan0 to external usb wlan1? RaptorSDS said something about setup iprouting

Link to comment
Share on other sites

Hi all,

 

I'm trying to boot a Geniatech S802_1GB / 8GB

Armbian 5.77 detecs it as:

 

info->dtbversion = 65539
boardname=stvm8
boardtype=hdmiin
wifi=ap6330
dtbtype=stvm8_hdmiin_1g

 

Could you help me making it work.

In general with a USB disk it still hangs...

boot log.txt

Link to comment
Share on other sites

Hi guys,

 

ARM noob here..

I've managed to boot (toothpick method) Armbian without kernel panic ...with (I hope) the right DTB file.

 

My system now boots into android recovery with options to apply update from: ADB,EXT, cache.

 

But before flashing anything, I would like to try to run the OS from SD card first. HOW do I boot directly from sdcard?

 

 

Image used: Armbian_5.77_Aml-s812_Debian_stretch_default_3.10.108_20190326.img

 

 

 

NEVERMIND...I think I got it booting ...but Im unable to boot:

[DVFS]aml_dvfs_do_voltage_change, no dvfs driver
 

Boot log included, do you think you could help me with this one please ? 

 

 

 

boot.log

Edited by haagen
added boot log
Link to comment
Share on other sites

Hello, thank you for your reply!

I've tried to copy over these dtb files as I have M8S Box with s812 CPU and 2GB RAM:

 

meson8m2_n200_2G.dtb
meson8m2_n200_2G_LAN100.dtb
meson8m2_n200_2G_M8SPlus.dtb
meson8m2_n200_2G_MXIIIPlus.dtb
meson8m2_n200_2G_SD1.dtb
meson8m2_n200C_2G.dtb
meson8m2_n200C_2G_LAN100.dt

 

But neither of them worked :/, so what else can I try?

 

 

I will provide any info needed.

 

 

Link to comment
Share on other sites

On 7/12/2019 at 11:58 AM, balbes150 said:

The system is started from SD card and judging by the log , DTB is not suitable.

Before it was automatic.

I changed the dtb and now it goes...:P

This DTB does not give me hdmi output.

Do you know one tat works with an hdmiIN and hdmiOUT board like mine?

 

Thanks balbes150 for remembering it to me.

 

Could you point to me where I can manipulate the memory for graphics or system? (since I dont have video out put)

 

Link to comment
Share on other sites

9 hours ago, haagen said:

Hello, thank you for your reply!

I've tried to copy over these dtb files as I have M8S Box with s812 CPU and 2GB RAM:

 

meson8m2_n200_2G.dtb
meson8m2_n200_2G_LAN100.dtb
meson8m2_n200_2G_M8SPlus.dtb
meson8m2_n200_2G_MXIIIPlus.dtb
meson8m2_n200_2G_SD1.dtb
meson8m2_n200C_2G.dtb
meson8m2_n200C_2G_LAN100.dt

 

But neither of them worked :/, so what else can I try?

 

 

I will provide any info needed.

 

 

you should edit uENV.ini.

Link to comment
Share on other sites

12 hours ago, Gossamer said:

you should edit uENV.ini.

 

Well I did and voala - I didn't expected it, but it booted:

 

Instead of copying dtb file to root folder of BOOT... I specified it in uEnv. Aaand I've also modified bootargs.

My uEnv.ini looks like this:

dtb_name=/dtb/meson8m2_n200C_2G_LAN100.dtb
bootargs=root=LABEL=ROOTFS rootflags=data=writeback rw console=ttyS0,115200n8 console=tty0 no_console_suspend ramoops.mem_address=0x04e00000 ramoops.mem_size=0x100000 ramoops.record_size=0x
8000 ramoops.console_size=0x4000 consoleblank=0 fsck.repair=yes net.ifnames=0 cvbsdrv=0 vdaccfg=0xa000 logo=osd1,loaded,0x7900000,${hdmimode},full cvbsmode=576cvbs

 

I started booting Android, stopped it during boot and called printenv command via UART:

...Took this part from Androids bootargs: ramoops.mem_address=0x04e00000 ramoops.mem_size=0x100000 ramoops.record_size=0x8000 ramoops.console_size=0x4000

I can't really say that I know what it does (luck mostly), but ...it works right ? 


I dont want to kill my SD card, so I would like to move ROOT partiton to eMMC - is there any safe not error prone way to do this?

And my second question .... I don't have DE installed, as I will be using this as Pi-Hole machine which I will access by SSH only. Is it possible to make HDMI work without Xorg running? SO I could see console?

Link to comment
Share on other sites

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

Important Information

Terms of Use - Privacy Policy - Guidelines