8 recovery mechanism, 9 copyrights and licensing, Recovery mechanism – Kontron COMe-cP2020 User Manual

Page 100: Copyrights and licensing

Advertising
background image

www.kontron.com

COMe-P2020 User Guide

100

As the script “netupdate” requires access to a server, the environment variable “serverip” must be set correctly. Alterna-
tively, it is possible to use the “dhcp” or “bootp” commands.
An automatic run of the update script at every startup takes place if the update script is started in the preboot environment
variable:

6.8

Recovery Mechanism

There are two SPI boot flashes available with each device holding a copy of U-Boot. In case the contents of the Standard SPI
boot flash has been corrupted (e.g. as a result of a power failure during an update), the Recovery SPI boot flash must be
selected. This is done by powering the system down, deinstalling the COMe-cP2020 module, setting switch 2 of the SW1 DIP
switch to the “on” position, reinstalling the COMe-cP2020 module and then restarting the system.
The board now starts from the Recovery SPI boot flash. In this state, the Standard SPI boot flash can be programmed again
with the “update” or “netupdate” scripts described in Chapter 6.7 “Update” .
The update scripts provided ensure that prior to the update the Standard SPI boot flash is selected and the U-Boot update
image is available and correct. Once the update is completed, switch 2 of the SW1 DIP switch must be set to “off” to again
allow booting from the Standard SPI boot flash.
The contents of the Recovery SPI boot flash should never be updated in order to avoid a completely inoperable system with
no accessing capability.

6.9

Copyrights and Licensing

U-Boot is Free Software. It is copyrighted by Wolfgang Denk and many others who contributed code (see the actual source
code for details). You can redistribute U-Boot and/or modify it under the terms of version 2 of the GNU General Public
License as published by the Free Software Foundation. Most of it can also be distributed, at your option, under any later
version of the GNU General Public License -- see individual files for exceptions.
NOTE! This license does *not* cover the so-called "standalone" applications that use U-Boot services by means of the jump
table provided by U-Boot exactly for this purpose - this is merely considered normal use of U-Boot, and does *not* fall
under the heading of "derived work".
The header files "include/image.h" and "include/asm-*/u-boot.h" define interfaces to U-Boot. Including these (unmodi-
fied) header files in another file is considered normal use of U-Boot, and does *not* fall under the heading of "derived
work".
Also note that the GPL below is copyrighted by the Free Software Foundation, but the instance of code that it refers to (the
U-Boot source code) is copyrighted by me and others who actually wrote it.
-- Wolfgang Denk
======================================================================

GNU GENERAL PUBLIC LICENSE

Version 2, June 1991

Copyright (C) 1989, 1991 Free Software Foundation, Inc.
59 Temple Place, Suite 330, Boston, MA 02111-1307 USA

=> setenv preboot 'run update'
=> saveenv
=>

Advertising