| c438ea17 | 12-Nov-2008 |
Stefan Roese <sr@denx.de> |
OneNAND: Bad block aware read/write command support
Update OneNAND command to support bad block awareness. Also change the OneNAND command style to better match the NAND version.
Signed-off-by: Ste
OneNAND: Bad block aware read/write command support
Update OneNAND command to support bad block awareness. Also change the OneNAND command style to better match the NAND version.
Signed-off-by: Stefan Roese <sr@denx.de> Acked-by: Kyungmin Park <kyungmin.park@samsung.com>
show more ...
|
| c088a108 | 14-Jan-2009 |
Peter Korsgaard <jacmet@sunsite.dk> |
fdt_resize(): fix actualsize calculations with unaligned blobs
The code in fdt_resize() to extend the fdt size to end on a page boundary is wrong for fdt's not located at an address aligned on a pag
fdt_resize(): fix actualsize calculations with unaligned blobs
The code in fdt_resize() to extend the fdt size to end on a page boundary is wrong for fdt's not located at an address aligned on a page boundary. What's even worse, the code would make actualsize shrink rather than grow if (blob & 0xfff) was bigger than the amount of padding added by ALIGN(), causing fdt_add_mem_rsv to fail.
Fix it by aligning end address (blob + size) to a page boundary instead. For aligned fdt's this is equivalent to what we had before.
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
show more ...
|
| fea91ede | 02-Dec-2008 |
Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> |
usb_kbd: fix usb_kbd_deregister when DEVICE_DEREGISTER not enable
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Remy Böhmer <linux@bohmer.net> |
| 455ae7e8 | 16-Dec-2008 |
Wolfgang Denk <wd@denx.de> |
Coding style cleanup, update CHANGELOG.
Signed-off-by: Wolfgang Denk <wd@denx.de> |
| 5b3375ac | 11-Dec-2008 |
Mike Frysinger <vapier@gentoo.org> |
env_sf: support embedded environments
If both CONFIG_ENV_SECT_SIZE and CONFIG_ENV_SIZE are defined, and the sect size is larger than the env size, then it means the env is embedded in a block. So w
env_sf: support embedded environments
If both CONFIG_ENV_SECT_SIZE and CONFIG_ENV_SIZE are defined, and the sect size is larger than the env size, then it means the env is embedded in a block. So we have to save/restore the part of the sector which is not the environment. Previously, saving the environment in SPI flash in this setup would probably brick the board as the rest of the sector tends to contain actual U-Boot data/code.
Signed-off-by: Mike Frysinger <vapier@gentoo.org> Acked-by: Haavard Skinnemoen <haavard.skinnemoen@atmel.com>
show more ...
|
| d16da934 | 24-Nov-2008 |
Peter Tyser <ptyser@xes-inc.com> |
cmd_mem: Remove unused variable
Signed-off-by: Peter Tyser <ptyser@xes-inc.com> |
| cd673451 | 24-Nov-2008 |
Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> |
Fix FIT and FDT support to have CONFIG_OF_LIBFDT and CONFIG_FIT independent
FDT support is used for both FIT style images and for architectures that can pass a fdt blob to an OS (ppc, m68k, sparc).
Fix FIT and FDT support to have CONFIG_OF_LIBFDT and CONFIG_FIT independent
FDT support is used for both FIT style images and for architectures that can pass a fdt blob to an OS (ppc, m68k, sparc).
For other architectures and boards which do not pass a fdt blob to an OS but want to use the new uImage format, we just need FIT support.
Now we can have the 4 following configurations :
1) FIT only CONFIG_FIT 2) fdt blob only CONFIG_OF_LIBFDT 3) both CONFIG_OF_LIBFDT & CONFIG_FIT 4) none none
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
show more ...
|
| bd4345c1 | 12-Dec-2008 |
Wolfgang Denk <wd@denx.de> |
Merge branch 'master' of git://git.denx.de/u-boot-ubi |
| 3b089e4f | 10-Dec-2008 |
Stefan Roese <sr@denx.de> |
UBI: Set ubi_dev.type back to DEV_TYPE_NONE upon failing initialization
With this patch we set the type back to NONE upon failing UBI partition initialization. Otherwise further calls to the UBI sub
UBI: Set ubi_dev.type back to DEV_TYPE_NONE upon failing initialization
With this patch we set the type back to NONE upon failing UBI partition initialization. Otherwise further calls to the UBI subsystem would try to really access the non-existing UBI partition.
Thanks to Michael Lawnick for pointing this out.
Signed-off-by: Stefan Roese <sr@denx.de>
show more ...
|
| e0b55325 | 13-Nov-2008 |
Ilya Yanok <yanok@emcraft.com> |
jffs2: add sector_size field to part_info structure
This patch adds sector_size field to part_info structure (used by new JFFS2 code).
Signed-off-by: Ilya Yanok <yanok@emcraft.com> |
| 2d2e0572 | 02-Dec-2008 |
Stefan Roese <sr@denx.de> |
UBI: Fix size parsing in "ubi create"
Signed-off-by: Stefan Roese <sr@denx.de> |
| 2ee951ba | 27-Nov-2008 |
Stefan Roese <sr@denx.de> |
UBI: Enable re-initializing of the "ubi part" command
With this patch now, the user can call "ubi part" multiple times to re-connect the UBI device to another MTD partition.
Signed-off-by: Stefan R
UBI: Enable re-initializing of the "ubi part" command
With this patch now, the user can call "ubi part" multiple times to re-connect the UBI device to another MTD partition.
Signed-off-by: Stefan Roese <sr@denx.de>
show more ...
|
| c645b181 | 09-Dec-2008 |
Wolfgang Denk <wd@denx.de> |
Merge branch 'master' of git://git.denx.de/u-boot-net |
| 4b530018 | 12-Nov-2008 |
Heiko Schocher <hs@denx.de> |
jffs2: rename devices_init () in common/jffs2.c
rename devices_init () in common/jffs2.c to jffs2_devices_init (), because there is also a devices_init () in common/devices.c.
Signed-off-by: Heiko
jffs2: rename devices_init () in common/jffs2.c
rename devices_init () in common/jffs2.c to jffs2_devices_init (), because there is also a devices_init () in common/devices.c.
Signed-off-by: Heiko Schocher <hs@denx.de>
show more ...
|
| bcdf1d2c | 06-Nov-2008 |
Richard Retanubun <RichardRetanubun@RuggedCom.com> |
common/cmd_ide.c: Corrected endian order printing for compact flash serial number.
Corrected endian order printing for compact flash serial number.
Signed-off-by: Richard Retanubun <RichardRetanubu
common/cmd_ide.c: Corrected endian order printing for compact flash serial number.
Corrected endian order printing for compact flash serial number.
Signed-off-by: Richard Retanubun <RichardRetanubun@RuggedCom.com>
show more ...
|
| 16a28ef2 | 06-Nov-2008 |
Gary Jennejohn <garyj@denx.de> |
IOMUX: Add console multiplexing support.
Modifications to support console multiplexing. This is controlled using CONFIG_SYS_CONSOLE_MUX in the board configuration file.
This allows a user to speci
IOMUX: Add console multiplexing support.
Modifications to support console multiplexing. This is controlled using CONFIG_SYS_CONSOLE_MUX in the board configuration file.
This allows a user to specify multiple console devices in the environment with a command like this: setenv stdin serial,nc. As a result, the user can enter text on both the serial and netconsole interfaces.
All devices - stdin, stdout and stderr - can be set in this manner.
1) common/iomux.c and include/iomux.h contain the environment setting implementation. 2) doc/README.iomux contains a somewhat more detailed description. 3) The implementation in (1) is called from common/cmd_nvedit.c to handle setenv and from common/console.c to handle initialization of input/output devices at boot time. 4) common/console.c also contains the code needed to poll multiple console devices for input and send output to all devices registered for output. 5) include/common.h includes iomux.h and common/Makefile generates iomux.o when CONFIG_SYS_CONSOLE_MUX is set.
Signed-off-by: Gary Jennejohn <garyj@denx.de>
show more ...
|
| 774ce720 | 04-Nov-2008 |
Mike Frysinger <vapier@gentoo.org> |
strings: use puts() rather than printf()
When running `strings` on really long strings, the stack tends to get smashed due to printf(). Switch to puts() instead since we're only passing the data th
strings: use puts() rather than printf()
When running `strings` on really long strings, the stack tends to get smashed due to printf(). Switch to puts() instead since we're only passing the data through.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
show more ...
|
| 29a4c24d | 03-Nov-2008 |
Niklaus Giger <niklaus.giger@member.fsf.org> |
cmd_elf.c: Cleanup bootvx and handle new CONFIG_SYS_VXWORKS parameters
- fix size too small by one in sprintf - changed old (pre 2004) device name ibmEmac to emac - boot device may be overriden in b
cmd_elf.c: Cleanup bootvx and handle new CONFIG_SYS_VXWORKS parameters
- fix size too small by one in sprintf - changed old (pre 2004) device name ibmEmac to emac - boot device may be overriden in board config - servername may be defined in board config - additional parameters may be defined in board config - fixed some line wrappings - replaced redundant MAX define by max
Signed-off-by: Niklaus Giger <niklaus.giger@member.fsf.org>
show more ...
|
| ace51483 | 31-Oct-2008 |
Peter Tyser <ptyser@xes-inc.com> |
lcd: Let the board code show board-specific info cleanup
remove unneeded version.h from lcd.c
Signed-off-by: Peter Tyser <ptyser@xes-inc.com> Signed-off-by: Wolfgang Denk <wd@denx.de> |
| c8aa7dfc | 31-Oct-2008 |
Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> |
FPGA: move fpga drivers to drivers/fpga
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> |
| 2e4970d8 | 02-Dec-2008 |
Peter Tyser <ptyser@xes-inc.com> |
net: Fix download command parsing
When CONFIG_SYS_HUSH_PARSER is defined network download commands with 1 argument in the format 'tftp "/path/file"' do not work as expected. The hush command parser
net: Fix download command parsing
When CONFIG_SYS_HUSH_PARSER is defined network download commands with 1 argument in the format 'tftp "/path/file"' do not work as expected. The hush command parser strips the quotes from "/path/file" which causes the network commands to interpret "/path/file" as an address instead of the intended filename.
The previous check for a leading quote in netboot_common() was replaced with a check which ensures only valid numbers are treated as addresses.
Signed-off-by: Peter Tyser <ptyser@xes-inc.com> Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
show more ...
|
| 26f6a2b7 | 04-Dec-2008 |
Wolfgang Denk <wd@denx.de> |
Merge branch 'master' of git://git.denx.de/u-boot-usb |
| 5e46b1e5 | 27-Nov-2008 |
Stefan Roese <sr@denx.de> |
OneNAND: Add missing mtd info struct before calling onenand_erase()
Without this patch "saveenv" crashes when MTD partitions are enabled (e.g. for use in UBI) via CONFIG_MTD_PARTITIONS.
Signed-off-
OneNAND: Add missing mtd info struct before calling onenand_erase()
Without this patch "saveenv" crashes when MTD partitions are enabled (e.g. for use in UBI) via CONFIG_MTD_PARTITIONS.
Signed-off-by: Stefan Roese <sr@denx.de> Signed-off-by: Scott Wood <scottwood@freescale.com>
show more ...
|
| bebfc6ef | 26-Nov-2008 |
Michael Trimarchi <trimarchi@gandalf.sssup.it> |
Remove obsolete command (apply afte USB style patch, 80 chars strict)
Remove USB obsolete commmand
Signed-off-by: Michael Trimarchi <trimarchi@gandalf.sssup.it> Signed-off-by: Remy Böhmer <linux@bo
Remove obsolete command (apply afte USB style patch, 80 chars strict)
Remove USB obsolete commmand
Signed-off-by: Michael Trimarchi <trimarchi@gandalf.sssup.it> Signed-off-by: Remy Böhmer <linux@bohmer.net>
show more ...
|
| de39f8c1 | 26-Nov-2008 |
Michael Trimarchi <trimarchi@gandalf.sssup.it> |
USB style patch, 80 chars strict
USB Code style patch
Signed-off-by: Michael Trimarchi <trimarchi@gandalf.sssup.it> Signed-off-by: Remy Böhmer <linux@bohmer.net> |