- Dec 13, 2013
-
-
Guilherme Maciel Ferreira authored
Add a test for dumpimage. Signed-off-by:
Guilherme Maciel Ferreira <guilherme.maciel.ferreira@gmail.com> Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Guilherme Maciel Ferreira authored
Given a multi-file image created through the mkimage's -d option: $ mkimage -A x86 -O linux -T multi -n x86 -d vmlinuz:initrd.img:System.map \ multi.img Image Name: x86 Created: Thu Jul 25 10:29:13 2013 Image Type: Intel x86 Linux Multi-File Image (gzip compressed) Data Size: 13722956 Bytes = 13401.32 kB = 13.09 MB Load Address: 00000000 Entry Point: 00000000 Contents: Image 0: 4040128 Bytes = 3945.44 kB = 3.85 MB Image 1: 7991719 Bytes = 7804.41 kB = 7.62 MB Image 2: 1691092 Bytes = 1651.46 kB = 1.61 MB It is possible to perform the innverse operation -- extracting any file from the image -- by using the dumpimage's -i option: $ dumpimage -i multi.img -p 2 System.map Although it's feasible to retrieve "data files" from image through scripting, the requirement to embed tools such 'dd', 'awk' and 'sed' for this sole purpose is cumbersome and unreliable -- once you must keep track of file sizes inside the image. Furthermore, extracting data files using "dumpimage" tool is faster than through scripting. Signed-off-by:
Guilherme Maciel Ferreira <guilherme.maciel.ferreira@gmail.com> Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Guilherme Maciel Ferreira authored
In order to avoid duplicating code and keep only one point of modification, the functions, structs and defines useful for "dumpimage" were moved from "mkimage" to a common module called "imagetool". This modification also weakens the coupling between image types (FIT, IMX, MXS, and so on) and image tools (mkimage and dumpimage). Any tool may initialize the "imagetool" through register_image_tool() function, while the image types register themselves within an image tool using the register_image_type() function: +---------------+ +------| fit_image | +--------------+ +-----------+ | +---------------+ | mkimage |--------> | | <-----+ +--------------+ | | +---------------+ | imagetool | <------------| imximage | +--------------+ | | +---------------+ | dumpimage |--------> | | <-----+ +--------------+ +-----------+ | +---------------+ +------| default_image | +---------------+ register_image_tool() register_image_type() Also, the struct "mkimage_params" was renamed to "image_tool_params" to make clear its general purpose. Signed-off-by:
Guilherme Maciel Ferreira <guilherme.maciel.ferreira@gmail.com> Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Guilherme Maciel Ferreira authored
This function should be declared static. Signed-off-by:
Guilherme Maciel Ferreira <guilherme.maciel.ferreira@gmail.com> Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Vladimir Zapolskiy authored
The last users of CONFIG_KGDB_SER_INDEX were removed more than 3 years ago in commits 550650dd and bf16500f, either kgdb subsystem should care about this parameter or it should be gone completely. Signed-off-by:
Vladimir Zapolskiy <vz@mleia.com>
-
Vladimir Zapolskiy authored
For LPC32XX high-speed UART it is required to send a carriage return symbol along with line feed. The problem was introduced in e503f90a commit. Signed-off-by:
Vladimir Zapolskiy <vz@mleia.com> Cc: Marek Vasut <marex@denx.de> Acked-by:
Marek Vasut <marex@denx.de>
-
- Dec 11, 2013
-
-
Prabhakar Kushwaha authored
The default value of CONFIG_SYS_FSL_TBCLK_DIV is 16. So, update its value as default. Signed-off-by:
Prabhakar Kushwaha <prabhakar@freescale.com> Acked-by:
York Sun <yorksun@freescale.com>
-
Claudiu Manoil authored
Add the __iomem address space marker for the tsec pointers to struct tsec_mii_mng memory mapped register regions. This solves the sparse warnings for mixig normal pointers with __iomem pointers for tsec. p1_p2_rdb_pc.c:373:24: warning: incorrect type in assignment (different address spaces) p1_p2_rdb_pc.c:373:24: expected struct tsec_mii_mng [noderef] <asn:2>*regs p1_p2_rdb_pc.c:373:24: got struct tsec_mii_mng *<noident> Use TSEC_GET_MDIO_REGS_BASE() for the remaining mdio 'regs' initializations to remove the __iomem warnings and for consistency. Signed-off-by:
Claudiu Manoil <claudiu.manoil@freescale.com> Acked-by:
York Sun <yorksun@freescale.com>
-
Shengzhou Liu authored
As mEMAC1 and mEMAC2 are dual-role MACs, which are used as 1G or 10G MAC. So we update dynamically 'cell-index' to '2' and '3' for 10GEC3 and 10GEC4. Also change 'fsl,fman-port-1g-rx' to 'fsl,fman-port-10g-rx', ditto for Tx. Signed-off-by:
Shengzhou Liu <Shengzhou.Liu@freescale.com> Acked-by:
York Sun <yorksun@freescale.com>
-
Shaohui Xie authored
A new valid setting case added for fman1, it uses platform frequency. Signed-off-by:
Shaohui Xie <Shaohui.Xie@freescale.com> Acked-by:
York Sun <yorksun@freescale.com>
-
- Dec 10, 2013
-
-
git://git.denx.de/u-boot-armTom Rini authored
Conflicts: board/samsung/trats2/trats2.c include/configs/exynos5250-dt.h Signed-off-by:
Tom Rini <trini@ti.com>
-
Albert ARIBAUD authored
Conflicts: arch/arm/cpu/armv7/rmobile/Makefile doc/README.scrapyard Needed manual fix: arch/arm/cpu/armv7/omap-common/Makefile board/compulab/cm_t335/u-boot.lds
-
git://git.denx.de/u-boot-x86Tom Rini authored
-
git://git.denx.de/u-boot-mmcTom Rini authored
-
git://git.denx.de/u-boot-i2cTom Rini authored
-
Ian Campbell authored
Signed-off-by:
Ian Campbell <ijc@hellion.org.uk> Cc: albert.u.boot@aribaud.net
-
Soren Brinkmann authored
Signed-off-by:
Soren Brinkmann <soren.brinkmann@xilinx.com> Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
- Dec 09, 2013
-
-
Mike Frysinger authored
We want to test SPI flash code in the sandbox, so enable the new drivers and the 'sf test' command. This command is used to validate the sandbox SPI / SPI flash implementation, so enable it. Signed-off-by:
Mike Frysinger <vapier@gentoo.org> Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Mike Frysinger authored
This adds a SPI flash driver which simulates SPI flash clients. Currently supports the bare min that U-Boot requires: you can probe, read, erase, and write. Should be easy to extend to make it behave more exactly like a real SPI flash, but this is good enough to merge now. sjg@chromium.org added a README and tidied up code a little. Added a required map_sysmem() for sandbox. Signed-off-by:
Mike Frysinger <vapier@gentoo.org> Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Mike Frysinger authored
This adds a SPI framework for people to hook up simulated SPI clients. Signed-off-by:
Mike Frysinger <vapier@gentoo.org> Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
This was obtained from Linux 3.12 commit 5e01dc7b26. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
This allows us to put the SPI flash chip inside the SPI interface node, with U-Boot finding the correct bus and chip select automatically. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
The new name is longer but more clearly related to sandbox. This is in a separate patch within the same series since some comments on the SPI series rely on it. Signed-off-by:
Simon Glass <sjg@chromium.org> Reviewed-by:
Hung-ying Tyan <tyanh@chromium.org>
-
Mateusz Kulikowski authored
Add support for USB-A9263 board manufactured by Calao Systems (http://www.calao-systems.com/ ). Code is based on old U-Boot sources (2010.09) released by Calao. Signed-off-by:
Mateusz Kulikowski <mateusz.kulikowski@gmail.com> Signed-off-by:
Andreas Bießmann <andreas.devel@googlemail.com>
-
Heiko Schocher authored
enable support for the siemens AT91SAM9G20 based board corvus. Signed-off-by:
Boris Schmidt <boris.schmidt@siemens.com> Reviewed-by:
Heiko Schocher <hs@denx.de> Cc: Andreas Bießmann <andreas.devel@googlemail.com> Cc: Bo Shen <voice.shen@atmel.com> Signed-off-by:
Andreas Bießmann <andreas.devel@googlemail.com>
-
Heiko Schocher authored
enable support for the siemens AT91SAM9G20 based boards taurus and axm. Signed-off-by:
Roger Meier <r.meier@siemens.com> Reviewed-by:
Heiko Schocher <hs@denx.de> Cc: Andreas Bießmann <andreas.devel@googlemail.com> Cc: Bo Shen <voice.shen@atmel.com> Signed-off-by:
Andreas Bießmann <andreas.devel@googlemail.com>
-
Andreas Bießmann authored
Signed-off-by:
Andreas Bießmann <andreas.devel@googlemail.com>
-
Andreas Bießmann authored
Signed-off-by:
Andreas Bießmann <andreas.devel@googlemail.com> Acked-by:
Jens Scharsig (BuS <Elektronik)<esw@bus-elektronik.de> Tested-by:
Jens Scharsig (BuS <Elektronik)<esw@bus-elektronik.de> Acked-by:
Scott Wood <scottwood@freescale.com>
-
Andreas Bießmann authored
In order to get the very same value for legacy pin definitions and new gpio definitions set the legacy PIN_BASE to 0. Signed-off-by:
Andreas Bießmann <andreas.devel@googlemail.com>
-
Andreas Bießmann authored
This patch define new names for GPIO pins on at91 devices. Follow up patches will convert the whole infrastructure to use these new definitions. Signed-off-by:
Andreas Bießmann <andreas.devel@googlemail.com> Tested-by:
Bo Shen <voice.shen@atmel.com>
-
- Dec 08, 2013
-
-
Kuo-Jung Su authored
Faraday FTSDC021 is a controller which is compliant with SDHCI v3.0, SDIO v2.0 and MMC v4.3. However this driver is only verified with SD memory cards. Signed-off-by:
Kuo-Jung Su <dantesu@faraday-tech.com> Acked-by:
Pantelis Antoniou <panto@antoniou-consulting.com> CC: Andy Fleming <afleming@gmail.com>
-
Priyanka Jain authored
Existing eSDHC SPL framework assumes booting from sd-image with boot_format header which contains final u-boot Image offset and size. No such header is present in case of corenet devices like T1040 as corenet deivces use PBI-RCW based intialization. So, for corenet deives, SPL bootloader use values provided at compilation time. These values can be defined in board specific config file. Signed-off-by:
Priyanka Jain <Priyanka.Jain@freescale.com> Acked-by:
Pantelis Antoniou <panto@antoniou-consulting.com>
-
Alexey Brodkin authored
If platform provides "host->fifoth_val" it will be used for initialization of DWMCI_FIFOTH register. Otherwise default value will be used. This implementation allows: * escape unclear and recursive calculations that are currently in use * use whatever custom value for DWMCI_FIFOTH initialization if any particular SoC requires it Signed-off-by:
Alexey Brodkin <abrodkin@synopsys.com> Cc: Mischa Jonker <mjonker@synopsys.com> Cc: Alim Akhtar <alim.akhtar@samsung.com> Cc: Rajeshwari Shinde <rajeshwari.s@samsung.com> Cc: Jaehoon Chung <jh80.chung@samsung.com> Cc: Amar <amarendra.xt@samsung.com> Cc: Kyungmin Park <kyungmin.park@samsung.com> Cc: Minkyu Kang <mk7.kang@samsung.com> Cc: Simon Glass <sjg@chromium.org> Cc: Pantelis Antoniou <panto@antoniou-consulting.com> Cc: Andy Fleming <afleming@freescale.com> Acked-by:
Jaehoon Chung <jh80.chung@samsung.com> Acked-by:
Pantelis Antoniou <panto@antoniou-consulting.com>
-
Jaehoon Chung authored
dw-mmc.c is the general driver file. So, remove the exynos specific code at dw-mmc.c. Instead, exynos specific cod can be move into exynos-dw_mmc.c. Signed-off-by:
Jaehoon Chung <jh80.chung@samsung.com> Acked-by:
Alexey Brodkin <abrodkin@synopsys.com> Acked-by:
Pantelis Antoniou <panto@antoniou-consulting.com> Acked-by:
Minkyu Kang <mk7.kang@samsung.com>
-
- Dec 07, 2013
-
-
Albert ARIBAUD authored
Current LDS files /DISCARD/ a lot of sections when linking ELF files, causing diagnostic tools such as readelf or objdump to produce partial output. Keep all section at link stage, filter only at objcopy time so that .bin remains minimal. Signed-off-by:
Albert ARIBAUD <albert.u.boot@aribaud.net> Reviewed-by:
Benoît Thébaudeau <benoit.thebaudeau@advansee.com>
-
- Dec 06, 2013
-
-
Masahiro Yamada authored
The lower 5 bit of MVBAR is UNK/SBZP. So, Monitor Vector Base Address must be 32-byte aligned. On the other hand, the secure monitor handler does not need 32-byte alignment. This commit moves ".algin 5" directive to the correct place. Signed-off-by:
Masahiro Yamada <yamada.m@jp.panasonic.com> Cc: Andre Przywara <andre.przywara@linaro.org> Acked-by:
Andre Przywara <andre.przywara@linaro.org>
-
Albert ARIBAUD authored
-
Albert ARIBAUD authored
-
Tom Rini authored
Signed-off-by:
Tom Rini <trini@ti.com>
-