Changes between Version 3 and Version 4 of Documentation/OpenWrt
- Timestamp:
- May 14, 2010, 11:09:27 AM (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Documentation/OpenWrt
v3 v4 12 12 13 13 On a fresh install, you will need to install following packages: 14 14 {{{ 15 15 opkg update 16 16 opkg install bash gdbserver kmod-usb-core kmod-usb-storage kmod-usb2 libopenssl libpthread libstdcpp swap-utils 17 17 }}} 18 18 Depending on the format of your flash drive, you might also need: kmod-fs-vfat, kmod-fs-ext2 or kmod-fs-ext3. 19 20 19 I've included a few little scripts that made my life on the OpenWrt box easier in openwrt-scripts. 21 20 22 23 21 At the time of writing, we still need to copy a few libs by hand from our toolchain environment to the router. Those are: 24 22 {{{ 25 23 toolchain/lib/libgcc_s.so.1 and 26 24 toolchain/usr/lib/libstdc++.so.6.0.13 27 25 }}} 28 26 Be sure to set the symlinks on the router correctly, e.g. libstdc++.so.6 -> libstdc++.so.6.0.13 29 30 27 31 28 == Cross Compiling == 32 29 33 Per default, the ariba-brcm-2.4 directory should be in the top level of an ariba source tree, e.g. ariba/ariba-brcm-2.4. You can tweak this by editing ARIBA_BRCM_DIRin the cross-compilation scripts.30 Per default, the {{{ariba-brcm-2.4}}} directory should be in the top level of an ariba source tree, e.g. {{{ariba/ariba-brcm-2.4}}}. You can tweak this by editing {{{ARIBA_BRCM_DIR}}} in the cross-compilation scripts. 34 31 35 openwrt-buildrootshould hold the latest openwrt buildroot. It can be obtained with:36 32 {{{openwrt-buildroot}}} should hold the latest openwrt buildroot. It can be obtained with: 33 {{{ 37 34 svn co svn://svn.openwrt.org/openwrt/trunk/ 38 35 mv trunk openwrt-buildroot 39 36 }}} 40 37 "variables" defines a bunch of variables used by all cross-compilation scripts, you should tweak those to best fit your compiling environment. 41 38