- Jul 20, 2009
-
-
Peter Tyser authored
This cleans up U-Boot's toplevel directory a bit and makes the architecture 'config.mk' file naming and location similar to board and cpu 'config.mk' files Signed-off-by:
Peter Tyser <ptyser@xes-inc.com>
-
- Jul 17, 2009
-
-
Jean-Christophe PLAGNIOL-VILLARD authored
So far the console API uses the following naming convention: ======Extract====== typedef struct device_t; int device_register (device_t * dev); int devices_init (void); int device_deregister(char *devname); struct list_head* device_get_list(void); device_t* device_get_by_name(char* name); device_t* device_clone(device_t *dev); ======= which is too generic and confusing. Instead of using device_XX and device_t we change this into stdio_XX and stdio_dev This will also allow to add later a generic device mechanism in order to have support for multiple devices and driver instances. Signed-off-by:
Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Edited commit message. Signed-off-by:
Wolfgang Denk <wd@denx.de>
-
- Apr 04, 2009
-
-
Jean-Christophe PLAGNIOL-VILLARD authored
Some systems have zlib.h installed in /usr/include/. This isn't the desired file for u-boot code - we want the one in include/zlib.h. This rename will avoid the conflict. Signed-off-by:
Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by:
Mike Frysinger <vapier@gentoo.org>
-
- Feb 23, 2009
-
-
Olav Morken authored
The AT32UC3A0512ES chip has a bug when disabling interrupts. As a workaround, two NOPs can be inserted. Signed-off-by:
Gunnar Rangoy <gunnar@rangoy.com> Signed-off-by:
Paul Driveklepp <pauldriveklepp@gmail.com> Signed-off-by:
Olav Morken <olavmrk@gmail.com> Signed-off-by:
Haavard Skinnemoen <haavard.skinnemoen@atmel.com>
-
Olav Morken authored
The AVR32A architecture (which AT32UC3A-series is based on) has a different memory layout than the AVR32B-architecture. This patch moves addrspace.h to an arch-dependent directory in preparation for AT32UC3A-support. It also moves some address-space manipulation functions from io.h to addrspace.h. Signed-off-by:
Gunnar Rangoy <gunnar@rangoy.com> Signed-off-by:
Paul Driveklepp <pauldriveklepp@gmail.com> Signed-off-by:
Olav Morken <olavmrk@gmail.com> Signed-off-by:
Haavard Skinnemoen <haavard.skinnemoen@atmel.com>
-
Olav Morken authored
The AT32UC3A series of processors doesn't contain any cache, and issuing cache control instructions on those will cause an exception. This commit makes cacheflush.h arch-dependent in preparation for the AT32UC3A-support. Signed-off-by:
Gunnar Rangoy <gunnar@rangoy.com> Signed-off-by:
Paul Driveklepp <pauldriveklepp@gmail.com> Signed-off-by:
Olav Morken <olavmrk@gmail.com> Signed-off-by:
Haavard Skinnemoen <haavard.skinnemoen@atmel.com>
-
- Dec 08, 2008
-
-
Jean-Christophe PLAGNIOL-VILLARD authored
Signed-off-by:
Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Acked-by:
Haavard Skinnemoen <haavard.skinnemoen@atmel.com>
-
- Dec 06, 2008
-
-
Peter Tyser authored
Use the GNU 'date' command to auto-generate a new U-Boot timestamp on every compile. Signed-off-by:
Peter Tyser <ptyser@xes-inc.com>
-
- Oct 28, 2008
-
-
Kumar Gala authored
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 <galak@kernel.crashing.org>
-
- Oct 18, 2008
-
-
Jean-Christophe PLAGNIOL-VILLARD authored
Signed-off-by:
Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
-
- Sep 10, 2008
-
-
Jean-Christophe PLAGNIOL-VILLARD authored
Signed-off-by:
Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
-
Jean-Christophe PLAGNIOL-VILLARD authored
Signed-off-by:
Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
-
- Sep 01, 2008
-
-
Haavard Skinnemoen authored
Replace the avr32-specific board_init_info hook by the standard board_early_init_r hook and make it optional. board_early_init_r() runs somewhat earlier than board_init_info used to do, but this isn't a problem for any of the in-tree boards. Signed-off-by:
Haavard Skinnemoen <haavard.skinnemoen@atmel.com>
-
Haavard Skinnemoen authored
Replace the avr32-specific gclk_init() board hook with the standard board_postclk_init() hook which is supposed to run at the same point during initialization. Provide a dummy weak alias for boards not implementing this hook. The cost of this is: - 2 bytes for the dummy function (retal 0) - 2 bytes for each unnecessary function call (short rcall) which is a pretty small price to pay for avoiding lots of #ifdef clutter. In this particular case, all boards probably end up slightly smaller because we avoid the conditional checking if the gclk_init symbol is NULL. Signed-off-by:
Haavard Skinnemoen <haavard.skinnemoen@atmel.com>
-
- Aug 26, 2008
-
-
Kumar Gala authored
There is no need for each OS specific function to call do_reset() we can just do it once in bootm. This means its feasible on an error for the OS boot function to return. Also, remove passing in cmd_tbl_t as its not needed by the OS boot functions. flag isn't currently used but might be in the future so we left it alone. Signed-off-by:
Kumar Gala <galak@kernel.crashing.org>
-
Kumar Gala authored
Move determing if we have a ramdisk and where its located into the common code. Keep track of the ramdisk start and end in the bootm_headers_t image struct. Signed-off-by:
Kumar Gala <galak@kernel.crashing.org>
-
Kumar Gala authored
Move entry point code out of each arch and into common code. Keep the entry point in the bootm_headers_t images struct. Signed-off-by:
Kumar Gala <galak@kernel.crashing.org>
-
- Aug 11, 2008
-
-
Kumar Gala authored
The autostart revert caused a bit of duplicated code as well as code that was using images->autostart that needs to get removed so we can build again. Signed-off-by:
Kumar Gala <galak@kernel.crashing.org>
-
- May 27, 2008
-
-
Haavard Skinnemoen authored
All C code is compiled with -ffunction-sections -fdata-sections. Assembly functions should get their own sections as well so that everything looks consistent. Signed-off-by:
Haavard Skinnemoen <haavard.skinnemoen@atmel.com>
-
- Apr 18, 2008
-
-
Marian Balakowicz authored
Before new uImage code was merged, bootm code allowed for the kernel image to get overwritten during decompresion. new uImage introduced a check for image overwrites and refused to boot the image that got overwritten. This patch restores the old behavior. It also adds a warning when the image overwriten is a multi-image file, because in such case accessing componentes other than the first one will fail. Signed-off-by:
Marian Balakowicz <m8@semihalf.com>
-
- Mar 12, 2008
-
-
Marian Balakowicz authored
This patch updates architecture specific implementations of do_bootm_linux() adding new uImage format handling for operations like get kernel entry point address, get kernel image data start address. Signed-off-by:
Marian Balakowicz <m8@semihalf.com>
-
Marian Balakowicz authored
boot_get_ramdisk() and image_get_ramdisk() do not need all cmdtp, flag, argc and argv arguments. Simplify routines definition. Signed-off-by:
Marian Balakowicz <m8@semihalf.com>
-
- Feb 29, 2008
-
-
Marian Balakowicz authored
This patch introduces the following prefix convention for the image format handling and bootm related code: genimg_ - dual format shared code image_ - legacy uImage format specific code fit_ - new uImage format specific code boot_ - booting process related code Related routines are renamed and a few pieces of code are moved around and re-grouped. Signed-off-by:
Marian Balakowicz <m8@semihalf.com>
-
Kumar Gala authored
Signed-off-by:
Kumar Gala <galak@kernel.crashing.org> Acked-by:
Marian Balakowicz <m8@semihalf.com>
-
- Feb 27, 2008
-
-
Marian Balakowicz authored
Do not pass image verification flag directly to related routines. Simplify argument passing and move it to the bootm_header structure which contains curently processed image specific data and is already being passed on the argument list. Signed-off-by:
Marian Balakowicz <m8@semihalf.com> Acked-by:
Kumar Gala <galak@kernel.crashing.org>
-
Marian Balakowicz authored
Signed-off-by:
Marian Balakowicz <m8@semihalf.com>
-
- Feb 25, 2008
-
-
Marian Balakowicz authored
This patch adds framework for dual format images. Format detection is added and the bootm controll flow is updated to include cases for new FIT format uImages. When the legacy (image_header based) format is detected appropriate legacy specific handling is invoked. For the new (FIT based) format uImages dual boot framework has a minial support, that will only print out a corresponding debug messages. Implementation of the FIT specific handling will be added in following patches. Signed-off-by:
Marian Balakowicz <m8@semihalf.com>
-
- Feb 07, 2008
-
-
Marian Balakowicz authored
Architecture specific do_bootm_linux() routines share common ramdisk image processing code. Move this code to a common helper routine. Signed-off-by:
Marian Balakowicz <m8@semihalf.com>
-
Marian Balakowicz authored
Implementation of the do_bootm_linux() and other bootm helper routines is architecture specific code. As such it resides in lib_<arch> directories in files named <arch>_linux.c This patch renames those files to a more clear and accurate lib_<arch>/bootm.c form. List of the renamed files: lib_arm/armlinux.c -> lib_arm/bootm.c lib_avr32/avr32_linux.c -> lib_avr32/bootm.c lib_blackfin/bf533_linux.c -> lib_blackfin/bootm.c lib_i386/i386_linux.c -> lib_i386/bootm.c lib_m68k/m68k_linux.c -> lib_m68k/bootm.c lib_microblaze/microblaze_linux.c -> lib_microblaze/bootm.c lib_mips/mips_linux.c -> lib_mips/bootm.c lib_nios/nios_linux.c -> lib_nios/bootm.c lib_nios2/nios_linux.c -> lib_nios2/bootm.c lib_ppc/ppc_linux.c -> lib_ppc/bootm.c lib_sh/sh_linux.c -> lib_sh/bootm.c Signed-off-by:
Marian Balakowicz <m8@semihalf.com>
-
Marian Balakowicz authored
- use single image header pointer instead of a set of auxilliary variables. - add multi component image helper routines: get component size/data address Signed-off-by:
Marian Balakowicz <m8@semihalf.com>
-
Marian Balakowicz authored
- Add inline helper macros for basic header processing - Move common non inline code common/image.c - Replace direct header access with the API routines - Rename IH_CPU_* to IH_ARCH_* Signed-off-by:
Marian Balakowicz <m8@semihalf.com>
-
- Jan 18, 2008
-
-
Haavard Skinnemoen authored
I don't know why the relevant layers can't do this by itself, but this is what ppc does. Signed-off-by:
Haavard Skinnemoen <hskinnemoen@atmel.com>
-
- Dec 17, 2007
-
-
Haavard Skinnemoen authored
disable_interrupts() should return nonzero if interrupts were _enabled_ before, not disabled. Signed-off-by:
Haavard Skinnemoen <hskinnemoen@atmel.com>
-
Haavard Skinnemoen authored
The timer code depends on the timer interrupt to keep track of the upper 32 bits of the cycle counter. This obviously doesn't work when interrupts are disabled the whole time. Signed-off-by:
Haavard Skinnemoen <hskinnemoen@atmel.com>
-
- Oct 06, 2007
-
-
Haavard Skinnemoen authored
The ATSTK1000-specific flash driver intializes bi_flashstart, bi_flashsize and bi_flashoffset, but other flash drivers, like the CFI driver, don't. Initialize these in board_init_r instead so that things will still be set up correctly when we switch to the CFI driver. Signed-off-by:
Haavard Skinnemoen <hskinnemoen@atmel.com>
-
- Aug 10, 2007
-
-
Dirk Behme authored
Move the 64bit division from lib_avr32 to lib_generic. With this, all boards can do_div/__div64_32 if needed, not only avr one. Code is put to lib_generic, so no larger memory footprint if not used. No code modifications. Thanks for proposal by Håvard Skinnemoen. Signed-off-by:
Dirk Behme <dirk.behme@gmail.com>
-
- Jul 13, 2007
-
-
Heiko Schocher authored
Signed-off-by:
Heiko Schocher <hs@denx.de>
-
- Jul 09, 2007
-
-
Jon Loeliger authored
Signed-off-by:
Jon Loeliger <jdl@freescale.com>
-
- Jul 03, 2007
-
-
Jon Loeliger authored
This is a compatibility step that allows both the older form and the new form to co-exist for a while until the older can be removed entirely. All transformations are of the form: Before: #if (CONFIG_COMMANDS & CFG_CMD_AUTOSCRIPT) After: #if (CONFIG_COMMANDS & CFG_CMD_AUTOSCRIPT) || defined(CONFIG_CMD_AUTOSCRIPT) Signed-off-by:
Jon Loeliger <jdl@freescale.com>
-
- Apr 14, 2007
-
-
Haavard Skinnemoen authored
Implement MACB initialization for AVR32 and ATSTK1000, and turn everything on, including the MACB driver. Signed-off-by:
Haavard Skinnemoen <hskinnemoen@atmel.com>
-