compiling DD-WRT for brcm linux.v24_2

Post new topic   Reply to topic    DD-WRT Forum Forum Index -> Generic Questions
Goto page 1, 2, 3 ... 10, 11, 12  Next
Author Message
rkozola
DD-WRT User


Joined: 27 Oct 2007
Posts: 150

PostPosted: Sat Mar 01, 2008 16:32    Post subject: compiling DD-WRT for brcm linux.v24_2 Reply with quote
this is a continuation of the following thread about compiling DD-WRT from svn. http://www.dd-wrt.com/phpBB2/viewtopic.php?t=26737

I have been getting some question and will try to write this up in order for other to get a successful build from svn. I will focus on compiling for broadcom based hardware using the linux.v24_2 branch.

I HOLD NO REPONSIBILITY FOR ANY ACTIONS IF ANYONE BRICKS THEIR ROUTER FOLLOWING THIS GUIDE. I HAD TO USE JTAG TO RECOVER MULTIPLE TIMES WHILE TRYING TO GET THE SOURCE TO COMPILE CORRECTLY. BY ATTEMPTING ANYTHING IN THIS GUIDE, YOU ARE DOING SO AT YOUR OWN RISK


Last edited by rkozola on Sat Mar 01, 2008 17:45; edited 2 times in total
Sponsor
rkozola
DD-WRT User


Joined: 27 Oct 2007
Posts: 150

PostPosted: Sat Mar 01, 2008 16:32    Post subject: Setup up a build environment using MS VitualPC 2007 Reply with quote
In order to set up a build environment, I went with VirtualPC 2007 from MS. This is a free download from MS and is easy to use, it will require a pc with windows. I chose this as it has a lot of useful features for development such as differencing disks and well as undo disks. I chose to use the TinyCD method to install the latest stable version of Debian.

First create a new virtual machine in VPC. I created a 10GB virtual hard disk and set the vm to use 512MB for ram.

