oweals/u-boot.git
16 years ago[new uImage] Fix *.its files location in documentation
Bartlomiej Sieka [Thu, 20 Mar 2008 22:10:19 +0000 (23:10 +0100)]
[new uImage] Fix *.its files location in documentation

Signed-off-by: Bartlomiej Sieka <tur@semihalf.com>
16 years ago[new uImage] Fix style issue spotted by Wolfgang Denk <wd@denx.org>
Bartlomiej Sieka [Wed, 19 Mar 2008 09:00:06 +0000 (10:00 +0100)]
[new uImage] Fix style issue spotted by Wolfgang Denk <wd@denx.org>

Signed-off-by: Bartlomiej Sieka <tur@semihalf.com>
16 years agoAdd MD5 support to the new uImage format
Bartlomiej Sieka [Fri, 14 Mar 2008 15:22:34 +0000 (16:22 +0100)]
Add MD5 support to the new uImage format

Signed-off-by: Bartlomiej Sieka <tur@semihalf.com>
16 years agoAdd the MD5 algorithm
Bartlomiej Sieka [Fri, 14 Mar 2008 15:22:34 +0000 (16:22 +0100)]
Add the MD5 algorithm

MD5 supoprt is turned on by defining CONFIG_MD5, the digest can be then
calculated using the md5() function -- see include/md5.h for details.

Signed-off-by: Bartlomiej Sieka <tur@semihalf.com>
16 years agoMerge branch 'master' of git://www.denx.de/git/u-boot into new-image
Marian Balakowicz [Wed, 12 Mar 2008 11:23:02 +0000 (12:23 +0100)]
Merge branch 'master' of git://denx.de/git/u-boot into new-image

16 years ago[new uImage] Fix build issue on ARM
Marian Balakowicz [Wed, 12 Mar 2008 11:14:15 +0000 (12:14 +0100)]
[new uImage] Fix build issue on ARM

ARM platforms don't have a bd->bi_memsize so use bd->bi_dram[0].size instead.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
16 years ago[new uImage] Add new uImage format documentation and examples
Marian Balakowicz [Wed, 12 Mar 2008 11:13:13 +0000 (12:13 +0100)]
[new uImage] Add new uImage format documentation and examples

Create doc/uImage.FIT documentation directory with the following files:
- command_syntax_extensions.txt : extended command syntax description
- howto.txt                     : short usage howto
- source_file_format.txt        : internal new uImage format description

Add example image source files:
- kernel.its
- kernel_fdt.its
- multi.its

Update README appropriately.

Signed-off-by: Marian Balakowicz <m8@semihalf.com>
Signed-off-by: Bartlomiej Sieka <tur@semihalf.com>
16 years ago[new uImage] Fix definition of common bootm_headers_t fields
Marian Balakowicz [Wed, 12 Mar 2008 09:35:52 +0000 (10:35 +0100)]
[new uImage] Fix definition of common bootm_headers_t fields

verify, autostart and lmb fields are used regardless of CONFIG_FIT
setting, move their definitions to common section.

Signed-off-by: Marian Balakowicz <m8@semihalf.com>
16 years ago[new uImage] Fix build problems on trab board
Marian Balakowicz [Wed, 12 Mar 2008 09:35:51 +0000 (10:35 +0100)]
[new uImage] Fix build problems on trab board

Signed-off-by: Marian Balakowicz <m8@semihalf.com>
16 years ago[new uImage] Add proper ramdisk/FDT handling when FIT configuration is used
Marian Balakowicz [Wed, 12 Mar 2008 09:35:46 +0000 (10:35 +0100)]
[new uImage] Add proper ramdisk/FDT handling when FIT configuration is used

Save FIT configuration provied in the first bootm argument and use it
when to get ramdisk/FDT subimages when second and third (ramdisk/FDT)
arguments are not specified.

Signed-off-by: Marian Balakowicz <m8@semihalf.com>
16 years ago[new uImage] More verbose kernel image uncompress error message
Marian Balakowicz [Wed, 12 Mar 2008 09:33:01 +0000 (10:33 +0100)]
[new uImage] More verbose kernel image uncompress error message

Signed-off-by: Marian Balakowicz <m8@semihalf.com>
16 years ago[new uImage] Use show_boot_progress() for new uImage format
Marian Balakowicz [Wed, 12 Mar 2008 09:33:01 +0000 (10:33 +0100)]
[new uImage] Use show_boot_progress() for new uImage format

This patch allocates a set of show_boot_progress() IDs for new uImage format
and adds show_boot_progress() calls in new uImage format handling code.

Signed-off-by: Marian Balakowicz <m8@semihalf.com>
16 years ago[new uImage] Add new uImage fromat support to fpga command
Marian Balakowicz [Wed, 12 Mar 2008 09:33:01 +0000 (10:33 +0100)]
[new uImage] Add new uImage fromat support to fpga command

Signed-off-by: Marian Balakowicz <m8@semihalf.com>
16 years ago[new uImage] Add new uImage format handling to other bootm related commands
Marian Balakowicz [Wed, 12 Mar 2008 09:33:01 +0000 (10:33 +0100)]
[new uImage] Add new uImage format handling to other bootm related commands

Updated commands:

docboot  - cmd_doc.c
fdcboot  - cmd_fdc.c
diskboot - cmd_ide.c
nboot    - cmd_nand.c
scsiboot - cmd_scsi.c
usbboot  - cmd_usb.c

Signed-off-by: Marian Balakowicz <m8@semihalf.com>
16 years ago[new uImage] Add new uImage format support to imgextract command
Marian Balakowicz [Wed, 12 Mar 2008 09:33:00 +0000 (10:33 +0100)]
[new uImage] Add new uImage format support to imgextract command

Signed-off-by: Marian Balakowicz <m8@semihalf.com>
16 years ago[new uImage] Add new uImage format support to autoscript routine
Marian Balakowicz [Wed, 12 Mar 2008 09:33:00 +0000 (10:33 +0100)]
[new uImage] Add new uImage format support to autoscript routine

autoscript() routine is updated to accept second argument, which
is only used for FIT images and provides a FIT subimage unit name.

autoscript() routine callers must now pass two arguments. For
non-interactive use (like in cmd_load.c, cmd_net.c), new environment
variable 'autoscript_uname' is introduced and used as a FIT
subimage unit name source.

autoscript command accepts extended syntax of the addr argument:
addr:<subimg_uname>

Signed-off-by: Marian Balakowicz <m8@semihalf.com>
16 years ago[new uImage] Add new uImage format support to arch specific do_bootm_linux() routines
Marian Balakowicz [Wed, 12 Mar 2008 09:33:00 +0000 (10:33 +0100)]
[new uImage] Add new uImage format support to arch specific do_bootm_linux() routines

This patch updates architecture specific implementations of
do_bootm_linux() adding new uImage format handling for
operations like get kernel entry point address, get kernel
image data start address.

Signed-off-by: Marian Balakowicz <m8@semihalf.com>
16 years ago[new uImage] Add node offsets for FIT images listed in struct bootm_headers
Marian Balakowicz [Wed, 12 Mar 2008 09:32:59 +0000 (10:32 +0100)]
[new uImage] Add node offsets for FIT images listed in struct bootm_headers

This patch adds new node offset fields to struct bootm_headers
and updates bootm_headers processing code to make use of them.
Saved node offsets allow to avoid repeating fit_image_get_node() calls.

Signed-off-by: Marian Balakowicz <m8@semihalf.com>
16 years ago[new uImage] ppc: Add new uImage format support to FDT handling routines
Marian Balakowicz [Wed, 12 Mar 2008 09:32:53 +0000 (10:32 +0100)]
[new uImage] ppc: Add new uImage format support to FDT handling routines

Support for new (FIT) format uImages is added to powerpc specific
boot_get_fdt() routine which now recognizes, sanity checks FIT image
and is able to access data sections of the requested component image.

Signed-off-by: Marian Balakowicz <m8@semihalf.com>
16 years ago[new uImage] Re-enable interrupts for non automatic booting
Marian Balakowicz [Wed, 12 Mar 2008 09:14:57 +0000 (10:14 +0100)]
[new uImage] Re-enable interrupts for non automatic booting

Re-enable interrupts if we return from do_bootm_<os> and 'autostart'
environment variable is not set to 'yes'.

Signed-off-by: Marian Balakowicz <m8@semihalf.com>
16 years ago[new uImage] Remove unnecessary arguments passed to ramdisk routines
Marian Balakowicz [Wed, 12 Mar 2008 09:14:38 +0000 (10:14 +0100)]
[new uImage] Remove unnecessary arguments passed to ramdisk routines

boot_get_ramdisk() and image_get_ramdisk() do not need all
cmdtp, flag, argc and argv arguments. Simplify routines definition.

Signed-off-by: Marian Balakowicz <m8@semihalf.com>
16 years ago[new uImage] Add new uImage format support for ramdisk handling
Marian Balakowicz [Wed, 12 Mar 2008 09:12:37 +0000 (10:12 +0100)]
[new uImage] Add new uImage format support for ramdisk handling

This patch updates boot_get_ramdisk() routine adding format
verification and handling for new (FIT) uImages.

Signed-off-by: Marian Balakowicz <m8@semihalf.com>
16 years ago[new uImage] Add new uImage format support for kernel booting
Marian Balakowicz [Wed, 12 Mar 2008 09:01:05 +0000 (10:01 +0100)]
[new uImage] Add new uImage format support for kernel booting

New format uImages are recognized by the bootm command,
validity of specified kernel component image is checked and
its data section located and used for further processing
(uncompress, load, etc.)

Signed-off-by: Marian Balakowicz <m8@semihalf.com>
16 years ago[new uImage] Add new uImage format support for imls and iminfo commands
Marian Balakowicz [Tue, 11 Mar 2008 11:35:20 +0000 (12:35 +0100)]
[new uImage] Add new uImage format support for imls and iminfo commands

