- 28 1月, 2009 6 次提交
-
-
由 Peter Tyser 提交于
Remove command name from all command "usage" fields and update common/command.c to display "name - usage" instead of just "usage". Also remove newlines from command usage fields. Signed-off-by: NPeter Tyser <ptyser@xes-inc.com>
-
由 Peter Tyser 提交于
Signed-off-by: NPeter Tyser <ptyser@xes-inc.com>
-
由 Mike Frysinger 提交于
Rather than have the board code initialize SATA automatically during boot, make the user manually run "sata init". This brings the SATA subsystem in line with common U-Boot policy. Rather than having a dedicated weak function "is_sata_supported", people can override sata_initialize() to do their weird board stuff. Then they can call the actual __sata_initialize(). Signed-off-by: NMike Frysinger <vapier@gentoo.org>
-
由 Tomasz Figa 提交于
This patch fixes a bug (?) introduced after inclusion of the new JFFS2 code. When not using CONFIG_JFFS2_CMDLINE, the code in cmd_jffs2.c doesn't fill in part->sector_size (keeping it as 0), but a correct value is needed by the code in jffs2_1pass.c. This causes all JFFS2 accesses to be in the same place of the memory, what obviously means impossibility to use the JFFS2 partition. This problem is fixed in this patch by including sector size calculation in non-CONFIG_JFFS2_CMDLINE mtdparts_init variant. Signed-off-by: Tomasz Figa <tomasz.figa_at_gmail.com>
-
由 Mike Frysinger 提交于
Rather than special casing each environment type for enabling the saveenv command, have them all behave the same. This avoids bitrot as new env sources are added/removed. Signed-off-by: NMike Frysinger <vapier@gentoo.org>
-
由 Matthias Fuchs 提交于
U-Boot's gunzip() function does not handle the return code of zlib's inflate() function correctly. gunzip() is implemented to uncompress all input data in one run. So the correct return code for the good case is Z_STREAM_END. In case of insufficient output buffer memory inflate returns Z_OK. For gunzip() this is an error. It also makes sense to me to call inflateEnd() also in case of an error. Signed-off-by: NMatthias Fuchs <matthias.fuchs@esd-electronics.com>
-
- 24 1月, 2009 7 次提交
-
-
由 Dirk Eibach 提交于
The iteration limit is passed to mtest as a fourth parameter: [start [end [pattern [iterations]]]] If no fourth parameter is supplied, there is no iteration limit and the test will loop forever. Signed-off-by: NDirk Eibach <eibach@gdsys.de>
-
由 Peter Korsgaard 提交于
Support bootdelay=0 in abortboot for the CONFIG_AUTOBOOT_KEYED case similar to the CONFIG_ZERO_BOOTDELAY_CHECK support for the !CONFIG_AUTOBOOT_KEYED case. Do this by reversing the loop so we do at least one iteration before checking for timeout. Signed-off-by: NPeter Korsgaard <jacmet@sunsite.dk>
-
由 Mike Frysinger 提交于
Signed-off-by: NMike Frysinger <vapier@gentoo.org>
-
由 Mike Frysinger 提交于
Signed-off-by: NMike Frysinger <vapier@gentoo.org> Signed-off-by: NScott Wood <scottwood@freescale.com>
-
由 Schlaegl Manfred jun 提交于
Error with CONFIG_NAND_LEGACY in common/cmd_nand.c: With current code "nand read.jffs2s" (read and skip bad blocks) is always interpreted as "nand read.jffs2" (read and fill bad blocks with 0xff). This is because ".jffs2" is tested before ".jffs2s" and only the first two characters are compared. Correction: Test for ".jffs2s" first and compare the first 7 characters. Signed-off-by: NScott Wood <scottwood@freescale.com>
-
由 Nishanth Menon 提交于
Enable nand lock, unlock and status of lock feature. Not every device and platform requires this, hence, it is under define for CONFIG_CMD_NAND_LOCK_UNLOCK Nand unlock and status operate on block boundary instead of page boundary. Details in: http://www.micron.com/products/partdetail?part=MT29C2G24MAKLAJG-6%20IT Intial solution provided by Vikram Pandita <vikram.pandita@ti.com> Includes preliminary suggestions from Scott Wood Signed-off-by: NNishanth Menon <nm@ti.com> Signed-off-by: NScott Wood <scottwood@freescale.com>
-
由 Stefan Roese 提交于
Update OneNAND command to support bad block awareness. Also change the OneNAND command style to better match the NAND version. Signed-off-by: NStefan Roese <sr@denx.de> Acked-by: NKyungmin Park <kyungmin.park@samsung.com>
-
- 18 1月, 2009 1 次提交
-
-
由 Peter Korsgaard 提交于
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: NPeter Korsgaard <jacmet@sunsite.dk>
-
- 20 12月, 2008 1 次提交
-
-
Signed-off-by: NJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: NRemy Böhmer <linux@bohmer.net>
-
- 16 12月, 2008 2 次提交
-
-
由 Wolfgang Denk 提交于
Signed-off-by: NWolfgang Denk <wd@denx.de>
-
由 Mike Frysinger 提交于
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: NMike Frysinger <vapier@gentoo.org> Acked-by: NHaavard Skinnemoen <haavard.skinnemoen@atmel.com>
-
- 14 12月, 2008 2 次提交
-
-
由 Peter Tyser 提交于
Signed-off-by: NPeter Tyser <ptyser@xes-inc.com>
-
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: NJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
-
- 10 12月, 2008 2 次提交
-
-
由 Stefan Roese 提交于
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: NStefan Roese <sr@denx.de>
-
由 Ilya Yanok 提交于
This patch adds sector_size field to part_info structure (used by new JFFS2 code). Signed-off-by: NIlya Yanok <yanok@emcraft.com>
-
- 09 12月, 2008 3 次提交
-
-
由 Stefan Roese 提交于
Signed-off-by: NStefan Roese <sr@denx.de>
-
由 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: NStefan Roese <sr@denx.de>
-
由 Heiko Schocher 提交于
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: NHeiko Schocher <hs@denx.de>
-
- 07 12月, 2008 5 次提交
-
-
由 Richard Retanubun 提交于
Corrected endian order printing for compact flash serial number. Signed-off-by: NRichard Retanubun <RichardRetanubun@RuggedCom.com>
-
由 Gary Jennejohn 提交于
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: NGary Jennejohn <garyj@denx.de>
-
由 Mike Frysinger 提交于
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: NMike Frysinger <vapier@gentoo.org>
-
由 Niklaus Giger 提交于
- 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: NNiklaus Giger <niklaus.giger@member.fsf.org>
-
由 Peter Tyser 提交于
remove unneeded version.h from lcd.c Signed-off-by: NPeter Tyser <ptyser@xes-inc.com> Signed-off-by: NWolfgang Denk <wd@denx.de>
-
- 06 12月, 2008 1 次提交
-
-
Signed-off-by: NJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
-
- 05 12月, 2008 1 次提交
-
-
由 Peter Tyser 提交于
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: NPeter Tyser <ptyser@xes-inc.com> Signed-off-by: NBen Warren <biggerbadderben@gmail.com>
-
- 03 12月, 2008 1 次提交
-
-
由 Stefan Roese 提交于
Without this patch "saveenv" crashes when MTD partitions are enabled (e.g. for use in UBI) via CONFIG_MTD_PARTITIONS. Signed-off-by: NStefan Roese <sr@denx.de> Signed-off-by: NScott Wood <scottwood@freescale.com>
-
- 29 11月, 2008 2 次提交
-
-
由 Michael Trimarchi 提交于
Remove USB obsolete commmand Signed-off-by: NMichael Trimarchi <trimarchi@gandalf.sssup.it> Signed-off-by: NRemy Böhmer <linux@bohmer.net>
-
由 Michael Trimarchi 提交于
USB Code style patch Signed-off-by: NMichael Trimarchi <trimarchi@gandalf.sssup.it> Signed-off-by: NRemy Böhmer <linux@bohmer.net>
-
- 24 11月, 2008 2 次提交
-
-
由 Piotr Ziecik 提交于
With this patch UBI can be used on CFI flash chips. Signed-off-by: NPiotr Ziecik <kosmo@semihalf.com> Signed-off-by: NStefan Roese <sr@denx.de>
-
由 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: NStefan Roese <sr@denx.de>
-
- 20 11月, 2008 1 次提交
-
-
由 Kyungmin Park 提交于
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 volume Signed-off-by: NKyungmin Park <kyungmin.park@samsung.com> Signed-off-by: NStefan Roese <sr@denx.de>
-
- 02 11月, 2008 3 次提交
-
-
Signed-off-by: NJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
-
由 Andy Fleming 提交于
There were several, now there is one (two if you count the lower-case versions). Signed-off-by: NAndy Fleming <afleming@freescale.com>
-
由 Wolfgang Denk 提交于
Signed-off-by: NWolfgang Denk <wd@denx.de>
-