- Apr 08, 2013
-
-
Łukasz Majewski authored
Increase size of DMA buffer from 4MiB to 8MiB. This is necessary due to uImage size increase. Signed-off-by:
Lukasz Majewski <l.majewski@samsung.com> Signed-off-by:
Kyungmin Park <kyungmin.park@samsung.com>
-
Łukasz Majewski authored
Following commit: "cmd_ext4: BREAK and correct ext4write parameter order" SHA1:0171d52c introduced cleanup of ext4write semantics to be consistent with other filesystem's writing commands (e.g. fatwrite). This commit provides correct ext4write command generation at DFU eMMC code. Signed-off-by:
Lukasz Majewski <l.majewski@samsung.com> Signed-off-by:
Kyungmin Park <kyungmin.park@samsung.com>
-
- Apr 05, 2013
-
-
Tom Rini authored
Wolfgang requested this be reverted and Rob agreed after further discussion. This was a symptom of a larger problem we need to deal with. This reverts commit 60d7d5a6. Signed-off-by:
Tom Rini <trini@ti.com>
-
- Apr 04, 2013
-
-
Stefan Roese authored
This fixes this build warning: Configuring for qemu_mips64 - Board: qemu-mips64, Options: SYS_BIG_ENDIAN text data bss dec hex filename 215344 13082 218720 447146 6d2aa qemu_mips64/u-boot cfi_flash.c: In function 'flash_map': cfi_flash.c:217:9: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] Signed-off-by:
Stefan Roese <sr@denx.de> Cc: Tom Rini <trini@ti.com>
- Apr 03, 2013
-
-
Tom Rini authored
Signed-off-by:
Tom Rini <trini@ti.com>
-
- Apr 02, 2013
-
-
Linus Walleij authored
This makes sure we have inline functions such as inb/outb that are used in these two files by including the arch-specific <asm/io.h> header. However the ARM version does not provide the accessors unless the config symbol __io is also defined so add that in front of the include. After this the bios emulator will compile on ARM systems. Signed-off-by:
Linus Walleij <linus.walleij@linaro.org>
-
Stephen Warren authored
The "mmc rescan" command takes no arguments. However, executing "mmc rescan 1" succeeds, leading the user to believe that MMC device 1 has been rescanned. In fact, the "current" MMC device has been rescanned, and the current device may well not be 1. Add error-checking to the "mmc" command to explicitly reject any extra command-line arguments so that it's more obvious when U-Boot isn't doing what the user thought they asked it to. Signed-off-by:
Stephen Warren <swarren@nvidia.com>
-
Albert ARIBAUD authored
Simon Glass' commit 3929fb0a, which changed all occurrences of __bss__end__ into __bss_end, left behind some untouched __bss_end__ occurrences in all 33 u-boot.lds.debug files, in board/mousse/u-boot.lds.ram and in board/mousse/u-boot.lds.rom. These are replaced here. Signed-off-by:
Albert ARIBAUD <albert.u.boot@aribaud.net>
-
Marc Dietrich authored
start_sect is not aligned to a 4 byte boundary thus causing exceptions on ARM platforms. Access this field via the get_unaligned_le32 macro. Signed-off-by:
Marc Dietrich <marvin24@gmx.de>
-
Stephen Warren authored
CONFIG_SYS_HZ must be 1000, and get_timer() must therefore return ms. Document this. README text provided by Tom Rini. Signed-off-by:
Stephen Warren <swarren@wwwdotorg.org>
-
Vadim Bendebury authored
It was noticed that when `make distclean' is run, the make process terminates with error reporting something like: rm: cannot remove '/tmp/foobar/': Is a directory make: *** [clobber] Error 1 The problem is that the list of files targeted for removal includes a directory in case CONFIG_SPL_TARGET is not set. The fix has been tested as follows: Ran several times the following sequence of commands: CROSS_COMPILE=/usr/bin/arm-linux-gnueabi- make O=/tmp/foobar smdk5250_config CROSS_COMPILE=/usr/bin/arm-linux-gnueabi- make O=/tmp/foobar distclean it did not cause an error, it used to before this change. Signed-off-by:
Vadim Bendebury <vbendeb@chromium.org> Acked-by:
Simon Glass <sjg@chromium.org>
-
Rob Herring authored
Most of the various environment functions create CONFIG_ENV_SIZE buffers on the stack. At least on ARM and PPC which have 4KB stacks, this can overflow the stack if we have large environment sizes. So move all the buffers off the stack to static buffers. Signed-off-by:
Rob Herring <rob.herring@calxeda.com>
-
York Sun authored
Bash ver 3.x doesn't support the parameter expansion with case substitution. Use tr instead. Signed-off-by:
York Sun <yorksun@freescale.com> Acked-by:
Allen Martin <amartin@nvidia.com>
-
Jagan Teki authored
This patch provides a support to build the user specified dts. Signed-off-by:
Jagannadha Sutradharudu Teki <jaganna@xilinx.com> Acked-by:
Simon Glass <sjg@chromium.org>
-
Jagan Teki authored
This patch addjusted the write buffer size for M29EW devices those are operated in 8-bit mode. The M29EW devices seem to report the CFI information wrong when it's in 8 bit mode. There's an app note from Numonyx on this issue and there's a patch in the open source as well for Linux, but it doesn't seem to be in mainline. Signed-off-by:
Jagannadha Sutradharudu Teki <jaganna@xilinx.com> Tested-by:
Jagannadha Sutradharudu Teki <jaganna@xilinx.com>
-
aaron.williams@caviumnetworks.com authored
This commit is based on that patch from aaron.williams@caviumnetworks.com with same commit title. pulled the same code changes into current u-boot tree. http://patchwork.ozlabs.org/patch/140863/ http://lists.denx.de/pipermail/u-boot/2011-April/089606.html This patch corrects the addresses used when working with Spansion/AMD FLASH chips. Addressing for 8 and 16 bits is almost identical except in the 16-bit case the LSB of the address is always 0. The confusion arose because the addresses in the datasheet for 16-bit mode are word addresses but this code assumed it was byte addresses. I have only been able to test this on our Octeon boards which use either an 8-bit or 16-bit bus. I have not tested the case where there's an 8-bit part on a 16-bit bus. This patch also adds some delays as suggested by Spansion. If a part can be both 8 and 16-bits, it forces it to work in 8-bit mode if an 8-bit bus is detected. Apart from the pulled changes, fixed few minor code cleanups and tested on 256M29EW, 512M29EW flashes. Before this fix: --------------- Bank # 1: CFI conformant flash (8 x 8) Size: 64 MB in 512 Sectors AMD Standard command set, Manufacturer ID: 0xFF, Device ID: 0xFF Erase timeout: 4096 ms, write timeout: 2 ms Buffer write timeout: 5 ms, buffer size: 1024 bytes After this fix: -------------- Bank # 1: CFI conformant flash (8 x 8) Size: 64 MB in 512 Sectors AMD Standard command set, Manufacturer ID: 0x89, Device ID: 0x7E2301 Erase timeout: 4096 ms, write timeout: 2 ms Buffer write timeout: 5 ms, buffer size: 1024 bytes Signed-off-by:
Aaron Williams <aaron.williams@caviumnetworks.com> Signed-off-by:
Jagannadha Sutradharudu Teki <jaganna@xilinx.com> Tested-by:
Jagannadha Sutradharudu Teki <jaganna@xilinx.com>
-
- Apr 01, 2013
-
-
York Sun authored
'bool' is defined in random places. This patch consolidates them into a single header file include/linux/types.h, using stdbool.h introduced in C99. All other #define, typedef and enum are removed. They are all consistent with true = 1, false = 0. Replace FALSE, False with false. Replace TRUE, True with true. Skip *.py, *.php, lib/* files. Signed-off-by:
York Sun <yorksun@freescale.com>
-
- Mar 31, 2013
-
-
git://git.denx.de/u-boot-stagingTom Rini authored
-
- Mar 29, 2013
-
-
Anatolij Gustschin authored
After merging LCD patches for v2013.04 the bcm2835 video driver building is broken due to removal of many global variables. Fix the driver. Signed-off-by:
Anatolij Gustschin <agust@denx.de> Cc: Stephen Warren <swarren@wwwdotorg.org>
-
Anatolij Gustschin authored
Conflicts: drivers/video/Makefile Signed-off-by:
Anatolij Gustschin <agust@denx.de>
-
Pali Rohár authored
* default bootmenu entries: attached kernel, internal eMMC memory, external SD card, u-boot boot order * in CONFIG_PREBOOT try load bootmenu.scr from first partition of internal eMMC memory (also known as MyDocs) which (should) overwrite default bootmenu entries * when keyboard slide is closed boot first menu entry * when keyborad slide is open show bootmenu Signed-off-by:
Pali Rohár <pali.rohar@gmail.com> Signed-off-by:
Anatolij Gustschin <agust@denx.de>
-
Pali Rohár authored
The "bootmenu" command uses U-Boot menu interfaces and provides a simple mechanism for creating menus with several boot items. When running this command the menu will be assembled as defined by a set of environment variables which contain a title and command key-value pairs. The "Up" and "Down" keys are used for navigation through the items. Current active menu item is highlighted and can be selected using the "Enter" key. The command interprets and generates various ANSI escape sequencies, so for proper menu rendering and item selection the used terminal should support them. Signed-off-by:
Pali Rohár <pali.rohar@gmail.com> [agust: various fixes and documentation updates] Signed-off-by:
Anatolij Gustschin <agust@denx.de>
-
Anatolij Gustschin authored
Checking the default menu item and obtaining its data can be useful in custom menu code. Export menu_default_choice() function which serves this purpose. Signed-off-by:
Anatolij Gustschin <agust@denx.de>
-
Pali Rohár authored
Selecting menu items is currently done in menu_interactive_choice() by reading the user input strings from standard input. Extend menu_interactive_choice() to support user defined function for selecting menu items. This function and its argument can be specified when creating the menu. Signed-off-by:
Pali Rohár <pali.rohar@gmail.com> Signed-off-by:
Anatolij Gustschin <agust@denx.de>
-
- Mar 28, 2013
-
-
Albert ARIBAUD authored
Conflicts: drivers/spi/tegra20_sflash.c include/fdtdec.h lib/fdtdec.c
-
Vincent Stehlé authored
The _start symbol is already relocated, so do not add the relocation the second time in c_runtime_cpu_setup. This fixes e.g. the abort exception handling path, which ended in double fault due to bad address in VBAR. Signed-off-by:
Vincent Stehlé <v-stehle@ti.com> Reported-by:
Lubomir Popov <lpopov@mm-sol.com>
-
R Sricharan authored
The 'XN' execute never bit is set in the pagetables. This will prevent speculative prefetches to non executable regions. But the domain permissions are set as master in the DACR register. So the pagetable attribute for 'XN' is not effective. Change the permissions to client. This fixes lot of speculative prefetch aborts seen on OMAP5 secure devices. Signed-off-by:
R Sricharan <r.sricharan@ti.com> Tested-by:
Vincent Stehle <v-stehle@ti.com> Cc: Vincent Stehle <v-stehle@ti.com> Cc: Tom Rini <trini@ti.com> Cc: Albert ARIBAUD <albert.u.boot@aribaud.net>
-
R Sricharan authored
Introduce a weak version of dram_bank_setup function to allow a platform specific function. This is used in the subsequent patch to setup dram region without 'XN' attribute in order to enable the region under client permissions. Signed-off-by:
R Sricharan <r.sricharan@ti.com> Cc: Vincent Stehle <v-stehle@ti.com> Cc: Tom Rini <trini@ti.com> Cc: Albert ARIBAUD <albert.u.boot@aribaud.net>
-
Vincent Stehlé authored
We declare the set_section_dcache function globally in the cache header, for later use by e.g. machine specific code. Signed-off-by: Vincent Stehlé <v-stehle <at> ti.com> Cc: Tom Rini <trini <at> ti.com> Cc: Albert ARIBAUD <albert.u.boot@aribaud.net>
-
- Mar 27, 2013
-
-
Veli-Pekka Peltola authored
As I am no longer working for Bluegiga I will pass apx4devkit maintenance to Lauri. Signed-off-by:
Veli-Pekka Peltola <veli-pekka.peltola@iki.fi> Acked-by:
Lauri Hintsala <lauri.hintsala@bluegiga.com>
-
Steven Stallion authored
Signed-off-by:
Steven Stallion <sstallion@gmail.com> Cc: Tom Rini <trini@ti.com> Reviewed-by:
Tom Rini <trini@ti.com>
-
Tom Rini authored
The ext4write command was taking the in-memory address and filename path in reverse order from the rest of the filesystem read and write commands. This corrects the order to be the same as fatload, etc. Signed-off-by:
Tom Rini <trini@ti.com>
-
Matt Porter authored
usleep_range() is a Linux facility, ignore it when udelay() is encountered. Signed-off-by:
Matt Porter <mporter@ti.com>
-
Tom Rini authored
While the kernel mainly uses pr_debug(...), etc, for debug messages, we use debug(...). Add this to the list of logFunctions so that they are correctly checked (and not warned against) for long string literals. Signed-off-by:
Tom Rini <trini@ti.com>
-
Tom Rini authored
This is not called outside of env_callback.c so mark static, remove from <env_callback.h> Cc: Joe Hershberger <joe.hershberger@ni.com> Signed-off-by:
Tom Rini <trini@ti.com> Acked-by:
Joe Hershberger <joe.hershberger@ni.com>
-
Stephen Warren authored
This allows: MAKEALL -s tegra to replace: MAKEALL -s tegra20 -s tegra30 -s tegra114 The following also works: MAKEALL -s tegra -s omap Signed-off-by:
Stephen Warren <swarren@nvidia.com>
-
- Mar 26, 2013
-
-
Albert ARIBAUD authored
-
Albert ARIBAUD authored
-
- Mar 25, 2013
-
-
Tom Warren authored
Tested on my Dalmore E1611 board, eMMC and SD-Card work fine, can load a kernel off of an SD card OK, card detect works, and the env is now stored in eMMC (end of the 2nd 'boot' sector, same as Tegra20/30). Signed-off-by:
Tom Warren <twarren@nvidia.com> Reviewed-by:
Stephen Warren <swarren@nvidia.com>
-