summaryrefslogtreecommitdiff
path: root/doc
AgeCommit message (Collapse)Author
2023-05-11dm: Emit the arch_cpu_init_dm() even only before relocationSimon Glass
The original function was only called once, before relocation. The new one is called again after relocation. This was not the intent of the original call. Fix this by renaming and updating the calling logic. With this, chromebook_link64 makes it through SPL. Fixes: 7fe32b3442f0 ("event: Convert arch_cpu_init_dm() to use events") Signed-off-by: Simon Glass <[email protected]> Reviewed-by: Bin Meng <[email protected]>
2023-05-11x86: coreboot: Document how to enable the debug UARTSimon Glass
This is not obvious so add a little note about how it works. Signed-off-by: Simon Glass <[email protected]> Reviewed-by: Bin Meng <[email protected]>
2023-05-09Merge tag 'u-boot-rockchip-20230509' of ↵Tom Rini
https://source.denx.de/u-boot/custodians/u-boot-rockchip - Rockchip NFC driver update and dev addr pointer api update; - use standard dr_mode for usb driver; - rock pi boards dts update; - Add rk3566 Anbernic boards; - Misc fixes for drivers;
2023-05-09doc: rockchip: update list of Radxa ROCK (Pi) 4 boardsFUKAUMI Naoki
add Radxa ROCK (Pi) 4 variants. Signed-off-by: FUKAUMI Naoki <[email protected]> Reviewed-by: Kever Yang <[email protected]>
2023-05-08Prepare v2023.07-rc2v2023.07-rc2Tom Rini
Signed-off-by: Tom Rini <[email protected]>
2023-05-06board: rockchip: add Anbernic RGXX3 Series DevicesChris Morgan
The Anbernic RGxx3 is a "pseudo-device" that encompasses the following devices: - Anbernic RG353M - Anbernic RG353P - Anbernic RG353V - Anbernic RG353VS - Anbernic RG503 The rk3566-anbernic-rgxx3.dtsi is synced with upstream Linux, but rk3566-anbernic-rgxx3.dts is a U-Boot specific devicetree that is used for all RGxx3 devices. Via the board.c file, the bootloader automatically sets the correct fdtfile, board, and board_name environment variables so that the correct devicetree can be passed to Linux. It is also possible to simply hard-code a single devicetree in the boot.scr file and use that to load Linux as well. The common specifications for each device are: - Rockchip RK3566 SoC - 2 external SDMMC slots - 1 USB-C host port, 1 USB-C peripheral port - 1 mini-HDMI output - MIPI-DSI based display panel - ADC controlled joysticks with a GPIO mux - GPIO buttons - A PWM controlled vibrator - An ADC controlled button All of the common features are defined in the devicetree synced from upstream Linux. TODO: DSI panel auto-detection for the RG353 devices (requires porting of DSI controller driver and DSI-DPHY driver to send DSI commands to the panel). Signed-off-by: Chris Morgan <[email protected]> Reviewed-by: Kever Yang <[email protected]>
2023-05-06drivers: use dev_read_addr_ptr when cast to pointerJohan Jonker
The fdt_addr_t and phys_addr_t size have been decoupled. A 32bit CPU can expect 64-bit data from the device tree parser, so use dev_read_addr_ptr instead of the dev_read_addr function in the various files in the drivers directory that cast to a pointer. As we are there also streamline the error response to -EINVAL on return. Signed-off-by: Johan Jonker <[email protected]> Reviewed-by: Simon Glass <[email protected]>
2023-05-04Merge branch '2023-05-03-assorted-updates-and-fixes'Tom Rini
- Various typo fixes, pass -Werror to host tools builds, bdi cleanups, fix hush and local variables, a FSL PCI fix and correct some python in one of the tests.
2023-05-04doc: man-page for cpHeinrich Schuchardt
Add a man-page for the cp command. Signed-off-by: Heinrich Schuchardt <[email protected]> Reviewed-by: Simon Glass <[email protected]>
2023-05-04doc: correct HiFive Unmatched boot descriptionHeinrich Schuchardt
Main U-Boot is loaded by sector number, not by partition GUID type. Fixes: 70415e1e528d ("board: sifive: add HiFive Unmatched board support") Signed-off-by: Heinrich Schuchardt <[email protected]>
2023-05-04doc: fix StarFive VisionFive v2 documentationHeinrich Schuchardt
The number of the partition that U-Boot SPL loads the main U-Boot from is defined as 2 by CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_PARTITION=0x2. The partition type GUID is not used currently. Reword the description of the boot process to make it clearer. Fixes: 5ecf9b0b8a75 ("board: starfive: add StarFive VisionFive v2 board support") Signed-off-by: Heinrich Schuchardt <[email protected]>
2023-05-04doc: Indicate required OpenSBI release for VisionFive 2Heinrich Schuchardt
Support for the VisionFive 2 board is not contained in the most recent OpenSBI release (v1.2). Signed-off-by: Heinrich Schuchardt <[email protected]> Reviewed-by: Leo Yu-Chi Liang <[email protected]>
2023-05-04docs: fix wrong proftool usagePavel Skripkin
Guide shows incorrect usage of proftool, which is confusing. If proftool is used w/o '-o' argument it complains like following $ ./sandbox/tools/proftool -m sandbox/System.map -t trace dump-ftrace > trace.dat Must provide trace data, System.map file and output file Usage: proftool [-cmtv] <cmd> <profdata> s/>/-o/ fixes it and proftool outputs decoded data to trace.dat Signed-off-by: Pavel Skripkin <[email protected]> Reviewed-by: Simon Glass <[email protected]>
2023-05-04doc: mmc: drop 0x prefixes in read/write examplesAlexander Shirokov
The patch drops 0x prefixes because all numbers are interpreted as HEX by default. Also, it fixes the mismatch between input arguments and output at 'mmc write' example. Now it's 256 (0x100) blocks. Signed-off-by: Alexander Shirokov <[email protected]> Reviewed-by: Heinrich Schuchardt <[email protected]>
2023-05-03event: fix comments syntax errorHugo Villeneuve
Fix comments syntax error in event description: creasted -> created Signed-off-by: Hugo Villeneuve <[email protected]> Reviewed-by: Simon Glass <[email protected]>
2023-05-03Merge tag 'u-boot-imx-20230503' of ↵Tom Rini
https://gitlab.denx.de/u-boot/custodians/u-boot-imx u-boot-imx-20230503 ------------------- - Fixes for : pico-imx6ul, smegw01 - new boards: DMSSE20, Reform 2 - fix: get_boot_device, PLL video rate CI: https://source.denx.de/u-boot/custodians/u-boot-imx/-/pipelines/16211
2023-05-03board: Fix documentation for Snapdragon based Samsung and Qualcomm boardsBhupesh Sharma
The current documentation for Snapdragon based Samsung and Qualcomm boards is vague in the sense that at one place it mentions that u-boot can be used as a replacement for ABL bootloader and at another it mentions that u-boot is loaded as an Android boot image through ABL. Fix the same. Signed-off-by: Bhupesh Sharma <[email protected]> Reviewed-by: Sumit Garg <[email protected]>
2023-05-02serial: msm-geni: Use upstream Linux bindingsKonrad Dybcio
The name "se" is used in upstream Linux device trees and has been for ages, long before this U-Boot-ism was introduced. Same goes for the existing compatible. Get rid of that. [vzapolskiy: removed a ready change in the driver] Signed-off-by: Konrad Dybcio <[email protected]> Signed-off-by: Vladimir Zapolskiy <[email protected]>
2023-05-02board: Add new Broadcom Northstar boardLinus Walleij
This adds a simple Northstar "BRCMNS" board to be used with the BCM4708x and BCM5301x chips. The main intention is to use this with the D-Link DIR-890L and DIR-885L routers for loading the kernel into RAM from NAND memory using the BCH-1 ECC and using the separately submitted SEAMA load command, so we are currently not adding support for things such as networking. The DTS file is a multiplatform NorthStar board, designed to be usable with several NorthStar designs by avoiding any particulars not related to the operation of U-Boot. If other board need other ECC for example, they need to create a separate DTS file and augment the code, but I don't know if any other users will turn up. Cc: Rafał Miłecki <[email protected]> Signed-off-by: Linus Walleij <[email protected]>
2023-05-02imx: support i.MX8QM DMSSE20 a1 boardOliver Graute
Add i.MX8QM DMSSE20 a1 board support U-Boot 2023.04-00030-g7be2f547b2 (Apr 21 2023 - 11:11:43 +0200) Model: Advantech iMX8QM DMSSE20 Board: DMS-SE20A1 8GB Build: SCFW 549b1e18, SECO-FW c9de51c0, ATF 5782363 Boot: USB DRAM: 8 GiB Core: 100 devices, 19 uclasses, devicetree: separate MMC: FSL_SDHC: 0, FSL_SDHC: 1, FSL_SDHC: 2 Loading Environment from MMC... OK In: serial@5a060000 Out: serial@5a060000 Err: serial@5a060000 Net: eth0: ethernet@5b040000 Warning: ethernet@5b050000 (eth1) using random MAC address - 32:05:0c:f9:5e:10 , eth1: ethernet@5b050000 Hit any key to stop autoboot: 0 Signed-off-by: Oliver Graute <[email protected]>
2023-05-01Prepare v2023.07-rc1v2023.07-rc1Tom Rini
Signed-off-by: Tom Rini <[email protected]>
2023-04-27sandbox64: add support for NVMXIP QSPIAbdellatif El Khlifi
enable NVMXIP QSPI for sandbox 64-bit Adding two NVM XIP QSPI storage devices. Signed-off-by: Abdellatif El Khlifi <[email protected]> Reviewed-by: Simon Glass <[email protected]>
2023-04-27drivers/mtd/nvmxip: introduce QSPI XIP driverAbdellatif El Khlifi
add nvmxip_qspi driver under UCLASS_NVMXIP The device associated with this driver is the parent of the blk#<id> device nvmxip_qspi can be reused by other platforms. If the platform has custom settings to apply before using the flash, then the platform can provide its own parent driver belonging to UCLASS_NVMXIP and reuse nvmxip-blk driver. The custom driver can be implemented like nvmxip_qspi in addition to the platform custom settings. Platforms can use multiple NVM XIP devices at the same time by defining a DT node for each one of them. For more details please refer to doc/develop/driver-model/nvmxip_qspi.rst Signed-off-by: Abdellatif El Khlifi <[email protected]>
2023-04-27drivers/mtd/nvmxip: introduce NVM XIP block storage emulationAbdellatif El Khlifi
add block storage emulation for NVM XIP flash devices Some paltforms such as Corstone-1000 need to see NVM XIP raw flash as a block storage device with read only capability. Here NVM flash devices are devices with addressable memory (e.g: QSPI NOR flash). The implementation is generic and can be used by different platforms. Two drivers are provided as follows. nvmxip-blk : a generic block driver allowing to read from the XIP flash nvmxip Uclass driver : When a device is described in the DT and associated with UCLASS_NVMXIP, the Uclass creates a block device and binds it with the nvmxip-blk. Platforms can use multiple NVM XIP devices at the same time by defining a DT node for each one of them. Signed-off-by: Abdellatif El Khlifi <[email protected]>
2023-04-23Merge tag 'u-boot-rockchip-20230421' of ↵Tom Rini
https://source.denx.de/u-boot/custodians/u-boot-rockchip - Add rk3588 evb support; - Update pinctrl for rk3568 and rk3588; - Update rk3288 dts; - Update mmc support for rk3568 and rk3588; - Add rng support for rk3588; - Add DSI support for rk3568; - Some other misc fixes in dts, config, driver;
2023-04-22Merge tag 'efi-2023-07-rc1-2' of ↵Tom Rini
https://source.denx.de/u-boot/custodians/u-boot-efi Pull request for efi-2023-07-rc1-2 Documentation: * Describe Python coding style UEFI: * Enable tests for authenticated capsules on the sandbox * Fix pylint warnings * Correct struct efi_hii_keyboard_layout definition
2023-04-22Merge https://source.denx.de/u-boot/custodians/u-boot-riscvTom Rini
* Add StarFive VisionFive v2 Board support * Support CONFIG_REMAKE_ELF * Code cleanups for RISC-V architecture
2023-04-21rockchip: configs: mk808: change CONFIG_TPL_TEXT_BASEJohan Jonker
Currently the Rockchip rk3066a u-boot-tpl.bin file needs to add the characters "RK30", while the other SoCs replace the first 4 bytes. Bring this in line with the rest by lowering CONFIG_TPL_TEXT_BASE and update rockchip.rst instructions. Signed-off-by: Johan Jonker <[email protected]> Reviewed-by: Simon Glass <[email protected]> Reviewed-by: Kever Yang <[email protected]>
2023-04-21board: rockchip: Add rk3588 evbKever Yang
rk3588 evb1 v10 is a evalution board from Rockchip, it is a dev board for rockchip and also a reference board for board vendors. Hardware: SoC: RK3588 DRAM: LPDDR4X 8GB Debug: UART2 via USB PCIe: 3x4 *1 SATA *2 HDMI out *2 HDMI IN *1 USB2.0 Host *2 USB3.0 Host *1 Type C *1 MIPI DSI panel dts Sync from Linux v6.2. Signed-off-by: Kever Yang <[email protected]> Reviewed-by: Jagan Teki <[email protected]>
2023-04-21doc: codingstyle: Python coding styleHeinrich Schuchardt
Indicate that we follow PEP8 and PEP257. Signed-off-by: Heinrich Schuchardt <[email protected]> Reviewed-by: Simon Glass <[email protected]>
2023-04-20board: starfive: add StarFive VisionFive v2 board supportYanhong Wang
Add board support for StarFive VisionFive v2. Signed-off-by: Yanhong Wang <[email protected]> Tested-by: Conor Dooley <[email protected]>
2023-04-17doc: boards: amlogic: add documentation for Beelink GT1 UltimateKarl Chan
Add build instructions for the Beelink GT1 Ultimate board. Signed-off-by: Christian Hewitt <[email protected]> Signed-off-by: Karl Chan <[email protected]> Link: https://lore.kernel.org/r/[email protected] [narmstrong: fixed MAINTAINERS indentation, added doc to index] Signed-off-by: Neil Armstrong <[email protected]>
2023-04-17doc: boards: amlogic: add documentation for WeTek Hub and WeTek Play2Christian Hewitt
Add build instructions for the WeTek Hub and WeTek Play2 boards. Signed-off-by: Christian Hewitt <[email protected]> Reviewed-by: Neil Armstrong <[email protected]> Link: https://lore.kernel.org/r/[email protected] [narmstrong: fixed doc build] Signed-off-by: Neil Armstrong <[email protected]>
2023-04-17doc: boards: amlogic: add documentation for Radxa Zero2Christian Hewitt
Add build docs for the Radxa Zero2 board. Signed-off-by: Christian Hewitt <[email protected]> Reviewed-by: Neil Armstrong <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Neil Armstrong <[email protected]>
2023-04-17docs: boards: amlogic: add documentation for BananaPi M2SChristian Hewitt
Add build docs for the BPI-M2S board. Signed-off-by: Christian Hewitt <[email protected]> Reviewed-by: Neil Armstrong <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Neil Armstrong <[email protected]>
2023-04-17docs: boards: amlogic: add documentation for BananaPi M2-ProChristian Hewitt
Add build docs for the BPI-M2-PRO board. Signed-off-by: Christian Hewitt <[email protected]> Reviewed-by: Neil Armstrong <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Neil Armstrong <[email protected]>
2023-04-17doc: boards: amlogic: add documentation for ODROID-HC4Christian Hewitt
Add separate documentation for the ODROID-HC4 board to ensure users build U-Boot using the HC4 defconfig that enables PCIe SATA boot. This avoids user frustration trying to boot after using the C4 recipe which only works from SD card. Signed-off-by: Christian Hewitt <[email protected]> Link: https://lore.kernel.org/r/[email protected] [narmstrong: fixed doc build] Signed-off-by: Neil Armstrong <[email protected]>
2023-04-17doc: boards: amlogic: add documentation for GS-King-XChristian Hewitt
GS-King-X is also supported with the beelink-s922x FIP sources and can use the GT-King defconfig. Add a board document with instructions. Signed-off-by: Christian Hewitt <[email protected]> Link: https://lore.kernel.org/r/[email protected] [narmstrong: fixed doc build] Signed-off-by: Neil Armstrong <[email protected]>
2023-04-17doc: boards: amlogic: add documentation for BananaPi M5Christian Hewitt
Add missing build documentation for the BPI-M5 board. Signed-off-by: Christian Hewitt <[email protected]> Link: https://lore.kernel.org/r/[email protected] [narmstrong: fixed doc build] Signed-off-by: Neil Armstrong <[email protected]>
2023-04-17doc: boards: amlogic: add documentation for BananaPi CM4IOChristian Hewitt
Add build instructions for the BananaPi BPI-CM4IO carrier board with BPI-CM4 module. Signed-off-by: Christian Hewitt <[email protected]> Link: https://lore.kernel.org/r/[email protected] [narmstrong: fixed doc build] Signed-off-by: Neil Armstrong <[email protected]>
2023-04-17doc: boards: amlogic: update documentation for WeTek Core2Christian Hewitt
Improve documentation. Signed-off-by: Christian Hewitt <[email protected]> Link: https://lore.kernel.org/r/[email protected] [narmstrong: fixed doc build] Signed-off-by: Neil Armstrong <[email protected]>
2023-04-17doc: boards: amlogic: update documentation for W400Christian Hewitt
Improve documentation. Signed-off-by: Christian Hewitt <[email protected]> Link: https://lore.kernel.org/r/[email protected] [narmstrong: fixed doc build] Signed-off-by: Neil Armstrong <[email protected]>
2023-04-17doc: boards: amlogic: update documentation for U200Christian Hewitt
Improve Documentation. Signed-off-by: Christian Hewitt <[email protected]> Link: https://lore.kernel.org/r/[email protected] [narmstrong: fixed doc build, add commit msg] Signed-off-by: Neil Armstrong <[email protected]>
2023-04-17doc: boards: amlogic: update documentation for SEI610Christian Hewitt
Improve documentation. Signed-off-by: Christian Hewitt <[email protected]> Link: https://lore.kernel.org/r/[email protected] [narmstrong: fixed doc build] Signed-off-by: Neil Armstrong <[email protected]>
2023-04-17doc: boards: amlogic: update documentation for SEI510Christian Hewitt
Signed-off-by: Christian Hewitt <[email protected]> Link: https://lore.kernel.org/r/[email protected] [narmstrong: fixed doc build] Signed-off-by: Neil Armstrong <[email protected]>
2023-04-17doc: boards: amlogic: update documentation for S400Christian Hewitt
Improve documentation. Signed-off-by: Christian Hewitt <[email protected]> Link: https://lore.kernel.org/r/[email protected] [narmstrong: fixed doc build] Signed-off-by: Neil Armstrong <[email protected]>
2023-04-17doc: boards: amlogic: update documentation for Radxa ZeroChristian Hewitt
Improve documentation. Signed-off-by: Christian Hewitt <[email protected]> Link: https://lore.kernel.org/r/[email protected] [narmstrong: fixed doc build] Signed-off-by: Neil Armstrong <[email protected]>
2023-04-17doc: boards: amlogic: update documentation for Q200Christian Hewitt
Improve documentation. Signed-off-by: Christian Hewitt <[email protected]> Link: https://lore.kernel.org/r/[email protected] [narmstrong: fixed doc build] Signed-off-by: Neil Armstrong <[email protected]>
2023-04-17doc: boards: amlogic: update documentation for P201Christian Hewitt
Improve documentation. Notably we can now support U-Boot install to the internal eMMC storage in addition to SD cards. Signed-off-by: Christian Hewitt <[email protected]> Link: https://lore.kernel.org/r/[email protected] [narmstrong: fixed doc build] Signed-off-by: Neil Armstrong <[email protected]>
2023-04-17doc: boards: amlogic: update documentation for P200Christian Hewitt
Improve documentation. Notably we can now support U-Boot install to the internal eMMC storage in addition to SD cards. Signed-off-by: Christian Hewitt <[email protected]> Link: https://lore.kernel.org/r/[email protected] [narmstrong: fixed doc build] Signed-off-by: Neil Armstrong <[email protected]>