summaryrefslogtreecommitdiff
path: root/tools
Commit message (Collapse)AuthorAgeLines
* [new uImage] Update naming convention for bootm/uImage related codeMarian Balakowicz2008-02-29-2/+2
| | | | | | | | | | | | | | | 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>
* Merge branch 'master' of git://www.denx.de/git/u-boot into new-imageMarian Balakowicz2008-02-29-56/+73
|\
| * make define2mk.sed work on FreeBSDMarcel Moolenaar2008-02-22-2/+2
| | | | | | | | | | | | | | | | | | | | In the thread "[1.3.2-rc1] MPC8548CDS/MPC8555CDS configs fails to link", the define2mk.sed script was identified as the source of the link failure on FreeBSD. The problem is that sed(1) does not always support the '+' operator. It isn't on FreeBSD. The attach patch implements the equivalent, using the '*' operator instead and should work everywhere. Signed-off-by: Marcel Moolenaar <marcelm@juniper.net>
| * easylogo: clean up some more and add -r (rgb) supportMike Frysinger2008-02-22-54/+71
| | | | | | | | | | | | | | | | | | | | | | | | Michael Hennerich added support for outputting an image in RGB format rather than forcing YUYV all the time. This makes obvious sense if the display you have takes RGB input rather than YUYV. Rather than hack in support for options, I've converted it to use getopt and cleaned up the argument parsing in the process. Signed-off-by: Michael Hennerich <michael.hennerich@analog.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* | Merge branch 'master' of /home/git/u-bootMarian Balakowicz2008-02-21-0/+0
|\ \ | |/
| * add the default Blackfin logo used by Blackfin boards with splash screensMike Frysinger2008-02-04-0/+0
| | | | | | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* | [new uImage] Define a API for image handling operationsMarian Balakowicz2008-02-07-113/+137
|/ | | | | | | | | - Add inline helper macros for basic header processing - Move common non inline code common/image.c - Replace direct header access with the API routines - Rename IH_CPU_* to IH_ARCH_* Signed-off-by: Marian Balakowicz <m8@semihalf.com>
* Do not reference sha1.c when building mkimage.Mike Frysinger2008-01-09-1/+1
| | | | | | remove sha1.o from mkimage linking since it isn't actually used. Signed-Off-By: Mike Frysinger <vapier@gentoo.org>
* Coding Style cleanup, update CHANGELOGWolfgang Denk2008-01-09-326/+319
| | | | Signed-off-by: Wolfgang Denk <wd@denx.de>
* fix easylogo on big endian dev systemsMike Frysinger2008-01-09-0/+18
| | | | | | | | | | didnt realize how out of shape easylogo actually was until i tried using it. this patch does byte swapping as need be on the input tga header since the tga is in little endian but the host could just as well be big endian. i didnt bother using bswap macros or such stuff from system headers as nothing in POSIX dictates byte swapping functionality. Signed-Off-By: Mike Frysinger <vapier@gentoo.org>
* cleanup easylogoMike Frysinger2008-01-09-7/+18
| | | | | | | | - make the Makefile not suck - include proper headers for prototypes - fix obvious broken handling of strchr() when handling '.' in filenames Signed-Off-By: Mike Frysinger <vapier@gentoo.org>
* Fix build problems under Cygwinraptorbrino@aim.com2008-01-09-0/+1
| | | | | | | | | | | This patch allows u-boot to build without error in a cygwin environment. Cygwin does not define __u64 in it's include/asm/types.h file. The -idirafter flag in the u-boot build causes the inclusion of the cygwin types.h file as opposed to u-bot/include/asm/types.h file which does define __u64. Subsequently, sha1.c compile fails due to unknown symbol. Signed-off-by: Brian Miller <raptorbrino@netscape.net>
* Fix compile problem with new env code.Wolfgang Denk2008-01-09-0/+1
| | | | Signed-off-by: Wolfgang Denk <wd@denx.de>
* tools: fix fw_printenv tool to compile againMarkus Klotzbücher2008-01-09-29/+41
| | | | | | | | | | This patch updates the fw_printenv/fw_setenv userspace tool to include the correct MTD header in order to compile against current kernel headers. Backward compatibility is preserved by introducing an option MTD_VERSION which can be set to "old" for compilation using the old MTD headers. Along with this a number of warnings are fixed. Signed-off-by: Markus Klotzbuecher <mk@denx.de>
* [BUILD] Generate include/autoconf.mk from board config filesGrant Likely2007-11-20-0/+29
| | | | | | | | | | | Use cpp and sed to postprocess config.h and import the defined values into include/autoconf.mk. autoconf.mk is then included by config.mk to give 'make' access to the board configuration. Doing this enables conditional compilation at the Makefile level instead of by wrapping every .c file with #ifdef/#endif wrappers. Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
* Add .gitignore filesGrant Likely2007-11-15-0/+9
| | | | | Signed-off-by: Grant Likely <grant.likely@secretlab.ca> Acked-by: Kim Phillips <kim.phillips@freescale.com>
* Merge branch 'testing' into workingAndy Fleming2007-08-03-2/+2
|\ | | | | | | | | | | | | | | | | | | Conflicts: CHANGELOG fs/fat/fat.c include/configs/MPC8560ADS.h include/configs/pcs440ep.h net/eth.c
| * disk/ doc/ lib_*/ and tools/: Remove lingering references to CFG_CMD_* symbols.Jon Loeliger2007-07-10-1/+1
| | | | | | | | | | | | | | | | Fixed some broken instances of "#ifdef CMD_CFG_IDE" too. Those always evaluated TRUE, and thus were always compiled even when IDE really wasn't defined/wanted. Signed-off-by: Jon Loeliger <jdl@freescale.com>
| * tools/: Remove obsolete references to CONFIG_COMMANDSJon Loeliger2007-07-09-1/+1
| | | | | | | | Signed-off-by: Jon Loeliger <jdl@freescale.com>
| * tools/ : Augment CONFIG_COMMANDS tests with defined(CONFIG_CMD_*).Jon Loeliger2007-07-04-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a compatibility step that allows both the older form and the new form to co-exist for a while until the older can be removed entirely. All transformations are of the form: Before: #if (CONFIG_COMMANDS & CFG_CMD_AUTOSCRIPT) After: #if (CONFIG_COMMANDS & CFG_CMD_AUTOSCRIPT) || defined(CONFIG_CMD_AUTOSCRIPT) Signed-off-by: Jon Loeliger <jdl@freescale.com>
* | Coding style cleanup; update CHANGELOG.Wolfgang Denk2007-07-10-5/+4
| | | | | | | | Signed-off-by: Wolfgang Denk <wd@denx.de>
* | Merge with /home/hs/Atronic/u-bootWolfgang Denk2007-07-09-5/+137
|\ \ | |/ |/|
| * [PCS440EP] upgrade the PCS440EP board:Heiko Schocher2007-06-22-5/+137
| | | | | | | | | | | | | | | | | | | | | | | | - Show on the Status LEDs, some States of the board. - Get the MAC addresses from the EEProm - use PREBOOT - use the CF on the board. - check the U-Boot image in the Flash with a SHA1 checksum. - use dynamic TLB entries generation for the SDRAM Signed-off-by: Heiko Schocher <hs@denx.de>
* | Fix compilation issues on MACOSXAubrey.Li2007-05-15-3/+3
|/ | | | | Singed-off-by: Marc Hoffman <Marc.Hoffman@analog.com> Signed-off-by: Aubrey Li <aubrey.adi@gmail.com>
* Merge with /home/wd/git/u-boot/masterWolfgang Denk2006-10-11-110/+144
|\
| * Define IH_CPU_AVR32Stefan Roese2006-10-09-0/+1
| | | | | | | | | | | | Make it possible to generate AVR32 uImage files with mkimage and make cmd_bootm recognize them. Patch by Haavard Skinnemoen, 22 Sep 2006
| * Coding style cleanupWolfgang Denk2006-10-09-2/+2
| |
| * Fix mkimage -l bug with multifile images on 64bit platformsWolfgang Denk2006-09-06-1/+1
| | | | | | | | Patch by David Updegraff, 06 Sep 2006
| * Add support for a saving build objects in a separate directory.Marian Balakowicz2006-09-01-102/+139
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Modifications are based on the linux kernel approach and support two use cases: 1) Add O= to the make command line 'make O=/tmp/build all' 2) Set environement variable BUILD_DIR to point to the desired location 'export BUILD_DIR=/tmp/build' 'make' The second approach can also be used with a MAKEALL script 'export BUILD_DIR=/tmp/build' './MAKEALL' Command line 'O=' setting overrides BUILD_DIR environent variable. When none of the above methods is used the local build is performed and the object files are placed in the source directory.
| * Fix tools/updater build error.Marian Balakowicz2006-09-01-6/+2
| |
| * tools/easylogo/easylogo.cMarian Balakowicz2006-09-01-1/+1
| |
* | * Support for FDT in uImage format, error when using FDT from flashMatthew McClintock2006-08-16-0/+1
|/ | | | Signed-off-by: Matthew McClintock <msm@freescale.com>
* Fixed handling of bad checksums with "mkimage -l"Wolfgang Denk2006-04-28-5/+8
|
* Fix array overflow with fw_setenv on uninitialised environmentWolfgang Denk2006-03-12-4/+2
| | | | Patch by Murray Jensen, 15 Jul 2005
* Add ADI Blackfin supportWolfgang Denk2006-03-12-0/+1
| | | | | | | - add support for Analog Devices Blackfin BF533 CPU - add support for the ADI BF533 Stamp uClinux board - add support for the ADI BF533 EZKit board Patches by Richard Klingler, June 11th 2005:
* Add GIT version information (commid ID) to untagged U-Boot versionsWolfgang Denk2006-02-21-0/+22
| | | | | | | | | | | | | | | As done in the linux kernel, the U-Boot version (U_BOOT_VERSION) of all unreleased (untagged) U-Boot images will be automatically extended upon compiletime with a part of the GIT commit ID and possibly with "dirty" if uncommited changes are detected. Here an example for the resulting version: "U-Boot 1.1.4-g3457ac18-dirty" The version is now maintained in the toplevel Makefile and the version headers are autogenerated. Patch by Stefan Roese, 9 Feb 2006
* Fix mkimage bug with multifile images created on 64 bit systems.Wolfgang Denk2006-01-11-1/+1
|
* Change all '$(...)' variable references into '${...}'Wolfgang Denk2005-11-20-2/+2
| | | | | | which makes the environment compatible with the hush shell. WARNING: Support for the old '$(...)' syntax will be discontinued in a later version.
* Added support for TQM834x boards.Marian Balakowicz2005-10-11-2/+2
|
* Fix tools/bmp_logo.c using incorrect offset to pixel dataWolfgang Denk2005-09-25-2/+8
| | | | Patch by Andrew Dyer, 31 Jan 2005
* Fix error handling in tools/env/fw_env.cWolfgang Denk2005-09-25-1/+1
| | | | Patch by Ara Avanesyan, 01 Feb 2005
* Update Hymod Board Database PHP code in "tools" directoryWolfgang Denk2005-08-12-155/+249
| | | | Patch by Murray Jensen, 01 Jul 2005
* Fix Murray Jensen's mail address.Wolfgang Denk2005-08-12-22/+22
| | | | Patch by Murray Jensen, 30 Jun 2005
* Cleanup build problems (on Fedora Core x86_64 build host)Wolfgang Denk2005-08-03-17/+20
|
* Fix file permissionsWolfgang Denk2005-07-21-0/+0
|
* * Patch by Scott McNutt, 01 Nov 2004:wdenk2005-04-03-0/+2
| | | | | | | Add missing NIOS/NIOS2 support for "iminfo" command * Patch by Detlev Zundel, 29 Oct 2004: Add missing NIOS/NIOS2 support for "mkimage" tool.
* * Code cleanup, mostly for GCC-3.3.xwdenk2004-12-31-0/+3
| | | | | | | | | | | | * Cleanup confusing use of CONFIG_ETH*ADDR - ust his only to pre-define a MAC address; use CONFIG_HAS_ETH* to enable support for additional ethernet addresses. * Cleanup drivers/i82365.c - avoid duplication of code * Fix bogus "cannot span across banks" flash error message * Add support for CompactFlash for the CPC45 Board.
* * Update for AT91RM9200DK and CMC_PU2 boards:wdenk2004-11-21-1/+1
| | | | | | | - Enable booting directly from flash - fix CMC_PU2 flash driver * Fix mkimage usage message
* * Configure SX1 board to use drivers/cfi_flash.cwdenk2004-10-10-0/+388
| | | | | | | | | | | * Patches by Michael Bendzick, 30 Aug 2004: - Configure omap1510inn board to use drivers/cfi_flash.c - Make drivers/cfi_flash.c protect environment and redundant environment. * Patch by Steven Scholz, 23 Jun 2004: - Add script (tools/img2brec.sh) to programm U-Boot into (Synch)Flash using the Bootstrap Mode of the MC9328MX1/L
* * Clean up tools/bmp_logo.c to not add trailing white spacewdenk2004-10-09-15/+3
| | | | | | | * Patch by Hinko Kocevar, 21 Aug 2004: - Group common framebuffer functions in common/lcd.c - Group common framebuffer macros and #defines in include/lcd.h - Provide calc_fbsize() for video ATAG