Changes between Version 1 and Version 2 of OpenWrt/Configuration


Ignore:
Timestamp:
03/12/2018 03:48:26 PM (6 years ago)
Author:
Cale Collins
Comment:

Removed broken screenshot image. Clean up.

Legend:

Unmodified
Added
Removed
Modified
  • OpenWrt/Configuration

    v1 v2  
    99This must be done at '''COMPILE''' time however.
    1010
    11 
    1211== make menuconfig ==
    1312At the command prompt in the '''trunk''' directory where the Gateworks code was checked out, type the command:
    1413
    15 {{{
     14{{{#!bash
    1615/gateworks-openwrt-x/gateworks-openwrt/trunk$ make menuconfig
    1716}}}
    1817
    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]]
     18You can now make any changes, using the space bar to select different items.  Select the asterisk next to the line item you want.
    2419
    2520'''NOTE:'''Once you make any changes, exit and save.
     
    2722
    2823
    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.
    3025
    3126Therefore, 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
    3328/gateworks-openwrt/trunk$ make -j8 V=99
    3429}}}
    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]]
    3830
    3931
    40 
     32The newly generated firmware will contain the packages selected.  The individual IPK files should also be listed at (for Laguna boards) /trunk/bin/cns3xxx/packages
    4133
    4234Then, the make images/laguna command (Laguna) compiles the artifacts from trunk into a firmware binary (.bin) to be flashed to the board.
    4335
    44 {{{
     36{{{#!bash
    4537make images/laguna
    4638}}}
     
    5143
    5244If 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
    5546
    5647=== Configuring an IP Address ===
     
    6657
    6758
    68 {{{
     59{{{#!bash
    6960cd trunk ;   # openwrt trunk
    7061mkdir -p files/etc/config
     
    8273
    8374DHCP would be:
    84 {{{
     75{{{#!bash
    8576option 'interface' 'lan'
    8677    option 'ifname' 'eth0'