Skip to content

Instantly share code, notes, and snippets.

@luftreich
Created July 16, 2014 12:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save luftreich/cd7e21954857f67e99b1 to your computer and use it in GitHub Desktop.
Save luftreich/cd7e21954857f67e99b1 to your computer and use it in GitHub Desktop.
ok_nand_boot_Std
U-boot-00000-g38a523d-dirty(m6_mbx_th10@jb-mr1-timehold-new) (Apr 11 2014 - 09:33:23)
aml_rtc_init
aml rtc init first time!
Clear HDMI KSV RAM
DRAM: 1 GiB
relocation Offset is: 105e8000
NAND: Amlogic nand flash uboot driver, Version U1.06.017 (c) 2010 Amlogic Inc.
SPI BOOT : continue i 0
No NAND device found!!!
NAND device id: 2c 64 44 4b a9 0
NAND device: Manufacturer ID: 0x2c, Chip ID: 0x2c (Micron B revision NAND 8GiB MT29F64G08CBABA)
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 mode: NAND_BCH40_1K_MODE
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 : NAND_SINGLE_PLANE_MODE
aml_nand_init:oobmul =1,chip->ecc.layout->oobfree[0].length=32,aml_chip->oob_size=744
aml nand env valid addr: 8000
key start_blk=4088,end_blk=4095,aml_nand_key_init:684
aml nand key valid addr: 1ff000000
aml nand key valid addr: 1ff200000
aml nand key valid addr: 1ff400000
aml nand key valid addr: 1ff600000
CONFIG_KEYSIZE=0x10000; KEYSIZE=0xfffc; bbt=0x1330; default_keyironment_size=0xeccc
i=0,register --- nand_key
NAND bbt detect factory Bad block at b400000
NAND bbt detect factory Bad block at b600000
Creating 8 MTD partitions on "nandnormal":
0x000000800000-0x000001000000 : "logo"
0x000001000000-0x000001800000 : "aml_logo"
0x000001800000-0x000002000000 : "recovery"
0x000002000000-0x000002800000 : "boot"
0x000002800000-0x000042c00000 : "system"
NAND bbt detect factory Bad block at b400000
NAND bbt detect factory Bad block at b600000
0x000042c00000-0x000062c00000 : "cache"
0x000062c00000-0x000072c00000 : "backup"
0x000072c00000-0x0001ff000000 : "data"
NAND bbt detect factory Bad block at dca00000
NAND bbt detect factory Bad block at e2a00000
NAND bbt detect factory Bad block at f5800000
NAND bbt detect factory Bad block at f7800000
nandnormal initialized ok
detect mx chiprevD :1 and nand_type: 40
nand_curr_device =1
MMC: SDIO Port B: 0, SDIO Port C: 1
SPI BOOT,spi_env_relocate_spec : env_relocate_spec 53
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] = 9fe828bc
Net: Meson_Ethernet
init suspend firmware done. (ret:0)
detect_storage
nand exist return 0
setenv storage nand
reboot_mode(0xc8100004)=0x0
reboot_mode=charging
SARADC open channel(4).
SARADC open channel(4).
ir init
switch_boot_mode
suspend_status_current2=0
Unknown command 'suspend' - try 'help'
efuse version is not selected.
Hit any key to stop autoboot: 1  0
compatible nand
Booting from nand ...
NAND read: logo whole chip
8388608 bytes read: OK
NAND read: boot offset 0x0, size 0x600000
6291456 bytes read: OK
pre-clear hdmi ram
hdcp get form storage medium: nand
name=nand_key nand_key
read:addr:0x1ff000000,phy_blk_addr:4088,phy_page_addr:0,aml_nand_get_key:125
device:nand, init key ok!!
don't found keyname,uboot_key_read:1502
prefetch hdcp keys from nand failed
## Booting kernel from Legacy Image at 82000000 ...
Image Name: Linux-3.0.50-00014-g15ddc5b-dirt
Image Type: ARM Linux Kernel Image (lzma compressed)
Data Size: 3274523 Bytes = 3.1 MiB
Load Address: 80008000
Entry Point: 80008000
Verifying Checksum ... OK
Ramdisk start addr = 0x82320000, len = 0x100e52
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.50-00014-g15ddc5b-dirty (spink@timehold-To-be-filled-by-O-E-M) (gcc version 4.6.x-google 20120106 (prerelease) (GCC) ) #1 SMP PREEMPT Fri Apr 11 11:13:24 CST 2014
[ 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 g02 customer platform
[ 0.000000@0] Ignoring unrecognised tag 0x00000000
[ 0.000000@0] early_mem:528: start=0x80000000, size=0x4000000
[ 0.000000@0] early_mem:546: start=0x92b00000, size=0xd400000
[ 0.000000@0] early_mem:554: start=0xa0000000, size=0x20000000
[ 0.000000@0] Memory policy: ECC disabled, Data cache writealloc
[ 0.000000@0] PERCPU: Embedded 7 pages/cpu @c11ef000 s5600 r8192 d14880 u32768
[ 0.000000@0] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 199680
[ 0.000000@0] Kernel command line: root=/dev/cardblksd2 rw rootfstype=ext3 rootwait init=/init console=ttyS0,115200n8 logo=osd1,0x84100000,720p50hz,full androidboot.resolution=720p50hz hdmimode=720p50hz cvbsmode=480cvbs hlt vmalloc=256m mem=1024m a9_clk_max=1512000000 vdachwswitch=component hdmitx=
[ 0.000000@0] osd1:1
[ 0.000000@0] 720p50hz:9
[ 0.000000@0] full:2
[ 0.000000@0] kernel get hdmimode form uboot is 720p50hz
[ 0.000000@0] kernel get cvbsmode form uboot is 480cvbs
[ 0.000000@0] HDMI DEBUG: hdmitx_boot_para_setup [1958]
[ 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 212MB 512MB = 788MB total
[ 0.000000@0] Memory: 788904k/788904k available, 18008k 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 - 0xc0036000 ( 184 kB)
[ 0.000000@0] .text : 0xc0036000 - 0xc07f5d7c (7936 kB)
[ 0.000000@0] .data : 0xc07f6000 - 0xc084fda0 ( 360 kB)
[ 0.000000@0] .bss : 0xc084fdc4 - 0xc09e5318 (1622 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 c0809ec0
[ 0.000000@0] Disable timerA
[ 0.000000@0] Console: colour dummy device 80x30
[ 0.000000@0] console [ttyS0] enabled
[ 0.277183@0] Calibrating delay loop... 2387.14 BogoMIPS (lpj=11935744)
[ 0.340047@0] pid_max: default: 32768 minimum: 301
[ 0.342243@0] Mount-cache hash table entries: 512
[ 0.347508@0] Initializing cgroup subsys cpuacct
[ 0.351409@0] Initializing cgroup subsys freezer
[ 0.355988@0] CPU: Testing write buffer coherency: ok
[ 0.361162@0] MESON TIMER-B c0809f80
[ 0.364528@0] Disable timerA
[ 0.367384@0] Disable timerB
[ 0.370253@0] Disable timerA
[ 0.373234@0] L310 cache controller enabled
[ 0.377281@0] l2x0: 8 ways, CACHE_ID 0x4100a0c8, AUX_CTRL 0x7e462c01, Cache size: 524288 B
[ 0.385577@0] prefetch=0x31000006
[ 0.388909@0] ===actlr=0x41
[ 0.391693@0] ===actlr=0x4b
[ 0.394464@0] SCU_CTRL: scu_ctrl=0x69
[ 0.398110@0] pl310: aux=0x7e462c01, prefetch=0x31000006
[ 0.501456@1] CPU1: Booted secondary processor
[ 0.561186@1] MESON TIMER-D c080a100
[ 0.561210@0] Brought up 2 CPUs
[ 0.561219@0] SMP: Total of 2 processors activated (4780.85 BogoMIPS).
[ 0.573180@1] Disable timerD
[ 0.576200@0] devtmpfs: initialized
[ 0.583334@0] clkrate [ xtal ] : 24000000
[ 0.583507@0] clkrate [ pll_sys ] : 1200000000
[ 0.587933@0] clkrate [ pll_fixed ] : 2000000000
[ 0.592548@0] clkrate [ pll_vid2 ] : 378000000
[ 0.596959@0] clkrate [ pll_hpll ] : 378000000
[ 0.601474@0] clkrate [ pll_ddr ] : 516000000
[ 0.605726@0] clkrate [ a9_clk ] : 1200000000
[ 0.610130@0] clkrate [ clk81 ] : 200000000
[ 0.614336@0] clkrate [ usb0 ] : 0
[ 0.617714@0] clkrate [ usb1 ] : 0
[ 0.622054@0] print_constraints: dummy:
[ 0.625052@0] NET: Registered protocol family 16
[ 0.630376@0] ***vcck: vcck_pwm_initregister lm device 0
[ 0.634899@0] register lm device 1
[ 0.640684@0] usb_wifi_power Off
[ 0.641558@0] chip version=ff00ff00
[ 0.644971@0] vdac_switch_init_module
[ 0.648542@0] vdac_switch mode = 1
[ 0.652094@0] tv_init_module
[ 0.654772@0] major number 254 for disp
[ 0.658673@0] vout_register_server
[ 0.662310@0] register tv module server ok
[ 0.666462@1] /home/spink/work/mxbox_4.2/common/drivers/amlogic/i2c/aml_i2c.c : aml_i2c_init
[ 0.674768@1] /home/spink/work/mxbox_4.2/common/drivers/amlogic/i2c/aml_i2c.c : aml_i2c_probe
[ 0.683248@1] master_no = 0, resource = c08468c4, maseter_regs=f1108500
[ 0.689997@1] aml-i2c aml-i2c.0: add adapter aml_i2c_adap0(df8a0028)
[ 0.696181@1] aml-i2c aml-i2c.0: aml i2c bus driver.
[ 0.701229@1] /home/spink/work/mxbox_4.2/common/drivers/amlogic/i2c/aml_i2c.c : aml_i2c_probe
[ 0.709628@1] master_no = 1, resource = c084691c, maseter_regs=f11087c0
[ 0.716339@1] aml-i2c aml-i2c.1: add adapter aml_i2c_adap1(df8a0828)
[ 0.722567@1] aml-i2c aml-i2c.1: aml i2c bus driver.
[ 0.727596@1] /home/spink/work/mxbox_4.2/common/drivers/amlogic/i2c/aml_i2c.c : aml_i2c_probe
[ 0.736022@1] master_no = 2, resource = c0846974, maseter_regs=f3100500
[ 0.742713@1] aml-i2c aml-i2c.2: add adapter aml_i2c_adap2(df8a1028)
[ 0.748946@1] aml-i2c aml-i2c.2: aml i2c bus driver.
[ 0.754059@1] HDMI DEBUG: amhdmitx_init [1858]
[ 0.758321@1] HDMI Ver: 2013Aug25a
[ 0.761728@1] HDMI DEBUG: amhdmitx_probe [1658]
[ 0.766545@1] Set HDMI:Chip C
[ 0.769177@1] HDMI: get hdmi platform data
[ 0.773258@1] HDMI 5V Power On
[ 0.776340@1] HDMI DEBUG: HDMITX_M1B_Init [3483]
[ 0.780891@1] HDMI DEBUG: HDMITX_M1B_Init [3486]
[ 0.785543@1] HDMI DEBUG: hdmi_hw_init [1249]
[ 0.789878@1] HDMI: get brd phy data
[ 0.793435@1] hdmi phy setting
[ 0.796552@1] HDMI: get brd phy data
[ 0.800009@1] hdmi phy setting
[ 0.803709@1] HDMI: reset intr mask
[ 0.806863@1] ------------[ cut here ]------------
[ 0.811299@1] WARNING: at /home/spink/work/mxbox_4.2/common/fs/sysfs/dir.c:455 sysfs_add_one+0x88/0xbc()
[ 0.820729@1] sysfs: cannot create duplicate filename '/module/hdmitx/version'
[ 0.827949@1] HDMI DEBUG: hdmi_task_handle [1260]
[ 0.831246@0] Modules linked in:
[ 0.831286@0] [<c0042b44>] (unwind_backtrace+0x0/0xf8) from [<c0060ee0>] (warn_slowpath_common+0x4c/0x64)
[ 0.831301@0] [<c0060ee0>] (warn_slowpath_common+0x4c/0x64) from [<c0060f8c>] (warn_slowpath_fmt+0x30/0x40)
[ 0.831316@0] [<c0060f8c>] (warn_slowpath_fmt+0x30/0x40) from [<c0120908>] (sysfs_add_one+0x88/0xbc)
[ 0.831332@0] [<c0120908>] (sysfs_add_one+0x88/0xbc) from [<c011fa4c>] (sysfs_add_file_mode+0x4c/0x9c)
[ 0.831356@0] [<c011fa4c>] (sysfs_add_file_mode+0x4c/0x9c) from [<c000fa64>] (param_sysfs_init+0x70/0x1b0)
[ 0.831376@0] [<c000fa64>] (param_sysfs_init+0x70/0x1b0) from [<c003670c>] (do_one_initcall+0xfc/0x164)
[ 0.831390@0] [<c003670c>] (do_one_initcall+0xfc/0x164) from [<c0008988>] (kernel_init+0x98/0x13c)
[ 0.831408@0] [<c0008988>] (kernel_init+0x98/0x13c) from [<c003d0c0>] (kernel_thread_exit+0x0/0x8)
[ 0.831434@0] ---[ end trace 1b75b31a2719ed1c ]---
[ 0.878349@0] bio: create slab <bio-0> at 0
[ 0.879400@0] SCSI subsystem initialized
[ 0.879712@0] usbcore: registered new interface driver usbfs
[ 0.879959@0] usbcore: registered new interface driver hub
[ 0.880132@0] usbcore: registered new device driver usb
[ 0.880778@0] tvoutc_setmode[267]
[ 0.880783@0] mode is: 1
[ 0.880789@0] VPU_VIU_VENC_MUX_CTRL: 0x5
[ 0.880792@0] viu chan = 1
[ 0.880795@0] VPU_VIU_VENC_MUX_CTRL: 0x5
[ 0.953898@0] request_fiq:152: fiq=35
[ 0.953916@0] request_fiq:186: end
[ 0.979116@0] print_constraints: vcck: 1070 <--> 1330 mV at 1330 mV
[ 0.980275@0] Advanced Linux Sound Architecture Driver Version 1.0.24.
[ 0.987319@0] cfg80211: Calling CRDA to update world regulatory domain
[ 0.995658@0] Switching to clocksource Timer-E
[ 1.001204@0] Switched to NOHz mode on CPU #0
[ 1.001211@1] Switched to NOHz mode on CPU #1
[ 1.012800@1] NET: Registered protocol family 2
[ 1.012934@1] IP route cache hash table entries: 16384 (order: 4, 65536 bytes)
[ 1.019213@1] TCP established hash table entries: 65536 (order: 7, 524288 bytes)
[ 1.026937@1] TCP bind hash table entries: 65536 (order: 7, 786432 bytes)
[ 1.033819@1] TCP: Hash tables configured (established 65536 bind 65536)
[ 1.039742@1] TCP reno registered
[ 1.043035@1] UDP hash table entries: 256 (order: 1, 8192 bytes)
[ 1.049040@1] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[ 1.055699@1] NET: Registered protocol family 1
[ 1.060159@1] Unpacking initramfs...
[ 1.115587@1] Freeing initrd memory: 1024K
[ 1.116756@1] highmem bounce pool size: 64 pages
[ 1.118938@1] ashmem: initialized
[ 1.132669@1] NTFS driver 2.1.30 [Flags: R/O].
[ 1.133054@1] fuse init (API version 7.16)
[ 1.136162@1] msgmni has been set to 518
[ 1.140406@1] io scheduler noop registered
[ 1.143533@1] io scheduler deadline registered (default)
[ 1.306686@1] loop: module loaded
[ 1.308899@1] tun: Universal TUN/TAP device driver, 1.6
[ 1.309566@1] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
[ 1.316415@1] usbcore: registered new interface driver asix
[ 1.321626@1] usbcore: registered new interface driver cdc_ether
[ 1.327571@1] usbcore: registered new interface driver net1080
[ 1.333359@1] usbcore: registered new interface driver cdc_subset
[ 1.339472@1] usbcore: registered new interface driver zaurus
[ 1.345078@1] cdc_ncm: 04-Aug-2011
[ 1.348586@1] usbcore: registered new interface driver cdc_ncm
[ 1.354367@1] usbcore: registered new interface driver qf9700
[ 1.360104@1] usbcore: registered new interface driver sr9600
[ 1.366076@1] usbcore: registered new interface driver cdc_acm
[ 1.371556@1] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[ 1.379706@1] Initializing USB Mass Storage driver...
[ 1.384846@1] usbcore: registered new interface driver usb-storage
[ 1.390906@1] USB Mass Storage support registered.
[ 1.395878@1] usbcore: registered new interface driver usbserial
[ 1.401670@1] usbserial: USB Serial Driver core
[ 1.406256@1] USB Serial support registered for GSM modem (1-port)
[ 1.412464@1] usbcore: registered new interface driver option
[ 1.418077@1] option: v0.7.2:USB Driver for GSM modems
[ 1.423957@1] mousedev: PS/2 mouse device common for all mice
[ 1.430114@1] usbcore: registered new interface driver iforce
[ 1.435691@1] usbcore: registered new interface driver xpad
[ 1.441212@1] i2c /dev entries driver
[ 1.444904@1] lirc_dev: IR Remote Control driver registered, major 250
[ 1.450456@1] IR NEC protocol handler initialized
[ 1.455128@1] IR RC5(x) protocol handler initialized
[ 1.460086@1] IR RC6 protocol handler initialized
[ 1.464762@1] IR JVC protocol handler initialized
[ 1.469457@1] IR Sony protocol handler initialized
[ 1.474223@1] IR RC5 (streamzap) protocol handler initialized
[ 1.479959@1] IR LIRC bridge handler initialized
[ 1.484552@1] Linux video capture interface: v2.00
[ 1.489574@1] usbcore: registered new interface driver uvcvideo
[ 1.495228@1] USB Video Class driver (v1.1.0)
[ 1.500394@1] device-mapper: uevent: version 1.0.3
[ 1.505005@1] device-mapper: ioctl: 4.20.0-ioctl (2011-02-02) initialised: dm-devel@redhat.com
[ 1.513222@1] cpuidle: using governor ladder
[ 1.517191@1] cpuidle: using governor menu
[ 1.521775@1] usbcore: registered new interface driver usbhid
[ 1.526998@1] usbhid: USB HID core driver
[ 1.531769@1] logger: created 256K log 'log_main'
[ 1.535922@1] logger: created 256K log 'log_events'
[ 1.540800@1] logger: created 256K log 'log_radio'
[ 1.545541@1] logger: created 256K log 'log_system'
[ 1.550301@1] vout_init_module
[ 1.553251@1] start init vout module
[ 1.557038@1] create vout attribute ok
[ 1.561054@1] ge2d_init
[ 1.563373@1] ge2d_dev major:249
[ 1.567113@1] ge2d start monitor
[ 1.570029@1] osd_init
[ 1.572347@1] [osd0] 0x84100000-0x850fffff
[ 1.576618@1] Frame buffer memory assigned at phy:0x84100000, vir:0xe1000000, size=16384K
[ 1.584566@1] ge2d workqueue monitor start
[ 1.588729@1] ---------------clear framebuffer0 memory
[ 1.605927@1] [osd1] 0x85100000-0x851fffff
[ 1.605978@1] Frame buffer memory assigned at phy:0x85100000, vir:0xe0200000, size=1024K
[ 1.612467@1] init fbdev bpp is :24
[ 1.631581@0] osd probe ok
[ 1.634754@0] amlvideo-000: V4L2 device registered as video10
[ 1.635524@0] set pinmux c0846ba8
[ 1.677340@0] UART_ttyS0:(irq = 122)
[ 1.677483@1] dwc_otg: version 2.94a 05-DEC-2012
[ 2.179126@1] USB (0) use clock source: XTAL input
[ 2.379920@1] Core Release: 2.94a
[ 2.379940@1] Setting default values for core params
[ 2.782075@1] Using Buffer DMA mode
[ 2.782097@1] OTG VER PARAM: 1, OTG VER FLAG: 1
[ 2.784429@1] Working on port type = OTG
[ 2.788341@1] Current port type: SLAVE
[ 2.792130@1] dwc_otg lm0: DWC OTG Controller
[ 2.796487@1] dwc_otg lm0: new USB bus registered, assigned bus number 1
[ 2.803126@1] dwc_otg lm0: irq 62, io mem 0x00000000
[ 2.808898@1] hub 1-0:1.0: USB hub found
[ 2.811953@1] hub 1-0:1.0: 1 port detected
[ 2.816283@1] Dedicated Tx FIFOs mode
[ 2.819834@1] using timer detect id change, df90c800
[ 2.927323@1] HOST mode
[ 3.034463@1] Core Release: 2.94a
[ 3.034484@1] Setting default values for core params
[ 3.137405@0] Using Buffer DMA mode
[ 3.137429@0] OTG VER PARAM: 1, OTG VER FLAG: 1
[ 3.190376@0] Init: Port Power? op_state=1
[ 3.190398@0] Init: Power Port (0)
[ 3.192213@0] set_usb_a_vbus_power: power_on = 0x1
[ 3.436652@1] Using Buffer DMA mode
[ 3.436675@1] OTG VER PARAM: 1, OTG VER FLAG: 1
[ 3.439020@1] Working on port type = HOST
[ 3.443064@1] dwc_otg lm1: DWC OTG Controller
[ 3.447389@1] dwc_otg lm1: new USB bus registered, assigned bus number 2
[ 3.454057@1] dwc_otg lm1: irq 63, io mem 0x00000000
[ 3.462037@1] Init: Port Power? op_state=1
[ 3.463056@1] Init: Power Port (0)
[ 3.467273@1] hub 2-0:1.0: USB hub found
[ 3.467364@0] Indeed it is in host mode hprt0 = 00021501
[ 3.475683@1] hub 2-0:1.0: 1 port detected
[ 3.480130@1] Amlogic nand flash Kernel driver, Version K1.06.015 (c) 2010 Amlogic Inc.
[ 3.487737@1] ####Version of Uboot must be newer than U1.06.011!!!!!
[ 3.494175@1] 2
[ 3.495870@1] SPI BOOT, m3_nand_probe continue i 0
[ 3.500670@1] chip->controller=c09bc4dc
[ 3.504461@1] checking ChiprevD :0
[ 3.507868@1] aml_nand_probe checked chiprev:0
[ 3.512286@1] init bus_cycle=17, bus_timing=10, start_cycle=10, end_cycle=10,system=5.0ns
[ 3.520870@1] No NAND device found.
[ 3.524144@1] NAND device id: 2c 64 44 4b a9 0
[ 3.528438@1] NAND device: Manufacturer ID: 0x2c, Chip ID: 0x2c (Micron B revision NAND 8GiB MT29F64G08CBABA)
[ 3.538486@1] #####aml_nand_init, with RB pins and chip->chip_delay:20
[ 3.544827@1] bus_cycle=4, bus_timing=5, start_cycle=5, end_cycle=6,system=5.0ns
[ 3.552213@1] oob size is not enough for selected bch mode: NAND_BCH60_1K_MODE force bch to mode: NAND_BCH40_1K_MODE
[ 3.562718@1] aml_chip->oob_fill_cnt =168,aml_chip->oob_size =744,bch_bytes =70
[ 3.570004@1] multi plane error for selected plane mode: NAND_TWO_PLANE_MODE force plane to : NAND_SINGLE_PLANE_MODE
[ 3.580536@1] oob layout use nand base oob layout oobsize = 16,oobmul =1,mtd->oobsize =744,aml_chip->oob_size =744
[ 3.598123@1] aml nand env valid addr: 8000
[ 3.647338@0] usb 1-1: new high speed USB device number 2 using dwc_otg
[ 3.648384@0] Indeed it is in host mode hprt0 = 00001101
[ 3.661024@1] nand env: nand_env_probe.
[ 3.661744@1] nand key: nand_key_probe.
[ 3.663218@1] key start_blk=4088,end_blk=4095,aml_nand_key_init:651
[ 3.673864@1] aml nand key valid addr: 1ff000000
[ 3.674145@1] aml nand key valid addr: 1ff200000
[ 3.678863@1] aml nand key valid addr: 1ff400000
[ 3.683519@1] aml nand key valid addr: 1ff600000
[ 3.688272@1] i=0,register --- nand_key NAND bbt detect factory Bad block at b400000
[ 3.696020@1] NAND bbt detect factory Bad block at b600000
[ 3.701745@1] Creating 8 MTD partitions on "B revision NAND 8GiB MT29F64G08CBABA":
[ 3.709234@1] 0x000000800000-0x000001000000 : "logo"
[ 3.715463@0] 0x000001000000-0x000001800000 : "aml_logo"
[ 3.720635@0] 0x000001800000-0x000002000000 : "recovery"
[ 3.725823@0] 0x000002000000-0x000002800000 : "boot"
[ 3.730853@0] 0x000002800000-0x000042c00000 : "system"
[ 3.734826@0] NAND bbt detect factory Bad block at b400000
[ 3.740509@0] NAND bbt detect factory Bad block at b600000
[ 3.747247@0] 0x000042c00000-0x000062c00000 : "cache"
[ 3.752310@0] 0x000062c00000-0x000072c00000 : "backup"
[ 3.757391@0] 0x000072c00000-0x0001ff000000 : "data"
[ 3.761263@0] NAND bbt detect factory Bad block at dca00000
[ 3.766939@0] NAND bbt detect factory Bad block at e2a00000
[ 3.772745@0] NAND bbt detect factory Bad block at f5800000
[ 3.778426@0] NAND bbt detect factory Bad block at f7800000
[ 3.785511@0] init_aml_nftl start
[ 3.787476@0] mtd->name: system
[ 3.790550@0] nftl version 131111a
[ 3.793976@0] nftl part attr 0
[ 3.796980@0] NAND bbt detect factory Bad block at b400000
[ 3.802649@0] NAND bbt detect factory Bad block at b600000
[ 3.808326@0] size_in_blk 514; total_block 512;
[ 3.812853@0] nftl start:512,64
[ 3.817068@0] first
[ 3.839041@0] NAND bbt detect factory Bad block at b400000
[ 3.839074@0] NAND bbt detect factory Bad block at b600000
[ 3.849170@0] Indeed it is in host mode hprt0 = 00021501
[ 3.979027@1] second 240,448
[ 4.027361@0] usb 2-1: new high speed USB device number 2 using dwc_otg
[ 4.028588@0] Indeed it is in host mode hprt0 = 00001101
[ 4.057155@1] all block full!!
[ 4.057281@1] free block cnt = 272
[ 4.057983@1] nftl ok!
[ 4.060614@1] aml_nftl_blk->mbd.tr.name =system
[ 4.065571@1] aml_nftl_init_bounce_buf, use cache here
[ 4.070386@1] system: unknown partition table
[ 4.074647@1] _nftl_init_bounce_buf already init 1000
[ 4.079406@1] aml_nftl_add_mtd ok
[ 4.082693@1] mtd->name: cache
[ 4.085733@1] nftl version 131111a
[ 4.089173@1] nftl part attr 0
[ 4.092183@1] nftl start:256,32
[ 4.095797@1] first
[ 4.172394@1] second 30,224
[ 4.182201@1] all block full!!
[ 4.182265@1] free block cnt = 245
[ 4.182994@1] nftl ok!
[ 4.185630@1] aml_nftl_blk->mbd.tr.name =cache
[ 4.190464@1] aml_nftl_init_bounce_buf, use cache here
[ 4.195288@1] cache: unknown partition table
[ 4.199522@1] _nftl_init_bounce_buf already init 1000
[ 4.204261@1] aml_nftl_add_mtd ok
[ 4.207576@1] mtd->name: backup
[ 4.210689@1] nftl version 131111a
[ 4.214080@1] nftl part attr 0
[ 4.217124@1] nftl start:128,16
[ 4.220538@1] first
[ 4.229974@0] hub 2-1:1.0: USB hub found
[ 4.230288@0] hub 2-1:1.0: 4 ports detected
[ 4.260264@1] second 0,112
[ 4.260282@1] all block full!!
[ 4.260362@1] free block cnt = 128
[ 4.263744@1] nftl ok!
[ 4.266309@1] aml_nftl_blk->mbd.tr.name =backup
[ 4.271284@1] aml_nftl_init_bounce_buf, use cache here
[ 4.275803@1] backup: unknown partition table
[ 4.280465@1] _nftl_init_bounce_buf already init 1000
[ 4.285185@1] aml_nftl_add_mtd ok
[ 4.288499@1] mtd->name: data
[ 4.291441@1] nftl version 131111a
[ 4.295087@1] nftl part attr 0
[ 4.297974@1] NAND bbt detect factory Bad block at dca00000
[ 4.303591@1] NAND bbt detect factory Bad block at e2a00000
[ 4.309365@1] NAND bbt detect factory Bad block at f5800000
[ 4.315044@1] NAND bbt detect factory Bad block at f7800000
[ 4.321010@1] size_in_blk 3170; total_block 3166;
[ 4.325545@1] nftl start:3166,395
[ 4.334538@1] first
[ 4.585338@1] NAND bbt detect factory Bad block at dca00000
[ 4.599373@1] NAND bbt detect factory Bad block at e2a00000
[ 4.643845@1] NAND bbt detect factory Bad block at f5800000
[ 4.648383@1] NAND bbt detect factory Bad block at f7800000
[ 5.250818@1] second 842,2771
[ 5.526510@1] all block full!!
[ 5.540261@1] free block cnt = 2514
[ 5.540282@1] nftl ok!
[ 5.540818@1] aml_nftl_blk->mbd.tr.name =data
[ 5.545576@1] aml_nftl_init_bounce_buf, use cache here
[ 5.550345@1] data: unknown partition table
[ 5.554472@1] _nftl_init_bounce_buf already init 1000
[ 5.559232@1] aml_nftl_add_mtd ok
[ 5.562495@1] init_aml_nftl end
[ 5.565621@1] ethernetinit(dbg[c083b5c4]=1)
[ 5.569821@1] ethernet base addr is f3610000
[ 5.574079@1] set_phy_mode() phy_Identifier: 0xffffffff
[ 5.579386@1] ethernet: MII PHY 0007c0f1h found at address 1, status 0x7809 advertising 01e1.
[ 5.587818@1] find phy phy_Identifier=ffffffff
[ 5.592179@1] *****WARNING: Haven't setup MAC address! Using random MAC address.
[ 5.599566@1] mac-addr: 0:98:63:3a:55:85
[ 5.603463@1] write mac add to:df8afa08: 00 98 63 3a 55 85 |..c:U.|
[ 5.610169@1] eth0: mixed no checksumming and other settings.
[ 5.615869@1] Amlogic A/V streaming port init
[ 5.623282@1] regist mpeg12 codec profile
[ 5.623870@1] regist mpeg4 codec profile
[ 5.627705@1] amvdec_vc1 module init
[ 5.631347@1] regist vc1 codec profile
[ 5.634972@1] amvdec_h264 module init
[ 5.638743@1] regist h264 codec profile
[ 5.642436@1] amvdec_h264mvc module init
[ 5.646534@1] regist mjpeg codec profile
[ 5.650407@1] amvdec_real module init
[ 5.654012@1] regist real codec profile
[ 5.658718@1] request_fiq:152: fiq=35
[ 5.661359@1] request_fiq:186: end
[ 5.665004@1] Remote Driver
[ 5.667930@1] input: aml_keypad as /devices/platform/meson-remote/input/input0
[ 5.675417@1] meson_remote_pinmux_setup()
[ 5.678736@1] Remote platform_data g_remote_base=f3100480
[ 5.684101@1] Remote date_valye======0,status == 8915f20
[ 5.689502@1] remote config major:245
[ 5.693593@1] physical address:0x9f280000
[ 5.697636@1] spi_nor_probe 588
[ 5.700333@1] SPI BOOT : spi_nor_probe 593
[ 5.704604@1] spi_nor apollospi:0: mx25l3205d (4096 Kbytes)
[ 5.710188@1] Creating 2 MTD partitions on "apollospi:0":
[ 5.715527@1] 0x000000000000-0x000000060000 : "bootloader"
[ 5.722246@1] 0x000000080000-0x000000088000 : "ubootenv"
[ 5.727967@1] Memory Card media Major: 253
[ 5.730498@1] card max_req_size is 128K
[ 5.735162@1] card creat process sucessful
[ 5.738430@1]
[ 5.738433@1] SD/MMC initialization started......
[ 6.377314@1] mmc data3 pull high
[ 6.377535@0] sd_mmc_info->card_type=0
[ 6.378723@0] begin SDIO check ......
[ 6.404939@0] sdio_timeout_int_times = 0; timeout = 498
[ 6.427534@0] sdio_timeout_int_times = 0; timeout = 497
[ 6.427561@0] SEND OP timeout @1
[ 6.430324@0] mmc data3 pull high
[ 6.433813@0] begin SD&SDHC check ......
[ 6.479887@0] sdio_timeout_int_times = 0; timeout = 498
[ 6.479914@0] SEND IF timeout @2
[ 6.505438@0] sdio_timeout_int_times = 0; timeout = 498
[ 6.505465@0] begin MMC check ......
[ 6.549881@0] sdio_timeout_int_times = 0; timeout = 498
[ 6.549911@0] No any SD/MMC card detected!
[ 6.553540@0] #SD_MMC_ERROR_DRIVER_FAILURE error occured in sd_voltage_validation()
[ 6.561207@0] [card_force_init] unit_state 3
[ 6.561219@1]
[ 6.561222@1] SD/MMC initialization started......
[ 6.571946@0] [dsp]DSP start addr 0xc4000000
[ 6.576056@0] [dsp]register dsp to char divece(232)
[ 6.585815@0] DSP pcmenc stream buffer to [0x9dc01000-0x9de01000]
[ 6.586961@0] amlogic audio dsp pcmenc device init!
[ 6.592758@0] amlogic audio spdif interface device init!
[ 6.598341@0] using rtc device, aml_rtc, for alarms
[ 6.601830@0] aml_rtc aml_rtc: rtc core: registered aml_rtc as rtc0
[ 6.609091@0] efuse===========================================
[ 6.614570@0] efuse: device efuse created
[ 6.618187@0] efuse--------------------------------------------
[ 6.623983@0] keys===========================================
[ 6.629704@0] keys_devno=f100000
[ 6.633364@0] efuse: device aml_keys created
[ 6.637138@0] amlkeys=0
[ 6.639703@0] platform_driver_register--aml_keys_driver--------------------
[ 6.667327@0] 6amlogic audio data interface device init!
[ 6.667536@0] Smartcard: cannot get resource "smc0_reset"
[ 6.672874@0] SMC CLK SOURCE - 200000KHz
[ 6.677035@0] aml_hw_crypto initialization.
[ 6.681456@0] usbcore: registered new interface driver snd-usb-audio
[ 6.688084@0] enter dummy_codec_audio_probe
[ 6.691971@0] aml-pcm 0:playback preallocate_dma_buffer: area=ffd80000, addr=9eb40000, size=131072
[ 6.701277@0] iec958 0: preallocate dma buffer start=ffd00000, size=80000
[ 6.707604@0] aml-pcm 1:capture preallocate_dma_buffer: area=ffce0000, addr=9eb20000, size=65536
[ 6.715520@0] asoc: dummy_codec <-> aml-dai0 mapping ok
[ 6.722225@0] ALSA device list:
[ 6.723850@0] #0: AML-DUMMY-CODEC
[ 6.727518@0] GACT probability NOT on
[ 6.730976@0] Mirror/redirect action on
[ 6.734789@0] u32 classifier
[ 6.737687@0] Actions configured
[ 6.741214@0] Netfilter messages via NETLINK v0.30.
[ 6.746123@0] nf_conntrack version 0.5.0 (12342 buckets, 49368 max)
[ 6.753047@0] ctnetlink v0.93: registering with nfnetlink.
[ 6.757877@0] NF_TPROXY: Transparent proxy support initialized, version 4.1.0
[ 6.764907@0] NF_TPROXY: Copyright (c) 2006-2007 BalaBit IT Ltd.
[ 6.771548@0] xt_time: kernel timezone is -0000
[ 6.775562@0] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 6.781078@0] arp_tables: (C) 2002 David S. Miller
[ 6.785714@0] TCP cubic registered
[ 6.790137@0] NET: Registered protocol family 10
[ 6.794405@0] Mobile IPv6
[ 6.796270@0] ip6_tables: (C) 2000-2006 Netfilter Core Team
[ 6.801988@0] IPv6 over IPv4 tunneling driver
[ 6.807463@0] NET: Registered protocol family 17
[ 6.810772@0] NET: Registered protocol family 15
[ 6.815479@0] Bridge firewalling registered
[ 6.819577@0] NET: Registered protocol family 35
[ 6.824402@0] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
[ 6.831968@0] DDR low power is enable.
[ 6.835728@0] enter meson_pm_probe!
[ 6.839164@0] meson_pm_probe done !
[ 6.843190@0] ------------[ cut here ]------------
[ 6.847383@0] WARNING: at /home/spink/work/mxbox_4.2/common/kernel/smp.c:459 smp_call_function_many+0xc8/0x280()
[ 6.857520@0] Modules linked in:
[ 6.860754@0] [<c0042b44>] (unwind_backtrace+0x0/0xf8) from [<c0060ee0>] (warn_slowpath_common+0x4c/0x64)
[ 6.870286@0] [<c0060ee0>] (warn_slowpath_common+0x4c/0x64) from [<c0060f14>] (warn_slowpath_null+0x1c/0x24)
[ 6.880092@0] [<c0060f14>] (warn_slowpath_null+0x1c/0x24) from [<c008e594>] (smp_call_function_many+0xc8/0x280)
[ 6.890162@0] [<c008e594>] (smp_call_function_many+0xc8/0x280) from [<c008e780>] (smp_call_function+0x34/0x68)
[ 6.900147@0] [<c008e780>] (smp_call_function+0x34/0x68) from [<c0048c10>] (clk_set_rate_a9+0x9c/0xdc)
[ 6.909431@0] [<c0048c10>] (clk_set_rate_a9+0x9c/0xdc) from [<c0048f0c>] (meson_clk_set_rate+0x130/0x168)
[ 6.918978@0] [<c0048f0c>] (meson_clk_set_rate+0x130/0x168) from [<c0048fd8>] (clk_set_rate+0x94/0xbc)
[ 6.928270@0] [<c0048fd8>] (clk_set_rate+0x94/0xbc) from [<c0051d24>] (meson_cpufreq_target_locked.isra.2+0x14c/0x224)
[ 6.938945@0] [<c0051d24>] (meson_cpufreq_target_locked.isra.2+0x14c/0x224) from [<c0051e20>] (meson_cpufreq_target+0x24/0x3c)
[ 6.950318@0] [<c0051e20>] (meson_cpufreq_target+0x24/0x3c) from [<c036efc8>] (__cpufreq_driver_target+0x50/0x64)
[ 6.960560@0] [<c036efc8>] (__cpufreq_driver_target+0x50/0x64) from [<c0371768>] (cpufreq_governor_performance+0x28/0x30)
[ 6.971495@0] [<c0371768>] (cpufreq_governor_performance+0x28/0x30) from [<c036f0b0>] (__cpufreq_governor+0xb0/0x138)
[ 6.982082@0] [<c036f0b0>] (__cpufreq_governor+0xb0/0x138) from [<c036ff10>] (__cpufreq_set_policy+0x128/0x168)
[ 6.992152@0] [<c036ff10>] (__cpufreq_set_policy+0x128/0x168) from [<c03701b0>] (cpufreq_add_dev_interface+0x260/0x2c8)
[ 7.002914@0] [<c03701b0>] (cpufreq_add_dev_interface+0x260/0x2c8) from [<c03706d4>] (cpufreq_add_dev+0x4bc/0x634)
[ 7.013251@0] [<c03706d4>] (cpufreq_add_dev+0x4bc/0x634) from [<c0297c50>] (sysdev_driver_register+0xb0/0x12c)
[ 7.023229@0] [<c0297c50>] (sysdev_driver_register+0xb0/0x12c) from [<c036f57c>] (cpufreq_register_driver+0x70/0x17c)
[ 7.033819@0] [<c036f57c>] (cpufreq_register_driver+0x70/0x17c) from [<c029a4d0>] (platform_drv_probe+0x18/0x1c)
[ 7.043973@0] [<c029a4d0>] (platform_drv_probe+0x18/0x1c) from [<c02992c4>] (driver_probe_device+0x90/0x1ac)
[ 7.053780@0] [<c02992c4>] (driver_probe_device+0x90/0x1ac) from [<c029946c>] (__driver_attach+0x8c/0x90)
[ 7.063329@0] [<c029946c>] (__driver_attach+0x8c/0x90) from [<c02984e4>] (bus_for_each_dev+0x5c/0x88)
[ 7.072529@0] [<c02984e4>] (bus_for_each_dev+0x5c/0x88) from [<c0298ca8>] (bus_add_driver+0x17c/0x244)
[ 7.081815@0] [<c0298ca8>] (bus_add_driver+0x17c/0x244) from [<c0299918>] (driver_register+0x78/0x13c)
[ 7.091103@0] [<c0299918>] (driver_register+0x78/0x13c) from [<c029a880>] (platform_driver_probe+0x18/0x9c)
[ 7.100828@0] [<c029a880>] (platform_driver_probe+0x18/0x9c) from [<c003670c>] (do_one_initcall+0xfc/0x164)
[ 7.110550@0] [<c003670c>] (do_one_initcall+0xfc/0x164) from [<c0008988>] (kernel_init+0x98/0x13c)
[ 7.119492@0] [<c0008988>] (kernel_init+0x98/0x13c) from [<c003d0c0>] (kernel_thread_exit+0x0/0x8)
[ 7.128426@0] ---[ end trace 1b75b31a2719ed1d ]---
[ 7.133198@0] ------------[ cut here ]------------
[ 7.137974@0] WARNING: at /home/spink/work/mxbox_4.2/common/kernel/smp.c:320 smp_call_function_single+0x150/0x1c0()
[ 7.148386@0] Modules linked in:
[ 7.151605@0] [<c0042b44>] (unwind_backtrace+0x0/0xf8) from [<c0060ee0>] (warn_slowpath_common+0x4c/0x64)
[ 7.161151@0] [<c0060ee0>] (warn_slowpath_common+0x4c/0x64) from [<c0060f14>] (warn_slowpath_null+0x1c/0x24)
[ 7.170960@0] [<c0060f14>] (warn_slowpath_null+0x1c/0x24) from [<c008e45c>] (smp_call_function_single+0x150/0x1c0)
[ 7.181290@0] [<c008e45c>] (smp_call_function_single+0x150/0x1c0) from [<c008e780>] (smp_call_function+0x34/0x68)
[ 7.191532@0] [<c008e780>] (smp_call_function+0x34/0x68) from [<c0048c10>] (clk_set_rate_a9+0x9c/0xdc)
[ 7.200819@0] [<c0048c10>] (clk_set_rate_a9+0x9c/0xdc) from [<c0048f0c>] (meson_clk_set_rate+0x130/0x168)
[ 7.210367@0] [<c0048f0c>] (meson_clk_set_rate+0x130/0x168) from [<c0048fd8>] (clk_set_rate+0x94/0xbc)
[ 7.219656@0] [<c0048fd8>] (clk_set_rate+0x94/0xbc) from [<c0051d24>] (meson_cpufreq_target_locked.isra.2+0x14c/0x224)
[ 7.230333@0] [<c0051d24>] (meson_cpufreq_target_locked.isra.2+0x14c/0x224) from [<c0051e20>] (meson_cpufreq_target+0x24/0x3c)
[ 7.241703@0] [<c0051e20>] (meson_cpufreq_target+0x24/0x3c) from [<c036efc8>] (__cpufreq_driver_target+0x50/0x64)
[ 7.251945@0] [<c036efc8>] (__cpufreq_driver_target+0x50/0x64) from [<c0371768>] (cpufreq_governor_performance+0x28/0x30)
[ 7.262881@0] [<c0371768>] (cpufreq_governor_performance+0x28/0x30) from [<c036f0b0>] (__cpufreq_governor+0xb0/0x138)
[ 7.273470@0] [<c036f0b0>] (__cpufreq_governor+0xb0/0x138) from [<c036ff10>] (__cpufreq_set_policy+0x128/0x168)
[ 7.283538@0] [<c036ff10>] (__cpufreq_set_policy+0x128/0x168) from [<c03701b0>] (cpufreq_add_dev_interface+0x260/0x2c8)
[ 7.294301@0] [<c03701b0>] (cpufreq_add_dev_interface+0x260/0x2c8) from [<c03706d4>] (cpufreq_add_dev+0x4bc/0x634)
[ 7.304632@0] [<c03706d4>] (cpufreq_add_dev+0x4bc/0x634) from [<c0297c50>] (sysdev_driver_register+0xb0/0x12c)
[ 7.314613@0] [<c0297c50>] (sysdev_driver_register+0xb0/0x12c) from [<c036f57c>] (cpufreq_register_driver+0x70/0x17c)
[ 7.325201@0] [<c036f57c>] (cpufreq_register_driver+0x70/0x17c) from [<c029a4d0>] (platform_drv_probe+0x18/0x1c)
[ 7.335356@0] [<c029a4d0>] (platform_drv_probe+0x18/0x1c) from [<c02992c4>] (driver_probe_device+0x90/0x1ac)
[ 7.345163@0] [<c02992c4>] (driver_probe_device+0x90/0x1ac) from [<c029946c>] (__driver_attach+0x8c/0x90)
[ 7.354713@0] [<c029946c>] (__driver_attach+0x8c/0x90) from [<c02984e4>] (bus_for_each_dev+0x5c/0x88)
[ 7.363913@0] [<c02984e4>] (bus_for_each_dev+0x5c/0x88) from [<c0298ca8>] (bus_add_driver+0x17c/0x244)
[ 7.373200@0] [<c0298ca8>] (bus_add_driver+0x17c/0x244) from [<c0299918>] (driver_register+0x78/0x13c)
[ 7.382488@0] [<c0299918>] (driver_register+0x78/0x13c) from [<c029a880>] (platform_driver_probe+0x18/0x9c)
[ 7.392211@0] [<c029a880>] (platform_driver_probe+0x18/0x9c) from [<c003670c>] (do_one_initcall+0xfc/0x164)
[ 7.401931@0] [<c003670c>] (do_one_initcall+0xfc/0x164) from [<c0008988>] (kernel_init+0x98/0x13c)
[ 7.410873@0] [<c0008988>] (kernel_init+0x98/0x13c) from [<c003d0c0>] (kernel_thread_exit+0x0/0x8)
[ 7.419809@0] ---[ end trace 1b75b31a2719ed1e ]---
[ 7.431935@0] android_usb gadget: Mass Storage Function, version: 2009/09/11
[ 7.433347@0] android_usb gadget: Number of LUNs=2
[ 7.438184@0] lun0: LUN: removable file: (no medium)
[ 7.443161@0] lun1: LUN: removable file: (no medium)
[ 7.448941@0] android_usb gadget: android_usb ready
[ 7.453562@0] aml_rtc aml_rtc: setting system clock to 1970-01-01 00:00:11 UTC (11)
[ 7.460736@0] CEC init
[ 7.463092@1] CEC: CEC task process
[ 7.466550@[ 7.487334@0] Changing baud from 0 to 115200
[ 7.547367@0] Freeing init memory: 184K
[ 7.550703@1] init: /init.amlogic.rc: 390: ignored duplicate definition of service 'smbd'
[ 7.554219@1] init (1): /proc/1/oom_adj is deprecated, please use /proc/1/oom_score_adj instead.
[ 7.569100@1] UMP: UMP device driver loaded
[ 7.591497@1] mail version=-1
[ 7.591538@1] Mali pp1 MMU register mapped at e0014000...
[ 7.594214@1] Mali pp2 MMU register mapped at e0016000...
[ 7.662715@1] mali_meson_poweron: Interrupt received.
[ 7.725688@1] mmc data3 pull high
[ 7.725758@1] mail version=1
[ 7.726236@1] sd_mmc_info->card_type=0
[ 7.729999@1] begin SDIO check ......
[ 7.796728@1] mali_meson_poweron: Interrupt received.
[ 7.859698@1] sdio_timeout_int_times = 0; timeout = 487
[ 7.859775@1] mail version=1
[ 7.865627@1] Mali: Mali device driver loaded
[ 7.882343@1] sdio_timeout_int_times = 0; timeout = 498
[ 7.882388@1] SEND OP timeout @1
[ 7.885136@1] mmc data3 pull high
[ 7.888671@1] begin SD&SDHC check ......
[ 7.907889@1] set type to SDHC
[ 8.048118@0] Actual delay time in sd_voltage_validation() = 90 ms
[ 8.048656@0] S18A : 0
[ 8.107729@0] Got RCA = 58916
[ 8.108477@0]
[ 8.108480@0] ***********CID*************
[ 8.110691@0] 03:53:44:53:55:30:34:47:80:04:3b:3d:4d:00:ca:00:
[ 8.116333@0] MID[8]=3
[ 8.118878@0] OID[16]=SD
[ 8.121368@0] PNM[40]=SU04G
[ 8.124145@0] PRV[8]=128
[ 8.126662@0] PSN[32]=0x4d3d3b04
[ 8.129899@0] Reserved[4]=0
[ 8.132652@0] year[8].month[4]=2012.10
[ 8.136383@0] NotUsed[1]=0
[ 8.139099@0] CRC[7]=0
[ 8.139102@0]
[ 8.143825@0]
[ 8.143828@0] ********** CSD v2 **************
[ 8.149168@0] 40:0e:00:32:5b:59:00:00:1d:8a:7f:80:0a:40:40:00:
[ 8.154786@0] CSD_STRUCTURE[2]=1
[ 8.158196@0] Reserved1[6]=0
[ 8.161035@0] TAAC[8]=14
[ 8.163551@0] NSAC[8]=0
[ 8.165982@0] TRAN_SPEED[8]=50
[ 8.169044@0] CCC[8+4]=0x5b5
[ 8.171885@0] READ_BL_LEN[4]=9
[ 8.174922@0] READ_BL_PARTIAL[1]=0
[ 8.178335@0] WRITE_BLK_MISALIGN[1]=0
[ 8.181953@0] READ_BLK_MISALIGN[1]=0
[ 8.185511@0] DSR_IMP[1]=0
[ 8.188227@0] Reserved2[4]=0
[ 8.191069@0] Reserved3[2]=0
[ 8.193943@0] C_SIZE[6+8+8]=7562
[ 8.197153@0] Reserved4[1]=0
[ 8.200035@0] ERASE_BLK_EN[1]=1
[ 8.203133@0] SECTOR_SIZE[6+1]=127
[ 8.206519@0] WP_GRP_SIZE[7]=0
[ 8.209581@0] WP_GRP_ENABLE[1]=0
[ 8.212768@0] Reserved5[2]=0
[ 8.215632@0] R2W_FACTOR[3]=2
[ 8.218607@0] WRITE_BL_LEN[2+2]=9
[ 8.221883@0] WRITE_BL_PARTIAL[1]=0
[ 8.225353@0] Reserved6[5]=0
[ 8.228242@0] FILE_FORMAT_GRP[1]=0
[ 8.231604@0] COPY[1]=1
[ 8.234033@0] PERM_WRITE_PROTECT[1]=0
[ 8.237703@0] TMP_WRITE_PROTECT[1]=0
[ 8.241239@0] FILE_FORMAT[2]=0
[ 8.244276@0] Reserved7[2]=0
[ 8.247140@0] CRC[7]=0
[ 8.249508@0] NotUsed[1]=0
[ 8.249510@0]
[ 8.254247@0] total block nums : 0x762c00(7744512)
[ 8.260031@0]
[ 8.260034@0] ***********SCR*************
[ 8.264240@0] 02:35:80:01:00:00:00:00:
[ 8.267800@0] SD_SPEC[4]=2
[ 8.270663@0] SCR_STRUCTURE[4]=0
[ 8.273875@0] SD_BUS_WIDTHS[4]=5
[ 8.277086@0] SD_SECURITY[3]=3
[ 8.280149@0] DATA_STAT_AFTER_ERASE[1]=0
[ 8.284031@0] Rsv1[7]=0
[ 8.286461@0] SD_SPEC3[1]=1
[ 8.289264@0] CMD_SUPPORT[2]=1
[ 8.292277@0] Rsv2[6]=0
[ 8.294707@0] Reserved2[32]=0
[ 8.294710@0]
[ 8.302071@0] 00c88001 80018001 8001c001 80030000
[ 8.304083@0] 01000000 00000000 00000000 00000000
[ 8.308856@0] 00000000 00000000 00000000 00000000
[ 8.313629@0] 00000000 00000000 00000000 00000000
[ 8.318406@0]
[ 8.318408@0] ****************switch status****************
[ 8.325608@0] Data_Struction_Verion : 0
[ 8.329454@0] Max_Current_Consumption : 200
[ 8.333596@0] Support[0] : 0x8001 Busy[0] : 0x0
[ 8.338136@0] Support[1] : 0x8001 Busy[1] : 0x0
[ 8.342622@0] Support[2] : 0x8001 Busy[2] : 0x0
[ 8.347135@0] Support[3] : 0x8001 Busy[3] : 0x0
[ 8.351650@0] Support[4] : 0xc001 Busy[4] : 0x0
[ 8.356163@0] Support[5] : 0x8003 Busy[5] : 0x0
[ 8.360677@0] Function_Group_Status6 : 0
[ 8.364582@0] Function_Group_Status5 : 0
[ 8.368515@0] Function_Group_Status4 : 0
[ 8.372395@0] Function_Group_Status3 : 0
[ 8.376300@0] Function_Group_Status2 : 0
[ 8.380231@0] Function_Group_Status1 : 1
[ 8.380234@0]
[ 8.387465@0] 00c88001 80018001 8001c001 80030000
[ 8.390535@0] 01000000 00000000 00000000 00000000
[ 8.395309@0] 00000000 00000000 00000000 00000000
[ 8.400083@0] 00000000 00000000 00000000 00000000
[ 8.404858@0]
[ 8.404860@0] ****************switch status****************
[ 8.412087@0] Data_Struction_Verion : 0
[ 8.415882@0] Max_Current_Consumption : 200
[ 8.420072@0] Support[0] : 0x8001 Busy[0] : 0x0
[ 8.424562@0] Support[1] : 0x8001 Busy[1] : 0x0
[ 8.429076@0] Support[2] : 0x8001 Busy[2] : 0x0
[ 8.433589@0] Support[3] : 0x8001 Busy[3] : 0x0
[ 8.438130@0] Support[4] : 0xc001 Busy[4] : 0x0
[ 8.442616@0] Support[5] : 0x8003 Busy[5] : 0x0
[ 8.447129@0] Function_Group_Status6 : 0
[ 8.451065@0] Function_Group_Status5 : 0
[ 8.454947@0] Function_Group_Status4 : 0
[ 8.458872@0] Function_Group_Status3 : 0
[ 8.462753@0] Function_Group_Status2 : 0
[ 8.466658@0] Function_Group_Status1 : 1
[ 8.466661@0]
[ 8.472241@0] sd_mmc_init() is completed successfully!
[ 8.477363@0] This SDHC card is working in Wide Bus and at 50MHz High Speed mode!
[ 8.477368@0]
[ 8.498951@0] cardblksd: cardblksd1 cardblksd2
[ 8.500001@0] monitor : INSERT
[ 8.500894@0]
[ 8.500896@0] SD/MMC initialization started......
[ 8.867601@1] init: hdmi hpd_status is :48
[ 8.888783@0] osd0=>x:0 ,y:0,w:1280,h:720
[ 8.888786@0] osd1=> x:0,y:0,w:18,h:18
[ 8.939110@0] osd0 free scale ENABLE
[ 8.939144@0] vf_reg_provider:osd
[ 8.957298@1] <FIQ>:vf_ext_light_unreg_provide
[ 8.957304@1] 0
[ 9.036289@0] EXT4-fs (system): mounted filesystem with ordered data mode. Opts: noauto_da_alloc
[ 9.039611@0] init: Before e2fsck_main...
[ 9.137358@1] mmc data3 pull high
[ 9.137621@1] sd_mmc_info->card_type=0
[ 9.138773@1] begin SDIO check ......
[ 9.149817@1] init: After e2fsck_main...
[ 9.160048@1] EXT4-fs (data): mounted filesystem with ordered data mode. Opts: noauto_da_alloc
[ 9.165025@1] sdio_timeout_int_times = 0; timeout = 498
[ 9.183665@1] EXT4-fs (cache): recovery complete
[ 9.185020@1] EXT4-fs (cache): mounted filesystem with ordered data mode. Opts: noauto_da_alloc
[ 9.190879@0] sdio_timeout_int_times = 0; timeout = 498
[ 9.190888@0] SEND OP timeout @1
[ 9.190892@0] mmc data3 pull high
[ 9.191094@0] begin SD&SDHC check ......
[ 9.207204@1] name=nand_key nand_key
[ 9.210590@1] read:addr:0x1ff000000,phy_blk_addr:4088,phy_page_addr:0,aml_nand_get_key:129
[ 9.229952@0] sdio_timeout_int_times = 0; timeout = 498
[ 9.230023@0] SEND IF timeout @2
[ 9.258225@0] sdio_timeout_int_times = 0; timeout = 497
[ 9.258313@0] begin MMC check ......
[ 9.299990@0] sdio_timeout_int_times = 0; timeout = 498
[ 9.300033@0] No any SD/MMC card detected!
[ 9.303691@0] #SD_MMC_ERROR_DRIVER_FAILURE error occured in sd_voltage_validation()
[ 9.310026@1] init: cannot find '/system/bin/xcmid-amlogic', disabling 'xcmidware'
[ 9.328202@1] DSP pcmenc stream buffer to [0x9dc01000-0x9de01000]
[ 9.348794@1] init: property 'ro.usb.vendor.string' doesn't exist while expanding '${ro.usb.vendor.string}'
[ 9.353389@1] init: cannot expand '${ro.usb.vendor.string}' while writing to '/sys/class/android_usb/android0/f_mass_storage/vendor_string'
[ 9.368335@1] init: property 'ro.usb.product.string' doesn't exist while expanding '${ro.usb.product.string}'
[ 9.377055@1] init: cannot expand '${ro.usb.product.string}' while writing to '/sys/class/android_usb/android0/f_mass_storage/product_string'
[ 9.394088@1] vfm_map_store:rm default
[ 9.394162@1] vfm_map_store:add default decoder ppmgr deinterlace amvideo
[ 9.401625@1] android_usb: already disabled
[ 9.403378@1] android_usb: already disabled
[ 9.408648@1] mtp_bind_config
root@android:/ # [ 11.488585@1] tvmode set to 480cvbs
[ 11.488595@1]
[ 11.488648@1] don't set the same mode as current.
[ 11.561019@1] osd0 free scale already ENABLE , no action exit !!!
[ 11.561791@1] osd1 free scale ENABLE
[ 11.598858@1] buf=0
[ 11.598864@1]
[ 11.598898@1] IEC958_mode_raw=0
[ 17.030188@0] warning: `zygote' uses 32-bit capabilities (legacy support in use)
[ 17.158662@1] 333000
[ 24.443443@0] HDMI irq 1
[ 24.443471@0] Reg0x196 = 0x2 Reg0x80 = 0x1 Reg0x26 = 0xc
[ 24.445819@0] Reg0x196 = 0x42 Reg0x80 = 0x1 Reg0x26 = 0x4c
[ 24.967756@1] HDMI: EDID Ready
[ 24.967825@1] HDMI: set default vic
[ 24.968644@1] HDMI: edid blk0 checksum:0 ext_flag:0
[ 24.974401@0] HDMI: get current mode: 480cvbs
[ 24.978587@0] CEC node init
[ 25.352425@0] request_suspend_state: wakeup (3->0) at 25085114008 (1970-01-02 00:00:08.308415999 UTC)
[ 25.988675@1] init: no such service 'wififix'
[ 26.199061@1] acc_open
[ 26.199097@1] acc_release
[ 27.671284@1] FAT-fs (cardblksd2): bogus number of reserved sectors
[ 27.671920@1] FAT-fs (cardblksd2): Can't find a valid FAT filesystem
[ 28.057188@1] hfs: unable to find HFS+ superblock
[ 28.154942@0] ISOFS: Unable to identify CD-ROM format.
[ 28.209354@0] UDF-fs: No VRS found
[ 28.209392@0] UDF-fs: Rescanning with blocksize 2048
[ 28.213708@0] UDF-fs: No VRS found
[ 28.216502@0] UDF-fs: No partition found (1)
[ 29.689530@0] bFWReady == _FALSE call reset 8051...
[ 29.771489@0] usbcore: registered new interface driver rtl8188eu
root@android:/ # [ 30.827368@1] pcd_ep0_timer_timeout 1
[ 31.458110@0] ==> rtl8188e_iol_efuse_patch
[ 31.892017@1] ADDRCONF(NETDEV_UP): p2p0: link is not ready
[ 32.261159@0] ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 33.613981@1] init: sys_prop: permission denied uid:1003 name:service.bootanim.exit
[ 36.968986@0] trun off vdac
[ 36.974217@1] tvmode set to 720p50hz
[ 36.974289@1] HDMITX: HDCP disable
[ 36.976142@1] HDMI: reset IP: 0x10
[ 36.979163@0] HDMI irq 0
[ 36.981534@0] hdmitx: ignore irq
[ 36.984752@0] HDMI irq 1
[ 36.987261@0] hdmitx: ignore irq
[ 37.007329@1] hdmi_pre_set_change_mode[1464]
[ 37.007377@1] tvoutc_setmode[267]
[ 37.009249@1] mode is: 9
[ 37.011769@1] VPU_VIU_VENC_MUX_CTRL: 0xa
[ 37.015671@1] viu chan = 1
[ 37.018374@1] VPU_VIU_VENC_MUX_CTRL: 0xa
[ 37.022302@1] new mode 720p50hz set ok
[ 37.026091@1] HDMI: get current mode: 720p50hz
[ 37.030544@1] set mode VIC 19 (cd0,cs0,pm1,vd0,1)
[ 37.035290@1] HDMI DEBUG: hdmi_hw_reset [1422]
[ 37.039735@1] HDMI: get brd phy data
[ 37.043297@1] hdmi phy setting
[ 37.047392@1] HDMI: get brd phy data
[ 37.049871@1] hdmi phy setting
[ 37.052960@1] HDMI DEBUG: hdmitx_set_pll [2103]
[ 37.057435@1] param->VIC:19
[ 37.060507@1] mode is: 6
[ 37.062719@1] VPU_VIU_VENC_MUX_CTRL: 0xa
[ 37.066662@1] viu chan = 1
[ 37.069328@1] VPU_VIU_VENC_MUX_CTRL: 0xa
[ 37.095260@1] Sink is HDMI device
[ 37.095289@1] Source in DVI Mode
[ 37.126846@0] set_vout_mode[156]
[ 37.129903@0] osd0 free scale DISABLE
[ 37.147723@0] osd1 free scale DISABLE
[ 37.167596@1] osd0 free scale ENABLE
[ 37.167630@1] vf_reg_provider:osd
[ 37.186884@0] ==[vf_ppmgr_reset]=skip=current_reset_time:4294940987 last_reset_time:4294940983 discrete:4 interval:20
[ 37.192070@0] HDMI: audio channel num is 0
[ 37.196115@0] current VIC: 19
[ 37.199252@0] audio sample rate: 0
[ 37.199943@1] osd1 free scale ENABLE
[ 37.206096@0] HDMI: reset audio N para
[ 37.209908@0] PCM out to HDMI
[ 37.213502@1] trun off vdac
[ 37.224319@0] Time out: AIU_HDMI_CLK_DATA_CTRL
[ 37.224358@0] i2s_to_spdif_flag:1
[ 37.226514@0] Enable audio spdif to HDMI
[ 37.230510@0] HDMI: set audio param
[ 37.260391@1] <FIQ>:vf_ext_light_unreg_provide
[ 37.260395@1] 0
[ 38.327412@0] HDMITX: no HDCP key available
[ 38.327469@0] HDMITX: HDCP Key error
[ 38.329543@0] HDMITX: no HDCP key available
[ 38.333714@0] HDMITX: HDCP Key error
@luftreich
Copy link
Author

kernel
把编译好的 uImage 拷在启动卡根目录上,启动后进入 uboot,执行



mmcinfo
fatload mmc 0 82000000 uImage
bootm
system
编译出 otapackage zip 包,拷到 T 卡,进入“升级”应用,选择对应的 zip 升级
uboot
把 UBoot 烧进 SPI Flash
先用 SDCard 启动板子。
键入命令:mmcinfo
键入命令:fatload mmc 0:1 82000000 u-boot.bin (把 UBoot 装入 DDR)
键入命令:sf probe 2 (初始化 SPI Flash)
键入命令:sf erase 0 80000 (擦除 SPI Flash)
键入命令:sf write 82000000 0 80000 (把 DDR 中 UBoot 写入 SPI Flash 中)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment