9
0
Fork 0
Commit Graph

4701 Commits

Author SHA1 Message Date
Holger Hans Peter Freyther 03c48b742d sysmobts: Add support for revg and later versions 2017-03-30 20:23:55 +02:00
Harald Welte 6c5793a62d OWHW: Reset the switch only at power-up
We use the AM335x-provided reset reason to issue the SWITCH_RESET
only on actual power-up reset, andn ot at subsequent (soft) reboots.
2017-03-30 20:23:55 +02:00
Harald Welte ad57125cc8 OWHW: Issue SWITCH_RESET during boot
The hardware timings for SWITCH_RESET at power-up might not be
sufficient for a proper reset, so let's make sure we put the switch into
reset for at least 10ms (80E6063 requirement) during the boot-up
sequence.
2017-03-30 20:23:54 +02:00
Harald Welte 5c237290e9 OWHW: move boot state to beginning of partition
(somehow barebox-state resolves to the entire EEPROM, not the partition
 with its offset, so let's move the partition to the start to make sure
 barebox and linux agree about this)
2017-03-30 20:23:54 +02:00
Harald Welte 452b7dd48f OWHW: Add device tree for hardware v2 2017-03-30 20:23:54 +02:00
Jan Luebbe 929332da16 sysmobts: enable DSP clock
Signed-off-by: Jan Luebbe <jluebbe@debian.org>
2017-03-30 20:23:54 +02:00
Jan Luebbe d85cee4420 sysmobts: configure AEMIF CS3 for the FPGA
Signed-off-by: Jan Luebbe <jluebbe@debian.org>
2017-03-30 20:23:54 +02:00
Harald Welte cf239b47f8 OWHW: only set global.initrd if the system0/1 partition contains one 2017-03-30 20:23:53 +02:00
Harald Welte 53a92664d2 OWHW: Fix GPIO assignment for GPIO button (1_25 instead of 1_22) 2017-03-30 20:23:53 +02:00
Harald Welte 66c14d49d1 OWHW: Support AT24CM02 EEPROM 2017-03-30 20:23:53 +02:00
Harald Welte b666be6998 OWHW: Fix pinmux for I2C bus 1 (I2C_EXT) 2017-03-30 20:23:53 +02:00
Harald Welte 84688931cf Initial GSMK OWHW v1 board support 2017-03-30 20:23:52 +02:00
Jan Luebbe f97a686728 sysmobts: use slot layout for the rescue volume
Signed-off-by: Jan Luebbe <jluebbe@debian.org>
2017-03-30 20:23:52 +02:00
Jan Luebbe 28484c4c06 sysmocom-odu: use slot layout for the rescue volume
Signed-off-by: Jan Luebbe <jluebbe@debian.org>
2017-03-30 20:23:52 +02:00
Jan Luebbe 208d53ef9e sysmocom-odu: read mac addresses from EEPROM
Signed-off-by: Jan Luebbe <jluebbe@debian.org>
2017-03-30 20:23:52 +02:00
Jan Luebbe 1f07bf18ed sysmocom-odu: configure eeprom write-protect GPIO
Signed-off-by: Jan Luebbe <jluebbe@debian.org>
2017-03-30 20:23:51 +02:00
Jan Luebbe 7a93eadb10 sysmocom-odu: remove password configuration
Instead, it is configured only for the release version build using
yocto.

Signed-off-by: Jan Luebbe <jluebbe@debian.org>
2017-03-30 20:23:51 +02:00
Jan Luebbe 86b097442e sysmocom: set the default load address to 0x81000000
This solves a problem which causes boot failure when using a uImage with
device tree. It should also speed up boot because the kernel can skip
copying itself out of the way.

Signed-off-by: Jan Luebbe <jluebbe@debian.org>
2017-03-30 20:23:51 +02:00
Jan Luebbe 7fd1e0f4dc sysmocom: configure the watchdog for 60 seconds
Signed-off-by: Jan Luebbe <jluebbe@debian.org>
2017-03-30 20:23:51 +02:00
Jan Luebbe b6dbcd408a sysmobts: run lindent
Signed-off-by: Jan Luebbe <jluebbe@debian.org>
2017-03-30 20:23:50 +02:00
Jan Luebbe c5cd569198 sysmobts: disable NAND write protect where needed
Signed-off-by: Jan Luebbe <jluebbe@debian.org>
2017-03-30 20:23:50 +02:00
Jan Luebbe 8b61a7b135 sysmobts: detect the eeprom variant at runtime
Signed-off-by: Jan Luebbe <jluebbe@debian.org>
2017-03-30 20:23:50 +02:00
Jan Luebbe be17e14d38 sysmobts: fix board versio detection
Signed-off-by: Jan Luebbe <jluebbe@debian.org>
2017-03-30 20:23:50 +02:00
Jan Luebbe 121f852722 sysmobts: use uImages for now
Signed-off-by: Jan Luebbe <jluebbe@debian.org>
2017-03-30 20:23:49 +02:00
Jan Luebbe ff108b61cd sysmocom-odu: use uImages for now
Signed-off-by: Jan Luebbe <jluebbe@debian.org>
2017-03-30 20:23:49 +02:00
Jan Luebbe dc9a8b144c sysmobts: check for an oftree in the rescue image
Signed-off-by: Jan Luebbe <jluebbe@debian.org>
2017-03-30 20:23:49 +02:00
Jan Luebbe 5192ad9c61 sysmocom odu: add support
Signed-off-by: Jan Luebbe <jluebbe@debian.org>
2017-03-30 20:23:48 +02:00
Holger Hans Peter Freyther 3eb17085c2 misc: Save it as defconfig and enable the "login"/"passwd" command
We want to be able to force a token to enable the cli. This is
to avoid accidental interupts of the boot process.

Fixes: SYS#487
2017-03-30 20:23:48 +02:00
Holger Hans Peter Freyther 7e5be886c8 misc: Rename config to show up during make help
Fix the config name so we can save the config and apply it
easily. The meta-sysmocom-bsp file needs to be updated when
the SRCREV is increased.
2017-03-30 20:23:48 +02:00
Holger Hans Peter Freyther c1ad249d19 pcm051: Add config files as used by the ODU device 2017-03-30 20:23:48 +02:00
Holger Hans Peter Freyther de52393ab7 odu: Enable a login timeout and set a password
The default password is "odu-stop" in this case. The trailing
whitespace is copied from a barebox copy.

Fixes: SYS#487
2017-03-30 20:23:47 +02:00
Jan Luebbe 1fce712aa7 phytec-phycore: partially move partition setup from dtsi to dts
The partition layout is board-specific, so only the barebox partitions
need to be in the fixed location expected by the MLO code.

Signed-off-by: Jan Luebbe <jluebbe@debian.org>
2017-03-30 20:23:47 +02:00
Holger Hans Peter Freyther 5b7fa7b059 odu: Send a LLDP frame on boot
We need to wait some time between activating the ethernet and
being able to send the first frame. I have not investigated why
that is the case.

Fixes: SYS#488
2017-03-30 20:23:47 +02:00
Jan Luebbe d56b407d86 sysmobts: add support for the sysmobts v2 2017-03-30 20:23:46 +02:00
Jan Luebbe 05ae0684e0 arm: davinci: add dm644x clock and PSC support 2017-03-30 20:23:46 +02:00
Lucas Stach 26a1aedb1b ARM: mvebu: only build kwbootimage support if BOOTM is enabled
As this is the bootm image handler implementation for the kwbootimage
it is of no use if BOOTM is missing and fails to link.

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2017-03-22 07:59:25 +01:00
Lucas Stach ac0c067f2b ARM: add AFLAGS for secure monitor files
The instructions used in those files are only supported on ARMv7.

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2017-03-22 07:59:25 +01:00
Alexander Kurz 82c065d276 ARM: dts: i.MX7 WaRP7: remove wdog1 pinctrl workaround
The wdog1 pinctrl got fixed with linux upstream commit 213e51ca8df1 ("ARM:
dts: imx7: Add "LPSR" to LPSR iomux pin names").
Remove the old workaround, since it triggers a build error.

Signed-off-by: Alexander Kurz <akurz@blala.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2017-03-20 08:33:00 +01:00
Alexander Kurz d711adeec8 ARM: i.MX7: Kconfig: ARCH_IMX7 selects PINCTRL_IMX_IOMUX_V3
fsl,imx7d-iomuxc is provided by selecting PINCTRL_IMX_IOMUX_V3. Select it
since a system without it will not be very usefull.

Signed-off-by: Alexander Kurz <akurz@blala.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2017-03-20 08:30:27 +01:00
Yegor Yefremov 2846e53d2d arm: baltos: define baltos_sram_init() return type as void
As stated in the routine's description this routine is to return void,
hence fix its declaration to remove compiler warning.

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2017-03-13 09:13:17 +01:00
Sascha Hauer a2e3bad25f Merge branch 'for-next/rpi' 2017-03-13 08:16:44 +01:00
Sascha Hauer 6134116686 Merge branch 'for-next/mvebu' 2017-03-13 08:16:44 +01:00
Sascha Hauer 4e11672653 Merge branch 'for-next/imx' 2017-03-13 08:16:44 +01:00
Sascha Hauer 56d9a9815a Merge branch 'for-next/at91' 2017-03-13 08:16:38 +01:00
Andrey Smirnov a76714f7f9 clocksource: at91: Move to 'drivers/clocksource'
Move PIT driver code to 'drivers/clocsource' and accomodate it by
adjusting Kconfig variables. Rename the file to 'timer-atmel-pit.c' to
re-align the driver with code in Linux kernel.

Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2017-03-09 11:51:28 +01:00
Andrey Smirnov 2574148ad9 at91: Fix bug/typo in debug_ll.h
Correct "COFNIG" to "CONFIG".

Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2017-03-09 08:13:38 +01:00
Oleksij Rempel 19d5f3a77f ARM: imx233-olinuxino: add CONFIG_CONSOLE_ACTIVATE_ALL
if not set, barebox will use first console by default.
On this board first console is KEYBOARD_GPIO, so we will end
in unusable state.

Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2017-03-09 08:02:18 +01:00
Oleksij Rempel 3ca576cc4a scripts: imx/mxs remove mxs-usb-loader
... and use imx-usb-loader instead

Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2017-03-09 07:57:52 +01:00
Lucas Stach 7497685b05 ARM: execute DMB before trying to flush cache
The CPU write buffer needs to be coherent with the cache, otherwise
we might flush stale entries with the actual data stuck in the cache.

This is really important on newer CPU core with bigger write buffers.

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2017-03-03 07:06:06 +01:00
Lucas Stach d92ce9b36a ARM: correctly identify ARMv6 K/Z
The ARMv6 K/Z derivatives have a v7 compatible MMU, but all other parts
(including the cache handling) is still at v6. As we don't make use of
the more advanced features of the v7 MMU in Barebox, it's okay to just
override this to properly identify the CPU as ARMv6.

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2017-03-03 07:06:06 +01:00