summaryrefslogtreecommitdiff
path: root/board/trab
Commit message (Collapse)AuthorAgeLines
* Fix linker scripts: add NOLOAD atribute to .bss/.sbss sectionsWolfgang Denk2008-01-12-1/+1
| | | | | | | | | | | | | | | | | | | With recent toolchain versions, some boards would not build because or errors like this one (here for ocotea board when building with ELDK 4.2 beta): ppc_4xx-ld: section .bootpg [fffff000 -> fffff23b] overlaps section .bss [fffee900 -> fffff8ab] For many boards, the .bss section is big enough that it wraps around at the end of the address space (0xFFFFFFFF), so the problem will not be visible unless you use a 64 bit tool chain for development. On some boards however, changes to the code size (due to different optimizations) we bail out with section overlaps like above. The fix is to add the NOLOAD attribute to the .bss and .sbss sections, telling the linker that .bss does not consume any space in the image. Signed-off-by: Wolfgang Denk <wd@denx.de>
* 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-23/+22
|\
| * Add functions to list of exported functionsMartin Krause2007-08-06-1/+0
| | | | | | | | | | | | | | | | | | | | Additionally export the following fuctions (to make trab_config build again): - simple_strtol() - strcmp() Also bump the ABI version to reflect this change Signed-off-by: Martin Krause <martin.krause@tqs.de>
| * board/[j-z]*: Remove lingering references to CFG_CMD_* symbols.Jon Loeliger2007-07-10-12/+12
| | | | | | | | | | | | | | | | 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-10/+10
| | | | | | | | Signed-off-by: Jon Loeliger <jdl@freescale.com>
| * board/[k-z]*: Augment CONFIG_COMMANDS tests with defined(CONFIG_CMD_*).Jon Loeliger2007-07-04-10/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
|\ \ | |/ |/|
| * Merge with /home/mk/git/u-boot-generic_ohci#generic_ohciWolfgang Denk2006-11-27-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>
* | Move "ar" flags to config.mk to allow for silent "make -s"Wolfgang Denk2006-10-09-1/+1
| | | | | | | | Based on patch by Mike Frysinger, 20 Jun 2006
* | Add support for a saving build objects in a separate directory.Marian Balakowicz2006-09-01-15/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 compiler warning for TRAB board.Wolfgang Denk2006-08-10-3/+5
|/ | | | Patch by Martin Krause, 07 Aug 2006
* 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
* Bugfix in VFD routine on TRAB board.Wolfgang Denk2006-07-19-13/+11
| | | | | | Make sure upper lext pixel can be set to blue, too (so far only red was possible). Patch by Martin Krause, 15 Feb 2006
* Fix some bugs in TRAB board flash driver.Wolfgang Denk2006-07-19-14/+9
| | | | | | | | | | - increase CFG_FLASH_ERASE_TOUT from 2 to 15 seconds - use CFG_FLASH_WRITE_TOUT for programming instead of CFG_FLASH_ERASE_TOUT - remove "Unlock Bypass" mode, because macronix flashes do not support this mode officially - fix flash reset command from 0x00FF to 0x00F0. 0x00FF is only specified for Intel compatible flashes, not for AMD compatible. Patch by Martin Krause, 15 Feb 2006
* Add additional error messages to flash driver on TRAB boardWolfgang Denk2006-07-19-1/+8
| | | | | (for erase errors and timeout errors) Patch by Martin Krause, 14 Feb 2006
* Cleanup trab board for GCC-4.xWolfgang Denk2006-06-26-39/+40
|
* Fix TRAB channel switching delay for trab_fkt.bin standalone applikationWolfgang Denk2006-06-16-1/+1
| | | | | | | | | Patch by Martin Krause, 08 Nov 2005 In tsc2000_read_channel() the delay after setting the multiplexer to a temperature channel is increased from 1,5 ms to 10 ms. This is to allow the multiplexer inputs to stabilize after huge steps of the input signal level.
* Fix setting of environment variable "ver" on trab boardWolfgang Denk2006-06-16-0/+13
| | | | | | | The environment variable "ver" is now set before do_auto_update() is called, so that "ver" can be used in USB update scripts. Patch by Martin Krause, 27 Oct 2005
* Fix wrong usage of udelay() in led_blink() on trab boardWolfgang Denk2006-06-16-0/+1
| | | | Patch by Martin Krause, 27 Oct 2005
* Fix udelay bug in vfd.c for trab boardWolfgang Denk2006-06-16-1/+5
| | | | Patch by Martin Krause, 27 Oct 2005
* GCC-4.x fixes: clean up global data pointer initialization for all boards.Wolfgang Denk2006-03-31-12/+5
|
* More GCC 4.x woesWolfgang Denk2006-03-11-1/+1
|
* More GCC 4.x code cleanupWolfgang Denk2006-03-11-2/+1
|
* 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
* Fix problems with ld version 2.16 (dot outside sections problem)Wolfgang Denk2005-08-31-0/+1
| | | | | Pointed out by Gerhard Jaeger, 31 Aug 2005; cf. http://sourceware.org/ml/binutils/2005-08/msg00412.html
* Prepare for SoC rework of ARM code:wdenk2005-04-02-3/+3
| | | | | - rename CONFIG_BOOTBINFUNC into CONFIG_INIT_CRITICAL - rename memsetup into lowlevel_init (function name and source files)
* * Add support for ext2 filesystems and image timestamps to TQM5200 boardwdenk2005-02-24-5/+107
| | | | | | | | | * 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
* Code cleanup for GCC-3.3.x compilerswdenk2004-10-17-3/+4
|
* Patch by George G. Davis, 24 Aug 2004:wdenk2004-10-10-5/+2
| | | | - update ARM boards to use constants from mach-types.h
* Patch by Hinko Kocevar, 21 Aug 2004:wdenk2004-10-09-0/+9
| | | | Add calc_fbsize() function used with VIDEOLFB_TAG on TRAB
* * Patch by Detlev Zundel, 08 Sep 2004:wdenk2004-09-08-13/+14
| | | | | | | | | | | Update etags build target * Improve NetConsole support: add support for broadcast destination address and buffered input. * Cleanup compiler warnings for GCC 3.3.x and later * Fix problem in cmd_jffs2.c introduced by CFG_JFFS_SINGLE_PART patch
* * Add start-up delay to make sure power has stabilized beforewdenk2004-03-23-0/+18
| | | | | | | | | | | | | | | | | attempting to switch on USB on SX1 board. * Patch by Josef Wagner, 18 Mar 2004: - Add support for MicroSys XM250 board (PXA255) - Add support for MicroSys PM828 board (MPC8280) - Add support for 32 MB Flash on PM825/826 - new SDRAM refresh rate for PM825/PM826 - added support for MicroSys PM520 (MPC5200) - replaced Query by Identify command in CPU86/flash.c to support 28F160F3B * Fix wrap around problem with udelay() on ARM920T * Add support for Macronix flash on TRAB board
* Code cleanup; make several boards compile & link.wdenk2004-03-14-2/+2
|
* Patch by Anders Larsen, 09 Jan 2004:wdenk2004-02-08-9/+6
| | | | | | | | | | ARM memory layout fixes: the abort-stack is now set up in the correct RAM area, and the BSS is zeroed out as it should be. Furthermore, the magic variables 'armboot_end' and 'armboot_end_data' of the linker scripts are replaced by '__bss_start' and '_end', resp., which is a further step to eliminate unnecessary differences between the implementation of the CPU architectures.
* * 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
* * Patch by Gleb Natapov, 19 Sep 2003:wdenk2003-12-06-1/+1
| | | | | | | | Move most of the timer interrupt related PPC code to ppc_lib/interrupts.c * Patch by Anders Larsen, 17 Sep 2003: Bring ARM memory layout in sync with the documentation: stack and malloc-heap are now located _below_ the U-Boot code
* Accelerate booting on TRAB board: read and check autoupdate imagewdenk2003-12-06-16/+47
| | | | headers first instead of always reading the whole images.
* Fix flash driver for TRAB board (must use Unlock Bypass Reset commandwdenk2003-11-17-22/+34
| | | | to exit Unlock Bypass Mode); adjust timings for flash, SRAM and CPLD
* * 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
* * Patches by Xianghua Xiao, 15 Oct 2003:wdenk2003-10-15-41/+39
| | | | | | | | - Added Motorola CPU 8540/8560 support (cpu/85xx) - Added Motorola MPC8540ADS board support (board/mpc8540ads) - Added Motorola MPC8560ADS board support (board/mpc8560ads) * Minor code cleanup
* * 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-1078/+1413
| | | | | | | | | | | | | 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)