Fix run.sh scripts to use jumptable of bootloader

Otherwise a crash results with a bootloader compiled with a newer AVR
toolchain (e.g. Debian Jessie). If you still have an ages-old bootloader
without a jump-table, as a short-term measure you can revert this change
in your run.sh. As a long-term fix we recommend you get your bootloader
updated!
This commit is contained in:
Ralf Schlatterbeck 2016-02-19 17:32:09 +01:00
parent 0068611b4d
commit de6477efa8
33 changed files with 97 additions and 97 deletions

View file

@ -1,5 +1,5 @@
#!/bin/bash #!/bin/bash
# For the new bootloader (using a jump-table) you want to use # For the ages-old bootloader (before 2014) you want to use
# BOOTLOADER_GET_MAC=0x0001ff80 (which is the current default) # BOOTLOADER_GET_MAC=0x0001f3a0 as parameter to make below.
make clean TARGET=osd-merkur make clean TARGET=osd-merkur
make TARGET=osd-merkur BOOTLOADER_GET_MAC=0x0001f3a0 make TARGET=osd-merkur

View file

@ -1,5 +1,5 @@
#!/bin/bash #!/bin/bash
# For the new bootloader (using a jump-table) you want to use # For the ages-old bootloader (before 2014) you want to use
# BOOTLOADER_GET_MAC=0x0001ff80 (which is the current default) # BOOTLOADER_GET_MAC=0x0001f3a0 as parameter to make below.
make clean TARGET=osd-merkur make clean TARGET=osd-merkur
make TARGET=osd-merkur BOOTLOADER_GET_MAC=0x0001f3a0 make TARGET=osd-merkur

View file

@ -1,5 +1,5 @@
#!/bin/bash #!/bin/bash
# For the new bootloader (using a jump-table) you want to use # For the ages-old bootloader (before 2014) you want to use
# BOOTLOADER_GET_MAC=0x0001ff80 (which is the current default) # BOOTLOADER_GET_MAC=0x0001f3a0 as parameter to make below.
make clean TARGET=osd-merkur make clean TARGET=osd-merkur
make TARGET=osd-merkur BOOTLOADER_GET_MAC=0x0001f3a0 make TARGET=osd-merkur

View file

@ -1,5 +1,5 @@
#!/bin/bash #!/bin/bash
# For the new bootloader (using a jump-table) you want to use # For the ages-old bootloader (before 2014) you want to use
# BOOTLOADER_GET_MAC=0x0001ff80 (which is the current default) # BOOTLOADER_GET_MAC=0x0001f3a0 as parameter to make below.
make clean TARGET=osd-merkur make clean TARGET=osd-merkur
make TARGET=osd-merkur BOOTLOADER_GET_MAC=0x0001f3a0 make TARGET=osd-merkur

View file

@ -1,5 +1,5 @@
#!/bin/bash #!/bin/bash
# For the new bootloader (using a jump-table) you want to use # For the ages-old bootloader (before 2014) you want to use
# BOOTLOADER_GET_MAC=0x0001ff80 (which is the current default) # BOOTLOADER_GET_MAC=0x0001f3a0 as parameter to make below.
make clean TARGET=osd-merkur make clean TARGET=osd-merkur
make TARGET=osd-merkur BOOTLOADER_GET_MAC=0x0001f3a0 make TARGET=osd-merkur

View file

@ -1,5 +1,5 @@
#!/bin/bash #!/bin/bash
# For the new bootloader (using a jump-table) you want to use # For the ages-old bootloader (before 2014) you want to use
# BOOTLOADER_GET_MAC=0x0001ff80 (which is the current default) # BOOTLOADER_GET_MAC=0x0001f3a0 as parameter to make below.
make clean TARGET=osd-merkur make clean TARGET=osd-merkur
make TARGET=osd-merkur BOOTLOADER_GET_MAC=0x0001f3a0 make TARGET=osd-merkur

View file

@ -1,5 +1,5 @@
#!/bin/bash #!/bin/bash
# For the new bootloader (using a jump-table) you want to use # For the ages-old bootloader (before 2014) you want to use
# BOOTLOADER_GET_MAC=0x0001ff80 (which is the current default) # BOOTLOADER_GET_MAC=0x0001f3a0 as parameter to make below.
make clean TARGET=osd-merkur make clean TARGET=osd-merkur
make TARGET=osd-merkur BOOTLOADER_GET_MAC=0x0001f3a0 make TARGET=osd-merkur

View file

@ -1,5 +1,5 @@
#!/bin/bash #!/bin/bash
# For the new bootloader (using a jump-table) you want to use # For the ages-old bootloader (before 2014) you want to use
# BOOTLOADER_GET_MAC=0x0001ff80 (which is the current default) # BOOTLOADER_GET_MAC=0x0001f3a0 as parameter to make below.
make clean TARGET=osd-merkur make clean TARGET=osd-merkur
make TARGET=osd-merkur BOOTLOADER_GET_MAC=0x0001f3a0 make TARGET=osd-merkur

View file

@ -1,5 +1,5 @@
#!/bin/bash #!/bin/bash
# For the new bootloader (using a jump-table) you want to use # For the ages-old bootloader (before 2014) you want to use
# BOOTLOADER_GET_MAC=0x0001ff80 (which is the current default) # BOOTLOADER_GET_MAC=0x0001f3a0 as parameter to make below.
make clean TARGET=osd-merkur make clean TARGET=osd-merkur
make TARGET=osd-merkur BOOTLOADER_GET_MAC=0x0001f3a0 make TARGET=osd-merkur

View file

@ -1,5 +1,5 @@
#!/bin/bash #!/bin/bash
# For the new bootloader (using a jump-table) you want to use # For the ages-old bootloader (before 2014) you want to use
# BOOTLOADER_GET_MAC=0x0001ff80 (which is the current default) # BOOTLOADER_GET_MAC=0x0001f3a0 as parameter to make below.
make clean TARGET=osd-merkur make clean TARGET=osd-merkur
make TARGET=osd-merkur BOOTLOADER_GET_MAC=0x0001f3a0 make TARGET=osd-merkur

View file

@ -1,5 +1,5 @@
#!/bin/bash #!/bin/bash
# For the new bootloader (using a jump-table) you want to use # For the ages-old bootloader (before 2014) you want to use
# BOOTLOADER_GET_MAC=0x0001ff80 (which is the current default) # BOOTLOADER_GET_MAC=0x0001f3a0 as parameter to make below.
make clean TARGET=osd-merkur make clean TARGET=osd-merkur
make TARGET=osd-merkur BOOTLOADER_GET_MAC=0x0001f3a0 make TARGET=osd-merkur

View file

@ -1,5 +1,5 @@
#!/bin/bash #!/bin/bash
# For the new bootloader (using a jump-table) you want to use # For the ages-old bootloader (before 2014) you want to use
# BOOTLOADER_GET_MAC=0x0001ff80 (which is the current default) # BOOTLOADER_GET_MAC=0x0001f3a0 as parameter to make below.
make clean TARGET=osd-merkur make clean TARGET=osd-merkur
make TARGET=osd-merkur BOOTLOADER_GET_MAC=0x0001f3a0 make TARGET=osd-merkur

View file

@ -1,5 +1,5 @@
#!/bin/bash #!/bin/bash
# For the new bootloader (using a jump-table) you want to use # For the ages-old bootloader (before 2014) you want to use
# BOOTLOADER_GET_MAC=0x0001ff80 (which is the current default) # BOOTLOADER_GET_MAC=0x0001f3a0 as parameter to make below.
make clean TARGET=osd-merkur make clean TARGET=osd-merkur
make TARGET=osd-merkur BOOTLOADER_GET_MAC=0x0001f3a0 make TARGET=osd-merkur

View file

