| 62ad0baa | 17-Jan-2022 |
Pali Rohár <pali@kernel.org> |
UPSTREAM: pci: Extend 'pci regions' command with bus number
'pci regions' currently prints only region information from bus 0 which belongs to controller 0. Parser for 'pci regions' cmdline currentl
UPSTREAM: pci: Extend 'pci regions' command with bus number
'pci regions' currently prints only region information from bus 0 which belongs to controller 0. Parser for 'pci regions' cmdline currently ignores any additional arguments and so U-Boot always uses bus 0.
Regions are stored in controller (not on the bus) and therefore to retrieve controller from the bus, it is needed to call pci_get_controller() which returns root bus. Because bus 0 is root bus, current code worked fine for controller 0.
Extend cmdline parser for 'pci regions' to allows specifying bus number, extend pci_show_regions() code to accept also non-zero bus number and print bus ranges for which is regions configuration assigned.
Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Stefan Roese <sr@denx.de> (cherry picked from commit 39320935cc5a0544768ff6a0e1143313355c6b4d) Change-Id: I9afa082818b46021a254bfacfe7fa0285fad7a77 Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
show more ...
|
| 713811f4 | 07-Oct-2021 |
Pali Rohár <pali@kernel.org> |
UPSTREAM: pci: Fix showing registers
Header type is 7-bit number so use all 7 bits when detecting header type and not only 2 bits.
Change-Id: I7a1fe74ed748e4fa28bd07e518579cd4e5960391 Signed-off-by
UPSTREAM: pci: Fix showing registers
Header type is 7-bit number so use all 7 bits when detecting header type and not only 2 bits.
Change-Id: I7a1fe74ed748e4fa28bd07e518579cd4e5960391 Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Stefan Roese <sr@denx.de> Signed-off-by: Jon Lin <jon.lin@rock-chips.com> (cherry picked from commit 43dad07cd45dba129487a8dc55de9f4f850ae7d7)
show more ...
|
| 3751f4dc | 07-Oct-2021 |
Pali Rohár <pali@kernel.org> |
UPSTREAM: pci: Fix showing bars
Header type is 7-bit number so properly clear upper 8th bit which indicates multifunction device.
And do not try to show bars for unsupported header types.
Change-I
UPSTREAM: pci: Fix showing bars
Header type is 7-bit number so properly clear upper 8th bit which indicates multifunction device.
And do not try to show bars for unsupported header types.
Change-Id: I59b75c0a72be329e9a65d2d60706af74c785898f Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Stefan Roese <sr@denx.de> Signed-off-by: Jon Lin <jon.lin@rock-chips.com> (cherry picked from commit e6335d3eaafc60b74bd05761b2bf0e57ad429aa7)
show more ...
|
| efe4ea7c | 17-Sep-2021 |
Vladimir Oltean <vladimir.oltean@nxp.com> |
UPSTREAM: pci: pciinfo_header can be static
To avoid W=1 build warnings, declare this function as static, since it is not used outside of this translation module.
Change-Id: Ib2ed4bd2fd7a23c594b13b
UPSTREAM: pci: pciinfo_header can be static
To avoid W=1 build warnings, declare this function as static, since it is not used outside of this translation module.
Change-Id: Ib2ed4bd2fd7a23c594b13bd7cd10b1b7b162d1ef Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Jon Lin <jon.lin@rock-chips.com> (cherry picked from commit 577fd581a70db6c3a5c008668f3cd047d6e141c3)
show more ...
|
| 853d3013 | 17-Sep-2021 |
Vladimir Oltean <vladimir.oltean@nxp.com> |
UPSTREAM: pci: pci_header_show can be static
To avoid W=1 build warnings, declare this function as static, since it is not used outside of this translation module.
Change-Id: I169fb4d07fdcc5e5046e2
UPSTREAM: pci: pci_header_show can be static
To avoid W=1 build warnings, declare this function as static, since it is not used outside of this translation module.
Change-Id: I169fb4d07fdcc5e5046e2b25639aca02078e88fd Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Jon Lin <jon.lin@rock-chips.com> (cherry picked from commit a95f8ee911df637b5269c3c2a9a34302a5ec9eb2)
show more ...
|
| 4225cb09 | 17-Sep-2021 |
Vladimir Oltean <vladimir.oltean@nxp.com> |
UPSTREAM: pci: pci_bar_show can be static
To avoid W=1 build warnings, declare this function as static, since it is not used outside of this translation module.
Change-Id: I135ade991ef898242bdf9b32
UPSTREAM: pci: pci_bar_show can be static
To avoid W=1 build warnings, declare this function as static, since it is not used outside of this translation module.
Change-Id: I135ade991ef898242bdf9b32467a1d23cd542afe Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Jon Lin <jon.lin@rock-chips.com> (cherry picked from commit f5164f6b255a16c856af91b21f432292b8ac8542)
show more ...
|
| b50a580a | 02-Aug-2021 |
Simon Glass <sjg@chromium.org> |
UPSTREAM: pci: Drop old code from pci command
Drop the pre-driver model code from this file.
Change-Id: Iecb81712fb68f24f64f12cfa308fe88242a68621 Signed-off-by: Simon Glass <sjg@chromium.org> Signe
UPSTREAM: pci: Drop old code from pci command
Drop the pre-driver model code from this file.
Change-Id: Iecb81712fb68f24f64f12cfa308fe88242a68621 Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Jon Lin <jon.lin@rock-chips.com> (cherry picked from commit 86a898f5dec2633bed50380052c7c72c029de936)
show more ...
|
| 002ab4c6 | 23-Aug-2019 |
Kunihiko Hayashi <hayashi.kunihiko@socionext.com> |
UPSTREAM: cmd: pci: Adjust display of digits for 64bit address and size
The command "pci bar" and "pci region" display the address and size in 16 characters including "0x", so the command can only d
UPSTREAM: cmd: pci: Adjust display of digits for 64bit address and size
The command "pci bar" and "pci region" display the address and size in 16 characters including "0x", so the command can only display 14 hexadecimal digits if the number of digits in the address and size is less than 14.
ID Base Size Width Type ---------------------------------------------------------- 0 0x00000020000000 0x00000000100000 64 MEM Prefetchable 1 0xffff000080000000 0x00000000100000 64 MEM Prefetchable
The 64-bit address and size should be displayed in 18(= 16+2) digits, so this patch adjusts them.
Cc: Yehuda Yitschak <yehuday@marvell.com> Cc: Simon Glass <sjg@chromium.org> Change-Id: I4570cb07a4acc8501c9282c58d3717796cb7fb7b Signed-off-by: Kunihiko Hayashi <hayashi.kunihiko@socionext.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Jon Lin <jon.lin@rock-chips.com> (cherry picked from commit 4ebeb4c559f3604169a54f3a318bdabcc6047320)
show more ...
|
| 8c39bc79 | 08-Mar-2023 |
Joseph Chen <chenjh@rock-chips.com> |
cmd: script_update: Scan available usb devices but not only dev 0
If we use 'sdcard reader + sdcard' as a udisk, there are two mass storage and usb dev 1 may be the target boot device.
Signed-off-b
cmd: script_update: Scan available usb devices but not only dev 0
If we use 'sdcard reader + sdcard' as a udisk, there are two mass storage and usb dev 1 may be the target boot device.
Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: I776f997953ad9fc9fab357553303e30dc41952b5
show more ...
|
| 9bf9a700 | 14-Feb-2023 |
Wesley Yao <wesley.yao@rock-chips.com> |
cmd: ddr_tool: Add stressapptest
Enable CONFIG_CMD_STRESSAPPTEST to use stressapptest in U-Boot
Signed-off-by: Wesley Yao <wesley.yao@rock-chips.com> Change-Id: Ibfb9b78e34118f6da0c5c2276cb646d78f4
cmd: ddr_tool: Add stressapptest
Enable CONFIG_CMD_STRESSAPPTEST to use stressapptest in U-Boot
Signed-off-by: Wesley Yao <wesley.yao@rock-chips.com> Change-Id: Ibfb9b78e34118f6da0c5c2276cb646d78f40df99
show more ...
|
| f9a1c31d | 14-Feb-2023 |
Wesley Yao <wesley.yao@rock-chips.com> |
cmd: ddr_tool: Integrate DDR related tools into ddr_tool
Integrate ddr_test, memtester, ddr_dq_eye into ddr_tool.
Signed-off-by: Wesley Yao <wesley.yao@rock-chips.com> Change-Id: Ic0e093c733e99b5cc
cmd: ddr_tool: Integrate DDR related tools into ddr_tool
Integrate ddr_test, memtester, ddr_dq_eye into ddr_tool.
Signed-off-by: Wesley Yao <wesley.yao@rock-chips.com> Change-Id: Ic0e093c733e99b5cc31b40a09b36d3dbe478c6be
show more ...
|
| af20bb83 | 15-Oct-2019 |
Faiz Abbas <faiz_abbas@ti.com> |
cmd: Add Support for UFS commands
Add Support for commands to initialize and configure UFS devices.
Change-Id: I226281022e462d0cf49f35cd1194fd918ebfeb92 TODO: Add Support for commands to resize and
cmd: Add Support for UFS commands
Add Support for commands to initialize and configure UFS devices.
Change-Id: I226281022e462d0cf49f35cd1194fd918ebfeb92 TODO: Add Support for commands to resize and reconfigure LUNs Signed-off-by: Faiz Abbas <faiz_abbas@ti.com>
show more ...
|
| 4102569e | 13-Oct-2022 |
Zhichao Guo <zhichao.guo@rock-chips.com> |
cmd: bootfit: remove ab_update_root_uuid in CONFIG_ANDROID_AB
Signed-off-by: Zhichao Guo <zhichao.guo@rock-chips.com> Change-Id: Ia20b86cf77855d8cd1dc5d9f4fa2908a1633d5c2 |
| 6af6d221 | 07-Nov-2022 |
Wesley Yao <wesley.yao@rock-chips.com> |
cmd: ddr_tool: ddr_dq_eye: Specify RK356x as RK3568/RK3566
Signed-off-by: Wesley Yao <wesley.yao@rock-chips.com> Change-Id: If9a2382eeb9fe65639de86d5670e71882877eadb |
| b6ad8e13 | 10-Oct-2022 |
Joseph Chen <chenjh@rock-chips.com> |
cmd: download: Allow board specific download
Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: Ie26523b83bc8a91ea2fd77fadd78c134715db622 |
| cb6e20cb | 28-Sep-2022 |
Joseph Chen <chenjh@rock-chips.com> |
Revert "cmd: mem: Add cache operation"
This reverts commit 88ed71f98ad3a603e5e60009a4d52d7a4cc8f7b8.
Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: I02ab22bffc5c32512b9171f25db129b76
Revert "cmd: mem: Add cache operation"
This reverts commit 88ed71f98ad3a603e5e60009a4d52d7a4cc8f7b8.
Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: I02ab22bffc5c32512b9171f25db129b76cce78de
show more ...
|
| 88ed71f9 | 22-Sep-2022 |
Kever Yang <kever.yang@rock-chips.com> |
cmd: mem: Add cache operation
Signed-off-by: Kever Yang <kever.yang@rock-chips.com> Change-Id: I11b334f89708391a4f69b5c39fd5f2b662e7cb67 |
| 5283632b | 22-Sep-2022 |
Huibin Hong <huibin.hong@rock-chips.com> |
cmd: atags: add PSTORE
add putc_to_ram to putc
Signed-off-by: Huibin Hong <huibin.hong@rock-chips.com> Change-Id: Idf245676a90a2a104ce3a9dd9a67ee4d6de66b36 |
| 5f293671 | 20-Jul-2022 |
Jon Lin <jon.lin@rock-chips.com> |
cmd: nand: Support write/read.raw count byte
nand writebyte.raw[.noverify] - addr off|partition [count] nand readbyte.raw[.noverify] - addr off|partition [count]
Change-Id: I15dc3bbf8f1f4cc4983351f
cmd: nand: Support write/read.raw count byte
nand writebyte.raw[.noverify] - addr off|partition [count] nand readbyte.raw[.noverify] - addr off|partition [count]
Change-Id: I15dc3bbf8f1f4cc4983351fae0d456c3a39846f5 Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
show more ...
|
| b6d00a7a | 22-Jun-2022 |
Joseph Chen <chenjh@rock-chips.com> |
cmd: rockusb: support nvme without partition table
Add partnum ":0" to active 'allow_whole_dev' partition search mechanism on multi storage, where there maybe not valid partition table.
Signed-off-
cmd: rockusb: support nvme without partition table
Add partnum ":0" to active 'allow_whole_dev' partition search mechanism on multi storage, where there maybe not valid partition table.
Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: Id6eb7913823399c2084102e62d13e98fc7c54cb7
show more ...
|
| 082e154b | 22-Jun-2022 |
Joseph Chen <chenjh@rock-chips.com> |
Revert "cmd: download: support nvme without partition table"
This reverts commit cb5391bbd6e97ed91be6863932887076ec64a635. The operation is moved to cmd/rockusb.c file.
Signed-off-by: Joseph Chen <
Revert "cmd: download: support nvme without partition table"
This reverts commit cb5391bbd6e97ed91be6863932887076ec64a635. The operation is moved to cmd/rockusb.c file.
Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: I0b19dfa01ae04bf75ffb24b82de7fe93b8f10362
show more ...
|
| cb5391bb | 13-Jun-2022 |
Joseph Chen <chenjh@rock-chips.com> |
cmd: download: support nvme without partition table
Pass partnum ":0" to active 'allow_whole_dev' partition search mechanism on multi storage, where there maybe not valid partition table.
Signed-of
cmd: download: support nvme without partition table
Pass partnum ":0" to active 'allow_whole_dev' partition search mechanism on multi storage, where there maybe not valid partition table.
Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: I917199ae93b02a0eb69d23ee326834537eef7ce2
show more ...
|
| 8b0f08e5 | 27-May-2022 |
Joseph Chen <chenjh@rock-chips.com> |
cmd: script_update: Fix can't read FAT table on rk upgrade sdcard
Detecting DOS partition directly but not all, avoid a valid and the higher prority partition type to be found early than DOS.
Don't
cmd: script_update: Fix can't read FAT table on rk upgrade sdcard
Detecting DOS partition directly but not all, avoid a valid and the higher prority partition type to be found early than DOS.
Don't allow to run script file when verify boot.
Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: I2b083635a34111e502b6de07ddfb3bac0f1fe073
show more ...
|
| 4061bada | 27-May-2022 |
Bian Jin chen <kenjc.bian@rock-chips.com> |
cmd: boot_android: correct print info in write_lock_status
Signed-off-by: Bian Jin chen <kenjc.bian@rock-chips.com> Change-Id: I580a305c1ba550eed80ba5db72b985ba8767ca16 |
| 687d7ae3 | 29-Mar-2022 |
Joseph Chen <chenjh@rock-chips.com> |
cmd: tftp_update: fix compile error
Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: I74f11fd76ae46818ec7644657035881f7d98f33e |