- 29 2月, 2008 17 次提交
-
-
由 David Gibson 提交于
This patch adds an fdt_next_node() function which can be used to iterate through nodes of the tree while keeping track of depth. This function is used to simplify the iteration code in a lot of other functions, and is also exported for use by library users. Signed-off-by: NDavid Gibson <david@gibson.dropbear.id.au>
-
由 Bartlomiej Sieka 提交于
Signed-off-by: NBartlomiej Sieka <tur@semihalf.com>
-
由 Bartlomiej Sieka 提交于
Signed-off-by: NBartlomiej Sieka <tur@semihalf.com>
-
由 Marian Balakowicz 提交于
Use uint32_t when accessing size table in image_multi_count() and image_multi_getimg() for multi component images. Add missing uimage_to_cpu() endianness conversion. Signed-off-by: NMarian Balakowicz <m8@semihalf.com>
-
由 Marian Balakowicz 提交于
This patch adds the following common routines: 1) Dedicated mkimage print_header() is replaced with common image_print_contents() image_print_contents_noindent() 2) Common os/arch/type/comp fields name <--> id translation routines genimg_get_os_name() genimg_get_arch_name() genimg_get_type_name() genimg_get_comp_name() genimg_get_os_id() genimg_get_arch_id() genimg_get_type_id() genimg_get_comp_id() Signed-off-by: NMarian Balakowicz <m8@semihalf.com>
-
由 Marian Balakowicz 提交于
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: NMarian Balakowicz <m8@semihalf.com>
-
-
由 Kumar Gala 提交于
Signed-off-by: NKumar Gala <galak@kernel.crashing.org> Acked-by: NMarian Balakowicz <m8@semihalf.com>
-
由 Kumar Gala 提交于
Allow the user to set 'bootm_low' and 'bootm_size' env vars as a way to restrict what memory range is used for bootm. Signed-off-by: NKumar Gala <galak@kernel.crashing.org> Acked-by: NMarian Balakowicz <m8@semihalf.com>
-
由 Kumar Gala 提交于
Convert generic ramdisk_high(), get_boot_cmdline(), get_boot_kbd() functions over to using lmb for allocation of the ramdisk, command line and kernel bd info. Convert PPC specific fdt_relocate() to use lmb for allocation of the device tree. Provided a weak function that board code can call to do additional lmb reserves if needed. Also introduce the concept of bootmap_base to specify the offset in physical memory that the bootmap is located at. This is used for allocations of the cmdline, kernel bd, and device tree as they should be contained within bootmap_base and bootmap_base + CFG_BOOTMAPSZ. Signed-off-by: NKumar Gala <galak@kernel.crashing.org>
-
由 Kumar Gala 提交于
The autostart env variable was dropped as part of the initial new uImage cleanup. Add it back here so the arch specific code can decide if it wants to really boot or not. Signed-off-by: NKumar Gala <galak@kernel.crashing.org> Acked-by: NMarian Balakowicz <m8@semihalf.com>
-
由 Kumar Gala 提交于
Introduce the LMB lib used on PPC in the kernel as a clean way to manage the memory spaces used by various boot images and structures. This code will allow us to simplify the code in bootm and its support functions. Signed-off-by: NKumar Gala <galak@kernel.crashing.org>
-
由 Kumar Gala 提交于
For historical reasons we limited the stack to 256M because some boards could only map that much via BATS. However newer boards are capable of mapping more memory (for example 85xx is capable of doing up to 2G). Signed-off-by: NKumar Gala <galak@kernel.crashing.org> Acked-by: NMarian Balakowicz <m8@semihalf.com>
-
由 Kumar Gala 提交于
Changed image_get_ramdisk() to just return NULL on error and have get_ramdisk() propogate that error to the caller. It's left to the caller to call do_reset() if it wants to. Also moved calling do_reset() in get_fdt() and fdt_relocate() on ppc to a common location. In the future we will change get_fdt() and fdt_relocate() to return success/failure and not call do_reset() at all. Signed-off-by: NKumar Gala <galak@kernel.crashing.org> Acked-by: NMarian Balakowicz <m8@semihalf.com>
-
由 Kumar Gala 提交于
Doing the fdt before the ramdisk allows us to grow the fdt w/o concern however it does mean we have to go in and fixup the initrd info since we don't know where it will be. Signed-off-by: NKumar Gala <galak@kernel.crashing.org>
-
由 Kumar Gala 提交于
If we are bootin OF style than we can skip setting up some things that are used for the old boot method. Signed-off-by: NKumar Gala <galak@kernel.crashing.org> Acked-by: NMarian Balakowicz <m8@semihalf.com>
-
由 Kumar Gala 提交于
We don't actually need the kdb param as we are just using it to get bd->bi_memsize which we can get from gd->bd->bi_memsize. Also, if we boot via OF we might not actually fill out a kdb. Signed-off-by: NKumar Gala <galak@kernel.crashing.org> Acked-by: NMarian Balakowicz <m8@semihalf.com>
-
- 27 2月, 2008 7 次提交
-
-
由 Marian Balakowicz 提交于
Dual format image code must properly handle all three FDT passing methods: - raw FDT blob passed - FDT blob embedded in the legacy uImage - FDT blob embedded in the new uImage This patch enables proper raw FDT handling when no FIT imaeg support is compiled in. This is a bit tricky as we must dected FIT format even when FIT uImage handling is not enabled as both FIT uImages and raw FDT blobs use tha same low level format (libfdt). Signed-off-by: NMarian Balakowicz <m8@semihalf.com>
-
由 Marian Balakowicz 提交于
FDT blob may be passed either: (1) raw (2) or embedded in the legacy uImage (3) or embedded in the new uImage. For the (2) case embedding image must be verified before we get FDT from it. This patch factors out legacy image specific verification routine to the separate helper routine. Signed-off-by: NMarian Balakowicz <m8@semihalf.com> Acked-by: NKumar Gala <galak@kernel.crashing.org>
-
由 Marian Balakowicz 提交于
Legacy image specific verification is factored out to a separate helper routine to keep get_kernel() generic and simple. Signed-off-by: NMarian Balakowicz <m8@semihalf.com> Acked-by: NKumar Gala <galak@kernel.crashing.org>
-
由 Marian Balakowicz 提交于
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: NMarian Balakowicz <m8@semihalf.com> Acked-by: NKumar Gala <galak@kernel.crashing.org>
-
由 Marian Balakowicz 提交于
Signed-off-by: NMarian Balakowicz <m8@semihalf.com>
-
由 Marian Balakowicz 提交于
When CONFIG_HAS_DATAFLASH is not defined gen_get_image() routine has nothing to do, update its control flow to better reflect that simple case. Signed-off-by: NMarian Balakowicz <m8@semihalf.com> Acked-by: NKumar Gala <galak@kernel.crashing.org>
-
由 Marian Balakowicz 提交于
PPC specific FDT blob handling code is divided into two separate routines: get_fdt() - find and verify a FDT blob (either raw or image embedded) fdt_relocate() - move FDT blob to within BOOTMAP if needed Signed-off-by: NMarian Balakowicz <m8@semihalf.com> Acked-by: NKumar Gala <galak@kernel.crashing.org>
-
- 25 2月, 2008 1 次提交
-
-
由 Marian Balakowicz 提交于
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: NMarian Balakowicz <m8@semihalf.com>
-
- 24 2月, 2008 2 次提交
-
-
由 Wolfgang Denk 提交于
Signed-off-by: NWolfgang Denk <wd@denx.de>
-
Signed-off-by: NJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
-
- 23 2月, 2008 6 次提交
-
-
由 Shinya Kuribayashi 提交于
```------------------------------------------------------------- Olaf Hering [Wed, 17 Oct 2007 06:27:13 +0000 (23:27 -0700)] Remove the __STRICT_ANSI__ check from the __u64/__s64 declaration on 32bit targets. GCC can be made to warn about usage of long long types with ISO C90 (-ansi), but only with -pedantic. You can write this in a way that even then it doesn't cause warnings, namely by: #ifdef __GNUC__ __extension__ typedef __signed__ long long __s64; __extension__ typedef unsigned long long __u64; #endif The __extension__ keyword in front of this switches off any pedantic warnings for this expression. Signed-off-by: NOlaf Hering <olh@suse.de> Cc: <linux-arch@vger.kernel.org> Signed-off-by: NAndrew Morton <akpm@linux-foundation.org> Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org> ``` ------------------------------------------------------------- Signed-off-by: NShinya Kuribayashi <skuribay@ruby.dti.ne.jp>
-
由 Shinya Kuribayashi 提交于
This will reduce the build time. Signed-off-by: NShinya Kuribayashi <skuribay@ruby.dti.ne.jp>
-
由 Shinya Kuribayashi 提交于
This will reduce the build time. Signed-off-by: NShinya Kuribayashi <skuribay@ruby.dti.ne.jp>
-
由 Shinya Kuribayashi 提交于
This reduces the build time by ~10%. Here's the gth2_config example. BEFORE AFTER real 0m31.441s 0m27.833s user 0m24.766s 0m23.045s sys 0m10.425s 0m7.468s Signed-off-by: NShinya Kuribayashi <skuribay@ruby.dti.ne.jp>
-
由 Marcel Moolenaar 提交于
In the thread "[1.3.2-rc1] MPC8548CDS/MPC8555CDS configs fails to link", the define2mk.sed script was identified as the source of the link failure on FreeBSD. The problem is that sed(1) does not always support the '+' operator. It isn't on FreeBSD. The attach patch implements the equivalent, using the '*' operator instead and should work everywhere. Signed-off-by: NMarcel Moolenaar <marcelm@juniper.net>
-
由 Detlev Zundel 提交于
The Linux commit fac8b209b1084bc85748bd54e13d00c1262b220f ("Remove final traces of long-deprecated "ramdisk" kernel parm") makes these changes neccessary. Signed-off-by: NDetlev Zundel <dzu@denx.de>
-
- 22 2月, 2008 7 次提交
-
-
由 Larry Johnson 提交于
When the LM75 temperature sensor measures a temperature below 0 C, the current driver does not perform sign extension, so the result returned is 256 C too high. This patch fixes the problem. Signed-off-by: NLarry Johnson <lrj@acm.org>
-
由 Heiko Schocher 提交于
Signed-off-by: NHeiko Schocher <hs@denx.de>
-
由 Heiko Schocher 提交于
Rename the "scc" node in "ethernet" for the mgsuvd board. Signed-off-by: NHeiko Schocher <hs@denx.de>
-
由 Yuri Tikhonov 提交于
Some boards (e.g. lwmon5) may use rather small watchdog intervals, so causing it to reboot the board if U-Boot does a long busy-wait with udelay(). Thus, for these boards we have to restart WD more frequently. This patch splits the busy-wait udelay() into smaller, predefined, intervals, so that the watchdog timer may be resetted with the configurable (CONFIG_WD_PERIOD) interval. Signed-off-by: NYuri Tikhonov <yur@emcraft.com>
-
由 Anatolij Gustschin 提交于
Adds configuration option for ATI Radeon 9200 card support to sequoia config file. If CONFIG_VIDEO is enabled, TEXT_BASE should be changed to 0xFFF80000. Signed-off-by: NAnatolij Gustschin <agust@denx.de>
-
-
-