Changes between Version 5 and Version 6 of newport/bootloader


Ignore:
Timestamp:
07/25/2018 10:30:52 PM (6 years ago)
Author:
Ryan Erbstoesser
Comment:

add note about saveenv

Legend:

Unmodified
Added
Removed
Modified
  • newport/bootloader

    v5 v6  
    4141
    4242Examples:
     43 * '''Note that setting {{{hwconfig}}} currently requires saveenv to be ran twice'''
    4344 * GW630x:
    4445  - J10 PCIe, J11 PCIe (default)
    4546{{{#!bash
    46 setenv hwconfig 'j10:pcie;j11:pcie'; saveenv
     47setenv hwconfig 'j10:pcie;j11:pcie'; saveenv; saveenv
    4748}}}
    4849  - J10 mSATA, J11 USB3.0
    4950{{{#!bash
    50 setenv hwconfig 'j10:sata;j11:usb3'; saveenv
     51setenv hwconfig 'j10:sata;j11:usb3'; saveenv; saveenv
    5152}}}
    5253  - J9/J10 disabled, J11 PCIe
    5354{{{#!bash
    54 setenv hwconfig 'j9:disabled;j10:disabled;j11:pcie'; saveenv
     55setenv hwconfig 'j9:disabled;j10:disabled;j11:pcie'; saveenv; saveenv
    5556}}}
    5657
     
    104105
    105106Examples:
    106  * enable RS485 half duplex no on-board termination
    107 {{{#!bash
    108 setenv hwconfig "serial:mode=rs485_hd,term=no"; saveenv
    109 }}}
    110  * enable RS485 full duplex with on-board termination
    111 {{{#!bash
    112 setenv hwconfig "serial:mode=rs485_fd,term=yes"; saveenv
    113 }}}
    114 * enable RS232 with hardware flow-control:
    115 {{{#!bash
    116 setenv hwconfig "serial:mode=rs232_dtr"; saveenv
    117 }}}
    118 
    119 
    120 '''Note that {{{hwconfig}}} is also used for serial configuration so care should be taken to preserve that configuration if used'''
     107 * '''Note that setting {{{hwconfig}}} currently requires saveenv to be ran twice'''
     108 * Enable RS485 half duplex no on-board termination
     109{{{#!bash
     110setenv hwconfig "serial:mode=rs485_hd,term=no"; saveenv; saveenv
     111}}}
     112 * Enable RS485 full duplex with on-board termination
     113{{{#!bash
     114setenv hwconfig "serial:mode=rs485_fd,term=yes"; saveenv; saveenv
     115}}}
     116* Enable RS232 with hardware flow-control:
     117{{{#!bash
     118setenv hwconfig "serial:mode=rs232_dtr"; saveenv; saveenv
     119}}}
     120
     121
     122'''Note that {{{hwconfig}}} is also used for pcie configuration so care should be taken to preserve that configuration if used'''
    121123
    122124