summaryrefslogtreecommitdiffstats
path: root/Documentation
Commit message (Collapse)AuthorAgeFilesLines
...
| * | 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>
| * ARM: rpi: save fdt that was passed from VideoCoreTomaz Solc2019-03-041-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | On Raspberry Pi, VideoCore firmware creates a device tree that contains information about peripherals that were initialized by VideoCore based on settings in config.txt. Normally this device tree is passed to the Linux kernel via a pointer in the r2 register. A bootloader needs to pass this device tree to the kernel, or some peripherals will not work correctly. Since the VideoCore device tree is not compatible with barebox, we can't just pass it to barebox_arm_entry() as the internal barebox device tree. This commit makes the prebootloader code copy the device tree from VideoCore into a scrap RAM area just above the area reserved for the bootloader. Board initialization code in the bootloader proper then copies it into a file /vc.dtb. The bootloader environment is then free to pass this file to the kernel at boot (e.g. via bootm -o). Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | Merge branch 'for-next/efi'Sascha Hauer2019-03-071-1/+34
|\ \
| * | Documentation: efi: provide (U)EFI watchdog documentationOleksij Rempel2019-02-181-1/+34
| |/ | | | | | | | | Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | Documentation: imx8mq-evk: fix firmware pathChristian Hemp2019-02-271-1/+1
| | | | | | | | | | | | | | | | | | Since commit: "da985aac8 firmware: drop the imx subdir" the firmware is not longer placed in imx subdir. So the subdir can be removed from the documentation. Signed-off-by: Christian Hemp <christian.hemp@posteo.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | doc: bootchooser: add retry handling to algorithm descriptionEnrico Jorns2019-02-181-0/+5
| | | | | | | | | | Signed-off-by: Enrico Jorns <ejo@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | doc: bootchooser: add details about bootchooser.reset_attempts handlingEnrico Jorns2019-02-181-5/+7
| | | | | | | | | | | | | | | | For understanding and correctly using the algorith it is useful to know when the values are evaluated. Signed-off-by: Enrico Jorns <ejo@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | doc: bootchooser: be more explicit about when the bootchooser terminatesEnrico Jorns2019-02-181-0/+3
| | | | | | | | | | Signed-off-by: Enrico Jorns <ejo@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | doc: bootchooser: note how to actually start the bootchooserEnrico Jorns2019-02-181-0/+11
| | | | | | | | | | Signed-off-by: Enrico Jorns <ejo@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | doc: bootchooser: be more explicit about attempts reset on successful bootEnrico Jorns2019-02-181-9/+32
| | | | | | | | | | | | | | | | | | From the current description of how the bootchooser algorithm works it is not that easy to figure out how to actually use it in a full (redundancy) boot chain. Signed-off-by: Enrico Jorns <ejo@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | doc: bootchooser: be more explicit what bootchooser.state_prefix is forEnrico Jorns2019-02-181-2/+3
| | | | | | | | | | Signed-off-by: Enrico Jorns <ejo@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | doc: bootchooser: explicitly note configuration vs. storage backendEnrico Jorns2019-02-181-0/+5
| | | | | | | | | | | | | | It is quite confusing for some users sometimes where to set what. Signed-off-by: Enrico Jorns <ejo@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | doc: bootchooser: fix typos etc.Enrico Jorns2019-02-181-5/+5
|/ | | | | Signed-off-by: Enrico Jorns <ejo@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Merge branch 'for-next/rpi'Sascha Hauer2019-02-131-1/+0
|\
| * doc: bcm283x: remove miniuart overlay instructionRouven Czerwinski2019-02-051-1/+0
| | | | | | | | | | | | | | | | Since we now use the miniuart on the raspberry pi 3, the miniuart overlay is no longer needed. Signed-off-by: Rouven Czerwinski <r.czerwinski@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | Merge branch 'for-next/misc'Sascha Hauer2019-02-133-4/+5
|\ \
| * | state: Documentation: fix typoUlrich Ölmann2019-02-071-1/+1
| | | | | | | | | | | | | | | Signed-off-by: Ulrich Ölmann <u.oelmann@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | Documentation: i.MX: Kindle 4/5: fix sphinx warningsRoland Hieber2019-01-211-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | sphinx warns: Documentation/boards/imx/amazon-kindle-4-5.rst:39: WARNING: Enumerated list ends without a blank line; unexpected unindent. Documentation/boards/imx/amazon-kindle-4-5.rst:42: WARNING: Enumerated list ends without a blank line; unexpected unindent. Documentation/boards/imx/amazon-kindle-4-5.rst:45: WARNING: Enumerated list ends without a blank line; unexpected unindent. Solve this by fixing the list enumeration and adding blank lines. Signed-off-by: Roland Hieber <rhi@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | Documentation: state: fix closing brace without opening braceRoland Hieber2019-01-211-1/+0
| |/ | | | | | | | | | | | | | | | | Also fix the resulting sphinx warning: Documentation/user/state.rst:650: WARNING: Explicit markup ends without a blank line; unexpected unindent. Signed-off-by: Roland Hieber <rhi@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | ARM: i.MX: Add support for ZII i.MX8MQ based devicesAndrey Smirnov2019-02-113-0/+111
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Add support for the following ZII i.MX8MQ based boards: - ZII i.MX8MQ RMB3 - ZII i.MX8MQ Zest Most of the basic peripherals are supported by this patch. More advanced features such as PCIe, display support, etc, are planned to be added later. Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | Documentation: i.MX: Increase :maxdepth: for board documentationAndrey Smirnov2019-02-111-1/+1
| | | | | | | | | | | | | | | | A number of board documentation file have subsections. Increase :maxdepth:, so we'd get proper TOC and numbering. Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | firmware: drop the imx subdirLucas Stach2019-02-011-2/+2
| | | | | | | | | | | | | | | | | | | | We don't intend to ship any files in this directory, so there is no risk of the directory getting too crowded over time. Drop the subdir as this makes it easier for a outer build system to drop all the needed firmwares into the correct directory. Signed-off-by: Lucas Stach <l.stach@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | Documentation: imx8mq-evk: add instructions for HDMITX firmwareLucas Stach2019-02-011-2/+12
| | | | | | | | | | Signed-off-by: Lucas Stach <l.stach@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | Documentation: imx8mq-evk: point to current version of the firmwareLucas Stach2019-02-011-4/+4
|/ | | | | | | | There were some updates to the i.MX8MQ DDR training firmware, so better point to the current version. Signed-off-by: Lucas Stach <l.stach@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>