[Fascinate Android Development] AdamOutler:
Hey, I was playing around with my "Hack dock" on a Fascinate which was given to me at the Big Android BBQ from the gentleman who runs RootzWiki. The unique thing about this device is that it was totally functional when I received it. It was given to me with a busted screen. I'm going to turn this into a fully functional development platform as I have done with the Captivate.

I've squared away UnBrickable Mod on the device and I will be posting the information soon. I wanted to post up some UART Output from the device as I go along. through it. This is valuable for debugging information and can open some doors for development.

While I was playing around with the UART output I came across a SBL> prompt command which I had never seen before. The command is "movi_patch". If anyone can shed some light on it, I'd appreciate it.

SBL> movi_patch
###################################
MOVINAND PATCH START
###################################
Movi Init .....Enable Movinand
[hsmmc_init] MMC card is detected
Product Name : M2G1DE
<display_card_info:939>normal csd
read_bl_len: 10
read_bl_partial: 0
One Block Size: 1024 Byte
c_size: 3815
c_size_multi: 7
Total Card Size: 1909 MByte

MoviNand Initialization Complete!
Success!
Pre Patch ....Enter Patch Mode!
Success!
Success!
Good Block Erase!
Success!
Success!
Success!
Pre-Patch Binary Read ...
Success!
Pre-Patch Binary Write ...
.
Pre-Patch Confirm!
Success!
Success!
Power Off!
Movi Init (Format) .....Enable Movinand
[hsmmc_init] MMC card is detected
Product Name : 000000
<display_card_info:939>normal csd
read_bl_len: 10
read_bl_partial: 0
One Block Size: 1024 Byte
c_size: 3815
c_size_multi: 7
Total Card Size: 1909 MByte

MoviNand Initialization Complete!
Success!
Power Off!
Power On!
###################################
MOVINAND PATCH FINSH
###################################
Success!
SBL> reset
Rebooting...

I"ve never seen anything like it...

Here's some more of the UART output/boot sequence.. For those who don't know, this is like the bios on a PC.

�
-----------------------------------------------------------
Samsung Primitive Bootloader (PBL) v3.0
Copyright (C) Samsung Electronics Co., Ltd. 2006-2010
-----------------------------------------------------------

+n1stVPN 2688
+nPgsPerBlk 64
PBL found bootable SBL: Partition(3).

Set cpu clk. from 400MHz to 800MHz.
IROM e-fused version.

-----------------------------------------------------------
Samsung Secondary Bootloader (SBL) v3.0
Copyright (C) Samsung Electronics Co., Ltd. 2006-2010

Board Name: ARIES REV 02
Build On: Feb 28 2011 18:02:24
-----------------------------------------------------------

Re_partition: magic code(0x0)
[PAM: ] ++FSR_PAM_Init
[PAM: ] OneNAND physical base address : 0xb0000000
[PAM: ] OneNAND virtual base address : 0xb0000000
[PAM: ] OneNAND nMID=0xec : nDID=0x50
[PAM: ] --FSR_PAM_Init
fsr_bml_load_partition: pi->nNumOfPartEntry = 12
partitions loading success
board partition information update.. source: 0x0
.Done.
read 1 units.
==== PARTITION INFORMATION ====
ID : IBL+PBL (0x0)
ATTR : RO SLC (0x1002)
FIRST_UNIT : 0
NO_UNITS : 1
===============================
ID : PIT (0x1)
ATTR : RO SLC (0x1002)
FIRST_UNIT : 1
NO_UNITS : 1
===============================
ID : EFS (0x14)
ATTR : RW STL SLC (0x1101)
FIRST_UNIT : 2
NO_UNITS : 40
===============================
ID : SBL (0x3)
ATTR : RO SLC (0x1002)
FIRST_UNIT : 42
NO_UNITS : 5
===============================
ID : SBL2 (0x4)
ATTR : RO SLC (0x1002)
FIRST_UNIT : 47
NO_UNITS : 5
===============================
ID : PARAM (0x15)
ATTR : RW STL SLC (0x1101)
FIRST_UNIT : 52
NO_UNITS : 20
===============================
ID : KERNEL (0x6)
ATTR : RO SLC (0x1002)
FIRST_UNIT : 72
NO_UNITS : 30
===============================
ID : RECOVERY (0x7)
ATTR : RO SLC (0x1002)
FIRST_UNIT : 102
NO_UNITS : 30
===============================
ID : FACTORYFS (0x16)
ATTR : RW STL SLC (0x1101)
FIRST_UNIT : 132
NO_UNITS : 1286
===============================
ID : DBDATAFS (0x17)
ATTR : RW STL SLC (0x1101)
FIRST_UNIT : 1418
NO_UNITS : 444
===============================
ID : CACHE (0x18)
ATTR : RW STL SLC (0x1101)
FIRST_UNIT : 1862
NO_UNITS : 140
===============================
ID : MODEM (0xb)
ATTR : RO SLC (0x1002)
FIRST_UNIT : 2002
NO_UNITS : 2
===============================
loke_init: j4fs_open success..
load_lfs_parameters valid magic code and version.
load_debug_level reading debug level from file successfully(0x44494d44).
quick_start- quick start is executed!
init_fuel_gauge: vcell = 4110mV, soc = 90
reading nps status file is successfully!.
nps status=0x504d4f43
PMIC_IRQ1 = 0x28
PMIC_IRQ2 = 0x0
PMIC_IRQ3 = 0x0
PMIC_IRQ4 = 0x0
PMIC_STATUS1 = 0x40
PMIC_STATUS2 = 0x2c
get_debug_level current debug level is 0x44494d44.
get_debug_level current debug level is 0x44494d44.
aries_process_platform: Debug Level Mid
keypad_scan: key value ----------------->= 0x0
CONFIG_ARIES_REV:32 , CONFIG_ARIES_REV03:48
DISPLAY_PATH_SEL[MDNIE 0x1]is on
MDNIE setting Init start!!
vsync interrupt is off
video interrupt is off
[fb0] turn on
MDNIE setting Init end!!
set_boot_mode: boot mode = 1
aries_process_platform: final s1 booting mode = 1

