mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-26 14:40:41 +00:00
Merge branch '2019-08-02-autoboot-cleanup'
- Merge Simon Glass's series to cleanup the autoboot code
This commit is contained in:
commit
db289a9d74
431 changed files with 709 additions and 458 deletions
167
README
167
README
|
@ -2134,171 +2134,6 @@ The following options need to be configured:
|
|||
A better solution is to properly configure the firewall,
|
||||
but sometimes that is not allowed.
|
||||
|
||||
- Show boot progress:
|
||||
CONFIG_SHOW_BOOT_PROGRESS
|
||||
|
||||
Defining this option allows to add some board-
|
||||
specific code (calling a user-provided function
|
||||
"show_boot_progress(int)") that enables you to show
|
||||
the system's boot progress on some display (for
|
||||
example, some LED's) on your board. At the moment,
|
||||
the following checkpoints are implemented:
|
||||
|
||||
|
||||
Legacy uImage format:
|
||||
|
||||
Arg Where When
|
||||
1 common/cmd_bootm.c before attempting to boot an image
|
||||
-1 common/cmd_bootm.c Image header has bad magic number
|
||||
2 common/cmd_bootm.c Image header has correct magic number
|
||||
-2 common/cmd_bootm.c Image header has bad checksum
|
||||
3 common/cmd_bootm.c Image header has correct checksum
|
||||
-3 common/cmd_bootm.c Image data has bad checksum
|
||||
4 common/cmd_bootm.c Image data has correct checksum
|
||||
-4 common/cmd_bootm.c Image is for unsupported architecture
|
||||
5 common/cmd_bootm.c Architecture check OK
|
||||
-5 common/cmd_bootm.c Wrong Image Type (not kernel, multi)
|
||||
6 common/cmd_bootm.c Image Type check OK
|
||||
-6 common/cmd_bootm.c gunzip uncompression error
|
||||
-7 common/cmd_bootm.c Unimplemented compression type
|
||||
7 common/cmd_bootm.c Uncompression OK
|
||||
8 common/cmd_bootm.c No uncompress/copy overwrite error
|
||||
-9 common/cmd_bootm.c Unsupported OS (not Linux, BSD, VxWorks, QNX)
|
||||
|
||||
9 common/image.c Start initial ramdisk verification
|
||||
-10 common/image.c Ramdisk header has bad magic number
|
||||
-11 common/image.c Ramdisk header has bad checksum
|
||||
10 common/image.c Ramdisk header is OK
|
||||
-12 common/image.c Ramdisk data has bad checksum
|
||||
11 common/image.c Ramdisk data has correct checksum
|
||||
12 common/image.c Ramdisk verification complete, start loading
|
||||
-13 common/image.c Wrong Image Type (not PPC Linux ramdisk)
|
||||
13 common/image.c Start multifile image verification
|
||||
14 common/image.c No initial ramdisk, no multifile, continue.
|
||||
|
||||
15 arch/<arch>/lib/bootm.c All preparation done, transferring control to OS
|
||||
|
||||
-30 arch/powerpc/lib/board.c Fatal error, hang the system
|
||||
-31 post/post.c POST test failed, detected by post_output_backlog()
|
||||
-32 post/post.c POST test failed, detected by post_run_single()
|
||||
|
||||
34 common/cmd_doc.c before loading a Image from a DOC device
|
||||
-35 common/cmd_doc.c Bad usage of "doc" command
|
||||
35 common/cmd_doc.c correct usage of "doc" command
|
||||
-36 common/cmd_doc.c No boot device
|
||||
36 common/cmd_doc.c correct boot device
|
||||
-37 common/cmd_doc.c Unknown Chip ID on boot device
|
||||
37 common/cmd_doc.c correct chip ID found, device available
|
||||
-38 common/cmd_doc.c Read Error on boot device
|
||||
38 common/cmd_doc.c reading Image header from DOC device OK
|
||||
-39 common/cmd_doc.c Image header has bad magic number
|
||||
39 common/cmd_doc.c Image header has correct magic number
|
||||
-40 common/cmd_doc.c Error reading Image from DOC device
|
||||
40 common/cmd_doc.c Image header has correct magic number
|
||||
41 common/cmd_ide.c before loading a Image from a IDE device
|
||||
-42 common/cmd_ide.c Bad usage of "ide" command
|
||||
42 common/cmd_ide.c correct usage of "ide" command
|
||||
-43 common/cmd_ide.c No boot device
|
||||
43 common/cmd_ide.c boot device found
|
||||
-44 common/cmd_ide.c Device not available
|
||||
44 common/cmd_ide.c Device available
|
||||
-45 common/cmd_ide.c wrong partition selected
|
||||
45 common/cmd_ide.c partition selected
|
||||
-46 common/cmd_ide.c Unknown partition table
|
||||
46 common/cmd_ide.c valid partition table found
|
||||
-47 common/cmd_ide.c Invalid partition type
|
||||
47 common/cmd_ide.c correct partition type
|
||||
-48 common/cmd_ide.c Error reading Image Header on boot device
|
||||
48 common/cmd_ide.c reading Image Header from IDE device OK
|
||||
-49 common/cmd_ide.c Image header has bad magic number
|
||||
49 common/cmd_ide.c Image header has correct magic number
|
||||
-50 common/cmd_ide.c Image header has bad checksum
|
||||
50 common/cmd_ide.c Image header has correct checksum
|
||||
-51 common/cmd_ide.c Error reading Image from IDE device
|
||||
51 common/cmd_ide.c reading Image from IDE device OK
|
||||
52 common/cmd_nand.c before loading a Image from a NAND device
|
||||
-53 common/cmd_nand.c Bad usage of "nand" command
|
||||
53 common/cmd_nand.c correct usage of "nand" command
|
||||
-54 common/cmd_nand.c No boot device
|
||||
54 common/cmd_nand.c boot device found
|
||||
-55 common/cmd_nand.c Unknown Chip ID on boot device
|
||||
55 common/cmd_nand.c correct chip ID found, device available
|
||||
-56 common/cmd_nand.c Error reading Image Header on boot device
|
||||
56 common/cmd_nand.c reading Image Header from NAND device OK
|
||||
-57 common/cmd_nand.c Image header has bad magic number
|
||||
57 common/cmd_nand.c Image header has correct magic number
|
||||
-58 common/cmd_nand.c Error reading Image from NAND device
|
||||
58 common/cmd_nand.c reading Image from NAND device OK
|
||||
|
||||
-60 common/env_common.c Environment has a bad CRC, using default
|
||||
|
||||
64 net/eth.c starting with Ethernet configuration.
|
||||
-64 net/eth.c no Ethernet found.
|
||||
65 net/eth.c Ethernet found.
|
||||
|
||||
-80 common/cmd_net.c usage wrong
|
||||
80 common/cmd_net.c before calling net_loop()
|
||||
-81 common/cmd_net.c some error in net_loop() occurred
|
||||
81 common/cmd_net.c net_loop() back without error
|
||||
-82 common/cmd_net.c size == 0 (File with size 0 loaded)
|
||||
82 common/cmd_net.c trying automatic boot
|
||||
83 common/cmd_net.c running "source" command
|
||||
-83 common/cmd_net.c some error in automatic boot or "source" command
|
||||
84 common/cmd_net.c end without errors
|
||||
|
||||
FIT uImage format:
|
||||
|
||||
Arg Where When
|
||||
100 common/cmd_bootm.c Kernel FIT Image has correct format
|
||||
-100 common/cmd_bootm.c Kernel FIT Image has incorrect format
|
||||
101 common/cmd_bootm.c No Kernel subimage unit name, using configuration
|
||||
-101 common/cmd_bootm.c Can't get configuration for kernel subimage
|
||||
102 common/cmd_bootm.c Kernel unit name specified
|
||||
-103 common/cmd_bootm.c Can't get kernel subimage node offset
|
||||
103 common/cmd_bootm.c Found configuration node
|
||||
104 common/cmd_bootm.c Got kernel subimage node offset
|
||||
-104 common/cmd_bootm.c Kernel subimage hash verification failed
|
||||
105 common/cmd_bootm.c Kernel subimage hash verification OK
|
||||
-105 common/cmd_bootm.c Kernel subimage is for unsupported architecture
|
||||
106 common/cmd_bootm.c Architecture check OK
|
||||
-106 common/cmd_bootm.c Kernel subimage has wrong type
|
||||
107 common/cmd_bootm.c Kernel subimage type OK
|
||||
-107 common/cmd_bootm.c Can't get kernel subimage data/size
|
||||
108 common/cmd_bootm.c Got kernel subimage data/size
|
||||
-108 common/cmd_bootm.c Wrong image type (not legacy, FIT)
|
||||
-109 common/cmd_bootm.c Can't get kernel subimage type
|
||||
-110 common/cmd_bootm.c Can't get kernel subimage comp
|
||||
-111 common/cmd_bootm.c Can't get kernel subimage os
|
||||
-112 common/cmd_bootm.c Can't get kernel subimage load address
|
||||
-113 common/cmd_bootm.c Image uncompress/copy overwrite error
|
||||
|
||||
120 common/image.c Start initial ramdisk verification
|
||||
-120 common/image.c Ramdisk FIT image has incorrect format
|
||||
121 common/image.c Ramdisk FIT image has correct format
|
||||
122 common/image.c No ramdisk subimage unit name, using configuration
|
||||
-122 common/image.c Can't get configuration for ramdisk subimage
|
||||
123 common/image.c Ramdisk unit name specified
|
||||
-124 common/image.c Can't get ramdisk subimage node offset
|
||||
125 common/image.c Got ramdisk subimage node offset
|
||||
-125 common/image.c Ramdisk subimage hash verification failed
|
||||
126 common/image.c Ramdisk subimage hash verification OK
|
||||
-126 common/image.c Ramdisk subimage for unsupported architecture
|
||||
127 common/image.c Architecture check OK
|
||||
-127 common/image.c Can't get ramdisk subimage data/size
|
||||
128 common/image.c Got ramdisk subimage data/size
|
||||
129 common/image.c Can't get ramdisk load address
|
||||
-129 common/image.c Got ramdisk load address
|
||||
|
||||
-130 common/cmd_doc.c Incorrect FIT image format
|
||||
131 common/cmd_doc.c FIT image format OK
|
||||
|
||||
-140 common/cmd_ide.c Incorrect FIT image format
|
||||
141 common/cmd_ide.c FIT image format OK
|
||||
|
||||
-150 common/cmd_nand.c Incorrect FIT image format
|
||||
151 common/cmd_nand.c FIT image format OK
|
||||
|
||||
- Standalone program support:
|
||||
CONFIG_STANDALONE_LOAD_ADDR
|
||||
|
||||
This option defines a board specific value for the
|
||||
|
@ -3586,6 +3421,8 @@ List of environment variables (most likely not complete):
|
|||
allowed for use by the bootm command. See also "bootm_low"
|
||||
environment variable.
|
||||
|
||||
bootstopkeysha256, bootdelaykey, bootstopkey - See README.autoboot
|
||||
|
||||
updatefile - Location of the software update file on a TFTP server, used
|
||||
by the automatic software update feature. Please refer to
|
||||
documentation in doc/README.update for more details.
|
||||
|
|
34
cmd/Kconfig
34
cmd/Kconfig
|
@ -101,7 +101,14 @@ config AUTOBOOT_PROMPT
|
|||
config AUTOBOOT_ENCRYPTION
|
||||
bool "Enable encryption in autoboot stopping"
|
||||
depends on AUTOBOOT_KEYED
|
||||
default n
|
||||
help
|
||||
This option allows a string to be entered into U-Boot to stop the
|
||||
autoboot. The string itself is hashed and compared against the hash
|
||||
in the environment variable 'bootstopkeysha256'. If it matches then
|
||||
boot stops and a command-line prompt is presented.
|
||||
|
||||
This provides a way to ship a secure production device which can also
|
||||
be accessed at the U-Boot command line.
|
||||
|
||||
config AUTOBOOT_DELAY_STR
|
||||
string "Delay autobooting via specific input key / string"
|
||||
|
@ -146,6 +153,31 @@ config AUTOBOOT_STOP_STR_SHA256
|
|||
string / password matches a values that is encypted via
|
||||
a SHA256 hash and saved in the environment.
|
||||
|
||||
config AUTOBOOT_USE_MENUKEY
|
||||
bool "Allow a specify key to run a menu from the environment"
|
||||
depends on !AUTOBOOT_KEYED
|
||||
help
|
||||
If a specific key is pressed to stop autoboot, then the commands in
|
||||
the environment variable 'menucmd' are executed before boot starts.
|
||||
|
||||
config AUTOBOOT_MENUKEY
|
||||
int "ASCII value of boot key to show a menu"
|
||||
default 0
|
||||
depends on AUTOBOOT_USE_MENUKEY
|
||||
help
|
||||
If this key is pressed to stop autoboot, then the commands in the
|
||||
environment variable 'menucmd' will be executed before boot starts.
|
||||
For example, 33 means "!" in ASCII, so pressing ! at boot would take
|
||||
this action.
|
||||
|
||||
config AUTOBOOT_MENU_SHOW
|
||||
bool "Show a menu on boot"
|
||||
help
|
||||
This enables the boot menu, controlled by environment variables
|
||||
defined by the board. The menu starts after running the 'preboot'
|
||||
environmnent variable (if enabled) and before handling the boot delay.
|
||||
See README.bootmenu for more details.
|
||||
|
||||
endmenu
|
||||
|
||||
config BUILD_BIN2C
|
||||
|
|
|
@ -472,7 +472,7 @@ void menu_display_statusline(struct menu *m)
|
|||
puts(ANSI_CLEAR_LINE);
|
||||
}
|
||||
|
||||
#ifdef CONFIG_MENU_SHOW
|
||||
#ifdef CONFIG_AUTOBOOT_MENU_SHOW
|
||||
int menu_show(int bootdelay)
|
||||
{
|
||||
bootmenu_show(bootdelay);
|
||||
|
|
162
common/Kconfig
162
common/Kconfig
|
@ -125,6 +125,168 @@ config BOOTSTAGE_STASH_SIZE
|
|||
This should be large enough to hold the bootstage stash. A value of
|
||||
4096 (4KiB) is normally plenty.
|
||||
|
||||
config SHOW_BOOT_PROGRESS
|
||||
bool "Show boot progress in a board-specific manner"
|
||||
help
|
||||
Defining this option allows to add some board-specific code (calling
|
||||
a user-provided function show_boot_progress(int) that enables you to
|
||||
show the system's boot progress on some display (for example, some
|
||||
LEDs) on your board. At the moment, the following checkpoints are
|
||||
implemented:
|
||||
|
||||
Legacy uImage format:
|
||||
|
||||
Arg Where When
|
||||
1 common/cmd_bootm.c before attempting to boot an image
|
||||
-1 common/cmd_bootm.c Image header has bad magic number
|
||||
2 common/cmd_bootm.c Image header has correct magic number
|
||||
-2 common/cmd_bootm.c Image header has bad checksum
|
||||
3 common/cmd_bootm.c Image header has correct checksum
|
||||
-3 common/cmd_bootm.c Image data has bad checksum
|
||||
4 common/cmd_bootm.c Image data has correct checksum
|
||||
-4 common/cmd_bootm.c Image is for unsupported architecture
|
||||
5 common/cmd_bootm.c Architecture check OK
|
||||
-5 common/cmd_bootm.c Wrong Image Type (not kernel, multi)
|
||||
6 common/cmd_bootm.c Image Type check OK
|
||||
-6 common/cmd_bootm.c gunzip uncompression error
|
||||
-7 common/cmd_bootm.c Unimplemented compression type
|
||||
7 common/cmd_bootm.c Uncompression OK
|
||||
8 common/cmd_bootm.c No uncompress/copy overwrite error
|
||||
-9 common/cmd_bootm.c Unsupported OS (not Linux, BSD, VxWorks, QNX)
|
||||
|
||||
9 common/image.c Start initial ramdisk verification
|
||||
-10 common/image.c Ramdisk header has bad magic number
|
||||
-11 common/image.c Ramdisk header has bad checksum
|
||||
10 common/image.c Ramdisk header is OK
|
||||
-12 common/image.c Ramdisk data has bad checksum
|
||||
11 common/image.c Ramdisk data has correct checksum
|
||||
12 common/image.c Ramdisk verification complete, start loading
|
||||
-13 common/image.c Wrong Image Type (not PPC Linux ramdisk)
|
||||
13 common/image.c Start multifile image verification
|
||||
14 common/image.c No initial ramdisk, no multifile, continue.
|
||||
|
||||
15 arch/<arch>/lib/bootm.c All preparation done, transferring control to OS
|
||||
|
||||
-30 arch/powerpc/lib/board.c Fatal error, hang the system
|
||||
-31 post/post.c POST test failed, detected by post_output_backlog()
|
||||
-32 post/post.c POST test failed, detected by post_run_single()
|
||||
|
||||
34 common/cmd_doc.c before loading a Image from a DOC device
|
||||
-35 common/cmd_doc.c Bad usage of "doc" command
|
||||
35 common/cmd_doc.c correct usage of "doc" command
|
||||
-36 common/cmd_doc.c No boot device
|
||||
36 common/cmd_doc.c correct boot device
|
||||
-37 common/cmd_doc.c Unknown Chip ID on boot device
|
||||
37 common/cmd_doc.c correct chip ID found, device available
|
||||
-38 common/cmd_doc.c Read Error on boot device
|
||||
38 common/cmd_doc.c reading Image header from DOC device OK
|
||||
-39 common/cmd_doc.c Image header has bad magic number
|
||||
39 common/cmd_doc.c Image header has correct magic number
|
||||
-40 common/cmd_doc.c Error reading Image from DOC device
|
||||
40 common/cmd_doc.c Image header has correct magic number
|
||||
41 common/cmd_ide.c before loading a Image from a IDE device
|
||||
-42 common/cmd_ide.c Bad usage of "ide" command
|
||||
42 common/cmd_ide.c correct usage of "ide" command
|
||||
-43 common/cmd_ide.c No boot device
|
||||
43 common/cmd_ide.c boot device found
|
||||
-44 common/cmd_ide.c Device not available
|
||||
44 common/cmd_ide.c Device available
|
||||
-45 common/cmd_ide.c wrong partition selected
|
||||
45 common/cmd_ide.c partition selected
|
||||
-46 common/cmd_ide.c Unknown partition table
|
||||
46 common/cmd_ide.c valid partition table found
|
||||
-47 common/cmd_ide.c Invalid partition type
|
||||
47 common/cmd_ide.c correct partition type
|
||||
-48 common/cmd_ide.c Error reading Image Header on boot device
|
||||
48 common/cmd_ide.c reading Image Header from IDE device OK
|
||||
-49 common/cmd_ide.c Image header has bad magic number
|
||||
49 common/cmd_ide.c Image header has correct magic number
|
||||
-50 common/cmd_ide.c Image header has bad checksum
|
||||
50 common/cmd_ide.c Image header has correct checksum
|
||||
-51 common/cmd_ide.c Error reading Image from IDE device
|
||||
51 common/cmd_ide.c reading Image from IDE device OK
|
||||
52 common/cmd_nand.c before loading a Image from a NAND device
|
||||
-53 common/cmd_nand.c Bad usage of "nand" command
|
||||
53 common/cmd_nand.c correct usage of "nand" command
|
||||
-54 common/cmd_nand.c No boot device
|
||||
54 common/cmd_nand.c boot device found
|
||||
-55 common/cmd_nand.c Unknown Chip ID on boot device
|
||||
55 common/cmd_nand.c correct chip ID found, device available
|
||||
-56 common/cmd_nand.c Error reading Image Header on boot device
|
||||
56 common/cmd_nand.c reading Image Header from NAND device OK
|
||||
-57 common/cmd_nand.c Image header has bad magic number
|
||||
57 common/cmd_nand.c Image header has correct magic number
|
||||
-58 common/cmd_nand.c Error reading Image from NAND device
|
||||
58 common/cmd_nand.c reading Image from NAND device OK
|
||||
|
||||
-60 common/env_common.c Environment has a bad CRC, using default
|
||||
|
||||
64 net/eth.c starting with Ethernet configuration.
|
||||
-64 net/eth.c no Ethernet found.
|
||||
65 net/eth.c Ethernet found.
|
||||
|
||||
-80 common/cmd_net.c usage wrong
|
||||
80 common/cmd_net.c before calling net_loop()
|
||||
-81 common/cmd_net.c some error in net_loop() occurred
|
||||
81 common/cmd_net.c net_loop() back without error
|
||||
-82 common/cmd_net.c size == 0 (File with size 0 loaded)
|
||||
82 common/cmd_net.c trying automatic boot
|
||||
83 common/cmd_net.c running "source" command
|
||||
-83 common/cmd_net.c some error in automatic boot or "source" command
|
||||
84 common/cmd_net.c end without errors
|
||||
|
||||
FIT uImage format:
|
||||
|
||||
Arg Where When
|
||||
100 common/cmd_bootm.c Kernel FIT Image has correct format
|
||||
-100 common/cmd_bootm.c Kernel FIT Image has incorrect format
|
||||
101 common/cmd_bootm.c No Kernel subimage unit name, using configuration
|
||||
-101 common/cmd_bootm.c Can't get configuration for kernel subimage
|
||||
102 common/cmd_bootm.c Kernel unit name specified
|
||||
-103 common/cmd_bootm.c Can't get kernel subimage node offset
|
||||
103 common/cmd_bootm.c Found configuration node
|
||||
104 common/cmd_bootm.c Got kernel subimage node offset
|
||||
-104 common/cmd_bootm.c Kernel subimage hash verification failed
|
||||
105 common/cmd_bootm.c Kernel subimage hash verification OK
|
||||
-105 common/cmd_bootm.c Kernel subimage is for unsupported architecture
|
||||
106 common/cmd_bootm.c Architecture check OK
|
||||
-106 common/cmd_bootm.c Kernel subimage has wrong type
|
||||
107 common/cmd_bootm.c Kernel subimage type OK
|
||||
-107 common/cmd_bootm.c Can't get kernel subimage data/size
|
||||
108 common/cmd_bootm.c Got kernel subimage data/size
|
||||
-108 common/cmd_bootm.c Wrong image type (not legacy, FIT)
|
||||
-109 common/cmd_bootm.c Can't get kernel subimage type
|
||||
-110 common/cmd_bootm.c Can't get kernel subimage comp
|
||||
-111 common/cmd_bootm.c Can't get kernel subimage os
|
||||
-112 common/cmd_bootm.c Can't get kernel subimage load address
|
||||
-113 common/cmd_bootm.c Image uncompress/copy overwrite error
|
||||
|
||||
120 common/image.c Start initial ramdisk verification
|
||||
-120 common/image.c Ramdisk FIT image has incorrect format
|
||||
121 common/image.c Ramdisk FIT image has correct format
|
||||
122 common/image.c No ramdisk subimage unit name, using configuration
|
||||
-122 common/image.c Can't get configuration for ramdisk subimage
|
||||
123 common/image.c Ramdisk unit name specified
|
||||
-124 common/image.c Can't get ramdisk subimage node offset
|
||||
125 common/image.c Got ramdisk subimage node offset
|
||||
-125 common/image.c Ramdisk subimage hash verification failed
|
||||
126 common/image.c Ramdisk subimage hash verification OK
|
||||
-126 common/image.c Ramdisk subimage for unsupported architecture
|
||||
127 common/image.c Architecture check OK
|
||||
-127 common/image.c Can't get ramdisk subimage data/size
|
||||
128 common/image.c Got ramdisk subimage data/size
|
||||
129 common/image.c Can't get ramdisk load address
|
||||
-129 common/image.c Got ramdisk load address
|
||||
|
||||
-130 common/cmd_doc.c Incorrect FIT image format
|
||||
131 common/cmd_doc.c FIT image format OK
|
||||
|
||||
-140 common/cmd_ide.c Incorrect FIT image format
|
||||
141 common/cmd_ide.c FIT image format OK
|
||||
|
||||
-150 common/cmd_nand.c Incorrect FIT image format
|
||||
151 common/cmd_nand.c FIT image format OK
|
||||
|
||||
endmenu
|
||||
|
||||
menu "Boot media"
|
||||
|
|
|
@ -10,6 +10,7 @@
|
|||
#include <cli.h>
|
||||
#include <console.h>
|
||||
#include <fdtdec.h>
|
||||
#include <hash.h>
|
||||
#include <menu.h>
|
||||
#include <post.h>
|
||||
#include <u-boot/sha256.h>
|
||||
|
@ -27,9 +28,19 @@ DECLARE_GLOBAL_DATA_PTR;
|
|||
|
||||
/* Stored value of bootdelay, used by autoboot_command() */
|
||||
static int stored_bootdelay;
|
||||
static int menukey;
|
||||
|
||||
#if defined(CONFIG_AUTOBOOT_KEYED)
|
||||
#if defined(CONFIG_AUTOBOOT_STOP_STR_SHA256)
|
||||
#ifdef CONFIG_AUTOBOOT_ENCRYPTION
|
||||
#define AUTOBOOT_STOP_STR_SHA256 CONFIG_AUTOBOOT_STOP_STR_SHA256
|
||||
#else
|
||||
#define AUTOBOOT_STOP_STR_SHA256 ""
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_USE_AUTOBOOT_MENUKEY
|
||||
#define AUTOBOOT_MENUKEY CONFIG_USE_AUTOBOOT_MENUKEY
|
||||
#else
|
||||
#define AUTOBOOT_MENUKEY 0
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Use a "constant-length" time compare function for this
|
||||
|
@ -48,7 +59,15 @@ static int slow_equals(u8 *a, u8 *b, int len)
|
|||
return diff == 0;
|
||||
}
|
||||
|
||||
static int passwd_abort(uint64_t etime)
|
||||
/**
|
||||
* passwd_abort_sha256() - check for a hashed key sequence to abort booting
|
||||
*
|
||||
* This checks for the user entering a SHA256 hash within a given time.
|
||||
*
|
||||
* @etime: Timeout value ticks (stop when get_ticks() reachs this)
|
||||
* @return 0 if autoboot should continue, 1 if it should stop
|
||||
*/
|
||||
static int passwd_abort_sha256(uint64_t etime)
|
||||
{
|
||||
const char *sha_env_str = env_get("bootstopkeysha256");
|
||||
u8 sha_env[SHA256_SUM_LEN];
|
||||
|
@ -61,7 +80,7 @@ static int passwd_abort(uint64_t etime)
|
|||
int ret;
|
||||
|
||||
if (sha_env_str == NULL)
|
||||
sha_env_str = CONFIG_AUTOBOOT_STOP_STR_SHA256;
|
||||
sha_env_str = AUTOBOOT_STOP_STR_SHA256;
|
||||
|
||||
/*
|
||||
* Generate the binary value from the environment hash value
|
||||
|
@ -99,8 +118,16 @@ static int passwd_abort(uint64_t etime)
|
|||
|
||||
return abort;
|
||||
}
|
||||
#else
|
||||
static int passwd_abort(uint64_t etime)
|
||||
|
||||
/**
|
||||
* passwd_abort_key() - check for a key sequence to aborted booting
|
||||
*
|
||||
* This checks for the user entering a string within a given time.
|
||||
*
|
||||
* @etime: Timeout value ticks (stop when get_ticks() reachs this)
|
||||
* @return 0 if autoboot should continue, 1 if it should stop
|
||||
*/
|
||||
static int passwd_abort_key(uint64_t etime)
|
||||
{
|
||||
int abort = 0;
|
||||
struct {
|
||||
|
@ -176,13 +203,12 @@ static int passwd_abort(uint64_t etime)
|
|||
|
||||
return abort;
|
||||
}
|
||||
#endif
|
||||
|
||||
/***************************************************************************
|
||||
* Watch for 'delay' seconds for autoboot stop or autoboot delay string.
|
||||
* returns: 0 - no key string, allow autoboot 1 - got key string, abort
|
||||
*/
|
||||
static int __abortboot(int bootdelay)
|
||||
static int abortboot_key_sequence(int bootdelay)
|
||||
{
|
||||
int abort;
|
||||
uint64_t etime = endtick(bootdelay);
|
||||
|
@ -195,29 +221,22 @@ static int __abortboot(int bootdelay)
|
|||
printf(CONFIG_AUTOBOOT_PROMPT, bootdelay);
|
||||
# endif
|
||||
|
||||
abort = passwd_abort(etime);
|
||||
if (IS_ENABLED(CONFIG_AUTOBOOT_ENCRYPTION))
|
||||
abort = passwd_abort_sha256(etime);
|
||||
else
|
||||
abort = passwd_abort_key(etime);
|
||||
if (!abort)
|
||||
debug_bootkeys("key timeout\n");
|
||||
|
||||
return abort;
|
||||
}
|
||||
|
||||
# else /* !defined(CONFIG_AUTOBOOT_KEYED) */
|
||||
|
||||
#ifdef CONFIG_MENUKEY
|
||||
static int menukey;
|
||||
#endif
|
||||
|
||||
static int __abortboot(int bootdelay)
|
||||
static int abortboot_single_key(int bootdelay)
|
||||
{
|
||||
int abort = 0;
|
||||
unsigned long ts;
|
||||
|
||||
#ifdef CONFIG_MENUPROMPT
|
||||
printf(CONFIG_MENUPROMPT);
|
||||
#else
|
||||
printf("Hit any key to stop autoboot: %2d ", bootdelay);
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Check if key already pressed
|
||||
|
@ -234,13 +253,13 @@ static int __abortboot(int bootdelay)
|
|||
ts = get_timer(0);
|
||||
do {
|
||||
if (tstc()) { /* we got a key press */
|
||||
int key;
|
||||
|
||||
abort = 1; /* don't auto boot */
|
||||
bootdelay = 0; /* no more delay */
|
||||
# ifdef CONFIG_MENUKEY
|
||||
menukey = getc();
|
||||
# else
|
||||
(void) getc(); /* consume input */
|
||||
# endif
|
||||
key = getc(); /* consume input */
|
||||
if (IS_ENABLED(CONFIG_USE_AUTOBOOT_MENUKEY))
|
||||
menukey = key;
|
||||
break;
|
||||
}
|
||||
udelay(10000);
|
||||
|
@ -253,26 +272,27 @@ static int __abortboot(int bootdelay)
|
|||
|
||||
return abort;
|
||||
}
|
||||
# endif /* CONFIG_AUTOBOOT_KEYED */
|
||||
|
||||
static int abortboot(int bootdelay)
|
||||
{
|
||||
int abort = 0;
|
||||
|
||||
if (bootdelay >= 0)
|
||||
abort = __abortboot(bootdelay);
|
||||
if (bootdelay >= 0) {
|
||||
if (IS_ENABLED(CONFIG_AUTOBOOT_KEYED))
|
||||
abort = abortboot_key_sequence(bootdelay);
|
||||
else
|
||||
abort = abortboot_single_key(bootdelay);
|
||||
}
|
||||
|
||||
#ifdef CONFIG_SILENT_CONSOLE
|
||||
if (abort)
|
||||
if (IS_ENABLED(CONFIG_SILENT_CONSOLE) && abort)
|
||||
gd->flags &= ~GD_FLG_SILENT;
|
||||
#endif
|
||||
|
||||
return abort;
|
||||
}
|
||||
|
||||
static void process_fdt_options(const void *blob)
|
||||
{
|
||||
#if defined(CONFIG_OF_CONTROL) && defined(CONFIG_SYS_TEXT_BASE)
|
||||
#ifdef CONFIG_SYS_TEXT_BASE
|
||||
ulong addr;
|
||||
|
||||
/* Add an env variable to point to a kernel payload, if available */
|
||||
|
@ -284,7 +304,7 @@ static void process_fdt_options(const void *blob)
|
|||
addr = fdtdec_get_config_int(gd->fdt_blob, "rootdisk-offset", 0);
|
||||
if (addr)
|
||||
env_set_addr("rootaddr", (void *)(CONFIG_SYS_TEXT_BASE + addr));
|
||||
#endif /* CONFIG_OF_CONTROL && CONFIG_SYS_TEXT_BASE */
|
||||
#endif /* CONFIG_SYS_TEXT_BASE */
|
||||
}
|
||||
|
||||
const char *bootdelay_process(void)
|
||||
|
@ -297,16 +317,14 @@ const char *bootdelay_process(void)
|
|||
s = env_get("bootdelay");
|
||||
bootdelay = s ? (int)simple_strtol(s, NULL, 10) : CONFIG_BOOTDELAY;
|
||||
|
||||
#ifdef CONFIG_OF_CONTROL
|
||||
bootdelay = fdtdec_get_config_int(gd->fdt_blob, "bootdelay",
|
||||
bootdelay);
|
||||
#endif
|
||||
if (IS_ENABLED(CONFIG_OF_CONTROL))
|
||||
bootdelay = fdtdec_get_config_int(gd->fdt_blob, "bootdelay",
|
||||
bootdelay);
|
||||
|
||||
debug("### main_loop entered: bootdelay=%d\n\n", bootdelay);
|
||||
|
||||
#if defined(CONFIG_MENU_SHOW)
|
||||
bootdelay = menu_show(bootdelay);
|
||||
#endif
|
||||
if (IS_ENABLED(CONFIG_AUTOBOOT_MENU_SHOW))
|
||||
bootdelay = menu_show(bootdelay);
|
||||
bootretry_init_cmd_timeout();
|
||||
|
||||
#ifdef CONFIG_POST
|
||||
|
@ -319,7 +337,8 @@ const char *bootdelay_process(void)
|
|||
else
|
||||
s = env_get("bootcmd");
|
||||
|
||||
process_fdt_options(gd->fdt_blob);
|
||||
if (IS_ENABLED(CONFIG_OF_CONTROL))
|
||||
process_fdt_options(gd->fdt_blob);
|
||||
stored_bootdelay = bootdelay;
|
||||
|
||||
return s;
|
||||
|
@ -330,22 +349,24 @@ void autoboot_command(const char *s)
|
|||
debug("### main_loop: bootcmd=\"%s\"\n", s ? s : "<UNDEFINED>");
|
||||
|
||||
if (stored_bootdelay != -1 && s && !abortboot(stored_bootdelay)) {
|
||||
#if defined(CONFIG_AUTOBOOT_KEYED) && !defined(CONFIG_AUTOBOOT_KEYED_CTRLC)
|
||||
int prev = disable_ctrlc(1); /* disable Control C checking */
|
||||
#endif
|
||||
bool lock;
|
||||
int prev;
|
||||
|
||||
lock = IS_ENABLED(CONFIG_AUTOBOOT_KEYED) &&
|
||||
!IS_ENABLED(CONFIG_AUTOBOOT_KEYED_CTRLC);
|
||||
if (lock)
|
||||
prev = disable_ctrlc(1); /* disable Ctrl-C checking */
|
||||
|
||||
run_command_list(s, -1, 0);
|
||||
|
||||
#if defined(CONFIG_AUTOBOOT_KEYED) && !defined(CONFIG_AUTOBOOT_KEYED_CTRLC)
|
||||
disable_ctrlc(prev); /* restore Control C checking */
|
||||
#endif
|
||||
if (lock)
|
||||
disable_ctrlc(prev); /* restore Ctrl-C checking */
|
||||
}
|
||||
|
||||
#ifdef CONFIG_MENUKEY
|
||||
if (menukey == CONFIG_MENUKEY) {
|
||||
if (IS_ENABLED(CONFIG_USE_AUTOBOOT_MENUKEY) &&
|
||||
menukey == AUTOBOOT_MENUKEY) {
|
||||
s = env_get("menucmd");
|
||||
if (s)
|
||||
run_command_list(s, -1, 0);
|
||||
}
|
||||
#endif /* CONFIG_MENUKEY */
|
||||
}
|
||||
|
|
|
@ -19,7 +19,6 @@ __weak void show_boot_progress(int val) {}
|
|||
|
||||
static void run_preboot_environment_command(void)
|
||||
{
|
||||
#ifdef CONFIG_PREBOOT
|
||||
char *p;
|
||||
|
||||
p = env_get("preboot");
|
||||
|
@ -34,7 +33,6 @@ static void run_preboot_environment_command(void)
|
|||
if (IS_ENABLED(CONFIG_AUTOBOOT_KEYED))
|
||||
disable_ctrlc(prev); /* restore Ctrl-C checking */
|
||||
}
|
||||
#endif /* CONFIG_PREBOOT */
|
||||
}
|
||||
|
||||
/* We come here after U-Boot is initialised and ready to process commands */
|
||||
|
@ -49,7 +47,8 @@ void main_loop(void)
|
|||
|
||||
cli_init();
|
||||
|
||||
run_preboot_environment_command();
|
||||
if (IS_ENABLED(CONFIG_USE_PREBOOT))
|
||||
run_preboot_environment_command();
|
||||
|
||||
if (IS_ENABLED(CONFIG_UPDATE_TFTP))
|
||||
update_tftp(0UL, NULL, NULL);
|
||||
|
|
|
@ -11,6 +11,7 @@ CONFIG_I2C1_ENABLE=y
|
|||
CONFIG_SATAPWR="PC3"
|
||||
CONFIG_AHCI=y
|
||||
# CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
|
||||
CONFIG_USE_PREBOOT=y
|
||||
CONFIG_SPL_I2C_SUPPORT=y
|
||||
# CONFIG_CMD_FLASH is not set
|
||||
# CONFIG_SPL_DOS_PARTITION is not set
|
||||
|
|
|
@ -9,6 +9,7 @@ CONFIG_MMC1_CD_PIN="PG13"
|
|||
CONFIG_MMC_SUNXI_SLOT_EXTRA=1
|
||||
CONFIG_USB1_VBUS_PIN="PB10"
|
||||
# CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
|
||||
CONFIG_USE_PREBOOT=y
|
||||
CONFIG_SPL_I2C_SUPPORT=y
|
||||
# CONFIG_CMD_FLASH is not set
|
||||
# CONFIG_SPL_DOS_PARTITION is not set
|
||||
|
|
|
@ -13,6 +13,7 @@ CONFIG_VIDEO_VGA_VIA_LCD_FORCE_SYNC_ACTIVE_HIGH=y
|
|||
CONFIG_VIDEO_LCD_POWER="PB10"
|
||||
CONFIG_VIDEO_LCD_BL_PWM="PB2"
|
||||
# CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
|
||||
CONFIG_USE_PREBOOT=y
|
||||
# CONFIG_CMD_FLASH is not set
|
||||
# CONFIG_SPL_DOS_PARTITION is not set
|
||||
# CONFIG_SPL_EFI_PARTITION is not set
|
||||
|
|
|
@ -15,6 +15,7 @@ CONFIG_VIDEO_VGA_VIA_LCD_FORCE_SYNC_ACTIVE_HIGH=y
|
|||
CONFIG_VIDEO_LCD_POWER="AXP0-0"
|
||||
CONFIG_VIDEO_LCD_BL_PWM="PB2"
|
||||
# CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
|
||||
CONFIG_USE_PREBOOT=y
|
||||
CONFIG_SPL_I2C_SUPPORT=y
|
||||
CONFIG_CMD_DFU=y
|
||||
# CONFIG_CMD_FLASH is not set
|
||||
|
|
|
@ -13,6 +13,7 @@ CONFIG_SATAPWR="PC3"
|
|||
CONFIG_SPL_SPI_SUNXI=y
|
||||
CONFIG_AHCI=y
|
||||
# CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
|
||||
CONFIG_USE_PREBOOT=y
|
||||
CONFIG_SPL_I2C_SUPPORT=y
|
||||
CONFIG_CMD_DFU=y
|
||||
# CONFIG_CMD_FLASH is not set
|
||||
|
|
|
@ -11,6 +11,7 @@ CONFIG_I2C1_ENABLE=y
|
|||
CONFIG_SATAPWR="PC3"
|
||||
CONFIG_AHCI=y
|
||||
# CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
|
||||
CONFIG_USE_PREBOOT=y
|
||||
CONFIG_SPL_I2C_SUPPORT=y
|
||||
CONFIG_CMD_DFU=y
|
||||
# CONFIG_CMD_FLASH is not set
|
||||
|
|
|
@ -9,6 +9,7 @@ CONFIG_I2C1_ENABLE=y
|
|||
CONFIG_SATAPWR="PC3"
|
||||
CONFIG_AHCI=y
|
||||
# CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
|
||||
CONFIG_USE_PREBOOT=y
|
||||
CONFIG_SPL_I2C_SUPPORT=y
|
||||
# CONFIG_CMD_FLASH is not set
|
||||
# CONFIG_SPL_DOS_PARTITION is not set
|
||||
|
|
|
@ -11,6 +11,7 @@ CONFIG_VIDEO_VGA=y
|
|||
CONFIG_SATAPWR="PB8"
|
||||
CONFIG_AHCI=y
|
||||
# CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
|
||||
CONFIG_USE_PREBOOT=y
|
||||
CONFIG_SPL_I2C_SUPPORT=y
|
||||
# CONFIG_CMD_FLASH is not set
|
||||
# CONFIG_SPL_DOS_PARTITION is not set
|
||||
|
|
|
@ -12,6 +12,7 @@ CONFIG_VIDEO_VGA=y
|
|||
CONFIG_SATAPWR="PB8"
|
||||
CONFIG_AHCI=y
|
||||
# CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
|
||||
CONFIG_USE_PREBOOT=y
|
||||
CONFIG_SPL_I2C_SUPPORT=y
|
||||
# CONFIG_CMD_FLASH is not set
|
||||
# CONFIG_SPL_DOS_PARTITION is not set
|
||||
|
|
|
@ -13,6 +13,7 @@ CONFIG_USB0_VBUS_DET="PH5"
|
|||
CONFIG_SATAPWR="PC3"
|
||||
CONFIG_AHCI=y
|
||||
# CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
|
||||
CONFIG_USE_PREBOOT=y
|
||||
CONFIG_SPL_I2C_SUPPORT=y
|
||||
# CONFIG_CMD_FLASH is not set
|
||||
# CONFIG_SPL_DOS_PARTITION is not set
|
||||
|
|
|
@ -13,6 +13,7 @@ CONFIG_SATAPWR="PC3"
|
|||
CONFIG_GMAC_TX_DELAY=4
|
||||
CONFIG_AHCI=y
|
||||
# CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
|
||||
CONFIG_USE_PREBOOT=y
|
||||
CONFIG_SPL_I2C_SUPPORT=y
|
||||
# CONFIG_CMD_FLASH is not set
|
||||
# CONFIG_SPL_DOS_PARTITION is not set
|
||||
|
|
|
@ -12,6 +12,7 @@ CONFIG_SATAPWR="PC3"
|
|||
CONFIG_GMAC_TX_DELAY=4
|
||||
CONFIG_AHCI=y
|
||||
# CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
|
||||
CONFIG_USE_PREBOOT=y
|
||||
CONFIG_SPL_I2C_SUPPORT=y
|
||||
# CONFIG_CMD_FLASH is not set
|
||||
# CONFIG_SPL_DOS_PARTITION is not set
|
||||
|
|
|
@ -16,6 +16,7 @@ CONFIG_VIDEO_LCD_DCLK_PHASE=0
|
|||
CONFIG_VIDEO_LCD_BL_EN="PB2"
|
||||
CONFIG_VIDEO_LCD_BL_PWM="PH0"
|
||||
# CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
|
||||
CONFIG_USE_PREBOOT=y
|
||||
# CONFIG_CMD_FLASH is not set
|
||||
# CONFIG_SPL_DOS_PARTITION is not set
|
||||
# CONFIG_SPL_EFI_PARTITION is not set
|
||||
|
|
|
@ -14,6 +14,7 @@ CONFIG_VIDEO_LCD_POWER="PH8"
|
|||
CONFIG_VIDEO_LCD_BL_EN="PH7"
|
||||
CONFIG_VIDEO_LCD_BL_PWM="PB2"
|
||||
# CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
|
||||
CONFIG_USE_PREBOOT=y
|
||||
CONFIG_SPL_I2C_SUPPORT=y
|
||||
# CONFIG_CMD_FLASH is not set
|
||||
# CONFIG_SPL_DOS_PARTITION is not set
|
||||
|
|
|
@ -15,6 +15,7 @@ CONFIG_VIDEO_LCD_POWER="AXP0-0"
|
|||
CONFIG_VIDEO_LCD_BL_EN="AXP0-1"
|
||||
CONFIG_VIDEO_LCD_BL_PWM="PB2"
|
||||
# CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
|
||||
CONFIG_USE_PREBOOT=y
|
||||
CONFIG_SPL_I2C_SUPPORT=y
|
||||
# CONFIG_CMD_FLASH is not set
|
||||
# CONFIG_SPL_DOS_PARTITION is not set
|
||||
|
|
|
@ -8,6 +8,7 @@ CONFIG_DRAM_EMR1=0
|
|||
CONFIG_USB1_VBUS_PIN="PB10"
|
||||
CONFIG_VIDEO_COMPOSITE=y
|
||||
# CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
|
||||
CONFIG_USE_PREBOOT=y
|
||||
CONFIG_SPL_I2C_SUPPORT=y
|
||||
# CONFIG_CMD_FLASH is not set
|
||||
# CONFIG_SPL_DOS_PARTITION is not set
|
||||
|
|
|
@ -6,6 +6,7 @@ CONFIG_MACH_SUN5I=y
|
|||
CONFIG_DRAM_CLK=432
|
||||
CONFIG_USB1_VBUS_PIN="PG13"
|
||||
# CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
|
||||
CONFIG_USE_PREBOOT=y
|
||||
CONFIG_SPL_I2C_SUPPORT=y
|
||||
# CONFIG_CMD_FLASH is not set
|
||||
# CONFIG_SPL_DOS_PARTITION is not set
|
||||
|
|
|
@ -9,6 +9,7 @@ CONFIG_MMC0_CD_PIN="PH13"
|
|||
CONFIG_MMC_SUNXI_SLOT_EXTRA=2
|
||||
CONFIG_AHCI=y
|
||||
# CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
|
||||
CONFIG_USE_PREBOOT=y
|
||||
CONFIG_SPL_I2C_SUPPORT=y
|
||||
# CONFIG_CMD_FLASH is not set
|
||||
CONFIG_DEFAULT_DEVICE_TREE="sun8i-r40-bananapi-m2-ultra"
|
||||
|
|
|
@ -9,6 +9,7 @@ CONFIG_VIDEO_COMPOSITE=y
|
|||
CONFIG_GMAC_TX_DELAY=3
|
||||
CONFIG_AHCI=y
|
||||
# CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
|
||||
CONFIG_USE_PREBOOT=y
|
||||
CONFIG_SPL_I2C_SUPPORT=y
|
||||
# CONFIG_CMD_FLASH is not set
|
||||
# CONFIG_SPL_DOS_PARTITION is not set
|
||||
|
|
|
@ -10,6 +10,7 @@ CONFIG_MMC0_CD_PIN="PB4"
|
|||
CONFIG_MMC_SUNXI_SLOT_EXTRA=2
|
||||
CONFIG_USB0_ID_DET="PH8"
|
||||
# CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
|
||||
CONFIG_USE_PREBOOT=y
|
||||
# CONFIG_CMD_FLASH is not set
|
||||
# CONFIG_SPL_DOS_PARTITION is not set
|
||||
# CONFIG_SPL_PARTITION_UUIDS is not set
|
||||
|
|
|
@ -11,6 +11,7 @@ CONFIG_VIDEO_COMPOSITE=y
|
|||
CONFIG_GMAC_TX_DELAY=3
|
||||
CONFIG_AHCI=y
|
||||
# CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
|
||||
CONFIG_USE_PREBOOT=y
|
||||
CONFIG_SPL_I2C_SUPPORT=y
|
||||
# CONFIG_CMD_FLASH is not set
|
||||
# CONFIG_SPL_DOS_PARTITION is not set
|
||||
|
|
|
@ -6,6 +6,7 @@ CONFIG_MACH_SUN5I=y
|
|||
CONFIG_DRAM_TIMINGS_DDR3_800E_1066G_1333J=y
|
||||
CONFIG_USB0_VBUS_PIN="PB10"
|
||||
CONFIG_VIDEO_COMPOSITE=y
|
||||
CONFIG_USE_PREBOOT=y
|
||||
CONFIG_SPL_I2C_SUPPORT=y
|
||||
CONFIG_CMD_DFU=y
|
||||
CONFIG_CMD_USB_MASS_STORAGE=y
|
||||
|
|
|
@ -5,6 +5,7 @@ CONFIG_SPL=y
|
|||
CONFIG_MACH_SUN5I=y
|
||||
CONFIG_DRAM_TIMINGS_DDR3_800E_1066G_1333J=y
|
||||
CONFIG_USB0_VBUS_PIN="PB10"
|
||||
CONFIG_USE_PREBOOT=y
|
||||
CONFIG_SPL_I2C_SUPPORT=y
|
||||
# CONFIG_CMD_FLASH is not set
|
||||
CONFIG_CMD_MTDPARTS=y
|
||||
|
|
|
@ -7,6 +7,7 @@ CONFIG_DRAM_CLK=432
|
|||
CONFIG_USB1_VBUS_PIN=""
|
||||
CONFIG_USB2_VBUS_PIN=""
|
||||
# CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
|
||||
CONFIG_USE_PREBOOT=y
|
||||
# CONFIG_CMD_FLASH is not set
|
||||
# CONFIG_SPL_DOS_PARTITION is not set
|
||||
# CONFIG_SPL_EFI_PARTITION is not set
|
||||
|
|
|
@ -14,6 +14,7 @@ CONFIG_VIDEO_LCD_BL_EN="PH7"
|
|||
CONFIG_VIDEO_LCD_BL_PWM="PB2"
|
||||
CONFIG_VIDEO_LCD_PANEL_HITACHI_TX18D42VM=y
|
||||
# CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
|
||||
CONFIG_USE_PREBOOT=y
|
||||
CONFIG_SPL_I2C_SUPPORT=y
|
||||
# CONFIG_CMD_FLASH is not set
|
||||
# CONFIG_SPL_DOS_PARTITION is not set
|
||||
|
|
|
@ -17,6 +17,7 @@ CONFIG_VIDEO_LCD_PANEL_I2C_SDA="PA23"
|
|||
CONFIG_VIDEO_LCD_PANEL_I2C_SCL="PA24"
|
||||
CONFIG_VIDEO_LCD_PANEL_EDP_4_LANE_1620M_VIA_ANX9804=y
|
||||
# CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
|
||||
CONFIG_USE_PREBOOT=y
|
||||
# CONFIG_CMD_FLASH is not set
|
||||
# CONFIG_SPL_DOS_PARTITION is not set
|
||||
# CONFIG_SPL_EFI_PARTITION is not set
|
||||
|
|
|
@ -8,6 +8,7 @@ CONFIG_MMC0_CD_PIN="PH1"
|
|||
CONFIG_SATAPWR="PB8"
|
||||
CONFIG_AHCI=y
|
||||
# CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
|
||||
CONFIG_USE_PREBOOT=y
|
||||
CONFIG_SPL_I2C_SUPPORT=y
|
||||
# CONFIG_CMD_FLASH is not set
|
||||
# CONFIG_SPL_DOS_PARTITION is not set
|
||||
|
|
|
@ -12,6 +12,7 @@ CONFIG_USB0_ID_DET="PH16"
|
|||
CONFIG_USB1_VBUS_PIN="PH14"
|
||||
CONFIG_USB3_VBUS_PIN="PH15"
|
||||
CONFIG_AXP_GPIO=y
|
||||
CONFIG_USE_PREBOOT=y
|
||||
# CONFIG_CMD_FLASH is not set
|
||||
# CONFIG_SPL_DOS_PARTITION is not set
|
||||
# CONFIG_SPL_EFI_PARTITION is not set
|
||||
|
|
|
@ -8,6 +8,7 @@ CONFIG_MMC0_CD_PIN="PH1"
|
|||
CONFIG_SATAPWR="PB8"
|
||||
CONFIG_AHCI=y
|
||||
# CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
|
||||
CONFIG_USE_PREBOOT=y
|
||||
CONFIG_SPL_I2C_SUPPORT=y
|
||||
# CONFIG_CMD_FLASH is not set
|
||||
# CONFIG_SPL_DOS_PARTITION is not set
|
||||
|
|
|
@ -13,6 +13,7 @@ CONFIG_SATAPWR="PH12"
|
|||
CONFIG_GMAC_TX_DELAY=1
|
||||
CONFIG_AHCI=y
|
||||
# CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
|
||||
CONFIG_USE_PREBOOT=y
|
||||
CONFIG_SPL_I2C_SUPPORT=y
|
||||
CONFIG_CMD_DFU=y
|
||||
# CONFIG_CMD_FLASH is not set
|
||||
|
|
|
@ -15,6 +15,7 @@ CONFIG_USB2_VBUS_PIN="PL6"
|
|||
CONFIG_I2C0_ENABLE=y
|
||||
CONFIG_AXP_GPIO=y
|
||||
# CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
|
||||
CONFIG_USE_PREBOOT=y
|
||||
CONFIG_CONSOLE_MUX=y
|
||||
# CONFIG_CMD_FLASH is not set
|
||||
# CONFIG_SPL_DOS_PARTITION is not set
|
||||
|
|
|
@ -16,6 +16,7 @@ CONFIG_VIDEO_LCD_POWER="AXP0-0"
|
|||
CONFIG_VIDEO_LCD_BL_EN="AXP0-1"
|
||||
CONFIG_VIDEO_LCD_BL_PWM="PB2"
|
||||
# CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
|
||||
CONFIG_USE_PREBOOT=y
|
||||
CONFIG_SPL_I2C_SUPPORT=y
|
||||
# CONFIG_CMD_FLASH is not set
|
||||
# CONFIG_SPL_DOS_PARTITION is not set
|
||||
|
|
|
@ -15,6 +15,7 @@ CONFIG_VIDEO_LCD_POWER="AXP0-0"
|
|||
CONFIG_VIDEO_LCD_BL_EN="AXP0-1"
|
||||
CONFIG_VIDEO_LCD_BL_PWM="PB2"
|
||||
# CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
|
||||
CONFIG_USE_PREBOOT=y
|
||||
CONFIG_SPL_I2C_SUPPORT=y
|
||||
# CONFIG_CMD_FLASH is not set
|
||||
# CONFIG_SPL_DOS_PARTITION is not set
|
||||
|
|
|
@ -9,6 +9,7 @@ CONFIG_USB2_VBUS_PIN=""
|
|||
CONFIG_VIDEO_VGA_VIA_LCD=y
|
||||
CONFIG_VIDEO_VGA_EXTERNAL_DAC_EN="PH25"
|
||||
# CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
|
||||
CONFIG_USE_PREBOOT=y
|
||||
# CONFIG_CMD_FLASH is not set
|
||||
# CONFIG_SPL_DOS_PARTITION is not set
|
||||
# CONFIG_SPL_EFI_PARTITION is not set
|
||||
|
|
|
@ -15,6 +15,7 @@ CONFIG_VIDEO_LCD_BL_PWM="PB2"
|
|||
# CONFIG_VIDEO_LCD_BL_PWM_ACTIVE_LOW is not set
|
||||
CONFIG_VIDEO_LCD_PANEL_LVDS=y
|
||||
# CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
|
||||
CONFIG_USE_PREBOOT=y
|
||||
CONFIG_SPL_I2C_SUPPORT=y
|
||||
# CONFIG_CMD_FLASH is not set
|
||||
# CONFIG_SPL_DOS_PARTITION is not set
|
||||
|
|
|
@ -8,6 +8,7 @@ CONFIG_MMC0_CD_PIN="PH1"
|
|||
CONFIG_SATAPWR="PB8"
|
||||
CONFIG_AHCI=y
|
||||
# CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
|
||||
CONFIG_USE_PREBOOT=y
|
||||
CONFIG_SPL_I2C_SUPPORT=y
|
||||
# CONFIG_CMD_FLASH is not set
|
||||
# CONFIG_SPL_DOS_PARTITION is not set
|
||||
|
|
|
@ -10,6 +10,7 @@ CONFIG_SATAPWR="PB3"
|
|||
CONFIG_GMAC_TX_DELAY=4
|
||||
CONFIG_AHCI=y
|
||||
# CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
|
||||
CONFIG_USE_PREBOOT=y
|
||||
CONFIG_SPL_I2C_SUPPORT=y
|
||||
# CONFIG_CMD_FLASH is not set
|
||||
# CONFIG_SPL_DOS_PARTITION is not set
|
||||
|
|
|
@ -4,6 +4,7 @@ CONFIG_NR_DRAM_BANKS=1
|
|||
CONFIG_SPL=y
|
||||
CONFIG_MACH_SUN8I_V3S=y
|
||||
CONFIG_DRAM_CLK=360
|
||||
CONFIG_USE_PREBOOT=y
|
||||
# CONFIG_CMD_FLASH is not set
|
||||
# CONFIG_SPL_DOS_PARTITION is not set
|
||||
# CONFIG_SPL_EFI_PARTITION is not set
|
||||
|
|
|
@ -10,6 +10,7 @@ CONFIG_SATAPWR="PH2"
|
|||
CONFIG_GMAC_TX_DELAY=3
|
||||
CONFIG_AHCI=y
|
||||
# CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
|
||||
CONFIG_USE_PREBOOT=y
|
||||
CONFIG_SPL_I2C_SUPPORT=y
|
||||
# CONFIG_CMD_FLASH is not set
|
||||
# CONFIG_SPL_DOS_PARTITION is not set
|
||||
|
|
|
@ -8,6 +8,7 @@ CONFIG_DRAM_ZQ=122
|
|||
CONFIG_SATAPWR="PH2"
|
||||
CONFIG_AHCI=y
|
||||
# CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
|
||||
CONFIG_USE_PREBOOT=y
|
||||
CONFIG_SPL_I2C_SUPPORT=y
|
||||
# CONFIG_CMD_FLASH is not set
|
||||
# CONFIG_SPL_DOS_PARTITION is not set
|
||||
|
|
|
@ -6,6 +6,7 @@ CONFIG_MACH_SUN4I=y
|
|||
CONFIG_USB1_VBUS_PIN=""
|
||||
CONFIG_USB2_VBUS_PIN=""
|
||||
# CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
|
||||
CONFIG_USE_PREBOOT=y
|
||||
CONFIG_SPL_I2C_SUPPORT=y
|
||||
# CONFIG_CMD_FLASH is not set
|
||||
# CONFIG_SPL_DOS_PARTITION is not set
|
||||
|
|
|
@ -5,6 +5,7 @@ CONFIG_SPL=y
|
|||
CONFIG_MACH_SUN7I=y
|
||||
CONFIG_DRAM_CLK=384
|
||||
# CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
|
||||
CONFIG_USE_PREBOOT=y
|
||||
CONFIG_SPL_I2C_SUPPORT=y
|
||||
# CONFIG_CMD_FLASH is not set
|
||||
# CONFIG_SPL_DOS_PARTITION is not set
|
||||
|
|
|
@ -84,6 +84,8 @@ CONFIG_LCRR_CLKDIV_4=y
|
|||
CONFIG_OF_BOARD_SETUP=y
|
||||
CONFIG_OF_STDOUT_VIA_ALIAS=y
|
||||
CONFIG_BOOTDELAY=6
|
||||
CONFIG_USE_PREBOOT=y
|
||||
CONFIG_PREBOOT="echo;echo Type \"run flash_nfs\" to mount root filesystem over NFS;echo"
|
||||
CONFIG_HUSH_PARSER=y
|
||||
CONFIG_CMD_IMLS=y
|
||||
CONFIG_CMD_I2C=y
|
||||
|
|
|
@ -84,6 +84,8 @@ CONFIG_OF_BOARD_SETUP=y
|
|||
CONFIG_OF_STDOUT_VIA_ALIAS=y
|
||||
CONFIG_SYS_EXTRA_OPTIONS="PCISLAVE"
|
||||
CONFIG_BOOTDELAY=6
|
||||
CONFIG_USE_PREBOOT=y
|
||||
CONFIG_PREBOOT="echo;echo Type \"run flash_nfs\" to mount root filesystem over NFS;echo"
|
||||
CONFIG_HUSH_PARSER=y
|
||||
CONFIG_CMD_IMLS=y
|
||||
CONFIG_CMD_I2C=y
|
||||
|
|
|
@ -85,6 +85,8 @@ CONFIG_PCI_ONE_PCI1=y
|
|||
CONFIG_OF_BOARD_SETUP=y
|
||||
CONFIG_OF_STDOUT_VIA_ALIAS=y
|
||||
CONFIG_BOOTDELAY=6
|
||||
CONFIG_USE_PREBOOT=y
|
||||
CONFIG_PREBOOT="echo;echo Type \"run flash_nfs\" to mount root filesystem over NFS;echo"
|
||||
CONFIG_HUSH_PARSER=y
|
||||
CONFIG_CMD_IMLS=y
|
||||
CONFIG_CMD_I2C=y
|
||||
|
|
|
@ -10,6 +10,7 @@ CONFIG_VIDEO_LCD_POWER="PH8"
|
|||
CONFIG_VIDEO_LCD_BL_EN="PH7"
|
||||
CONFIG_VIDEO_LCD_BL_PWM="PB2"
|
||||
# CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
|
||||
CONFIG_USE_PREBOOT=y
|
||||
CONFIG_SPL_I2C_SUPPORT=y
|
||||
# CONFIG_CMD_FLASH is not set
|
||||
# CONFIG_SPL_DOS_PARTITION is not set
|
||||
|
|
|
@ -13,6 +13,7 @@ CONFIG_VIDEO_LCD_BL_EN="PA25"
|
|||
CONFIG_VIDEO_LCD_BL_PWM="PH13"
|
||||
CONFIG_VIDEO_LCD_PANEL_MIPI_4_LANE_513_MBPS_VIA_SSD2828=y
|
||||
# CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
|
||||
CONFIG_USE_PREBOOT=y
|
||||
# CONFIG_CMD_FLASH is not set
|
||||
# CONFIG_SPL_DOS_PARTITION is not set
|
||||
# CONFIG_SPL_EFI_PARTITION is not set
|
||||
|
|
|
@ -5,6 +5,7 @@ CONFIG_SPL=y
|
|||
CONFIG_MACH_SUN4I=y
|
||||
CONFIG_AHCI=y
|
||||
# CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
|
||||
CONFIG_USE_PREBOOT=y
|
||||
# CONFIG_CMD_FLASH is not set
|
||||
# CONFIG_SPL_DOS_PARTITION is not set
|
||||
# CONFIG_SPL_EFI_PARTITION is not set
|
||||
|
|
|
@ -8,6 +8,7 @@ CONFIG_INITIAL_USB_SCAN_DELAY=2000
|
|||
CONFIG_USB1_VBUS_PIN="PC27"
|
||||
CONFIG_USB2_VBUS_PIN=""
|
||||
# CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
|
||||
CONFIG_USE_PREBOOT=y
|
||||
# CONFIG_CMD_FLASH is not set
|
||||
# CONFIG_SPL_DOS_PARTITION is not set
|
||||
# CONFIG_SPL_EFI_PARTITION is not set
|
||||
|
|
|
@ -8,6 +8,7 @@ CONFIG_VIDEO_VGA=y
|
|||
CONFIG_VIDEO_COMPOSITE=y
|
||||
CONFIG_AHCI=y
|
||||
# CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
|
||||
CONFIG_USE_PREBOOT=y
|
||||
CONFIG_SPL_I2C_SUPPORT=y
|
||||
# CONFIG_CMD_FLASH is not set
|
||||
# CONFIG_SPL_DOS_PARTITION is not set
|
||||
|
|
|
@ -7,6 +7,7 @@ CONFIG_DRAM_ZQ=120
|
|||
CONFIG_USB1_VBUS_PIN="PC27"
|
||||
CONFIG_USB2_VBUS_PIN=""
|
||||
# CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
|
||||
CONFIG_USE_PREBOOT=y
|
||||
# CONFIG_CMD_FLASH is not set
|
||||
# CONFIG_SPL_DOS_PARTITION is not set
|
||||
# CONFIG_SPL_EFI_PARTITION is not set
|
||||
|
|
|
@ -9,6 +9,7 @@ CONFIG_MMC_SUNXI_SLOT_EXTRA=2
|
|||
CONFIG_VIDEO_VGA=y
|
||||
CONFIG_VIDEO_COMPOSITE=y
|
||||
# CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
|
||||
CONFIG_USE_PREBOOT=y
|
||||
CONFIG_SPL_I2C_SUPPORT=y
|
||||
# CONFIG_CMD_FLASH is not set
|
||||
# CONFIG_SPL_DOS_PARTITION is not set
|
||||
|
|
|
@ -9,6 +9,7 @@ CONFIG_MMC0_CD_PIN="PH1"
|
|||
CONFIG_VIDEO_COMPOSITE=y
|
||||
CONFIG_AHCI=y
|
||||
# CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
|
||||
CONFIG_USE_PREBOOT=y
|
||||
CONFIG_SPL_I2C_SUPPORT=y
|
||||
# CONFIG_CMD_FLASH is not set
|
||||
# CONFIG_SPL_DOS_PARTITION is not set
|
||||
|
|
|
@ -7,6 +7,7 @@ CONFIG_DRAM_ZQ=120
|
|||
CONFIG_USB1_VBUS_PIN="PC27"
|
||||
CONFIG_USB2_VBUS_PIN=""
|
||||
# CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
|
||||
CONFIG_USE_PREBOOT=y
|
||||
# CONFIG_CMD_FLASH is not set
|
||||
# CONFIG_SPL_DOS_PARTITION is not set
|
||||
# CONFIG_SPL_EFI_PARTITION is not set
|
||||
|
|
|
@ -12,6 +12,7 @@ CONFIG_USB0_ID_DET="PH3"
|
|||
CONFIG_USB1_VBUS_PIN="PH4"
|
||||
CONFIG_USB3_VBUS_PIN="PH5"
|
||||
CONFIG_AXP_GPIO=y
|
||||
CONFIG_USE_PREBOOT=y
|
||||
# CONFIG_CMD_FLASH is not set
|
||||
# CONFIG_SPL_DOS_PARTITION is not set
|
||||
# CONFIG_SPL_EFI_PARTITION is not set
|
||||
|
|
|
@ -6,6 +6,7 @@ CONFIG_MACH_SUN4I=y
|
|||
CONFIG_USB0_VBUS_PIN="PB9"
|
||||
CONFIG_VIDEO_COMPOSITE=y
|
||||
# CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
|
||||
CONFIG_USE_PREBOOT=y
|
||||
CONFIG_SPL_I2C_SUPPORT=y
|
||||
# CONFIG_CMD_FLASH is not set
|
||||
# CONFIG_SPL_DOS_PARTITION is not set
|
||||
|
|
|
@ -9,6 +9,7 @@ CONFIG_DRAM_ODT_EN=y
|
|||
CONFIG_USB0_VBUS_DET="AXP0-VBUS-DETECT"
|
||||
CONFIG_AXP_GPIO=y
|
||||
# CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
|
||||
CONFIG_USE_PREBOOT=y
|
||||
# CONFIG_CMD_FLASH is not set
|
||||
CONFIG_CMD_MTDPARTS=y
|
||||
# CONFIG_SPL_DOS_PARTITION is not set
|
||||
|
|
|
@ -12,6 +12,7 @@ CONFIG_VIDEO_COMPOSITE=y
|
|||
CONFIG_GMAC_TX_DELAY=3
|
||||
CONFIG_AHCI=y
|
||||
# CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
|
||||
CONFIG_USE_PREBOOT=y
|
||||
CONFIG_SPL_I2C_SUPPORT=y
|
||||
# CONFIG_CMD_FLASH is not set
|
||||
# CONFIG_SPL_DOS_PARTITION is not set
|
||||
|
|
|
@ -14,6 +14,7 @@ CONFIG_VIDEO_COMPOSITE=y
|
|||
CONFIG_GMAC_TX_DELAY=3
|
||||
CONFIG_AHCI=y
|
||||
# CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
|
||||
CONFIG_USE_PREBOOT=y
|
||||
CONFIG_SPL_I2C_SUPPORT=y
|
||||
# CONFIG_CMD_FLASH is not set
|
||||
# CONFIG_SPL_DOS_PARTITION is not set
|
||||
|
|
|
@ -11,6 +11,7 @@ CONFIG_MMC_SUNXI_SLOT_EXTRA=3
|
|||
CONFIG_USB1_VBUS_PIN=""
|
||||
CONFIG_USB2_VBUS_PIN=""
|
||||
# CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
|
||||
CONFIG_USE_PREBOOT=y
|
||||
# CONFIG_CMD_FLASH is not set
|
||||
# CONFIG_SPL_DOS_PARTITION is not set
|
||||
# CONFIG_SPL_EFI_PARTITION is not set
|
||||
|
|
|
@ -13,6 +13,7 @@ CONFIG_VIDEO_LCD_DCLK_PHASE=0
|
|||
CONFIG_VIDEO_LCD_BL_EN="PH6"
|
||||
CONFIG_VIDEO_LCD_BL_PWM="PH0"
|
||||
# CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
|
||||
CONFIG_USE_PREBOOT=y
|
||||
CONFIG_CMD_DFU=y
|
||||
# CONFIG_CMD_FLASH is not set
|
||||
# CONFIG_SPL_DOS_PARTITION is not set
|
||||
|
|
|
@ -7,6 +7,7 @@ CONFIG_DRAM_CLK=432
|
|||
CONFIG_USB1_VBUS_PIN=""
|
||||
CONFIG_USB2_VBUS_PIN=""
|
||||
# CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
|
||||
CONFIG_USE_PREBOOT=y
|
||||
# CONFIG_CMD_FLASH is not set
|
||||
# CONFIG_SPL_DOS_PARTITION is not set
|
||||
# CONFIG_SPL_EFI_PARTITION is not set
|
||||
|
|
|
@ -16,6 +16,7 @@ CONFIG_USB1_VBUS_PIN="PD24"
|
|||
CONFIG_AXP_GPIO=y
|
||||
CONFIG_SATAPWR="PD25"
|
||||
# CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
|
||||
CONFIG_USE_PREBOOT=y
|
||||
CONFIG_CONSOLE_MUX=y
|
||||
# CONFIG_CMD_FLASH is not set
|
||||
# CONFIG_SPL_DOS_PARTITION is not set
|
||||
|
|
|
@ -12,6 +12,7 @@ CONFIG_USB0_VBUS_PIN="PH15"
|
|||
CONFIG_USB1_VBUS_PIN="PL7"
|
||||
CONFIG_USB3_VBUS_PIN="PL8"
|
||||
# CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
|
||||
CONFIG_USE_PREBOOT=y
|
||||
# CONFIG_CMD_FLASH is not set
|
||||
# CONFIG_SPL_DOS_PARTITION is not set
|
||||
# CONFIG_SPL_EFI_PARTITION is not set
|
||||
|
|
|
@ -119,6 +119,8 @@ CONFIG_LCRR_CLKDIV_8=y
|
|||
CONFIG_OF_BOARD_SETUP=y
|
||||
CONFIG_OF_STDOUT_VIA_ALIAS=y
|
||||
CONFIG_BOOTDELAY=6
|
||||
CONFIG_USE_PREBOOT=y
|
||||
CONFIG_PREBOOT="echo;echo Type \"run flash_nfs\" to mount root filesystem over NFS;echo"
|
||||
CONFIG_BOARD_EARLY_INIT_R=y
|
||||
CONFIG_HUSH_PARSER=y
|
||||
CONFIG_CMD_IMLS=y
|
||||
|
|
|
@ -20,6 +20,7 @@ CONFIG_VIDEO_LCD_BL_EN="AXP0-1"
|
|||
CONFIG_VIDEO_LCD_BL_PWM="PB2"
|
||||
CONFIG_VIDEO_LCD_TL059WV5C0=y
|
||||
# CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
|
||||
CONFIG_USE_PREBOOT=y
|
||||
CONFIG_SPL_I2C_SUPPORT=y
|
||||
# CONFIG_CMD_FLASH is not set
|
||||
# CONFIG_SPL_DOS_PARTITION is not set
|
||||
|
|
|
@ -13,6 +13,7 @@ CONFIG_VIDEO_LCD_POWER="PH8"
|
|||
CONFIG_VIDEO_LCD_BL_EN="PH7"
|
||||
CONFIG_VIDEO_LCD_BL_PWM="PB2"
|
||||
# CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
|
||||
CONFIG_USE_PREBOOT=y
|
||||
CONFIG_SPL_I2C_SUPPORT=y
|
||||
# CONFIG_CMD_FLASH is not set
|
||||
# CONFIG_SPL_DOS_PARTITION is not set
|
||||
|
|
|
@ -12,6 +12,7 @@ CONFIG_VIDEO_LCD_BL_PWM="PB2"
|
|||
CONFIG_VIDEO_LCD_PANEL_LVDS=y
|
||||
CONFIG_AHCI=y
|
||||
# CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
|
||||
CONFIG_USE_PREBOOT=y
|
||||
CONFIG_SPL_I2C_SUPPORT=y
|
||||
# CONFIG_CMD_FLASH is not set
|
||||
# CONFIG_SPL_DOS_PARTITION is not set
|
||||
|
|
|
@ -7,6 +7,7 @@ CONFIG_DRAM_CLK=432
|
|||
CONFIG_MMC0_CD_PIN="PB3"
|
||||
CONFIG_USB1_VBUS_PIN="PG12"
|
||||
# CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
|
||||
CONFIG_USE_PREBOOT=y
|
||||
CONFIG_SPL_I2C_SUPPORT=y
|
||||
# CONFIG_CMD_FLASH is not set
|
||||
# CONFIG_SPL_DOS_PARTITION is not set
|
||||
|
|
|
@ -19,6 +19,7 @@ CONFIG_VIDEO_LCD_BL_PWM="PB2"
|
|||
# CONFIG_VIDEO_LCD_BL_PWM_ACTIVE_LOW is not set
|
||||
CONFIG_VIDEO_LCD_PANEL_LVDS=y
|
||||
# CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
|
||||
CONFIG_USE_PREBOOT=y
|
||||
CONFIG_SPL_I2C_SUPPORT=y
|
||||
# CONFIG_CMD_FLASH is not set
|
||||
# CONFIG_SPL_DOS_PARTITION is not set
|
||||
|
|
|
@ -16,6 +16,7 @@ CONFIG_VIDEO_LCD_BL_EN="PA25"
|
|||
CONFIG_VIDEO_LCD_BL_PWM="PH13"
|
||||
CONFIG_VIDEO_LCD_PANEL_LVDS=y
|
||||
# CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
|
||||
CONFIG_USE_PREBOOT=y
|
||||
# CONFIG_CMD_FLASH is not set
|
||||
# CONFIG_SPL_DOS_PARTITION is not set
|
||||
# CONFIG_SPL_EFI_PARTITION is not set
|
||||
|
|
|
@ -6,6 +6,7 @@ CONFIG_MACH_SUN50I=y
|
|||
CONFIG_RESERVE_ALLWINNER_BOOT0_HEADER=y
|
||||
CONFIG_MMC_SUNXI_SLOT_EXTRA=2
|
||||
# CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
|
||||
CONFIG_USE_PREBOOT=y
|
||||
# CONFIG_CMD_FLASH is not set
|
||||
# CONFIG_SPL_DOS_PARTITION is not set
|
||||
# CONFIG_SPL_EFI_PARTITION is not set
|
||||
|
|
|
@ -14,6 +14,7 @@ CONFIG_SPL_FS_FAT=y
|
|||
CONFIG_SPL_LIBDISK_SUPPORT=y
|
||||
CONFIG_SERIES=y
|
||||
CONFIG_DISTRO_DEFAULTS=y
|
||||
CONFIG_SHOW_BOOT_PROGRESS=y
|
||||
# CONFIG_USE_BOOTCOMMAND is not set
|
||||
CONFIG_SYS_CONSOLE_INFO_QUIET=y
|
||||
CONFIG_DEFAULT_FDT_FILE="am335x-shc"
|
||||
|
|
|
@ -15,6 +15,7 @@ CONFIG_SPL_LIBDISK_SUPPORT=y
|
|||
CONFIG_SHC_ICT=y
|
||||
CONFIG_SERIES=y
|
||||
CONFIG_DISTRO_DEFAULTS=y
|
||||
CONFIG_SHOW_BOOT_PROGRESS=y
|
||||
# CONFIG_USE_BOOTCOMMAND is not set
|
||||
CONFIG_SYS_CONSOLE_INFO_QUIET=y
|
||||
CONFIG_DEFAULT_FDT_FILE="am335x-shc"
|
||||
|
|
|
@ -15,6 +15,7 @@ CONFIG_SPL_LIBDISK_SUPPORT=y
|
|||
CONFIG_SHC_NETBOOT=y
|
||||
CONFIG_SERIES=y
|
||||
CONFIG_DISTRO_DEFAULTS=y
|
||||
CONFIG_SHOW_BOOT_PROGRESS=y
|
||||
# CONFIG_USE_BOOTCOMMAND is not set
|
||||
CONFIG_SYS_CONSOLE_INFO_QUIET=y
|
||||
CONFIG_DEFAULT_FDT_FILE="am335x-shc"
|
||||
|
|
|
@ -15,6 +15,7 @@ CONFIG_SPL_LIBDISK_SUPPORT=y
|
|||
CONFIG_SHC_SDBOOT=y
|
||||
CONFIG_SERIES=y
|
||||
CONFIG_DISTRO_DEFAULTS=y
|
||||
CONFIG_SHOW_BOOT_PROGRESS=y
|
||||
# CONFIG_USE_BOOTCOMMAND is not set
|
||||
CONFIG_SYS_CONSOLE_INFO_QUIET=y
|
||||
CONFIG_DEFAULT_FDT_FILE="am335x-shc"
|
||||
|
|
|
@ -7,6 +7,7 @@ CONFIG_RESERVE_ALLWINNER_BOOT0_HEADER=y
|
|||
CONFIG_MMC_SUNXI_SLOT_EXTRA=2
|
||||
# CONFIG_VIDEO_DE2 is not set
|
||||
# CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
|
||||
CONFIG_USE_PREBOOT=y
|
||||
# CONFIG_CMD_FLASH is not set
|
||||
# CONFIG_SPL_DOS_PARTITION is not set
|
||||
# CONFIG_SPL_EFI_PARTITION is not set
|
||||
|
|
|
@ -10,6 +10,8 @@ CONFIG_ENV_VARS_UBOOT_CONFIG=y
|
|||
CONFIG_BOOTDELAY=5
|
||||
CONFIG_USE_BOOTARGS=y
|
||||
CONFIG_BOOTARGS="console=ttySMX0,115200 mtdparts=mxc_nand.0:1M(u-boot)ro,512K(env),512K(env2),512K(firmware),512K(dtb),5M(kernel),-(rootfs) ubi.mtd=rootfs root=ubi0:rootfs rootfstype=ubifs "
|
||||
CONFIG_USE_PREBOOT=y
|
||||
CONFIG_PREBOOT="run check_flash check_env;"
|
||||
CONFIG_VERSION_VARIABLE=y
|
||||
# CONFIG_SPL_FRAMEWORK is not set
|
||||
CONFIG_SPL_TEXT_BASE=0xA0000000
|
||||
|
|
|
@ -9,6 +9,7 @@ CONFIG_IDENT_STRING=" for ARNDALE"
|
|||
CONFIG_DISTRO_DEFAULTS=y
|
||||
CONFIG_FIT=y
|
||||
CONFIG_FIT_BEST_MATCH=y
|
||||
CONFIG_USE_PREBOOT=y
|
||||
CONFIG_SILENT_CONSOLE=y
|
||||
CONFIG_CONSOLE_MUX=y
|
||||
# CONFIG_SPL_FRAMEWORK is not set
|
||||
|
|
|
@ -4,6 +4,7 @@ CONFIG_SYS_TEXT_BASE=0x600000
|
|||
CONFIG_NR_DRAM_BANKS=2
|
||||
CONFIG_IDENT_STRING="\nMarvell-Aspenite DB"
|
||||
CONFIG_BOOTDELAY=3
|
||||
CONFIG_USE_PREBOOT=y
|
||||
# CONFIG_DISPLAY_BOARDINFO is not set
|
||||
CONFIG_BOARD_EARLY_INIT_F=y
|
||||
# CONFIG_CMD_FLASH is not set
|
||||
|
|
|
@ -9,6 +9,7 @@ CONFIG_USB0_VBUS_PIN="PB9"
|
|||
CONFIG_USB2_VBUS_PIN="PH12"
|
||||
CONFIG_VIDEO_COMPOSITE=y
|
||||
# CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
|
||||
CONFIG_USE_PREBOOT=y
|
||||
CONFIG_SPL_I2C_SUPPORT=y
|
||||
# CONFIG_CMD_FLASH is not set
|
||||
# CONFIG_SPL_DOS_PARTITION is not set
|
||||
|
|
|
@ -9,6 +9,7 @@ CONFIG_VIDEO_COMPOSITE=y
|
|||
CONFIG_GMAC_TX_DELAY=3
|
||||
CONFIG_AHCI=y
|
||||
# CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
|
||||
CONFIG_USE_PREBOOT=y
|
||||
CONFIG_SPL_I2C_SUPPORT=y
|
||||
# CONFIG_CMD_FLASH is not set
|
||||
# CONFIG_SPL_DOS_PARTITION is not set
|
||||
|
|
|
@ -7,6 +7,7 @@ CONFIG_DRAM_CLK=576
|
|||
CONFIG_MMC0_CD_PIN="PH13"
|
||||
CONFIG_AHCI=y
|
||||
# CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
|
||||
CONFIG_USE_PREBOOT=y
|
||||
CONFIG_SPL_I2C_SUPPORT=y
|
||||
# CONFIG_CMD_FLASH is not set
|
||||
CONFIG_DEFAULT_DEVICE_TREE="sun8i-v40-bananapi-m2-berry"
|
||||
|
|
|
@ -7,6 +7,7 @@ CONFIG_DRAM_CLK=672
|
|||
CONFIG_MACPWR="PD6"
|
||||
CONFIG_MMC_SUNXI_SLOT_EXTRA=2
|
||||
# CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
|
||||
CONFIG_USE_PREBOOT=y
|
||||
# CONFIG_CMD_FLASH is not set
|
||||
# CONFIG_SPL_DOS_PARTITION is not set
|
||||
# CONFIG_SPL_EFI_PARTITION is not set
|
||||
|
|
|
@ -7,6 +7,7 @@ CONFIG_DRAM_CLK=672
|
|||
CONFIG_MACPWR="PD6"
|
||||
CONFIG_MMC_SUNXI_SLOT_EXTRA=2
|
||||
# CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
|
||||
CONFIG_USE_PREBOOT=y
|
||||
# CONFIG_CMD_FLASH is not set
|
||||
# CONFIG_SPL_DOS_PARTITION is not set
|
||||
# CONFIG_SPL_EFI_PARTITION is not set
|
||||
|
|
|
@ -5,6 +5,7 @@ CONFIG_MACH_SUN8I_H3=y
|
|||
CONFIG_DRAM_CLK=408
|
||||
CONFIG_MMC0_CD_PIN=""
|
||||
# CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
|
||||
CONFIG_USE_PREBOOT=y
|
||||
# CONFIG_CMD_FLASH is not set
|
||||
# CONFIG_SPL_DOS_PARTITION is not set
|
||||
# CONFIG_SPL_EFI_PARTITION is not set
|
||||
|
|
|
@ -7,6 +7,7 @@ CONFIG_RESERVE_ALLWINNER_BOOT0_HEADER=y
|
|||
CONFIG_MMC0_CD_PIN="PH13"
|
||||
CONFIG_MMC_SUNXI_SLOT_EXTRA=2
|
||||
# CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
|
||||
CONFIG_USE_PREBOOT=y
|
||||
# CONFIG_CMD_FLASH is not set
|
||||
# CONFIG_SPL_DOS_PARTITION is not set
|
||||
# CONFIG_SPL_EFI_PARTITION is not set
|
||||
|
|
|
@ -14,6 +14,7 @@ CONFIG_SEABIOS=y
|
|||
CONFIG_FIT=y
|
||||
CONFIG_BOOTSTAGE=y
|
||||
CONFIG_BOOTSTAGE_REPORT=y
|
||||
CONFIG_SHOW_BOOT_PROGRESS=y
|
||||
CONFIG_USE_BOOTARGS=y
|
||||
CONFIG_BOOTARGS="root=/dev/sdb3 init=/sbin/init rootwait ro"
|
||||
CONFIG_SYS_CONSOLE_INFO_QUIET=y
|
||||
|
|
|
@ -6,6 +6,8 @@ CONFIG_NR_DRAM_BANKS=1
|
|||
CONFIG_FIT=y
|
||||
CONFIG_FIT_SIGNATURE=y
|
||||
CONFIG_BOOTDELAY=1
|
||||
CONFIG_USE_PREBOOT=y
|
||||
CONFIG_PREBOOT="fdt addr ${fdtcontroladdr};fdt move ${fdtcontroladdr} ${fdtsaveaddr};fdt addr ${fdtsaveaddr};"
|
||||
CONFIG_HUSH_PARSER=y
|
||||
CONFIG_SYS_PROMPT="U-Boot>"
|
||||
CONFIG_EFI_PARTITION=y
|
||||
|
|
|
@ -6,6 +6,8 @@ CONFIG_NR_DRAM_BANKS=3
|
|||
CONFIG_FIT=y
|
||||
CONFIG_FIT_SIGNATURE=y
|
||||
CONFIG_BOOTDELAY=1
|
||||
CONFIG_USE_PREBOOT=y
|
||||
CONFIG_PREBOOT="fdt addr ${fdtcontroladdr};fdt move ${fdtcontroladdr} ${fdtsaveaddr};fdt addr ${fdtsaveaddr};"
|
||||
CONFIG_HUSH_PARSER=y
|
||||
CONFIG_SYS_PROMPT="U-Boot>"
|
||||
CONFIG_CMD_SF=y
|
||||
|
|
|
@ -8,6 +8,7 @@ CONFIG_MMC0_CD_PIN="PF6"
|
|||
CONFIG_MMC_SUNXI_SLOT_EXTRA=2
|
||||
# CONFIG_PSCI_RESET is not set
|
||||
# CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
|
||||
CONFIG_USE_PREBOOT=y
|
||||
# CONFIG_CMD_FLASH is not set
|
||||
# CONFIG_SPL_DOS_PARTITION is not set
|
||||
# CONFIG_SPL_EFI_PARTITION is not set
|
||||
|
|
|
@ -3,14 +3,13 @@ CONFIG_ARCH_SUNXI=y
|
|||
CONFIG_SPL=y
|
||||
CONFIG_MACH_SUN8I_H3=y
|
||||
CONFIG_DRAM_CLK=567
|
||||
CONFIG_DRAM_ZQ=3881979
|
||||
CONFIG_MMC_SUNXI_SLOT_EXTRA=2
|
||||
CONFIG_DEFAULT_DEVICE_TREE="sun8i-h3-beelink-x2"
|
||||
# CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
|
||||
CONFIG_CONSOLE_MUX=y
|
||||
CONFIG_USE_PREBOOT=y
|
||||
# CONFIG_CMD_FLASH is not set
|
||||
# CONFIG_SPL_DOS_PARTITION is not set
|
||||
# CONFIG_SPL_EFI_PARTITION is not set
|
||||
CONFIG_DEFAULT_DEVICE_TREE="sun8i-h3-beelink-x2"
|
||||
CONFIG_SUN8I_EMAC=y
|
||||
CONFIG_USB_EHCI_HCD=y
|
||||
CONFIG_SYS_USB_EVENT_POLL_VIA_INT_QUEUE=y
|
||||
|
|
|
@ -18,6 +18,7 @@ CONFIG_FIT=y
|
|||
CONFIG_FIT_SIGNATURE=y
|
||||
CONFIG_FIT_VERBOSE=y
|
||||
CONFIG_BOOTDELAY=3
|
||||
CONFIG_USE_PREBOOT=y
|
||||
# CONFIG_DISPLAY_CPUINFO is not set
|
||||
CONFIG_SPL_STACK_R=y
|
||||
CONFIG_HUSH_PARSER=y
|
||||
|
|
|
@ -10,6 +10,7 @@ CONFIG_TARGET_BK4R1=y
|
|||
CONFIG_FIT=y
|
||||
CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=board/phytec/pcm052/imximage.cfg"
|
||||
CONFIG_BOOTDELAY=3
|
||||
CONFIG_USE_PREBOOT=y
|
||||
CONFIG_BOARD_EARLY_INIT_F=y
|
||||
CONFIG_HUSH_PARSER=y
|
||||
# CONFIG_CMD_ELF is not set
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue