| ef3691ed | 28-Mar-2022 |
Joseph Chen <chenjh@rock-chips.com> |
cmd: script_update: stop if run command failed
Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: I512c504966ccb5ef859c57314c292e39b2fae2b5 |
| 0ac34d7f | 27-Mar-2022 |
Joseph Chen <chenjh@rock-chips.com> |
cmd: script_update: don't use '&&' syntax
We may disable some syntax feature of hush for the board that requires critical tiny image size.
Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-
cmd: script_update: don't use '&&' syntax
We may disable some syntax feature of hush for the board that requires critical tiny image size.
Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: I6a7b2893f6fc5d03c57ee44363e51563098bab2b
show more ...
|
| a951a295 | 08-Nov-2021 |
Joseph Chen <chenjh@rock-chips.com> |
cmd: add sd_update/usb_update/tftp_update
Auto find sd_update/usb_update/tftp_update.txt from fat/udisk/tftp and run it.
Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: Id3ab00c2a8110
cmd: add sd_update/usb_update/tftp_update
Auto find sd_update/usb_update/tftp_update.txt from fat/udisk/tftp and run it.
Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: Id3ab00c2a8110c9134d99b048af5e0587fd6e16e
show more ...
|
| e83b79aa | 18-Mar-2022 |
Joseph Chen <chenjh@rock-chips.com> |
cmd: rename "tftpupdate" => "tftp_full_update"
Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: I21ac021997b05839e708021996183836eb227d41 |
| 74375e35 | 16-Mar-2022 |
Joseph Chen <chenjh@rock-chips.com> |
cmd: download: disable ctrlc before download
Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: I70f003ef76227139b82dab4835ce8f991289a8f1 |
| ad9dac3a | 10-Mar-2022 |
Joseph Chen <chenjh@rock-chips.com> |
cmd: Add 'blk' command
This common command can access any storage interface if it's a blk device.
Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: I5d49a1507c719cdf9cb8f72e1a71fce79d90
cmd: Add 'blk' command
This common command can access any storage interface if it's a blk device.
Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: I5d49a1507c719cdf9cb8f72e1a71fce79d90ffae
show more ...
|
| 2433663c | 08-Mar-2022 |
Joseph Chen <chenjh@rock-chips.com> |
cmd/fs: Add 'ext4write_sparse' command
Usage: ext4write_sparse <interface> <dev> <addr> <blk#>
Example:
=> ext4write_sparse mmc 0 0x0a200000 0x00116800
==== sparse header === magic:
cmd/fs: Add 'ext4write_sparse' command
Usage: ext4write_sparse <interface> <dev> <addr> <blk#>
Example:
=> ext4write_sparse mmc 0 0x0a200000 0x00116800
==== sparse header === magic: 0xed26ff3a major_version: 0x1 minor_version: 0x0 file_hdr_sz: 28 chunk_hdr_sz: 12 blk_sz: 4096 total_blks: 19968 total_chunks: 53 image_checksum: 0
=== [chunk.1] chunk_type: RAW chunk_sz: 2 total_sz: 8204 offset: 40 buf: 0x0a200028 lba: 0x00116800 - 0x00116810 sha256sum: 5fb865e2b12d61c696e8de1c2efbd83a2da69d385e05ab0636cb3802853e2255 === [chunk.2]
......
=== [chunk.53] chunk_type: FILL chunk_sz: 1258 total_sz: 16 offset: 36020988 buf: 0x0c45a2fc lba: 0x0013b0b0 - 0x0013d800 fill: 0x00000000
Unsparsed is 78 MiB and 0x00116800 - 0x0013d800 blocks written OK.
Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: Icefacb17da30281584f3b56b91c0ab3176726b90
show more ...
|
| d8e6f8d0 | 31-Dec-2021 |
Joseph Chen <chenjh@rock-chips.com> |
rockchip: ram: support extend ram top
Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: I1d8a5e9440071194a1c438345c08e7e2c4d0d3dc |
| 87d972d7 | 16-Feb-2022 |
Joseph Chen <chenjh@rock-chips.com> |
cmd: atags: Add boot param
Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: Ic5b2bea88d155a6324de34f846d9c459c95b70c1 |
| 5d3393e1 | 13-Dec-2021 |
Joseph Chen <chenjh@rock-chips.com> |
cmd: bootrkp: use align address to load image
Without this change, the mmc bounce buffer would use malloc and memcpy actions to load the image on unaligned address.
Let's simplify that with a final
cmd: bootrkp: use align address to load image
Without this change, the mmc bounce buffer would use malloc and memcpy actions to load the image on unaligned address.
Let's simplify that with a final memcpy action, which indenpends on malloc pool size.
Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: I50158d93cda45d517c8ac1de0c95357973a1d40a
show more ...
|
| f5b174d4 | 08-Dec-2021 |
Frank Wang <frank.wang@rock-chips.com> |
cmd: rockusb: fix null pointer when ctrl-c
Fix below null pointer exception when execute CTRL+C operation.
"Error" handler, esr 0xbe000011
* Reason: Exception from SError interrupt * PC
cmd: rockusb: fix null pointer when ctrl-c
Fix below null pointer exception when execute CTRL+C operation.
"Error" handler, esr 0xbe000011
* Reason: Exception from SError interrupt * PC = 00000000002831b8 * LR = 00000000002848a8 * SP = 00000000edbf94d0 * ESR_EL2 = 00000000be000011 * Reloc Off = 00000000efcdb000
[...]
Call trace: PC: [< 002831b8 >] LR: [< 002848a8 >]
Stack: [< 002831b8 >] [< 00284abc >] [< 0020f740 >] [< 002281dc >] [< 00216410 >] [< 002165b0 >] [< 00216af4 >] [< 00227888 >] [...]
Signed-off-by: Frank Wang <frank.wang@rock-chips.com> Change-Id: I379d0f7be3582b051bb38005592ee505e25b7acc
show more ...
|
| b4689b11 | 03-Dec-2021 |
Joseph Chen <chenjh@rock-chips.com> |
cmd: boot: stay in Thumb stat for "go" command
We use ARM Thumb2 to compile code and standalone.
Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: Iffe09fcf17ba86fd362246b6e8038ffcf7e2e
cmd: boot: stay in Thumb stat for "go" command
We use ARM Thumb2 to compile code and standalone.
Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: Iffe09fcf17ba86fd362246b6e8038ffcf7e2e4c7
show more ...
|
| aedf647f | 24-Aug-2021 |
Joseph Chen <chenjh@rock-chips.com> |
cmd: download: remove CONFIG_CMD_GO dependence
Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: I375ba79cb84f11471411c33bd4a1dcda3ab12fd5 |
| 5a94b264 | 09-Nov-2021 |
Joseph Chen <chenjh@rock-chips.com> |
env: add env fragment support
It's a way to partly update env by user.
configure: - CONFIG_ENVF - CONFIG_ENVF_LIST - CONFIG_ENV_SIZE
Tool example: ./tools/mkenvimage -s 0x8000 -p 0x0 -o e
env: add env fragment support
It's a way to partly update env by user.
configure: - CONFIG_ENVF - CONFIG_ENVF_LIST - CONFIG_ENV_SIZE
Tool example: ./tools/mkenvimage -s 0x8000 -p 0x0 -o envf.bin envf.txt
Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: Ie141f9ae9d91228c206f6d770d07ed6a54497b35
show more ...
|
| 892e9cd5 | 27-Oct-2021 |
Joseph Chen <chenjh@rock-chips.com> |
cmd: tftp_update: add firmware version initial message
Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: I19ee818cc821ddbfd9563c6539725070cb01c633 |
| 2fb449a6 | 06-May-2021 |
Joseph Chen <chenjh@rock-chips.com> |
cmd: add "tftpupdate" command
Support update a set of images organized with FIT via network using TFTP protocol.
Example: => tftpupdate // update all default images => tftpupdate recovery //
cmd: add "tftpupdate" command
Support update a set of images organized with FIT via network using TFTP protocol.
Example: => tftpupdate // update all default images => tftpupdate recovery // update recovery partition images only
Example with server directory: => tftpupdate image:* // update all default images => tftpupdate image: // update all default images => tftpupdate image:recovery // update recovery partition images only
Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: I4258fee63399a288333dc81a8347997bdbbe9831
show more ...
|
| f1804cef | 04-Nov-2020 |
Joseph Chen <chenjh@rock-chips.com> |
cmd: source: add fit config verify
Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: I55ab1c8a4ac2adac1679623e79952f6d858ae6fc |
| c785a9da | 06-Sep-2021 |
Joseph Chen <chenjh@rock-chips.com> |
cmd: nvedit: add env_update_extract_subset() API
Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: I383a320c5975b9e54b34c1da11738c15130fc581 |
| 851a5b11 | 07-Sep-2021 |
Joseph Chen <chenjh@rock-chips.com> |
cmd: nvedit: use calloc() instread of malloc()
Clear buffer before strxxx() to avoid dirty characters.
Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: I7173d70dbedbf58d4b87fef75b2e3bc
cmd: nvedit: use calloc() instread of malloc()
Clear buffer before strxxx() to avoid dirty characters.
Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: I7173d70dbedbf58d4b87fef75b2e3bccea73a21c
show more ...
|
| 279f1ed4 | 17-Sep-2021 |
Joseph Chen <chenjh@rock-chips.com> |
cmd: nvedit: don't use fixed buffer size
Using calloc() is more flexsible.
Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: I0c18b66be731b10e968a03976a15589e91ada757 |
| 48650c55 | 16-Sep-2021 |
Joseph Chen <chenjh@rock-chips.com> |
cmd: load: add "loadz" and "loadzflash"
Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: I9349127f1a10fffb0bd28586a2eac1caf626fb61 |
| dc582bb7 | 23-Aug-2021 |
Joseph Chen <chenjh@rock-chips.com> |
cmd: Add "atags" to dump all rk atags
Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: I56dd137efaf4bd4adf9a734fefd1f0485a616549 |
| 0462391c | 23-Aug-2021 |
Joseph Chen <chenjh@rock-chips.com> |
cmd: boot: move "rbrom" out of CONFIG_CMD_GO
It's not reasonable to put it under the control CONFIG_CMD_GO. Therefore we can disable CONFIG_CMD_GO in defconfig.
Signed-off-by: Joseph Chen <chenjh@r
cmd: boot: move "rbrom" out of CONFIG_CMD_GO
It's not reasonable to put it under the control CONFIG_CMD_GO. Therefore we can disable CONFIG_CMD_GO in defconfig.
Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: I6c378b5fa9fa43931fcc4b52d513a93ae3f5ecd2
show more ...
|
| b4609917 | 02-Aug-2021 |
Frank Wang <frank.wang@rock-chips.com> |
cmd: rockusb: convert return vlaue from block layer
Due to block layer return 0 represent error, so convert it to negative vlaue to ensure that UMS can check status correctly.
Change-Id: I5faf3d50c
cmd: rockusb: convert return vlaue from block layer
Due to block layer return 0 represent error, so convert it to negative vlaue to ensure that UMS can check status correctly.
Change-Id: I5faf3d50c19ae85f7ea05cdc57c372983e29e137 Signed-off-by: Frank Wang <frank.wang@rock-chips.com>
show more ...
|
| 6dce606b | 16-Feb-2019 |
Gervais, Francois <FGervais@distech-controls.com> |
UPSTREAM: cmd/fs: fix build if CMD_BOOTEFI is not set
Fixes: cmd/fs.c:29: undefined reference to `efi_set_bootdev'
Signed-off-by: Francois Gervais <fgervais@distech-controls.com> Change-Id: Ia4d669
UPSTREAM: cmd/fs: fix build if CMD_BOOTEFI is not set
Fixes: cmd/fs.c:29: undefined reference to `efi_set_bootdev'
Signed-off-by: Francois Gervais <fgervais@distech-controls.com> Change-Id: Ia4d6696dde0a95dc7d5a90ac286e94d2d9f06fb1
show more ...
|