📄 build_first_time.sh
字号:
#!/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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -