Hello.
Sorry for my English, I use Google translator
I'm trying to compile the bootloader loaded from https://github.com/Uzebox/uzebox/tree/m ... Bootloader and get the message from the compiler:
"C: \ uzebox-master \ demos \ Bootloader> make
0 [main] sh 6308 sync_with_child: child 4488 (0x174) died before initialization with status code 0xC0000142
1526 [main] sh 6308 sync_with_child: *** child state waiting for longjmp
sh: fork: Resource temporarily unavailable
0 [main] sh 6188 sync_with_child: child 6520 (0x174) died before initialization with status code 0xC0000142
1502 [main] sh 6188 sync_with_child: *** child state waiting for longjmp
/ Usr / bin / sh: fork: Resource temporarily unavailable
make: *** No rule to make target `../bootloaderCore.s ', needed by` bootloaderCore.o'. Stop. "
What is the reason?
I'm trying to compile the bootloader...
I'm trying to compile the bootloader...
Last edited by alex on Sun Mar 13, 2016 9:17 am, edited 1 time in total.
Re: I'm trying to compile the bootloader...
Ok!
I solved the problem. In Makefile are incorrect way.
Can somebody suggest what should be changed in the bootloader to compile it for atmega1284?
I solved the problem. In Makefile are incorrect way.
Can somebody suggest what should be changed in the bootloader to compile it for atmega1284?
Re: I'm trying to compile the bootloader...
I don't recall if I ever did compile the bootloader for the atmega1284, because it just can't be overclocked reliably.
But to compile it, there should be just the mcu type and boot loader address to change:
But to compile it, there should be just the mcu type and boot loader address to change:
Code: Select all
## General Flags
PROJECT = Bootloader
MCU = atmega1284
TARGET = Bootloader.elf
CC = avr-gcc
##BOOTLOAD_ADDRESS = 0
BOOTLOAD_ADDRESS = 0x1F000
Re: I'm trying to compile the bootloader...
Yes, I did just that. But the compiler generates code for 1284 different from the 644, and it generates an error, does not seem to fit in the allotted space. I need to specify a different interrupt vector?uze6666 wrote:I don't recall if I ever did compile the bootloader for the atmega1284, because it just can't be overclocked reliably.
But to compile it, there should be just the mcu type and boot loader address to change:
Code: Select all
## General Flags PROJECT = Bootloader MCU = atmega1284 TARGET = Bootloader.elf CC = avr-gcc ##BOOTLOAD_ADDRESS = 0 BOOTLOAD_ADDRESS = 0x1F000
PS My atmega1284 absolutely does not want to work! Maximum 3 sec. work bootloader compiled for 644. Even when the Vcc 6.6
PPS atmega644 works perfectly! Thank you for Uzebox!