30 Jan, 2015
26 commits
-
SCTLR is the abbreviation of System Control Register, so we should
use SCTLR but not SCTRL.Signed-off-by: Peng Fan
-
There are missing parameters in help which fpga dump command
requires.Signed-off-by: Michal Simek
-
The Juno Development Platform is a physical Versatile Express
device with some differences from the emulated semihosting
models. The main difference is that the system is split in
a SoC and an FPGA where the SoC hosts the serial ports at
totally different adresses.Signed-off-by: Linus Walleij
-
The Versatile Express ARMv8 semihosted FVP platform is still
using the legacy CONFIG_SYS_EXTRA_OPTIONS method to configure
some compile-time flags. Get rid of this and create a Kconfig
entry for the FVP model, and a selectable bool for the
semihosting library.The FVP subboard is now modeled as a target choice so we can
eventually choose between different ARMv8 versatile express
boards (FVP, base model, Juno...) this way. All dependent
symbols are updated to reflect this.The 64bit Versatile Express board symbols are renamed
VEXPRESS64 so we have some chance to see what is actually
going on. Tested on the FVP fast model.Acked-by: Steve Rae
Signed-off-by: Linus Walleij -
Add documentation on how to setup a system to use the generic distro
configs and boot commands. This spells out what is needed to make a
system conformant, but does not limit the board to only the defaults.Signed-off-by: Dennis Gilmore
[swarren, added concept, user config, BOOT_TARGET_DEVICES sections.
edited the rest]
Signed-off-by: Stephen Warren -
Fix this:
drivers/pci/pci_rom.c:95:15: warning: cast to pointer from
integer of different size [-Wint-to-pointer-cast]
rom_header = (struct pci_rom_header *)rom_address;Signed-off-by: Minghuan Lian
-
Fix this:
warning: cast from pointer to integer of different sizeSigned-off-by: Minghuan Lian
-
only tested tested under QEMU with vexpress_ca9x4 ("-M vexpress-a9") and
vexpress_ca15_tc2 ("-M vexpress-a15"). Makes the ugly warning go away.Signed-off-by: Chris Kuethe
-
Modify $bootcmd_dhcp to read the downloaded script filename from an
environment variable rather than hard-coding it. This allows the user
(or another script) to select a different script name if they want,
without editing the whole value of $bootcmd_dhcp.Signed-off-by: Stephen Warren
-
Remove the additional ',' and '\n' from the gettime command help.
Signed-off-by: Bin Meng
-
Fake option is enabled only when CONFIG_TRACE is
enabled in common/bootm.c:do_boot_states().Signed-off-by: Michal Simek
Reviewed-by: Simon Glass -
default_image.c and socfpgaimage.c are the only image modules that print error
messages during header verification. The verify_header() is used to query if a
given image file is processed by the image format. Thus, if the image format
can't handle the file, it must simply return an error. Otherwise we pollute the
screen with errors messages until we find the image format that handle a given
image file.Signed-off-by: Guilherme Maciel Ferreira
-
The dumpimage is able to extract components contained in a FIT image:
$ ./dumpimage -T flat_dt -i CONTAINER.ITB -p INDEX FILE
The CONTAINER.ITB is a regular FIT container file. The INDEX is the poisition
of the sub-image to be retrieved, and FILE is the file (path+name) to save the
extracted sub-image.For example, given the following kernel.its to build a kernel.itb:
/dts-v1/;
/ {
...
images {
kernel@1 {
description = "Kernel 2.6.32-34";
data = /incbin/("/boot/vmlinuz-2.6.32-34-generic");
type = "kernel";
arch = "ppc";
os = "linux";
compression = "gzip";
load = ;
entry = ;
hash@1 {
algo = "md5";
};
};
...
};
...
};The dumpimage can extract the 'kernel@1' node through the following command:
$ ./dumpimage -T flat_dt -i kernel.itb -p 0 kernel
Extracted:
Image 0 (kernel@1)
Description: Kernel 2.6.32-34
Created: Wed Oct 22 15:50:26 2014
Type: Kernel Image
Compression: gzip compressed
Data Size: 4040128 Bytes = 3945.44 kB = 3.85 MB
Architecture: PowerPC
OS: Linux
Load Address: 0x00000000
Entry Point: 0x00000000
Hash algo: md5
Hash value: 22352ad39bdc03e2e50f9cc28c1c3652Which results in the file 'kernel' being exactly the same as '/boot/vmlinuz-2.6.32-34-generic'.
Signed-off-by: Guilherme Maciel Ferreira
-
Signed-off-by: Guilherme Maciel Ferreira
-
Some image types, like "KeyStone GP", do not have magic numbers to
distinguish them from other image types. Thus, the automatic image
type discovery does not work correctly.This patch also fix some integer type mismatches.
Signed-off-by: Guilherme Maciel Ferreira
-
The registration was introduced in commit f86ed6a8d52c99bb2d17d3cac1647edca0c4399c
This commit also removes all registration functions, and the member "next"
from image_type_params structSigned-off-by: Guilherme Maciel Ferreira
-
Move the image_save_datafile() function from an U-Multi specific file
(default_image.c) to a file common to all image types (image.c). And rename it
to genimg_save_datafile(), to make clear it is useful for any image type.Signed-off-by: Guilherme Maciel Ferreira
-
The get_type() and verify_print_header() functions have the
same code on both dumpimage.c and mkimage.c modules.Signed-off-by: Guilherme Maciel Ferreira
-
Signed-off-by: Guilherme Maciel Ferreira
-
Signed-off-by: Guilherme Maciel Ferreira
-
According to fit_image_print(), the "os" property from "image" node is required
also when "type=ramdisk".Signed-off-by: Guilherme Maciel Ferreira
-
A cache flush is required when an image is extracted that is required on another core.
Signed-off-by: Pieter Voorthuijsen
-
Move the bootcmd commands into a seperate distro_bootcmd environment
variable. Allowing a user to easily launch the distro boot sequence if
the default bootcmd did not default to distro boot commands.Also set CONFIG_BOOTCOMMAND to "run distro_bootcmd" if it hasn't been
configured yet rather then putting it directly in the environment. This
allows boards to make the distro boot commands available without
necessarily default to them or to use them as a fallback after running
some board specific commands instead.Signed-off-by: Sjoerd Simons
Reviewed-by: Stephen Warren -
Not all devices use the convention that the boot scripts are on the
first partition. For example on chromebooks it seems common for the
first two partitions to be ChromeOS kernel partitions.So instead of just the first partition scan all partitions on a device
with a filesystem u-boot can recognize.Signed-off-by: Sjoerd Simons
-
Add an optional third argument to the "part list" command which puts a
space seperated list of valid partitions into the given environment
variable. This is useful for allowing boot scripts to iterate of all
partitions of a device.Signed-off-by: Sjoerd Simons
Reviewed-by: Stephen Warren -
New command to determine the filesystem type of a given partition.
Optionally stores the filesystem type in a environment variable.Signed-off-by: Sjoerd Simons
Reviewed-by: Stephen Warren
29 Jan, 2015
3 commits
-
This commit 904672e (lcd: refactor lcd console stuff into its
own file), which cause lcd console address is not initialized.This patch initialize the lcd console use the default value,
will be update when splash screen is enabled.Signed-off-by: Bo Shen
-
When build for Atmel related boards which support SPL,
it will generate boot.bin, also clean when it when do
"make clean" operation.Signed-off-by: Bo Shen
Acked-by: Masahiro Yamada -
Microblaze currently doesn't use printf in SPL. So this one line was the only
reference to it and resulted in the printf functionality to be pulled in.
Exceeding the 4k size limit. Lets change the printf back to puts so that
Microblaze is fixed again. The only drawback is that the detected boot-device
number will not be printed. But this message alone should be helpful enough
to get an idea where the boot process is broken.Signed-off-by: Stefan Roese
Cc: Tom Rini
Cc: Michal Simek
Acked-by: Michal Simek
27 Jan, 2015
1 commit
26 Jan, 2015
10 commits
-
This information help with debugging issues with uart.
Signed-off-by: Michal Simek
-
This change enables to change baudrate on command line.
Signed-off-by: Michal Simek
-
updated the zynq config to support the lthor
download protocol.
This lthor functionality helps us to load linux
images on to DDR/MMC and can boot linux using bootm.
In order to load images the user should run lthor
command run "thor_ram" from u-boot prompt and
then send the images from host using lthor utility.Define g_dnl_bind_fixup for zynq so that correct vendor
and product ids assigned incase of DFU and lthor.Signed-off-by: Siva Durga Prasad Paladugu
Signed-off-by: Michal Simek -
Enable DFU functionality in zynq.
This DFU functionality helps us to load linux
images on to DDR and can boot linux using bootm.
In order to load images the user should run dfu
command "dfu 0 ram 0" from u-boot prompt and then
send the images from host.The malloc size has been increased to match the DFU
buffer requirements.Signed-off-by: Siva Durga Prasad Paladugu
Signed-off-by: Michal Simek -
Dont send always emio value as zero for zynq_gem_initialize
send it based on config.Signed-off-by: Siva Durga Prasad Paladugu
Signed-off-by: Michal Simek -
No functional chagnes.
Signed-off-by: Michal Simek
-
Based on:
"am335x_evm: Enable CMD_EXT4 and CMD_FS_GENERIC, add bootpart to env"
(sha1: 73a27a84e58cb99b4e64ed6a35eab5bc61f44f29)Fix filesystem specific commands for loading.
Signed-off-by: Michal Simek
-
Show board information in bootlog and enable it by default.
Signed-off-by: Michal Simek