| 0aca89f2 | 06-Mar-2024 |
Yifeng Zhao <yifeng.zhao@rock-chips.com> |
gpt: support ufs 4k block size
Signed-off-by: Yifeng Zhao <yifeng.zhao@rock-chips.com> Change-Id: I6e61021ccd192c49ef92bf2f54d58b9a1c4a6882 |
| c293902f | 07-Mar-2024 |
Jon Lin <jon.lin@rock-chips.com> |
cmd: rockusb: Fix wrong BLK_MTD_CONT_WRITE input
Change-Id: I1bcef1ec008a4960dd8bc02aee1a8777d3338b27 Signed-off-by: Jon Lin <jon.lin@rock-chips.com> |
| bc670a72 | 27-Feb-2024 |
Yifeng Zhao <yifeng.zhao@rock-chips.com> |
cmd: rockusb: add support ufs
Signed-off-by: Yifeng Zhao <yifeng.zhao@rock-chips.com> Change-Id: Id7efa5891d49960e646fe47edc2a3ff3558428fc |
| 4e0a26e7 | 15-Sep-2023 |
Joseph Chen <chenjh@rock-chips.com> |
common/cmd: Use sha1/256 lib API
Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: I5bce6cdc46956d9009ae66e054b23f3e2cefd9fe |
| 5395ac06 | 12-Oct-2022 |
Michal Suchanek <msuchanek@suse.de> |
UPSTREAM: dm: treewide: Do not use the return value of simple uclass iterator
uclass_first_device/uclass_next_device return value will be removed, don't use it.
With the current implementation dev
UPSTREAM: dm: treewide: Do not use the return value of simple uclass iterator
uclass_first_device/uclass_next_device return value will be removed, don't use it.
With the current implementation dev is equivalent to !ret. It is redundant to check both, ret check can be replaced with dev check, and ret check inside the iteration is dead code.
Change-Id: Ie500bbed46f8d08721b14b1db7a7be94ea601799 Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org> (cherry picked from commit 4954937d922840c212b7eba297cc2d4779f087ad) Signed-off-by: Cody Xie <cody.xie@rock-chips.com>
show more ...
|
| 6f6500e6 | 09-Feb-2021 |
Marek Behún <marek.behun@nic.cz> |
UPSTREAM: cmd: pinmux: depend on PINCTRL
The pinmux command uses functions pinctrl_get_pin_*(), which are missing if PINCTRL config option is disabled.
Change-Id: I87483509b6abb9b0cc7f677f1b5c5349a
UPSTREAM: cmd: pinmux: depend on PINCTRL
The pinmux command uses functions pinctrl_get_pin_*(), which are missing if PINCTRL config option is disabled.
Change-Id: I87483509b6abb9b0cc7f677f1b5c5349abbf85dd Signed-off-by: Marek Behún <marek.behun@nic.cz> Cc: Simon Glass <sjg@chromium.org> Cc: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> (cherry picked from commit a70abcff5edb63ee62976ddfe881a8496e540d12) Signed-off-by: Cody Xie <cody.xie@rock-chips.com>
show more ...
|
| 52e47c7c | 21-Jun-2019 |
Patrick Delaunay <patrick.delaunay@st.com> |
UPSTREAM: cmd: pinmux: Fix warnings when compiling with W=1
This patch solves the following warnings:
cmd/pinmux.c: In function 'do_dev': cmd/pinmux.c:26:6: warning: this statement may fall through
UPSTREAM: cmd: pinmux: Fix warnings when compiling with W=1
This patch solves the following warnings:
cmd/pinmux.c: In function 'do_dev': cmd/pinmux.c:26:6: warning: this statement may fall through [-Wimplicit-fallthrough=] if (ret) { ^ cmd/pinmux.c:30:2: note: here case 1: ^~~~
Change-Id: Id44069e23a59e52cd89dcc0043ad49ffc41430fd Signed-off-by: Patrice Chotard <patrice.chotard@st.com> Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com> (cherry picked from commit d23aef176f2c9eb9818755efecc381378b8d4b3f) Signed-off-by: Cody Xie <cody.xie@rock-chips.com>
show more ...
|
| 0f850630 | 24-Oct-2018 |
Patrice Chotard <patrice.chotard@st.com> |
UPSTREAM: cmd: pinmux: Add pinmux command
pinmux command allows to : - list all pin-controllers available on platforms - select a pin-controller - display the muxing of all pins of the current pi
UPSTREAM: cmd: pinmux: Add pinmux command
pinmux command allows to : - list all pin-controllers available on platforms - select a pin-controller - display the muxing of all pins of the current pin-controller or all pin-controllers depending of given options
Signed-off-by: Patrice Chotard <patrice.chotard@st.com> cmd: pinmux: Fix pinmux command
if "pinmux status" command is used without having set dev using "pinmux dev", print pinmux usage Reviewed-by: Simon Glass <sjg@chromium.org>
(cherry picked from commit d5a8313905f54ebdf128ac428c3cf58a2ebcbda2) Change-Id: Ie23ca7b987bceb83724c3ddea42eddb579dc0ea5 Signed-off-by: Cody Xie <cody.xie@rock-chips.com>
show more ...
|
| 79553f2d | 26-Oct-2023 |
William Wu <william.wu@rock-chips.com> |
cmd: rockusb: Fix null pointer when enter fastboot
Fix the following null pointer exception when enter fastboot.
Call trace: PC: [< 00211020 >] rkusb_force_usb2_enabled+0x8/0x10 cmd/rockus
cmd: rockusb: Fix null pointer when enter fastboot
Fix the following null pointer exception when enter fastboot.
Call trace: PC: [< 00211020 >] rkusb_force_usb2_enabled+0x8/0x10 cmd/rockusb.c:162 LR: [< 00274098 >] dwc3_uboot_init+0x220/0x2dc drivers/usb/dwc3/core.c:760
Stack: [< 00211020 >] rkusb_force_usb2_enabled+0x8/0x10 [< 0021258c >] do_fastboot+0xa4/0x168 [< 0022eb20 >] cmd_process+0xd8/0x10c [< 0021735c >] run_list_real+0x6fc/0x72c [< 002174fc >] parse_stream_outer+0x170/0x67c [< 00217a40 >] parse_file_outer+0x38/0x40 [< 0022e1cc >] cli_loop+0xc/0x10 [< 002159d8 >] main_loop+0x60/0x6c [< 00218260 >] run_main_loop+0xc/0x10 [< 00290384 >] initcall_run_list+0x58/0x94 [< 0021847c >] board_init_r+0x20/0x24 [< 00201c00 >] relocation_return+0x4/0x0
Change-Id: Ied2393f30c3db3f6048253032f063685ac1a3d97 Signed-off-by: William Wu <william.wu@rock-chips.com>
show more ...
|
| 36c87911 | 19-Oct-2023 |
william.wu <william.wu@rock-chips.com> |
usb: rockusb: Add support for usb3 download
This patch improve the usb gadget drivers and the usb dwc3 controller drivers to support rockusb usb3 download images.
With this patch, it can support: 1
usb: rockusb: Add support for usb3 download
This patch improve the usb gadget drivers and the usb dwc3 controller drivers to support rockusb usb3 download images.
With this patch, it can support: 1. Maskrom usbplug usb2 switch to usb3 automatically if the boards and the upgrade tool support usb3.
2. Loader enter usb3 automatically if the boards support usb3.
3. Force Maskrom/Loader usb fall back to usb2 if wait for usb3 enumeration time out.
Signed-off-by: Jianwei Zheng <jianwei.zheng@rock-chips.com> Signed-off-by: william.wu <william.wu@rock-chips.com> Change-Id: I9ad13fb42ae59cc9075545e22627f237f0eb1f32
show more ...
|
| 208ee25d | 09-Oct-2023 |
Yifeng Zhao <yifeng.zhao@rock-chips.com> |
cmd: rockusb: support sata without partition table
Signed-off-by: Yifeng Zhao <yifeng.zhao@rock-chips.com> Change-Id: I2bc968d4ad203a1b13543010fe6d008959859a97 |
| e44e77a6 | 14-Sep-2023 |
Joseph Chen <chenjh@rock-chips.com> |
rockchip: atags: Add fwver tag support
It's used to deliver firmware version to kernel cmdline.
Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: I13013e2d2f14d906276730f19899bf92a6199f
rockchip: atags: Add fwver tag support
It's used to deliver firmware version to kernel cmdline.
Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: I13013e2d2f14d906276730f19899bf92a6199f5d
show more ...
|
| 32640b0a | 13-Jul-2023 |
Wesley Yao <wesley.yao@rock-chips.com> |
cmd: ddr_tool: stressapptest: Adjust flush of dcache
flush_dcache_all() too often may make some errors difficult to occur.
Signed-off-by: Wesley Yao <wesley.yao@rock-chips.com> Change-Id: I97897c4d
cmd: ddr_tool: stressapptest: Adjust flush of dcache
flush_dcache_all() too often may make some errors difficult to occur.
Signed-off-by: Wesley Yao <wesley.yao@rock-chips.com> Change-Id: I97897c4d9557638ddcf982fbe0d8bdefdd928d3c
show more ...
|
| e8cd8639 | 04-Jul-2023 |
Hisping Lin <hisping.lin@rock-chips.com> |
cmd: mmc: init mmc when enable CONFIG_MMC
Change-Id: Ic3462b9df7556763f92413213a5313696873f4dc Signed-off-by: Hisping Lin <hisping.lin@rock-chips.com> |
| b46a81a1 | 28-Sep-2022 |
Joseph Chen <chenjh@rock-chips.com> |
cmd: cache: Add flush/invalidate dcache range support
Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: Id0e0cd9019072e8c557ebd2987b439057cb4ae3b |
| 0ed3d443 | 15-Jun-2023 |
Wesley Yao <wesley.yao@rock-chips.com> |
cmd: ddr_tool: stressapptest: Adjust print of error
Make the print of error close to the original StressAppTest.
Signed-off-by: Wesley Yao <wesley.yao@rock-chips.com> Change-Id: I4e5a9b1a9782d7b68c
cmd: ddr_tool: stressapptest: Adjust print of error
Make the print of error close to the original StressAppTest.
Signed-off-by: Wesley Yao <wesley.yao@rock-chips.com> Change-Id: I4e5a9b1a9782d7b68cd78aae43af413edcd2d37d
show more ...
|
| 5901dcc7 | 22-May-2023 |
Jon Lin <jon.lin@rock-chips.com> |
cmd: mtd: Avoid to rescan mtd device
When scanning for spinor devices on spinand board, there will be corresponding redundant printing, as follows: unrecognized JEDEC id bytes: ff, c8, 92
Change-I
cmd: mtd: Avoid to rescan mtd device
When scanning for spinor devices on spinand board, there will be corresponding redundant printing, as follows: unrecognized JEDEC id bytes: ff, c8, 92
Change-Id: I012002aa4452238c6be462b2e453dd02dece7897 Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
show more ...
|
| aa9eaea1 | 23-May-2023 |
Wesley Yao <wesley.yao@rock-chips.com> |
cmd: ddr_tool: stressapptest: Adjust print of test address
Delete print of available memory for test. Delete print of all pages for test.
Add print of address for test. Add print of page_num, page_
cmd: ddr_tool: stressapptest: Adjust print of test address
Delete print of available memory for test. Delete print of all pages for test.
Add print of address for test. Add print of page_num, page_size and total_test_size.
Signed-off-by: Wesley Yao <wesley.yao@rock-chips.com> Change-Id: I24381774ef703b173afd95f40ecd63192a6effa9
show more ...
|
| 9c15e090 | 04-May-2023 |
Wesley Yao <wesley.yao@rock-chips.com> |
cmd: ddr_tool: stressapptest: Test all available space by default
Update stressapptest in U-Boot to v1.1.0 20230504
Signed-off-by: Wesley Yao <wesley.yao@rock-chips.com> Change-Id: I6c2379a3c5d0510
cmd: ddr_tool: stressapptest: Test all available space by default
Update stressapptest in U-Boot to v1.1.0 20230504
Signed-off-by: Wesley Yao <wesley.yao@rock-chips.com> Change-Id: I6c2379a3c5d05107cd431d8155a2778ca3c43e0f
show more ...
|
| 50e09059 | 27-Apr-2023 |
Wesley Yao <wesley.yao@rock-chips.com> |
cmd: ddr_tool: stressapptest: Change the method of page_rand_pick()
When the page_num is not a multiple of the cpu_num, the probability of picking the last few pages is very low.
Signed-off-by: Wes
cmd: ddr_tool: stressapptest: Change the method of page_rand_pick()
When the page_num is not a multiple of the cpu_num, the probability of picking the last few pages is very low.
Signed-off-by: Wesley Yao <wesley.yao@rock-chips.com> Change-Id: I8691b864e62e3858d122a2b7b298088e84fcee84
show more ...
|
| 2d08ea87 | 27-Apr-2023 |
Wesley Yao <wesley.yao@rock-chips.com> |
cmd: ddr_tool: stressapptest: Remove get_cpu_id()
Different platforms use different methods to get cpu id. So for common use, the cpu id are labeled in boot order.
Signed-off-by: Wesley Yao <wesley
cmd: ddr_tool: stressapptest: Remove get_cpu_id()
Different platforms use different methods to get cpu id. So for common use, the cpu id are labeled in boot order.
Signed-off-by: Wesley Yao <wesley.yao@rock-chips.com> Change-Id: I11a2ff9020892b05b17edbc0b5a6f5b85068eb5a
show more ...
|
| 2ac0a64a | 29-Mar-2023 |
Wesley Yao <wesley.yao@rock-chips.com> |
cmd: ddr_tool: stressapptest: Support arg of start_addr
Signed-off-by: Wesley Yao <wesley.yao@rock-chips.com> Change-Id: Ic4c068fad20a906a67a0cc15486f01f942274a1f |
| 36c449fe | 17-May-2023 |
Joseph Chen <chenjh@rock-chips.com> |
common: Add MP boot support
mp_boot build from: a5185c920.
Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: I8f8b2fe45ee87ad0a60e1dfd6f0950f052d4f1e7 |
| 8bb098e9 | 17-Jan-2022 |
Pali Rohár <pali@kernel.org> |
UPSTREAM: pci: Extend 'pci' command with bus option '*'
Allow to call 'pci' and 'pci regions' commands with bus option '*' which cause pci to process all buses.
PCIe is point-to-point HW and so on
UPSTREAM: pci: Extend 'pci' command with bus option '*'
Allow to call 'pci' and 'pci regions' commands with bus option '*' which cause pci to process all buses.
PCIe is point-to-point HW and so on each bus is maximally one physical device. Therefore for PCIe it is common to have multiple buses.
This change allows to easily print all available PCIe devices in system.
Make '*' as default option when no bus argument is specified.
Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Stefan Roese <sr@denx.de> (cherry picked from commit 1a4942f1d90f3fe883db27fcad11f21e5698d46c) Change-Id: I775097206a2c3c9666ab02a90531ff8ef75d47ec Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
show more ...
|
| c6ced33f | 17-Jan-2022 |
Pali Rohár <pali@kernel.org> |
UPSTREAM: pci: Add checks for valid cmdline arguments
Currently pci command ignores invalid cmdline arguments and do something. Add checks that all passed arguments were processed.
Signed-off-by: P
UPSTREAM: pci: Add checks for valid cmdline arguments
Currently pci command ignores invalid cmdline arguments and do something. Add checks that all passed arguments were processed.
Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Stefan Roese <sr@denx.de> (cherry picked from commit 6850a5a8e24fc2345348dd9a160abd7a8e7f1b72) Change-Id: I54b13136211bd700a5b3c71e5023ba968aee2334 Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
show more ...
|