Autoboot (0 seconds) in progress, press any key to stop Autoboot aborted..
SBL>
SBL>
SBL>
SBL>
SBL>
SBL>
SBL>
SBL>
SBL>
SBL>
SBL>
SBL>
SBL>
SBL>
SBL>
SBL>
SBL>
SBL> help
Following commands are supported:
* setenv
* saveenv
* printenv
* help
* reset
* boot
* kernel
* format
* open
* close
* erasepart
* eraseall
* loadkernel
* showpart
* addpart
* delpart
* savepart
* nkernel
* nramdisk
* nandread
* nandwrite
* usb
* mmctest
* keyread
* movi_patch
* usb_read
* usb_write
* fuelgauge
* pmic_read
* pmic_write
To get commands help, Type "help <command>"
SBL> printenv
PARAM Rev 1.3
SERIAL_SPEED : 7
LOAD_RAMDISK : 0
BOOT_DELAY : 0
LCD_LEVEL : 97
SWITCH_SEL : 5
PHONE_DEBUG_ON : 0
LCD_DIM_LEVEL : 0
LCD_DIM_TIME : 6
MELODY_MODE : 1
REBOOT_MODE : 0
NATION_SEL : 0
LANGUAGE_SEL : 0
SET_DEFAULT_PARAM : 0
PARAM_INT_13 : 0
TOOL_LAUNCHER_STATE : 1
VERSION : I9000XXIL
CMDLINE : console=ttySAC2,115200 loglevel=3 wipedata
DELTA_LOCATION : /mnt/rsv
PARAM_STR_3 :
PARAM_STR_4 :
SBL> showpart
board partition information update.. source: 0x0
.Done.
read 1 units.
==== PARTITION INFORMATION ====
ID : IBL+PBL (0x0)
ATTR : RO SLC (0x1002)
FIRST_UNIT : 0
NO_UNITS : 1
===============================
ID : PIT (0x1)
ATTR : RO SLC (0x1002)
FIRST_UNIT : 1
NO_UNITS : 1
===============================
ID : EFS (0x14)
ATTR : RW STL SLC (0x1101)
FIRST_UNIT : 2
NO_UNITS : 40
===============================
ID : SBL (0x3)
ATTR : RO SLC (0x1002)
FIRST_UNIT : 42
NO_UNITS : 5
===============================
ID : SBL2 (0x4)
ATTR : RO SLC (0x1002)
FIRST_UNIT : 47
NO_UNITS : 5
===============================
ID : PARAM (0x15)
ATTR : RW STL SLC (0x1101)
FIRST_UNIT : 52
NO_UNITS : 20
===============================
ID : KERNEL (0x6)
ATTR : RO SLC (0x1002)
FIRST_UNIT : 72
NO_UNITS : 30
===============================
ID : RECOVERY (0x7)
ATTR : RO SLC (0x1002)
FIRST_UNIT : 102
NO_UNITS : 30
===============================
ID : FACTORYFS (0x16)
ATTR : RW STL SLC (0x1101)
FIRST_UNIT : 132
NO_UNITS : 1286
===============================
ID : DBDATAFS (0x17)
ATTR : RW STL SLC (0x1101)
FIRST_UNIT : 1418
NO_UNITS : 444
===============================
ID : CACHE (0x18)
ATTR : RW STL SLC (0x1101)
FIRST_UNIT : 1862
NO_UNITS : 140
===============================
ID : MODEM (0xb)
ATTR : RO SLC (0x1002)
FIRST_UNIT : 2002
NO_UNITS : 2
===============================
SBL> setenv SWITCH_SEL 6543
argv[0] : setenv
argv[1] : SWITCH_SEL
argv[2] : 6543
value : 6543
SBL> setenv PHONE_DEBUG_ON 1
argv[0] : setenv
argv[1] : PHONE_DEBUG_ON
argv[2] : 1
value : 1
SBL> saveenv
save param.blk, size: 5268
save param.blk successfully.
SBL> reset
Rebooting...

SB

This shows default values for anyone who wants to modify them.