summaryrefslogtreecommitdiffstats
path: root/arch/arm/Makefile
Commit message (Collapse)AuthorAgeFilesLines
* ARM: initial support for TI DaVinci SoCsAntony Pavlov2014-03-181-0/+1
| | | | | | | | This commit adds minimal support for the DaVinci DM365 SoCs from Texas Instruments. Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: i.MX6: sabresd: switch to multi-imageLucas Stach2014-02-191-1/+0
| | | | | Signed-off-by: Lucas Stach <l.stach@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: i.MX53 karo-tx53: Switch to imximageSascha Hauer2014-02-141-0/+2
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: i.MX35: freescale-mx35-3stack: Switch to imx-imageSascha Hauer2014-02-141-0/+1
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: i.MX35: eukrea-cpuimx35: Switch to imx-imageSascha Hauer2014-02-141-0/+1
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: i.MX25: Eukrea cpuimx25: Switch to imx-imageSascha Hauer2014-02-141-0/+1
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: i.MX53: TQ tqma53: Switch to imx-imageSascha Hauer2014-02-141-0/+1
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: i.MX25: freescale-mx25-3stack: Switch to imx-imageSascha Hauer2014-02-141-0/+1
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: i.MX51: Eukrea cpuimx51: Switch to imx-imageSascha Hauer2014-02-131-0/+1
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: i.MX51 vincell: Switch to imximageSascha Hauer2014-02-131-0/+1
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: i.MX51 karo-tx51: Switch to imximageSascha Hauer2014-02-131-0/+1
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: i.MX51 ccxmx51: Switch to imximageSascha Hauer2014-02-131-0/+1
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: i.MX6 arm2: Switch to imximageSascha Hauer2014-02-131-0/+1
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: i.MX6 sabresd: Switch to imximageSascha Hauer2014-02-131-0/+1
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: i.MX53 SMD: Switch to imximageSascha Hauer2014-02-131-0/+10
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: rename boards to more consistent namingSascha Hauer2014-02-031-1/+1
| | | | | | | | | | This renames the Freescale and Phytec board directories and defconfig files to a common naming scheme. The board directories are named <vendor>-<board> and the defconfig files are named <vendor>-<board>_defconfig. Also the DataModul realq7 is renamed to its Marketing Name eDM-QMX6. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Merge branch 'for-next/socfpga'Sascha Hauer2013-10-071-0/+1
|\ | | | | | | | | Conflicts: scripts/Makefile
| * ARM: Add Altera SoCFPGA supportSascha Hauer2013-09-231-0/+1
| | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | scripts/omap_signGP: add getoptSascha Hauer2013-09-271-2/+1
|/ | | | | | | Instead of using positional arguments add proper getopt support. This also adds a help text. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Merge branch 'for-next/omap'Sascha Hauer2013-09-051-1/+1
|\ | | | | | | | | Conflicts: arch/arm/boards/pcm051/env/config
| * ARM: OMAP: Pass TEXT_BASE address to mk-am35xx-spi-imageTeresa Gámez2013-08-071-1/+1
| | | | | | | | | | | | | | | | Pass the TEXT_BASE to the mk-am35xx-spi-image as the default address does not fit for AM33xx. Signed-off-by: Teresa Gámez <t.gamez@phytec.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | ARM: mvebu: move Makefile entries back to arch/arm/MakefileSascha Hauer2013-08-161-0/+5
|/ | | | | | | | | The mvebu boards use the BOARD make variable for the kwbimage generation. This only exists in the old way, so move the mvebu board Makefile entries back to arch/arm/Makefile until they are converted to multiboard. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: AT91: Turn most board directories into regular build directoriesJean-Christophe PLAGNIOL-VILLARD2013-07-091-25/+0
| | | | | | | Just missing rm9200ek untill init switch to C struct Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: i.MX: remove now unused ARCH_IMX_INTERNAL_BOOT_USE_IMXIMAGESascha Hauer2013-07-021-8/+0
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: Turn most board directories into regular build directoriesSascha Hauer2013-07-021-69/+9
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: build dtbs depending on CONFIG_OFTREESascha Hauer2013-06-261-1/+1
| | | | | | | | | The upcoming multi image support will need devicetree binary blobs even when there is no builtin dtb. Instead of depending on CONFIG_BUILTIN_DTB depend on CONFIG_OFTREE and let this option select DTC. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Merge branch 'for-next/marvell'Sascha Hauer2013-06-021-0/+28
|\ | | | | | | | | Conflicts: arch/arm/Makefile
| * arm: mvebu: add basic support for Globalscale Guruplug boardThomas Petazzoni2013-05-171-0/+1
| | | | | | | | | | | | | | | | The Globalscale Guruplug board is a small NAS-type plug platform that uses a Marvell Kirkwood SoC. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * arm: add basic support for SolidRun CuBoxSebastian Hesselbarth2013-05-151-0/+1
| | | | | | | | | | | | | | | | The SolidRun CuBox is a small cubic platform based on the Marvell Dove SoC. There is nothing more than a console, yet. Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * arm: add basic support for the Armada XP GP platformThomas Petazzoni2013-05-131-0/+1
| | | | | | | | | | | | | | | | | | | | The Armada XP GP platform is an evaluation platform designed by Marvell, that uses the MV78460 quad-core SoC from the Armada XP family. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Tested-by: Gregory CLEMENT <gregory.clement@free-electrons.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * arm: add basic support for the Armada 370 Mirabox platformThomas Petazzoni2013-05-131-0/+1
| | | | | | | | | | | | | | | | | | The Mirabox is a platform manufactured by Globalscale, and based on the Marvell Armada 370 SoC. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Tested-by: Gregory CLEMENT <gregory.clement@free-electrons.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * arm: add basic support for Armada XP OpenBlocks AX3 platformThomas Petazzoni2013-05-131-0/+1
| | | | | | | | | | | | | | | | | | The OpenBlocks AX3 platform is manufactured by PlatHome and uses the MV78260 dual-core SoC from the Armada XP family. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Tested-by: Gregory CLEMENT <gregory.clement@free-electrons.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * arm: integrate kwbimage in the image generationThomas Petazzoni2013-05-131-0/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When a ARCH_MVEBU platform is selected, generate barebox.kwb and barebox.kwbuart images from barebox.bin, using kwbimage. barebox.kwb is generated by executing kwbimage on the board kwbimage.cfg file, and is therefore designed to be booted from the default boot media of the board, as defined by kwbimage.cfg (typically a NAND flash or SPI flash). barebox.kwbuart is generated by executing kwbimage on the board kwbimage.cfg file, but by overriding the boot media to be UART. This image is suitable for usage with the kwbtool and is generally useful for recovery purposes. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Tested-by: Gregory CLEMENT <gregory.clement@free-electrons.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> Squashed this fixup: arm: ensure the build doesn't fail when kwbimage lacks the binary blob mach-mvebu images for Armada 370 and Armada XP SoC require a DDR3 training code which should be extracted from existing bootable images for the relevant board. When such binary blob has not been extracted, the build of the .kwb and .kwbuart images will fail. This is annoying as it makes the build of all Armada 370/XP defconfig fail, which can be a problem for automated builds. This proposal makes the failure of kwbimage not a fatal failure for the build process, and shows a warning. The user therefore sees: ==================================================================== KWB barebox.kwb Didn't find the file 'plathome-openblocks-ax3-binary.0' in '/home/thomas/projets/barebox' which is mandatory to generate the image This file generally contains the DDR3 training code, and should be extracted from an existing bootable image for your board. See 'kwbimage -x' to extract it from an existing image. Could not create image WARNING: Couldn't create KWB image due to previous errors. KWBUART barebox.kwbuart Didn't find the file 'plathome-openblocks-ax3-binary.0' in '/home/thomas/projets/barebox' which is mandatory to generate the image This file generally contains the DDR3 training code, and should be extracted from an existing bootable image for your board. See 'kwbimage -x' to extract it from an existing image. Could not create image WARNING Couldn't create KWB image due to previous errors. ==================================================================== The only drawback is that barebox-flash-image, which normally points to barebox.kwb, becomes a stale symbolic link. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * arm: initial support for Marvell Armada 370/XP SoCsThomas Petazzoni2013-05-131-0/+1
| | | | | | | | | | | | | | | | | | This commit adds minimal support for the Armada 370 and Armada XP SoCs from Marvell. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Tested-by: Gregory CLEMENT <gregory.clement@free-electrons.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | Merge branch 'for-next/imx-oftree'Sascha Hauer2013-06-021-5/+0
|\ \ | | | | | | | | | | | | Conflicts: arch/arm/boards/freescale-mx51-pdk/board.c
| * | ARM: build dtbs during build process using extra-ySascha Hauer2013-05-201-5/+0
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When using a builtin dtb the builtin dtb is built twice, once from as a dependency of the 'dtbs' target and once as a dependency of the corresponding dtb.o target. This can happen in parallel with parallel make which results in build corruption when two processes try to generate the dtb at the same time. Typical errors include: fixdep: error opening depfile: arch/arm/dts/.imx51-babbage.dtb.d: No such file or directory make[1]: *** [arch/arm/dts/imx51-babbage.dtb] Error 2 fixdep: arch/arm/dts/.imx51-babbage.dtb.d is empty mv: cannot stat `arch/arm/dts/.imx51-babbage.dtb.tmp': No such file or directory make[1]: *** [arch/arm/dts/imx51-babbage.dtb] Error 1 To fix this build the devicetree blobs using extra-y instead of a separate target. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | Merge branch 'for-next/imx'Sascha Hauer2013-06-021-96/+106
|\ \ | | | | | | | | | | | | Conflicts: arch/arm/Makefile
| * | scripts: Add imx-usb-loader toolSascha Hauer2013-05-311-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | This adds host tools for i.MX to generate the i.MX internal flash header format and a tool to upload these images to an i.MX SoC via USB. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | ARM: Makefile: Make sure to clean boarddirsSascha Hauer2013-05-261-95/+97
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | On ARM the boarddirs are only cleaned due to the regular file pattern search, but are not explicitly cleaned. This makes it impossible to clean files which are not matched by a pattern but have to be explicitly cleaned due to adding them to extra-y. This patch changes the board-/board-y variables to += so that we can use $(board-) to add it to common-. This way the board directories are also cleaned. While touching the board-y variables anyway order them alphabetically. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | | Merge branch 'for-next/at91'Sascha Hauer2013-06-021-1/+2
|\ \ \
| * | | at91: add Calao QIL-A9G20Gregory Hermant2013-05-201-1/+2
| | |/ | |/| | | | | | | | | | | | | Signed-off-by: Gregory Hermant <gregory.hermant@calao-systems.com> Acked-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | | ARM: pbl: Always call pbl makeSascha Hauer2013-05-301-1/+1
| |/ |/| | | | | | | | | | | We always must decend into the pbl build. Otherwise it doesn't get rebuilt if only sourcefiles from the pbl are changed. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | ARM: zynq: Add cmd to generate zynq imageSascha Hauer2013-05-251-2/+5
| | | | | | | | | | | | | | | | Add a command to generate the zynq image instead of generating it directly. This causes a rebuild exactly when necessary and prints a "ZYNQ-IMG" to the commandline during compilation. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | ARM: pbl: fix make dependenciesSascha Hauer2013-05-251-11/+2
|/ | | | | | | | The pbl used 'zbarebox.bin' as target instead of the real file. This lead to strange effects that the images depending on zbarebox.bin were only built every second time. This uses the full path as target. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Merge branch 'for-next/zynq'Sascha Hauer2013-04-041-0/+10
|\ | | | | | | | | Conflicts: arch/arm/Makefile
| * ARM: zynq: add zynq fsbl checksum scriptSteffen Trumtrar2013-03-271-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | The bootrom only reads an image if the correct checksum is present in the header. The calculation is pretty simple: sum over all words from 0x20 to 0x44 Two of this words are the image length. That is why the checksum can not be calculated until barebox_image_size is known. The easiest solution is a program that has to be run after make. Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * ARM: zynq: Add new architecture zynqSteffen Trumtrar2013-03-271-0/+2
| | | | | | | | | | | | | | | | | | Add basic support for the Xilinx Zynq-7000 EPP architecture. The Zynq-7000 is an embedded processing platform that combines a Cortex A9 dualcore MPSoC with an Artix-7 FPGA. Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | Merge branch 'for-next/relocate'Sascha Hauer2013-04-041-0/+4
|\ \ | | | | | | | | | | | | Conflicts: arch/arm/lib/barebox.lds.S
| * | ARM: Add relocatable binary supportSascha Hauer2013-03-071-0/+4
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For making the same binary executable on different SoCs which have different DRAM addresses we have to be independent of the compile time link address. This patch adds relocatable binary support for the ARM architecture. With this two new functions are available. relocate_to_current_adr will fixup the binary to continue executing from the current position. relocate_to_adr will copy the binary to a given address, fixup the binary and continue executing from there. For the PBL and the real image relocatable support can be enabled independently. This is done to (hopefully) better cope with setups where the PBL runs from SRAM or ROM and the real binary does not. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | Merge branch 'for-next/oftree'Sascha Hauer2013-04-041-0/+12
|\ \