imls and iminfo can now recognize nad print out contents of the new (FIT)
format uImages.

Signed-off-by: Marian Balakowicz <m8@semihalf.com>
16 years ago[new uImage] Add support for new uImage format to mkimage tool
Bartlomiej Sieka [Tue, 11 Mar 2008 11:34:47 +0000 (12:34 +0100)]
[new uImage] Add support for new uImage format to mkimage tool

Support for the new uImage format (FIT) is added to mkimage tool.
Commandline syntax is appropriately extended:

mkimage [-D dtc_options] -f fit-image.its fit-image

mkimage (together with dtc) takes fit-image.its and referenced therein
binaries (like vmlinux.bin.gz) as inputs, and produces fit-image file -- the
final image that can be transferred to the target (e.g., via tftp) and then
booted using the bootm command in U-Boot.

Signed-off-by: Bartlomiej Sieka <tur@semihalf.com>
16 years ago[new uImage] Make node unit names const in struct bootm_headers
Marian Balakowicz [Mon, 10 Mar 2008 16:53:49 +0000 (17:53 +0100)]
[new uImage] Make node unit names const in struct bootm_headers

Signed-off-by: Marian Balakowicz <m8@semihalf.com>
16 years ago[new uImage] New uImage low-level API
Marian Balakowicz [Fri, 29 Feb 2008 20:24:06 +0000 (21:24 +0100)]
[new uImage] New uImage low-level API

Add FDT-based functions for handling new format component images,
configurations, node operations, property get/set, etc.

fit_        - routines handling global new format uImage operations
              like get/set top level property, process all nodes, etc.
fit_image_  - routines handling component images subnodes
fit_conf_   - routines handling configurations node

Signed-off-by: Bartlomiej Sieka <tur@semihalf.com>
Signed-off-by: Marian Balakowicz <m8@semihalf.com>
16 years agoRelease v1.3.2 v1.3.2
Wolfgang Denk [Sun, 9 Mar 2008 15:20:02 +0000 (16:20 +0100)]
Release v1.3.2

Update CHANGELOG for release.

Signed-off-by: Wolfgang Denk <wd@denx.de>
16 years agoSCM: fix 'packed' attribute ignored for field of type 'can_msg_t' warnings
Jean-Christophe PLAGNIOL-VILLARD [Sun, 9 Mar 2008 13:52:11 +0000 (14:52 +0100)]
SCM: fix 'packed' attribute ignored for field of type 'can_msg_t' warnings

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Wolfgang Denk <wd@denx.de>
16 years agoscb9328: Fix flash warning: type qualifiers ignored on function return type
Jean-Christophe PLAGNIOL-VILLARD [Sun, 9 Mar 2008 09:44:01 +0000 (10:44 +0100)]
scb9328: Fix flash warning: type qualifiers ignored on function return type

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
16 years agoesd/common/fpga.c: fix indentation.
Wolfgang Denk [Sun, 9 Mar 2008 09:50:41 +0000 (10:50 +0100)]
esd/common/fpga.c: fix indentation.

Signed-off-by: Wolfgang Denk <wd@denx.de>
16 years agocommon/kgdb.c: fix 'dereferencing type-punned pointer' warning
Wolfgang Denk [Sun, 9 Mar 2008 09:33:31 +0000 (10:33 +0100)]
common/kgdb.c: fix 'dereferencing type-punned pointer' warning

and get rid of a couple of unneeded casts.

Signed-off-by: Wolfgang Denk <wd@denx.de>
16 years agoesd/common/fpga.c: fix 'assignment of read-only location' error
Wolfgang Denk [Sun, 9 Mar 2008 09:09:53 +0000 (10:09 +0100)]
esd/common/fpga.c: fix 'assignment of read-only location' error

Signed-off-by: Wolfgang Denk <wd@denx.de>
16 years agoMakefile: make build silently again.
Wolfgang Denk [Sun, 9 Mar 2008 01:13:19 +0000 (02:13 +0100)]
Makefile: make build silently again.

Signed-off-by: Wolfgang Denk <wd@denx.de>
16 years agom501sk: Fix out of tree building
Wolfgang Denk [Sun, 9 Mar 2008 01:07:49 +0000 (02:07 +0100)]
m501sk: Fix out of tree building

Signed-off-by: Wolfgang Denk <wd@denx.de>
16 years agoADS5121: fix out of tree build
Wolfgang Denk [Sat, 8 Mar 2008 23:06:09 +0000 (00:06 +0100)]
ADS5121: fix out of tree build

and simplify Makefile a bit.

Signed-off-by: Wolfgang Denk <wd@denx.de>
16 years agoRelease v1.3.2
Wolfgang Denk [Sat, 8 Mar 2008 21:35:31 +0000 (22:35 +0100)]
Release v1.3.2

Signed-off-by: Wolfgang Denk <wd@denx.de>
16 years agoUpdate CHANGELOG
Wolfgang Denk [Sat, 8 Mar 2008 21:35:04 +0000 (22:35 +0100)]
Update CHANGELOG

