Homebrew based on 1.10.12

This release contains three new problems that I had corrected before obtaining a functional firmware.
All these problems are caused by DMARender binary.
- The network configuration that is now in the /usr/local/bin/wpa_supplicant.realtek. So I create a new symbolic link name of this
- Configuration files for Apache are no longer generated. Suddenly, the httpd server can not find the configuration files and does not start. I redirected the symbolic link to the file httpd.conf /webserver/conf/httpd.conf.backup.
- And finally DMARender always NFS mounts in the /tmp/nfs but seeks media /tmp/media/nfs. So I once again changed the file /bin/mount to create a symbolic link when mounting NFS.

Firmware 1.10.12 G V1.03

I also included batch and log files to help you check the progress of your compilations or modification.

Writing a document using the mounting SSHFS is in progress

Compilation : Errors and solutions

This page contains all the error messages produced during compilation
source GPL.
I will complete this page later when I could recreate the different mistakes that were reported.

Error :
make[4]: *** Pas de règle pour fabriquer la cible « /directfb/directfb.h », nécessaire pour « .obj/release-shared-emb-mips/qscreendriverfactory_qws.o ». Arrêt.
make[3]: *** [sub-gui-install_subtargets-ordered] Erreur 2
make[2]: *** [/home/guimli/wdtvgen3/GPL_PALACE_1.10.12_G/PALACE_1.09.10_G/src/libs/../../src/libs/.qt_compiled] Erreur 2
make[1]: *** [subdir-libs] Erreur 2
make: *** [subdir-src] Erreur 2

Solution :
Check DIRECTFB_I variable. Check that the path name is correct
export DIRECTFB_I=~/wdtvgen3/PALACE_1.08.17_G/src/libs/qt-everywhere-opensource-src/directfb

Error :
service-type-database/Makefile.am:21: `pkglibdir' is not a legitimate directory for `DATA'
make[3]: *** [Makefile.in] Error 1
make[3]: Leaving directory `/home/guimli/wdtvgen3/GPL_PALACE_1.10.12_G/PALACE_1.09.10_G/src/libs/avahi-0.6.30/avahi-0.6.30'
make[2]: *** [/home/guimli/wdtvgen3/GPL_PALACE_1.10.12_G/PALACE_1.09.10_G/src/libs/../../src/libs/.avahi_compiled] Error 2
make[2]: Leaving directory `/home/guimli/wdtvgen3/GPL_PALACE_1.10.12_G/PALACE_1.09.10_G/src/libs'
make[1]: *** [subdir-libs] Error 2
make[1]: Leaving directory `/home/guimli/wdtvgen3/GPL_PALACE_1.10.12_G/PALACE_1.09.10_G/src'
make: *** [subdir-src] Error 2

Solution :
On Ubuntu 12.04 or newer, Avahi need to be patched.
cd ~/wdtvgen3/PALACE_1.08.17_G/src/libs/avahi-0.6.30
mv avahi.patch avahi_old.patch
wget http://guimli.free.fr/download/patch/avahi.patch

Error :
checking for mipsel-linux-gcc... /opt/mips-4.3/bin//mipsel-linux-gcc
checking for C compiler default output file name...
configure: error: C compiler cannot create executables
See `config.log' for more details.
make[2]: *** [/home/guimli/wdtvgen3/PALACE_1.12.14_G/src/libs/../../src/libs/.libiconv_configured] Erreur 77
make[2]: quittant le répertoire « /home/guimli/wdtvgen3/PALACE_1.12.14_G/src/libs »
make[1]: *** [subdir-libs] Erreur 2
make[1]: quittant le répertoire « /home/guimli/wdtvgen3/PALACE_1.12.14_G/src »
make: *** [subdir-src] Erreur 2

Solution :
You use 64 bit Ubuntu version. Reinstall Ubuntu in 32 bit.

Wifi problem – Patch wpa_supplicant

Several users have reported to me a WiFi connection problem with the firmware GPL. I had not noticed the problem because I do not use WiFi.
The problem occurs when the association to Wifi. if you already associate with your Wifi official firmware, you have certainly not seen any problem since the parameters have been preserved.

After some research, we can see that the JTAG returns the following log:
command: /usr/local/sbin/wpa_supplicant -P /tmp/wpa_supplicant.pid -D wext -B -i wlan0 -c /tmp/wpa_supplicant.conf
/usr/local/sbin/wpa_supplicant command not found

This is due to an error in the file src/libs/make/wpa_supplicant.mk

The following lines :
wpa_supplicant-install:
-mkdir -p $(TOP_INSTALL_ROOTFS_DIR)/usr/bin
-mkdir -p $(TOP_INSTALL_ROOTFS_DIR)/usr/local/sbin
cp $(WPA_SUPPLICANT_SOURCE)/wpa_supplicant $(TOP_INSTALL_ROOTFS_DIR)/usr/bin
cp $(WPA_SUPPLICANT_SOURCE)/wpa_cli $(TOP_INSTALL_ROOTFS_DIR)/usr/bin
cp $(WPA_SUPPLICANT_0_8_SOURCE)/wpa_supplicant $(TOP_INSTALL_ROOTFS_DIR)/usr/local/bin
cp $(WPA_SUPPLICANT_0_8_SOURCE)/wpa_cli $(TOP_INSTALL_ROOTFS_DIR)/usr/local/bin
cp $(HOSTAPD_0_8_SOURCE)/hostapd $(TOP_INSTALL_ROOTFS_DIR)/usr/local/bin
cp $(HOSTAPD_0_8_SOURCE)/hostapd_cli $(TOP_INSTALL_ROOTFS_DIR)/usr/local/bin

must be modified as follows :
wpa_supplicant-install:
-mkdir -p $(TOP_INSTALL_ROOTFS_DIR)/usr/bin
-mkdir -p $(TOP_INSTALL_ROOTFS_DIR)/usr/local/bin
-mkdir -p $(TOP_INSTALL_ROOTFS_DIR)/usr/local/sbin
cp $(WPA_SUPPLICANT_SOURCE)/wpa_supplicant $(TOP_INSTALL_ROOTFS_DIR)/usr/bin
cp $(WPA_SUPPLICANT_SOURCE)/wpa_cli $(TOP_INSTALL_ROOTFS_DIR)/usr/bin
cp $(WPA_SUPPLICANT_0_8_SOURCE)/wpa_supplicant $(TOP_INSTALL_ROOTFS_DIR)/usr/local/bin
cp $(WPA_SUPPLICANT_0_8_SOURCE)/wpa_cli $(TOP_INSTALL_ROOTFS_DIR)/usr/local/bin
cp $(HOSTAPD_0_8_SOURCE)/hostapd $(TOP_INSTALL_ROOTFS_DIR)/usr/local/bin
cp $(HOSTAPD_0_8_SOURCE)/hostapd_cli $(TOP_INSTALL_ROOTFS_DIR)/usr/local/bin
ln -s ../bin/hostpad $(TOP_INSTALL_ROOTFS_DIR)/usr/local/sbin/hostpad
ln -s ../bin/hostpad_cli $(TOP_INSTALL_ROOTFS_DIR)/usr/local/sbin/hostpad_cli
ln -s ../bin/wpa_supplicant $(TOP_INSTALL_ROOTFS_DIR)/usr/local/sbin/wpa_supplicant
ln -s ../bin/wpa_cli $(TOP_INSTALL_ROOTFS_DIR)/usr/local/sbin/wpa_cli
ln -s ../bin/wpa_supplicant $(TOP_INSTALL_ROOTFS_DIR)/usr/local/bin/wpa_supplicant.realtek
ln -s ../bin/wpa_cli $(TOP_INSTALL_ROOTFS_DIR)/usr/local/bin/wpa_cli.realtek

This patch can be download here

The commands make install and make firmware sufficient to fully integrate this hotfix. A complete compilation is not necessary.

This patch gives rise to a new firmware version 1.05.18 and the version 1.08.17.
Links wpa_supplicant.realtek and wpa_cli.realtek are needed for version 1.09 and higher.