Next I used the Tiny CD of current stable version of Debian (http://www.debian.com/distrib/netinst) to install a basic console based linux install for use in compiling DD-WRT from svn. Set the vm to boot from the iso image for the debian install and follow the directions below to get a working linux system.

Code:

-Choose language and click continue
-Choose language and click continue
-Select a keyboard layout and click continue
-set Hostname: to dd-wrt and click continue
-Leave Domain name: blank and click continue
-Choose a mirror county location and click continue
-Choose a mirror sight and click continue
-Enter HTTP proxy info if needed and click continue
-Choose Guided - use entire disk and click continue
-Select partition and click continue
-Select Separate /home partition and click continue (makes it easy to backup/restore src if needed)
-Select Finish partitioning and write changes to disk and click continue
-Select Yes to write changes and click continue
-Configure time zone and click continue
-Enter a root password and verfiy and click continue
-Enter dd-wrt and Full name for new user and click continue
-Enter dd-wrt for your account and click continue
-Enter a password and verify and click continue
-Select No to the Configuring popularity-contest and click continue
-For Software selection uncheck all boxes except for Standard System, Standard System should be the only one checked and click continue
-Select Yes and click continue to install the GRUB boot loader to mbr
-Install is finished, click continue to reboot


Last edited by rkozola on Sat Mar 01, 2008 17:58; edited 3 times in total
rkozola
DD-WRT User


Joined: 27 Oct 2007
Posts: 150

PostPosted: Sat Mar 01, 2008 16:33    Post subject: Installing required tools to compile and retreiving svn src Reply with quote
I use the following script to install the required programs needed to compile as well as grab the source from svn. Again this is focusing on the src/linux/brmc/linux/v24_2 kernel.

After the system has rebooted, login using the dd-wrt user and the password set during setup. Save the following as get_src_svn.sh and chmod to add permissions to execute. This script will install all requirements and get source from svn.

Code:

#!/bin/sh
su -c "apt-get update;apt-get install sudo openssh-server subversion;echo 'dd-wrt  ALL=(ALL) ALL' >> /etc/sudoers"
sudo apt-get install gcc g++ binutils patch bzip2 flex bison make gettext unzip zlib1g-dev libc6 libncurses5-dev libstdc++5 automake automake1.7 automake1.9 openssl

wget http://www.dd-wrt.com/dd-wrtv2/downloads/others/sourcecode/toolchains/toolchains.x86.debian.sp1.tar.bz2
tar -jxf toolchains.x86.debian.sp1.tar.bz2

mkdir tmp
mkdir DD-WRT
mkdir DD-WRT/image
mkdir DD-WRT/src
mkdir DD-WRT/src/linux
mkdir DD-WRT/src/linux/brcm

sudo ln -s /home/dd-wrt/toolchains/3.4.6-uclibc-0.9.28/ /opt/3.3.4
sudo ln -s /home/dd-wrt/toolchains/3.4.6-uclibc-0.9.28/ /opt/3.3.6
sudo ln -s /home/dd-wrt/toolchains/3.4.6-uclibc-0.9.28/ /opt/3.4.4
sudo ln -s /home/dd-wrt/toolchains/3.4.6-uclibc-0.9.28/ /opt/3.4.6
sudo ln -s /home/dd-wrt/toolchains/4.1.0-uclibc-0.9.28/ /opt/4.1.0
sudo ln -s /home/dd-wrt/DD-WRT/image/ /home/dd-wrt/GruppenLW

ln -s /home/dd-wrt/toolchains/3.4.6-uclibc-0.9.28/ /home/dd-wrt/toolchains/3.4.6
ln -s /home/dd-wrt/toolchains/3.4.6-uclibc-0.9.28/ /home/dd-wrt/toolchains/3.4.4
ln -s /home/dd-wrt/toolchains/3.4.6-uclibc-0.9.28/ /home/dd-wrt/toolchains/3.3.6
ln -s /home/dd-wrt/toolchains/3.4.6-uclibc-0.9.28/ /home/dd-wrt/toolchains/3.3.4
ln -s /home/dd-wrt/toolchains/4.1.0-uclibc-0.9.28/ /home/dd-wrt/toolchains/4.1.0

cd DD-WRT/
svn co -N svn://svn.dd-wrt.com/DD-WRT .
svn co svn://svn.dd-wrt.com/DD-WRT/tools
svn co svn://svn.dd-wrt.com/DD-WRT/opt
cd src/
svn co -N svn://svn.dd-wrt.com/DD-WRT/src
svn co svn://svn.dd-wrt.com/DD-WRT/src/include.bcm
svn co svn://svn.dd-wrt.com/DD-WRT/src/include.v23
svn co svn://svn.dd-wrt.com/DD-WRT/src/include.v24
svn co svn://svn.dd-wrt.com/DD-WRT/src/led
svn co svn://svn.dd-wrt.com/DD-WRT/src/ses
svn co svn://svn.dd-wrt.com/DD-WRT/src/shared
svn co svn://svn.dd-wrt.com/DD-WRT/src/router
svn co svn://svn.dd-wrt.com/DD-WRT/src/squashfs-tools
svn co svn://svn.dd-wrt.com/DD-WRT/src/switch
svn co svn://svn.dd-wrt.com/DD-WRT/src/tools
svn co svn://svn.dd-wrt.com/DD-WRT/src/wl
cd linux/brcm
svn co svn://svn.dd-wrt.com/DD-WRT/src/linux/brcm/linux.v24_2
ln -s /home/dd-wrt/DD-WRT/src/linux/brcm/linux.v24_2 /home/dd-wrt/DD-WRT/src/linux/linux


Last edited by rkozola on Tue Jan 06, 2009 1:35; edited 11 times in total
rkozola
DD-WRT User


Joined: 27 Oct 2007
Posts: 150

PostPosted: Sat Mar 01, 2008 16:33    Post subject: Reply with quote
Now is a good time to shutdown the virtual machine and save change to the virtual hard disk from the undo disk. This step will save everything we have done to this point to the virtual hard disk. By using undo disks, we can save a clean environment and source, if we make any mistakes and mess things up in the future we can just discard the changes and go back to a point where we have this clean system. I normally only save changes to the virtual hard disk when updating source from svn or after I have modified any of the source files. I never save changes after attempting a build or successfully completing a build, I like a clean source tree. I will even go as far as setting up a differencing disk after installing the required program and my initial src grab from svn. This way in case I accidently save changes to the virtual hard disk at some point, I can just create a new differencing disk instead of having to start from scratch.

Last edited by rkozola on Sat Mar 01, 2008 17:03; edited 2 times in total
rkozola
DD-WRT User


Joined: 27 Oct 2007
Posts: 150

PostPosted: Sat Mar 01, 2008 16:34    Post subject: Required modifications for dependencies before building Reply with quote
(ALL ISSUES NOW FIXED, SECTION CAN BE IGNORED)There are a few files that need to be modified in order for the 'make configure' step to procede without errors.

3 files under DD-WRT/src/router/rules will need to be modified so that their dependencies are made prior to the make configure step for these application.

(FIXED)edit DD-WRT/src/router/rules/dropbear.mk and insert the following between lines 1 and 2:
Code:

cd zlib && make


(FIXED)edit DD-WRT/src/router/rules/openvpn.mk and insert the following between lines 1 and 2:
Code:

cd openssl && make


(FIXED)edit DD-WRT/src/router/rules/tcpdump.mk and insert the following between lines 1 and 2:
Code:

cd libpcap && make



(FIXED)Also noticed that the Makefile for libpcap_noring has a hardcoded reference to the linux.v23 branch. It might be a good idea to change line 53 of DD-WRT/src/router/libpcap_noring/Makefile to the following
Code:

CCOPT = $(COPTS) -fomit-frame-pointer -fpic -fPIC -I$(LINUXDIR)/include


Last edited by rkozola on Mon Aug 10, 2009 14:49; edited 7 times in total
rkozola
DD-WRT User


Joined: 27 Oct 2007
Posts: 150

PostPosted: Sat Mar 01, 2008 16:34    Post subject: Compiling some tools from the DD-WRT source Reply with quote
Next some tools from the DD-WRT source need to be recompiled to our native environment.

Under DD_WRT/src/router/tools, do the following
Code:

rm jsformat
make jsformat



Under DD-WRT/src/squashfs-tools, do the following
Code:

rm mksquashfs-lzma
make
cp mksquashfs-lzma ../linux/brcm/linux.v24_2/scripts/squashfs


Under DD-WRT/tools, change 1024 to 2048 on line 6 in strip.c (this fixes a seg fault on AnchorFree.asp) and do the following
Code:

rm ./strip
gcc strip.c -o ./strip

rm ./write3
gcc write3.c -o ./write3

rm ./write4
gcc write4.c -o ./write4

rm ./webcomp
gcc -o webcomp -DUEMF -DWEBS -DLINUX webcomp.c


Last edited by rkozola on Sat Mar 01, 2008 23:08; edited 5 times in total
rkozola
DD-WRT User


Joined: 27 Oct 2007
Posts: 150

PostPosted: Sat Mar 01, 2008 17:16    Post subject: Additions to DD-WRT/opt and install_*.sh scripts Reply with quote
This is where things start to get a little dirty. The DD-WRT/opt directory appears to be a little outdated and scripts will have to be created to build of the linux.v24_2 branch.

The first thing is to create a new script named make_kernel.v24_2.sh and use chmod to mark as executable. This script should look like the following.
Code:

#!/bin/sh

./loader-0.02/lzma e ../src/linux/brcm/linux.v24_2/arch/mips/bcm947xx/compressed/piggy vmlinuz
./loader-0.02/lzma e ../src/linux/brcm/linux.v24_2/arch/mips/bcm947xx/compressed/piggy vmlinuzmicro



Next is to create the install_*.sh scripts to create the firmware versions you are trying to build. For the most part you can use the existing install_*.sh scripts as a base to create new scripts for using the linux.v24_2 branch. This will require you to change the .config_* and the references to the linux branch you are compiling for. Below is an example of the install_mini.v24_2.sh that I use.
Code:

cd ../src

cd router

cp .config_mini.v24 .config

rm -rf mipsel-uclibc/install
make rc-clean
make services-clean
make shared-clean
make httpd-clean
rm busybox/busybox
rm busybox/applets/busybox.o
cd ..
make
cd ../opt
mkdir ../src/router/mipsel-uclibc/target/etc/config
./sstrip/sstrip ../src/router/mipsel-uclibc/target/bin/*
./sstrip/sstrip ../src/router/mipsel-uclibc/target/sbin/rc
./sstrip/sstrip ../src/router/mipsel-uclibc/target/usr/sbin/*

cp ./bin/ipkg ../src/router/mipsel-uclibc/target/bin

cp ./libgcc/* ../src/router/mipsel-uclibc/target/lib
cd ../src/router/mipsel-uclibc/target/lib
ln -s libgcc_s.so.1 libgcc_s.so
cd ../../../../../opt
cp ./etc/preinit ../src/router/mipsel-uclibc/target/etc
cp ./etc/postinit ../src/router/mipsel-uclibc/target/etc
cp ./etc/ipkg.conf ../src/router/mipsel-uclibc/target/etc
cp ./etc/config/* ../src/router/mipsel-uclibc/target/etc/config
cp ./usr/lib/smb.conf ../src/router/mipsel-uclibc/target/usr/lib
cd ../src/router/mipsel-uclibc/target/www

ln -s ../tmp/smbshare smb

cd ../../../../../opt


./strip_libs.sh


../src/linux/brcm/linux.v24_2/scripts/squashfs/mksquashfs-lzma ../src/router/mipsel-uclibc/target target.squashfs -noappend -root-owned -le
./make_kernel.v24_2.sh
../tools/trx -o dd-wrt.v24_2.trx ./loader-0.02/loader.gz ../src/router/mipsel-uclibc/vmlinuz target.squashfs

cp dd-wrt.v24_2.trx /GruppenLW/dd-wrt.v24_mini_generic.bin


Last edited by rkozola on Sat Mar 01, 2008 18:07; edited 2 times in total
rkozola
DD-WRT User


Joined: 27 Oct 2007
Posts: 150

PostPosted: Sat Mar 01, 2008 17:16    Post subject: Building from source Reply with quote
After creating all the install scripts that you will be using, it is probably a good time to shutdown the vm and save the undo disk changes to the virtual hard disk. The next step will be attempting to build.


Issuing the following commands under /home/dd-wrt should successfully build a dd-wrt.v24_generic_mini.bin under the DD-WRT/image directory.

Code:

cd DD-WRT/src/router;cp .config_mini.v24 .config;cp ../linux/linux/.config_std ../linux/linux/.config;export MYPATH=$PATH;export PATH=/opt/4.1.0/bin:$MYPATH;make configure;cd ../../opt;./install_mini.v24_2.sh;



Last edited by rkozola on Sat Mar 01, 2008 22:11; edited 4 times in total
rkozola
DD-WRT User


Joined: 27 Oct 2007
Posts: 150

PostPosted: Sat Mar 01, 2008 17:17    Post subject: Native USB Support Reply with quote
USB support has been added by the devs, the below is no longer be needed.

It is possible to make a few modifications to some files and have usb support included in the build. This will use the native 2.4.35 modules compiled during the kernel. I have noticed that the read/write speeds are at least double that using this method over using the ipks and firmware modification toolkit. This will also use the sysinit-broadcom.c to load the base usb support. This will also activate the USB light on wrt350n (maybe other models). Loading modules for specific filesystems or device can be handled in a startup script either compiled into the firmware or add to jffs. NVRAM variables will be used to control what is loaded. On average, this all will add around 500kb to a firmware's size.

The following needs to be added/changed in DD-WRT/src/router/services/sysinit-broadcom.c to allow for the sysinit to load the usb core modules at boot. Search for the line '#ifdef HAVE_USB' in this file and change that section to look like the following.
Code:

#ifdef HAVE_USB
//load usb driver. we will add samba server, ftp server and ctorrent support in future
/*
      modules =
   "usbcore usb-ohci usb-uhci ehci-hcd scsi_mod usb-storage ide-core ide-detect ide-disk ide-scsi cdrom ide-cd printer sd_mod sr_mod";
   foreach (module, modules, next)
      {
   cprintf ("loading %s\n", module);
   eval ("insmod", module);
      }
*/
//*
   if(nvram_match ("usb_core", "1"))
   {
      cprintf ("loading usbcore\n");
      eval ("insmod", "usbcore");

      if(nvram_match ("usb_ohci", "1"))
      {
         cprintf ("loading usb-ohci\n");
         eval ("insmod", "usb-ohci");
      }

      if(nvram_match ("usb_uhci", "1"))
      {
         cprintf ("loading usb-uhci\n");
         eval ("insmod", "usb-uhci");
      }

      if(nvram_match ("usb_ehci", "1"))
      {
         cprintf ("loading ehci-hcd\n");
         eval ("insmod", "ehci-hcd");
      }

      if(nvram_match ("usb_printer", "1"))
      {
         cprintf ("loading printer\n");
         eval ("insmod", "printer");
      }

      if(nvram_match ("usb_storage", "1"))
      {
         cprintf ("loading scsi_mod\n");
         eval ("insmod", "scsi_mod");
         cprintf ("loading sd_mod\n");
         eval ("insmod", "sd_mod");

         cprintf ("loading usb-storage\n");
         eval ("insmod", "usb-storage");
      }
   }
//*/
#endif



The following needs to be added/changed in DD-WRT/src/router/Makefile to include the modules into the /lib/modules/2.4.35 during building. Search for the line 'ifeq ($(CONFIG_USB),y)' in this file and change that section to look like the following.
Code:

ifeq ($(CONFIG_USB),y)
   mv -f $(TARGETDIR)/lib/modules/$(LINUXVER)/kernel/fs/ext3/* $(TARGETDIR)/lib/modules/$(LINUXVER)
   mv -f $(TARGETDIR)/lib/modules/$(LINUXVER)/kernel/fs/jbd/* $(TARGETDIR)/lib/modules/$(LINUXVER)
   mv -f $(TARGETDIR)/lib/modules/$(LINUXVER)/kernel/fs/fat/* $(TARGETDIR)/lib/modules/$(LINUXVER)
   mv -f $(TARGETDIR)/lib/modules/$(LINUXVER)/kernel/fs/vfat/* $(TARGETDIR)/lib/modules/$(LINUXVER)
   #mv -f $(TARGETDIR)/lib/modules/$(LINUXVER)/kernel/drivers/cdrom/* $(TARGETDIR)/lib/modules/$(LINUXVER)
   #mv -f $(TARGETDIR)/lib/modules/$(LINUXVER)/kernel/drivers/ide/pci/* $(TARGETDIR)/lib/modules/$(LINUXVER)
   #mv -f $(TARGETDIR)/lib/modules/$(LINUXVER)/kernel/drivers/ide/* $(TARGETDIR)/lib/modules/$(LINUXVER)
   mv -f $(TARGETDIR)/lib/modules/$(LINUXVER)/kernel/drivers/scsi/* $(TARGETDIR)/lib/modules/$(LINUXVER)
   mv -f $(TARGETDIR)/lib/modules/$(LINUXVER)/kernel/drivers/usb/host/* $(TARGETDIR)/lib/modules/$(LINUXVER)
   mv -f $(TARGETDIR)/lib/modules/$(LINUXVER)/kernel/drivers/usb/storage/* $(TARGETDIR)/lib/modules/$(LINUXVER)
   mv -f $(TARGETDIR)/lib/modules/$(LINUXVER)/kernel/drivers/usb/* $(TARGETDIR)/lib/modules/$(LINUXVER)
   rm -rf $(TARGETDIR)/lib/modules/$(LINUXVER)/host
   rm -rf $(TARGETDIR)/lib/modules/$(LINUXVER)/pci
   rm -rf $(TARGETDIR)/lib/modules/$(LINUXVER)/storage
   rm -f $(TARGETDIR)/lib/modules/$(LINUXVER)/sr_mod.o
   rm -f $(TARGETDIR)/lib/modules/$(LINUXVER)/ide-scsi.o   
   cp /home/dd-wrt/DD-WRT/src/router/usb.startup $(TARGETDIR)/etc/config

endif



Below is an example of usb.startup that I use for my wrt350n and an external drive with optware and some additional programs. The usb.startup file is saved in DD-WRT/src/router and is copied over with changes from the Makefile above.
Code:

#!/bin/sh
if [ -z "$(nvram get usb_core)" ]; then
   nvram set usb_core=0
   nvram set usb_ohci=0
   nvram set usb_uhci=0
   nvram set usb_ehci=0
   nvram set usb_printer=0
   nvram set usb_storage=0
   nvram set usb_fs_fat=0
   nvram set usb_fs_ext2=0
   nvram set usb_fs_ext3=0
fi

if [ "$(nvram get usb_core)" = "1" ]; then
   if [ "$(nvram get usb_fs_fat)" = "1" ]; then
      insmod /lib/modules/2.4.35/fat.o
      insmod /lib/modules/2.4.35/vfat.o
   fi
   if [ "$(nvram get usb_fs_ext2)" = "1" ]; then
      insmod /lib/modules/2.4.35/ext2.o
   fi
   if [ "$(nvram get usb_fs_ext3)" = "1" ]; then
      insmod /lib/modules/2.4.35/jbd.o
      insmod /lib/modules/2.4.35/ext3.o
   fi
   sleep 5
   until [ `dmesg | tail | grep -c 'USB Mass Storage device found at ' ` -ne 0 ] ; do
      gpio disable 4
      sleep 10
      gpio enable 4
      sleep 10
      echo `dmesg | tail | grep -c 'USB Mass Storage device found at ' `
   done
   mount /dev/scsi/host0/bus0/target0/lun0/part1 /mnt/usb
   mount /dev/scsi/host0/bus0/target0/lun0/part2 /mnt/swap
   mount /dev/scsi/host0/bus0/target0/lun0/part3 /mnt/opt
   mount -o bind /mnt/opt /jffs/opt
   mount -o bind /jffs/opt /opt
   unset LD_LIBRARY_PATH
   unset LD_PRELOAD
   echo "export PATH=$PATH:/opt/bin:/opt/sbin" > /tmp/root/.profile
   [ -e /opt/etc/profile ]
   /opt/sbin/swapon /mnt/swap/linux.swp
   mkdir /tmp/samba
   mkdir /tmp/samba/log
   grep -q nobody /etc/passwd || echo "nobody:*:65534:65534:nobody:/var:/bin/false" >> /etc/passwd
   /opt/etc/init.d/S10xinetd start
   /opt/etc/init.d/S80samba start
fi


I had to modify DD-WRT DD-WRT/src/router/misc/rootprep.sh in order to create usb,swap, and opt under /mnt. The following lines were added under the '# miscellaneous' after the 'mkdir -p mnt' line
Code:

mkdir -p mnt/opt
mkdir -p mnt/swap
mkdir -p mnt/usb



By changing the following nvram variables, you can control if usb support is loaded and what modules to load.
Code:

usb_core
usb_ohci
usb_uhci
usb_ehci
usb_printer
usb_storage
usb_fs_fat
usb_fs_ext2
usb_fs_ext3



This also requires some changes to DD-WRT/src/router/.config* and the DD-WRT/src/linux/brcm/linux.v24_2/.config* in order to enable usb support and build specific kernel modules.


Last edited by rkozola on Tue Mar 11, 2008 23:10; edited 13 times in total
rkozola
DD-WRT User


Joined: 27 Oct 2007
Posts: 150

PostPosted: Sat Mar 01, 2008 17:17    Post subject: Problems and Fixes Reply with quote
reserved for Problems and Fixes or whatever else
rkozola
DD-WRT User


Joined: 27 Oct 2007
Posts: 150

PostPosted: Sun Mar 02, 2008 1:21    Post subject: Reply with quote
reserved
rkozola
DD-WRT User


Joined: 27 Oct 2007
Posts: 150

PostPosted: Sun Mar 02, 2008 1:22    Post subject: Reply with quote
reserved
serkan
DD-WRT Novice


Joined: 19 Jan 2008
Posts: 46
Location: Florida, US

PostPosted: Wed Mar 05, 2008 5:15    Post subject: Error !! Reply with quote
Hello rkozola,

Thanks for your explanations.

I have did everything you mentioned here and I stuck here


Code:

cd ../src

cd router

cp .config_mini.v24 .config

rm -rf mipsel-uclibc/install
make rc-clean
make services-clean
make shared-clean
make httpd-clean
rm busybox/busybox
rm busybox/applets/busybox.o
cd ..
make
cd ../opt
mkdir ../src/router/mipsel-uclibc/target/etc/config
./sstrip/sstrip ../src/router/mipsel-uclibc/target/bin/*


I got an error in the last line of the code that I copied above. There was no folders created. All folders under the src/router/mipsel-uclibc ( I have created target and bin directories) are created by me. Should the folder be created automatically? I am getting error when I type

./sstrip/sstrip ../src/router/mipsel-uclibc/target/bin/*


Error saying "There is no such file or directory". Because bin folder is empty!
What did I do wrong?? Can you please help me?



Thanks
shinji257
DD-WRT User


Joined: 02 May 2007
Posts: 222

PostPosted: Thu Mar 06, 2008 1:58    Post subject: Reply with quote
Ok. Tell me what I am doing wrong. I can compile both mini and the new mini usb build but I can't do any of the other ones. Any idea as to where I am failing?

P.S. - I'd post a build log but forgot the log output was to a non-existent folder. Embarassed
rkozola
DD-WRT User


Joined: 27 Oct 2007
Posts: 150

PostPosted: Thu Mar 06, 2008 2:19    Post subject: Reply with quote
shinji257 wrote:
Ok. Tell me what I am doing wrong. I can compile both mini and the new mini usb build but I can't do any of the other ones. Any idea as to where I am failing?

P.S. - I'd post a build log but forgot the log output was to a non-existent folder. Embarassed


i am guessing it is an rflow issue. I have to do something like the following for any configs that have rflow enabled. I do this for std, std-nokaid, and openvpn.

cd DD-WRT/src/router;cp .config_openvpn.v24 .config;cp ../linux/linux/.config_std ../linux/linux/.config;export MYPATH=$PATH;export PATH=/opt/3.4.6/bin;make rflow;export PATH=/opt/4.1.0/bin:$MYPATH;make configure;cd ../../opt;./install_openvpn.v24_2.sh;
Goto page 1, 2, 3 ... 10, 11, 12  Next Display posts from previous:    Page 1 of 12
Post new topic   Reply to topic    DD-WRT Forum Forum Index -> Generic Questions All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum