21 Feb, 2014
1 commit
-
We have an unused FAT implementation in fs/fdos, remove.
Signed-off-by: Tom Rini
20 Feb, 2014
2 commits
-
Now we are ready to switch over to real Kbuild.
This commit disables temporary scripts:
scripts/{Makefile.build.tmp, Makefile.host.tmp}
and enables real Kbuild scripts:
scripts/{Makefile.build,Makefile.host,Makefile.lib}.This switch is triggered by the line in scripts/Kbuild.include
-build := -f $(if $(KBUILD_SRC),$(srctree)/)scripts/Makefile.build.tmp obj
+build := -f $(if $(KBUILD_SRC),$(srctree)/)scripts/Makefile.build objWe need to adjust some build scripts for U-Boot.
But smaller amount of modification is preferable.Additionally, we need to fix compiler flags which are
locally added or removed.In Kbuild, it is not allowed to change CFLAGS locally.
Instead, ccflags-y, asflags-y, cppflags-y,
CFLAGS_$(basetarget).o, CFLAGS_REMOVE_$(basetarget).o
are prepared for that purpose.Signed-off-by: Masahiro Yamada
Tested-by: Gerhard Sittig -
This commit changes the working directory
where the build process occurs.Before this commit, build process occurred under the source
tree for both in-tree and out-of-tree build.That's why we needed to add $(obj) prefix to all generated
files in makefiles like follows:
$(obj)u-boot.bin: $(obj)u-bootHere, $(obj) is empty for in-tree build, whereas it points
to the output directory for out-of-tree build.And our old build system changes the current working directory
with "make -C " syntax when descending into the
sub-directories.On the other hand, Kbuild uses a different idea
to handle out-of-tree build and directory descending.The build process of Kbuild always occurs under the output tree.
When "O=dir/to/store/output/files" is given, the build system
changes the current working directory to that directory and
restarts the make.Kbuild uses "make -f $(srctree)/scripts/Makefile.build obj="
syntax for descending into sub-directories.
(We can write it like "make $(obj)=" with a shorthand.)
This means the current working directory is always the top
of the output directory.Signed-off-by: Masahiro Yamada
Tested-by: Gerhard Sittig
19 Feb, 2014
1 commit
-
Add spl_sata to read a fat partition from a bootable SATA
drive.Signed-off-by: Dan Murphy
Reviewed-by: Roger Quadros
04 Feb, 2014
1 commit
-
Command provides just dump subcommand for showing clock
frequencies in a soc.Signed-off-by: Michal Simek
Acked-by: Stefano Babic
25 Jan, 2014
1 commit
-
Add SPL support to be able to detect a USB Mass Storage device
connected to a USB host. Once a USB Mass storage device is detected
the SPL will load the u-boot.img from a FAT partition to target address.Signed-off-by: Dan Murphy
13 Dec, 2013
1 commit
-
Signed-off-by: Masahiro Yamada
25 Nov, 2013
1 commit
-
The directory tools/ is always built before common/.
So when envcrc tool is necessary in common/Makefile,
it already exists.Signed-off-by: Masahiro Yamada
01 Nov, 2013
1 commit
-
Signed-off-by: Masahiro Yamada
21 Oct, 2013
1 commit
-
New command - thordown - has been added to support downloading data
via lthor TIZEN program.
It is similar to dfu command syntax and reuses its code for flashing data.Signed-off-by: Lukasz Majewski
26 Jul, 2013
1 commit
-
Signed-off-by: Dirk Eibach
Signed-off-by: Stefan Roese
24 Jul, 2013
1 commit
-
Signed-off-by: Wolfgang Denk
[trini: Fixup common/cmd_io.c]
Signed-off-by: Tom Rini
02 Jul, 2013
1 commit
-
Create splash.c/h to put the function and any future common splash
screen code in.Signed-off-by: Robert Winkler
Acked-by: Igor Grinberg
26 Jun, 2013
2 commits
-
Add a structure to describe an algorithm which can sign and (later) verify
images.Signed-off-by: Simon Glass
-
Add a trace command with sub-commands to start/stop tracing, print out
statistics and dump trace information to memory for later upload to a host.Signed-off-by: Simon Glass
21 Jun, 2013
2 commits
-
Move the common makefile line shared by the SPL and non-SPL to the public area,
so that we can avoid excessive SPL symbols. Some of them will be used by the
SPL later.This patch is on top of the patch "common/Makefile: Add new symbol
CONFIG_SPL_ENV_SUPPORT for environment in SPL".Signed-off-by: Ying Zhang
Acked-by: Tom Rini
Acked-by: Tom Rini
Signed-off-by: Andy Fleming -
There will need the environment in SPL for reasons other than network
support (in particular, hwconfig contains info for how to set up DDR).Add a new symbol CONFIG_SPL_ENV_SUPPORT to replace CONFIG_SPL_NET_SUPPORT
for environment in common/Makefile.Signed-off-by: Ying Zhang
Reviewed-by: Tom Rini
Signed-off-by: Andy Fleming
30 May, 2013
1 commit
-
Conflicts:
common/cmd_fpga.c
drivers/usb/host/ohci-at91.c
15 May, 2013
2 commits
-
The image file is still very large, and some of the code is only used when
libfdt is in use. Move this code into a new file.Signed-off-by: Simon Glass
-
The FIT code is about half the size of the >3000-line image.c. Split this
code into its own file.Signed-off-by: Simon Glass
Reviewed-by: Marek Vasut
13 May, 2013
1 commit
-
Add softswitch_output command for bf609-ezkit to enable softswitches.
Signed-off-by: Bob Liu
Signed-off-by: Sonic Zhang
28 Apr, 2013
1 commit
-
This can be useful for fuse-like hardware, OTP SoC options, etc.
Signed-off-by: Benoît Thébaudeau
12 Apr, 2013
1 commit
-
UBI is a better place for the environment on NAND devices because it
handles wear-leveling and bad blocks.Gluebi is needed in Linux to access the env as an MTD partition.
Signed-off-by: Joe Hershberger
29 Mar, 2013
1 commit
-
The "bootmenu" command uses U-Boot menu interfaces and provides
a simple mechanism for creating menus with several boot items.
When running this command the menu will be assembled as defined
by a set of environment variables which contain a title and
command key-value pairs. The "Up" and "Down" keys are used for
navigation through the items. Current active menu item is
highlighted and can be selected using the "Enter" key.The command interprets and generates various ANSI escape
sequencies, so for proper menu rendering and item selection
the used terminal should support them.Signed-off-by: Pali Rohár
[agust: various fixes and documentation updates]
Signed-off-by: Anatolij Gustschin
19 Mar, 2013
1 commit
-
This patch adds the USB Mass Storage Gadget to u-boot
New command called "ums" is implemented to provide access
to on-device embedded persistent memory.USB Mass Storage is supposed to work on top of the USB
Gadget frameworkSigned-off-by: Lukasz Majewski
Signed-off-by: Piotr Wilczek
Signed-off-by: Kyungmin Park
CC: Marek Vasut
16 Mar, 2013
2 commits
-
This file handles common post-relocation init for boards which use
the generic framework.Signed-off-by: Simon Glass
-
This file handles common pre-relocation init for boards which use
the generic framework.It starts up the console, DRAM, performs relocation and then jumps
to post-relocation init.Signed-off-by: Simon Glass
Tested-by: Wolfgang Denk
Acked-by: Wolfgang Denk
05 Mar, 2013
1 commit
-
The new 'sb' command is intended to deal with sandbox-specific features
that have no parallel in other archs. This commit adds two sub-commands
to list a directory and read a file from the host filesystem.Signed-off-by: Simon Glass
Reviewed-by: Tom Rini
20 Dec, 2012
1 commit
-
Conflicts:
README
arch/arm/cpu/armv7/exynos/clock.c
board/samsung/universal_c210/universal.c
drivers/misc/Makefile
drivers/power/power_fsl.c
include/configs/mx35pdk.h
include/configs/mx53loco.h
include/configs/seaboard.h
14 Dec, 2012
3 commits
-
Currently just validates variable types as decimal, hexidecimal,
boolean, ip address, and mac address.If the entry is not found in the env ".flags", then look in the static
one. This allows the env to override the static definitions, but prevents
the need to have every definition in the environment distracting you.Signed-off-by: Joe Hershberger
-
Add support for per-variable callbacks to the "hashtable" functions.
Signed-off-by: Joe Hershberger
!!!fix comment in callback
-
New command - "gpt" is supported. It restores the GPT partition table.
It looks into the given environment variable for partitions definition.
It can be enabled at target configuration file with CONFIG_CMD_GPT.Signed-off-by: Lukasz Majewski
Signed-off-by: Piotr Wilczek
Signed-off-by: Kyungmin Park
12 Dec, 2012
6 commits
-
Provide u-boot console functions to access IO space registers. A no
thrills implementation, accessing one register at a time.For example:
boot > iod 80
0080: 00000094
boot > iod.w 80
0080: 0094
boot > iod.b 80
0080: 94
boot > iow.b 0x80 12
boot > iod 0x80
0080: 00000012Signed-off-by: Vadim Bendebury
Signed-off-by: Simon Glass -
This implements a library for accessing EDID data from an LCD panel.
This is used to obtain information about the panel such as its
resolution and type.This is a tidied-up version of the original code pulled from
https://github.com/ynezz/u-boot-edid.The changes we made are:
- removed bit fields in the struct;
- removed endianness cases in the struct;
- fixed some wrong definitions;
- fixed to fit 80 columns;
- fixed some code styles.Signed-off-by: Tom Wai-Hong Tam
Signed-off-by: Simon Glass -
This new command supports hashing SHA1 and SHA256. It could be extended
to others such as MD5 and the CRC algorithms. The syntax is modeled on
those:hash
[* | ]to calculate a hash, and:
hash -v
[* | ]to verify a hash.
Use CONFIG_CMD_HASH to enable the command, CONFIG_SHA1 to enable SHA1 and
CONFIG_SHA256 to enable SHA256.The existing sha1sum command remains.
Signed-off-by: Simon Glass
-
We have a SHA1 command and want to add a SHA256 command also. Instead of
duplicating the code, create a generic hash API which can process
commands for different algorithms.Signed-off-by: Simon Glass
-
Sometimes data is on a block device and within a partition, but not in a
particular filesystem.This commands permits reading raw data from a partition.
Signed-off-by: Kenneth Waters
Signed-off-by: Simon Glass -
Gettime returns the current timer value. If CONFIG_SYS_HZ is defined
then the timer value is also converted to seconds.Tegra20 (SeaBoard) # gettime
Timer val: 7754
Seconds : 7
Remainder : 754
sys_hz = 1000There has been some discussion about whether this is useful enough to
be included in U-Boot. The following boards do not have CONFIG_SYS_HZ
defined:M52277EVB
M52277EVB_stmicro
M53017EVB
M54418TWR
M54418TWR_nand_mii
M54418TWR_nand_rmii
M54418TWR_nand_rmii_lowfreq
M54418TWR_serial_mii
M54418TWR_serial_rmiiSigned-off-by: Anton Staaf
Signed-off-by: Simon Glass
06 Dec, 2012
1 commit
-
With this patch, getenv_f() can be included easily into the SPL
binary. With this, SPL boards can now use getenv_f() to read
environment variables (e.g. to detect if the OS or U-Boot shall
be executed).In the approach this is done for env stored in NOR flash, as this
will be used by an upcoming MPC5200 board port.Signed-off-by: Stefan Roese
15 Nov, 2012
1 commit
-
This patch adds command to test audio playback.
sound init - Initialises the audio subsystem (i2s and wm8994 codec)
sound play - Plays predefined the audio data when specified length
and frequency.Signed-off-by: Rajeshwari Shinde
Acked-by: Simon Glass
Signed-off-by: Minkyu Kang