summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | OMAP4_USBboot: Change output text formattingVicente Bergas2014-03-241-8/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The basic console used for USBboot has two different formattings, one for text coming from the host and another for text coming from the target. This change makes both formattings readable regardless of the console background color. Signed-off-by: Vicente Bergas <vicencb@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | clocksource: add dummy software-only clocksourceAntony Pavlov2014-03-193-0/+80
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | This driver is very handy for initial barebox porting. It was used for running barebox on DiGiC2-based camera and initial porting barebox to Loongson-1 and ar9331. Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> Reported-by: Alexander Aring <alex.aring@gmail.com> Reported-by: Alexander Shiyan <shc_work@mail.ru>
* | | Merge branch 'for-next/menutree'Sascha Hauer2014-04-0437-150/+347
|\ \ \
| * | | defenv-2: replace menu with menutreeSascha Hauer2014-03-2829-150/+49
| | | | | | | | | | | | | | | | | | | | | | | | This makes the menu easier to extend and to maintain. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | add menutree commandSascha Hauer2014-03-287-0/+256
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Creating menus from the shell using the regular 'menu' command is rather complicated. This adds a 'menutree' command which creates a menu from a directory structure. In the directory structure each directory corresponds to a single menu entry. The directory contains the following files: title - A file containing the title of the entry as shown in the menu box - If present, the entry is a 'bool' entry. The file contains a variable name from which the current state of the bool is taken from and saved to. action - if present this file contains a shell script which is executed when when the entry is selected. If neither 'box' or 'action' are present this entry is considered a submenu containing more entries. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | Add shell_expand functionSascha Hauer2014-03-282-0/+42
| | | | | | | | | | | | | | | | | | | | | | | | shell_expand expands shell variables in a string. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | | | Merge branch 'for-next/imx-phyflex'Sascha Hauer2014-04-0421-236/+544
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | Conflicts: arch/arm/boards/phytec-phyflex-imx6/board.c
| * | | | ARM: pfla02: Set new ethernet phy tx timingsChristian Hemp2014-03-261-0/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | TX_CLK line is approx. 54mm longer than other TX lines which adds a delay of 0.36ns. RGMII need a delay of min. 1.0ns. This mean we have to add a delay of 0.64ns. We choose 0.78 to have a little gap. This can be done by setting GTX pad skew value to 11100 Also add a delay for the RX delay lines, needed for the Duallite variant. => Set register 2.8 (RGMII Clock Pad Skew) to 0x039F. Signed-off-by: Christian Hemp <c.hemp@phytec.de>
| * | | | ARM: pfla02: Add support for DualLite and Solo coreChristian Hemp2014-03-2616-230/+494
| | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Christian Hemp <c.hemp@phytec.de> Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
| * | | | ARM: pfla02: add 4GB versionChristian Hemp2014-03-266-3/+30
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Christian Hemp <c.hemp@phytec.de>
| * | | | ARM: pfla02: Drop unnecessary compilation of flash headersSascha Hauer2014-03-261-3/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | They are unused. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | | | | Merge branch 'for-next/imx'Sascha Hauer2014-04-0417-222/+727
|\ \ \ \ \
| * | | | | ARM: Phytec phyCORE i.MX35: Update defconfigSascha Hauer2014-04-041-8/+5
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | | | ARM: i.MX6 Phytec phyFLEX: Add Nand update supportSascha Hauer2014-04-031-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | | | ARM: i.MX6: Add Nand boot bbu handlerSascha Hauer2014-04-034-0/+510
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | | | arm: imx53: qsb: set hostname from board fileLucas Stach2014-03-232-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Otherwise it won't get set in a multiimage build. Signed-off-by: Lucas Stach <l.stach@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | | | ARM: i.MX27: dts: Separate barebox-specific DT changesAlexander Shiyan2014-03-176-209/+172
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | To ease DT import from Linux, which is still maintained in-tree, we separate barebox-specific changes by including the original dts in a separate DT file. This allows to overlay modifications and keep clean DT history. Additionally, this patch updates i.MX27 DTS tree. Signed-off-by: Alexander Shiyan <shc_work@mail.ru> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | | | ARM: mx53-qsb: update defconfigEric Bénard2014-03-101-2/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - enable more commands : (menu, password, loadb, let, mm, sha*, bootz, of*, memtest) - enable led and led triggers - enable sata support - enable USB chipidea support - enable USB network drivers - enable NFS and DNS support - enable EXT4 support Signed-off-by: Eric Bénard <eric@eukrea.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | | | ARM: mx53-qsrb: enable sataEric Bénard2014-03-101-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | tested on i.MX53 START-R : barebox@Freescale i.MX53 Quick Start-R Board:/ ata0.probe=1 imx-sata 10000000.sata: port 0: SATA link ok imx-sata 10000000.sata: port 0: Spinning up device... imx-sata 10000000.sata: port 0: ok. ata0: registered /dev/ata0 Signed-off-by: Eric Bénard <eric@eukrea.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | | | ARM: mx53-qsrb: enable USB hostEric Bénard2014-03-101-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - declare the rigth mux for the GPIO used to enable the USB's 5V - enable USB host controller tested on i.MX53 START-R : barebox@Freescale i.MX53 Quick Start-R Board:/ usb -f USB: scanning bus for devices... Bus 001 Device 001: ID 0000:0000 EHCI Host Controller Using index 0 for the new disk Bus 002 Device 003: ID 0951:1654 DT R500 Bus 002 Device 002: ID 0000:0000 EHCI Host Controller 3 USB Device(s) found Signed-off-by: Eric Bénard <eric@eukrea.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | | | ARM: i.MX53: Rename sata clocks according to Linux dtsSascha Hauer2014-03-101-2/+2
| | |_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I accidently merged the initial data device node which contained clocks in the sata node which were not compatible to the ones in the kernel. Fix this. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | | | | Merge branch 'for-next/davinci'Sascha Hauer2014-04-0425-0/+824
|\ \ \ \ \
| * | | | | ARM: davinci: add virt2real_defconfigAntony Pavlov2014-03-191-0/+49
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | | | ARM: virt2real: add documentationAntony Pavlov2014-03-193-0/+44
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | | | ARM: davinci: add virt2real board supportAntony Pavlov2014-03-196-0/+107
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The virt2real microcontroller, or virturilka, is a miniature board for creation of WiFi or internet controllable smart devices. See http://virt2real.com for details. Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | | | ARM: davinci: add documentationAntony Pavlov2014-03-182-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | | | ARM: dts: Add TI TMS320DM365 devicetree fileAntony Pavlov2014-03-181-0/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | | | gpio: add driver for TI DaVinci SoCsAntony Pavlov2014-03-184-0/+220
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This driver is dts-only version of driver from Linux v3.14-rc5. Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | | | ARM: davinci: add clocksourceAntony Pavlov2014-03-182-0/+116
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | | | ARM: davinci: add DEBUG_LL supportAntony Pavlov2014-03-182-0/+43
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | | | ARM: initial support for TI DaVinci SoCsAntony Pavlov2014-03-188-0/+176
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
| * | | | | import _AC and UL macros from linux kernelAntony Pavlov2014-03-182-0/+34
| | |_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This macros are used in exported from linux TI DaVinci code. Also this macros are used in MIPS cache support code. Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | | | | Merge branch 'for-next/boot'Sascha Hauer2014-04-043-39/+173
|\ \ \ \ \
| * | | | | blspec: Check if an entry is compatible with the current machineSascha Hauer2014-03-241-2/+79
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When a bootspec entry has the 'devicetree' property specified, check if the tree is compatible with the currently running machine, otherwise ignore the entry. This makes it possible to have entries for multiple machines on an SD card and pick a suitable one. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | | | blspec: honor default/once entries againSascha Hauer2014-03-242-6/+41
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | | | boot command: only create boot entries from scriptsSascha Hauer2014-03-191-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When given a directory ignore all files that are not shell scripts. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | | | boot command: honour global.boot.default also for -l and -mSascha Hauer2014-03-191-31/+48
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The boot command is expected to work on bootsources from the commandline if given, on global.boot.default otherwise. Fix this behaviour for the -m and -l options also. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | | | | Merge branch 'for-next/mips'Sascha Hauer2014-04-0439-81/+966
|\ \ \ \ \
| * | | | | MIPS: qemu-malta: add CBUS UART supportAntony Pavlov2014-04-032-0/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds CBUS UART dts support; also it adds the necessary macros for DEBUG_LL. qemu-malta supports three serial interfaces: * two ports are provided by the FDC37M817 Super I/O; this chip is connected via LPC bus to Intel 82371EB (PIIX4E) South Bridge; * the third serial port is provided by the discrete TI 16C550C (CBUS UART); this chip is connected via CBUS directly to the board's GT64120 North Bridge. See Malta User's Manual (MD00048) for details. CBUS UART Instructions for use: 1. Enable CONFIG_CONSOLE_ACTIVATE_ALL in .config (or disable uart0 in dts) and compile barebox; 2. run qemu: qemu-system-mips -nographic -nodefaults \ -monitor null -M malta -m 256 \ -serial null -serial null -serial stdio \ -bios barebox-flash-image Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | | | MIPS: rzx50: use short form for serial1 referenceAntony Pavlov2014-03-311-5/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | | | MIPS: add tplink-mr3020_defconfigAntony Pavlov2014-03-281-0/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | | | MIPS: tplink-mr3020: add documentationAntony Pavlov2014-03-282-0/+65
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | | | MIPS: ath79: add tplink-mr3020 board supportAntony Pavlov2014-03-285-0/+53
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This board support code can be used for TP-LINK WR703 too. TP-LINK WR703 is very similar to TP-LINK MR3020, there are some non-essential differences: * WR703 is smaller and cheaper; * WR703 has only one led, but MR3020 has five leds; * MR3020 uses mini-USB connector, WR703 uses micro-USB connector. See https://forum.openwrt.org/viewtopic.php?id=45159 for details. Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | | | MIPS: ath79: ar9331: add devicetree filesAntony Pavlov2014-03-282-0/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | | | clk: add Atheros AR933x driverAntony Pavlov2014-03-283-0/+196
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Oleksij Rempel <linux@rempel-privat.de> Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | | | serial: add Atheros AR933x driverAntony Pavlov2014-03-284-0/+281
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Signed-off-by: Oleksij Rempel <linux@rempel-privat.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | | | MIPS: ath79: add DEBUG_LL support for Atheros AR933xAntony Pavlov2014-03-282-0/+57
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | | | MIPS: add Atheros ar933x family supportDu Huanpeng2014-03-287-0/+152
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use the mach-ath79 name for compatibility with linux kernel. Signed-off-by: Du Huanpeng <u74147@gmail.com> Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Signed-off-by: Oleksij Rempel <linux@rempel-privat.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | | | MIPS: lib: add BAREBOX_CLK_TABLE to linker scriptAntony Pavlov2014-03-281-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit is based on commit fa1a406f7245c5482a17014d5b97e8948352e5a5 Author: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com> Date: Sat Nov 9 14:24:18 2013 +0100 ARM: lib: add BAREBOX_CLK_TABLE to linker script This adds an .oftables section right before .dtb section with BAREBOX_CLK_TABLE to ARM linker script. Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | | | MIPS: boards: rename rzx50 -> ritmix-rzx50Antony Pavlov2014-03-269-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | All MIPS board use <vendor>-<model> name template save Ritmix RZX-50. This commit fixes this inconsistency. Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>