summaryrefslogtreecommitdiff
path: root/board/trab/auto_update.c
Commit message (Collapse)AuthorAgeLines
* Fix e-mail address of Gary Jennejohn.Detlev Zundel2009-05-15-1/+1
| | | | Signed-off-by: Detlev Zundel <dzu@denx.de>
* rename CFG_ macros to CONFIG_SYSJean-Christophe PLAGNIOL-VILLARD2008-10-18-3/+3
| | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* [new uImage] Fix style issue spotted by Wolfgang Denk <wd@denx.org>Bartlomiej Sieka2008-03-19-11/+7
| | | | Signed-off-by: Bartlomiej Sieka <tur@semihalf.com>
* [new uImage] Fix build problems on trab boardMarian Balakowicz2008-03-12-2/+2
| | | | Signed-off-by: Marian Balakowicz <m8@semihalf.com>
* [new uImage] Update naming convention for bootm/uImage related codeMarian Balakowicz2008-02-29-4/+4
| | | | | | | | | | | | | | | 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>
* [new uImage] Add dual format uImage support frameworkMarian Balakowicz2008-02-25-0/+26
| | | | | | | | | | | | | | This patch adds framework for dual format images. Format detection is added and the bootm controll flow is updated to include cases for new FIT format uImages. When the legacy (image_header based) format is detected appropriate legacy specific handling is invoked. For the new (FIT based) format uImages dual boot framework has a minial support, that will only print out a corresponding debug messages. Implementation of the FIT specific handling will be added in following patches. Signed-off-by: Marian Balakowicz <m8@semihalf.com>
* [new uImage] Define a API for image handling operationsMarian Balakowicz2008-02-07-44/+38
| | | | | | | | | - 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>
* Adapt board configuration and fix kernel crash on MCC200 board.Wolfgang Denk2007-08-12-6/+10
| | | | | | | | | | | | | | The update procedure was modified to turn off the USB subsystem before exit for MCC200 and TRAB. This is necessary as otherwise the USB controller continues to write periodically to system memory! MCC200-specific notes: - the patch disables the magic key check for MCC200 - the patch contains the configuration changes made for the new revision of the board. Signed-off-by: Sergei Poselenov <sposelenov@emcraft.com> Signed-off-by: Wolfgang Denk <wd@denx.de>
* Merge with git://www.denx.de/git/u-boot.gitMarkus Klotzbuecher2007-08-07-2/+2
|\
| * board/[j-z]*: 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>
| * board/[q-z]*: Remove obsolete references to CONFIG_COMMANDSJon Loeliger2007-07-09-1/+1
| | | | | | | | Signed-off-by: Jon Loeliger <jdl@freescale.com>
| * board/[k-z]*: 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>
* | Merge with git://www.denx.de/git/u-boot.git#testing-USBMarkus Klotzbuecher2007-03-23-1/+1
|\ \ | |/ |/|
| * Introduced the configuration option CONFIG_USB_OHCI_NEW in order to be ableMarkus Klotzbuecher2006-11-27-1/+1
| | | | | | | | to choose between the old and the generic OHCI drivers.
* | [PATCH 1_4] Merge common get_dev() routines for block devicesGrant Likely2007-02-20-1/+0
|/ | | | | | | Each of the filesystem drivers duplicate the get_dev routine. This change merges them into a single function in part.c Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
* Adjust filenames for USB update images on TRAB board.Wolfgang Denk2006-07-19-4/+4
| | | | | | | | | During an automatic update via USB stick, U-Boot searches for images with the name "firmware.img" and "kernel.img". This names are now changed to "firmw_01.img" and "kernl_01.img". This is done, to prevent updates of new boards (with the new macronics "c" step flashes) with old, incompatible firmware or kernel versions. Patch by Martin Krause, 21 Jun 2006
* Cleanup trab board for GCC-4.xWolfgang Denk2006-06-26-4/+5
|
* Fix conflicting types (flash_write()) in trab auto_update.cMarian Balakowicz2005-10-28-1/+1
|
* Fix bug in auto_update (trab board)Wolfgang Denk2005-09-21-1/+1
| | | | Patch by Martin Krause, 16 Sep 2005
* * Add support for ext2 filesystems and image timestamps to TQM5200 boardwdenk2005-02-24-0/+7
| | | | | | | | | * Add reset code for Coral-P on INKA4x0 board * Patch by Martin Krause, 28 Jun 2004: Update for TRAB board. * Fix some missing "volatile"s in MPC5xxx FEC driver
* * Cleanup lowboot code for MPC5200wdenk2004-01-02-2/+2
| | | | | | | | | | | | | | | | | | * Minor code cleanup (coding style) * Patch by Reinhard Meyer, 30 Dec 2003: - cpu/mpc5xxx/fec.c: added CONFIG_PHY_ADDR, added CONFIG_PHY_TYPE, - added CONFIG_PHY_ADDR to include/configs/IceCube.h, - turned debug print of PHY registers into a function (called in two places) - added support for EMK MPC5200 based modules * Fix MPC8xx PLPRCR_MFD_SHIFT typo * Add support for TQM866M modules * Fixes for TQM855M with 4 MB flash (Am29DL163 = _no_ mirror bit flash) * Fix a few compiler warnings
* * Patch by Pierre Aubert, 24 Nov 2003:wdenk2003-12-07-1/+1
| | | | | | | - add a return value for the fpga command - add ide_preinit() function called in ide_init if CONFIG_IDE_PREINIT is defined. If ide_preinit fails, ide_init is aborted. - fix an endianess problem in fat.h
* Accelerate booting on TRAB board: read and check autoupdate imagewdenk2003-12-06-16/+47
| | | | headers first instead of always reading the whole images.
* * Fix PCI problems on PPChameleonEVBwdenk2003-10-19-1/+2
| | | | * TRAB auto-update: image type patch by Martin Krause, 17 Oct 2003
* TRAB auto-update: Base decision if we have to strip the imagewdenk2003-10-16-6/+6
| | | | header on image type as encoded in the header
* * Make sure HUSH is initialized for running auto-update scriptswdenk2003-10-14-0/+3
| | | | | | | | | | | * Make 5200 reset command _really_ reset the board, without running any other code after it * Fix flash mapping and display on P3G4 board * Patch by Kyle Harris, 15 Jul 2003: - add support for Intel IXP425 CPU - add support for IXDP425 eval board
* * Patch by Martin Krause, 09 Oct 2003:wdenk2003-10-09-25/+19
| | | | | | | | | | | | | Fixes for TRAB board - /board/trab/rs485.c: correct baudrate - /board/trab/cmd_trab.c: bug fix for problem with timer overflow in udelay(); fix some timing problems with adc controller - /board/trab/trab_fkt.c: add new commands: gain, eeprom and power; modify commands: touch and buzzer * Disable CONFIG_SUPPORT_VFAT when used with CONFIG_AUTO_UPDATE (quick & dirty workaround for rogue pointer problem in get_vfatname()); Use direct function calls for auto_update instead of hush commands
* Use IH_TYPE_FILESYSTEM for TRAB "disk" images.wdenk2003-10-07-5/+13
|
* * Update TRAB auto update codewdenk2003-10-06-17/+28
| | | | | | | | | | | * Make fatload set filesize environment variable fix potential buffer overlow problem * enable basic / medium / high-end configurations for PPChameleonEVB board; fix NAND code * enable TFTP client code to specify to the server the desired timeout value (see RFC-2349)
* * Adapt TRAB configuration and auto_update to new memory layoutdzu2003-09-29-10/+13
|
* "start" may be legitimately 0x0000wdenk2003-09-19-8/+12
|
* Work on TRAB's auto_update feature.wdenk2003-09-18-40/+108
| | | | Cleanup for submitted patches.
* Support new configuration of TRAB board with more memorywdenk2003-09-17-41/+153
| | | | Minor cleanup of comments
* Add auto-update code for TRAB board using USB memory stickswdenk2003-09-17-0/+414