Recompile with yesterday's fix
This commit is contained in:
parent
58ec3b0636
commit
a40355aa63
7 changed files with 6 additions and 1 deletions
BIN
3.10E.iso
BIN
3.10E.iso
Binary file not shown.
Binary file not shown.
|
|
@ -4,8 +4,13 @@ ee-gcc -Ttext=0x01FFF800 payload.c -o payload.elf -nostartfiles -nostdlib -ffree
|
||||||
ee-objcopy -O binary payload.elf payload.bin -Wl,-z,max-page-size=0x1
|
ee-objcopy -O binary payload.elf payload.bin -Wl,-z,max-page-size=0x1
|
||||||
|
|
||||||
ENTRY=`ee-objdump -t payload.elf | grep " _start"`
|
ENTRY=`ee-objdump -t payload.elf | grep " _start"`
|
||||||
ENTRY=0x`grep -o "^\S*" <<< $ENTRY`
|
echo $ENTRY
|
||||||
|
|
||||||
|
# Doesn't seem to work on MinGW toolchain, so set manually if you're using that:
|
||||||
|
ENTRY=0x`grep -o "^\S*" <<< $ENTRY`
|
||||||
|
#ENTRY=0x01fff9a8
|
||||||
|
|
||||||
|
echo $ENTRY
|
||||||
echo "Building crt0"
|
echo "Building crt0"
|
||||||
|
|
||||||
ee-gcc -Ttext=0x01500014 -DENTRY=$ENTRY crt0.S -o fullpayload.elf -nostartfiles -nostdlib -ffreestanding -Wl,-z,max-page-size=0x1
|
ee-gcc -Ttext=0x01500014 -DENTRY=$ENTRY crt0.S -o fullpayload.elf -nostartfiles -nostdlib -ffreestanding -Wl,-z,max-page-size=0x1
|
||||||
|
|
|
||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Add table
Reference in a new issue