@ -1,8 +1,8 @@
#!/bin/bash #!/bin/bash
# For the new bootloader (using a jump-table) you want to use # For the ages-old bootloader (before 2014) you want to use
# BOOTLOADER_GET_MAC=0x0001ff80 (which is the current default) # BOOTLOADER_GET_MAC=0x0001f3a0 as parameter to make below.
#make clean TARGET=osd-merkur #make clean TARGET=osd-merkur
make -j TARGET=osd-merkur BOOTLOADER_GET_MAC=0x0001f3a0 make -j TARGET=osd-merkur
#avr-size -C --mcu=MCU=atmega128rfa1 er-example-server.osd-merkur #avr-size -C --mcu=MCU=atmega128rfa1 er-example-server.osd-merkur
avr-objcopy -j .text -j .data -O ihex er-example-server.osd-merkur er-example-server.osd-merkur.hex avr-objcopy -j .text -j .data -O ihex er-example-server.osd-merkur er-example-server.osd-merkur.hex
avr-objcopy -j .eeprom --set-section-flags=.eeprom="alloc,load" --change-section-lma .eeprom=0 -O ihex er-example-server.osd-merkur er-example-server.osd-merkur.eep avr-objcopy -j .eeprom --set-section-flags=.eeprom="alloc,load" --change-section-lma .eeprom=0 -O ihex er-example-server.osd-merkur er-example-server.osd-merkur.eep

View file

@ -1,8 +1,8 @@
#!/bin/bash #!/bin/bash
# For the new bootloader (using a jump-table) you want to use # For the ages-old bootloader (before 2014) you want to use
# BOOTLOADER_GET_MAC=0x0001ff80 (which is the current default) # BOOTLOADER_GET_MAC=0x0001f3a0 as parameter to make below.
make clean TARGET=osd-merkur make clean TARGET=osd-merkur
make TARGET=osd-merkur BOOTLOADER_GET_MAC=0x0001f3a0 make TARGET=osd-merkur
avr-size -C --mcu=MCU=atmega128rfa1 embedd-vm-server.osd-merkur avr-size -C --mcu=MCU=atmega128rfa1 embedd-vm-server.osd-merkur
avr-objcopy -j .text -j .data -O ihex embedd-vm-server.osd-merkur embedd-vm-server.osd-merkur.hex avr-objcopy -j .text -j .data -O ihex embedd-vm-server.osd-merkur embedd-vm-server.osd-merkur.hex
avr-objcopy -j .eeprom --set-section-flags=.eeprom="alloc,load" --change-section-lma .eeprom=0 -O ihex embedd-vm-server.osd-merkur embedd-vm-server.osd-merkur.eep avr-objcopy -j .eeprom --set-section-flags=.eeprom="alloc,load" --change-section-lma .eeprom=0 -O ihex embedd-vm-server.osd-merkur embedd-vm-server.osd-merkur.eep

View file

@ -1,5 +1,5 @@
#!/bin/bash #!/bin/bash
# For the new bootloader (using a jump-table) you want to use # For the ages-old bootloader (before 2014) you want to use
# BOOTLOADER_GET_MAC=0x0001ff80 (which is the current default) # BOOTLOADER_GET_MAC=0x0001f3a0 as parameter to make below.
make clean TARGET=osd-merkur make clean TARGET=osd-merkur
make TARGET=osd-merkur BOOTLOADER_GET_MAC=0x0001f3a0 make TARGET=osd-merkur

View file

@ -1,5 +1,5 @@
#!/bin/bash #!/bin/bash
# For the new bootloader (using a jump-table) you want to use # For the ages-old bootloader (before 2014) you want to use
# BOOTLOADER_GET_MAC=0x0001ff80 (which is the current default) # BOOTLOADER_GET_MAC=0x0001f3a0 as parameter to make below.
make clean TARGET=osd-merkur make clean TARGET=osd-merkur
make TARGET=osd-merkur BOOTLOADER_GET_MAC=0x0001f3a0 make TARGET=osd-merkur

View file

@ -1,5 +1,5 @@
#!/bin/bash #!/bin/bash
# For the new bootloader (using a jump-table) you want to use # For the ages-old bootloader (before 2014) you want to use
# BOOTLOADER_GET_MAC=0x0001ff80 (which is the current default) # BOOTLOADER_GET_MAC=0x0001f3a0 as parameter to make below.
make clean TARGET=osd-merkur make clean TARGET=osd-merkur
make TARGET=osd-merkur BOOTLOADER_GET_MAC=0x0001f3a0 make TARGET=osd-merkur

