aboutsummaryrefslogtreecommitdiff
path: root/doc
AgeCommit message (Collapse)AuthorFilesLines
2023-07-15Merge tag 'efi-2023-10-rc1' of ↵WIP/15Jul2023Tom Rini1-0/+7
https://source.denx.de/u-boot/custodians/u-boot-efi Pull request efi-2023-10-rc1 Documentation: * enhance UEFI anti-rollback documentation EFI: * Reconnect drivers if UninstallProtocol fails * Prefer short device paths for boot options * Fix error handling when updating boot options for block devices
2023-07-15doc: uefi: enhance anti-rollback documentationMasahisa Kojima1-0/+7
To enforce anti-rollback to any older version, dtb must be always update manually. This should be described in the documentation. This commit also adds the recommendation that secure system should not enable the fdt command because lowest-supported-version property in device tree can be changed by fdt command. Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org> Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org>
2023-07-14env: mmc: statically set the environment partition nameEmmanuel Di Fede1-0/+2
The new opt-out setting, CONFIG_ENV_MMC_PARTITION, statically sets the MMC environment partition name. Prior to this patch, the only way to declare this partition name was by creating a 'u-boot,mmc-env-partition' parameter in the device-tree's /config node. This setting provides additional flexibility, particularly in cases where accessing the device-tree is not straightforward (e.g. QEMU). If undeclared, the device-tree's setting will be used. Signed-off-by: Emmanuel Di Fede <emmanuel.difede@cysec.com> Cc: Joe Hershberger <joe.hershberger@ni.com> Cc: Patrick Delaunay <patrick.delaunay@foss.st.com>
2023-07-14expo: Add a configuration editorSimon Glass3-3/+37
Add a new 'cedit' command which allows editing configuration using an expo. The configuration items appear as menus on the display. This is extremely basic, only supporting menus and not providing any way to load or save the configuration. Signed-off-by: Simon Glass <sjg@chromium.org>
2023-07-14expo: Support building an expo from a description fileSimon Glass1-6/+276
The only way to create an expo at present is by calling the functions to create each object. It is useful to have more data-driven approach, where the objects can be specified in a suitable file format and created from that. This makes testing easier as well. Add support for describing an expo in a devicetree node. This allows more complex tests to be set up, as well as providing an easier format for users. It also provides a better basis for the upcoming configuration editor. Signed-off-by: Simon Glass <sjg@chromium.org>
2023-07-14expo: Add spacing around menus and itemsSimon Glass1-0/+6
It looks better if menus have a bit of an inset, rather than be drawn hard up against the background. Also, menu items look better if they have a bit of spacing between them. Add theme options for these and implement the required changes. Signed-off-by: Simon Glass <sjg@chromium.org>
2023-07-14expo: Implement the keypress logic for popup menusSimon Glass1-2/+1
In 'popup' mode, the expo allows moving around the objects in a scene. When 'enter' is pressed on a menu, it opens and the user can move around the items in the menu. Implement this using keypress handles and actions. Signed-off-by: Simon Glass <sjg@chromium.org>
2023-07-14expo: Support simple themesSimon Glass1-2/+7
It is a pain to manually set the fonts of all objects to be consistent. Some spacing settings are also better set globally than by manually positioning each object. Add a 'theme' to the expo, to hold this information. For now it includes only the font size. Signed-off-by: Simon Glass <sjg@chromium.org>
2023-07-14expo: Set up the width and height of objectsSimon Glass1-2/+0
Provide a way to set the full dimensions of objects, i.e. including the width and height. For menus, calculate the bounding box of all objects in the menu. Set all labels to be the same size, so that highlighting works correct, once implemented. Signed-off-by: Simon Glass <sjg@chromium.org>
2023-07-14expo: Allow setting the start of the dynamic-ID rangeSimon Glass1-0/+3
Provide a way to set this value so that it is easy to separate the statically allocated IDs (generated by the caller) from those generated dynamically by expo itself. Signed-off-by: Simon Glass <sjg@chromium.org>
2023-07-13Merge https://gitlab.denx.de/u-boot/custodians/u-boot-spiWIP/13Jul2023Tom Rini2-6/+140
- Add xtxtech spi-nor chip parts (Bruce Suen) - Add bcm63xx-hsspi driver fixes (William Zhang)
2023-07-13Merge tag 'u-boot-imx-20230713' of ↵Tom Rini14-15/+293
https://gitlab.denx.de/u-boot/custodians/u-boot-imx u-boot-imx-20230713 ------------------- Merge for 2023.10. CI: https://source.denx.de/u-boot/custodians/u-boot-imx/-/pipelines/16888
2023-07-13mx8m: csf.sh: use vars for keys to avoid file edits when signingTim Harvey4-12/+43
The csf_spl.txt and csf_fit.txt templates contain file paths which must be edited for the location of your NXP CST generated key files. Streamline the process of signing an image by assigning unique var names to these which can be expended from env variables in the csf.sh script. The following vars are used: SRK_TABLE - full path to SRK_1_2_3_4_table.bin CSF_KEY - full path to the CSF Key CSF1_1_sha256_4096_65537_v3_usr_crt.pem IMG_KEY - full path to the IMG Key IMG1_1_sha256_4096_65537_v3_usr_crt.pem Additionally provide an example of running the csf.sh script. Signed-off-by: Tim Harvey <tharvey@gateworks.com> Reviewed-by: Fabio Estevam <festevam@denx.de> Reviewed-by: Peng Fan <peng.fan@nxp.com>
2023-07-13doc: board: phytec: add phycore_imx8mpYannic Moog2-0/+61
Add documentation on how to build a bootable U-Boot image for the PHYTEC phyCORE-i.MX 8M Plus. Signed-off-by: Yannic Moog <y.moog@phytec.de>
2023-07-13doc: board: phytec: add phycore_imx8mmYannic Moog3-0/+70
Add documentation on how to build a bootable U-Boot image for the PHYTEC phyCORE-i.MX 8M Mini. Signed-off-by: Yannic Moog <y.moog@phytec.de>
2023-07-13doc: bindings: soft-spi: Remove the usage of deprecated propertiesFabio Estevam1-6/+6
According to Documentation/devicetree/bindings/spi/spi-gpio.yaml from Linux, the recommended spio-gpio properties are: sck-gpios, miso-gpios and mosi-gpios. gpio-sck, gpio-mosi and gpio-miso are considered deprecated. Update the bindings to suggest the recommeded properties. Signed-off-by: Fabio Estevam <festevam@denx.de> Reviewed-by: Jagan Teki <jagan@amarulasolutions.com>
2023-07-13dt-bindings: spi: Add bcm63xx-hsspi controller supportWilliam Zhang1-0/+134
Bring the device tree binding document from Linux to u-boot Port from linux patches: Link: https://lore.kernel.org/r/20230207065826.285013-2-william.zhang@broadcom.com Link: https://lore.kernel.org/r/20230207065826.285013-3-william.zhang@broadcom.com Signed-off-by: William Zhang <william.zhang@broadcom.com> Reviewed-by: Jagan Teki <jagan@amarulasolutions.com>
2023-07-12doc: t-head: lpi4a: document Lichee PI 4A boardYixun Lan3-0/+139
Reviewed-by: Wei Fu <wefu@redhat.com> Signed-off-by: Yixun Lan <dlan@gentoo.org>
2023-07-12doc: board: starfive: Reword the make defconfig informationYanhong Wang1-3/+3
The defconfig file name for StarFive VisionFive2 has been changed, and the documentation description has also changed. Signed-off-by: Yanhong Wang <yanhong.wang@starfivetech.com> Reviewed-by: Leo Yu-Chi Liang <ycliang@andestech.com>
2023-07-11Merge tag 'efi-2023-07-rc7' of ↵WIP/11Jul2023Tom Rini2-2/+2
https://source.denx.de/u-boot/custodians/u-boot-efi Pull request efi-2023-07-rc7 Documentation: * Fix links to Linux kernel documentation UEFI: * Fix memory leak in efidebug dh subcommand * Fix underflow when calculating remaining variable store size * Increase default variable store size to 64 KiB * mkeficapsule: fix efi_firmware_management_capsule_header data type
2023-07-11imx8m: imx8mn-beacon: Migrate README to rstAdam Ford2-0/+54
Since U-Boot builds HTML documentation, migrate the contents of the README file to an rst file which can generate the proper outputs. Signed-off-by: Adam Ford <aford173@gmail.com>
2023-07-11imx8m: imx8mm-beacon: Migrate README to rstAdam Ford2-0/+56
Since U-Boot builds HTML documentation, migrate the contents of the README file to an rst file which can generate the proper outputs. Signed-off-by: Adam Ford <aford173@gmail.com>
2023-07-11board: gateworks: venice: update board doc to show other emmc partsTim Harvey3-3/+9
Update the venice board documentation to show how to install to the various eMMC hardware partitions available as the same binary firmware can be placed in either user/boot0/boot1 without build-time config changes. Note that the boot offsets differ depending on the SoC and the eMMC hardware partition. Signed-off-by: Tim Harvey <tharvey@gateworks.com>
2023-07-10Merge branch 'next'WIP/10Jul2023Tom Rini31-51/+940
2023-07-10Prepare v2023.07v2023.07Tom Rini2-14/+859
Signed-off-by: Tom Rini <trini@konsulko.com>
2023-07-09doc: harmonize Linux kernel documentation linksHeinrich Schuchardt2-2/+2
Linux internally uses https://www.kernel.org/doc/html/latest/ for documentation links. When referring to their documentation we should do the same. Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
2023-07-06riscv: dts: drop microchip from dts filenamesConor Dooley1-3/+3
The original names picked for the DT doesn't match Linux's naming scheme and it was renamed there a while ago. Rename it in U-Boot to allow easily syncing dts between the two projects. Reviewed-by: Rick Chen <rick@andestech.com> Reviewed-by: Padmarao Begari <padmarao.begari@microchip.com> Signed-off-by: Conor Dooley <conor.dooley@microchip.com>
2023-07-05Merge tag 'v2023.07-rc6' into nextTom Rini60-3809/+4742
Prepare v2023.07-rc6
2023-07-05git-mailrc: add alias for Eugen HristevEugen Hristev1-0/+1
add my patchwork alias Signed-off-by: Eugen Hristev <eugen.hristev@collabora.com>
2023-07-03Prepare v2023.07-rc6v2023.07-rc6Tom Rini1-2/+4
Signed-off-by: Tom Rini <trini@konsulko.com>
2023-07-03doc: imx: habv4: Fix typo in 'signing'Fabio Estevam2-2/+2
Fix two occurrences where 'signing' is misspelled. Signed-off-by: Fabio Estevam <festevam@denx.de> Reviewed-by: Tim Harvey <tharvey@gateworks.com>
2023-07-01doc: fix typo loady in loadb man-pageHeinrich Schuchardt1-1/+1
%s/loady/loadb/ Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
2023-07-01doc: saves man-pageHeinrich Schuchardt2-0/+89
Provide a man-page for the saves command. Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
2023-07-01doc: loads man-pageHeinrich Schuchardt2-0/+97
Provide a man-page for the loads command. Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
2023-06-28doc: boards: amlogic: add documentation for KII ProFerass El Hafidi2-0/+113
Add build instructions for the KII Pro set-top box. Signed-off-by: Ferass El Hafidi <vitali64pmemail@protonmail.com> Link: https://lore.kernel.org/r/20230507124109.31778-4-vitali64pmemail@protonmail.com Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
2023-06-26Prepare v2023.07-rc5v2023.07-rc5Tom Rini1-1/+1
Signed-off-by: Tom Rini <trini@konsulko.com>
2023-06-24imx: hab: Simplify the mechanismMarek Vasut3-90/+22
The current mechanism is unnecessarily complex. Simplify the whole mechanism such that the entire fitImage is signed, IVT is placed at the end, followed by CSF, and this entire bundle is also authenticated. This makes the signing scripting far simpler. Signed-off-by: Marek Vasut <marex@denx.de>
2023-06-23doc: statistics: Re-generate the last 3 releasesTom Rini3-52/+54
With some changes to our mapping files in gitdm, re-generate the last few releases worth of statistics to correctly reflect contributions. We only go back this far to try and find a balance between highlighting contributions and still being reviewable. Signed-off-by: Tom Rini <trini@konsulko.com>
2023-06-23Merge tag 'doc-2023-07-rc6' of ↵Tom Rini46-3659/+4388
https://source.denx.de/u-boot/custodians/u-boot-efi Pull request doc-2023-07-rc6 * move FIT documentation to HTML * man-pages for the bind, bootm, and unbind commands
2023-06-23doc: Improve documentation for the bootm commandSimon Glass3-128/+201
Reformat and rewrite the documentation for this command. This is a complicated command, so further improvements are welcome. Signed-off-by: Simon Glass <sjg@chromium.org>
2023-06-23doc: Bring in the command-syntax extensionsSimon Glass2-70/+97
Bring this file into the documentation. For now it is not in the correct format for a command, but it is valid rST. Futher work will improve this. Signed-off-by: Simon Glass <sjg@chromium.org>
2023-06-23doc: Add signing to the FIT specSimon Glass2-65/+146
Move this properties into the main spec. Signed-off-by: Simon Glass <sjg@chromium.org>
2023-06-23doc: Move external FIT docs into the main bodySimon Glass1-36/+38
Rather than having this as an addition to the end, move this into the main body of the spec, rewriting as needed. Signed-off-by: Simon Glass <sjg@chromium.org>
2023-06-23doc: Expand FIT tables to include all valuesSimon Glass1-29/+155
Add tables which include all values for type, algo, arch, algo and compression. Signed-off-by: Simon Glass <sjg@chromium.org>
2023-06-23doc: Tidy up the format docs to be more genericSimon Glass1-51/+31
Avoid reference to uImage which is the old format. Drop the historical language at the top and rewrite a few other sections. Correct the U-Boot filename which is now in the boot/ directory. Signed-off-by: Simon Glass <sjg@chromium.org>
2023-06-23doc: Bring in the FIT overlay informationSimon Glass3-225/+228
Bring this file into the documentation. Signed-off-by: Simon Glass <sjg@chromium.org>
2023-06-23doc: Bring in the FIT howtoSimon Glass3-411/+420
Bring this file into the documentation. Signed-off-by: Simon Glass <sjg@chromium.org>
2023-06-23doc: Bring in FIT signature filesSimon Glass7-1355/+1419
Bring these files into the documentation. Fix 'wtih' and 'it' typos and repeated 'could' while we are here. Signed-off-by: Simon Glass <sjg@chromium.org>
2023-06-23doc: Bring in FIT x86 bootSimon Glass3-272/+270
Bring this file into the documentation. Signed-off-by: Simon Glass <sjg@chromium.org>
2023-06-23doc: Bring in the FIT examplesSimon Glass27-874/+947
Convert these to rST format and add them to the index. Signed-off-by: Simon Glass <sjg@chromium.org>