May
6
2 weeks ago
Activity icon
issue

ladislas issue osx-cross/homebrew-avr

ladislas
ladislas

[email protected] Cannot flash on macOS Monterrey

Im trying to flash a .hex onto my corne keyboard and got this error

    Connecting to programmer: .
    Found programmer: Id = "CATERIN"; type = S
        Software Version = 1.0; No Hardware Version given.
    Programmer supports auto addr increment.
    Programmer supports buffered memory access with buffersize=128 bytes.
    
    Programmer supports the following devices:
        Device code: 0x44
    
    avrdude: AVR device initialized and ready to accept instructions
    
    Reading | ################################################## | 100% 0.00s
    
    avrdude: Device signature = 0x1e9587 (probably m32u4)
    avrdude: NOTE: "flash" memory has been specified, an erase cycle will be performed
             To disable this feature, specify the -D option.
    avrdude: erasing chip
    avrdude: reading input file "/Users/vnavarro/qmk_firmware/.build/crkbd_rev1_vnav.hex"
    avrdude: ERROR: address 0x8010 out of range at line 2049 of /Users/vnavarro/qmk_firmware/.build/crkbd_rev1_vnav.hex
    avrdude: read from file '/Users/vnavarro/qmk_firmware/.build/crkbd_rev1_vnav.hex' failed
    
    avrdude done.  Thank you.

I search over the net and some people suggest to downgrade to [email protected] but when trying to install I get this:

╰─ brew install [email protected]                                                                                                                                                                                          ─╯
Warning: No available formula with the name "[email protected]". Did you mean [email protected], [email protected], [email protected], [email protected] or [email protected]?
==> Searching for similarly named formulae...
These similarly named formulae were found:
[email protected]                                  [email protected]                                  [email protected]                                  [email protected]                                 [email protected]
To install one of them, run (for example):
  brew install [email protected]
==> Searching for a previously deleted formula (in the last month)...
Error: No previously deleted formula found.
==> Searching taps on GitHub...
Error: No formulae found in taps.

I appreciate any help, thanks!

Activity icon
issue

johnmee issue osx-cross/homebrew-avr

johnmee
johnmee

Dutifully reporting error I have no understanding of

Just doing a routine brew upgrade and the fact that it suggests "if reporting this issue...":

==> Upgrading osx-cross/avr/avr-binutils
  2.36.1 -> 2.38 

==> Patching
==> Applying avr-size.patch
patching file binutils/size.c
Hunk #6 succeeded at 395 (offset -2 lines).
Hunk #7 succeeded at 414 (offset -2 lines).
Hunk #8 succeeded at 464 (offset -2 lines).
Hunk #9 succeeded at 909 (offset -2 lines).
Hunk #10 succeeded at 1008 (offset -2 lines).
==> Applying avr-binutils-elf-bfd-gdb-fix.patch
patching file bfd/elf-bfd.h
Hunk #1 succeeded at 21 with fuzz 2.
==> ../configure --prefix=/home/linuxbrew/.linuxbrew/Cellar/avr-binutils/2.38 --libdir=/home/linuxbrew/.linuxbrew/Cellar/avr-binutils/2.38/lib/avr --infodir=/hom
==> make
Last 15 lines from /home/john/.cache/Homebrew/Logs/avr-binutils/02.make:
         <http://www.gnu.org/software/make/>
configure: WARNING:
*** Makeinfo is too old. Info documentation will not be built.
checking for expect... no
checking for Tcl supporting try/catch... no
checking for linker versioning flags... -Wl,--version-script='../../libctf/libctf.ver'
configure: updating cache ./config.cache
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
make[1]: Leaving directory '/tmp/avr-binutils-20220506-805661-1t4ucop/binutils-2.38/build'
make: *** [Makefile:999: all] Error 2

If reporting this issue please do so at (not Homebrew/brew or Homebrew/core):
  https://github.com/osx-cross/homebrew-avr/issues

Ubuntu 21.10

Activity icon
issue

johnmee issue comment osx-cross/homebrew-avr

johnmee
johnmee

Dutifully reporting error I have no understanding of

Just doing a routine brew upgrade and the fact that it suggests "if reporting this issue...":

==> Upgrading osx-cross/avr/avr-binutils
  2.36.1 -> 2.38 

==> Patching
==> Applying avr-size.patch
patching file binutils/size.c
Hunk #6 succeeded at 395 (offset -2 lines).
Hunk #7 succeeded at 414 (offset -2 lines).
Hunk #8 succeeded at 464 (offset -2 lines).
Hunk #9 succeeded at 909 (offset -2 lines).
Hunk #10 succeeded at 1008 (offset -2 lines).
==> Applying avr-binutils-elf-bfd-gdb-fix.patch
patching file bfd/elf-bfd.h
Hunk #1 succeeded at 21 with fuzz 2.
==> ../configure --prefix=/home/linuxbrew/.linuxbrew/Cellar/avr-binutils/2.38 --libdir=/home/linuxbrew/.linuxbrew/Cellar/avr-binutils/2.38/lib/avr --infodir=/hom
==> make
Last 15 lines from /home/john/.cache/Homebrew/Logs/avr-binutils/02.make:
         <http://www.gnu.org/software/make/>