View file

@ -1,8 +1,8 @@
#!/bin/bash #!/bin/bash
# For the new bootloader (using a jump-table) you want to use # For the ages-old bootloader (before 2014) you want to use
# BOOTLOADER_GET_MAC=0x0001ff80 (which is the current default) # BOOTLOADER_GET_MAC=0x0001f3a0 as parameter to make below.
make clean TARGET=osd-merkur make clean TARGET=osd-merkur
make TARGET=osd-merkur BOOTLOADER_GET_MAC=0x0001f3a0 make TARGET=osd-merkur
avr-size -C --mcu=MCU=atmega128rfa1 er-example-server.osd-merkur avr-size -C --mcu=MCU=atmega128rfa1 er-example-server.osd-merkur
avr-objcopy -j .text -j .data -O ihex er-example-server.osd-merkur er-example-server.osd-merkur.hex avr-objcopy -j .text -j .data -O ihex er-example-server.osd-merkur er-example-server.osd-merkur.hex
avr-objcopy -j .eeprom --set-section-flags=.eeprom="alloc,load" --change-section-lma .eeprom=0 -O ihex er-example-server.osd-merkur er-example-server.osd-merkur.eep avr-objcopy -j .eeprom --set-section-flags=.eeprom="alloc,load" --change-section-lma .eeprom=0 -O ihex er-example-server.osd-merkur er-example-server.osd-merkur.eep

View file

@ -1,8 +1,8 @@
#!/bin/bash #!/bin/bash
# For the new bootloader (using a jump-table) you want to use # For the ages-old bootloader (before 2014) you want to use
# BOOTLOADER_GET_MAC=0x0001ff80 (which is the current default) # BOOTLOADER_GET_MAC=0x0001f3a0 as parameter to make below.
make clean TARGET=osd-merkur make clean TARGET=osd-merkur
make TARGET=osd-merkur BOOTLOADER_GET_MAC=0x0001f3a0 make TARGET=osd-merkur
avr-size -C --mcu=MCU=atmega128rfa1 er-example-server.osd-merkur avr-size -C --mcu=MCU=atmega128rfa1 er-example-server.osd-merkur
avr-objcopy -j .text -j .data -O ihex er-example-server.osd-merkur er-example-server.osd-merkur.hex avr-objcopy -j .text -j .data -O ihex er-example-server.osd-merkur er-example-server.osd-merkur.hex
avr-objcopy -j .eeprom --set-section-flags=.eeprom="alloc,load" --change-section-lma .eeprom=0 -O ihex er-example-server.osd-merkur er-example-server.osd-merkur.eep avr-objcopy -j .eeprom --set-section-flags=.eeprom="alloc,load" --change-section-lma .eeprom=0 -O ihex er-example-server.osd-merkur er-example-server.osd-merkur.eep

View file

@ -1,5 +1,5 @@
#!/bin/bash #!/bin/bash
# For the new bootloader (using a jump-table) you want to use # For the ages-old bootloader (before 2014) you want to use
# BOOTLOADER_GET_MAC=0x0001ff80 (which is the current default) # BOOTLOADER_GET_MAC=0x0001f3a0 as parameter to make below.
make clean TARGET=osd-merkur make clean TARGET=osd-merkur
make TARGET=osd-merkur BOOTLOADER_GET_MAC=0x0001f3a0 make TARGET=osd-merkur

View file

@ -1,5 +1,5 @@
#!/bin/bash #!/bin/bash
# For the new bootloader (using a jump-table) you want to use # For the ages-old bootloader (before 2014) you want to use
# BOOTLOADER_GET_MAC=0x0001ff80 (which is the current default) # BOOTLOADER_GET_MAC=0x0001f3a0 as parameter to make below.
make clean TARGET=osd-merkur make clean TARGET=osd-merkur
make TARGET=osd-merkur BOOTLOADER_GET_MAC=0x0001f3a0 make TARGET=osd-merkur

