Commit 64a460e8 authored by schneider's avatar schneider

hack(bootloader): Adapt scripts to allow compilation for old bootloader

parent 81fce4c5
......@@ -6,7 +6,7 @@ BIN1="$2"
BIN2="$3"
BINOUT="$4"
dd if=/dev/zero ibs=1k count=448 2>/dev/null | tr "\000" "\377" > "$BINOUT"
dd if=/dev/zero ibs=1k count=192 2>/dev/null | tr "\000" "\377" > "$BINOUT"
dd if="$BIN1" of="$BINOUT" conv=notrunc 2>/dev/null
dd if="$BIN2" of="$BINOUT" conv=notrunc oflag=append 2>/dev/null
......
......@@ -38,7 +38,7 @@
/* If used, they should be adjusted for the external Flash/RAM size */
MEMORY {
SPIX (rx) : ORIGIN = 0x08000000, LENGTH = 128M
FLASH (rx) : ORIGIN = 0x10010000, LENGTH = 448k
FLASH (rx) : ORIGIN = 0x10010000, LENGTH = 192k
SRAM (rwx) : ORIGIN = 0x20000000, LENGTH = 256k
SPID (r) : ORIGIN = 0x80000000, LENGTH = 512M
}
......
......@@ -38,7 +38,7 @@
/* If used, they should be adjusted for the external Flash/RAM size */
MEMORY {
SPIX (rx) : ORIGIN = 0x08000000, LENGTH = 128M
FLASH (rx) : ORIGIN = 0x10080000, LENGTH = 512k
FLASH (rx) : ORIGIN = 0x10040000, LENGTH = 512k
SRAM (rwx) : ORIGIN = 0x20040000, LENGTH = 256k
SPID (r) : ORIGIN = 0x80000000, LENGTH = 512M
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment