9
0
Fork 0
Commit Graph

1142 Commits

Author SHA1 Message Date
Uwe Kleine-König f97f4b6571 mount: support filesystem options passed via -o
Similar to mount(8) the barebox command mount now supports passing a string
to the file system driver via -o.

This is used in the next commit to let the user specify port numbers for
nfs mounts.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-02-10 09:02:21 +01:00
Sascha Hauer 1130a8b16f ARM: i.MX21 ads: remove garbage at end of #ifdef
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-02-03 15:12:29 +01:00
Sascha Hauer 2a1f5f802e ARM: rename boards to more consistent naming
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>
2014-02-03 15:09:14 +01:00
Sascha Hauer adbf51abde Merge branch 'for-next/pxa' 2014-02-03 09:55:55 +01:00
Sascha Hauer 601bf0fcc6 Merge branch 'for-next/misc' 2014-02-03 09:55:54 +01:00
Sascha Hauer 4a53361beb Merge branch 'for-next/iomem'
Conflicts:
	arch/arm/mach-imx/external-nand-boot.c
2014-02-03 09:55:41 +01:00
Sascha Hauer c224cd3161 Merge branch 'for-next/imx'
Conflicts:
	arch/arm/boards/dmo-mx6-realq7/lowlevel.c
2014-02-03 09:55:13 +01:00
Sascha Hauer 021890a39e ARM: i.MX: Karo TX25: Switch to multiboard support
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-02-01 18:51:28 +01:00
Sascha Hauer 0e80f5b4cc ARM: i.MX: cleanup bootmode selection
Which bootmode is selected has no longer to be chosen by Kconfig. The
boards can decide themselves which bootmode they want to support. This
makes it unnecesary to ask the user which bootmode shall be supported,
so the "Select boot mode" becomes invisible and both support will be
compiled in as needed by the boards. NAND_IMX_BOOT goes away and the
already existing ARCH_IMX_EXTERNAL_BOOT_NAND can now be used for the
boards to depend on external nand boot.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-01-31 21:30:32 +01:00
Sascha Hauer 23f23a7224 ARM: i.MX25: Karo TX25: Switch to devicetree support
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-01-31 21:30:32 +01:00
Sascha Hauer 223af73a24 ARM: i.MX: edmqmx6: Copy fdt to SDRAM
barebox only recognizes boarddata as dtb if it is inside SDRAM, so
copy the dtb there if necessary.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-01-31 18:46:53 +01:00
Sascha Hauer 2af8bdd369 ARM: i.MX53: tqma53: Switch to devicetree and multiboard support
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-01-29 11:51:23 +01:00
Sascha Hauer 4da8bcc25b ARM: imx_v7_defconfig: Enable new boards
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-01-29 11:51:23 +01:00
Sascha Hauer 747b71b1fc ARM: phyCARD-i.MX27: Switch to devicetree probe support
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-01-29 11:51:19 +01:00
Sascha Hauer c5b7986089 ARM: i.MX: external NAND boot: pass boarddata
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-01-29 11:31:31 +01:00
Alexander Shiyan e5d31a7efd ARM: animeo_ip: Use __iomem specifier for memory pointer
Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-01-29 10:18:42 +01:00
Sascha Hauer 25cee7ec17 environment: Use accessor functions for default environment path
default_environment_path only exists when CONFIG_ENV_HANDLING is enabled.
Boards would have to #ifdef this if they wanted to use
default_environment_path. Use accessor functions instead which can
be ifdeffed on a single place.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-01-27 09:27:02 +01:00
Sascha Hauer f80282bf85 ARM: phyCARD-i.MX27: convert lowlevel init to c code
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-01-23 08:15:42 +01:00
Sascha Hauer 00bd286477 ARM: phyCARD-i.MX27: switch to new environment
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-01-23 08:15:42 +01:00
Sascha Hauer a7a7d6bbb1 ARM: phyCARD-i.MX27: register barebox update handler
To update barebox with the barebox_update command.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-01-23 08:15:42 +01:00
Sascha Hauer 66d409dfac ARM: phyCARD-i.MX27: increase barebox and kernel partition
More place for barebox and the kernel as both have the tendency to
get bigger.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-01-23 08:15:42 +01:00
Sascha Hauer 5a325e5580 ARM: phyCARD-i.MX27: remove unused variable
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
reported-by: Alexander Aring <alex.aring@gmail.com>
2014-01-23 08:15:42 +01:00
Sascha Hauer ecf4da52b0 ARM: Karo TX25: register external NAND boot update handler
To be able to update barebox with the barebox_update command.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-01-23 08:15:42 +01:00
Lucas Stach eeac3b7b67 hummingboard: fix entryfunction for real
The entry function wasn't changed properly when the
prototype changed.

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-01-23 08:15:42 +01:00
Steffen Trumtrar bfcdd2ddef ARM: i.MX53: dts: add support for MCIMX53-START-R
The start-r QSB has a different pmic than the older start QSB.
Add a new dts for the QSRB and let barebox generate two images when
LOCO is selected.

Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-01-23 08:15:42 +01:00
Sascha Hauer a59a7e7ae7 ARM: dts: change dmo,imx6q-realq7 compatible to dmo,imx6q-edmqmx6
To use the same compatible as the kernel.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-01-23 08:15:42 +01:00
Sascha Hauer 19b62c6dd2 ARM: dts: rename imx6q-dmo-realq7.dts to imx6q-dmo-edmqmx6.dts
As this name is used in the Kernel.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-01-23 08:15:41 +01:00
Lucas Stach 67221982b3 ARM: imx6: rename Carrier-1 to Hummingboard
Solidrun has renamed the Carrier-1 to Hummingboard.
This is also the name that is used in upstream Linux,
change barebox to be in line with that.

Signed-off-by: Lucas Stach <dev@lynxeye.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-01-23 08:15:41 +01:00
Lucas Stach 3c3e99d6ac ARM: imx6: add initial support for Nitrogen6X boards
Only the 1GB variant is supported for now, as I don't
have anything other to test with.

Signed-off-by: Lucas Stach <dev@lynxeye.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-01-23 08:15:41 +01:00
Lucas Stach c06522e88e ARM: imx6: add support for DL variant of SabreLite Board
Signed-off-by: Lucas Stach <dev@lynxeye.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-01-23 08:15:41 +01:00
Lucas Stach cda7fb110f ARM: imx53: guard voipac vmx53 init function
Otherwise we end up doing the VMX53 board init for
unrelated boards when using a multiimage build.

Signed-off-by: Lucas Stach <dev@lynxeye.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-01-23 08:15:41 +01:00
Sascha Hauer e6201db24d ARM: i.MX DFI FS700-M60: Update for new boards
This adds support for new board variants. Now Supported are:

- i.MX6q module with 1GiB Micron RAM
- i.MX6d/q modules with 1GiB/2GiB Nanya RAM
- i.MX6s modules with 512MiB/1GiB Nanya RAM

This has been tested on:

- i.MX6q module with 1GiB Micron RAM
- i.MX6d module with 2GiB Nanya RAM
- i.MX6s module with 1GiB Nanya RAM

The possible RAM equipment is:

- For the 512MiB module: 2x Nanya nt5cb128m16fp-di
- For the 1GiB modules: 2x Nanya nt5cc256m16cp or 4x Micron MT41K128M16JT-125
- For the 2GiB module: 4x Nanya nt5cc256m16cp

The 512MiB Nanya board is assumed to work with the same DCD table
as the 1GiB Nanya board. The variant is detected by mirroring at
512MiB, but this hasn't been tested by Pengutronix.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-01-23 08:15:37 +01:00
Sascha Hauer 42193d5b66 ARM: i.MX6 Sabrelite: add missing of_machine_is_compatible checks
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-01-22 08:03:29 +01:00
Robert Jarzmik b34140af5b ARM: mioa701: poweroff the board on long power press
When the board is on console, a way is added to manually power off the
board, on a long power key press (4s).

This enables to be able to poweroff the board whatever the state, and is
the only manual way (no mechanical possibility).

Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-01-20 16:38:08 +01:00
Robert Jarzmik 24b22cf0e8 ARM: mioa701 change MTD layout
As barebox has grown up in size, because UBI support is now embedded in
barebox, and because the IPL is at least rewritten to be fully GPL,
modify mioa701 support to take into account this new layout :
 - IPL is version 0.5
 - MTD layout is fully changed
 - the boot sequence is rewritten :
   - the volume up button triggers console mode
   - upon PowerOn or Sleep exit, power key is debounced and if not
   help board is powered off back
   - sdcard environment override can now stop the autoboot sequence
   - mtd environment override can now stop the autoboot sequence

Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-01-20 16:36:56 +01:00
Robert Jarzmik 6b07bf28cd ARM: mioa701: fix frequence speedup code
As barebox has become the true SPL of mioa701 board (no intermediate
SPL), a bug was uncovered in the init procedure, where the CPU voltage
was to be increased by commanding the I2C voltage regulator, while the
I2C was shut down.

Fix it by unclock-gating the power I2C bus before using it.

Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-01-20 16:36:56 +01:00
Sascha Hauer c8156afa22 ARM: i.MX DFI FS700-M60: Add SPI NOR flash update handler
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>

Conflicts:
	arch/arm/boards/dfi-fs700-m60/board.c
2014-01-15 08:25:19 +01:00
Alexander Shiyan c81f103887 ARM: freescale-mx51-pdk: Remove FEC GPIO handling
Reset GPIO now handled from DTS, no need to touch this in the board.

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-01-10 08:21:51 +01:00
Sascha Hauer aebde15776 Merge branch 'for-next/socfpga' 2014-01-07 11:57:51 +01:00
Sascha Hauer 8720919039 Merge branch 'for-next/arm-barebox-bootm' 2014-01-07 11:57:51 +01:00
Sascha Hauer cee2a60c56 ARM: remove armlinux_set_bootparams() calls from boards
As the place for the atags now is determined automatically the call
from the boards can be removed.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-01-06 14:25:05 +01:00
Jan Weitzel 537c4abb6f ARM: OMAP: early call am33xx_register_ethaddr
am33xx_register_ethaddr must be called before cpsw driver start.
Move it from devices_initcall to coredevice_initcall.

Signed-off-by: Jan Weitzel <j.weitzel@phytec.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2013-12-12 09:09:06 +01:00
Jan Weitzel db9d2e9f95 pcm051: ethernet and dts fixes
add compatible phytec,pcm051
clean up pinmux_emac_rmii1_pins
introduce davinci_mdio_default pin group
set AM33XX_MAC_MII_SEL via dts rmii-clock-ext
use bch8 as ecc mode
add pagesize to 24c32@52

Signed-off-by: Jan Weitzel <j.weitzel@phytec.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2013-12-12 09:09:06 +01:00
Sascha Hauer 72930d623c ARM: solidrun-carrier-1: Fix wrong ENTRY_FUNCTION
ENTRY_FUNCTION was changed, fix compilation.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2013-12-11 09:14:41 +01:00
Sascha Hauer 4e6cd5b6ed ARM: am335x Phytec phyCORE: configure environment from devicetree
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2013-12-10 14:35:34 +01:00
Sascha Hauer b037240d1f ARM: am335x Phytec phyCORE: Move partition descriptions to devicetree
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2013-12-10 14:35:34 +01:00
Sascha Hauer 9dd7b7a0f2 ARM: beaglebone: Switch to devicetree and multiimage
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2013-12-10 14:35:34 +01:00
Sascha Hauer 9080ddd214 ARM: am33xx Phytec phyCORE: Switch to multiimage support
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2013-12-10 14:35:34 +01:00
Sascha Hauer 038806d8e2 ARM: am33xx Phytec phyCORE: initialize debug UART
Add debug UART initialization to lowlevel init and print a '>'. Helps
debugging lowlevel code.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2013-12-10 14:35:34 +01:00
Sascha Hauer da7ddb69dd ARM: am335x phytec phyCORE: Switch to devicetree probe support
This switches the am335x Phytec phyCORE to devicetree probe support.
For now we use a linked in dtb.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2013-12-10 14:35:34 +01:00