- 09 3月, 2013 3 次提交
-
-
由 Stefan Roese 提交于
This patch adds a custom U-Boot command "wdogtoggle" which enables the external hardware watchdog toggling via an GPIO pin on the a4m2k board. After issuing this commands, the watchdog will be serviced by U-Boot so that the user can use all U-Boot commands from the prompt. Signed-off-by: NStefan Roese <sr@denx.de>
-
由 Stefan Roese 提交于
This patch adds the a4m2k MPC5200B board port. Its a derivate of the a3m071 board with only minor changes. Additionally this patch includes some clean-up changes: - Remove I2C support from a3m071 as its unused - Fix/enhance default env variables - Fix some comments - Add newly introduced CONFIG_SPL_TARGET to automatically build "u-boot-img.bin" - Fix dtb patching in READ desciption for SPL Linux booting: "fdt chosen" needs to get called to patch/create the chosen node. - Add missing call to spl_board_init(): Define CONFIG_SPL_BOARD_INIT so that spl_board_init() will get called in the SPL version. Signed-off-by: NStefan Roese <sr@denx.de>
-
由 Stefan Roese 提交于
On MPC5200, the initial RAM (and gd) is located in the internal SRAM. So we can actually call the preloader console init code before calling initdram(). This makes serial output (printf) available very early, even before SDRAM init, which has been an U-Boot priciple from day 1. Signed-off-by: NStefan Roese <sr@denx.de>
-
- 05 3月, 2013 26 次提交
-
-
由 Simon Glass 提交于
Make use of a device tree on coreboot boards, and set the default to link. Signed-off-by: NSimon Glass <sjg@chromium.org>
-
由 Simon Glass 提交于
This is currently set to coreboot.dtsi, but we cannot support this on old device tree compilers (dtc <= 1.3), so adjust to use ARCH_CPU_DTS to let the Makefile preprocessor sort this out. Signed-off-by: NSimon Glass <sjg@chromium.org>
-
由 Simon Glass 提交于
This does not actually change normal behaviour, but adds a check that should detect corruption of relocation data (e.g. by using BSS data prior to relocation). Also add additional debugging output when enabled. During this investigation, two situations have been seen: 1. calculate_relocation_address(): uintptr_t size = (uintptr_t)&__bss_end - (uintptr_t)&__text_start; turns into 111166f: b8 83 c4 17 01 mov $0x117c483,%eax whih is beyond the end of bss: 0117b484 g .bss 00000000 __bss_end Somehow the __bss_end here is 255 bytes ahead. 2. do_elf_reloc_fixups(): uintptr_t size = (uintptr_t)&__bss_end - (uintptr_t)&__text_start; Here the __text_start is 0 in the file: 1111d9f: bb a0 e0 13 01 mov $0x113e0a0,%ebx 1111da4: 81 ef 00 00 00 00 sub $0x0,%edi As it happens, both of these are in pre-relocation code. For these reasons we silent check and ignore bad relocations. Signed-off-by: NSimon Glass <sjg@chromium.org>
-
由 Simon Glass 提交于
With CONFIG_OF_CONTROL we may have an FDT in the BSS region. Relocate it up with the rest of U-Boot to keep the rest of memory free. Signed-off-by: NSimon Glass <sjg@chromium.org>
-
由 Simon Glass 提交于
At present BSS data is including in the image, which wastes binary space. Remove it by rearranging the sections so that BSS is last. Signed-off-by: NSimon Glass <sjg@chromium.org>
-
由 Simon Glass 提交于
With this symbol we can easy append something (e.g. an FDT) to the U-Boot binary and access it from within U-Boot. Signed-off-by: NSimon Glass <sjg@chromium.org>
-
由 Simon Glass 提交于
It is useful to be able to access the timer before U-Boot has relocated so that we can fully support bootstage. Add new global_data members to support this. Signed-off-by: NSimon Glass <sjg@chromium.org>
-
由 Simon Glass 提交于
At present most x86 cache operations are undefined. Add a basic implementation for these. Signed-off-by: NSimon Glass <sjg@chromium.org>
-
由 Simon Glass 提交于
The memory layout calculations are done in calculate_relocation_address(), and coreboot has its own version of this function. But in fact all we really need is to set the top of usable RAM, and then the base version will work as is. So instead of allowing the whole calculate_relocation_address() function to be replaced, create board_get_usable_ram_top() which can be used by a board to specify the top of the area where U-Boot relocations to. Signed-off-by: NSimon Glass <sjg@chromium.org>
-
由 Tom Rini 提交于
Signed-off-by: NTom Rini <trini@ti.com>
-
由 Sonic Zhang 提交于
Signed-off-by: NSonic Zhang <sonic.adi@gmail.com>
-
由 Daniel Schwierzeck 提交于
All code related to the bootm ramdisk subcommand is conditionally enabled by CONFIG_SYS_BOOT_RAMDISK_HIGH except for the help message. Replace the CONFIG_ARCH defines by CONFIG_SYS_BOOT_RAMDISK_HIGH to fix this. Signed-off-by: NDaniel Schwierzeck <daniel.schwierzeck@gmail.com>
-
由 Joe Hershberger 提交于
If readline says there was an error, don't write to the variable! Signed-off-by: NJoe Hershberger <joe.hershberger@ni.com>
-
由 Joe Hershberger 提交于
UBI can mount volumes by name or number The current code forces you to name the volume by prepending every name with "ubi:". >From fs/ubifs/super.c * There are several ways to specify UBI volumes when mounting UBIFS: * o ubiX_Y - UBI device number X, volume Y; * o ubiY - UBI device number 0, volume Y; * o ubiX:NAME - mount UBI device X, volume with name NAME; * o ubi:NAME - mount UBI device 0, volume with name NAME. Now any name passed in any of the above forms are allowed. Also update the configs that referenced ubifsmount. Signed-off-by: NJoe Hershberger <joe.hershberger@ni.com>
-
由 Simon Glass 提交于
The 'sb' command allows loading files from the host, and listing directories. Signed-off-by: NSimon Glass <sjg@chromium.org> Reviewed-by: NTom Rini <trini@ti.com>
-
由 Simon Glass 提交于
These are useful for build-testing code, at least. Signed-off-by: NSimon Glass <sjg@chromium.org> Reviewed-by: NTom Rini <trini@ti.com>
-
由 Simon Glass 提交于
The new 'sb' command is intended to deal with sandbox-specific features that have no parallel in other archs. This commit adds two sub-commands to list a directory and read a file from the host filesystem. Signed-off-by: NSimon Glass <sjg@chromium.org> Reviewed-by: NTom Rini <trini@ti.com>
-
由 Simon Glass 提交于
This allows reading of files from the host filesystem in sandbox. Signed-off-by: NSimon Glass <sjg@chromium.org> Reviewed-by: NTom Rini <trini@ti.com>
-
由 Simon Glass 提交于
This implementation uses opendir()/readdir() to access the directory information and then puts it in a linked list for the caller's use. Signed-off-by: NSimon Glass <sjg@chromium.org> Reviewed-by: NTom Rini <trini@ti.com>
-
由 Simon Glass 提交于
It doesn't make a lot of sense to have these methods in fs.c. They are filesystem-specific, not generic code. Add each to the relevant filesystem and remove the associated #ifdefs in fs.c. Signed-off-by: NSimon Glass <sjg@chromium.org> Reviewed-by: NTom Rini <trini@ti.com>
-
由 Simon Glass 提交于
This allows us to use filesystems on sandbox. It has no effect on other architectures. Signed-off-by: NSimon Glass <sjg@chromium.org> Reviewed-by: NTom Rini <trini@ti.com>
-
由 Simon Glass 提交于
Rather than rely on global variables for the probe functions, pass in the information that we need filled in. This allows us to potentially keep the variables private to fs.c in the future, and the meaning of the probe function is clearer. Signed-off-by: NSimon Glass <sjg@chromium.org> Reviewed-by: NTom Rini <trini@ti.com>
-
由 Simon Glass 提交于
We can use the available methods and avoid using switch(). When the filesystem is not supported, we fall through to the 'unsupported' methods: fs_probe_unsupported() prints an error, so the others do not need to. Signed-off-by: NSimon Glass <sjg@chromium.org> Reviewed-by: NTom Rini <trini@ti.com>
-
由 Simon Glass 提交于
There is a structure in fs.c with just a probe method. By adding methods for other operations, we can avoid lots of #ifdefs and switch()s. As a first step, create the structure ready for use. Signed-off-by: NSimon Glass <sjg@chromium.org> Reviewed-by: NTom Rini <trini@ti.com>
-
由 Simon Glass 提交于
This code seems to be entirely othogonal, so remove the #ifdef and put the condition in the Makefile instead. Signed-off-by: NSimon Glass <sjg@chromium.org>
-
-
- 04 3月, 2013 11 次提交
-
-
-
由 Steven Miao 提交于
Add Bf60x resume from hibernate support Signed-off-by: NSteven Miao <realmz6@gmail.com> Signed-off-by: NSonic Zhang <sonic.zhang@analog.com> Signed-off-by: NBob Liu <lliubbo@gmail.com> Signed-off-by: NSonic Zhang <sonic.adi@gmail.com>
-
由 Bob Liu 提交于
Signed-off-by: NBob Liu <lliubbo@gmail.com> Signed-off-by: NSonic Zhang <sonic.zhang@analog.com> Signed-off-by: NSonic Zhang <sonic.adi@gmail.com>
-
由 Scott Jiang 提交于
Spi driver for bf60x is different from old one, so implement a new driver for it. Signed-off-by: NScott Jiang <scott.jiang.linux@gmail.com> Signed-off-by: NSonic Zhang <sonic.zhang@analog.com> Signed-off-by: NBob Liu <lliubbo@gmail.com> Signed-off-by: NSonic Zhang <sonic.adi@gmail.com>
-
由 Sonic Zhang 提交于
Add rsi/sdh support for bf60x. Signed-off-by: NSonic Zhang <sonic.zhang@analog.com> Signed-off-by: NBob Liu <lliubbo@gmail.com> Signed-off-by: NSonic Zhang <sonic.adi@gmail.com>
-
由 Sonic Zhang 提交于
Board and config header files for bf609-ezkit support. Signed-off-by: NBob Liu <lliubbo@gmail.com> Signed-off-by: NSonic Zhang <sonic.zhang@analog.com> Signed-off-by: NSonic Zhang <sonic.adi@gmail.com>
-
由 Bob Liu 提交于
Signed-off-by: NBob Liu <lliubbo@gmail.com> Signed-off-by: NSonic Zhang <sonic.zhang@analog.com> Signed-off-by: NSonic Zhang <sonic.adi@gmail.com>
-
由 Bob Liu 提交于
BF60x support 16K, 64K, 16M and 64M cplb pages, this patch add support for them. So that bf609-ezkit can use it's 128M memory. Signed-off-by: NBob Liu <lliubbo@gmail.com> Signed-off-by: NSonic Zhang <sonic.zhang@analog.com> Signed-off-by: NSonic Zhang <sonic.adi@gmail.com>
-
由 Bob Liu 提交于
Add dma support for bf60x. Signed-off-by: NBob Liu <lliubbo@gmail.com> Signed-off-by: NSonic Zhang <sonic.zhang@analog.com> Signed-off-by: NSonic Zhang <sonic.adi@gmail.com>
-
由 Sonic Zhang 提交于
Add serial for bf60x. Signed-off-by: NSonic Zhang <sonic.zhang@analog.com> Signed-off-by: NBob Liu <lliubbo@gmail.com> Signed-off-by: NSonic Zhang <sonic.adi@gmail.com>
-
由 Sonic Zhang 提交于
Set up clocks, DDR controller, Nor flash controller, reboot, serial port. Add new SPI boot modes. Signed-off-by: NBob Liu <lliubbo@gmail.com> Signed-off-by: NSonic Zhang <sonic.zhang@analog.com> Signed-off-by: NSonic Zhang <sonic.adi@gmail.com>
-