9
0
Fork 0
Commit Graph

15477 Commits

Author SHA1 Message Date
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
Michael Olbrich 249b40be7e efi: clocksoure: make sure the meassured frequency is valid
Some EFI implementations have a even slower tick rate and the meassured
frequency may be zero.

Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Acked-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2017-03-15 08:26:54 +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
Jean-Christophe PLAGNIOL-VILLARD 27f3f993b8 fix: console: expose consoles in devfs
on 64bit ssize_t is not an int but a long

so use the protype for fops_write ssize_t

common/console.c: In function ‘console_register’:
common/console.c:373:22: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types]
  newcdev->fops.write = fops_write;

in commit b4f55fcf35
By Bastian Stender <bst@pengutronix.de>

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2017-03-13 08:19:30 +01:00
Sascha Hauer 97d2da3d98 Merge branch 'for-next/video' 2017-03-13 08:16:53 +01:00
Sascha Hauer 6b926567c0 Merge branch 'for-next/usb' 2017-03-13 08:16:44 +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 e0093dcf23 Merge branch 'for-next/misc' 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 93c55ce098 Merge branch 'for-next/efi' 2017-03-13 08:16:43 +01:00
Sascha Hauer 12b6a916d6 Merge branch 'for-next/dts' 2017-03-13 08:16:39 +01:00
Sascha Hauer 56d9a9815a Merge branch 'for-next/at91' 2017-03-13 08:16:38 +01:00
Sascha Hauer 957bb6b6bc dts: update to v4.11-rc1
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2017-03-10 08:56:15 +01:00
Sascha Hauer cc2392cf4f dts: update to v4.10-rc8
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2017-03-10 08:56:02 +01:00
Sascha Hauer a614f64d72 Release v2017.03.0
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2017-03-10 08:50:24 +01:00
Marc Kleine-Budde 939d3a7684 fastboot: abort autoboot timeout when fastboot gadget is activated
This patch adds a call to "console_countdown_abort()" to abort a currently or
upcoming running console timeout.

Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2017-03-10 08:43:27 +01:00
Marc Kleine-Budde e3dda8553e console_countdown: add possibility to abort countdown by external commands
This patch makes it possible to abort a console countdown by an external
command, for example when fastboot is used. This requires additional
modifications in the external commands, a call to "console_countdown_abort()"
has to be inserted.

Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2017-03-10 08:43:27 +01:00
Marc Kleine-Budde 3d92ea4738 console_countdown: width to of countdown to 4 digits
This patch increases the displayed width of the countdown to 4 digits,
otherwise waiting for more then 99 seconds doesn't look good.

Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2017-03-10 08:43:26 +01:00
Sascha Hauer dfcfb5b831 bbu: Search for cdev names aswell
In bbu_find_handler_by_device() search for cdev names aswell since some
update handlers are registered with their cdev name and not the full
path.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2017-03-10 08:28:10 +01:00