scripts does not exist in the firmware image, it's created by the firemware at runtime I'm talking about router/rc/jffs.c - the source code. So, I need to essentially: "mkdir rom/jffs ln -s rom/jffs rc/jffs " ? I'm not certain what rc actually is, but it seems like just dropping a new dir/symlink in there isn't enough. The /jffs/scripts is not part of the filesystem image, scripts is created by rc with mkdir That way, firmware upgrades will always be using the newer version Then, modify rc/jffs to symlink to the /rom files at mount time IT's where I put mine when I need to add new static files astclair: Put your changes in rom/Makefile However, I'm having issues finding the appropriate time in the Make process to place these custom scripts into mipsel-uclibc/target/jffs/scripts I think your fork/diff solution will be appropriate for the modifiations I need to make. If your changes are too exxtensive, then implement them as a diff that you can patch on top of the repo How to include stock scripts in the firmware astclair: Implement your change in your fork, and just keep updating your fork from the upstream repo sudo ln -s $HOME/asuswrt-merlin /media/ASUSWRT/asuswrt.export PATH=$PATH:/opt/brcm/hndtools-mipsel-linux/bin:/opt/brcm/hndtools-mipsel-uclibc/binĮxport PATH=$PATH:/opt/brcm/hndtools-mipsel-linux/bin:/opt/brcm/hndtools-mipsel-uclibc/bin.sudo ln -s $HOME/asuswrt-merlin/tools/brcm /opt/brcm.sudo apt-get install bison flex g++ g++-4.4 g++-multilib gawk gcc-multilib gconf-editor gitk lib32z1-dev libncurses5 libncurses5-dev libstdc++6-4.4-dev libtool m4 pkg-config zlib1g-dev gperf lib32z1-dev libelf1:i386Ĭd /home/asus/asuswrt-merlin/release/src/router/nano.Steps taken to get environment setup (Linux Mint 13): Makefile:4058: recipe for target 'avahi-0.6.31/Makefile' failed Make: Leaving directory '/home/asus/asuswrt-merlin/release/src/router' ![]() Makefile:4061: recipe for target 'avahi-0.6.31-configure' failed Makefile:3599: recipe for target 'libxml2/stamp-h1' failedĬd /home/asus/asuswrt-merlin/release/src/router/libxml2Ĭhecking for intltool >= 0.35.0./configure: line 18759: intltool-update: command not foundĬonfigure: error: Your intltool is too old. /configure: line 2256: AM_CONFIG_HEADER(config.h)' /configure: line 2256: syntax error near unexpected token config.h'. /configure -host=mipsel-linux -build= -prefix=/usr -without-python -disable-dependency-trackingĬonfigure: WARNING: unrecognized options: -disable-dependency-tracking Sudo ln -s ~/asuswrt-merlin/release/src-rt-6.x.4708/toolchains/hndtools-arm-linux-2.6.36-uclibc-4.5.3 /opt/brcm-armĮxport PATH=$PATH:/opt/brcm/hndtools-mipsel-linux/bin:/opt/brcm/hndtools-mipsel-uclibc/bin:/opt/brcm-arm/binĬC=mipsel-uclibc-gcc AR=mipsel-uclibc-ar RANLIB=mipsel-uclibc-ranlib LD=mipsel-uclibc-ld CFLAGS="-Os -Wall -DLINUX26 -DCONFIG_BCMWL5 -DDEBUG_NOISY -DDEBUG_RCTEST -pipe -DBCMWPA2 -funit-at-a-time -Wno-pointer-sign -mtune=mips32r2 -mips32r2 -DRTCONFIG_NVRAM_64K -DLINUX_KERNEL_VERSION=132630 " LDFLAGS=-ldl ![]() Sudo ln -s ~/asuswrt-merlin/tools/brcm /opt/brcm Steps taken to get environment setup (Ubuntu 16.04):Īpt-get install autoconf automake bash bison bzip2 diffutils file flex m4 g++ gawk groff-base libncurses-dev libtool libslang2 make patch perl pkg-config shtool subversion tar texinfo zlib1g zlib1g-dev git-core gettext libexpat1-dev libssl-dev cvs gperf unzip python libxml-parser-perl gcc-multilib gconf-editor libxml2-dev g++ g++-multilib gitk libncurses5 mtd-utils libncurses5-dev libstdc++6-4.7-dev libvorbis-dev git autopoint autogen sed build-essential intltool libelf1:i386 libglib2.0-dev lib32z1-dev lib32stdc++6
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |