Commits

prabirshrestha  committed 640d457

boot0.bin

  • Participants
  • Parent commits 5f2391b
  • Branches mk

Comments (0)

Files changed (2)

File boot/boot.mk

 $(BOOTSRCPATH)boot.img: $(BOOTSRCPATH)boot0.bin
 
 $(BOOTSRCPATH)boot0.bin: $(BOOTSRCPATH)boot0.elf
+	$(OBJCOPY) -O binary -j .text $^ $@
 
 $(BOOTSRCPATH)boot0.elf: $(BOOTSRCPATH)boot0.o
 	$(LD) -nostartfiles -nostdlib -o $@ $^ -T $(BOOTSRCPATH)boot0.ld

File boot/boot0.S

 
 .code16
 .text
+	jmp .