Add tiny linux bootloader

Building tiny linux bootloader also creates the lazybox image (lazybox.img)
This commit is contained in:
aheirman 2021-02-04 16:29:09 +01:00
parent f2b55321fb
commit 18bb7ee1a9
3 changed files with 44 additions and 1 deletions

View file

@ -1,7 +1,7 @@
#!/bin/sh
dd if=../tiny-linux-bootloader/disk of=lazybox.img
exit
TOTAL=`stat -c %s lazybox.img`
SECTOR=$(($TOTAL / 512))