summaryrefslogtreecommitdiffstats
path: root/Documentation
Commit message (Collapse)AuthorAgeFilesLines
* 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
|\ \ \ | |_|/ |/| |
| * | Documentation: user manual: update MIPS-specific targetsAntony Pavlov2019-06-261-3/+4
| |/ | | | | | | | | Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* / Documentation: user: suggest U-Boot's bootm, not goAhmad Fatoum2019-06-181-2/+2
|/ | | | | | | | | | | | | | | Unlike barebox, U-Boot's go command doesn't have any provisions for cache handling and as such, bootstrapping barebox via go can cause stale data to be erroneously executed as instructions. The official documentation[1] suggests use of bootm instead, which does the necessary flushing and invalidation. Update our documentation accordingly. [1]: http://www.denx.de/wiki/view/DULG/UBootStandalone#Section_5.12.3. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Merge branch 'for-next/ubootenv'Sascha Hauer2019-06-112-0/+71
|\
| * fs: Add a driver to access U-Boot environment variablesAndrey Smirnov2019-06-071-0/+28
| | | | | | | | | | | | | | | | | | Add a driver working on top of ubootvar device and exposing U-Boot environment variable data as files. Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com> Signed-off-by: Cory Tusar <cory.tusar@zii.aero> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * misc: Add a driver to expose U-Boot environment variable dataAndrey Smirnov2019-06-071-0/+43
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a driver to expose U-Boot environment variable data as a single mmap-able device, hiding various low-level details such as: * Preamble format differences * Read/write logic in presence of redundant partition Not very useful on its own, it is a crucial low-level plumbing needed by filesystem driver introduced in the following commit. Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com> Signed-off-by: Cory Tusar <cory.tusar@zii.aero> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | Merge branch 'for-next/misc'Sascha Hauer2019-06-111-0/+1
|\ \
| * | Documentation: add riscv mentionAntony Pavlov2019-06-041-0/+1
| | | | | | | | | | | | | | | Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | | Merge branch 'for-next/imx'Sascha Hauer2019-06-1114-50/+992
|\ \ \ | |_|/ |/| |
| * | doc: boards: imx: add HAB sectionBastian Krause2019-06-071-0/+59
| | | | | | | | | | | | | | | Signed-off-by: Bastian Krause <bst@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | doc: boards: imx: document image creationBastian Krause2019-06-071-0/+15
| | | | | | | | | | | | | | | Signed-off-by: Bastian Krause <bst@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | Documentation: zii-imx8mq-dev: Update OpenOCD usage documentationAndrey Smirnov2019-06-043-50/+59
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update various files in zii-imx8mq-dev: - Add bootstrap.sh to match other boards - Cosmetic update to openocd.cfg to match the style of other ZII boards - Update readme.rst to reflecte the chagnes Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | Documentation: Add zii-imx6-rdu2 board documentationAndrey Smirnov2019-06-043-0/+319
| | | | | | | | | | | | | | | | | | | | | | | | Add OpenOCD scipts and notes on usage for various ZII i.MX6Q based boards. Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | Documentation: Add zii-imx7d-rpu2 board documentationAndrey Smirnov2019-06-043-0/+196
| | | | | | | | | | | | | | | | | | | | | | | | Add OpenOCD scipts and notes on usage for various ZII i.MX7 based boards. Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | Documentation: Add zii-vf610-dev board documentationAndrey Smirnov2019-06-043-0/+318
| | | | | | | | | | | | | | | | | | | | | | | | Add OpenOCD scipts and notes on usage for various ZII VF610 based boards. Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | ARM: i.MX6: add support for Digi CCIMX6UL SBC ProRouven Czerwinski2019-05-171-0/+26
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add support for the Digi CCIMX6UL SBC Pro. It is based on the Digi CCIMX6UL SOM with 256MB RAM and 256MB NAND flash. v2: - fix includes - rename folder to som - switch to compressed dtb - remove the unnecessary get_runtime_offset all from Ahmad Fatoum Signed-off-by: Rouven Czerwinski <r.czerwinski@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | Documentation: imx8mq-evk: collapse BMOD switch superpositionAhmad Fatoum2019-05-231-1/+1
| | | | | | | | | | | | | | | | | | | | Table 3. Boot mode setting in the user's guide[1] lists 0010 as 'Boot from EMMC'. Adjust diagram accordingly. [1]: https://www.mouser.com/ds/2/302/IMX8MDQLQEVKHUG-1280333.pdf Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | ARM: boards: kindle mx50: adapt MCI name to DTSAlexander Kurz2019-05-211-2/+2
|/ | | | | | | | The MCI instances got aliases in the DTS from linux upstream which changed the eMMC devicename e.g. from disk0 to mmc2. Adapt to this. Signed-off-by: Alexander Kurz <akurz@blala.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Merge branch 'for-next/misc'Sascha Hauer2019-05-102-4/+12
|\
| * doc: clarify state framework driver requirementMoritz Augsburger2019-04-261-1/+7
| |
| * doc: variables: nv vars are saved automatically.Tomaz Solc2019-04-231-3/+5
| | | | | | | | | | | | | | | | | | | | In recent barebox versions, nv variables are saved automatically upon reset or kernel start (console message "nv variable modified, will save nv variables on shutdown" warns about that). There is no need to explicitly call saveenv. This change was introduced in 3fadbdae. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | Documentation: imx: add documentation for RioTboardOleksij Rempel2019-05-061-0/+133
|/ | | | | Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* pstore/doc: fix layoutJuergen Borleis2019-03-181-8/+8
| | | | | | | Emphasise keywords and paths. Signed-off-by: Juergen Borleis <jbe@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* pstore: pass ramoops configuration to kernel via device treePhilipp Zabel2019-03-181-4/+6
| | | | | | | | | Instead of setting ramoops module parameters on the kernel command line, add a /reserved-memory/ramoops node to the device tree via of_fixup. Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de> Documentation-added-by: Juergen Borleis <jbe@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* pstore: add console supportPhilipp Zabel2019-03-181-0/+4
| | | | | | | | Add support for writing console messages to pstore. Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de> Documentation-added-by: Juergen Borleis <jbe@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* pstore/ram: Clarify resource reservation labelsKees Cook2019-03-181-25/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When ramoops reserved a memory region in the kernel, it had an unhelpful label of "persistent ram". When reading iomem, it would be repeated many times, did not hint that it was ramoops in particular, and didn't clarify very much about what each was used for: 0x4fdd4000 - 0x4fdf3fff (size 0x00020000) persistent ram 0x4fdf4000 - 0x4fe13fff (size 0x00020000) persistent ram ... 0x4ff74000 - 0x4ff93fff (size 0x00020000) persistent ram 0x4ff94000 - 0x4ffb3fff (size 0x00020000) persistent ram 0x4ffb4000 - 0x4ffd3fff (size 0x00020000) persistent ram Instead, this adds meaningful labels for how the various regions are being used: 0x4fdd4000 - 0x4fdf3fff (size 0x00020000) ramoops:dump(0/12) 0x4fdf4000 - 0x4fe13fff (size 0x00020000) ramoops:dump(1/12) ... 0x4ff74000 - 0x4ff93fff (size 0x00020000) ramoops:console 0x4ff94000 - 0x4ffb3fff (size 0x00020000) ramoops:ftrace 0x4ffb4000 - 0x4ffd3fff (size 0x00020000) ramoops:pmsg Signed-off-by: Kees Cook <keescook@chromium.org> Reviewed-by: Joel Fernandes (Google) <joel@joelfernandes.org> [p.zabel@pengutronix.de: ported to Barebox from Linux commit 1227daa43bce] Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Merge branch 'for-next/rpi'Sascha Hauer2019-03-071-0/+10
|\
| * ARM: rpi: save bootargs from VC FDT to vc.bootargsTomaz Solc2019-03-041-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When booting a Raspberry Pi, it is useful to extract bootargs from the device tree that was created by the VideoCore firmware. These bootargs contain for example settings for the framebuffer that the kernel needs to properly set the video output. This commit extracts the bootargs in the board initialization code and saves them to the vc.bootargs global variable. For example, a bootloader environment can then add the contents of this variable to linux.bootargs.vc, which then gets included into the final bootargs for the kernel using CONFIG_FLEXIBLE_BOOTARGS. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>