HBOOT 2.03.0000 Partition Layout
Capable size is 557MB+152MB=709MB
To use lib parititon, we need to modify init.vivo.rc(ramdisk) and update-script
Jump to new loader
mkdir /data 0771 system system
mkdir /cache 0770 system cache
mkdir /devlog 0700 root root
# exec /system/bin/e2fsck_recvy -p emmc@system
mount ext3 emmc@system /system rw data=ordered
mkdir /system/lib 0771 system system
mount ext3 emmc@lib /system/lib ro data=ordered
mount ext3 emmc@system /system remount ro
exec /system/bin/e2fsck_recvy -p emmc@userdata
mount ext3 emmc@userdata /data nosuid nodev data=ordered
exec /system/bin/e2fsck_recvy -p emmc@cache
mount ext3 emmc@cache /cache nosuid nodev data=ordered
exec /system/bin/e2fsck_recvy -p emmc@devlog
mount ext3 emmc@devlog /devlog nosuid nodev data=ordered
You can jump new bootloader by typing this command, "fastboot flash loader <LOADER_IMAGE_FILE>"
This command is to copy new loader image recived by fastboot to RAM(at physical address 0x9e008000) and make CPU jump to 0x9e008000
It is difficult porting new bootloader. but if succeed, we can get other platform(windows phone 7, linux, etc..) on our INCS.
if it hanged after typing command, you failed to boot new loader and it is required pulling battery to return hboot.
Base Address is 0x0(physical address) or 0x8d000000(virtual address, hboot mmu table) our phone(INCS)
As MMU is enabled, we can't access physical address directly but our mmu table included hboot is mapped property, also entry point of lk bootloader(form code aroura) include disabling mmu and relocate routine.
So we(developer of new loader) can set MEMBASE at 0x0.
Also We must know the method to communicate OEMSBL(RADIO) in order to port new bootloader
You must enter the RADIO(AMSS) before execute LK Bootloader
As I analyse HBOOT, I know how to communicate with OEMSBL and enter the radio.
You must add some function(enter the radio) to before target_init routine
Since I succeed to port LK Bootloader our INCS, I'm sure that this command(flash loader) is working property.
Please don't doubt that.