[XPERIA X1 Android Development] _Sensible:
cool cool,

@
@ Tinboot V 1.0
@ Very simple bootloader for HTC Vogue
@ Martin Johnson - M.J.Johnson@massey.ac.nz
@
.ifdef kaiser
.equ LOAD_START, 0x10300000
.else
.ifdef polaris
.equ LOAD_START, 0x10300000
.else
.equ	LOAD_START,	0x10000000
.endif
.endif
.equ	RAM_START,	0x10000000
.equ	RAM_SIZE,	0x03000000
.equ	INITRD_START,	RAM_START+0x00800000

.equ	KERNEL_OFFSET, 0x8000
.equ	XIP_END,	0x2ff000

.org 0
b boot

.org 0x40
.word 0x43454345
.word romhdr+0x80000000	@ location of wince romhdr
.word romhdr
.org 0x100
tags:	.word 5,0x54410001,1,0x1000,0	@ ATAG_CORE, pagesize=4K
.word 4,0x54410002,RAM_SIZE,RAM_START	@ ATAG_MEM
.word 4,0x54420005,INITRD_START,fin-initrd	@ ATAG_INITRD2
cmdline_start:	.word (cmdline_end-cmdline_start)/4,0x54410009	@ ATAG_CMDLINE
.ifdef x428
.asciz "clock-7x00.ahb_div=3 pm.sleep_mode=0 mddi.width=320 mddi.height=428 mtdparts=msm_nand:0x00300000@0x1600000(boot),0x00d80000@0x01900000(root),0x05980000@0x02680000(system),0x08000000@0x08000000(userdata)"
.endif
.ifdef x480
.asciz "clock-7x00.ahb_div=3 pm.sleep_mode=0 mddi.width=320 mddi.height=480 mtdparts=msm_nand:0x00300000@0x1600000(boot),0x00d80000@0x01900000(root),0x05980000@0x02680000(system),0x08000000@0x08000000(userdata)"
.endif
.ifdef x320
.asciz "clock-7x00.ahb_div=3 pm.sleep_mode=0 mddi.width=240 mddi.height=320 mtdparts=msm_nand:0x00300000@0x1600000(boot),0x00d80000@0x01900000(root),0x05980000@0x02680000(system),0x08000000@0x08000000(userdata)"
.endif
.ifdef kaiser
.asciz "mddi.width=320 mddi.height=428 board-htckaiser.panel_type=2 pm.sleep_mode=1 mtdparts=msm_nand:0x00300000@0x26a0000(boot),0x00d80000@0x029a0000(root),0x05980000@0x03720000(system),0x06f60000@0x090a0000(userdata)"
.endif
.ifdef polaris
.asciz "mddi.width=240 mddi.height=320 board-htcpolaris.panel_type=3 pm.sleep_mode=1 mtdparts=msm_nand:0x00300000@0x26a0000(boot),0x00d80000@0x029a0000(root),0x05980000@0x03720000(system),0x06f60000@0x090a0000(userdata)"
.endif
.ifdef kovsky
.asciz "mddi.width=480 mddi.height=800 root=/dev/mmcblk0p2"
.endif
.align
cmdline_end:	.word 0,0	@ ATAG_END

.org 0x00001000

boot:	ldr r0,loadstart_ptr
ldr r1,ramstart_ptr
ldr r3,fin_ptr

copycode:	ldr r2,[r0],#4
str r2,[r1],#4
cmp r1,r3
blo copycode
ldr pc,start_ptr

start:	ldr r0,initrd_ptr
ldr r3,fin_ptr
ldr r1,ird_start_ptr

copyinitrd:	ldr r2,[r0],#4
str r2,[r1],#4
cmp r0,r3
blo copyinitrd

mov r0,#0
ldr r1,mtype
ldr r2,tags_addr
ldr pc,kernel_start

mtype:	.word MTYPE
start_ptr:	.word start+RAM_START
loadstart_ptr:	.word LOAD_START
ramstart_ptr:	.word RAM_START
initrd_ptr:	.word initrd+RAM_START
fin_ptr:	.word fin+RAM_START
ird_start_ptr:	.word INITRD_START
kernel_start:	.word RAM_START+0x8000
tags_addr:	.word RAM_START+0x100

romhdr:
.word 0x0	@ dllfirst
.word 0x0	@ dlllast
.word 0x80000000	@ physfirst
.word 0x80000000+fin	@ physlast
.word 0	@ num mods
.word 0x80000000+fin	@ ramstart
.word 0x80000000	@ ramfree
.word 0x88000000	@ ramend
.word 0	@ copyentries
.word 0x80000000	@ copyoffset
.word 0	@ profilelen
.word 0	@ profileoffset
.word 0	@ numfiles
.word 0	@ flags
.word 0x20	@ fsrampercent
.word 0	@ drvglobstart
.word 0	@ drvgloblen
.word 0x201c2	@ cputype/flags
.word 0x80000000	@ pextensions
.word 0	@ trackingstart
.word 0	@ trackinglen

.org KERNEL_OFFSET
kernel:
.incbin "zImage"
initrd:
@	.incbin	"initrd.gz"
@	.align
fin:
.org XIP_END-0x20000,0xff
.incbin "emptyimgfs"
@rootfs:
@.incbin "rootfs.yaffs"
@.org rootfs + 0xd80000

.ifdef kovsky
.asciz "mddi.width=480 mddi.height=800 root=/dev/mmcblk0p2"
.endif

So the patch is pointing a the SD card? Have you tried NAND yet?