9
0
Fork 0
Commit Graph

15496 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
Holger Hans Peter Freyther 1c738631f2 net: Initial frame to be able to send LLDP frames from barebox
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 f437135e64 fixup! davinci_nand: add support for the NAND controller 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
Holger Hans Peter Freyther e8cc0cd34d davinci_emac: add support for version 1 2017-03-30 20:23:31 +02:00
Holger Hans Peter Freyther 24117c8891 davinci_nand: add support for the NAND controller
This driver is based on the Linux driver (v4.0).

Signed-off-by: Jan Luebbe <jluebbe@debian.org>
2017-03-30 16:54:43 +02:00
Holger Hans Peter Freyther 4c3b7f285a partition: do not overwrite an existing DT node pointer
This is necessary to find EEPROM devices using the device tree nodes.

Signed-off-by: Jan Luebbe <jluebbe@debian.org>
2017-03-30 16:53:25 +02:00
Sascha Hauer 444ee36545 state: backend circular: Fix wrong comment
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2017-03-27 11:47:29 +02:00
Peter Mamonov f4ea4a134b usb_kbd: release all keys on error / disconnect
Signed-off-by: Peter Mamonov <pmamonov@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2017-03-24 07:15:30 +01:00
Sascha Hauer 9df009de99 state: bucket_circular: -EUCLEAN means data could be read
-EUCLEAN returned from state_mtd_peb_read() means that the
data shall still be used. This fixes initialization of buckets
which need cleanup

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2017-03-23 14:21:37 +01:00
Sascha Hauer 1fde9ef265 state: bucket_cached: Fix reading pages which need cleanup
When the raw device returns -EUCLEAN we have to return
successfully to the upper layer, otherwise it will discard the
data.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2017-03-23 14:21:33 +01:00
Sascha Hauer 66d7674f8b mtd: fix reading data from page that needs cleanup
mtd_read´() returns -EUCLEAN to indicate that a page needs cleanup.
This value shouldn't be returned from the mtd read file operation
since this should return the number of bytes read.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2017-03-23 14:20:01 +01: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 f604cc62be ATA: mvebu: select DISK_ATA
The already selected DISK_IDE_SFF depends on it.

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