Changes between Version 74 and Version 75 of TBR/BSP/AVRTest


Ignore:
Timestamp:
Jan 28, 2013, 8:15:13 AM (7 years ago)
Author:
C Rempel
Comment:

/* Patching the GCC Testing Toolchain for AVR-RTEMS */

Legend:

Unmodified
Added
Removed
Modified
  • TBR/BSP/AVRTest

    v74 v75  
    6767The AVR-Ada patches are not designed to work on the testing branch, and so will need to be manually upstreamed... my current attempt will be to only patch GCC, as opposed to binutils and GDB... (hopefully, most of the necessary binutils patches can be upstreamed over time... :)
    6868
     69Different patches apply to different architectures... To determine which patches apply to the atmega128 (WinAVR/AVRTest) look for the patches with atmega128
     70 ~$ grep -R "atmega128" gcc-testing/avr-patches/binutils | sed s/\:.*$// | uniq | sort
     71 *  '''grep -R "atmega128" gcc-testing/avr-patches/binutils''' : search for each ''atmega128'' in the ''gcc-testing/avr-patches/binutils'' directory
     72 *  '''sed s/\:.*$//''': filter out just the name of the patch
     73 *  '''sort''': put in alphabetical order
     74 *  '''uniq''': only show the name of the patch once
     75For ATMEL's AVR-Toolchain 3.4.1 as of 27 Jan 2013 the binutils patches for the atmega128 were:
     76 300-binutils-avr-size.patch
     77 408-binutils-atmegarfr2_a2.patch
     78 417-binutils-atmega_8a_128a_1284.patch
     79 426-binutils-atxmega192c3.patch
     80 431-binutils-ata5790_5790N_5795.patch
     81 433-binutils-atmxt540s.patch
     82 434-binutils-ata5831.patch
     83
    6984To manually upstream AVR-Ada patches, use the combined/gcc/ada directory, (so re-checking out the sources won't be necessary if anything goes wrong)...
    7085
    7186 ~$ cd ~/gcc-testing/combined/gcc/ada
    72 Carefully, apply each of the latest avr-ada gcc patches...
     87Carefully, apply each of the
    7388
    7489 ~/gcc-testing/combined/gcc/ada$ cat ../../../avr-ada-code/patches/gcc/4.7.2/73-gcc-4.7-ada-gnat1_print_path.patch | patch -p1 --dry-run