Hi all,
I am trying to work with a build for Westell 7500, which I have found through research is very close to 96358VW2 except the GPIO mappings are off; definition for green power LED is mapped to GPIO5 which on the Westell, GPIO 5is really to enable/disable the switch. I plan to research and fix the GPIO mappings so that all the LEDs work properly, and the switch is enabled with a reset flash as currently I have to add an echo line to send a brightness control to what the firmware thinks is the power LED.
But first I need a functioning build environment. The installation instructions seem to have a bit of a conflict when it comes to downloading the main and package repositories for Attitute Adjustment.
My initial environment:
Fedora 18 x32 on VBox
Using the bcm63xx target
My top directory for all this is ~/openwrt/12.09 - where I will be using Attitude Adjustment: 12.09.
I also have a top folder ~openwrt/trunk to test out the trunk, particularly for comparisons.
Installed all recommended packages in Fedora, found I also needed gcc-java, which then installs ecj. By the way, the check for Java in the make generates deprication warnings.
Here's the conflict:
According to Buildroot-installation, it is recommended to use GIT for checking out soure code.
git clone git://git.openwrt.org/12.09/openwrt.git generates subfolder openwrt
git clone git://git.openwrt.org/12.09/packages.git generates subfolder packages, which doesn't seem to have any connection with sibling folder openwrt.
svn info command won't work in this situation, doesn't seem to see any download, though I have seen svn used in the make process.
The svn method "svn co svn://svn.openwrt.org/openwrt/branches/attitude_adjustment" generates subfolder attitude-adjustment. I read in the install that git is needed for some of the packages so I thought I needed to use the git method of obtaining the source code, but I think I see now, it meant I needed the Fedora git package, not necessarily the git method of setting up the sources.
I downloaded the config template config.brcm63xx_generic which I was suprised to find "Select all packages by default" in the Global Build Settings. I would think that most of the resulting packages aren't needed or recommended by any of the defined boards. I'd like to have a config that has a reasonable selection of packages for this target, particularly for what generated openwrt-96358VW2-generic-squashfs-cfe.bin that one can download.
But using the config template as-is, several of the packages generated errors during compile. So far I came across:
appweb
dhcpd
etherpuppet
libzstream (needed for freecwmp)
libowfat (needed for gatling)
shflags (download failure I think)
gesftpserver
Netatalk
I am still eliminating the problem packages until i get a successfull build.
Somewhere down the line I started getting the following error when I made changes in menuconfig:
tmp/.config-package.in:17709:warning: 'select' used by config symbol 'PACKAGE_deluge-ui-gtk' refer to undefined symbol 'PACKAGE_python-gtk'
tmp/.config-package.in:22275:warning: 'select' used by config symbol 'PACKAGE_bmx6-quagga' refer to undefined symbol 'PACKAGE_qmp-quagga'
tmp/.config-package.in:46773:warning: 'select' used by config symbol 'PACKAGE_lcd4linux-custom' refer to undefined symbol 'PACKAGE_libdpf'
tmp/.config-package.in:46805:warning: 'select' used by config symbol 'PACKAGE_lcd4linux-full' refer to undefined symbol 'PACKAGE_libdpf'
I focused on deluge-ui-gtk to try and troubleshoot the problem. Indeed there doesn't seem to be a package python-gtk so i understand the error. But I can't find deluge anywhere in menuconfig. I looked at the package make, whcih suggests it is supposed to be under Network\Bitorrent in menuconfig but it is not there, neither is deluge, which depends on deluge-ui-gtk. I suspect the other 3 have the same issue. How do I get rid of these errors, and if these packages are in development, how did they get into Attitude Adjustment? I would have only expected this under trunk.
If I can obtain a better config template that more closely follows what's in the prebuilt .bin's one can download, that would certainly get around much of the above problems, let alone save me a heck of a lot of time generating builds.
Thanks all.