Changes between Version 1 and Version 2 of OpenWrt/Configuration
- Timestamp:
- 03/12/2018 03:48:26 PM (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
OpenWrt/Configuration
v1 v2 9 9 This must be done at '''COMPILE''' time however. 10 10 11 12 11 == make menuconfig == 13 12 At the command prompt in the '''trunk''' directory where the Gateworks code was checked out, type the command: 14 13 15 {{{ 14 {{{#!bash 16 15 /gateworks-openwrt-x/gateworks-openwrt/trunk$ make menuconfig 17 16 }}} 18 17 19 You will be presented with a GUI that looks like so: 20 [[BR]] 21 [[Image(makemenuconfig.png,300px)]] 22 23 You can now make any changes, using the space bar to select different items. Select the asterisk next to the line item you want.[[BR]][[BR]] 18 You can now make any changes, using the space bar to select different items. Select the asterisk next to the line item you want. 24 19 25 20 '''NOTE:'''Once you make any changes, exit and save. … … 27 22 28 23 29 '''There is a config file in the gateworks-openwrt directory as well as the trunk directory.''' If a 'make cns3xxx' (Laguna) is ran after doing a make menuconfig, it will '''wipe out''' the changes done in make menuconfig. [[BR]][[BR]]24 '''There is a config file in the gateworks-openwrt directory as well as the trunk directory.''' If a 'make cns3xxx' (Laguna) is ran after doing a make menuconfig, it will '''wipe out''' the changes done in make menuconfig. 30 25 31 26 Therefore, run a make -j8 V=99 in the OpenWrt trunk directory, followed by a make images/laguna in the upper directory to get a fresh firmware. 32 {{{ 27 {{{#!bash 33 28 /gateworks-openwrt/trunk$ make -j8 V=99 34 29 }}} 35 [[BR]][[BR]]36 37 The newly generated firmware will contain the packages selected. The individual IPK files should also be listed at (for Laguna boards) /trunk/bin/cns3xxx/packages [[BR]][[BR]]38 30 39 31 40 32 The newly generated firmware will contain the packages selected. The individual IPK files should also be listed at (for Laguna boards) /trunk/bin/cns3xxx/packages 41 33 42 34 Then, the make images/laguna command (Laguna) compiles the artifacts from trunk into a firmware binary (.bin) to be flashed to the board. 43 35 44 {{{ 36 {{{#!bash 45 37 make images/laguna 46 38 }}} … … 51 43 52 44 If you desire to turn on GDBServer you can do that in the make menuconfig. Go to the main menu item titled 'Development' and you will see it in there. Use the space bar to select the line with an asterisk as seen below: 53 [[BR]] 54 [[Image(gdb.png,600px)]] 45 55 46 56 47 === Configuring an IP Address === … … 66 57 67 58 68 {{{ 59 {{{#!bash 69 60 cd trunk ; # openwrt trunk 70 61 mkdir -p files/etc/config … … 82 73 83 74 DHCP would be: 84 {{{ 75 {{{#!bash 85 76 option 'interface' 'lan' 86 77 option 'ifname' 'eth0'