[Miscellaneous Android Development] sater2006:
Thank you for updating this including g02ref. MX Linux Installed Successfully but unfortunately device stuck on booting.

Here is the log

~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2013.09.26 18:11:24 =~=~=~=~=~=~=~=~=~=~=~=
EEEE I3000000032940xf300100303;77530EEEE I400000004294_M6_BL1_3003>2137333þCáwait pll-0x03 target is 01bc now it is 0x000001bb

DDR clock is 444MHz with 1T mode

DX0DLLCR:40000000
DX0DQTR:ffffffff
DX0DQSTR:3db05001
DX1DLLCR:40000000
DX1DQTR:ffffffff
DX1DQSTR:3db05001
DX2DLLCR:40000000
DX2DQTR:ffffffff
DX2DQSTR:3db05001
DX3DLLCR:40000000
DX3DQTR:ffffffff
DX3DQSTR:3db05001
Stage 00 Result 00000000
Stage 01 Result 00000000
Stage 02 Result 00000000
Stage 03 Result 00000000
HHH
Boot From SPI0x12345678
Boot from internal device 1st SPI RESERVED

System Started

U-boot-ge7a0cdb-dirty(m6_mbx_v1@moons-0402) (May 22 2013 - 16:30:47)

aml_rtc_init
Clear HDMI KSV RAM
DRAM: 1 GiB
relocation Offset is: 105f8000
NAND: Amlogic nand flash uboot driver, Version U1.05.016 (c) 2010 Amlogic Inc.
No NAND device found!!!
NAND device id: 2c 68 4 4a a9 0
NAND device: Manufacturer ID: 0x2c, Chip ID: 0x2c (Micron C revision NAND 4GiB MT29F32G-C)
1 NAND chips detected
onfi timing mode set failed: 0
#####aml_nand_init, with RB pins and chip->chip_delay:20
bus_cycle=10, bus_timing=10, start_cycle=10, end_cycle=10,system=5.0ns
oob size is not enough for selected bch mode: NAND_BCH60_1K_MODE force bch to mode: NAND_BCH30_1K_MODE
aml_chip->oob_fill_cnt =0,aml_chip->oob_size =224,bch_bytes =54
aml_nand_init:oobmul =2,chip->ecc.layout->oobfree[0].length=16,aml_chip->oob_size=224
aml nand read data ecc plane0 failed at page 1024 chip 0
1 NAND detect Bad block at 400000
aml nand env valid addr: 20000
key start_blk=2040,end_blk=2047,aml_nand_key_init:627
aml nand key valid addr: ff000000
aml nand key valid addr: ff200000
aml nand key valid addr: ff400000
aml nand key valid addr: ff600000
CONFIG_KEYSIZE=0x10000; KEYSIZE=0xfffc; bbt=0x1330; default_keyironment_size=0xeccc
NAND bbt detect factory Bad block at 400000
NAND bbt detect factory Bad block at 5a00000
NAND bbt detect factory Bad block at 6a00000
NAND bbt detect factory Bad block at 19000000
Creating 8 MTD partitions on "nandnormal":
0x000000a00000-0x000001200000 : "logo"
0x000001200000-0x000001a00000 : "aml_logo"
0x000001a00000-0x000002200000 : "recovery"
0x000002200000-0x000002a00000 : "boot"
0x000002a00000-0x000023000000 : "system"
NAND bbt detect factory Bad block at 5a00000
NAND bbt detect factory Bad block at 6a00000
NAND bbt detect factory Bad block at 19000000
0x000023000000-0x000044000000 : "cache"
0x000044000000-0x000054000000 : "backup"
0x000054000000-0x0000ff000000 : "userdata"
NAND bbt detect factory Bad block at 6f000000
NAND bbt detect factory Bad block at 89600000
NAND bbt detect factory Bad block at 8c000000
NAND bbt detect factory Bad block at 91200000
NAND bbt detect factory Bad block at 93e00000
NAND bbt detect factory Bad block at 97000000
NAND bbt detect factory Bad block at 99000000
NAND bbt detect factory Bad block at 9e200000
NAND bbt detect factory Bad block at a1400000
NAND bbt detect factory Bad block at a1c00000
NAND bbt detect factory Bad block at c0000000
NAND bbt detect factory Bad block at c5000000
NAND bbt detect factory Bad block at dac00000
NAND bbt detect factory Bad block at df800000
NAND bbt detect factory Bad block at ef600000
NAND bbt detect factory Bad block at f8a00000
nandnormal initialized ok
MMC: SDIO Port B: 0
SF: Detected MX25L3205D with page size 256, total 4 MiB

SPI NOR Flash have write protect!!!
In: serial
Out: serial
Err: serial
aml_i2c_init
register usb cfg[0] = 9fe85d48
SARADC open channel(5).
SARADC channel(5) is 0x3f9.
HDMI plug!
Net: Meson_Ethernet
init suspend firmware done. (ret:0)
reboot_mode=charging
Hit any key to stop autoboot: 1 0
Booting from nand ...

NAND read: aml_logo offset 0x0, size 0x400000
4194304 bytes read: OK

NAND read: boot offset 0x0, size 0x600000
6291456 bytes read: OK
pre-clear hdmi ram
i=0,register --- nand_keyamlkeys=0
name=nand_key nand_key
read:addr:0xff000000,phy_blk_addr:2040,phy_page_addr:0,aml_nand_get_key:125
init key ok!!
don't found keyname,uboot_key_read:1455
prefetch hdcp keys from nand failed
## Booting kernel from Legacy Image at 82000000 ...
Image Name: Linux-3.0.96
Image Type: ARM Linux Kernel Image (lzma compressed)
Data Size: 3269744 Bytes = 3.1 MiB
Load Address: 80008000
Entry Point: 80008000
Verifying Checksum ... OK
Uncompressing Kernel Image ... OK
machid from environment: 0x4e27
EFUSE machid is not set.
Using machid 0x4e27 from environment

Starting kernel ...

