diff --git a/jtag-loop.S b/jtag-loop.S index 0d0918f..0727fdc 100644 --- a/jtag-loop.S +++ b/jtag-loop.S @@ -21,11 +21,11 @@ Build instructions: -arm-none-linux-gnueabi-gcc -g -fno-common -ffixed-r8 -msoft-float -fno-builtin -ffreestanding -nostdinc -mno-thumb-interwork -Wall -Wstrict-prototypes -fno-stack-protector -Wno-format-nonliteral -Wno-format-security -fno-toplevel-reorder fel-loop.S -c +arm-none-linux-gnueabi-gcc -g -fno-common -ffixed-r8 -msoft-float -fno-builtin -ffreestanding -nostdinc -mno-thumb-interwork -Wall -Wstrict-prototypes -fno-stack-protector -Wno-format-nonliteral -Wno-format-security -fno-toplevel-reorder jtag-loop.S -c -arm-none-linux-gnueabi-objcopy -O binary fel-loop.o fel-loop.bin +arm-none-linux-gnueabi-objcopy -O binary jtag-loop.o jtag-loop.bin -arm-none-linux-gnueabi-nm fel-loop.o +mksunxiboot jtag-loop.bin jtag-loop.sunxi */ .file "fel-loop.S" diff --git a/jtag-loop.c b/jtag-loop.c index 67f6dbe..1110e48 100644 --- a/jtag-loop.c +++ b/jtag-loop.c @@ -24,9 +24,9 @@ Build instructions: arm-none-linux-gnueabi-gcc -g -fno-common -ffixed-r8 -msoft-float -fno-builtin -ffreestanding -nostdinc -mno-thumb-interwork -Wall -Wstrict-prototypes -fno-stack-protector -Wno-format-nonliteral -Wno-format-security -fno-toplevel-reorder -Os jtag-loop.c -c -arm-none-linux-gnueabi-objcopy -O binary fel-loop.o fel-loop.bin +arm-none-linux-gnueabi-objcopy -O binary jtag-loop.o jtag-loop.bin -mksunxiboot fel-loop.bin fel-loop.sunxi +mksunxiboot jtag-loop.bin jtag-loop.sunxi */ void _start(void)