[Captivate Android Development] AdamOutler:
Alright, now that I'm back up in operation with external UART

��������������������������������������������������������������������������������
Uart negotiation Error

Insert an OTG cable into the connector!

Enumeration TimeOut Error
1
-----------------------------------------------------------
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 - Non Secure Boot Version.

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

Board Name: ARIES REV 03
Build On: Sep 21 2010 18:43:18
-----------------------------------------------------------

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
Now Read Images - ID : 1
.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 : 1146
===============================
ID : DBDATAFS (0x17)
ATTR : RW STL SLC (0x1101)
FIRST_UNIT : 1278
NO_UNITS : 536
===============================
ID : CACHE (0x18)
ATTR : RW STL SLC (0x1101)
FIRST_UNIT : 1814
NO_UNITS : 140
===============================
ID : MODEM (0xb)
ATTR : RO SLC (0x1002)
FIRST_UNIT : 1954
NO_UNITS : 50
===============================
loke_init: j4fs_open success..
load_lfs_parameters valid magic code and version.
load_debug_level reading debug level from file successfully(0x574f4c44).
init_fuel_gauge: vcell = 3728mV, soc = 32
check_quick_start_condition- Voltage: 3728.75000, Linearized[30/45/60], Capacit2
init_fuel_gauge: vcell = 3728mV, soc = 32, rcomp = d01f
reading nps status file is successfully!.
nps status=0x504d4f43
PMIC_IRQ1 = 0x80
PMIC_IRQ2 = 0x0
PMIC_IRQ3 = 0x1
PMIC_IRQ4 = 0x0
PMIC_STATUS1 = 0x80
PMIC_STATUS2 = 0x0
get_debug_level current debug level is 0x574f4c44.
aries_process_platform: Debug Level Low
keypad_scan: key value ----------------->= 0x40
CONFIG_ARIES_REV:48 , CONFIG_ARIES_REV03:48
check_download: micorusb_status1 = 0, key_value = 40
aries_process_platform: final s1 booting mode = 0
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!!

Autoboot (0 seconds) in progress, press any key to stop
get_debug_level current debug level is 0x574f4c44.
get_debug_level current debug level is 0x574f4c44.
boot_kernel: Debug Level Low
FOTA Check Bit
Read BML page=, NumPgs=
FOTA Check Bit (0xffffffff)
Load Partion idx = (6)
..............................done
Kernel read success from kernel partition no.6, idx.6.
setting param.serialnr=no you can't have my serial number
setting param.board_rev=0x30
setting param.cmdline=console=ttySAC2,115200 loglevel=4

Starting kernel at 0x314dc000...

Uncompressing Linux.............................................................
[ 0.000000] copy: bad source 0
[ 0.000000] mout_audss: bad source 0
[ 0.090117] KERNEL:kernel_sec_get_debug_level_from_boot=0x574f4c44
[ 0.094858] KERNEL:magic_number=0x0 DEBUG LEVEL low!!
[ 0.099869] (kernel_sec_set_upload_cause) : upload_cause set 0
[ 0.799591] --------A1026 i2c driver A1026_probe called
[ 0.803377] --------A1026_probe: device not supported
[ 0.810622] --------A1026_driver_init successful
[ 0.813774] --------A1026_dev_powerup called
[ 2.910039] Failed to request gpio touchkey_init:661
[ 2.913638] Failed to request gpio touchkey_init:663
[ 3.870813] init: cannot open '/initlogo.rle'
[ 4.443885] init: [disk_config] :::: /dev/block/mmcblk0p1 :::::
[ 4.449911] init: [disk_config] vfat_identify -> ok
[ 4.453345] init: [disk_config] :::: /dev/block/mmcblk0p2 :::::
[ 4.461420] init: [disk_config] rfs_identify -> ok[FSA9480]connectivity_swit1
[ 4.770107] init: cannot find '/system/etc/install-recovery.sh', disabling ''
[ 4.857478] init: cannot find '/system/bin/immvbsd', disabling 'immvbsd'
[ 4.898540] init: wifi.mac_addr: check_wifi_address()
[ 4.932874] init: wifi.mac_addr: .mac.info already exist!
[ 4.939076] init: Cannot open "/system/bin/.BT_26_0M.hcd": Unknown error: -1f
$

The log above should show you that my boot is NON-Secure... also, looks like I have a shell terminal to play with :D I like shell terminals.

Ok... so.. I ran your V1 hello world...

I placed the battery in

��������������������������������������������������������������������������������
Uart negotiation Error

Insert an OTG cable into the connector!

I inserted the cable

��������������������������������������������������������������������������������
Uart negotiation Error

I ran the program a few times with the addresses you specified earlier... d002000, 8 and 10

adam@Adam-Desktop:~/Desktop/dltool$ sudo ./smdk-usbdl -f ../pc110_uart_test.bin -a d0020000
[sudo] password for adam:
SMDK42XX,S3C64XX USB Download Tool
Version 0.20 (c) 2004,2005,2006 Ben Dooks <ben-linux@fluff.org>

S3C64XX Detected!
=> found device: bus 001, dev 118
=> loaded 2460 bytes from ../pc110_uart_test.bin
=> Downloading 2470 bytes to 0xd0020000
=> Data checksum de7d
=> usb_bulk_write() returned 2470

They returned this.

Secure Fail Error

I don't have cross-compiling tools. Can you compile the V2?

It works great. I just resurrected the one above with bare wires on nothing but stubs for pads... It's alot easier to use a header though. So far I've performed this mod on 4 phones and resurrected all four afterwards. No problems with JTAG.