Modify

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:

Description

Hello,

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://git.openwrt.org/15.05/openwrt.git
cd openwrt
wget https://downloads.openwrt.org/chaos_calmer/15.05.1/brcm2708/bcm2709/config.diff -O .config
make defconfig
make
...
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-0.9.33.2_eabi/b43legacy-firmware-3.130.20.0/ipkg-brcm2708/b43legacy-firmware/CONTROL /home/jc/Projects/bug/openwrt/staging_dir/target-arm_cortex-a7+vfp_uClibc-0.9.33.2_eabi/pkginfo
install -d -m0755 /home/jc/Projects/bug/openwrt/build_dir/target-arm_cortex-a7+vfp_uClibc-0.9.33.2_eabi/b43legacy-firmware-3.130.20.0/ipkg-brcm2708/b43legacy-firmware/lib/firmware
b43-fwcutter --unsupported -w /home/jc/Projects/bug/openwrt/build_dir/target-arm_cortex-a7+vfp_uClibc-0.9.33.2_eabi/b43legacy-firmware-3.130.20.0/ipkg-brcm2708/b43legacy-firmware/lib/firmware/ /home/jc/Projects/bug/openwrt/dl/wl_apsta-3.130.20.0.o
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
b43-fwsquash.py "G" ""1,2,3,4"" "/home/jc/Projects/bug/openwrt/build_dir/target-arm_cortex-a7+vfp_uClibc-0.9.33.2_eabi/b43legacy-firmware-3.130.20.0/ipkg-brcm2708/b43legacy-firmware/lib/firmware/b43legacy"
bash: b43-fwsquash.py: 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'
make[2]:
* [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-0.9.33.2_eabi/stamp/.package_compile Error 2
make[1]: Leaving directory `/home/jc/Projects/bug/openwrt'
make:
* [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

to:

tools-y += b43-tools

That should fix the build error.

Regards,
Álvaro.

Add Comment

Modify Ticket

Action
as new .
Author


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

 
Note: See TracTickets for help on using tickets.