[ 0.000000@0] Initializing cgroup subsys cpu
[ 0.000000@0] Linux version 3.0.96 (croniccorey@CronMod-DEV) (gcc version 4.7.3 20130328 (prerelease) (crosstool-NG linaro-1.13.1-4.7-2013.04-20130415 - Linaro GCC 2013.04) ) #1 SMP PREEMPT Thu Sep 26 07:31:17 EDT 2013
[ 0.000000@0] CPU: ARMv7 Processor [413fc090] revision 0 (ARMv7), cr=10c53c7d
[ 0.000000@0] CPU: VIPT nonaliasing data cache, VIPT aliasing instruction cache
[ 0.000000@0] Machine: Amlogic Meson6 g18 MX2 platform
[ 0.000000@0] Ignoring unrecognised tag 0x00000000
[ 0.000000@0] Memory policy: ECC disabled, Data cache writealloc
[ 0.000000@0] PERCPU: Embedded 7 pages/cpu [MENTION=655116]c11[/MENTION]d7000 s5376 r8192 d15104 u32768
[ 0.000000@0] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 204032
[ 0.000000@0] Kernel command line: root=/dev/cardblksd2 rw rootfstype=ext3 rootwait init=/init console=ttyS0,115200n8 logo=osd1,0x84100000,1080p,full androidboot.resolution=1080p nohlt vmalloc=256m mem=1024m a9_clk_max=1512000000 mac=00:15:18:04:cd:32 root=/dev/system rootfstype=ext4 a9_clk=800M clk81=187500000 init=/sbin/init hdmitx=true
[ 0.000000@0] osd1:1
[ 0.000000@0] 1080p:8
[ 0.000000@0] full:2
[ 0.000000@0] ******** uboot setup mac-addr: 0:15:18:4:cd:32
[ 0.000000@0] HDMI DEBUG: hdmitx_boot_para_setup [1872]
[ 0.000000@0] PID hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.000000@0] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[ 0.000000@0] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[ 0.000000@0] Memory: 64MB 229MB 512MB = 805MB total
[ 0.000000@0] Memory: 807308k/807308k available, 17012k reserved, 524288K 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] DMA : 0xffc00000 - 0xffe00000 ( 2 MB)
[ 0.000000@0] vmalloc : 0xe0000000 - 0xf0000000 ( 256 MB)
[ 0.000000@0] lowmem : 0xc0000000 - 0xdff00000 ( 511 MB)
[ 0.000000@0] pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB)
[ 0.000000@0] modules : 0xbf000000 - 0xbfe00000 ( 14 MB)
[ 0.000000@0] .init : 0xc0008000 - 0xc0032000 ( 168 kB)
[ 0.000000@0] .text : 0xc0032000 - 0xc07e1b24 (7871 kB)
[ 0.000000@0] .data : 0xc07e2000 - 0xc08376a0 ( 342 kB)
[ 0.000000@0] .bss : 0xc08376c4 - 0xc09cd6b0 (1624 kB)
[ 0.000000@0] SLUB: Genslabs=13, HWalign=32, Order=0-3, MinObjects=0, CPUs=2, 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] gic_init: irq_offset=0
[ 0.000000@0] sched_clock: 32 bits at 1000kHz, resolution 1000ns, wraps every 4294967ms
[ 0.000000@0] MESON TIMER-A c07f1320
[ 0.000000@0] Disable timerA
[ 0.000000@0] Console: colour dummy device 80x30
[ 0.000000@0] console [ttyS0] enabled
[ 0.260001@0] Calibrating delay loop... 2387.14 BogoMIPS (lpj=11935744)
[ 0.320049@0] pid_max: default: 32768 minimum: 301
[ 0.322257@0] Mount-cache hash table entries: 512
[ 0.327530@0] Initializing cgroup subsys cpuacct
[ 0.331417@0] Initializing cgroup subsys freezer
[ 0.335991@0] CPU: Testing write buffer coherency: ok
[ 0.341185@0] MESON TIMER-B c07f13e0
[ 0.344530@0] Disable timerA
[ 0.347386@0] Disable timerB
[ 0.350256@0] Disable timerA
[ 0.353247@0] L310 cache controller enabled
[ 0.357282@0] l2x0: 8 ways, CACHE_ID 0x4100a0c8, AUX_CTRL 0x7e462c01, Cache size: 524288 B
[ 0.365581@0] prefetch=0x31000006
[ 0.368911@0] ===actlr=0x41
[ 0.371694@0] ===actlr=0x4b
[ 0.374466@0] SCU_CTRL: scu_ctrl=0x69
[ 0.378112@0] pl310: aux=0x7e462c01, prefetch=0x31000006
[ 0.481498@1] CPU1: Booted secondary processor
[ 0.541210@1] MESON TIMER-D c07f1560
[ 0.541243@0] Brought up 2 CPUs
[ 0.541251@0] SMP: Total of 2 processors activated (4780.85 BogoMIPS).
[ 0.553203@1] Disable timerD
[ 0.556225@0] devtmpfs: initialized
[ 0.563455@0] clkrate [ xtal ] : 24000000
[ 0.563531@0] clkrate [ pll_sys ] : 1200000000
[ 0.567957@0] clkrate [ pll_fixed ] : 2000000000
[ 0.572573@0] clkrate [ pll_vid2 ] : 378000000
[ 0.576984@0] clkrate [ pll_hpll ] : 378000000
[ 0.581484@0] clkrate [ pll_ddr ] : 444000000
[ 0.585750@0] clkrate [ a9_clk ] : 1200000000
[ 0.590154@0] clkrate [ clk81 ] : 200000000
[ 0.594359@0] clkrate [ usb0 ] : 0
[ 0.597738@0] clkrate [ usb1 ] : 0
[ 0.602101@0] print_constraints: dummy:
[ 0.605060@0] NET: Registered protocol family 16
[ 0.610511@0] ***vcck: vcck_pwm_initregister lm device 0
[ 0.614931@0] register lm device 1
[ 0.621014@0] usb_wifi_power Off
[ 0.621568@0] chip version=bfabbd77
[ 0.625008@0] vdac_switch_init_module
[ 0.628567@0] vdac_switch mode = 0
[ 0.632113@0] tv_init_module
[ 0.634795@0] major number 254 for disp

[ 0.638697@0] vout_register_server
[ 0.642091@0] register tv module server ok

[ 0.646417@0] major number 0 for disp

[ 0.650068@0] register tv module server ok

