Ignore:
Timestamp:
Apr 8, 2017, 12:26:07 AM (8 years ago)
Author:
Ben Rietbroek
Message:

Temporarily disable checksum verification for code [v1.1.1-testing]

In the development enviroment, we use VirtualBox with VMDK images.
To quickly test modifications, the AirBoot loader image is merged into
the VMDK image ouside of the VM. Because the 'airboot2.exe' installer
is not used, no checksum is embedded, so we temporarily disable
checksumming for the code section here.

CAUTION:
This is a testbuild !
AirBoot uses the BIOS to access disks and a small coding error can trash
partition tables or other vital disk structures. You are advised to make
backups of TRACK0 and EBRs before using this testbuild. More info at:
https://rousseaux.github.io/netlabs.air-boot/pdf/AirBoot-v1.1.0-manual.pdf

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bootcode/airboot.asm

    r71 r72  
    807807                loop    MBR_RealStart_CheckCodeLoop
    808808
    809 
     809                ; Verify checksum
    810810                cmp     MBR_CheckCode, bx
    811                 je      MBR_RealStart_CheckSuccess
    812 
     811                ;~ je      MBR_RealStart_CheckSuccess      ; CRC verified
     812                jmp      MBR_RealStart_CheckSuccess     ; Ignore CRC
     813
     814                ; Oops, checksum mismatch -- halt the system
    813815                mov     si, offset TXT_ERROR_Attention
    814816                call    MBR_Teletype
Note: See TracChangeset for help on using the changeset viewer.