X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=doc%2FREADME.pxe;h=42f913c61feba1b61ccbf46e1c51fe0a34d64fe3;hb=5b6b2c6bf8ad14af32f489acaaba0d44ddfc41f3;hp=9026d9c9df615d23f11eb60cece5e634c37ba7b0;hpb=1b81f017b04b5a176f5f9230ec979f0f3c55ba5b;p=oweals%2Fu-boot.git diff --git a/doc/README.pxe b/doc/README.pxe index 9026d9c9df..42f913c61f 100644 --- a/doc/README.pxe +++ b/doc/README.pxe @@ -1,23 +1,11 @@ +SPDX-License-Identifier: GPL-2.0+ /* * Copyright 2010-2011 Calxeda, Inc. - * - * This program is free software; you can redistribute it and/or modify it - * under the terms of the GNU General Public License as published by the Free - * Software Foundation; either version 2 of the License, or (at your option) - * any later version. - * - * This program is distributed in the hope it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for - * more details. - * - * You should have received a copy of the GNU General Public License along with - * this program. If not, see . */ The 'pxe' commands provide a near subset of the functionality provided by -the PXELINUX boot loader. This allows U-boot based systems to be controlled -remotely using the same PXE based techniques that many non U-boot based servers +the PXELINUX boot loader. This allows U-Boot based systems to be controlled +remotely using the same PXE based techniques that many non U-Boot based servers use. Commands @@ -89,12 +77,17 @@ pxe boot address of the tftp server from which other files will be retrieved. kernel_addr_r, initrd_addr_r - locations in RAM at which 'pxe boot' will - store the kernel and initrd it retrieves from tftp. These locations will - be passed to the bootm command to boot the kernel. These environment - variables are required to be set. + store the kernel(or FIT image) and initrd it retrieves from tftp. These + locations will be passed to the bootm command to boot the kernel. These + environment variables are required to be set. - fdt_addr - the location of a fdt blob. If this is set, it will be passed - to bootm when booting a kernel. + fdt_addr_r - location in RAM at which 'pxe boot' will store the fdt blob it + retrieves from tftp. The retrieval is possible if 'fdt' label is defined in + pxe file and 'fdt_addr_r' is set. If retrieval is possible, 'fdt_addr_r' + will be passed to bootm command to boot the kernel. + + fdt_addr - the location of a fdt blob. 'fdt_addr' will be passed to bootm + command if it is set and 'fdt_addr_r' is not passed to bootm command. pxe file format =============== @@ -105,7 +98,7 @@ with # are treated as comments. White space between and at the beginning of lines is ignored. The size of pxe files and the number of labels is only limited by the amount -of RAM available to U-boot. Memory for labels is dynamically allocated as +of RAM available to U-Boot. Memory for labels is dynamically allocated as they're parsed, and memory for pxe files is statically allocated, and its location is given by the pxefile_addr_r environment variable. The pxe code is not aware of the size of the pxefile memory and will outgrow it if pxe files @@ -115,56 +108,75 @@ Supported global commands ------------------------- Unrecognized commands are ignored. -default