Opened 22 months ago

Last modified 22 months ago

#22183 new defect

Build fails for OpenWRT 15.05.1 for Raspberry Pi 2

Reported by: awiouy@… Owned by: developers
Priority: normal Milestone:
Component: toolchain Version: Chaos Calmer 15.05
Keywords: Cc:



When I attempt to build OpenWRT 15.05 (15.05.1 or master) for Raspberry Pi, e.g., Pi 2, make fails as described below. I googled to find a solution, but to no avail. Am I doing something wrong or is this a bug?

Thank you for your attention and regards.

git clone git://
cd openwrt
wget -O .config
make defconfig
make[3]: Leaving directory `/home/jc/Projects/bug/openwrt/package/firmware/ath10k-firmware'
make[3]: Entering directory `/home/jc/Projects/bug/openwrt/package/firmware/b43legacy-firmware'
mkdir -p /home/jc/Projects/bug/openwrt/bin/brcm2708/packages /home/jc/Projects/bug/openwrt/build_dir/target-arm_cortex-a7+vfp_uClibc- /home/jc/Projects/bug/openwrt/staging_dir/target-arm_cortex-a7+vfp_uClibc-
install -d -m0755 /home/jc/Projects/bug/openwrt/build_dir/target-arm_cortex-a7+vfp_uClibc-
b43-fwcutter --unsupported -w /home/jc/Projects/bug/openwrt/build_dir/target-arm_cortex-a7+vfp_uClibc- /home/jc/Projects/bug/openwrt/dl/wl_apsta-
This file is recognised as:

filename : wl_apsta.o
version : 295.14
MD5 : e08665c5c5b66beb9c3b2dd54aa80cb3

Extracting b43legacy/ucode2.fw
Extracting b43legacy/ucode4.fw
Extracting b43legacy/ucode5.fw
Extracting b43legacy/ucode11.fw
Extracting b43legacy/pcm4.fw
Extracting b43legacy/pcm5.fw
Extracting b43legacy/a0g0bsinitvals2.fw
Extracting b43legacy/b0g0bsinitvals5.fw
Extracting b43legacy/a0g0initvals5.fw
Extracting b43legacy/a0g1bsinitvals5.fw
Extracting b43legacy/a0g0initvals2.fw
Extracting b43legacy/a0g1initvals5.fw
Extracting b43legacy/b0g0bsinitvals2.fw
Extracting b43legacy/b0g0initvals5.fw
Extracting b43legacy/b0g0initvals2.fw
Extracting b43legacy/a0g0bsinitvals5.fw "G" ""1,2,3,4"" "/home/jc/Projects/bug/openwrt/build_dir/target-arm_cortex-a7+vfp_uClibc-"
bash: command not found
make[3]: * /home/jc/Projects/bug/openwrt/bin/brcm2708/packages/base/b43legacy-firmware_3.130.20.0-1_brcm2708.ipk Error 127
make[3]: Leaving directory `/home/jc/Projects/bug/openwrt/package/firmware/b43legacy-firmware'
* [package/firmware/b43legacy-firmware/compile] Error 2
make[2]: Leaving directory `/home/jc/Projects/bug/openwrt'
make[1]: * /home/jc/Projects/bug/openwrt/staging_dir/target-arm_cortex-a7+vfp_uClibc- Error 2
make[1]: Leaving directory `/home/jc/Projects/bug/openwrt'
* [world] Error 2

Attachments (0)

Change History (1)

comment:1 Changed 22 months ago by noltari@…

Are you building all packages?

b43legacy-firmware isn't needed for Raspberry Pi 2.
Alternatively, as a possible solution you may try to edit tools/Makefile and change the following line:

tools-$(BUILD_B43_TOOLS) += b43-tools


tools-y += b43-tools

That should fix the build error.


Add Comment

Modify Ticket

as new .

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.