Ticket #1295 (new)

Opened 4 years ago

Last modified 4 years ago

Support for brcm2708 platform

Reported by: goran.mahovlic Owned by: kostko
Priority: normal Milestone:
Component: nodewatcher/devices Version:
Keywords: Cc:
Related nodes: Realization state:
Blocking: Effort: normal
Blocked by: Security sensitive: no

Description (last modified by goran.mahovlic) (diff)

Can you please add support for raspberry pi, I have tryed to compile trunk and barrier_breaker 14.07, and it all builds well, but at the end I cannot generate image

error is:

  Collected errors:
* opkg_install_cmd: Cannot install package brcm2708-gpu-fw.

on this site I found some "how to" fix it, but did not know what to copy and where :)


now I have changed Makefile to this


and trying to compile again

I did succesfuly build pygame, gammu , pyserial for raspberry

I have tested pygame and it is working, it coud be used on nodes to show some graphics, play sounds or something ...

I did not test gammu and pyserial

Change History

comment:1 Changed 4 years ago by goran.mahovlic

  • Description modified (diff)

comment:2 Changed 4 years ago by kostko

  • Component changed from image generator to nodewatcher/devices

comment:3 Changed 4 years ago by goran.mahovlic

after moving two directories, and changing Makefile I have tested image on raspberry and it is working

cd firmware-core/

./openwrt/scripts/prepare label branches/barrier_breaker 44952 &&
./openwrt/scripts/configure-platform brcm2708 &&
./openwrt/scripts/build-toolchain &&

cd build/release/
tar xvjf imagebuilder.tar.bz2

vi OpenWrt-ImageBuilder-brcm2708-for-linux-i486/target/linux/brcm2708/Makefile

--DEFAULT_PACKAGES += brcm2708-gpu-fw kmod-usb-hid kmod-sound-core kmod-sound-arm-bcm2835
++DEFAULT_PACKAGES += kmod-usb-hid kmod-sound-core kmod-sound-arm-bcm2835

cd ..

mv build/openwrt/build_dir/target-arm_arm1176jzf-s+vfp_uClibc- build/release/OpenWrt-ImageBuilder-brcm2708-for-linux-i486/build_dir/target-arm_arm1176jzf-s+vfp_uClibc-

mv build/openwrt/build_dir/target-arm_arm1176jzf-s+vfp_uClibc- build/release/OpenWrt-ImageBuilder-brcm2708-for-linux-i486/build_dir/target-arm_arm1176jzf-s+vfp_uClibc-

make image PROFILE="brcm2708" PACKAGES="cronscripts iptables-mod-conntrack-extra iptables-mod-filter iptables-mod-ipopt kmod-crypto-ecb kmod-crypto-hash kmod-crypto-manager kmod-crypto-sha1 kmod-gre kmod-ifb kmod-ipt-conntrack-extra kmod-ipt-filter kmod-ipt-ipopt kmod-l2tp kmod-l2tp-eth kmod-l2tp-ip kmod-lib-textsearch kmod-mppe kmod-netem kmod-pptp kmod-sched kmod-sched-connmark kmod-sched-core kmod-usb-acm kmod-usb-serial kmod-usb-serial-cp210x librt netprofscripts nodeupgrade nodewatcher-clients nodewatcher-core nodewatcher-simpleserial nodewatcher-solar nodewatcher-watchdog ntpclient nullhttpd olsrd ppp-mod-pptp qos-scripts readsensor resolveip solar tc telemetryd tunneldigger uhttpd wireless-tools nano"
Note: See TracTickets for help on using tickets.