Signed-off-by: Wolfgang Denk <wd@denx.de>
16 years agoesd: Fix warning: passing argument 1 of 'fpga_boot' discards qualifiers from pointer...
Jean-Christophe PLAGNIOL-VILLARD [Sat, 8 Mar 2008 20:30:04 +0000 (21:30 +0100)]
esd: Fix warning: passing argument 1 of 'fpga_boot' discards qualifiers from pointer target type

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
16 years agonet: rtl8169: Add processing when OWNbit did't enable in rtl_recv()
Nobuhiro Iwamatsu [Sat, 8 Mar 2008 00:25:49 +0000 (09:25 +0900)]
net: rtl8169: Add processing when OWNbit did't enable in rtl_recv()

When rtl_recv() of rtl8169 is called, OWNbit of status register
is not enable occasionally.
rtl_recv() doesn't work normally when the driver doesn't do
appropriate processing.
This patch fix this problem.

Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16 years agoMerge branch 'master' of git://www.denx.de/git/u-boot-mpc83xx
Wolfgang Denk [Sat, 8 Mar 2008 09:55:46 +0000 (10:55 +0100)]
Merge branch 'master' of git://denx.de/git/u-boot-mpc83xx

16 years agoMerge branch 'master' of git://www.denx.de/git/u-boot-ppc4xx
Wolfgang Denk [Sat, 8 Mar 2008 09:51:53 +0000 (10:51 +0100)]
Merge branch 'master' of git://denx.de/git/u-boot-ppc4xx

16 years agomgsuvd: update board configuration
Heiko Schocher [Fri, 7 Mar 2008 07:15:28 +0000 (08:15 +0100)]
mgsuvd: update board configuration

initialize the UPIOx controller.

Signed-off-by: Heiko Schocher <hs@denx.de>
16 years agomgcoge: update board configuration
Heiko Schocher [Fri, 7 Mar 2008 07:13:41 +0000 (08:13 +0100)]
mgcoge: update board configuration

add support for the config Flash.
initialize the UPIOx controller.

Signed-off-by: Heiko Schocher <hs@denx.de>
16 years agompc83xx: make dtb basename file references equal those of linux
Kim Phillips [Fri, 7 Mar 2008 18:27:31 +0000 (12:27 -0600)]
mpc83xx: make dtb basename file references equal those of linux

the dts file basenames were updated in linux - this helps avoid
inadvertently loading any old dtbs laying around.

Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
16 years agonet: uec_phy: actually increment the timeout counter
Kim Phillips [Wed, 27 Feb 2008 22:08:22 +0000 (16:08 -0600)]
net: uec_phy: actually increment the timeout counter

allow u-boot to recover (and, e.g., switch to another interface) in the
case where a PHY does not report autonegotiation is complete within its
two second timeout value.

Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
16 years agofix taihu soft spi_read
Markus Brunner [Wed, 5 Mar 2008 20:38:12 +0000 (21:38 +0100)]
fix taihu soft spi_read

The taihu board used gpio_read_out_bit which reads the output register and not
the pin state.

Signed-off-by: Markus Brunner <super.firetwister@gmail.com>
16 years agoppc4xx: Sequoia: Add device tree (fdt) Linux booting default env variables
Stefan Roese [Fri, 7 Mar 2008 07:01:43 +0000 (08:01 +0100)]
ppc4xx: Sequoia: Add device tree (fdt) Linux booting default env variables

Signed-off-by: Stefan Roese <sr@denx.de>
16 years agoMerge branch 'master' of /home/stefan/git/u-boot/u-boot
Stefan Roese [Fri, 7 Mar 2008 06:47:30 +0000 (07:47 +0100)]
Merge branch 'master' of /home/stefan/git/u-boot/u-boot

16 years ago837xEMDS: Improve the system performance
Dave Liu [Tue, 4 Mar 2008 08:59:22 +0000 (16:59 +0800)]
837xEMDS: Improve the system performance

1. Make the CSB bus pipeline depth as 4, and enable
   the repeat mode;
2. Raise the eTSEC emergency priority;
3. Use the highest IP blocks clock.

Signed-off-by: Dave Liu <daveliu@freescale.com>
16 years agoReplace "run load; run update" with conditionalized "run load update".
Detlev Zundel [Thu, 6 Mar 2008 15:45:53 +0000 (16:45 +0100)]
Replace "run load; run update" with conditionalized "run load update".

The latter version stops when "run load" fails for whatever reasons
rendering the combination *a lot* more secure.

Signed-off-by: Detlev Zundel <dzu@denx.de>
16 years agoMerge branch 'master' of /home/stefan/git/u-boot/u-boot
Stefan Roese [Wed, 5 Mar 2008 16:22:06 +0000 (17:22 +0100)]
Merge branch 'master' of /home/stefan/git/u-boot/u-boot

16 years agoMerge branch 'master' of git+ssh://10.10.0.7/home/wd/git/u-boot/master
Wolfgang Denk [Tue, 4 Mar 2008 23:21:37 +0000 (00:21 +0100)]
Merge branch 'master' of git+ssh://10.10.0.7/home/wd/git/u-boot/master

