mirror of
https://gitlab.com/bztsrc/bootboot.git
synced 2023-02-13 20:54:32 -05:00
Updated binaries and BIOS extra check
This commit is contained in:
parent
b9f264f4cb
commit
d0c66e7097
5 changed files with 20 additions and 15 deletions
|
@ -15,10 +15,10 @@ raspbootcom: raspbootcom.c
|
|||
gcc raspbootcom.c -o raspbootcom
|
||||
|
||||
getfw:
|
||||
wget -q https://raw.githubusercontent.com/raspberrypi/firmware/master/boot/LICENCE.broadcom
|
||||
wget -q https://raw.githubusercontent.com/raspberrypi/firmware/master/boot/bootcode.bin
|
||||
wget -q https://raw.githubusercontent.com/raspberrypi/firmware/master/boot/fixup.dat
|
||||
wget -q https://raw.githubusercontent.com/raspberrypi/firmware/master/boot/start.elf
|
||||
wget -c -q https://raw.githubusercontent.com/raspberrypi/firmware/master/boot/LICENCE.broadcom
|
||||
wget -c -q https://raw.githubusercontent.com/raspberrypi/firmware/master/boot/bootcode.bin
|
||||
wget -c -q https://raw.githubusercontent.com/raspberrypi/firmware/master/boot/fixup.dat
|
||||
wget -c -q https://raw.githubusercontent.com/raspberrypi/firmware/master/boot/start.elf
|
||||
|
||||
cleanfw:
|
||||
@rm LICENCE.broadcom bootcode.bin fixup.dat start.elf
|
||||
|
|
BIN
dist/bootboot.bin
vendored
BIN
dist/bootboot.bin
vendored
Binary file not shown.
File diff suppressed because one or more lines are too long
|
@ -3,7 +3,7 @@
|
|||
#define sizeof_boot_bin 512
|
||||
extern unsigned char binary_boot_bin[512];
|
||||
#define sizeof_bootboot_bin 13312
|
||||
extern unsigned char binary_bootboot_bin[9285];
|
||||
extern unsigned char binary_bootboot_bin[9291];
|
||||
#define sizeof_bootboot_efi 103614
|
||||
extern unsigned char binary_bootboot_efi[46348];
|
||||
#define sizeof_bootboot_img 35344
|
||||
|
@ -12,9 +12,9 @@ extern unsigned char binary_bootboot_img[20050];
|
|||
extern unsigned char binary_bootboot_rv64[31];
|
||||
#define sizeof_LICENCE_broadcom 1594
|
||||
extern unsigned char binary_LICENCE_broadcom[883];
|
||||
#define sizeof_bootcode_bin 52456
|
||||
extern unsigned char binary_bootcode_bin[30329];
|
||||
#define sizeof_fixup_dat 7297
|
||||
extern unsigned char binary_fixup_dat[1281];
|
||||
#define sizeof_start_elf 2939744
|
||||
extern unsigned char binary_start_elf[1717161];
|
||||
#define sizeof_bootcode_bin 52460
|
||||
extern unsigned char binary_bootcode_bin[30800];
|
||||
#define sizeof_fixup_dat 7260
|
||||
extern unsigned char binary_fixup_dat[1267];
|
||||
#define sizeof_start_elf 2973056
|
||||
extern unsigned char binary_start_elf[1737447];
|
||||
|
|
|
@ -930,6 +930,11 @@ real_printfunc:
|
|||
mov ah, byte 01h
|
||||
xor dx, dx
|
||||
int 14h
|
||||
;if BIOS timed out, clear the IO address
|
||||
;so that further calls won't try sending
|
||||
and ah, 80h
|
||||
jz @f
|
||||
mov word[400h], 0
|
||||
@@: pop si
|
||||
jmp real_printfunc
|
||||
.end: ret
|
||||
|
|
Loading…
Reference in a new issue