Cosmetic: Fix a number of typos, no functional changes.
Fix various misspellings of things like "environment", "kernel", "default" and "volatile", and throw in a couple grammar fixes. Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>utp
parent
398bd4e5b7
commit
1bce2aeb6f
6
Makefile
6
Makefile
|
@ -45,13 +45,13 @@ endif
|
||||||
|
|
||||||
#########################################################################
|
#########################################################################
|
||||||
#
|
#
|
||||||
# U-boot build supports producing a object files to the separate external
|
# U-boot build supports generating object files in a separate external
|
||||||
# directory. Two use cases are supported:
|
# directory. Two use cases are supported:
|
||||||
#
|
#
|
||||||
# 1) Add O= to the make command line
|
# 1) Add O= to the make command line
|
||||||
# 'make O=/tmp/build all'
|
# 'make O=/tmp/build all'
|
||||||
#
|
#
|
||||||
# 2) Set environement variable BUILD_DIR to point to the desired location
|
# 2) Set environment variable BUILD_DIR to point to the desired location
|
||||||
# 'export BUILD_DIR=/tmp/build'
|
# 'export BUILD_DIR=/tmp/build'
|
||||||
# 'make'
|
# 'make'
|
||||||
#
|
#
|
||||||
|
@ -59,7 +59,7 @@ endif
|
||||||
# 'export BUILD_DIR=/tmp/build'
|
# 'export BUILD_DIR=/tmp/build'
|
||||||
# './MAKEALL'
|
# './MAKEALL'
|
||||||
#
|
#
|
||||||
# Command line 'O=' setting overrides BUILD_DIR environent variable.
|
# Command line 'O=' setting overrides BUILD_DIR environment variable.
|
||||||
#
|
#
|
||||||
# When none of the above methods is used the local build is performed and
|
# When none of the above methods is used the local build is performed and
|
||||||
# the object files are placed in the source directory.
|
# the object files are placed in the source directory.
|
||||||
|
|
4
README
4
README
|
@ -3364,7 +3364,7 @@ Configuration Settings:
|
||||||
the Linux kernel; all data that must be processed by
|
the Linux kernel; all data that must be processed by
|
||||||
the Linux kernel (bd_info, boot arguments, FDT blob if
|
the Linux kernel (bd_info, boot arguments, FDT blob if
|
||||||
used) must be put below this limit, unless "bootm_low"
|
used) must be put below this limit, unless "bootm_low"
|
||||||
enviroment variable is defined and non-zero. In such case
|
environment variable is defined and non-zero. In such case
|
||||||
all data for the Linux kernel must be between "bootm_low"
|
all data for the Linux kernel must be between "bootm_low"
|
||||||
and "bootm_low" + CONFIG_SYS_BOOTMAPSZ. The environment
|
and "bootm_low" + CONFIG_SYS_BOOTMAPSZ. The environment
|
||||||
variable "bootm_mapsize" will override the value of
|
variable "bootm_mapsize" will override the value of
|
||||||
|
@ -3477,7 +3477,7 @@ Configuration Settings:
|
||||||
|
|
||||||
- CONFIG_ENV_FLAGS_LIST_DEFAULT
|
- CONFIG_ENV_FLAGS_LIST_DEFAULT
|
||||||
- CONFIG_ENV_FLAGS_LIST_STATIC
|
- CONFIG_ENV_FLAGS_LIST_STATIC
|
||||||
Enable validation of the values given to enviroment variables when
|
Enable validation of the values given to environment variables when
|
||||||
calling env set. Variables can be restricted to only decimal,
|
calling env set. Variables can be restricted to only decimal,
|
||||||
hexadecimal, or boolean. If CONFIG_CMD_NET is also defined,
|
hexadecimal, or boolean. If CONFIG_CMD_NET is also defined,
|
||||||
the variables can also be restricted to IP address or MAC address.
|
the variables can also be restricted to IP address or MAC address.
|
||||||
|
|
|
@ -28,7 +28,7 @@
|
||||||
* by u-Boot commands.
|
* by u-Boot commands.
|
||||||
*
|
*
|
||||||
* Note: Redundant environment will not work in this flash since
|
* Note: Redundant environment will not work in this flash since
|
||||||
* it does use partial page writes. Make sure the environent spans
|
* it does use partial page writes. Make sure the environment spans
|
||||||
* whole pages!
|
* whole pages!
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
|
@ -302,7 +302,7 @@ int arch_cpu_init(void)
|
||||||
/*
|
/*
|
||||||
* Configures the I/O voltage of the pads connected to Egigabit
|
* Configures the I/O voltage of the pads connected to Egigabit
|
||||||
* Ethernet interface to 1.8V
|
* Ethernet interface to 1.8V
|
||||||
* By defult it is set to 3.3V
|
* By default it is set to 3.3V
|
||||||
*/
|
*/
|
||||||
reg = readl(KW_REG_MPP_OUT_DRV_REG);
|
reg = readl(KW_REG_MPP_OUT_DRV_REG);
|
||||||
reg |= (1 << 7);
|
reg |= (1 << 7);
|
||||||
|
|
|
@ -87,9 +87,9 @@ u-boot>
|
||||||
|
|
||||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
A word on the U-Boot enviroment variable setting and usage :
|
A word on the U-Boot environment variable setting and usage :
|
||||||
|
|
||||||
In the beginning, you could just need very simple defult environment variable setting,
|
In the beginning, you could just need very simple default environment variable setting,
|
||||||
like[include/configs/RPXlite.h] :
|
like[include/configs/RPXlite.h] :
|
||||||
|
|
||||||
#define CONFIG_BOOTCOMMAND \
|
#define CONFIG_BOOTCOMMAND \
|
||||||
|
|
|
@ -29,11 +29,11 @@ Environment Storage
|
||||||
|
|
||||||
There are two targets for mx28evk:
|
There are two targets for mx28evk:
|
||||||
|
|
||||||
"make mx28evk_config" - store enviroment variables into MMC
|
"make mx28evk_config" - store environment variables into MMC
|
||||||
|
|
||||||
or
|
or
|
||||||
|
|
||||||
"make mx28evk_nand_config" - store enviroment variables into NAND flash
|
"make mx28evk_nand_config" - store environment variables into NAND flash
|
||||||
|
|
||||||
Choose the target accordingly.
|
Choose the target accordingly.
|
||||||
|
|
||||||
|
|
|
@ -50,7 +50,7 @@ is a summary of that information:
|
||||||
trying to preserve your old environment settings and user flash).
|
trying to preserve your old environment settings and user flash).
|
||||||
- Set the start address of the erase/flash process to FF80_0000
|
- Set the start address of the erase/flash process to FF80_0000
|
||||||
- Set the target RAM required to 64kB.
|
- Set the target RAM required to 64kB.
|
||||||
- Select sectors for erasing (see note on enviroment below)
|
- Select sectors for erasing (see note on environment below)
|
||||||
- Select Erase and Reprogram.
|
- Select Erase and Reprogram.
|
||||||
|
|
||||||
Note that some versions of the register files used with Workbench
|
Note that some versions of the register files used with Workbench
|
||||||
|
|
|
@ -965,7 +965,7 @@ int boot_get_ramdisk(int argc, char * const argv[], bootm_headers_t *images,
|
||||||
* @initrd_end: pointer to a ulong variable, will hold final init ramdisk
|
* @initrd_end: pointer to a ulong variable, will hold final init ramdisk
|
||||||
* end address (after possible relocation)
|
* end address (after possible relocation)
|
||||||
*
|
*
|
||||||
* boot_ramdisk_high() takes a relocation hint from "initrd_high" environement
|
* boot_ramdisk_high() takes a relocation hint from "initrd_high" environment
|
||||||
* variable and if requested ramdisk data is moved to a specified location.
|
* variable and if requested ramdisk data is moved to a specified location.
|
||||||
*
|
*
|
||||||
* Initrd_start and initrd_end are set to final (after relocation) ramdisk
|
* Initrd_start and initrd_end are set to final (after relocation) ramdisk
|
||||||
|
|
|
@ -18,7 +18,7 @@ Current implementation details/limitations:
|
||||||
U-Boot. But I haven't bothered yet.
|
U-Boot. But I haven't bothered yet.
|
||||||
|
|
||||||
2. Since we don't implement a hwconfig command, i.e. we're working
|
2. Since we don't implement a hwconfig command, i.e. we're working
|
||||||
with the environement directly, there is no way to tell that
|
with the environment directly, there is no way to tell that
|
||||||
toggling a particular option will need a reboot to take
|
toggling a particular option will need a reboot to take
|
||||||
effect. So, for now it's advised to always reboot the
|
effect. So, for now it's advised to always reboot the
|
||||||
target after modifying the hwconfig variable.
|
target after modifying the hwconfig variable.
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
* Copyright 2010-2011 Freescale Semiconductor, Inc.
|
* Copyright 2010-2011 Freescale Semiconductor, Inc.
|
||||||
* author Andy Fleming
|
* author Andy Fleming
|
||||||
*
|
*
|
||||||
* Some code get from linux kenrel
|
* Some code copied from linux kernel
|
||||||
* Copyright (c) 2006 Herbert Valerio Riedel <hvr@gnu.org>
|
* Copyright (c) 2006 Herbert Valerio Riedel <hvr@gnu.org>
|
||||||
*/
|
*/
|
||||||
#include <miiphy.h>
|
#include <miiphy.h>
|
||||||
|
|
|
@ -154,10 +154,10 @@ The MAC address can be stored in four locations:
|
||||||
|
|
||||||
-Boot environmental variable in Flash <- can not change, without
|
-Boot environmental variable in Flash <- can not change, without
|
||||||
re-flashing U-boot.
|
re-flashing U-boot.
|
||||||
U-Boot environental variable <- can not change, without
|
U-Boot environmental variable <- can not change, without
|
||||||
resetting board/U-Boot
|
resetting board/U-Boot
|
||||||
LAN91C111 Registers <- volitle
|
LAN91C111 Registers <- volatile
|
||||||
LAN91C111 EEPROM <- Non Volitle
|
LAN91C111 EEPROM <- Non-volatile
|
||||||
|
|
||||||
If you have not activated the network, and do not have a hardcoded
|
If you have not activated the network, and do not have a hardcoded
|
||||||
or pre-assigned MAC address in U-boot, the environmental variables
|
or pre-assigned MAC address in U-boot, the environmental variables
|
||||||
|
|
|
@ -383,7 +383,7 @@ int setenv_hex(const char *varname, ulong value);
|
||||||
/**
|
/**
|
||||||
* setenv_addr - Set an environment variable to an address in hex
|
* setenv_addr - Set an environment variable to an address in hex
|
||||||
*
|
*
|
||||||
* @varname: Environmet variable to set
|
* @varname: Environment variable to set
|
||||||
* @addr: Value to set it to
|
* @addr: Value to set it to
|
||||||
* @return 0 if ok, 1 on error
|
* @return 0 if ok, 1 on error
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -119,7 +119,7 @@
|
||||||
|
|
||||||
#define CONFIG_ENV_IS_IN_FLASH 1
|
#define CONFIG_ENV_IS_IN_FLASH 1
|
||||||
#define CONFIG_ENV_SECT_SIZE 0x20000 /* Size of one Flash sector */
|
#define CONFIG_ENV_SECT_SIZE 0x20000 /* Size of one Flash sector */
|
||||||
#define CONFIG_ENV_SIZE CONFIG_ENV_SECT_SIZE /* Use one Flash sector for enviroment */
|
#define CONFIG_ENV_SIZE CONFIG_ENV_SECT_SIZE /* Use one Flash sector for environment */
|
||||||
#define CONFIG_ENV_ADDR 0xFFFC0000
|
#define CONFIG_ENV_ADDR 0xFFFC0000
|
||||||
#define CONFIG_ENV_OFFSET 0 /* starting right at the beginning */
|
#define CONFIG_ENV_OFFSET 0 /* starting right at the beginning */
|
||||||
|
|
||||||
|
|
|
@ -305,7 +305,7 @@
|
||||||
#define CONFIG_ENV_IN_OWN_SECT 1
|
#define CONFIG_ENV_IN_OWN_SECT 1
|
||||||
|
|
||||||
/* Define this to contain any number of null terminated strings that
|
/* Define this to contain any number of null terminated strings that
|
||||||
* will be part of the default enviroment compiled into the boot image.
|
* will be part of the default environment compiled into the boot image.
|
||||||
*/
|
*/
|
||||||
#define CONFIG_EXTRA_ENV_SETTINGS \
|
#define CONFIG_EXTRA_ENV_SETTINGS \
|
||||||
"quiet=0\0" \
|
"quiet=0\0" \
|
||||||
|
|
|
@ -817,7 +817,7 @@ int himport_r(struct hsearch_data *htab,
|
||||||
* size of 8 per entry (= safety factor of ~5) should provide enough
|
* size of 8 per entry (= safety factor of ~5) should provide enough
|
||||||
* safety margin for any existing environment definitions and still
|
* safety margin for any existing environment definitions and still
|
||||||
* allow for more than enough dynamic additions. Note that the
|
* allow for more than enough dynamic additions. Note that the
|
||||||
* "size" argument is supposed to give the maximum enviroment size
|
* "size" argument is supposed to give the maximum environment size
|
||||||
* (CONFIG_ENV_SIZE). This heuristics will result in
|
* (CONFIG_ENV_SIZE). This heuristics will result in
|
||||||
* unreasonably large numbers (and thus memory footprint) for
|
* unreasonably large numbers (and thus memory footprint) for
|
||||||
* big flash environments (>8,000 entries for 64 KB
|
* big flash environments (>8,000 entries for 64 KB
|
||||||
|
|
|
@ -22,7 +22,7 @@
|
||||||
*
|
*
|
||||||
* LCD backlight is not enabled if temperature values are not within
|
* LCD backlight is not enabled if temperature values are not within
|
||||||
* allowed ranges (-30 .. + 80). The brightness of backlite can be
|
* allowed ranges (-30 .. + 80). The brightness of backlite can be
|
||||||
* controlled by setting "brightness" enviroment variable. Default value is 50%
|
* controlled by setting "brightness" environment variable. Default value is 50%
|
||||||
*
|
*
|
||||||
* See the list of all parameters in the sysmon_table below
|
* See the list of all parameters in the sysmon_table below
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in New Issue