16 Dec, 2008
2 commits
-
Signed-off-by: Wolfgang Denk
-
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
Acked-by: Haavard Skinnemoen
14 Dec, 2008
2 commits
-
Signed-off-by: Peter Tyser
-
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 noneSigned-off-by: Jean-Christophe PLAGNIOL-VILLARD
13 Dec, 2008
1 commit
10 Dec, 2008
2 commits
-
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
-
This patch adds sector_size field to part_info structure (used
by new JFFS2 code).Signed-off-by: Ilya Yanok
09 Dec, 2008
4 commits
-
Signed-off-by: Stefan Roese
-
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
-
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
07 Dec, 2008
5 commits
-
Corrected endian order printing for compact flash serial number.
Signed-off-by: Richard Retanubun
-
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
-
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
-
- 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 maxSigned-off-by: Niklaus Giger
-
remove unneeded version.h from lcd.c
Signed-off-by: Peter Tyser
Signed-off-by: Wolfgang Denk
06 Dec, 2008
1 commit
-
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD
05 Dec, 2008
2 commits
-
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
Signed-off-by: Ben Warren
03 Dec, 2008
1 commit
-
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
Signed-off-by: Scott Wood
29 Nov, 2008
2 commits
-
Remove USB obsolete commmand
Signed-off-by: Michael Trimarchi
Signed-off-by: Remy Böhmer -
USB Code style patch
Signed-off-by: Michael Trimarchi
Signed-off-by: Remy Böhmer
24 Nov, 2008
2 commits
-
With this patch UBI can be used on CFI flash chips.
Signed-off-by: Piotr Ziecik
Signed-off-by: Stefan Roese -
Currently the size parameters of the UBI commands (e.g. "ubi write") are
decoded as decimal instead of hex as default. This patch now interprets
all these values consistantly as hex, as all other standard U-Boot commands
do.Signed-off-by: Stefan Roese
20 Nov, 2008
1 commit
-
This patch adds these UBI commands:
ubi part [nand|onenand] [part] - Show or set current partition
ubi info [l[ayout]] -Display volume and UBI layout information
ubi create[vol] volume [size] [type] - Create volume name with size
ubi write[vol] address volume size - Write volume from address with size
ubi read[vol] address volume [size] - Read volume to address with size
ubi remove[vol] volume - Remove volumeSigned-off-by: Kyungmin Park
Signed-off-by: Stefan Roese
02 Nov, 2008
3 commits
-
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD
-
There were several, now there is one (two if you count the lower-case
versions).Signed-off-by: Andy Fleming
-
Signed-off-by: Wolfgang Denk
31 Oct, 2008
1 commit
-
fdt_add_mem_rsv() requires space for a struct fdt_reserve_entry
(16 bytes), so make sure that fdt_resize at least adds that much
padding, no matter what the location or size of the fdt is.Signed-off-by: Peter Korsgaard
Acked-by: Andy Fleming
29 Oct, 2008
4 commits
-
I accidentally broke this in when making consistent the partial
alignment of the longhelp.Signed-off-by: Scott Wood
-
Added the ability to config out bootm support for Linux, NetBSD, RTEMS
Signed-off-by: Kumar Gala
-
Add the ability to break the steps of the bootm command into several
subcommands: start, loados, ramdisk, fdt, bdt, cmdline, prep, go.This allows us to do things like manipulate device trees before
they are passed to a booting kernel or setup memory for a secondary
core in multicore situations.Not all OS types support all subcommands (currently only start, loados,
ramdisk, fdt, and go are supported).Signed-off-by: Kumar Gala
-
This removes a bit of code and makes it easier for the upcoming sub bootm
command support to call into the proper OS specific handler.Signed-off-by: Kumar Gala
Signed-off-by: Wolfgang Denk
28 Oct, 2008
1 commit
27 Oct, 2008
1 commit
-
The information displayed when CONFIG_LCD_INFO is set is inherently
board-specific, so it should be done by the board code. The current code
dealing with this only handles two cases, and is already a horrible mess
of #ifdeffery.Yes, this duplicates some code, but it also allows boards to print more
board-specific information; this used to be very difficult.Signed-off-by: Haavard Skinnemoen
Signed-off-by: Anatolij Gustschin
26 Oct, 2008
2 commits
-
This allows the logo/info rendering routines to use the regular
lcd_putc/lcd_puts/lcd_printf calls.Signed-off-by: Haavard Skinnemoen
Signed-off-by: Anatolij Gustschin -
lcd_printf() has a prototype in include/lcd.h but no implementation. Fix
this by borrowing the lcd_printf() implementation from the cogent board
code (which appears to use its own LCD framework.)Signed-off-by: Haavard Skinnemoen
Signed-off-by: Anatolij Gustschin
25 Oct, 2008
2 commits
-
Added fdt_pci_dma_ranges() that parses the pci_region info from the
struct pci_controller and populates the dma-ranges based on it.The max # of windws/dma-ranges we support is 3 since on embedded
PowerPC based systems this is the max number of windows.Signed-off-by: Kumar Gala
Signed-off-by: Andrew Fleming-AFLEMING -
Add helper functions to return find a node and return it's property
or a default value.Signed-off-by: Kumar Gala
Signed-off-by: Andrew Fleming-AFLEMING
Acked-by: Gerald Van Baren
21 Oct, 2008
1 commit
-
Conflicts:
drivers/usb/usb_ohci.c