09 Oct, 2012
6 commits
-
The recent switch to use get_device_and_partition() from do_fat_ls()
broke the ability to access a FAT filesystem directly on a whole device;
FAT only works within a partition on a device.This change makes e.g. "fatls mmc 0:0" work; explicitly requesting
partition ID 0 is something that get_device_and_partition() fully
supports. However, fat_register_device() expects partition ID 1 to be
used in the full-disk case; partition ID 1 was previously implicitly
specified when the user didn't actually specify a partition ID. Update
fat_register_device() to expect the correct ID.This change does imply that if a user explicitly executes "fatls mmc 0:1"
then this will fail, and may be a change in behaviour.Note that this still prevents "fatls mmc 0:auto" from working. The next
patch will fix that.Signed-off-by: Stephen Warren
-
lowlevel_init() of rmobile badly assumed that ip register holds return address.
The commit "63ee53a7 armv7 cpu_init_crit: Simplify code" breaks this assumption.
This patch removes this bad assumption and simplify code.Signed-off-by: Tetsuyuki Kobayashi
-
The IDE_BUS(dev) macro was previously doing dev >> 1. This however is a
mis-match of the usage in common/cmd_ide.c and would cause boards with
multiple ports / devices to not correctly detect all devices. For more
details please see:
http://lists.denx.de/pipermail/u-boot/2012-April/122525.html[Tom Rini: Reword commit message only]
Tested-by: Luka Perkov
Signed-off-by: Simon Baatz
Signed-off-by: Tom Rini -
Use the standard CMD_RET_* constants to clearly report errors from the
pca953x command. In addition, print error messages when I2C communication
fails.Signed-off-by: Laurence Withers
-
Signed-off-by: Laurence Withers
-
The default configuration for ml507 will generate a hang() in the
Xilinx uartlite driver.userial_ports[] in drivers/serial/serial_xuartlite.c does not get
initialized properly. CONFIG_SERIAL_BASE is unused.
XILINX_UARTLITE_BASEADDR is used instead.Signed-off-by: Rommel Custodio
06 Oct, 2012
6 commits
-
This patch aims at ensuring that the 2012.10 release works
out-of-the-box on as many targets as possible, by reinstating
commit 5347560f5427bcdd48a563b62180481606ac8044, which adds
option -mno-unaligned-access to armv7 builds.This patch will be overriden immediately after release of 2012.10.
-
Signed-off-by: Tetsuyuki Kobayashi
-
env default -a -f calls env_check_apply on all existing environment
variables with a NULL value for "newval" as a way of cleaning up.
This causes string manipulation functions to crash on most architectures.
So replace a NULL argument with an empty string.Reported-By: Stefano Babic
Signed-off-by: Gerlando Falauto
Tested-by: Stefano Babic -
Instead of referenceing the source webpage (which can change) include
the license in the source file.Signed-off-by: Joe Hershberger
Reported-by: Igor Grinberg
Cc: Igor Grinberg
Cc: Tom Rini
Cc: Wolfgang Denk
Acked-by: Wolfgang Denk -
Due to grown code sizes the TQM85xx boards don't build any more with
some older tool chains (like ELDK 4.2). As these boards have long
reached EOL it seems a waste of effort trying to fix them. The vendor
has agreed to drop support for them, too. So let's get rid of them.Signed-off-by: Wolfgang Denk
Cc: Stefan Roese
cc: Kim Phillips
Acked-by: Stefan Roese
05 Oct, 2012
3 commits
-
The wrong value was set as value of column of DDR memory for ap_sh4a_4a.
10 is the right value. This fixed this problem.Signed-off-by: Nobuhiro Iwamatsu
Signed-off-by: Nobuhiro Iwamatsu -
Add minimal support for Altera's SOCFPGA Cyclone 5 hardware.
Signed-off-by: Dinh Nguyen
Signed-off-by: Chin Liang See
Signed-off-by: Pavel Machek
Reviewed-by: Marek Vasut
Acked-by: Tom Trini
Cc: Wolfgang Denx
Cc: Albert Aribaud
Cc: Stefan Roese
----
v8: Remove no_return attribute for reset_cpuBased on v2012.10-rc2
04 Oct, 2012
25 commits
-
Without usb-serial cable plugged at this stage, some
garbage is seen in UART RX FIFO, which blocks autoboot
progress. The fix makes sure to empty the RX FIFO,
before we wait for user input to interrupt autoboot.Signed-off-by: Ramesh Chandrasekaran
-
Add support for Xilinx Zynq board.
Signed-off-by: Michal Simek
Acked-by: Marek Vasut
CC: Joe Hershberger -
Add timer driver.
Signed-off-by: Michal Simek
CC: Joe Hershberger
CC: Marek Vasut
Acked-by: Marek Vasut -
The driver is used on Xilinx Zynq platform.
Signed-off-by: Michal Simek
CC: Joe Hershberger
CC: Marek Vasut
Acked-by: Marek Vasut -
When the u-boot address of destination equal to __start,
no relocation. relocation offset(r9) = 0.Signed-off-by: Zhong Hongbo
Tested-by: Stefano Babic -
ARM boards need to change device tree settings as well
Signed-off-by: Joe Hershberger
-
These options are just duplicated from arch/arm/cpu/armv7/config.mk
Signed-off-by: Michal Simek
-
We don't need to return to cpu_init_crit after calling lowlevel_init, so
lowlevel_init can directly return to the caller of cpu_init_crit.Signed-off-by: Benoît Thébaudeau
Cc: Albert Aribaud -
Disable sibling call optimization based on binutils version. This is
to work around a bug in the assember in binutils versions < 2.22.
Branches to weak symbols can be incorrectly optimized in thumb mode to
a short branch (b.n instruction) that won't reach when the symbol gets
preempted.http://sourceware.org/bugzilla/show_bug.cgi?id=12532
Signed-off-by: Allen Martin
Acked-by: Tom Rini -
Modeled after gcc-version, add function to get binutils version.
Signed-off-by: Allen Martin
Acked-by: Wolfgang Denk -
The bootm initrd image copy to ram can collide with the stack in cases
where the print buffer size is large (i.e. 1K). The result is intermittent
initrd decompression errors depending on the initrd size MOD 4KB since
the initrd start address is 4KB aligned.Cc: Albert ARIBAUD
Signed-off-by: Rob Herring -
This patch adds support for the X600 SPEAr600 based board. Its also
the first SPEAr600 board that uses the newly introduced SPEAr600
SPL support. Xloader is not necessary any more. By using the new
"u-boot.spr" make target, one image will generated containing both,
U-Boot SPL (with mkimage header as needed by the SPEAr BootROM, and
the main U-Boot with mkimage header.Signed-off-by: Stefan Roese
Cc: Amit Virdi
Cc: Vipin Kumar -
On x86 machines gd is unfortunately a #define, so we should avoid using
gd for anything. This patch changes uses of gd to bgd so that ext4fs
can be used on x86.A better fix would be to remove the #define in x86, but I'm not sure
how to do that.Signed-off-by: Simon Glass
-
Change echo to puts characters together where it knows about them
together. This improves netconsole performance by greatly reducing
the number of packets that are sent.Signed-off-by: Joe Hershberger
-
Two sub-commands... start and get.
* start sets the reference.
* get prints out the time since the last start (in "." format).
If get is called without start, returns time since boot.
Simple way to benchmark an operation: "timer start;;timer get"Signed-off-by: Joe Hershberger
-
This allows you to read ini-formatted data from anywhere and then
import one of the sections into the environmentThis is based on rev 16 at http://code.google.com/p/inih/
Signed-off-by: Joe Hershberger
-
Only print when queried, not every time the setting is changed.
Signed-off-by: Joe Hershberger
-
Old code that is not compliant.
Signed-off-by: Joe Hershberger
-
Adjustment of Michael Walle's fix patch
Commit 8a0eccb1056b313b45ab62e3aac400f339aa71b4 breaks netconsole. src_ip
must not be converted to host byte order, because nc_ip is already stored
in network byte order (see string_to_ip(), called by getenv_IPaddr()).Signed-off-by: Joe Hershberger
-
Add a parameter that allows you to store the md5 sum to either a
memory location or a variable.Signed-off-by: Joe Hershberger
-
Loosely based on CONFIG_CRC32_VERIFY.
The sum to verify against can be in memory, in a variable, or the last
parameter to the function directly.Signed-off-by: Joe Hershberger
-
Add a parameter that allows you to store the SHA1 sum to either a
memory location or a variable.Signed-off-by: Joe Hershberger
-
Loosely based on CONFIG_CRC32_VERIFY.
The sum to verify against can be in memory, in a variable, or the last
parameter to the function directly.Signed-off-by: Joe Hershberger
-
Improve debug output for test by indicating the number of parameters
and quoting the parameters to make it clear exactly what each containsSigned-off-by: Joe Hershberger
-
Define the new "-2" value for bootdelay to mean autoboot with no delay
and don't check for an abort key (while "0" value means do check).Signed-off-by: Joe Hershberger