9
0
Fork 0
Commit Graph

4720 Commits

Author SHA1 Message Date
Holger Hans Peter Freyther 68cc53455b sysmobts: Apply cargo cult and apply workaround
It is not perfectly clear that these apply to our DM6442, it is not
clear we need them but right now I would like to reduce the delta
from U-Boot to Barebox in terms of system initialization.

So apply some form of cargo cult and do the same as U-boot. This has
not been tested on a board and needs to be done. Then it can be put
back into our "master" branch. But it looks writel takes the value
first and then the address.
2016-06-28 09:36:24 +02:00
Holger Hans Peter Freyther 5c5b53555b sysmobts: Increase FPGA turn-a-round time to help NAND
For the Toshiba NAND chip if both NAND (read) and FPGA CS the
time to switch might not be enough. Wait longer as discussed
by email.
2016-06-28 09:15:35 +02:00
Holger Hans Peter Freyther ccabbeb6c2 sysmobts: Always attach as ubi1 to avoid clash with the system 2016-06-11 11:12:22 +02:00
Holger Hans Peter Freyther ae9ef45dd2 rescue: ubiattach /dev/mtd4 as ubi0
This makes the rest of the software kind of work and leaves the
rescue ubi unattached.
2016-06-10 19:00:52 +02:00
Holger Hans Peter Freyther 52b44d0271 sysmobts: Put the rescue system into a ubi on its own.
When ubifs/ubi corrupts... the only way to recover is to format it
again. We can only do that _if_ the rescue image is not in it. It is
annoying because it means system0/system1 and rescue can not share
the same reservation for badblocks.
2016-06-10 18:37:39 +02:00
Holger Hans Peter Freyther f2b03e21a8 sysmobts: Add support for revg and later versions 2016-06-06 14:34:17 +02:00
Harald Welte ec82959f05 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.
2016-04-10 12:49:04 +02:00
Harald Welte ccbf22a14b 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.
2016-04-10 12:48:50 +02:00
Harald Welte 341203778b 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)
2016-02-23 00:33:04 +01:00
Harald Welte ce8849b03a OWHW: Add device tree for hardware v2 2016-02-17 20:04:16 +01:00
Jan Luebbe 0b1cbb933d sysmobts: enable DSP clock
Signed-off-by: Jan Luebbe <jluebbe@debian.org>
2015-11-22 16:00:07 +01:00
Jan Luebbe db4205f8ba sysmobts: configure AEMIF CS3 for the FPGA
Signed-off-by: Jan Luebbe <jluebbe@debian.org>
2015-11-22 16:00:07 +01:00
Harald Welte 8a75b87fb2 OWHW: only set global.initrd if the system0/1 partition contains one 2015-11-07 17:22:01 +01:00
Harald Welte 238fc4b130 OWHW: Fix GPIO assignment for GPIO button (1_25 instead of 1_22) 2015-11-05 16:15:15 +01:00
Harald Welte 4e4776272a OWHW: Support AT24CM02 EEPROM 2015-11-01 23:19:08 +01:00
Harald Welte 4d1c656aa7 OWHW: Fix pinmux for I2C bus 1 (I2C_EXT) 2015-10-31 18:21:08 +01:00
Harald Welte 7b346a04b7 Initial GSMK OWHW v1 board support 2015-10-31 18:08:07 +01:00
Jan Luebbe 95e1a85cb2 sysmobts: use slot layout for the rescue volume
Signed-off-by: Jan Luebbe <jluebbe@debian.org>
2015-08-06 14:26:36 +02:00
Jan Luebbe b4f2980ff1 sysmocom-odu: use slot layout for the rescue volume
Signed-off-by: Jan Luebbe <jluebbe@debian.org>
2015-08-06 14:26:10 +02:00
Jan Luebbe 56c50b3f4b sysmocom-odu: read mac addresses from EEPROM
Signed-off-by: Jan Luebbe <jluebbe@debian.org>
2015-08-06 13:01:31 +02:00
Jan Luebbe 0b3fd92ffb sysmocom-odu: configure eeprom write-protect GPIO
Signed-off-by: Jan Luebbe <jluebbe@debian.org>
2015-07-03 14:41:47 +02:00
Jan Luebbe 9f78d1b7a7 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>
2015-06-30 18:25:01 +02:00
Jan Luebbe 05d4d07f38 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>
2015-06-15 14:13:33 +02:00
Jan Luebbe ca0ad3d6ec sysmocom: configure the watchdog for 60 seconds
Signed-off-by: Jan Luebbe <jluebbe@debian.org>
2015-06-15 14:13:00 +02:00
Jan Luebbe 05bacd6d5a sysmobts: run lindent
Signed-off-by: Jan Luebbe <jluebbe@debian.org>
2015-06-14 12:33:04 +02:00
Jan Luebbe 3fde441a69 sysmobts: disable NAND write protect where needed
Signed-off-by: Jan Luebbe <jluebbe@debian.org>
2015-06-14 12:17:09 +02:00
Jan Luebbe 28d0b22dfc sysmobts: detect the eeprom variant at runtime
Signed-off-by: Jan Luebbe <jluebbe@debian.org>
2015-06-14 12:17:09 +02:00
Jan Luebbe 2d5f45ce27 sysmobts: fix board versio detection
Signed-off-by: Jan Luebbe <jluebbe@debian.org>
2015-06-14 12:17:09 +02:00
Jan Luebbe 871416425c sysmobts: use uImages for now
Signed-off-by: Jan Luebbe <jluebbe@debian.org>
2015-06-14 12:17:09 +02:00
Jan Luebbe eaac82d37f sysmocom-odu: use uImages for now
Signed-off-by: Jan Luebbe <jluebbe@debian.org>
2015-06-14 12:17:09 +02:00
Jan Luebbe 406123c72f sysmobts: check for an oftree in the rescue image
Signed-off-by: Jan Luebbe <jluebbe@debian.org>
2015-06-14 12:17:09 +02:00
Jan Luebbe 6c68ef7121 sysmocom odu: add support
Signed-off-by: Jan Luebbe <jluebbe@debian.org>
2015-06-14 12:17:09 +02:00
Holger Hans Peter Freyther 35818fb584 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
2015-06-14 12:17:08 +02:00
Holger Hans Peter Freyther 9417af3750 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.
2015-06-14 12:17:08 +02:00
Holger Hans Peter Freyther 9f70e8db0b pcm051: Add config files as used by the ODU device 2015-06-14 12:17:08 +02:00
Holger Hans Peter Freyther 6633e9ec96 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
2015-06-14 12:17:08 +02:00
Jan Luebbe 48e72d914a 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>
2015-06-14 12:17:08 +02:00
Holger Hans Peter Freyther d0e27c572d 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
2015-06-14 12:17:08 +02:00
Jan Luebbe 6c2fa0ada8 sysmobts: add support for the sysmobts v2 2015-06-14 12:17:08 +02:00
Jan Luebbe e90fea9a91 arm: davinci: add dm644x clock and PSC support 2015-06-14 12:17:08 +02:00
Marc Kleine-Budde 6a11cd1539 bootstate: add framework for redundant boot scenarios
There are several use cases where a redundant Linux system is needed. The
barebox,bootstate framework provides the building blocks to model different
use cases without the need to start from the scratch over and over again.

Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
2015-06-10 13:42:33 +02:00
Marc Kleine-Budde 4cebcd347b arm/crypto: add generated sha256-core.S to gitignore
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2015-06-10 13:35:26 +02:00
Lucas Stach 291c7e9676 ARM: imx6: hipercam: set default hostname in boardfile
Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2015-06-03 10:06:28 +02:00
Lucas Stach 47f46a00ef ARM: imx6: correct Hipercam ECSPI1 pinmux
Correct the pinmux configuration for the chip-select GPIOs. This fixes
detection of the first SPI NOR-flash after barebox itself got loaded from
there.

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2015-06-03 10:05:52 +02:00
Wadim Egorov 6984e82c84 ARM: am33xx: Fix SCRM compatible string to match new DT compatible string
Commit 461f8cfc7e renamed the SCRM compatible
string in am33xx.dtsi and breaks all am335x based boards.

Rename the SCRM compatible string.

Signed-off-by: Wadim Egorov <w.egorov@phytec.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2015-05-15 07:09:11 +02:00
Sascha Hauer 97afd89b43 ARM: i.MX5: Add missing CONFIG_ prefix in test
The variable name misses a CONFIG_ prefix to work as expected.

Fixes: 05a1e4b ARM: i.MX5: Do not register fixed clocks twice

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2015-05-07 09:48:51 +02:00
Sascha Hauer 4de5f732c0 Merge branch 'for-next/of-device-id' 2015-05-06 21:36:13 +02:00
Sascha Hauer 67e4e8c056 Merge branch 'for-next/mvebu' 2015-05-06 21:36:13 +02:00
Sascha Hauer 10fb785308 Merge branch 'for-next/mips' 2015-05-06 21:36:13 +02:00
Sascha Hauer 4a854c9f49 Merge branch 'for-next/imx' 2015-05-06 21:36:12 +02:00