OpenWrt Forum Archive

Topic: Raspberry pi build fails

The content of this topic has been archived on 3 Feb 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Hi,

I am trying to build openwrt for Raspberry Pi. Unfortunately, the build is failing. Any idea to overcome this?

rm -f /mnt/myth/videos/openwrt/trunk/build_dir/linux-brcm2708/boot.img
mkdosfs /mnt/myth/videos/openwrt/trunk/build_dir/linux-brcm2708/boot.img -C 20480
mkdosfs 3.0.7 (24 Dec 2009)
# Raspberry Pi has no bootloader, instead the GPU loads and starts the kernel
mcopy -i /mnt/myth/videos/openwrt/trunk/build_dir/linux-brcm2708/boot.img /mnt/myth/videos/openwrt/trunk/build_dir/target-arm_v6_uClibc-0.9.33.2_eabi/brcm2708-gpu-fw-boot/arm128_start.elf ::
Error converting to codepage 850 Invalid argument
Cannot initialize '::'
Bad target ::
make[5]: *** [install] Error 1
make[5]: Leaving directory `/mnt/myth/videos/openwrt/trunk/target/linux/brcm2708/image'
make[4]: *** [install] Error 2
make[4]: Leaving directory `/mnt/myth/videos/openwrt/trunk/target/linux/brcm2708'
make[3]: *** [install] Error 2
make[3]: Leaving directory `/mnt/myth/videos/openwrt/trunk/target/linux'
make[2]: *** [target/linux/install] Error 2
make[2]: Leaving directory `/mnt/myth/videos/openwrt/trunk'
make[1]: *** [/mnt/myth/videos/openwrt/trunk/staging_dir/target-arm_v6_uClibc-0.9.33.2_eabi/stamp/.target_install] Error 2
make[1]: Leaving directory `/mnt/myth/videos/openwrt/trunk'
make: *** [world] Error 2

you are missing codepage 850  ...

what distro are you runnign on ?

do  you have /usr/lib32/gconv/IBM850.so ?

The distro is gentoo, and i do have the IBM850.so file

#ls -la /usr/lib32/gconv/IBM850.so 
-rwxr-xr-x 1 root root 9400 Jun 24 12:34 /usr/lib32/gconv/IBM850.so

#grep -i 850 /usr/src/linux/.config
CONFIG_NLS_CODEPAGE_850=y

Do i need to select Codepage 850 in openwrt kernel?

Disable the static linking of host utilities.

jow wrote:

Disable the static linking of host utilities.

How do you disable static linking of host utilities?

I am using the Breaking Barrier final release Image Generator for brcm2708 and I am getting the same error as the op, cannot install brcm2708-gp-fw. I am running Debian 7.7 64bit.

The discussion might have continued from here.