aboutsummaryrefslogtreecommitdiff
path: root/include
Commit message (Collapse)AuthorAgeFilesLines
* fix: run gpt_partition failed20240328th1520Han Gao2024-03-281-1/+4
| | | | Signed-off-by: Han Gao <gaohan@iscas.ac.cn>
* include: light-c910.h: add fdtoverlay_addr_rHaaland Chen2024-03-271-0/+1
| | | | Signed-off-by: Haaland Chen <haaland@milkv.io>
* fix: remove find partuuid20240324Han Gao2024-03-241-2/+1
| | | | Signed-off-by: Han Gao <gaohan@iscas.ac.cn>
* feat: add sdcard boot firstHan Gao2024-03-241-3/+4
| | | | Signed-off-by: Han Gao <gaohan@iscas.ac.cn>
* feat: add format swap partition for resume20240131Han Gao2024-01-311-1/+2
| | | | Signed-off-by: Han Gao <gaohan@iscas.ac.cn>
* feat: enable load str firmwareHan Gao2024-01-311-2/+4
| | | | Signed-off-by: Han Gao <gaohan@iscas.ac.cn>
* Linux_SDK_V1.4.2thead_admin2024-01-225-5/+198
| | | | Signed-off-by: thead_admin <occ_thead@service.alibaba.com>
* Linux_SDK_V1.3.3thead_admin2024-01-222-6/+19
| | | | Signed-off-by: thead_admin <occ_thead@service.alibaba.com>
* light-c910: set CONFIG_MISC_INIT_RHaaland Chen2023-12-031-0/+2
| | | | Signed-off-by: Haaland Chen <haaland@milkv.io>
* cmd: add support for a new "extension" commandKory Maincent2023-10-201-0/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds a new "extension" command, which aims at detecting extension boards connected to the hardware platform, and apply the Device Tree overlays that describe the hardware present on those extension boards. In order to enable this mechanism, board-specific code must implement the extension_board_scan() function that fills in a linked list of "struct extension", each describing one extension board. In addition, the board-specific code must select the SUPPORT_EXTENSION_SCAN Kconfig boolean. Based on this: - "extension scan" makes the generic code call the board-specific extension_board_scan() function to retrieve the list of detected extension boards. - "extension list" allows to list the detected extension boards. - "extension apply <number>|all" allows to apply the Device Tree overlay(s) corresponding to one, or all, extension boards The latter requires two environment variables to exist and set one variable to run: - extension_overlay_addr: the RAM address where to load the Device Tree overlays - extension_overlay_cmd: the U-Boot command to load one overlay. Indeed, the location and mechanism to load DT overlays is very setup specific. - extension_overlay_name: set by the command: the name of the DT which will be load during the execution. When calling the command described in the extension_overlay_cmd variable, the variable extension_overlay_name will be defined. So a typical extension_overlay_cmd will look like this: extension_overlay_cmd=load mmc 0:1 $extension_overlay_addr /boot/$extension_overlay_name Here is an example on how to use it: => run loadfdt => fdt addr $fdtaddr => setenv extension_overlay_addr 0x1000 => setenv extension_overlay_cmd 'load mmc 0:1 ${extension_overlay_addr} /boot/${extension_overlay_name}' => extension scan Found 1 extension board(s). => extension apply 0 519 bytes read in 3 ms (168.9 KiB/s) Signed-off-by: Kory Maincent <kory.maincent@bootlin.com> Reviewed-by: Maxime Ripard <maxime@cerno.tech>
* fdt_support: move fdt_valid from cmd_fdt.c to fdt_support.cKory Maincent2023-10-201-0/+2
| | | | | | | | | | | | Move the fdt_valid function to fdt_support. This changes allow to be able to test the validity of a devicetree in other c files. Update code syntax. Signed-off-by: Kory Maincent <kory.maincent@bootlin.com> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Maxime Ripard <maxime@cerno.tech>
* include: configs: light-c910.h: allow boot partition use other filesystem typeLu Hui2023-09-031-3/+3
|
* Linux_SDK_V1.2.1thead_admin2023-08-193-4/+10
| | | | Signed-off-by: thead_admin <occ_thead@service.alibaba.com>
* feat: update SDK1.2.0Han Gao2023-07-301-5/+6
| | | | Signed-off-by: Han Gao <gaohan@iscas.ac.cn>
* feat: add extlinux bootHan Gao2023-07-121-383/+18
| | | | Signed-off-by: Han Gao <gaohan@iscas.ac.cn>
* fix: fix the problem of wrong overwritten mac addresswu-yue-yu2023-06-281-1/+0
|
* fix: set fixed mac addrs (#1)ztd2023-05-151-0/+2
| | | * fix: set fixed mac addr
* fix: fix bootargsHan Gao2023-05-101-1/+1
| | | | Signed-off-by: Han Gao <gaohan@iscas.ac.cn>
* ENV_SETTINGSt612302023-04-061-2/+2
|
* Linux_SDK_V1.1.2Linux_SDK_V1.1.2thead_admin2023-03-051-23/+83
|
* Linux_SDK_V1.0.2Linux_SDK_V1.0.2thead_admin2022-11-223-14/+166
|
* Linux_SDK_V0.9.5Linux_SDK_V0.9.5thead_admin2022-09-131772-0/+284573