16 years agonet: Print error message upon net usage when no ethernet-interface is found
Stefan Roese [Tue, 4 Mar 2008 16:40:41 +0000 (17:40 +0100)]
net: Print error message upon net usage when no ethernet-interface is found

This patch fixes a problem seen on PPC4xx boards, when no MAC address is
defined. Then no ethernet interface is available but a simple "tftp"
command will return without any error message which is quite confusing.

Signed-off-by: Stefan Roese <sr@denx.de>
16 years agoRemove erroneous or extra spd.h #includers.
Jon Loeliger [Tue, 4 Mar 2008 16:03:03 +0000 (10:03 -0600)]
Remove erroneous or extra spd.h #includers.

Many of the spd.h #includers don't need it,
and wanted to have spd_sdram() declared instead.
Since they didn't get that, some also had open
coded extern declarations of it instead or as well.
Fix it all up by using spd_sdram.h where needed.

Signed-off-by: Jon Loeliger <jdl@freescale.com>
16 years agoPCS440EP: fix build problems (redundant #define)
Wolfgang Denk [Tue, 4 Mar 2008 16:41:28 +0000 (17:41 +0100)]
PCS440EP: fix build problems (redundant #define)

Signed-off-by: Wolfgang Denk <wd@denx.de>
16 years agonet: Print error message upon net usage when no ethernet-interface is found
Stefan Roese [Tue, 4 Mar 2008 16:39:25 +0000 (17:39 +0100)]
net: Print error message upon net usage when no ethernet-interface is found

This patch fixes a problem seen on PPC4xx boards, when no MAC address is
defined. Then no ethernet interface is available but a simple "tftp"
command will return without any error message which is quite confusing.

Signed-off-by: Stefan Roese <sr@denx.de>
16 years agoW7OLMC/W7OLMG: fix build problems (redundant #define)
Wolfgang Denk [Tue, 4 Mar 2008 16:38:50 +0000 (17:38 +0100)]
W7OLMC/W7OLMG: fix build problems (redundant #define)

Signed-off-by: Wolfgang Denk <wd@denx.de>
16 years agoMakefile: fix problem with out-of-tree builds introduced by 5013c09f
Wolfgang Denk [Tue, 4 Mar 2008 13:58:31 +0000 (14:58 +0100)]
Makefile: fix problem with out-of-tree builds introduced by 5013c09f

Commit 5013c09f (Makefile: cleanup "clean" target) introduced a
problem for out-of-tree builds which caused "make clean" to fail.

Signed-off-by: Wolfgang Denk <wd@denx.de>
16 years agoexamples/Makefile: build "hello_world" on 8xx, too.
Wolfgang Denk [Tue, 4 Mar 2008 10:58:26 +0000 (11:58 +0100)]
examples/Makefile: build "hello_world" on 8xx, too.

Signed-off-by: Wolfgang Denk <wd@denx.de>
16 years agoPPC4xx (Sequoia): Fix Ethernet "remote fault" problems
Mike Nuss [Mon, 3 Mar 2008 20:27:05 +0000 (15:27 -0500)]
PPC4xx (Sequoia): Fix Ethernet "remote fault" problems

Every now and then a Sequoia board (or equivalent hardware) had
problems connecting to a Gigabit capable network interface.

There were differences in the PHY setup between Linux and U-Boot.

This patch fixes the problem. Apparently "remote fault" is being set,
which signals to some devices (on the other end of the cable) that a
fault has occurred, while other devices ignore it. I believe the RF bit
was causing the issue, but I removed T4 also, to match up with Linux.

Signed-off-by: Mike Nuss <mike@terascala.com>
16 years agofix QE firmware uploading limit
Timur Tabi [Mon, 3 Mar 2008 15:58:52 +0000 (09:58 -0600)]
fix QE firmware uploading limit

Fix a typo in qe_upload_firmware() that prevented uploading firmware on
systems with more than one RISC core.

Signed-off-by: Timur Tabi <timur@freescale.com>
16 years agoFix endianess problem in cramfs code (cramfs is always host-endian in Linux)
Bernhard Nemec [Mon, 3 Mar 2008 11:57:23 +0000 (11:57 +0000)]
Fix endianess problem in cramfs code (cramfs is always host-endian in Linux)

Originally pointed out by Laurent Pinchart <laurent.pinchart@tbox.biz>,
see http://thread.gmane.org/gmane.comp.boot-loaders.u-boot/22846

Signed-off-by: Bernhard Nemec <bnemec <at> ganssloser.com>
16 years agofix copy from ram to dataflash
Kim B. Heino [Mon, 3 Mar 2008 08:39:13 +0000 (10:39 +0200)]
fix copy from ram to dataflash

If I try to "cp.b <ram> <dataflash>", u-boot selects normal flash
routines instead of dataflash. This is because it checks "if source
address is not dataflash" instead of target address.

Signed-off-by: Kim B. Heino <Kim.Heino@bluegiga.com>
16 years agoFix quoting problem (preboot setting) in many board config files.
Wolfgang Denk [Mon, 3 Mar 2008 11:16:44 +0000 (12:16 +0100)]
Fix quoting problem (preboot setting) in many board config files.

Signed-off-by: Wolfgang Denk <wd@denx.de>
16 years agoADS5121: Fix default environment.
Wolfgang Denk [Mon, 3 Mar 2008 11:36:49 +0000 (12:36 +0100)]
ADS5121: Fix default environment.

Signed-off-by: Wolfgang Denk <wd@denx.de>
16 years agoMakefile: Fix missing unconfig and mkconfig use
Jean-Christophe PLAGNIOL-VILLARD [Sun, 2 Mar 2008 15:12:31 +0000 (16:12 +0100)]
Makefile: Fix missing unconfig and mkconfig use

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
16 years agoFix checking fat32 cluster size.
michael [Sun, 2 Mar 2008 22:33:46 +0000 (23:33 +0100)]
Fix checking fat32 cluster size.

This fixes the cluster size tests in the FAT32 file system.
The current implementation of VFAT support doesn't work if the
referred cluster has an offset > 16bit representation, causing
"fatload" and "fatls" commands etc. to fail.

Signed-off-by: michael trimarchi <trimarchi@gandalf.sssup.it>
16 years agoPrepare v1.3.2-rc2 release candidate v1.3.2-rc3
Wolfgang Denk [Sun, 2 Mar 2008 21:57:23 +0000 (22:57 +0100)]
Prepare v1.3.2-rc2 release candidate

Signed-off-by: Wolfgang Denk <wd@denx.de>
16 years agoppc4xx: EMAC: Fix 405EZ fifo size setup in EMAC_MR1
Stefan Roese [Sat, 1 Mar 2008 11:11:40 +0000 (12:11 +0100)]
ppc4xx: EMAC: Fix 405EZ fifo size setup in EMAC_MR1

The 405EZ only supports 512 bytes of rx-/tx-fifo EMAC sizes. But
currently 4k/2k is configured. This patch fixes this issue.

Thanks to Thomas Kindler <tkindler@lenord.de> for pointing this out.

Signed-off-by: Stefan Roese <sr@denx.de>
16 years agoFix alignment error on ARM for modules
Woodruff, Richard [Fri, 29 Feb 2008 23:34:35 +0000 (17:34 -0600)]
Fix alignment error on ARM for modules

Fix alignment fault on ARM when running modules.  With out an explicit
linker file gcc4.2.1 will half word align __bss_start's value.  The word
dereference will crash hello_world.

signed-off-by Richard Woodruff <r-woodruff2@ti.com>

16 years agofs: Fix ext2 read issue
Dave Liu [Fri, 29 Feb 2008 09:45:31 +0000 (17:45 +0800)]
fs: Fix ext2 read issue

The ext2 aligned process will corrupt the key
data struct, the patch fix this.

Signed-off-by: Dave Liu <daveliu@freescale.com>
16 years agoMakefile: cleanup "clean" target
Wolfgang Denk [Sun, 2 Mar 2008 21:45:33 +0000 (22:45 +0100)]
Makefile: cleanup "clean" target

Make sure CDPATH settings cannot interfere.
Update CHANGELOG.

Signed-off-by: Wolfgang Denk <wd@denx.de>
16 years agoadd cscope build target
Li Yang [Fri, 29 Feb 2008 03:46:05 +0000 (11:46 +0800)]
add cscope build target

Add cscope build target to generate cscope database for code browsing.

Signed-off-by: Li Yang <leoli@freescale.com>
16 years agonet: uec_phy: handle 88e1111 rev.B2 erratum 5.6
Kim Phillips [Wed, 27 Feb 2008 21:06:39 +0000 (15:06 -0600)]
net: uec_phy: handle 88e1111 rev.B2 erratum 5.6

erratum 5.6 states the autoneg completion bit is functional only if the
autoneg bit is asserted.

This fixes any secondarily-issued networking commands on non-gigabit
links on the mpc8360 mds board.

Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
16 years agoMerge branch 'master' of git://www.denx.de/git/u-boot-mpc85xx
Wolfgang Denk [Sun, 2 Mar 2008 20:46:20 +0000 (21:46 +0100)]
Merge branch 'master' of git://denx.de/git/u-boot-mpc85xx

16 years agoMPC5121e ADS PCI support take 3
John Rigby [Tue, 26 Feb 2008 16:38:14 +0000 (09:38 -0700)]
MPC5121e ADS PCI support take 3

Adds PCI support for MPC5121

Tested with drivers/net/rtl8139.c

Support is conditional since PCI on old silicon does not work.

ads5121_PCI_config turns on PCI

In this version, condition compilation of PCI code has been moved
from ifdef in board/ads5121/pci.c to board/ads5121/Makefile as
suggested by Jean-Christophe PLAGNIOL-VILLARD

Signed-off-by: John Rigby <jrigby@freescale.com>
16 years agoFix warnings while compilation of post/drivers/memory.c
Anatolij Gustschin [Mon, 25 Feb 2008 22:53:07 +0000 (23:53 +0100)]
Fix warnings while compilation of post/drivers/memory.c

Fix warnings while compilation with new gcc in eldk-4.2

Signed-off-by: Anatolij Gustschin <agust@denx.de>
16 years agoMerge branch 'master' of git://www.denx.de/git/u-boot-mpc86xx
Wolfgang Denk [Sun, 2 Mar 2008 20:40:52 +0000 (21:40 +0100)]
Merge branch 'master' of git://denx.de/git/u-boot-mpc86xx

16 years agoppc4xx: Fix problem in 4xx_enet.c driver
Anatolij Gustschin [Mon, 25 Feb 2008 19:54:04 +0000 (20:54 +0100)]
ppc4xx: Fix problem in 4xx_enet.c driver

U-Boot crashes in the net loop if CONFIG_4xx_DCACHE is
enabled. To reproduce the problem ensure that 'ethrotate'
environment variable isn't set to "no" and then run
"tftp 200000 not_existent_file".
This patch tries to fix the issue.

Signed-off-by: Anatolij Gustschin <agust@denx.de>
16 years agoPOST: Disable cache while SPR POST
Anatolij Gustschin [Mon, 25 Feb 2008 19:04:20 +0000 (20:04 +0100)]
POST: Disable cache while SPR POST

Currently (since commit b2e2142c) u-boot crashes on
sequoia board while SPR test if CONFIG_4xx_DCACHE is
enabled. This patch disables the cache while SPR test.

Signed-off-by: Anatolij Gustschin <agust@denx.de>
16 years agoTQM5200: use automatic fdt memory fixup (part 2)
Martin Krause [Mon, 25 Feb 2008 16:52:40 +0000 (17:52 +0100)]
TQM5200: use automatic fdt memory fixup (part 2)

Call fdt_fixup_memory() on the boards TQM5200, TQM5200_B, TQM5200S,
TB5200 and TB5200_B to fixup the /memory node with the memory values
detected by U-Boot.

Signed-off-by: Martin Krause <martin.krause@tqs.de>
16 years agoMerge branch 'master' of git://www.denx.de/git/u-boot-ppc4xx
Wolfgang Denk [Sun, 2 Mar 2008 20:30:18 +0000 (21:30 +0100)]
Merge branch 'master' of git://denx.de/git/u-boot-ppc4xx

16 years agoMerge branch 'master' of git://www.denx.de/git/u-boot-arm
Wolfgang Denk [Sun, 2 Mar 2008 20:29:18 +0000 (21:29 +0100)]
Merge branch 'master' of git://denx.de/git/u-boot-arm

Conflicts:

include/asm-arm/arch-imx/imx-regs.h

Signed-off-by: Wolfgang Denk <wd@denx.de>
16 years agoTQM5200: use automatic fdt memory fixup
Martin Krause [Mon, 25 Feb 2008 14:17:05 +0000 (15:17 +0100)]
TQM5200: use automatic fdt memory fixup

Call fdt_fixup_memory() on the boards TQM5200, TQM5200_B, TQM5200S,
TB5200 and TB5200_B to fixup the /memory node with the memory values
detected by U-Boot.

Signed-off-by: Martin Krause <martin.krause@tqs.de>
16 years agoTQM5200: fix bug in SDRAM initialization code
Martin Krause [Mon, 25 Feb 2008 12:27:52 +0000 (13:27 +0100)]
TQM5200: fix bug in SDRAM initialization code

This patch fixes a bug in the SDRAM initialization code for the
TQM5200. The hi_addr bit is now set correctly. Without this patch
the hi_addr bit is always set to 1, if the second SDRAM bank is
not populated.

For other MPC5200 boards a correspondig patch has already been applied
some time ago, see commit a63109281ad41b0fb489fdcb901171f76bcdbc2c.

Signed-off-by: Martin Krause <martin.krause@tqs.de>
--
Forget the first patch please. I confused flash with SDRAM in
the comment ...

16 years agomx1fs2/flash: Fix multiple compiler warnings
Jean-Christophe PLAGNIOL-VILLARD [Sun, 24 Feb 2008 23:03:12 +0000 (00:03 +0100)]
mx1fs2/flash: Fix multiple compiler warnings

"pointer targets in assignment differ in signedness"

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
16 years agoarm-imx: Fix register definitions
Jean-Christophe PLAGNIOL-VILLARD [Sun, 24 Feb 2008 23:03:11 +0000 (00:03 +0100)]
arm-imx: Fix register definitions

Sync register definitions with linux

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
16 years agoactua1/actua2/actua3: Fix multiple unused variable warnings
Jean-Christophe PLAGNIOL-VILLARD [Sun, 24 Feb 2008 23:03:10 +0000 (00:03 +0100)]
actua1/actua2/actua3: Fix multiple unused variable warnings

- actua1:
actux1.c: In function 'checkboard':
actux1.c:92: warning: unused variable 'revision'

- actua2:
actux2.c: In function 'checkboard':
actux2.c:100: warning: unused variable 's'
actux2.c:99: warning: unused variable 'revision'
actux2.c: In function 'reset_phy':
actux2.c:130: warning: unused variable 'i'

- actua3:
actux3.c: In function 'checkboard':
actux3.c:114: warning: unused variable 'revision'

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
16 years agoRemove the __STRICT_ANSI__ check from the __u64/__s64 declaration on 32bit targets.
Shinya Kuribayashi [Sun, 24 Feb 2008 02:44:29 +0000 (11:44 +0900)]
Remove the __STRICT_ANSI__ check from the __u64/__s64 declaration on 32bit targets.

The previous patch was lacking of i386, microblaze, nios and nios2. This
patch tries to fix them.

Signed-off-by: Shinya Kuribayashi <skuribay@ruby.dti.ne.jp>
16 years ago[new uImage] Fix FDT blob totalsize calculation in boot_relocate_fdt()
Marian Balakowicz [Fri, 29 Feb 2008 21:22:46 +0000 (22:22 +0100)]
[new uImage] Fix FDT blob totalsize calculation in boot_relocate_fdt()

Do not use global fdt blob pointer, calculate blob size from routine
argument blob pointer.

Signed-off-by: Marian Balakowicz <m8@semihalf.com>
16 years agolibfdt: Add and use a node iteration helper function.
David Gibson [Mon, 11 Feb 2008 13:58:31 +0000 (00:58 +1100)]
libfdt: Add and use a node iteration helper function.

This patch adds an fdt_next_node() function which can be used to
iterate through nodes of the tree while keeping track of depth.  This
function is used to simplify the iteration code in a lot of other
functions, and is also exported for use by library users.

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
16 years ago[new uImage] Add libfdt support to mkimage
Bartlomiej Sieka [Fri, 29 Feb 2008 15:00:24 +0000 (16:00 +0100)]
[new uImage] Add libfdt support to mkimage

Signed-off-by: Bartlomiej Sieka <tur@semihalf.com>
16 years ago[new uImage] Add sha1.o object to mkimage binary build
Bartlomiej Sieka [Fri, 29 Feb 2008 15:00:23 +0000 (16:00 +0100)]
[new uImage] Add sha1.o object to mkimage binary build

Signed-off-by: Bartlomiej Sieka <tur@semihalf.com>
16 years ago[new uImage] Fix component handling for legacy multi component images
Marian Balakowicz [Fri, 29 Feb 2008 15:00:06 +0000 (16:00 +0100)]
[new uImage] Fix component handling for legacy multi component images

Use uint32_t when accessing size table in image_multi_count() and
image_multi_getimg() for multi component images.

Add missing uimage_to_cpu() endianness conversion.

Signed-off-by: Marian Balakowicz <m8@semihalf.com>
16 years ago[new uImage] Share common uImage code between mkimage and U-boot
Marian Balakowicz [Fri, 29 Feb 2008 14:59:59 +0000 (15:59 +0100)]
[new uImage] Share common uImage code between mkimage and U-boot

This patch adds the following common routines:

1) Dedicated mkimage print_header() is replaced with common
image_print_contents()
image_print_contents_noindent()

2) Common os/arch/type/comp fields name <--> id translation routines
genimg_get_os_name()
genimg_get_arch_name()
genimg_get_type_name()
genimg_get_comp_name()
genimg_get_os_id()
genimg_get_arch_id()
genimg_get_type_id()
genimg_get_comp_id()

Signed-off-by: Marian Balakowicz <m8@semihalf.com>
16 years ago[new uImage] Update naming convention for bootm/uImage related code
Marian Balakowicz [Fri, 29 Feb 2008 13:58:34 +0000 (14:58 +0100)]
[new uImage] Update naming convention for bootm/uImage related code

This patch introduces the following prefix convention for the
image format handling and bootm related code:

genimg_ - dual format shared code
image_ - legacy uImage format specific code
fit_ - new uImage format specific code
boot_ - booting process related code

Related routines are renamed and a few pieces of code are moved around and
re-grouped.

Signed-off-by: Marian Balakowicz <m8@semihalf.com>
16 years agoMerge branch 'master' of git://www.denx.de/git/u-boot into new-image
Marian Balakowicz [Fri, 29 Feb 2008 12:56:44 +0000 (13:56 +0100)]
Merge branch 'master' of git://denx.de/git/u-boot into new-image

16 years ago[new uImage] Respect autostart setting in linux bootm
Kumar Gala [Thu, 28 Feb 2008 03:51:51 +0000 (21:51 -0600)]
[new uImage] Respect autostart setting in linux bootm

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Acked-by: Marian Balakowicz <m8@semihalf.com>
16 years ago[new uImage] Provide ability to restrict region used for boot images
Kumar Gala [Thu, 28 Feb 2008 03:51:50 +0000 (21:51 -0600)]
[new uImage] Provide ability to restrict region used for boot images

Allow the user to set 'bootm_low' and 'bootm_size' env vars as a way
to restrict what memory range is used for bootm.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Acked-by: Marian Balakowicz <m8@semihalf.com>