- Nov 11, 2013
-
-
Heiko Schocher authored
If no softreset save registers are found on the hardware "bootcount" is stored in the environment. To prevent a saveenv on all reboots, the environment variable "upgrade_available" is introduced. If "upgrade_available" is 0, "bootcount" is always 0 therefore no need to save the environment on u-boot boot, if "upgrade_available" is 1 "bootcount" is incremented in the environment and environment gets written on u-boot start. So the Userspace Applikation must set the "upgrade_available" and "bootcount" variable to 0 (for example with fw_setenv), if a boot was successfully. Signed-off-by:
Heiko Schocher <hs@denx.de>
-
- Nov 09, 2013
-
-
Albert ARIBAUD authored
Conflicts: arch/arm/cpu/arm926ejs/mxs/Makefile board/compulab/cm_t35/Makefile board/corscience/tricorder/Makefile board/ppcag/bg0900/Makefile drivers/bootcount/Makefile include/configs/omap4_common.h include/configs/pdnb3.h Makefile conflicts are due to additions/removals of object files on the ARM branch vs KBuild introduction on the main branch. Resolution consists in adjusting the list of object files in the main branch version. This also applies to two files which are not listed as conflicting but had to be modified: board/compulab/common/Makefile board/udoo/Makefile include/configs/omap4_common.h conflicts are due to the OMAP4 conversion to ti_armv7_common.h on the ARM side, and CONFIG_SYS_HZ removal on the main side. Resolution is to convert as this icludes removal of CONFIG_SYS_HZ. include/configs/pdnb3.h is due to a removal on ARM side. Trivial resolution is to remove the file. Note: 'git show' will also list two files just because they are new: include/configs/am335x_igep0033.h include/configs/omap3_igep00x0.h
-
- Nov 08, 2013
-
-
git://www.denx.de/git/u-boot-usbTom Rini authored
-
Rob Herring authored
Convert sandbox to use common time functions. Signed-off-by:
Rob Herring <rob.herring@calxeda.com>
-
Rob Herring authored
A weak annotation is needed in order to prevent link errors when get_ticks is overridden. This fixes sandbox build. Signed-off-by:
Rob Herring <rob.herring@calxeda.com>
-
Suriyan Ramasami authored
Netconsole loses the second character when used as input by either setenv stdin nc or setenv stdin serial,nc if using CONSOLE_CONSOLE_MUX Before a nc_send_packet() to echo the input, a check is done to see if nc_ether is valid. If its not, it waits for an arp request and then sends the packet (which contains the first character of line to be displayed as output). As part of reaping the arp request, the second character is consumed. We protect this by making the call to NetLoop(NETCONS) between input_recursion. Signed-off-by:
Suriyan Ramasami <suriyan.r@gmail.com> Acked-by:
Joe Hershberger <joe.hershberger@ni.com>
-
Axel Lin authored
Staticize local functions in s5p serial driver. Signed-off-by:
Axel Lin <axel.lin@ingics.com> Acked-by:
Minkyu Kang <mk7.kang@samsung.com>
-
Pierre Aubert authored
The env export command doesn't export the first variable of the list since commit 5a31ea04 "env grep" - reimplement command using hexport_r() Signed-off-by:
Pierre Aubert <p.aubert@staubli.com>
-
Mark Langsdorf authored
Let highbank users break into the autoboot script with ctrl-c. Signed-off-by:
Mark Langsdorf <mark.langsdorf@calxeda.com>
-
Mark Langsdorf authored
As originally implemented, setting the AUTOBOOT_KEYED config option will prevent users from breaking into the autoboot script with ctrl-c. Restore that option with a new config symbol. Signed-off-by:
Mark Langsdorf <mark.langsdorf@calxeda.com>
-
Axel Lin authored
Staticize local functions in xuartlite driver. Signed-off-by:
Axel Lin <axel.lin@ingics.com> Acked-by:
Stefan Roese <sr@denx.de> Tested-by:
Michal Simek <monstr@monstr.eu>
-
Axel Lin authored
Staticize local functions in mxs_auart driver. Signed-off-by:
Axel Lin <axel.lin@ingics.com> Acked-by:
Marek Vasut <marex@denx.de>
-
Piotr Wilczek authored
Curently memcpy copies string without null terminating char because function strlen returns only number of characters excluding null terminating character. Replace memcpy with strcpy. Signed-off-by:
Piotr Wilczek <p.wilczek@samsung.com> Signed-off-by:
Kyungmin Park <kyungmin.park@samsung.com> CC: Tom Rini <trini@ti.com>
-
Luka Perkov authored
Signed-off-by:
Luka Perkov <luka@openwrt.org>
-
Luka Perkov authored
Signed-off-by:
Luka Perkov <luka@openwrt.org>
-
Tim Harvey authored
Signed-off-by:
Tim Harvey <tharvey@gateworks.com>
-
Masahiro Yamada authored
Linux Kernel abolished include/linux/config.h long time ago. (around version v2.6.18..v2.6.19) We don't need to provide Linux copatibility any more. This commit deletes include/linux/config.h and fixes source files not to include this. Signed-off-by:
Masahiro Yamada <yamada.m@jp.panasonic.com>
-
Egbert Eich authored
Signed-off-by:
Egbert Eich <eich@suse.com>
-
Egbert Eich authored
Signed-off-by:
Egbert Eich <eich@suse.com>
-
Egbert Eich authored
The gpt command was only implemented for mmc devices. There is no reason why this command should not be generalized and be applied all other storage device classes. This change both simplifies the implementation and eliminates a build failure for systems that don't support mmcs. Signed-off-by:
Egbert Eich <eich@suse.com> Tested-by:
Piotr Wilczek <p.wilczek@samsung.com> [trini: Change coding style slightly] Signed-off-by:
Tom Rini <trini@ti.com>
-
Masahiro Yamada authored
This commit omits non-existing drivers/net/netarm_eth.c from the list. This driver is deleted by commit b411eb30. Signed-off-by:
Masahiro Yamada <yamada.m@jp.panasonic.com>
-
Masahiro Yamada authored
The following serial drivers do not exist any more. - ns9750_serial.c: deleted by commit 4cfc611b - s3c4510b_uart.c: deleted by commit afad4029 - serial_clps7111.c: deleted by commit f2e08015 - serial_netarm.c: deleted by commit b411eb30 This commit cleans up UDM-serial.txt. Signed-off-by:
Masahiro Yamada <yamada.m@jp.panasonic.com>
-
Masahiro Yamada authored
Everytime a dead driver is removed from the list, we must re-number. This is a painful task. Try git show e5323225 -- doc/driver-model/UDM-serial.txt git show 6f62f420 -- doc/driver-model/UDM-serial.txt git show b9f4bc34 -- doc/driver-model/UDM-serial.txt to see what I mean. Signed-off-by:
Masahiro Yamada <yamada.m@jp.panasonic.com>
-
Bo Shen authored
Nowhere pass a value to len, which always 0, make no transfer which cause uploading failed. This patch make nand upload working. However it needs enough malloc buffer to store read data, that means the buffer at least equal to the upload partition size, or else it doesn't work. Signed-off-by:
Bo Shen <voice.shen@atmel.com>
-
Heiko Schocher authored
add the possibility to set the iSerialNumber board specific. Default value for iSerialNumber is 0x0. This value can changed board specific through the new function g_dnl_set_serialnumber() which must be called from the board specific function g_dnl_bind_fixup(). Signed-off-by:
Heiko Schocher <hs@denx.de> Cc: Marek Vasut <marek.vasut@gmail.com> Cc: Lukasz Majewski <l.majewski@samsung.com> Cc: Kyungmin Park <kyungmin.park@samsung.com> Tested-by:
Lukasz Majewski <l.majewski@samsung.com>
-
Bo Shen authored
After dfu buffer is initialized, the buffer should be all available, while not 0. Initialize its value to min(dfu_buf_size, dfu->r_left). Signed-off-by:
Bo Shen <voice.shen@atmel.com> Tested-by:
Lukasz Majewski <l.majewski@samsung.com> Acked-by:
Lukasz Majewski <l.majewski@samsung.com>
-
Bo Shen authored
The value of dfu->r_left need decrease along with the transfer Signed-off-by:
Bo Shen <voice.shen@atmel.com>
-
Mateusz Kulikowski authored
submit_common_msg should report amount of data passed from/to device. Instead, it always returned size requested by Host. Signed-off-by:
Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
-
Przemyslaw Marczak authored
This patch allows exiting from UMS mode to u-boot prompt by detaching usb cable or by pressing ctrl+c. Add new config: CONFIG_USB_CABLE_CHECK. If defined then board file should provide function: usb_cable_connected() (include/usb.h) that return 1 if cable is connected and 0 otherwise. Changes v2: - add a note to the README Signed-off-by:
Przemyslaw Marczak <p.marczak@samsung.com> Cc: Marek Vasut <marex@denx.de>
-
Przemyslaw Marczak authored
UMS init was implemented in trats board file but mostly it comprises common code. Due to that it has been moved to common/ums.c to avoid code duplication in the future. Changes: - move ums initialization code from trats to common/ums.c - remove unused CONFIG_USB_GADGET_MASS_STORAGE from trats.h Changes v2: - move this patch at the top of code cleanups patches Signed-off-by:
Przemyslaw Marczak <p.marczak@samsung.com> Cc: Marek Vasut <marex@denx.de> Cc: Minkyu Kang <mk7.kang@samsung.com>
-
Przemyslaw Marczak authored
This patch prevents: - ums disk capacity miscalculation because of integer overflow Changes v2: - Prevents passing zero size disk capacity to ums gadget driver - Change function ums_get_capacity() to ums_disk_init() and do ums disk initialization before gadget init - Remove unnecessary code from mass storage driver Signed-off-by:
Przemyslaw Marczak <p.marczak@samsung.com> Cc: Marek Vasut <marex@denx.de>
-
Przemyslaw Marczak authored
Before this change ums command only allowed use of mmc 0. Now this argument can be set. Changes: - remove mmc device number checking because it is always positive number - remove printing "no such device" - it is done by find_mmc_device() Change-Id: I767e45151ad515c7bef19e6c13087374f5e23c11 Signed-off-by:
Przemyslaw Marczak <p.marczak@samsung.com> Cc: Marek Vasut <marex@denx.de>
-
Przemyslaw Marczak authored
This patch introduces some cleanups to ums code. Changes: ums common: - introduce UMS_START_SECTOR and UMS_NUM_SECTORS as defined in usb_mass_storage.h both default values as 0 if board config doesn't define them common cleanup changes: - change name of struct "ums_board_info" to "ums" - "ums_device" fields are moved to struct ums and "dev_num" is removed - change function name: board_ums_init to ums_init - remove "extern" prefixes from usb_mass_storage.h cmd_usb_mass_storage: - change error() to printf() if need to print info message - change return values to command_ret_t type at ums command code - add command usage string Changes v2: ums common: - always returns number of read/write sectors - coding style clean-up ums gadget: - calculate amount of read/write from device returned value. Signed-off-by:
Przemyslaw Marczak <p.marczak@samsung.com> Cc: Marek Vasut <marek.vasut@gmail.com>
-
Igor Grinberg authored
There is no CONFIG_PCA953X_INFO symbol. U-Boot uses CONFIG_CMD_PCA953X_INFO instead, which is described in "Monitor Functions" section and thus no need to be repeated in the "GPIO Support" section. Remove the whole line. Signed-off-by:
Igor Grinberg <grinberg@compulab.co.il>
-
Masahiro Yamada authored
Signed-off-by:
Masahiro Yamada <yamada.m@jp.panasonic.com>
-
Miao Yan authored
In commit "5c427e49: use BOOTM_STATE_OS_CMDLINE flag for plain bootm" and "3d187b39: Only pass BOOTM_STATE_OS_CMDLINE on PowerPC/MIPS", BOOTM_STATE_OS_CMDLINE was added to do_bootm for PowerPC and MIPS. This breaks other OSes (vxworks, netbsd, plan9,...) that don't support subcommand processing, e.g. they all contain the following code in their do_bootm_xxx(): if (flag & BOOTM_STATE_OS_PREP) return 0; if ((flag != 0) && (flag != BOOTM_STATE_OS_GO)) return 1; which will result a "subcommand not supported" error. This patch changes the above logic to: /* if not go command, pretend everything to be OK */ if (flag != BOOTM_STATE_OS_GO) return 0; Signed-off-by:
Miao Yan <miao.yan@windriver.com>
-
Masahiro Yamada authored
In-tree build: - Do not create a symbolic link from include/asm to arch/${ARCH}/include/asm - Add ${SRCTREE}/arch/arm/include into the header search path Out-of-tree build: - Do not create a directory ${OBJTREE}/include2 - Do not create a symbolic link from ${OBJTREE}/include2/asm to ${SRCTREE}/arch/${ARCH}/include/asm - Add ${SRCTREE}/arch/arm/include into the header search path Signed-off-by:
Masahiro Yamada <yamada.m@jp.panasonic.com>
-
Viktar Palstsiuk authored
Signed-off-by:
Viktar Palstsiuk <viktar.palstsiuk@promwad.com>
-
Luka Perkov authored
Remove 'HEAD' line which is most likely left there while rebasing. It was introduced in commit 877bfe37. Signed-off-by:
Luka Perkov <luka@openwrt.org>
-
Paul Burton authored
Commit 93e14596 "Coding Style cleanup: replace leading SPACEs by TABs" added trailing whitespace to a single line of boards.cfg. I presume this was unintentional, and it causes the file to change after running it through the reformat.py script. Remove the offending character. Signed-off-by:
Paul Burton <paul.burton@imgtec.com>
-