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