[ 0.654443@0] video2_early_init enter
[ 0.657967@0] video2_early_init exit
[ 0.661535@0] drivers/amlogic/i2c/aml_i2c.c : aml_i2c_init
[ 0.667014@0] drivers/amlogic/i2c/aml_i2c.c : aml_i2c_probe
[ 0.672559@0] master_no = 0, resource = c07f4414, maseter_regs=f1108500
[ 0.679280@0] aml-i2c aml-i2c.0: add adapter aml_i2c_adap0(df811828)
[ 0.685491@0] aml-i2c aml-i2c.0: aml i2c bus driver.
[ 0.690524@0] drivers/amlogic/i2c/aml_i2c.c : aml_i2c_probe
[ 0.695994@0] master_no = 1, resource = c07f446c, maseter_regs=f11087c0
[ 0.702692@0] aml-i2c aml-i2c.1: add adapter aml_i2c_adap1(df812028)
[ 0.708918@0] aml-i2c aml-i2c.1: aml i2c bus driver.
[ 0.713960@0] drivers/amlogic/i2c/aml_i2c.c : aml_i2c_probe
[ 0.719421@0] master_no = 2, resource = c07f44c4, maseter_regs=f3100500
[ 0.726123@0] aml-i2c aml-i2c.2: add adapter aml_i2c_adap2(df812828)
[ 0.732362@0] aml-i2c aml-i2c.2: aml i2c bus driver.
[ 0.737462@0] HDMI DEBUG: amhdmitx_init [1773]
[ 0.741751@0] HDMI DEBUG: amhdmitx_probe [1583]
[ 0.746542@1] Set HDMI:Chip C
[ 0.749193@1] HDMI DEBUG: HDMITX_M1B_Init [3328]
[ 0.753826@1] HDMI DEBUG: HDMITX_M1B_Init [3331]
[ 0.753831@0] HDMI: get hdmi platform data
[ 0.753836@0] HDMI 5V Power On
[ 0.756067@0] ------------[ cut here ]------------
[ 0.756101@0] WARNING: at fs/sysfs/dir.c:455 sysfs_add_one+0x88/0xbc()
[ 0.756107@0] sysfs: cannot create duplicate filename '/module/hdmitx/version'
[ 0.756112@0] Modules linked in:
[ 0.756159@0] [<c003ed00>] (unwind_backtrace+0x0/0xf8) from [<c005dbe8>] (warn_slowpath_common+0x4c/0x64)
[ 0.756175@0] [<c005dbe8>] (warn_slowpath_common+0x4c/0x64) from [<c005dc94>] (warn_slowpath_fmt+0x30/0x40)
[ 0.756188@0] [<c005dc94>] (warn_slowpath_fmt+0x30/0x40) from [<c011bcb8>] (sysfs_add_one+0x88/0xbc)
[ 0.756204@0] [<c011bcb8>] (sysfs_add_one+0x88/0xbc) from [<c011adcc>] (sysfs_add_file_mode+0x44/0x9c)
[ 0.756227@0] [<c011adcc>] (sysfs_add_file_mode+0x44/0x9c) from [<c000fbfc>] (param_sysfs_init+0x70/0x1b8)
[ 0.756242@0] [<c000fbfc>] (param_sysfs_init+0x70/0x1b8) from [<c00326cc>] (do_one_initcall+0x110/0x178)
[ 0.756256@0] [<c00326cc>] (do_one_initcall+0x110/0x178) from [<c0008994>] (kernel_init+0x98/0x13c)
[ 0.756276@0] [<c0008994>] (kernel_init+0x98/0x13c) from [<c0039280>] (kernel_thread_exit+0x0/0x8)
[ 0.756302@0] ---[ end trace 1b75b31a2719ed1c ]---
[ 0.804900@0] bio: create slab <bio-0> at 0
[ 0.806024@0] SCSI subsystem initialized
[ 0.806324@0] usbcore: registered new interface driver usbfs
[ 0.806611@0] usbcore: registered new interface driver hub
[ 0.806789@0] usbcore: registered new device driver usb
[ 0.807489@0] [0x1b7e] = 0xff
[ 0.807493@0] [0x105f] = 0x0
[ 0.807496@0] [0x109d] = 0x814d3928
[ 0.807500@0] [0x109e] = 0x6b425012
[ 0.807504@0] [0x109f] = 0x110
[ 0.807507@0] [0x109c] = 0x1043e
[ 0.807511@0] [0x1066] = 0x10843
[ 0.807514@0] [0x1059] = 0x100
[ 0.807517@0] [0x105f] = 0x80000
[ 0.807521@0] [0x105f] = 0x88001
[ 0.807524@0] [0x105f] = 0x80003
[ 0.807528@0] [0x104a] = 0x101
[ 0.807531@0] [0x1bb8] = 0x1052
[ 0.807534@0] [0x1b62] = 0x1
[ 0.807538@0] [0x1b8d] = 0x4040
[ 0.807541@0] [0x1b8e] = 0x18
[ 0.807544@0] [0x1b94] = 0x8c
[ 0.807548@0] [0x1b95] = 0x80c
[ 0.807551@0] [0x1b97] = 0x897
[ 0.807554@0] [0x1b98] = 0x86c
[ 0.807558@0] [0x1b99] = 0x2c
[ 0.807561@0] [0x1b9a] = 0x2c
[ 0.807564@0] [0x1b9b] = 0x8c
[ 0.807568@0] [0x1b9c] = 0x80b
[ 0.807571@0] [0x1b9d] = 0x0
[ 0.807574@0] [0x1b9e] = 0x4
[ 0.807578@0] [0x1ba4] = 0x94
[ 0.807581@0] [0x1ba3] = 0x813
[ 0.807584@0] [0x1ba6] = 0x29
[ 0.807588@0] [0x1baf] = 0x460
[ 0.807591@0] [0x1ba7] = 0x2c
[ 0.807594@0] [0x1ba8] = 0x86c
[ 0.807597@0] [0x1ba9] = 0x834
[ 0.807601@0] [0x1baa] = 0x874
[ 0.807604@0] [0x1bab] = 0x0
[ 0.807607@0] [0x1bac] = 0x5
[ 0.807611@0] [0x1bae] = 0x464
[ 0.807614@0] [0x271a] = 0xa
[ 0.807617@0] [0x1b68] = 0x100
[ 0.807621@0] [0x1b60] = 0x0
[ 0.807624@0] [0x1b6e] = 0x200
[ 0.807627@0] [0x1b58] = 0x0
[ 0.807631@0] [0x1b7e] = 0x0
[ 0.807634@0] [0x1b78] = 0x1
[ 0.807637@0] [0x1b79] = 0x1
[ 0.807640@0] [0x1b7a] = 0x1
[ 0.807643@0] [0x1b7b] = 0x1
[ 0.807647@0] [0x1b7c] = 0x1
[ 0.807650@0] [0x1b7d] = 0x1
[ 0.807653@0] [0x1bfc] = 0x1000
[ 0.807657@0] [0x1c0d] = 0x3102
[ 0.807660@0] [0x1c0e] = 0x54
[ 0.807663@0] [0x1b57] = 0x0
[ 0.807666@0] [0x1b80] = 0x1
[ 0.807671@0] tvoutc_setmode[267]
[ 0.807675@0] mode is: 8
[ 0.807682@0] VPU_VIU_VENC_MUX_CTRL: 0xa
[ 0.807685@0] viu chan = 1
[ 0.807688@0] VPU_VIU_VENC_MUX_CTRL: 0xa
[ 0.844633@0] request_fiq:152: fiq=35
[ 0.844651@0] request_fiq:186: end
[ 0.881491@0] print_constraints: vcck: 1010 <--> 1210 mV at 1380 mV
[ 0.882050@0] Advanced Linux Sound Architecture Driver Version 1.0.24.
[ 0.883788@0] Switching to clocksource Timer-E
[ 1.093963@0] cfg80211: Calling CRDA to update world regulatory domain
[ 1.094261@1] HDMI DEBUG: hdmi_hw_init [1221]
[ 1.094280@1] HDMI: get brd phy data
[ 1.094284@1] hdmi phy setting
[ 1.094353@1] HDMI: get brd phy data
[ 1.094356@1] hdmi phy setting
[ 1.095158@1] HDMI: reset intr mask
[ 1.101253@1] Switched to NOHz mode on CPU #1
[ 1.113967@1] HDMI DEBUG: hdmi_task_handle [1218]
[ 1.130438@0] Reg0x196 = 0x2 Reg0x80 = 0x1 Reg0x26 = 0xc
[ 1.135897@0] HDMI irq 1
[ 1.138406@0] Reg0x196 = 0x42 Reg0x80 = 0x1 Reg0x26 = 0x4c
[ 1.144070@0] Switched to NOHz mode on CPU #0
[ 1.146933@1] NET: Registered protocol family 2
[ 1.147074@1] IP route cache hash table entries: 16384 (order: 4, 65536 bytes)
[ 1.147498@1] TCP established hash table entries: 65536 (order: 7, 524288 bytes)
[ 1.148183@1] TCP bind hash table entries: 65536 (order: 7, 786432 bytes)
[ 1.149084@1] TCP: Hash tables configured (established 65536 bind 65536)
[ 1.149094@1] TCP reno registered
[ 1.149107@1] UDP hash table entries: 256 (order: 1, 8192 bytes)
[ 1.149123@1] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[ 1.149447@1] NET: Registered protocol family 1
[ 1.201394@1] highmem bounce pool size: 64 pages
[ 1.206179@1] ashmem: initialized