View file

@ -1,8 +1,8 @@
#!/bin/bash #!/bin/bash
# For the new bootloader (using a jump-table) you want to use # For the ages-old bootloader (before 2014) you want to use
# BOOTLOADER_GET_MAC=0x0001ff80 (which is the current default) # BOOTLOADER_GET_MAC=0x0001f3a0 as parameter to make below.
make clean TARGET=osd-merkur make clean TARGET=osd-merkur
make TARGET=osd-merkur BOOTLOADER_GET_MAC=0x0001f3a0 make TARGET=osd-merkur
avr-size -C --mcu=MCU=atmega128rfa1 er-example-server.osd-merkur avr-size -C --mcu=MCU=atmega128rfa1 er-example-server.osd-merkur
avr-objcopy -j .text -j .data -O ihex er-example-server.osd-merkur er-example-server.osd-merkur.hex avr-objcopy -j .text -j .data -O ihex er-example-server.osd-merkur er-example-server.osd-merkur.hex
avr-objcopy -j .eeprom --set-section-flags=.eeprom="alloc,load" --change-section-lma .eeprom=0 -O ihex er-example-server.osd-merkur er-example-server.osd-merkur.eep avr-objcopy -j .eeprom --set-section-flags=.eeprom="alloc,load" --change-section-lma .eeprom=0 -O ihex er-example-server.osd-merkur er-example-server.osd-merkur.eep

View file

@ -1,8 +1,8 @@
#!/bin/bash #!/bin/bash
# For the new bootloader (using a jump-table) you want to use # For the ages-old bootloader (before 2014) you want to use
# BOOTLOADER_GET_MAC=0x0001ff80 (which is the current default) # BOOTLOADER_GET_MAC=0x0001f3a0 as parameter to make below.
make clean TARGET=osd-merkur make clean TARGET=osd-merkur
make TARGET=osd-merkur BOOTLOADER_GET_MAC=0x0001f3a0 make TARGET=osd-merkur
avr-size -C --mcu=MCU=atmega128rfa1 er-example-server.osd-merkur avr-size -C --mcu=MCU=atmega128rfa1 er-example-server.osd-merkur
avr-objcopy -j .text -j .data -O ihex er-example-server.osd-merkur er-example-server.osd-merkur.hex avr-objcopy -j .text -j .data -O ihex er-example-server.osd-merkur er-example-server.osd-merkur.hex
avr-objcopy -j .eeprom --set-section-flags=.eeprom="alloc,load" --change-section-lma .eeprom=0 -O ihex er-example-server.osd-merkur er-example-server.osd-merkur.eep avr-objcopy -j .eeprom --set-section-flags=.eeprom="alloc,load" --change-section-lma .eeprom=0 -O ihex er-example-server.osd-merkur er-example-server.osd-merkur.eep

View file

@ -1,5 +1,5 @@
#!/bin/bash #!/bin/bash
# For the new bootloader (using a jump-table) you want to use # For the ages-old bootloader (before 2014) you want to use
# BOOTLOADER_GET_MAC=0x0001ff80 (which is the current default) # BOOTLOADER_GET_MAC=0x0001f3a0 as parameter to make below.
make clean TARGET=osd-merkur make clean TARGET=osd-merkur
make TARGET=osd-merkur BOOTLOADER_GET_MAC=0x0001f3a0 make TARGET=osd-merkur

View file

@ -1,8 +1,8 @@
#!/bin/bash #!/bin/bash
# For the new bootloader (using a jump-table) you want to use # For the ages-old bootloader (before 2014) you want to use
# BOOTLOADER_GET_MAC=0x0001ff80 (which is the current default) # BOOTLOADER_GET_MAC=0x0001f3a0 as parameter to make below.
make clean TARGET=osd-merkur make clean TARGET=osd-merkur
make TARGET=osd-merkur BOOTLOADER_GET_MAC=0x0001f3a0 make TARGET=osd-merkur
avr-size -C --mcu=MCU=atmega128rfa1 er-example-server.osd-merkur avr-size -C --mcu=MCU=atmega128rfa1 er-example-server.osd-merkur
avr-objcopy -j .text -j .data -O ihex er-example-server.osd-merkur er-example-server.osd-merkur.hex avr-objcopy -j .text -j .data -O ihex er-example-server.osd-merkur er-example-server.osd-merkur.hex
avr-objcopy -j .eeprom --set-section-flags=.eeprom="alloc,load" --change-section-lma .eeprom=0 -O ihex er-example-server.osd-merkur er-example-server.osd-merkur.eep avr-objcopy -j .eeprom --set-section-flags=.eeprom="alloc,load" --change-section-lma .eeprom=0 -O ihex er-example-server.osd-merkur er-example-server.osd-merkur.eep

