EEEE I400000004294_M6_BL1_3431>2534313
TE : 175133
BT : 11:42:02 Nov 19 2014
CPU clock is 1200MHz
wait pll-0x03 target is 0204 now it is 0x00000204
DDR clock is 516MHz with Low Power & 1T mode
DDR training :
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
DDR init use : 41820 us
HHH
BootFrom SPI
EEEE I400000004294_M6_BL1_3431>2534313
TE : 175132
JT : 11:42:02 Nov 19 2014
CPU clock is 1200MHz
wait pll-0x03 target is 0204 now it is 0x00000203
DDR clock is 516MHz with Low Power & 1T mode
DDR training :
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
DDR init use : 41821 us
HHH
BootFrom SPI
0x12345678
tSPI from int dev 1s
TE : 677508
System Started
U-boot-00000-g817d3aa(m6_mbx_th8_secure@817d3aa6) (Nov 19 2014 - 11:41:58)
aml_rtc_init
aml rtc init first time!
clr h-ram
DRAM: 1 GiB
relocation Offset is: 104dc000
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
aml_i2c_init
EE I400000004294_M6_BL1_3431>2534313
TE : 175133
JT : 11:42:02 Nov 19 2014
CPU clock is 1200MHz
wait pll-0x03 target is 0204 now it is 0x00000203
DDR clock is 516MHz with Low Power & 1T mode
DDR training :
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
DDR init use : 41820 us
HHH
BootFrom SPI
0x12345678
Boot from int dev 1stSPI
TE : 676981
System Started
U-boot-00000-g817d3aa(m6_mbx_th8_secure@817d3aa6) (Nov 19 2014 - 11:41:58)
aml_rtc_init
aml rtc init first time!
clr h-ram
DRAM: 1 GiB
relocation Offset is: 104dc000
MMC: [mmc_register] add mmc dev_num=0, port=1, if_type=6
_register] add mmc dev_num=1, port=2, if_type=6
SDIO Port B: 0, SDIO Port C: 1
aml_i2c_init
NAND: Amlogic nand flash uboot driver, Version U1.06.020 (c) 2010 Amlogic Inc.
SPI BOOT : continue i 0
No NAND device found!!!
NAND device id: 2c 44 44 4b a9 0
NAND device: Manufacturer ID: 0x2c, Chip ID: 0x2c (Micron D revision NAND 4GiB MT29F32G08CBADA)
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=16,aml_chip->oob_size=744
aml nand env valid addr: 0 ,status =0
key start_blk=2040,end_blk=2047,aml_nand_key_init:684
aml nand key valid addr: ff1d0000
aml nand key valid addr: ff3d0000
aml nand key valid addr: ff5d0000
aml nand key valid addr: ff7d0000
CONFIG_KEYSIZE=0x10000; KEYSIZE=0xfffc; bbt=0x1330; default_keyironment_size=0xeccc
i=0,register --- nand_key
NAND bbt detect Bad block at 0
NAND bbt detect factory Bad block at b400000
NAND bbt detect factory Bad block at b600000
Creating 2 MTD partitions on "nandnormal":
0x000000800000-0x000001000000 : "mtd1"
0x000001000000-0x000008000000 : "mtd2"
nandnormal initialized ok
detect mx chiprevD :1 and nand_type: 40
nand_curr_device =1
SPI BOOT,spi_env_relocate_spec : env_relocate_spec 53
SPI NOR Flash have write protect!!!
In: serial
Out: serial
Err: serial
register usb cfg[0] = 9fd87234
Net: Meson_Ethernet
init suspend firmware done. (ret:0)
load rsa firmware done.
init rsa encrypt data done.
detect_storage
nand exist return 0
setenv storage nand
reboot_mode=charging
Unknown command 'saradc' - try 'help'
Unknown command 'saradc' - try 'help'
Unknown command 'saradc' - try 'help'
Unknown command 'saradc' - try 'help'
Usage: irkey key_value time_value
switch_boot_mode
suspend_status_current2=0
Unknown command 'suspend' - try 'help'
name=nand_key nand_key
read:addr:0xff1d0000,phy_blk_addr:2040,phy_page_addr:232,aml_nand_get_key:125
read:addr:0xff1d0000,phy_blk_addr:2040,phy_page_addr:232,aml_nand_get_key:125
register_aes_algorithm:479,old way
device:nand, init key ok!!
key save in nand
nand 2 ret:34
key save in nand
nand 2 ret:34
key save in nand
nand 2 ret:1
Hit any key to stop autoboot -- : 0
exit abortboot: 1
m6_mbx_th8_secure#
m6_mbx_th8_secure#
m6_mbx_th8_secure#hheellpp
? - alias for 'help'
aeschk - aeschk AES algorithm check sub-system
autoping- do auto ping test
autoscr - run script from memory
base - print or set address offset
bdinfo - print Board Info structure
boardid_prefetch- boardid sub-system
boot - SPI-NAND-COMPATIBLE
bootm - boot application image from memory
bootp - boot image via network using BOOTP/TFTP protocol
calc - command for calculate
cbusreg - cbus register read/write
chpart - change active partition
clear_rebootmode- clear rebootmode
clkmsr - measure PLL clock
cmp - memory compare
coninfo - print console devices and information
cp - memory copy
crc32 - checksum calculation
data - SPI-NAND-COMPATIBLE || SPI-NAND-EMMC-COMPATIBLE
dcache - enable or disable data cache
defenv - default environment
defenv_without- defenv without environment variables
echo - echo args to console
editenv - edit environment variable
efuse - efuse version/licence/mac/hdcp/usid read/write or dump raw efuse data commands
env - environment handling commands
ethchk - check ethernet status
ethdbg - set ethernet debug level
ethmode - set ethernet mac mode
ethrst - reset ethernet phy
exit - exit script
ext2load- load binary file from a Ext2 filesystem
ext2ls - list files in a directory (default /)
false - do nothing, unsuccessfully
fatexist- find the file from a dos filesystem
fatinfo - print information about filesystem
fatload - load binary file from a dos filesystem
fatls - list files in a directory (default /)
fdt - flattened device tree utility commands
get_img_size- get img size and save the result as a environment variable
get_rebootmode- get reboot mode
go - start application at address 'addr'
hdcp - HDCP sub-system
help - print command description/usage
icache - enable or disable instruction cache
imxtract- extract a part of a multi-image
irkey - irkey key_value1 key_value2 time_value
itest - return true/false on integer compare
kgdb - enter gdb remote debug mode
loadenv - load environment at address 'addr'
loop - infinite loop on address range
macreg - ethernet mac register read/write/dump
md - memory display
mdc_clk - do mdc clock
mm - memory modify (auto-incrementing address)
mmc - MMC sub system
mmcinfo - display MMC info
msleep - delay execution for some time
mtdparts- define flash/nand partitions
mtest - simple RAM read/write test
mw - memory write (fill)
nand - NAND sub-system
nboot - boot from NAND device
netspd_f- enforce eth speed
nm - memory modify (constant address)
phyreg - ethernet phy register read/write/dump
printenv- print environment variables
reset - Perform RESET of the CPU
run - run commands in an environment variable
saveenv - save environment variables to persistent storage
secukey - security KEY sub-system
setenv - set environment variables
sf - SPI flash sub-system
showvar - print local hushshell variables
sleep - delay execution for some time
source - run script from memory
ssecukey- NAND KEY sub-system
test - minimal test like /bin/sh
tftpboot- boot image via network using TFTP protocol
tiny_usbtool- start tiny USB tool for PC burner
true - do nothing, successfully
unpackimg- unpack imgpack to single
usb - USB sub-system
usbbc - test usb bc
usbboot - boot from USB device
usid_prefetch- usid sub-system
uuid_prefetch- uuid sub-system
version - print monitor, compiler and linker version
video - video sub-system
m6_mbx_th8_secure#nand scrub_safe 0nand scrub_safe 0
NAND scrub_safe: whole chip
Warning: scrub_safe option will erase all bad blocks except factory bad blocks!
aml_nand_save_env:6339,save env to 8000
Erasing at 0xa200000 -- 4% complete. NAND bbt detect factory Bad block at b400000
Skipping bad block at 0x0b400000
NAND bbt detect factory Bad block at b600000
Skipping bad block at 0x0b600000
Erasing at 0xffe00000 -- 100% complete.
OK
m6_mbx_th8_secure#defenvdefenv
Using default environment
m6_mbx_th8_secure#saveenv
Saving Environment to SPI Flash...
SPI BOOT,spi_saveenv : saveenv 97
Erasing SPI flash...Writing to SPI flash...done
m6_mbx_th8_secure#usb start
(Re)start USB...
USB: dwc_usb driver version: 2.94 6-June-2012
USB (0) peri reg base: c1108400
USB (0) use clock source: XTAL input
USB (0) PHY Clock not detected!
USB (0) base addr: 0xc9040000
Force id mode: Host
dwc_otg: Highspeed device found !
scanning bus for devices... 1 USB Device(s) found
scanning bus for storage devices... 1 Storage Device(s) found
m6_mbx_th8_secure#fatload usb 0 82000000 recovery.img
reading recovery.img
..................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
5271776 bytes read
m6_mbx_th8_secure#bootm 82000000
## ANDROID Format IMAGE
## Booting kernel from Legacy Image at 82000000 ...
Image Name: Linux-3.0.50+
Image Type: ARM Linux Kernel Image (lzma compressed)
Data Size: 3340058 Bytes = 3.2 MiB
Load Address: 80008000
Entry Point: 80008000
Verifying Checksum ... OK
Ramdisk start addr = 0x82330000, len = 0x1d6cac
board_usb_stop cfg: 0
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+ (jenkins@ubuntu-server) (gcc version 4.6.x-google 20120106 (prerelease) (GCC) ) #1 SMP PREEMPT Wed Nov 19 13:22:51 HKT 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:532: start=0x80000000, size=0x4000000
[ 0.000000@0] bankstart=0x8eb00000, size=0x11300000
[ 0.000000@0] early_mem:563: start=0x9ff00000, size=0x0
[ 0.000000@0] early_mem:571: start=0xa0000000, size=0x20000000
[ 0.000000@0] Memory policy: ECC disabled, Data cache writealloc
[ 0.000000@0] PERCPU: Embedded 7 pages/cpu @c121c000 s5600 r8192 d14880 u32768
[ 0.000000@0] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 215808
[ 0.000000@0] Kernel command line: root=/dev/cardblksd2 rw rootfstype=ext3 rootwait init=/init console=ttyS0,115200n8 logo=osd1,0x84100000,${outputtemp},full androidboot.resolution=${outputmode} hdmimode=${hdmimode} cvbsmode=${cvbsmode} hlt vmalloc=256m mem=1024m a9_clk_max=1512000000 vdachwswitch=${vdacswitchmode} hdmitx=${cecconfig} mac=${ethaddr} usid=${sn}
[ 0.000000@0] osd1:1
[ 0.000000@0] full:2
[ 0.000000@0] kernel get hdmimode form uboot is ${hdmimode}
[ 0.000000@0] kernel get cvbsmode form uboot is ${cvbsmode}
[ 0.000000@0] HDMI DEBUG: hdmitx_boot_para_setup [1959]
[ 0.000000@0] ******** uboot setup mac-addr: 0:0:dd:b2:7d:67
[ 0.000000@0] ###############DMA301011312#########################
[ 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 275MB 512MB = 851MB total
[ 0.000000@0] Memory: 851868k/851868k available, 19556k 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 - 0xdfe00000 ( 510 MB)
[ 0.000000@0] pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB)
[ 0.000000@0] modules : 0xbf000000 - 0xbfe00000 ( 14 MB)
[ 0.000000@0] .init : 0xc0008000 - 0xc0037000 ( 188 kB)
[ 0.000000@0] .text : 0xc0037000 - 0xc081d5fc (8090 kB)
[ 0.000000@0] .data : 0xc081e000 - 0xc0879fa0 ( 368 kB)
[ 0.000000@0] .bss : 0xc0879fc4 - 0xc0a12178 (1633 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 c0831ec0
[ 0.000000@0] Disable timerA
[ 0.000000@0] Console: colour dummy device 80x30
[ 0.000000@0] console [ttyS0] enabled
[ 0.293855@0] Calibrating delay loop... 2387.14 BogoMIPS (lpj=11935744)
[ 0.350051@0] pid_max: default: 32768 minimum: 301
[ 0.352241@0] Mount-cache hash table entries: 512
[ 0.357475@0] Initializing cgroup subsys cpuacct
[ 0.361412@0] Initializing cgroup subsys freezer
[ 0.365993@0] CPU: Testing write buffer coherency: ok
[ 0.371161@0] MESON TIMER-B c0831f80
[ 0.374532@0] Disable timerA
[ 0.377389@0] Disable timerB
[ 0.380259@0] Disable timerA
[ 0.383239@0] L310 cache controller enabled
[ 0.387285@0] l2x0: 8 ways, CACHE_ID 0x4100a0c8, AUX_CTRL 0x7e462c01, Cache size: 524288 B
[ 0.395582@0] prefetch=0x31000006
[ 0.398915@0] ===actlr=0x41
[ 0.401697@0] ===actlr=0x4b
[ 0.404469@0] SCU_CTRL: scu_ctrl=0x69
[ 0.408114@0] pl310: aux=0x7e462c01, prefetch=0x31000006
|