1// *++
2//
3// Copyright (c) 2014-2015, ARM Ltd. All rights reserved.<BR>
4//
5// This program and the accompanying materials are licensed and made available
6// under the terms and conditions of the BSD License which accompanies this
7// distribution.  The full text of the license may be found at
8// http://opensource.org/licenses/bsd-license.php
9//
10// THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
11// WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
12//
13//
14// Module Name:
15//
16//   LinuxLoader
17//
18// Abstract:
19//
20//   String definitions for the LinuxLoader UEFI application
21//
22// Revision History:
23//
24// --*/
25
26/=#
27
28#langdef   en-US "English"
29
30#string STR_SHELL_INVALID_PARAMETER  #language en-US  "Invalid parameter : '%s'\r\n"
31#string STR_ERROR                    #language en-US  "Linux boot loader error - %r.\r\n"
32
33#string STR_INVALID_FLAG             #language en-US  "Invalid flag or flag value '%c%c'.\r\n"
34#string STR_INVALID_PARAMETER        #language en-US  "Invalid parameter.\r\n"
35#string STR_MISSING_KERNEL_PATH      #language en-US  "Path to the Linux kernel not defined.\r\n"
36#string STR_MISSING_VALUE            #language en-US  "Missing value for flag '-%c'\r\n"
37#string STR_ATAG_FDT_CONFLICT        #language en-US  "The Linux Kernel can not have both ATAG and FDT support.\r\n"
38
39
40
41#string STR_HELP                     #language en-US  "USAGE:\r\n"
42"LinuxLoader KernelPath [-f InitrdPath] [-a | -d FdtPath] [-c CommandLine]\r\n"
43"\r\n"
44" -f  Path to the RAM root file system.\r\n"
45" -a  Indicate a Linux kernel with ATAG support.\r\n"
46" -b  Path to the Flat Device Tree.\r\n"
47" -c  Linux Kernel command line.\r\n"
48"\r\n"
49"The 'LinuxLoader.efi' UEFI application is intended to boot Linux Kernel\r\n"
50"images containing or not an 'EFI Boot Stub' (see www.kernel.org/doc/\r\n"
51"Documentation/efi-stub.txt for more information).\r\n"
52"\r\n"
53"This application can be called either from the EFI Shell or during the\r\n"
54"Boot Device Selection (BDS) phase of the boot flow.\r\n"
55"\r\n"
56"If the application is called during the BDS phase then all the paths\r\n"
57"must be device paths in the text form.\r\n"
58"\r\n"
59"If the application is called from the EFI Shell, the usual alias\r\n"
60"and variable substitutions apply. Moreover, each path can be either\r\n"
61"an EFI Shell file path or a device path in the text form. The application\r\n"
62"first tries to interpret the path as an EFI Shell file path. If the\r\n"
63"interpretation fails then the path is handled as a device path in the\r\n"
64"text form.\r\n"
65"\r\n"
66"EXAMPLES:\r\n"
67"  * Boot from the EFI Shell the Linux kernel 'Image' with the command\r\n"
68"    line 'console=ttyAMA0,115200 earlycon=pl011,0x7ff80000' using the FDT\r\n"
69"    'fdt.dtb' and the RAM boot file system 'ramdisk.img', all files\r\n"
70"    being located at the root of the 'fs2:' volume :\r\n"
71"    Shell> LinuxLoader fs2:Image -d fs2:fdt.dtb -f fs2:ramdisk.img \\\r\n"
72"           -c "console=ttyAMA0,115200 earlycon=pl011,0x7ff80000"\r\n"
73"    or
74"    fs2:\> LinuxLoader Image -b fdt.dtb -f ramdisk.img             \\\r\n"
75"           -c "console=ttyAMA0,115200 earlycon=pl011,0x7ff80000"\r\n"
76"  * Arguments to pass to the application for the same boot but from\r\n"
77"    the boot manager, the device path to the 'fs2:' volume being \r\n"
78"    VenHw(E7223039-5836-41E1-B542-D7EC736C5E59) :\r\n"
79"    VenHw(E7223039-5836-41E1-B542-D7EC736C5E59)/Image          \\\r\n"
80"    -d VenHw(E7223039-5836-41E1-B542-D7EC736C5E59)/fdt.dtb     \\\r\n"
81"    -f VenHw(E7223039-5836-41E1-B542-D7EC736C5E59)/ramdisk.img \\\r\n"
82"    -c "console=ttyAMA0,115200 earlycon=pl011,0x7ff80000"\r\n"
83"  * Arguments to pass to boot ATAG linux kernel:\r\n"
84"    VenHw(E7223039-5836-41E1-B542-D7EC736C5E59)/Image          \\\r\n"
85"    -a 2272                                                    \\\r\n"
86"    -f VenHw(E7223039-5836-41E1-B542-D7EC736C5E59)/ramdisk.img \\\r\n"
87"    -c "console=ttyAMA0,115200 earlycon=pl011,0x7ff80000"\r\n"
88