h1. GTIN7000Bootloader h2. Boot log
�
Welcome to Samsung Primitive Bootloader.
build time: Nov 11 2011 15:10:05
current time: ff/1f/3 3f:7f:70

[set_mmc_ocr] Sector Mode
[hsmmc_init] MMC card is detected
Product Name : VYL00M
 ext_csd
card_size: 15028
 Total Card Size: 15029 MByte

mmc_init: card initialization completed!
pbl found bootable sbl in #53248.
jump to sbl 0x4d400000.

Secondary Bootloader v3.1 version.
Copyright (C) 2011 System S/W Group. Samsung Electronics Co., Ltd.
Board: C1 REV 02 / Apr 25 2012 00:55:25
current time: ff/1f/3 3f:7f:71

booting code=0xc0c0c0c0
[set_mmc_ocr] Sector Mode
[hsmmc_init] MMC card is detected
Product Name : VYL00M
CID:150100 56594c30 304d1999 c829381f
 ext_csd
card_size: 15028
 Total Card Size: 15029 MByte

 Total Sector Count: 30777344

MoviNand Initialization Complete!
===== PARTITION INFORMATION =====
ID  DEVICE  FIRST UNIT  NO. UNITS
GANG (0x0)	MMC	0	0
BOOT (0x1)	MMC	0	0
EFS (0x4)	MMC	8192	40960
SBL1 (0x2)	MMC	49152	2560
SBL2 (0x3)	MMC	53248	2560
PARAM (0x5)	MMC	57344	16384
KERNEL (0x6)	MMC	73728	16384
RECOVERY (0x7)	MMC	90112	16384
CACHE (0x8)	MMC	106496	409600
MODEM (0x9)	MMC	516096	32768
FACTORYFS (0xa)	MMC	548864	1744896
DATAFS (0xb)	MMC	2293760	4194304
UMS (0xc)	MMC	6488064	23232512
HIDDEN (0xd)	MMC	29720576	1048576
loke_init: j4fs_open..success
CHECKSUM_HEADER_SECTOR :42
offset:42, size:1024
Not Need Movinand Checksum
load_lfs_parameters valid magic code and version.
switch_sel_str='1'
load_debug_level: read debug level successfully(0x574f4c44)...LOW
init_ddi_data: usable ddi data.
init_fuel_gauge : not por status
fuel_gauge_get_version: [1]=19, [0]=d3
init_fuel_gauge: vcell = 4058 mV, vfocv = 4131 mV, soc = 96 
microusb_get_attached_device: STATUS1:0x3c, 2:0x0
microusb_get_attached_device: STATUS1:0x3c, 2:0x0
9172 = (403800 - 329011)*12264/100000
[1] 409450 = (9172 * 100000) / 10936 + 325581
0x0|0h,0xff|0h,0x7f|80h,0xff|1h,0x0|0h,0x7|91h,0x60|abh,0x64|0h,0x1c|0h,0xcb|16h,0xff|70h,0xff|73h,0x0|2h,0x60|b1h,0x60|d6h,0x7|91h,0x7|d0h,0x6d|c9h,0xa0|5ah,0x0|0h,0x2|90h,0x1|48h,0x16|e5h,0x0|1h,0x7|d0h,0xc9|6ah,0x1c|16h,0xcf|c2h,0x0|feh,0x23|14h,0x2|80h,0x7|8fh,0x4d|78h,0x0|92h,0x1|0h,0x7|d0h,0x14|0h,0x23|5h,0x16|0h,0x7f|ceh,0x0|7h,0x8e|84h,0x10|3bh,0x8|10h,0xe3|e1h,0x29|eh,0x40|0h,0x0|0h,0x4|0h,0x6|40h,0x8|0h,0x0|0h,0x5|52h,0x7|d4h,0x1|0h,0x5|e0h,0x0|78h,0x10|25h,0x50|30h,0x6|0h,0x16|80h,0x14|0h,0x5|deh,0xe0|0h,0x10|0h,0x4|10h,0x7f|ffh,0x0|0h,0xcf|0h,0x1|f4h,0x32|0h,0x0|0h,0x60|abh,0xe2|cfh,0x7|91h,0xf3|0h,0xff|fch,0xff|fch,0xba|cfh,0x23|c5h,
0xc|47h,0xb|c2h,0x0|1h,0x16|7dh,0x0|3h,0x0|6h,0xff|90h,0xff|ffh,0x4c|10h,0x0|0h,0x4c|30h,0xff|c0h,0x40|0h,0x0|0h,0xce|a0h,0x9|10h,0x0|0h,0x0|0h,0x0|0h,0x0|0h,0x0|0h,0x0|0h,0x60|b1h,0xff|47h,0x3f|e7h,0x55|71h,0xff|f3h,0xce|9bh,0x0|76h,0x39|10h,0xcb|16h,0x60|abh,
init_microusb_ic: MUIC: CONTROL1:0x1b
init_microusb_ic: MUIC: CONTROL1:0x1b
init_microusb_ic: MUIC: CONTROL2:0x1a
init_microusb_ic: MUIC: CONTROL2:0x3a
reading nps status file is successfully!.
nps status=0x504d4f43
PMIC_IRQSRC  = 0x0 
PMIC_IRQ1    = 0xb 
PMIC_IRQ2    = 0x1b 
PMIC_IRQ3    = 0x0 
PMIC_IRQ4    = 0x11 
PMIC_STATUS1 = 0x1 
PMIC_STATUS2 = 0x10 
PMIC_STATUS3 = 0x0 
PMIC_STATUS4 = 0x0 
bootloader base address=0x4d400000
LPDDR0 1st. cached=0x40000000, size=0xe400000
LPDDR0 non-cached=0x4e400000, size=0xa00000
LPDDR0 2nd. cached=0x4ee00000, size=0x1200000
RST_STAT = 0x10000
get_hwrev() = 8
board_process_platform: MAGIC c0c0c0c0 at 40000000!
board_process_platform: debug level is 574f4c44!
microusb_get_attached_device: STATUS1:0x3c, 2:0x0
microusb_get_attached_device: STATUS1:0x3c, 2:0x0
microusb_get_attached_device: STATUS1:0x3c, 2:0x0
microusb_get_attached_device: STATUS1:0x3c, 2:0x0
hw_pm_status: jig_status = 1, chg_status = 0
s5p_set_high_clk: ARM Clock = 800MHz.
......kernel is non signed binary.
a2, 83, 1f, lcdtype = 0

