summaryrefslogtreecommitdiffstats
path: root/Documentation
Commit message (Collapse)AuthorAgeFilesLines
* led: parse panic-indicator from device-treeHubert Feurstein2019-12-111-0/+3
| | | | | Signed-off-by: Hubert Feurstein <h.feurstein@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* led: add documentation for net-tx and net-rx triggersHubert Feurstein2019-12-111-1/+3
| | | | | Signed-off-by: Hubert Feurstein <h.feurstein@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Merge branch 'for-next/stm32'Sascha Hauer2019-12-101-0/+10
|\
| * Documentation: boards: stm32mp: document boot error LEDAhmad Fatoum2019-11-131-0/+10
| | | | | | | | | | | | | | | | The STM32MP Evaluation Kits place a LED on PA13 to display boot status. Document its blinking patterns. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | docs: use #!/usr/bin/env python shebang instead of #!/usr/bin/pythonFlorian Klink2019-12-061-1/+1
| | | | | | | | | | | | | | | | | | | | Some distributions might not have python in /usr/bin, but in $PATH. Using #!/usr/bin/env python solves this, and is consistent with how the other perl and python shebangs look like in the tree. Signed-off-by: Florian Klink <flokli@flokli.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | docs: use #!/usr/bin/env bash shebang instead of #!/bin/bashFlorian Klink2019-12-061-1/+1
|/ | | | | | | | | | Some distributions might not have bash in /bin, but in $PATH. Using #!/usr/bin/env bash solves this, and is consistent with how the perl and python shebangs look like in the tree. Signed-off-by: Florian Klink <flokli@flokli.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Merge branch 'for-next/watchdog'Sascha Hauer2019-11-073-1/+93
|\
| * doc: watchdog: add note about danger of autopingOleksij Rempel2019-10-291-0/+6
| | | | | | | | | | Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * Documentation: add watchdog documentationOleksij Rempel2019-10-292-0/+86
| | | | | | | | | | Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * Documentation: efi: emphasize watchdog deactivation on ExitBootServicesAhmad Fatoum2019-10-241-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The UEFI specification paragraph quoted above notes: > The watchdog timer is only used during boot services. On successful > completion of ExitBootServices() the watchdog timer is disabled. Thus disabling the watchdog is _the_ only proper behavior. Adjust the wording accordingly. Cc: Oleksij Rempel <o.rempel@pengutronix.de> Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Reviewed-by: <o.rempel@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | Documentation: boards: stm32mp: document boot mode strap pinsAhmad Fatoum2019-11-061-0/+19
| | | | | | | | | | | | | | | | The evaluation kits have 2P DIP-Switches for boot mode selection. Document them. Signed-off-by: Ahmad Fatoum <ahmad@a3f.at> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | Documentation: boards: stm32mp: remove done TODOsAhmad Fatoum2019-11-061-11/+0
|/ | | | | | | | With SD/MMC controller and Ethernet MAC support merged, we now have usable STM32MP support. Remove the text that suggested otherwise. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Merge branch 'for-next/of-overlay'Sascha Hauer2019-10-171-0/+4
|\
| * blspec: add support for devicetree overlaysMichael Tretter2019-09-161-0/+4
| | | | | | | | | | | | | | | | | | | | | | Read the devicetree-overlay property from the blspec entry and register the overlays when booting the blspec entry. Do not fail the boot if an overlay cannot be loaded, because if Linux fails to boot without an overlay, the base device tree is broken. Signed-off-by: Michael Tretter <m.tretter@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | Merge branch 'for-next/misc'Sascha Hauer2019-10-172-12/+22
|\ \
| * | Documentation: boards: stm32mp: document environment partitionAhmad Fatoum2019-10-151-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | We have barebox get its environment out of a "barebox-environment" partition. The BootROM and first stage bootloader both select partitions on name not UUID, so we're following suit. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | Documentation: make gen_commands helper python3 compatibleUwe Kleine-König2019-10-141-12/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | On some machines the python command is provided by Python 3 while on most (at least in my bubble) it is still Python 2. Modify the code to make it usable by both Python versions. print_function is available in __future__ since Python 2.6.0a2, which shouldn't be a relevant restriction. The modified script generates the same documentation as the old one; independent if the script is called using Python 2 (here: 2.7.16) or Python 3 (here: 3.7.3). Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
* | | Merge branch 'for-next/layerscape'Sascha Hauer2019-10-173-0/+146
|\ \ \
| * | | Documentation: boards: document layerscape supportAhmad Fatoum2019-09-183-0/+146
| | |/ | |/| | | | | | | | | | | | | | | | | | | Some peripherals are still missing, but the main functionality to boot an OS is already in place. Document how to use it. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | | Merge branch 'for-next/imx'Sascha Hauer2019-10-172-0/+155
|\ \ \
| * | | Doc: i.MX: Document image structure for i.MXRouven Czerwinski2019-09-251-0/+73
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Document the image and load structure for i.MX6 and i.MX8MQ. Signed-off-by: Rouven Czerwinski <r.czerwinski@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | ARM: imx6: add Embest MarSBoard supportAhmad Fatoum2019-09-171-0/+82
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This board is produced by Embest/Element 14 and is based on i.MX6 Dual. For more informations on this board : http://www.embest-tech.com/shop/star/marsboard.html Signed-off-by: Eric Bénard <eric@eukrea.com> Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Tested-by: Stefan Lengfeld <contact@stefanchrist.eu> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | | Merge branch 'for-next/dtc'Sascha Hauer2019-10-171-2/+57
|\ \ \
| * | | Documentation: document barebox device tree handlingAhmad Fatoum2019-10-021-2/+57
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | The way barebox handles the Linux device trees and the device tree compiler source included in the source tree may not be obvious to new developers. Add a basic high-level documentation. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | | Merge branch 'for-next/bfin'Sascha Hauer2019-10-171-1/+0
|\ \ \ | |_|/ |/| |
| * | Blackfin: Remove architectureSascha Hauer2019-09-121-1/+0
| |/ | | | | | | | | | | | | Blackfin is dead and already removed from the Kernel. Remove it from barebox as well. RIP. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* / Documentation: zii-vf610-dev: Fix bogus DDR configuration valuesAndrey Smirnov2019-10-141-4/+4
|/ | | | | | | | | There's a clear mismatch between actual TCL code and comment right next to it. Comments are definetly right, so fix the TCL code. Fixes: 02738f4b59 ("Documentation: zii-vf610-dev: Reconcile DDR setup with DCD") Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Merge branch 'for-next/misc'Sascha Hauer2019-09-123-5/+11
|\
| * Documentation: Provide default values for version/releaseAndrey Smirnov2019-09-091-2/+2
| | | | | | | | | | | | | | | | | | Provide default values for version/release so it would be possible to run Sphinx outside of the build system. Useful for rst-sphinx backend of flycheck in Emacs, for example. Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * Documentation: efi: fix typosAhmad Fatoum2019-09-021-3/+3
| | | | | | | | | | Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * Documentation: zii-imx7d-dev: Fix errors with openocd configuration scriptCory Tusar2019-09-021-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When attempting to use the existing configuration file to bootstrap an RMU2 board, openocd would consistently fail in the 'safe_reset' function with a number of errors. Disabling the internal reset handling (similar to what's done on the i.MX7 Sabre boards) allowed barebox to download and run successfully. Tested with openocd-0.10.0+dev-00924-g16496488 on a Zodiac RMU2. Signed-off-by: Cory Tusar <cory.tusar@zii.aero> Tested-by: Andrey Smirnov <andrew.smirnov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | Documentation: zii-vf610-dev: Fix 'halt' in openocd configuration scriptCory Tusar2019-08-231-0/+1
|/ | | | | | | | | | | | | | | When attempting to use the existing configuration file to bootstrap an SCU4 AIB board, openocd would consistently fail on the 'halt' command with a "Target not examined yet" error. Dumping target information showed that vf610.cpu1 was the active target, rather that vf610.cpu0. Adding a command prior to the halt to explicitly set the target core resulted in proper operation. Tested with openocd-0.10.0+dev-00924-g16496488 on a Zodiac SCU4 AIB. Signed-off-by: Cory Tusar <cory.tusar@zii.aero> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Merge branch 'for-next/stm32'Sascha Hauer2019-08-151-0/+71
|\
| * Documentation: boards: add initial STM32MP documentationAhmad Fatoum2019-08-051-0/+71
| | | | | | | | | | | | | | | | Support for the SoC is still in progress, but lets document what we have now. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | Merge branch 'for-next/misc'Sascha Hauer2019-08-152-2/+2
|\ \
| * | docs: Use a proper name for AM335x defconfigJan Kundrát2019-08-052-2/+2
| |/ | | | | | | | | | | Fixes: 3067cd85d ("ARM: omap: am33xx_defconfig: Enable more boards and rename") Signed-off-by: Jan Kundrát <jan.kundrat@cesnet.cz> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | Documentation: add imx6ull-evk boot mode documentationAhmad Fatoum2019-08-121-0/+62
| | | | | | | | | | | | | | | | | | | | | | The compute module on the 6ULL-EVK has two DIP switches for choosing the boot mode. Instead of looking them up in the vendor documentation[1] each time, document them here. [1]: https://media.digikey.com/pdf/Data%20Sheets/Freescale%20Semi/i.MX_6UL_EVK_QSG.pdf Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | Documentation: imx8mq-evk: fix typo (s/NXM/NXP/)Ahmad Fatoum2019-08-121-1/+1
|/ | | | | | | The SoC's vendor is NXP. Correct the typo. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Merge branch 'for-next/zii'Sascha Hauer2019-07-124-150/+159
|\
| * ARM: Rename zii-imx7d-rpu2 to zii-imx7d-devAndrey Smirnov2019-06-263-3/+3
| | | | | | | | | | | | | | | | | | To prepare for addition of another ZII i.MX7D based board, i.MX7D RMU2, rename zii-imx7d-rpu2 to zii-imx7d-dev to avoid any image naming confusion. Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * Documentation: zii: Fix buggy check_bits_set_32Andrey Smirnov2019-06-262-2/+2
| | | | | | | | | | | | | | | | | | Fix a buggy while loop expression, that, due to '==' operator's precedence (higher than that of '&') was always evaluating to false rendering busy loop into a no-op. Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * Documentation: zii-vf610-dev: Reconcile DDR setup with DCDAndrey Smirnov2019-06-261-143/+151
| | | | | | | | | | | | | | | | | | Reconcile DDR setup code with corresponding DCD line by line, to avoid having any doubts if the two are identical (there wer some minor differences). Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * Documentation: zii-vf610-dev: Add necessary post reset delayAndrey Smirnov2019-06-261-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As observed on CFU1 board, without this delay we interrupt mask ROM code execution even before it sets up any PLLs correctly preventing Barebox from correctly starting up. Fixing this by adding PLL setup code to OpenOCD script helps somewhat and Barebox starts, howerver CPU started this way ends up being unstable crashing randomly during further Barebox use. Adding a simple 100 ms post reset delay resolves all of the described issues. This is also consistent with how other ZII boards are set up. Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | Merge branch 'for-next/stm32'Sascha Hauer2019-07-121-0/+4
|\ \
| * | Documentation: reset-reason: document new BROWNOUT reasonAhmad Fatoum2019-06-191-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | Now that enum reset_src_type has been extended by BROWNOUT as a reason, add it to the user documentation. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | | Merge branch 'for-next/socfpga'Sascha Hauer2019-07-121-8/+1
|\ \ \
| * | | scripts: socfgpa_import_preloader: simplify procedureSteffen Trumtrar2019-07-041-8/+1
| | |/ | |/| | | | | | | | | | | | | | | | | | | Instead of jumping through hoops using the bsp-editor gui, just use the underlying python script for importing. Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | | Merge branch 'for-next/misc'Sascha Hauer2019-07-122-0/+22
|\ \ \
| * | | add gdb helper scripts to load barebox symbolsRouven Czerwinski2019-06-272-0/+22
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | Add a gdb script with two helper functions which use the new pbl_barebox_break symbol to calculate the current barebox load address on the device and loads a barebox ELF file to this address. Signed-off-by: Rouven Czerwinski <r.czerwinski@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | | Merge branch 'for-next/mips'Sascha Hauer2019-07-121-3/+4
|\ \ \ | |_|/ |/| |