- 22 8月, 2009 11 次提交
-
-
由 Wolfgang Denk 提交于
For some time there have been repeated reports about build problems with some ARM (cross) tool chains. Especially issues about (in)compatibility with the tool chain provided runtime support library libgcc.a caused to add and support a private implementation of such runtime support code in U-Boot. A closer look at the code indicated that some of these issues are actually home-made. This patch attempts to clean up some of the most obvious problems and make building of U-Boot with different tool chains easier: - Even though all ARM systems basicy used the same compiler options to select a specific ABI from the tool chain, the code for this was distributed over all cpu/*/config.mk files. We move this one level up into lib_arm/config.mk instead. - So far, we only checked if "-mapcs-32" was supported by the tool chain; if yes, this was used, if not, "-mabi=apcs-gnu" was selected, no matter if the tool chain actually understood this option. There was no support for EABI conformant tool chains. This patch implements the following logic: 1) If the tool chain supports "-mabi=aapcs-linux -mno-thumb-interwork" we use these options (EABI conformant tool chain). 2) Otherwise, we check first if "-mapcs-32" is supported, and then check for "-mabi=apcs-gnu" If one test succeeds, we use the first found option. 3) In case 2), we also test if "-mno-thumb-interwork", and use this if the test succeeds. [For "-mabi=aapcs-linux" we set "-mno-thumb-interwork" mandatorily.] This way we use a similar logic for the compile options as the Linux kernel does. - Some EABI conformant tool chains cause external references to utility functions like raise(); such functions are provided in the new file lib_arm/eabi_compat.c Note that lib_arm/config.mk gets parsed several times, so we must make sure to add eabi_compat.o only once to the linker list. Signed-off-by: NWolfgang Denk <wd@denx.de> Cc: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Cc: Dirk Behme <dirk.behme@googlemail.com> Cc: Magnus Lilja <lilja.magnus@gmail.com> Cc: Tom Rix <Tom.Rix@windriver.com> Cc: Prafulla Wadaskar <prafulla@marvell.com> Acked-by: NSergey Kubushyn <ksi@koi8.net> Tested-by: NMagnus Lilja <lilja.magnus@gmail.com> Tested-by: NAndrzej Wolski <awolski@poczta.fm> Tested-by: NGaye Abdoulaye Walsimou <walsimou@walsimou.com> Tested-by: NTom Rix <Tom.Rix@windriver.com> Tested-by: NJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
-
由 Wolfgang Denk 提交于
-
-
由 Wolfgang Denk 提交于
-
由 Mingkai Hu 提交于
The code copy data from NAND flash block by block, so when the data length isn't a whole-number multiple of the block size, it will overlap the rest space. Signed-off-by: NMingkai Hu <Mingkai.hu@freescale.com> Signed-off-by: NScott Wood <scottwood@freescale.com>
-
由 Giulio Benetti 提交于
Signed-off-by: giulio.benetti@micronovasrl.com Acked-by: NWolfgang Denk <wd@denx.de> Signed-off-by: NScott Wood <scottwood@freescale.com>
-
由 Peter Tyser 提交于
Previously, waiting for auto-negotiation would only occur if a valid link had been detected. Problems arose when attempting to use a tsec immediately after bootup but before link was achieved, eg: => dhcp Auto-neg error, defaulting to 10BT/HD eTSEC1: No link. Auto-neg error, defaulting to 10BT/HD eTSEC2: No link. => With this patch applied the same operation as above resulted in: => dhcp Waiting for PHY auto negotiation to complete. done Enet starting in 1000BT/FD Speed: 1000, full duplex Signed-off-by: NPeter Tyser <ptyser@xes-inc.com> Signed-off-by: NBen Warren <biggerbadderben@gmail.com>
-
由 Simon Kagstrom 提交于
U-boot might use non-8-byte-aligned addresses for sending data, which the kwgbe_send doesn't accept (bootp does this for me). This patch copies the data to be sent to a malloced temporary buffer if it is non-aligned. Signed-off-by: NSimon Kagstrom <simon.kagstrom@netinsight.net> Signed-off-by: NBen Warren <biggerbadderben@gmail.com>
-
由 Simon Kagstrom 提交于
This patch makes the device wait for up to 5 seconds for the link to come up, similar to what many of the other network drivers do. This avoids confusing situations where, e.g., a tftp fails when initiated early after U-boot has started (before the link has come up). Signed-off-by: NSimon Kagstrom <simon.kagstrom@netinsight.net> Signed-off-by: NBen Warren <biggerbadderben@gmail.com>
-
由 Simon Kagstrom 提交于
Signed-off-by: NSimon Kagstrom <simon.kagstrom@netinsight.net> Signed-off-by: NBen Warren <biggerbadderben@gmail.com>
-
由 Timur Tabi 提交于
The Intel E1000 driver was making assumptions about the relationship between some virtual, physical, and PCI addresses. Also fix some bad usage of the DEBUGOUT macro Signed-off-by: NTimur Tabi <timur@freescale.com> Acked-by: NKumar Gala <galak@kernel.crashing.org> Signed-off-by: NBen Warren <biggerbadderben@gmail.com>
-
- 19 8月, 2009 2 次提交
-
-
由 Ilya Yanok 提交于
We should call jffs2_clean_cache() if we return from jffs2_build_lists() with an error to prevent usage of incomplete lists. Also we should free() a local buffer to prevent memory leaks. Signed-off-by: NIlya Yanok <yanok@emcraft.com>
-
由 Heiko Schocher 提交于
Signed-off-by: NHeiko Schocher <hs@denx.de>
-
- 18 8月, 2009 6 次提交
-
-
-
-
由 Albin Tonnerre 提交于
The name of the atmel nand driver in the kernel changed from at91_nand to atmel_nand back in June 2008, but the at91-based boards config files still refer to at91_nand. This patch updates them with the new name Signed-off-by: NAlbin Tonnerre <albin.tonnerre@free-electrons.com>
-
由 Ben Goska 提交于
In commit 187af954 there was a typo that offset all the ecc registers by 4 bytes, fixed that. Signed-off-by: NBen Goska <goskab@onid.oregonstate.edu> Acked-by: NDirk Behme <dirk.behme@googlemail.com>
-
由 Stefan Roese 提交于
This patch fixes the "chip_config" command for I2C bootstrap EEPROM configuration. First it changes the I2C bootstrap EEPROM address to 0x54 as this is used on Arches (instead of 0x52 on Canyonlands/ Glacier). Additionally, the NAND bootstrap settings are removed for Arches since Arches doesn't support NAND-booting. Signed-off-by: NStefan Roese <sr@denx.de>
-
由 Wolfgang Denk 提交于
Current code for the Monahans CPU defined OSCR_CLK_FREQ as 3.250 (MHz) which caused floating point operations to be used. This resulted in unresolved references to some FP related libgcc functions when using U-Boot's private libgcc functions. Change the code to use fixed point math only. Signed-off-by: NWolfgang Denk <wd@denx.de>
-
- 15 8月, 2009 1 次提交
-
-
由 Kumar Gala 提交于
When we init the addrmap based on the TLB we will not end up getting the TLB that covers memory if we are using SPD. The reason is we haven't relocated at the point that we setup the memory TLB and thus it will not get setup in the addrmap. Instead we can just walk over the TLB array after we've relocated and see all the TLBs that have been set and use that information to populate the initial addrmap. By doing this we insure that we get the TLB entries that cover memory. Signed-off-by: NKumar Gala <galak@kernel.crashing.org>
-
- 13 8月, 2009 2 次提交
-
-
由 John Schmoller 提交于
Fix bug introduced by 9c048b52. The cfi_flash.c driver cast the flash buffer size to a uchar in flash_write_cfibuffer(). On some flash parts, (tested on Numonyx part PC32F512M29EWH), the buffer size is 1KB. Remove the cast to uchar to enable buffer sizes to be larger. Signed-off-by: NJohn Schmoller <jschmoller@xes-inc.com> Signed-off-by: NStefan Roese <sr@denx.de>
-
由 Mike Frysinger 提交于
The local board-specific spi_init() function conflicts with the common SPI layer, so rename it to something board-specific. Signed-off-by: NMike Frysinger <vapier@gentoo.org>
-
- 12 8月, 2009 6 次提交
-
-
由 Giuseppe CONDORELLI 提交于
This patch adds watchdog reset call to allow its invokation during decompression phase. This control was present on old zlib version and here it is backported for those relevant routines. This patch is sent as a zlib separate one beacuse it was not tested due to specific board lack. zlib patches will be unified just in one when this will be validated through tests. Signed-off-by: NGiuseppe Condorelli <giuseppe.condorelli@st.com>
-
由 Giuseppe CONDORELLI 提交于
This patch updates zlib to the latest stable version. Only relevant zlib parts were ported to u-boot tree, as already did for the current zlib (0.95). New zlib guarantees a faster inflate performances other then others improvements as explained at www.zlib.net. It also includes Alessandro Rubini's patches to allow 0 as destination pointer and to call watchdog reset if required by architecture. Signed-off-by: NGiuseppe Condorelli <giuseppe.condorelli@st.com> Reviewed-by: NAngelo Castello <angelo.castello@st.com> Reviewed-by: NAlessandro Rubini <rubini-list@gnudd.com>
-
由 Heiko Schocher 提交于
Signed-off-by: NHeiko Schocher <hs@denx.de>
-
-
-
-
- 11 8月, 2009 9 次提交
-
-
由 Mark Jackson 提交于
The initial pixclock for the MIMC200 board is wrong (and causes screen corruption due to DMA underruns). This patch simply reduces the pixel clock to fix the problem. Signed-off-by: NMark Jackson <mpfj@mimc.co.uk>
-
由 Richard Retanubun 提交于
Fixed a misunderstanding in the original implementation, 'devnum' that was used in the cpu/ppc4xx/4xx_enet.c implementation was NOT the PHY's SMI address, rather it was the number of the MAC interface on the CPU. The equivalent of this for uec_phy will be the UEC number stored in mii_info->dev->name. Usage example is updated for uec. Signed-off-by: NRichard Retanubun <RichardRetanubun@RuggedCom.com> Signed-off-by: NBen Warren <biggerbadderben@gmail.com>
-
由 Richard Retanubun 提交于
It is set to 0x1F by default and can be overwritten on the board header file by defining CONFIG_UTBIPAR_INIT_TBIPA. This allows the CPU to simply "reserve" one SMI address instead of using a different one for each UEC. Signed-off-by: NRichard Retanubun <RichardRetanubun@RuggedCom.com> Signed-off-by: NBen Warren <biggerbadderben@gmail.com>
-
由 Prafulla Wadaskar 提交于
eth_setenv_enetaddr is avaible by upper layer using this saves 204 bytes on total image size used Local OUI instead of Marvell OUI for random MAC address generation logic Signed-off-by: NPrafulla Wadaskar <prafulla@marvell.com> Signed-off-by: NBen Warren <biggerbadderben@gmail.com>
-
由 Roy Zang 提交于
Fix E1000 build warning on AP1000 board Fix the build warning on AP1000 board: e1000.c:131: warning: 'e1000_read_eeprom' used but never defined e1000.c:2012: warning: 'e1000_set_phy_mode' defined but not used Signed-off-by: NRoy Zang <tie-fei.zang@freescale.com> Signed-off-by: NBen Warren <biggerbadderben@gmail.com>
-
由 Sandeep Paulraj 提交于
Due to recent changes to the NET support on U-boot, DM9000 is no longer detected on the DM355 EVM. This minor update enables DM9000 on the DM355 EVM. Tested on the DM355 EVM Signed-off-by: NSandeep Paulraj <s-paulraj@ti.com> Signed-off-by: NBen Warren <biggerbadderben@gmail.com>
-
由 Prafulla Wadaskar 提交于
1. mv88E61xx driver compiler warnings fixed 2. idstr if-else statements changed to switch() construct and added default case too. This fixed idstr may be uninitialized warning Signed-off-by: NPrafulla Wadaskar <prafulla@marvell.com> Signed-off-by: NBen Warren <biggerbadderben@gmail.com>
-
由 Po-Yu Chuang 提交于
This patch adds an FTMAC100 ethernet driver for Faraday A320 evaluation board. Signed-off-by: NPo-Yu Chuang <ratbert@faraday-tech.com> Signed-off-by: NBen Warren <biggerbadderben@gmail.com>
-
由 Kumar Gala 提交于
For some reason the MPC8544 enabled BEDBUG if PCI was enabled and that got copied int the MPC8536, MPC8572 and P2020 DS boards. The BEDBUG support has never been made to work completely on e500/85xx so we just disable it to save space and match the other FSL 85xx boards. Signed-off-by: NKumar Gala <galak@kernel.crashing.org>
-
- 10 8月, 2009 3 次提交
-
-
由 Wolfgang Denk 提交于
Update CHANGELOG Signed-off-by: NWolfgang Denk <wd@denx.de>
-
由 Wolfgang Denk 提交于
Signed-off-by: NWolfgang Denk <wd@denx.de>
-
由 Wolfgang Denk 提交于
tftp.c:294: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness This was only visible for the utx8245 board which seems to have DEBUG enabled. Signed-off-by: NWolfgang Denk <wd@denx.de>
-