Autoboot (0 seconds) in progress, press any key to stop 
boot_kernel: debug level low!
checkbit: find RECOVERY
checkbit (0)
......kernel is non signed binary.
ATAG_CORE: 5 54410001 0 0 0
MEMCONFIG: 20e01323 20e01323
ATAG_MEM: 4 54410002 10000000 40000000
ATAG_MEM: 4 54410002 10000000 50000000
ATAG_MEM: 4 54410002 10000000 60000000
ATAG_MEM: 4 54410002 10000000 70000000
ATAG_SERIAL: 4 XXXXXXXX XXXXXXXX XXXXXXXX
ATAG_REVISION: 3 54410007 8
ATAG_CMDLINE: 33 54410009 'loglevel=4 console=ram sec_debug.enable=0 sec_debug.enable_user=0 c1_watchdog.sec_pet=5 sec_log=0x100000@0x5ea00000 s3cfb.bootloaderfb=0x5ec00000 lcdtype=3 consoleblank=0 lpj=3981312 vmalloc=144m'
ATAG_NONE: 0 0

Starting kernel at 0x40008000...

h2. Available commands
SBL> help
Following commands are supported:
* movichk
* setenv
* saveenv
* printenv
* help
* reset
* boot
* kernel
* loadpart
* loadkernel
* erasepart
* format
* open
* close
* eraseall
* showpart
* addpart
* delpart
* savepart
* nkernel
* nandread
* nandwrite
* usb
* crc
* log
* sud
* upload
* emmc
* smartreport
* keyread
* readadc
* mmctest
* usb_read
* usb_write
* fuelgauge
* wdt
To get commands help, Type "help "
And their respective help
SBL> help movichk
* Help : movichk
* Usage : 
SBL> help setenv
* Help : setenv
* Usage : setenv [name] [value] . .
	Modify current environment info on ram

SBL> help saveenv
* Help : saveenv
* Usage : saveenv
	Save cuurent environment info to flash

SBL> help printenv
* Help : printenv
* Usage : printenv
	Print current environment info on ram

SBL> help help
* Help : help
* Usage : help [command]
SBL> help reset
* Help : reset
* Usage : reboot
Reboot system

SBL> help boot
* Help : boot
* Usage : boot [kernel options]
Boot Linux with optional kernel options

SBL> help kernel
* Help : kernel
* Usage : kernel hex_adr
Change the Linux kernel base

SBL> help loadpart
* Help : loadpart
* Usage : load partition from storage device.
SBL> help loadkernel
* Help : loadkernel
* Usage : load kernel from storage device.
SBL> help erasepart
* Help : erasepart
* Usage : erase partition.
SBL> help format
* Help : format
* Usage : format
	format device
SBL> help open
* Help : open
* Usage : open
	open device
SBL> help close
* Help : close
* Usage : close
	close device
SBL> help eraseall
* Help : eraseall
* Usage : eraseall
	erase all units
SBL> help showpart
* Help : showpart
* Usage : showpart
	show partition information
SBL> help addpart
* Help : addpart
* Usage : addpart   
	add partition information
       - ex) addpart 0x(id) 0x1(attr) 0x10(units)
SBL> help delpart
* Help : delpart
* Usage : delpart
	delete last partition information
SBL> help savepart
* Help : savepart
* Usage : savepart
	save partition information
SBL> help nkernel
* Help : nkernel
* Usage : nkernel command
* Usage : nkernel
	read kernel from flash to DDR

SBL> help nandread
* Help : nandread
* Usage : * Usage : nandread  
	read partition from flash to SDRAM(0x80000000)

SBL> help nandwrite
* Help : nandwrite
* Usage : * Usage: nandwrite  
	write partition from SDRAM(0x80000000) to flash

SBL> help usb
* Help : usb
* Usage : usb download command
SBL> help crc
* Help : crc
* Usage : crc   
SBL> help log
* Help : log
* Usage : print log
SBL> help sud
* Help : sud
* Usage : sud command
SBL> help upload
* Help : upload
* Usage : upload
SBL> help emmc
* Help : emmc
* Usage : emmc 
SBL> help smartreport
* Help : smartreport
* Usage : smartreport [mode]
SBL> help keyread
* Help : keyread
* Usage : *Usage : keyread 

SBL> help readadc
* Help : readadc
* Usage : *Usage : readadc  

SBL> help mmctest
* Help : mmctest
* Usage : mmctest   
SBL> help usb_read
* Help : usb_read
* Usage : usb_read reg
Read the usb ic register

SBL> help usb_write
* Help : usb_write
* Usage : usb_write reg, val
Read the usb ic register

SBL> help fuelgauge
* Help : fuelgauge
* Usage : *usage : fuelgauge

SBL> help wdt
* Help : wdt
* Usage : wdt