Make omnibusf4sd_bl failing

I am trying to build px4 for omnibusf4sd using the documentations provided at-
https://docs.px4.io/en/flight_controller/omnibus_f4_sd.html
but i see that i get the following failures every single time i try it.
can someone explain?

vandan@vandan:~/Bootloader$ make omnibusf4sd_bl
(./Tools/check_submodules.sh)
Checked libopencm3 submodule, correct version found
Checked lib/kinetis/NXP_Kinetis_Bootloader_2_0_0 submodule, correct version found
make -C libopencm3 lib
make[1]: Entering directory ‘/home/vandan/Bootloader/libopencm3’
GENHDR include/libopencm3/stm32/f0/irq.json
GENHDR include/libopencm3/stm32/f1/irq.json
GENHDR include/libopencm3/stm32/f2/irq.json
GENHDR include/libopencm3/stm32/f3/irq.json
GENHDR include/libopencm3/stm32/f4/irq.json
GENHDR include/libopencm3/stm32/f7/irq.json
GENHDR include/libopencm3/stm32/l0/irq.json
GENHDR include/libopencm3/stm32/l1/irq.json
GENHDR include/libopencm3/stm32/l4/irq.json
GENHDR include/libopencm3/lpc13xx/irq.json
GENHDR include/libopencm3/lpc17xx/irq.json
GENHDR include/libopencm3/lpc43xx/m4/irq.json
GENHDR include/libopencm3/lpc43xx/m0/irq.json
GENHDR include/libopencm3/lm3s/irq.json
GENHDR include/libopencm3/efm32/tg/irq.json
GENHDR include/libopencm3/efm32/g/irq.json
GENHDR include/libopencm3/efm32/lg/irq.json
GENHDR include/libopencm3/efm32/gg/irq.json
GENHDR include/libopencm3/efm32/hg/irq.json
GENHDR include/libopencm3/efm32/wg/irq.json
GENHDR include/libopencm3/efm32/ezr32wg/irq.json
GENHDR include/libopencm3/sam/3a/irq.json
GENHDR include/libopencm3/sam/3n/irq.json
GENHDR include/libopencm3/sam/3s/irq.json
GENHDR include/libopencm3/sam/3u/irq.json
GENHDR include/libopencm3/sam/3x/irq.json
GENHDR include/libopencm3/sam/4l/irq.json
GENHDR include/libopencm3/sam/d/irq.json
GENHDR include/libopencm3/vf6xx/irq.json
BUILD lib/stm32/f0
CC can.c
make[2]: arm-none-eabi-gcc: Command not found
…/…/Makefile.include:40: recipe for target ‘can.o’ failed
make[2]: *** [can.o] Error 127
BUILD lib/stm32/f1
CC adc.c
make[2]: arm-none-eabi-gcc: Command not found
…/…/Makefile.include:40: recipe for target ‘adc.o’ failed
make[2]: *** [adc.o] Error 127
BUILD lib/stm32/f2
CC gpio.c
make[2]: arm-none-eabi-gcc: Command not found
…/…/Makefile.include:40: recipe for target ‘gpio.o’ failed
make[2]: *** [gpio.o] Error 127
BUILD lib/stm32/f3
CC rcc.c
make[2]: arm-none-eabi-gcc: Command not found
…/…/Makefile.include:40: recipe for target ‘rcc.o’ failed
make[2]: *** [rcc.o] Error 127
BUILD lib/stm32/f4
CC adc.c
make[2]: arm-none-eabi-gcc: Command not found
…/…/Makefile.include:40: recipe for target ‘adc.o’ failed
make[2]: *** [adc.o] Error 127
BUILD lib/stm32/f7
/bin/sh: 1: arm-none-eabi-gcc: not found
Makefile:69: Your toolchain doesn’t support -mcpu=cortex-m7.
Please use gcc-arm-embedded 4.8 2014q3 or newer. Skipping this sub-library.
BUILD lib/stm32/l0
CC gpio.c
make[2]: arm-none-eabi-gcc: Command not found
…/…/Makefile.include:40: recipe for target ‘gpio.o’ failed
make[2]: *** [gpio.o] Error 127
BUILD lib/stm32/l1
CC desig.c
make[2]: arm-none-eabi-gcc: Command not found
…/…/Makefile.include:40: recipe for target ‘desig.o’ failed
make[2]: *** [desig.o] Error 127
BUILD lib/stm32/l4
CC adc.c
make[2]: arm-none-eabi-gcc: Command not found
…/…/Makefile.include:40: recipe for target ‘adc.o’ failed
make[2]: *** [adc.o] Error 127
BUILD lib/lpc13xx
CC gpio.c
make[2]: arm-none-eabi-gcc: Command not found
…/Makefile.include:40: recipe for target ‘gpio.o’ failed
make[2]: *** [gpio.o] Error 127
BUILD lib/lpc17xx
CC gpio.c
make[2]: arm-none-eabi-gcc: Command not found
…/Makefile.include:40: recipe for target ‘gpio.o’ failed
make[2]: *** [gpio.o] Error 127
BUILD lib/lpc43xx/m4
CC gpio.c
make[2]: arm-none-eabi-gcc: Command not found
…/…/Makefile.include:40: recipe for target ‘gpio.o’ failed
make[2]: *** [gpio.o] Error 127
BUILD lib/lpc43xx/m0
CC gpio.c
make[2]: arm-none-eabi-gcc: Command not found
…/…/Makefile.include:40: recipe for target ‘gpio.o’ failed
make[2]: *** [gpio.o] Error 127
BUILD lib/lm3s
CC gpio.c
make[2]: arm-none-eabi-gcc: Command not found
…/Makefile.include:40: recipe for target ‘gpio.o’ failed
make[2]: *** [gpio.o] Error 127
BUILD lib/lm4f
CC gpio.c
make[2]: arm-none-eabi-gcc: Command not found
…/Makefile.include:40: recipe for target ‘gpio.o’ failed
make[2]: *** [gpio.o] Error 127
BUILD lib/efm32/tg
CC vector.c
make[2]: arm-none-eabi-gcc: Command not found
…/…/Makefile.include:40: recipe for target ‘vector.o’ failed
make[2]: *** [vector.o] Error 127
BUILD lib/efm32/g
CC vector.c
make[2]: arm-none-eabi-gcc: Command not found
…/…/Makefile.include:40: recipe for target ‘vector.o’ failed
make[2]: *** [vector.o] Error 127
BUILD lib/efm32/lg
CC gpio_common.c
make[2]: arm-none-eabi-gcc: Command not found
…/…/Makefile.include:40: recipe for target ‘gpio_common.o’ failed
make[2]: *** [gpio_common.o] Error 127
BUILD lib/efm32/gg
CC vector.c
make[2]: arm-none-eabi-gcc: Command not found
…/…/Makefile.include:40: recipe for target ‘vector.o’ failed
make[2]: *** [vector.o] Error 127
BUILD lib/efm32/hg
CC cmu.c
make[2]: arm-none-eabi-gcc: Command not found
…/…/Makefile.include:40: recipe for target ‘cmu.o’ failed
make[2]: *** [cmu.o] Error 127
BUILD lib/efm32/wg
CC gpio_common.c
make[2]: arm-none-eabi-gcc: Command not found
…/…/Makefile.include:40: recipe for target ‘gpio_common.o’ failed
make[2]: *** [gpio_common.o] Error 127
BUILD lib/efm32/ezr32wg
CC gpio_common.c
make[2]: arm-none-eabi-gcc: Command not found
…/…/Makefile.include:40: recipe for target ‘gpio_common.o’ failed
make[2]: *** [gpio_common.o] Error 127
BUILD lib/sam/3a
CC gpio_common_all.c
make[2]: arm-none-eabi-gcc: Command not found
…/…/Makefile.include:40: recipe for target ‘gpio_common_all.o’ failed
make[2]: *** [gpio_common_all.o] Error 127
BUILD lib/sam/3n
CC gpio_common_all.c
make[2]: arm-none-eabi-gcc: Command not found
…/…/Makefile.include:40: recipe for target ‘gpio_common_all.o’ failed
make[2]: *** [gpio_common_all.o] Error 127
BUILD lib/sam/3s
CC gpio_common_all.c
make[2]: arm-none-eabi-gcc: Command not found
…/…/Makefile.include:40: recipe for target ‘gpio_common_all.o’ failed
make[2]: *** [gpio_common_all.o] Error 127
BUILD lib/sam/3u
CC gpio_common_all.c
make[2]: arm-none-eabi-gcc: Command not found
…/…/Makefile.include:40: recipe for target ‘gpio_common_all.o’ failed
make[2]: *** [gpio_common_all.o] Error 127
BUILD lib/sam/3x
CC gpio_common_all.c
make[2]: arm-none-eabi-gcc: Command not found
…/…/Makefile.include:40: recipe for target ‘gpio_common_all.o’ failed
make[2]: *** [gpio_common_all.o] Error 127
BUILD lib/sam/4l
CC adcife.c
make[2]: arm-none-eabi-gcc: Command not found
…/…/Makefile.include:40: recipe for target ‘adcife.o’ failed
make[2]: *** [adcife.o] Error 127
BUILD lib/sam/d
CC vector.c
make[2]: arm-none-eabi-gcc: Command not found
…/…/Makefile.include:40: recipe for target ‘vector.o’ failed
make[2]: *** [vector.o] Error 127
BUILD lib/vf6xx
CC ccm.c
make[2]: arm-none-eabi-gcc: Command not found
…/Makefile.include:40: recipe for target ‘ccm.o’ failed
make[2]: *** [ccm.o] Error 127
/bin/sh: 1: [: .stamp_failure_lib_efm32_ezr32wg: unexpected operator
make[1]: Leaving directory ‘/home/vandan/Bootloader/libopencm3’
make --no-print-directory -f Makefile.f4 TARGET_HW=OMNIBUSF4SD LINKER_FILE=stm32f4.ld TARGET_FILE_NAME=omnibusf4sd_bl
mkdir -p build/omnibusf4sd_bl build/omnibusf4sd_bl/./ build/omnibusf4sd_bl/stm32/
Generating object build/omnibusf4sd_bl/bl.o
arm-none-eabi-gcc -c -MMD -std=gnu99 -Os -g -Wundef -Wall -fno-builtin -I./libopencm3/include -I./. -ffunction-sections -nostartfiles -lnosys -Wl,-gc-sections -Wl,-g -Werror -mthumb -mcpu=cortex-m4 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -DTARGET_HW_OMNIBUSF4SD -DSTM32F4 -Tstm32f4.ld -Llibopencm3/lib -lopencm3_stm32f4 -o build/omnibusf4sd_bl/bl.o bl.c
make[1]: arm-none-eabi-gcc: Command not found
rules.mk:28: recipe for target ‘build/omnibusf4sd_bl/bl.o’ failed
make[1]: *** [build/omnibusf4sd_bl/bl.o] Error 127
Makefile:118: recipe for target ‘omnibusf4sd_bl’ failed
make: *** [omnibusf4sd_bl] Error 2

1 Like

Hi
You need to install the NuttX toolchain first: http://dev.px4.io/en/setup/dev_env_linux.html