build_first_time.sh
来自「pocket pc hx4700 bootloader」· Shell 代码 · 共 24 行
SH
24 行
#!/bin/bashrm -f orig/asus716_bootloader_Jan_30_2004_backup.ziprm -f orig/A7123000_orig.nb0cd origwget http://www.handhelds.org/~aquadran/MyPal716/firmware/original/asus716_bootloader_Jan_30_2004_backup.zipunzip asus716_bootloader_Jan_30_2004_backup.zip A7123000_orig.nb0cd ..# changes not included in sources:# at offset 0x01664 '10 B0 8B 03' to '0D C5 00 0A' - BNE - jump command to below pre loader code# at offset 0x21b00 '00 00 00 00' to '01 00 1A E3' - TST R10, #1 - test if it was hard reset# at offset 0x21b04 '00 00 00 00' to 'D7 7E FF 0A' - BEQ - back if not to after jump opcode above ^^^# at offset 0x21b08 '00 00 00 00' to '0C D0 9F E5' - LDR SP, 0xA3060000 - set stack pointer# at offset 0x21b0c '00 00 00 00' to 'FF 5F 2D E9' - STMFD SP!, {R0-R12,LR} - save registers to stack# at offset 0x21b10 '00 00 00 00' to '3A 00 00 EB' - BL 0x22000 - jump into 0x22000 - linux loader code# at offset 0x21b14 '00 00 00 00' to 'FF 5F BD E8' - LDMFD SP!, {R0-R12,LR} - restore registers from stack# at offset 0x21b18 '00 00 00 00' to 'D2 7E FF EA' - B - back to after jump opcode above ^^^# at offset 0x21b1c '00 00 00 00' to '00 00 06 A3' - DCD 0xA3060000 - pointer of stackxdelta patch bootloader_pre.xdelta orig/A7123000_orig.nb0 bootloader_pre.raw
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?