View file

@ -1,5 +1,5 @@
#!/bin/bash #!/bin/bash
# For the new bootloader (using a jump-table) you want to use # For the ages-old bootloader (before 2014) you want to use
# BOOTLOADER_GET_MAC=0x0001ff80 (which is the current default) # BOOTLOADER_GET_MAC=0x0001f3a0 as parameter to make below.
make clean TARGET=osd-merkur make clean TARGET=osd-merkur
make TARGET=osd-merkur BOOTLOADER_GET_MAC=0x0001f3a0 make TARGET=osd-merkur

View file

@ -1,8 +1,8 @@
#!/bin/bash #!/bin/bash
# For the new bootloader (using a jump-table) you want to use # For the ages-old bootloader (before 2014) you want to use
# BOOTLOADER_GET_MAC=0x0001ff80 (which is the current default) # BOOTLOADER_GET_MAC=0x0001f3a0 as parameter to make below.
make clean TARGET=osd-merkur make clean TARGET=osd-merkur
make TARGET=osd-merkur BOOTLOADER_GET_MAC=0x0001f3a0 make TARGET=osd-merkur
avr-size -C --mcu=MCU=atmega128rfa1 border-router.osd-merkur avr-size -C --mcu=MCU=atmega128rfa1 border-router.osd-merkur
avr-objcopy -j .text -j .data -O ihex border-router.osd-merkur border-router.osd-merkur.hex avr-objcopy -j .text -j .data -O ihex border-router.osd-merkur border-router.osd-merkur.hex
avr-objcopy -j .eeprom --set-section-flags=.eeprom="alloc,load" --change-section-lma .eeprom=0 -O ihex border-router.osd-merkur border-router.osd-merkur.eep avr-objcopy -j .eeprom --set-section-flags=.eeprom="alloc,load" --change-section-lma .eeprom=0 -O ihex border-router.osd-merkur border-router.osd-merkur.eep

View file

@ -1,8 +1,8 @@
#!/bin/bash #!/bin/bash
# For the new bootloader (using a jump-table) you want to use # For the ages-old bootloader (before 2014) you want to use
# BOOTLOADER_GET_MAC=0x0001ff80 (which is the current default) # BOOTLOADER_GET_MAC=0x0001f3a0 as parameter to make below.
make clean TARGET=osd-merkur make clean TARGET=osd-merkur
make TARGET=osd-merkur BOOTLOADER_GET_MAC=0x0001f3a0 make TARGET=osd-merkur
avr-size -C --mcu=MCU=atmega128rfa1 er-example-server.osd-merkur avr-size -C --mcu=MCU=atmega128rfa1 er-example-server.osd-merkur
avr-objcopy -j .text -j .data -O ihex er-example-server.osd-merkur er-example-server.osd-merkur.hex avr-objcopy -j .text -j .data -O ihex er-example-server.osd-merkur er-example-server.osd-merkur.hex
avr-objcopy -j .eeprom --set-section-flags=.eeprom="alloc,load" --change-section-lma .eeprom=0 -O ihex er-example-server.osd-merkur er-example-server.osd-merkur.eep avr-objcopy -j .eeprom --set-section-flags=.eeprom="alloc,load" --change-section-lma .eeprom=0 -O ihex er-example-server.osd-merkur er-example-server.osd-merkur.eep

View file