configure: WARNING:
*** Makeinfo is too old. Info documentation will not be built.
checking for expect... no
checking for Tcl supporting try/catch... no
checking for linker versioning flags... -Wl,--version-script='../../libctf/libctf.ver'
configure: updating cache ./config.cache
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
make[1]: Leaving directory '/tmp/avr-binutils-20220506-805661-1t4ucop/binutils-2.38/build'
make: *** [Makefile:999: all] Error 2

If reporting this issue please do so at (not Homebrew/brew or Homebrew/core):
  https://github.com/osx-cross/homebrew-avr/issues

Ubuntu 21.10

johnmee
johnmee

Blame QMK... https://docs.qmk.fm/#/cli?id=install-using-homebrew Even if they do say "some linux"

Thx... loving your diligence.

Activity icon
issue

ladislas issue comment osx-cross/homebrew-avr

ladislas
ladislas

Dutifully reporting error I have no understanding of

Just doing a routine brew upgrade and the fact that it suggests "if reporting this issue...":

==> Upgrading osx-cross/avr/avr-binutils
  2.36.1 -> 2.38 

==> Patching
==> Applying avr-size.patch
patching file binutils/size.c
Hunk #6 succeeded at 395 (offset -2 lines).
Hunk #7 succeeded at 414 (offset -2 lines).
Hunk #8 succeeded at 464 (offset -2 lines).
Hunk #9 succeeded at 909 (offset -2 lines).
Hunk #10 succeeded at 1008 (offset -2 lines).
==> Applying avr-binutils-elf-bfd-gdb-fix.patch
patching file bfd/elf-bfd.h
Hunk #1 succeeded at 21 with fuzz 2.
==> ../configure --prefix=/home/linuxbrew/.linuxbrew/Cellar/avr-binutils/2.38 --libdir=/home/linuxbrew/.linuxbrew/Cellar/avr-binutils/2.38/lib/avr --infodir=/hom
==> make
Last 15 lines from /home/john/.cache/Homebrew/Logs/avr-binutils/02.make:
         <http://www.gnu.org/software/make/>
configure: WARNING:
*** Makeinfo is too old. Info documentation will not be built.
checking for expect... no
checking for Tcl supporting try/catch... no
checking for linker versioning flags... -Wl,--version-script='../../libctf/libctf.ver'
configure: updating cache ./config.cache
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
make[1]: Leaving directory '/tmp/avr-binutils-20220506-805661-1t4ucop/binutils-2.38/build'
make: *** [Makefile:999: all] Error 2

If reporting this issue please do so at (not Homebrew/brew or Homebrew/core):
  https://github.com/osx-cross/homebrew-avr/issues

Ubuntu 21.10

ladislas
ladislas

We do not officially support Ubuntu. I don't have access to a machine right now so I can't really help.

May
5
2 weeks ago
Activity icon
issue

johnmee issue osx-cross/homebrew-avr

johnmee
johnmee

Dutifully reporting error I have no understanding of

Just doing a routine brew upgrade and the fact that it suggests "if reporting this issue...":

==> Upgrading osx-cross/avr/avr-binutils
  2.36.1 -> 2.38 

==> Patching
==> Applying avr-size.patch
patching file binutils/size.c
Hunk #6 succeeded at 395 (offset -2 lines).
Hunk #7 succeeded at 414 (offset -2 lines).
Hunk #8 succeeded at 464 (offset -2 lines).
Hunk #9 succeeded at 909 (offset -2 lines).
Hunk #10 succeeded at 1008 (offset -2 lines).
==> Applying avr-binutils-elf-bfd-gdb-fix.patch
patching file bfd/elf-bfd.h
Hunk #1 succeeded at 21 with fuzz 2.
==> ../configure --prefix=/home/linuxbrew/.linuxbrew/Cellar/avr-binutils/2.38 --libdir=/home/linuxbrew/.linuxbrew/Cellar/avr-binutils/2.38/lib/avr --infodir=/hom
==> make
Last 15 lines from /home/john/.cache/Homebrew/Logs/avr-binutils/02.make:
         <http://www.gnu.org/software/make/>
configure: WARNING:
*** Makeinfo is too old. Info documentation will not be built.
checking for expect... no
checking for Tcl supporting try/catch... no
checking for linker versioning flags... -Wl,--version-script='../../libctf/libctf.ver'
configure: updating cache ./config.cache
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
make[1]: Leaving directory '/tmp/avr-binutils-20220506-805661-1t4ucop/binutils-2.38/build'
make: *** [Makefile:999: all] Error 2

If reporting this issue please do so at (not Homebrew/brew or Homebrew/core):
  https://github.com/osx-cross/homebrew-avr/issues

Ubuntu 21.10

Apr
26
3 weeks ago
started
started time in 3 weeks ago
Apr
13
1 month ago
started
started time in 1 month ago
Apr
10
1 month ago
Activity icon
fork

jielness forked osx-cross/homebrew-avr

⚡ Homebrew AVR Toolchain
jielness BSD 2-Clause "Simplified" License Updated
fork time in 1 month ago
Apr
8
1 month ago
started
started time in 1 month ago
Apr
3
1 month ago
started
started time in 1 month ago
Previous