| 4b99327a | 15-Jan-2010 |
Richard Retanubun <RichardRetanubun@RuggedCom.com> |
PPC: Record U-Boot's relocated address in RAM and show in bdinfo.
This patch uses gd->relocaddr variable to store uboot's relocated address in RAM and shows it in bdinfo command.
This patch moves C
PPC: Record U-Boot's relocated address in RAM and show in bdinfo.
This patch uses gd->relocaddr variable to store uboot's relocated address in RAM and shows it in bdinfo command.
This patch moves CONFIG_AMIGAONEG3SE style copying of the address in board_init_f to just before relocation is actually done.
Signed-off-by: Richard Retanubun <RichardRetanubun@RuggedCom.com> Tested-by: Detlev Zundel <dzu@denx.de>
show more ...
|
| f3651764 | 22-Feb-2010 |
Frans Meulenbroeks <fransmeulenbroeks@gmail.com> |
cmd_itest.c: fix pointer dereferencing
fix pointer dereferencing if the size is .b and .w an 8 or 16 bit access is done.
Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com> Acked-by: De
cmd_itest.c: fix pointer dereferencing
fix pointer dereferencing if the size is .b and .w an 8 or 16 bit access is done.
Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com> Acked-by: Detlev Zundel <dzu@denx.de>
show more ...
|
| ab5a0dcb | 02-Feb-2010 |
Stefan Roese <sr@denx.de> |
net: Use 0.5 sec timeout in miiphy_reset() instead of counting loop
This patch fixes a problem I've notived on a buggy PPC4xx system. This system has problems with the PHY MDIO communication and see
net: Use 0.5 sec timeout in miiphy_reset() instead of counting loop
This patch fixes a problem I've notived on a buggy PPC4xx system. This system has problems with the PHY MDIO communication and seemed to be stuck/crashed in miiphy_reset(). But degugging revealed, that the CPU didn't crash, but "only" hung in this counting loop for about 2 minutes.
This patch now uses a real timeout of 0.5 seconds (as mentioned in the comment in miiphy_reset).
Signed-off-by: Stefan Roese <sr@denx.de> Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
show more ...
|
| 84d36b30 | 01-Feb-2010 |
Remy Bohmer <linux@bohmer.net> |
USB: usb_control_msg wait for driver ISR to set status.
This patch changes usb_control_msg back to the state prior to commit 48867208444cb2a82e2af9c3249e90b7ed4a1751.
The USB driver ISR routine may
USB: usb_control_msg wait for driver ISR to set status.
This patch changes usb_control_msg back to the state prior to commit 48867208444cb2a82e2af9c3249e90b7ed4a1751.
The USB driver ISR routine may update the status.
Signed-off-by: Daniel Hellstrom <daniel@gaisler.com>
show more ...
|
| 5c1a1a30 | 03-Feb-2010 |
Wolfgang Denk <wd@denx.de> |
Merge branch 'master' of git://git.denx.de/u-boot-nand-flash |
| 0ae016f1 | 03-Feb-2010 |
Wolfgang Denk <wd@denx.de> |
Merge branch 'master' of git://git.denx.de/u-boot-video |
| 5f566f45 | 31-Jan-2010 |
Wolfgang Denk <wd@denx.de> |
cmd_ximg.c: fix error: 'i' undeclared
Fix compile error:
cmd_ximg.c: In function 'do_imgextract': cmd_ximg.c:234: error: 'i' undeclared (first use in this function) cmd_ximg.c:234: error: (Each
cmd_ximg.c: fix error: 'i' undeclared
Fix compile error:
cmd_ximg.c: In function 'do_imgextract': cmd_ximg.c:234: error: 'i' undeclared (first use in this function) cmd_ximg.c:234: error: (Each undeclared identifier is reported only once cmd_ximg.c:234: error: for each function it appears in.)
Signed-off-by: Wolfgang Denk <wd@denx.de>
show more ...
|
| a6e42ed0 | 12-Dec-2009 |
Anatolij Gustschin <agust@denx.de> |
lcd: remove CONFIG_ATMEL_LCD ifdefs from lcd_setfgcolor
Not all boards defining LCD_COLOR16 are able to set lcd_color_fg/lcd_color_bg correctly. The issue seems to be caused by CONFIG_ATMEL_LCD ifde
lcd: remove CONFIG_ATMEL_LCD ifdefs from lcd_setfgcolor
Not all boards defining LCD_COLOR16 are able to set lcd_color_fg/lcd_color_bg correctly. The issue seems to be caused by CONFIG_ATMEL_LCD ifdefs in lcd_setfgcolor() and lcd_setbgcolor(). Actually, the color values passed to these functions are already correct, we don't need to fix them. So remove ifdefs here.
Reported-by: Alessandro Rubini <rubini@unipv.it> Signed-off-by: Anatolij Gustschin <agust@denx.de>
show more ...
|
| 15b86c3d | 17-Jan-2010 |
Wolfgang Denk <wd@denx.de> |
env_nand.c: print error message and fail gracefully
env_nand.c would crash silently if a malloc() for the environment buffers failed; make it print an error message and fail gracefully, i. e. use th
env_nand.c: print error message and fail gracefully
env_nand.c would crash silently if a malloc() for the environment buffers failed; make it print an error message and fail gracefully, i. e. use the default environment then.
Signed-off-by: Wolfgang Denk <wd@denx.de> Acked-by: John Rigby <jcrigby@gmail.com>
show more ...
|
| 4194b366 | 12-Jan-2010 |
Kumar Gala <galak@kernel.crashing.org> |
Add support to disable cpu's in multicore processors
Add a disable sub-command to the cpu command that allows for disabling cores in multicore processors. This can be useful for systems that are us
Add support to disable cpu's in multicore processors
Add a disable sub-command to the cpu command that allows for disabling cores in multicore processors. This can be useful for systems that are using multicore chips but aren't utilizing all the cores as a way to reduce power and possibly improve performance.
Also updated an added missing copyright.
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
show more ...
|
| 5912d365 | 10-Dec-2009 |
Wolfgang Wegner <w.wegner@astro-kom.de> |
add ability to handle compressed images to imxtract
imxtract currently can not handle compressed images. This patch adds handling for bzip2 and zip compression. In both cases, a destination address
add ability to handle compressed images to imxtract
imxtract currently can not handle compressed images. This patch adds handling for bzip2 and zip compression. In both cases, a destination address has to be specified for extraction.
Signed-off-by: Wolfgang Wegner <w.wegner@astro-kom.de>
show more ...
|
| 2903ad33 | 08-Jan-2010 |
Mike Frysinger <vapier@gentoo.org> |
jffs2: fix hangs/crashs when not using CONFIG_JFFS2_PART_SIZE
Commit b5b004ad8a0ac6f98bd5708ec8b22fbddd1c1042 caused the sector_size to be calculated incorrectly when the part size was not hardcoded
jffs2: fix hangs/crashs when not using CONFIG_JFFS2_PART_SIZE
Commit b5b004ad8a0ac6f98bd5708ec8b22fbddd1c1042 caused the sector_size to be calculated incorrectly when the part size was not hardcoded. This is because the new code relied on part->size but tried to do the calculation before it was initialized properly, and it did not take into consideration the magic SIZE_REMAINING define.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
show more ...
|
| 44431cab | 22-Jan-2010 |
Mike Frysinger <vapier@gentoo.org> |
gzip/zlib: make features optional
If you really want to slim down U-Boot and you would rather use a higher compression scheme (like LZMA), it'd be nice to disable gzip/zlib since these code bases ta
gzip/zlib: make features optional
If you really want to slim down U-Boot and you would rather use a higher compression scheme (like LZMA), it'd be nice to disable gzip/zlib since these code bases take up a significant amount of space.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
show more ...
|
| 8edcde5e | 20-Jan-2010 |
Stefano Babic <sbabic@denx.de> |
mkimage: Add Freescale imx Boot Image support (imximage)
This patch adds support for "imximage" (MX Boot Image) to the mkimage utility. The imximage is used on the Freescales's MX.25, MX.35 and MX.5
mkimage: Add Freescale imx Boot Image support (imximage)
This patch adds support for "imximage" (MX Boot Image) to the mkimage utility. The imximage is used on the Freescales's MX.25, MX.35 and MX.51 processors.
Further details under doc/README.imximage.
This patch was tested on a Freescale mx51evk board.
Signed-off-by: Stefano Babic <sbabic@denx.de>
show more ...
|
| a16028da | 03-Nov-2009 |
Mike Frysinger <vapier@gentoo.org> |
lmb: only force on arches that use it
Signed-off-by: Mike Frysinger <vapier@gentoo.org> |
| 88ffb266 | 07-Jan-2010 |
Heiko Schocher <hs@denx.de> |
CRAMFS: support cramfs in RAM
cramfsls and cramfsload are added to the command list. A cramfs placed at 'cramfs_addr' can the be listed with 'cramfsls' and files can be loaded with 'cramfsload'. 'cr
CRAMFS: support cramfs in RAM
cramfsls and cramfsload are added to the command list. A cramfs placed at 'cramfs_addr' can the be listed with 'cramfsls' and files can be loaded with 'cramfsload'. 'cramfs_addr' is an environment variable specifying the address the cramfs is located. This works for powerpc and for ARM.
Use CONFIG_CMD_CRAMFS.
Signed-off-by: Andreas Huber <andreas.huber@keymile.com> Signed-off-by: Heiko Schocher <hs@denx.de>
show more ...
|
| 1567b596 | 07-Jan-2010 |
Heiko Schocher <hs@denx.de> |
env, eeprom: add redundant environment support
Add redundant environment support for environment lying on a EEPROM.
Tested on uppcoming suen3 support
Signed-off-by: Andreas Huber <andreas.huber@ke
env, eeprom: add redundant environment support
Add redundant environment support for environment lying on a EEPROM.
Tested on uppcoming suen3 support
Signed-off-by: Andreas Huber <andreas.huber@keymile.com>
show more ...
|
| 548738b4 | 07-Jan-2010 |
Heiko Schocher <hs@denx.de> |
cmd_eeprom: I2C updates
- CONFIG_ENV_EEPROM_IS_ON_I2C define this, if you have I2C and SPI activated, and your EEPROM, which holds the environment, is on the I2C bus.
- CONFIG_I2C_ENV_EEPROM_BU
cmd_eeprom: I2C updates
- CONFIG_ENV_EEPROM_IS_ON_I2C define this, if you have I2C and SPI activated, and your EEPROM, which holds the environment, is on the I2C bus.
- CONFIG_I2C_ENV_EEPROM_BUS if you have an Environment on an EEPROM reached over I2C muxes, you can now define, how to reach this EEPROM.
Signed-off-by: Heiko Schocher <hs@denx.de>
show more ...
|
| c3d7eec6 | 22-Dec-2009 |
Detlev Zundel <dzu@denx.de> |
cmd_bootm.c: Change interpretation of standalone image parameters.
Current code uses the second argument to bootm for standalone images to override the load address specified in the image instead of
cmd_bootm.c: Change interpretation of standalone image parameters.
Current code uses the second argument to bootm for standalone images to override the load address specified in the image instead of passing all parameters as is to the application. This behaviour is not documented and not in line with how the go command works for standalone applications, so we simply drop it.
Signed-off-by: Detlev Zundel <dzu@denx.de>
show more ...
|
| 8b828a8f | 22-Dec-2009 |
Detlev Zundel <dzu@denx.de> |
cmd_bootm.c: Do not load a ramdisk when not booting a kernel.
In case we boot an image marked as 'standalone' and 'linux', the current code erroneously tried to load a ramdisk.
Signed-off-by: Detle
cmd_bootm.c: Do not load a ramdisk when not booting a kernel.
In case we boot an image marked as 'standalone' and 'linux', the current code erroneously tried to load a ramdisk.
Signed-off-by: Detlev Zundel <dzu@denx.de>
show more ...
|
| 16035bcd | 21-Dec-2009 |
Robin Getz <robin.getz@analog.com> |
kgdb: update mem2hex/hex2mem funcs
Convert the funcs to do the conversion inline so that we can do the copy all at once with memcpy. This let's us push out an weird arch-specific issue with accessi
kgdb: update mem2hex/hex2mem funcs
Convert the funcs to do the conversion inline so that we can do the copy all at once with memcpy. This let's us push out an weird arch-specific issue with accessing different regions of memory to the memcpy function like the MMRs on Blackfin systems, and it should be a bit faster.
Signed-off-by: Robin Getz <robin.getz@analog.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
show more ...
|
| 0c909551 | 21-Dec-2009 |
Robin Getz <robin.getz@analog.com> |
kgdb: add default generic stubs
The default kgdb functions can be implemented with common U-Boot functions, so rather than force everyone to copy & paste these things, create a set of weak stubs.
S
kgdb: add default generic stubs
The default kgdb functions can be implemented with common U-Boot functions, so rather than force everyone to copy & paste these things, create a set of weak stubs.
Signed-off-by: Robin Getz <robin.getz@analog.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
show more ...
|
| 10c32ff5 | 03-Dec-2009 |
Mike Frysinger <vapier@gentoo.org> |
config_defaults.h: new header for common u-boot config defaults
There are a bunch of features in U-Boot that we want to enable by default, and it's best if we centralize them in one place rather tha
config_defaults.h: new header for common u-boot config defaults
There are a bunch of features in U-Boot that we want to enable by default, and it's best if we centralize them in one place rather than updating all the board files out there.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
show more ...
|
| 27405448 | 15-Jan-2010 |
Wolfgang Denk <wd@denx.de> |
malloc: return NULL if not initialized yet
When malloc() was called before it was properly initialized (as would happen if when used before relocation to RAM) it returned random, non-NULL values, wh
malloc: return NULL if not initialized yet
When malloc() was called before it was properly initialized (as would happen if when used before relocation to RAM) it returned random, non-NULL values, which called all kinds of difficult to debug subsequent errors.
Make sure to return NULL when initialization was not done yet.
Signed-off-by: Wolfgang Denk <wd@denx.de>
show more ...
|
| b821cead | 18-Dec-2009 |
Sanjeev Premi <premi@ti.com> |
onenand: Fix compile errors due to FlexOneNAND
This patch fixes the compile error while trying to compile for omap3evm.
env_onenand.c: In function 'env_relocate_spec': env_onenand.c:70: error: 'CON
onenand: Fix compile errors due to FlexOneNAND
This patch fixes the compile error while trying to compile for omap3evm.
env_onenand.c: In function 'env_relocate_spec': env_onenand.c:70: error: 'CONFIG_ENV_ADDR_FLEX' undeclared (first use in this function) env_onenand.c:70: error: (Each undeclared identifier is re ported only once env_onenand.c:70: error: for each function it appears in.) env_onenand.c: In function 'saveenv': env_onenand.c:106: error: 'CONFIG_ENV_ADDR_FLEX' undeclare d (first use in this function) env_onenand.c:107: error: 'CONFIG_ENV_SIZE_FLEX' undeclare d (first use in this function)
Signed-off-by: Sanjeev Premi <premi@ti.com> Acked-by: Tom Rix <Tom.Rix@windriver.com>
show more ...
|