@ -1,8 +1,8 @@
#!/bin/bash #!/bin/bash
# For the new bootloader (using a jump-table) you want to use # For the ages-old bootloader (before 2014) you want to use
# BOOTLOADER_GET_MAC=0x0001ff80 (which is the current default) # BOOTLOADER_GET_MAC=0x0001f3a0 as parameter to make below.
make clean TARGET=osd-merkur make clean TARGET=osd-merkur
make TARGET=osd-merkur BOOTLOADER_GET_MAC=0x0001f3a0 make TARGET=osd-merkur
avr-size slip-radio.osd-merkur avr-size slip-radio.osd-merkur
avr-objcopy -j .text -j .data -O ihex slip-radio.osd-merkur slip-radio.osd-merkur.hex avr-objcopy -j .text -j .data -O ihex slip-radio.osd-merkur slip-radio.osd-merkur.hex
avr-objcopy -j .eeprom --set-section-flags=.eeprom="alloc,load" --change-section-lma .eeprom=0 -O ihex slip-radio.osd-merkur slip-radio.osd-merkur.eep avr-objcopy -j .eeprom --set-section-flags=.eeprom="alloc,load" --change-section-lma .eeprom=0 -O ihex slip-radio.osd-merkur slip-radio.osd-merkur.eep

View file

@ -1,5 +1,5 @@
#!/bin/bash #!/bin/bash
# For the new bootloader (using a jump-table) you want to use # For the ages-old bootloader (before 2014) you want to use
# BOOTLOADER_GET_MAC=0x0001ff80 (which is the current default) # BOOTLOADER_GET_MAC=0x0001f3a0 as parameter to make below.
make clean TARGET=osd-merkur make clean TARGET=osd-merkur
make TARGET=osd-merkur BOOTLOADER_GET_MAC=0x0001f3a0 make TARGET=osd-merkur

View file

@ -1,8 +1,8 @@
#!/bin/bash #!/bin/bash
# For the new bootloader (using a jump-table) you want to use # For the ages-old bootloader (before 2014) you want to use
# BOOTLOADER_GET_MAC=0x0001ff80 (which is the current default) # BOOTLOADER_GET_MAC=0x0001f3a0 as parameter to make below.
make clean TARGET=osd-merkur make clean TARGET=osd-merkur
make TARGET=osd-merkur BOOTLOADER_GET_MAC=0x0001f3a0 make TARGET=osd-merkur
avr-size -C --mcu=MCU=atmega128rfa1 er-example-server.osd-merkur avr-size -C --mcu=MCU=atmega128rfa1 er-example-server.osd-merkur
avr-objcopy -j .text -j .data -O ihex er-example-server.osd-merkur er-example-server.osd-merkur.hex avr-objcopy -j .text -j .data -O ihex er-example-server.osd-merkur er-example-server.osd-merkur.hex
avr-objcopy -j .eeprom --set-section-flags=.eeprom="alloc,load" --change-section-lma .eeprom=0 -O ihex er-example-server.osd-merkur er-example-server.osd-merkur.eep avr-objcopy -j .eeprom --set-section-flags=.eeprom="alloc,load" --change-section-lma .eeprom=0 -O ihex er-example-server.osd-merkur er-example-server.osd-merkur.eep

View file

@ -19,7 +19,7 @@
#define CONTIKI_CONF_RANDOM_MAC 0 //adds 78 bytes #define CONTIKI_CONF_RANDOM_MAC 0 //adds 78 bytes
#define CONTIKI_CONF_SETTINGS_MANAGER 0 //adds 1696 bytes #define CONTIKI_CONF_SETTINGS_MANAGER 0 //adds 1696 bytes
#define BOOTLOADER_GET_MAC 1 // get mac form boolaoder, need bootlaoder bonsai, PARAMETER_STORAGE 0 #define BOOTLOADER_GET_MAC 0x0001ff80 // get mac from bootloader, need bootloader bonsai, PARAMETER_STORAGE 0
#if CONTIKI_CONF_SETTINGS_MANAGER #if CONTIKI_CONF_SETTINGS_MANAGER
//#define PARAMETER_STORAGE 2 //#define PARAMETER_STORAGE 2