| #
ad31dd99 |
| 04-Jun-2025 |
Jon Lin <jon.lin@rock-chips.com> |
mtd: mtd_blk: Remove the illegal trailing comma
Change-Id: I5baf4008f7ad17b43d4eb09cf9764e2670a51161 Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
|
| #
7d79e789 |
| 09-Apr-2025 |
Jon Lin <jon.lin@rock-chips.com> |
mtd: mtd_blk: Resize block device rawlba value
Change-Id: Ic91abc6c7171d90f54a6d2b10423e7076f9db2c4 Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
|
| #
ab7b5b70 |
| 09-Apr-2025 |
Jon Lin <jon.lin@rock-chips.com> |
mtd: mtd_blk: Refine the macro limitation required for SPI Nand
Change-Id: I7bb0a499e210c6e35a71ece259aea4a9210075d2 Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
|
| #
106a71f0 |
| 19-Mar-2025 |
Jon Lin <jon.lin@rock-chips.com> |
mtd: mtd_blk: Workaround for GPT FACTORY_UNKNOWN_LBA
For devices that fast boot and do not run uboot, if you use a burner to burn the image, the last partition of the gpt partition is a redundant se
mtd: mtd_blk: Workaround for GPT FACTORY_UNKNOWN_LBA
For devices that fast boot and do not run uboot, if you use a burner to burn the image, the last partition of the gpt partition is a redundant setting and needs to be modified to the correct value.
Change-Id: Iae66aa5c5764519d88ec07f565a269c28bd6cc63 Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
show more ...
|
| #
13ceb2af |
| 06-Nov-2024 |
Xuhui Lin <xuhui.lin@rock-chips.com> |
rockchip: Add arch timer 1Ghz support
Change-Id: I8e58b15be1823e732852a2aa76cc98813e6b4fe9 Signed-off-by: Xuhui Lin <xuhui.lin@rock-chips.com>
|
| #
e84cdedd |
| 30-Sep-2024 |
Jon Lin <jon.lin@rock-chips.com> |
mtd: mtd_blk: Round up the length of blk_derase
Change-Id: I3fc9de6c700a65d3b5dd56915b83c829810445a9 Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
|
| #
6af5fcf6 |
| 10-Sep-2024 |
Jon Lin <jon.lin@rock-chips.com> |
mtd: mtd_blk: Support spinand BLK_PRE_RW and support_cont_read
1.BLK_PRE_RW for spiflash async transmission 2.support_cont_read for spinand continuous read
Change-Id: I513278181a0aeeff1ab6c10ffd46c
mtd: mtd_blk: Support spinand BLK_PRE_RW and support_cont_read
1.BLK_PRE_RW for spiflash async transmission 2.support_cont_read for spinand continuous read
Change-Id: I513278181a0aeeff1ab6c10ffd46c2a50e2a4bb8 Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
show more ...
|
| #
af0bf855 |
| 22-Jul-2024 |
Jon Lin <jon.lin@rock-chips.com> |
mtd: mtd_blk: Change to blk_write for GPT area
When gpt is upgrade under loader mode, it's start from lba 1 which is unacceptable for BLK_MTD_CONT_WRITE mode.
Change-Id: I4f1b96f5af23e8ca3dff5e7c4a
mtd: mtd_blk: Change to blk_write for GPT area
When gpt is upgrade under loader mode, it's start from lba 1 which is unacceptable for BLK_MTD_CONT_WRITE mode.
Change-Id: I4f1b96f5af23e8ca3dff5e7c4a9d5b8f2573812a Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
show more ...
|
| #
f4688965 |
| 19-Jun-2024 |
Jon Lin <jon.lin@rock-chips.com> |
mtd: mtd_blk: Workaround for GPT area
Backup GPT will be programmed to the tail of flash 33 sector area. Using buffer read for unaligned write.
Change-Id: Ifc2fd507ac69c7c7c70708195e9f8cf8b6baabdb
mtd: mtd_blk: Workaround for GPT area
Backup GPT will be programmed to the tail of flash 33 sector area. Using buffer read for unaligned write.
Change-Id: Ifc2fd507ac69c7c7c70708195e9f8cf8b6baabdb Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
show more ...
|
| #
bee19e1d |
| 07-Mar-2024 |
Jon Lin <jon.lin@rock-chips.com> |
mtd: mtd_blk: Adding bad block management in usbplug
Change-Id: Ifcadf5d38cf52fb2aacbc1747a3e2596978ccc66 Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
|
| #
1a3d87be |
| 16-Nov-2023 |
Jon Lin <jon.lin@rock-chips.com> |
mtd: mtd_blk: Support MTD_BLK_VERBOSE debug log
When MTD_BLK_VERBOSE is enabled, print the flash blk_dread information, like following: mtd dread 4008 353 cost 22772us: 18MB/s
Change-Id: I675d57e
mtd: mtd_blk: Support MTD_BLK_VERBOSE debug log
When MTD_BLK_VERBOSE is enabled, print the flash blk_dread information, like following: mtd dread 4008 353 cost 22772us: 18MB/s
Change-Id: I675d57e64acfe3801255e2b247a0e5a450371922 Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
show more ...
|
| #
68fb1b3b |
| 04-Aug-2023 |
Jon Lin <jon.lin@rock-chips.com> |
mtd: mtd_blk: Change to u32 for printing under SPL
Change-Id: I4c5d212677bd44c03755d42e5ec812a345cc67f6 Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
|
| #
3d844a5e |
| 21-Oct-2022 |
Zhichao Guo <zhichao.guo@rock-chips.com> |
drivers: mtd: remove parsing root partition info
Instead, parse root partition type in android_ab.c
Signed-off-by: Zhichao Guo <zhichao.guo@rock-chips.com> Change-Id: Ia244fb0825bc1ea872cb0eb9c97b9
drivers: mtd: remove parsing root partition info
Instead, parse root partition type in android_ab.c
Signed-off-by: Zhichao Guo <zhichao.guo@rock-chips.com> Change-Id: Ia244fb0825bc1ea872cb0eb9c97b943f7024269e
show more ...
|
| #
35d02c8b |
| 29-Aug-2022 |
Jon Lin <jon.lin@rock-chips.com> |
mtd: mtd_blk: stop scanning when there is no partition for mapping
If continue to scaningg, it will run out off memory, like:
alloc_read_gpt_entries: ERROR: Can't allocate lX bytes for GPT Entries
mtd: mtd_blk: stop scanning when there is no partition for mapping
If continue to scaningg, it will run out off memory, like:
alloc_read_gpt_entries: ERROR: Can't allocate lX bytes for GPT Entries GPT: Failed to allocate memory for PTE part_get_info_efi: *** ERROR: Invalid GPT *** GUID Partition Table Header signature is wrong: 0xX != 0xX part_get_info_efi: *** ERROR: Invalid Backup GPT **
Change-Id: I8c0da4393aed53d9b2f5f6a9ecb092f4e225c606 Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
show more ...
|
| #
7182d4be |
| 17-May-2022 |
Jon Lin <jon.lin@rock-chips.com> |
mtd: mtd_blk: Wrong return for blk_derase
Return the blkcnt and make rockusb erase lba work through.
Change-Id: Iaf05aac2e4536545cb3e308d1bb0f6941ce45070 Signed-off-by: Jon Lin <jon.lin@rock-chips.
mtd: mtd_blk: Wrong return for blk_derase
Return the blkcnt and make rockusb erase lba work through.
Change-Id: Iaf05aac2e4536545cb3e308d1bb0f6941ce45070 Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
show more ...
|
| #
c4fe67c2 |
| 29-Jul-2021 |
Jason Zhu <jason.zhu@rock-chips.com> |
mtd: mtd_blk: add parameter dev_desc for mtd_part_parse()
Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com> Change-Id: I0a8ebd68ee82e124d4296d6683180a99dae0c028
|
| #
bfdb06ed |
| 12-Aug-2021 |
Jon Lin <jon.lin@rock-chips.com> |
mtd: mtd_blk: Clear DMA_PREPARE tag after transmission
Change-Id: I67c4e374f3a2cadd71b191f47ada93400b0e176e Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
|
| #
479a1588 |
| 15-Jun-2021 |
Jon Lin <jon.lin@rock-chips.com> |
mtd: mtd_blk: Ensure the right mtd device information
According to the following situations: 1.mtd device get full mtd device information after add_mtd_device(); 2.sf_mtd.c not public the sf_mtd
mtd: mtd_blk: Ensure the right mtd device information
According to the following situations: 1.mtd device get full mtd device information after add_mtd_device(); 2.sf_mtd.c not public the sf_mtd_info which is add_mtd_device(); 3.sf_probe.c probe mtd_blk with the another mtd variable which's information is incomplete and get from dev_get_uclass_priv. The mtd_blk can not get the correct information in sfc_nor case. So add the information here to avoid these situations.
Btw, mtd operation is base on sf_mtd_info, and mtd_blk operation is base one the variable in uclass_priv data.
Change-Id: I8839c3d9e3d263b79a411cf845e4865f622225c3 Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
show more ...
|
| #
a3e58bf5 |
| 21-Apr-2021 |
Jon Lin <jon.lin@rock-chips.com> |
mtd: mtd_blk: Support for all cases of last autosize partition
1.pc tools last partition autosize equals lba - 33 2.uboot self last partition autosize equals lba - 34 3.gpt_entry_modify last partiti
mtd: mtd_blk: Support for all cases of last autosize partition
1.pc tools last partition autosize equals lba - 33 2.uboot self last partition autosize equals lba - 34 3.gpt_entry_modify last partition autosize equals lba - 64
Change-Id: Ie742f1cd1668cad7bacd95d74dffcdc12281b7c1 Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
show more ...
|
| #
cc0876a8 |
| 15-Apr-2021 |
Weiwen Chen <cww@rock-chips.com> |
mtd: mtd_blk: support A/B system boot with squashfs
Signed-off-by: Weiwen Chen <cww@rock-chips.com> Change-Id: Ifc87bcdef427c0fd8b6b4fe353f4301105ed7aab
|
| #
bd676549 |
| 02-Mar-2021 |
Jon Lin <jon.lin@rock-chips.com> |
mtd: mtd_blk: Support map erase
Erase block with map address to implify partition bad block processing. No impact on existing framework.
Change-Id: Ia118f3741446eb2716120a3c1b181f325c5a6e65 Signed-
mtd: mtd_blk: Support map erase
Erase block with map address to implify partition bad block processing. No impact on existing framework.
Change-Id: Ia118f3741446eb2716120a3c1b181f325c5a6e65 Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
show more ...
|
| #
a5c69560 |
| 02-Mar-2021 |
Jon Lin <jon.lin@rock-chips.com> |
mtd: mtd_blk: Pass rk-nand to match the kernel nand device
u-boot nand dev - nand0 kernel nand dev - rk-nand so u-boot transfer mtdparts with rk-nand device name
Change-Id: I657c6aa7ad25f68ddb557c3
mtd: mtd_blk: Pass rk-nand to match the kernel nand device
u-boot nand dev - nand0 kernel nand dev - rk-nand so u-boot transfer mtdparts with rk-nand device name
Change-Id: I657c6aa7ad25f68ddb557c310666ff41999ebdfd Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
show more ...
|
| #
69bb6ffa |
| 14-Jan-2021 |
Jon Lin <jon.lin@rock-chips.com> |
mtd: mtd_blk: Only reserve for last partition with grow tag
Change-Id: Icd3bd87b45bdb3af6688269a2332463f570f4d46 Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
|
| #
ce9d2743 |
| 14-Jan-2021 |
Jon Lin <jon.lin@rock-chips.com> |
mtd: mtd_blk: spinor reserved area aligned to 64KB
1.reserve for GPT 2.kernel spinor erasesize is 64KB
Change-Id: I32a5b26f8f39b4b226ec54342ce5d8d3d71f1c4d Signed-off-by: Jon Lin <jon.lin@rock-chip
mtd: mtd_blk: spinor reserved area aligned to 64KB
1.reserve for GPT 2.kernel spinor erasesize is 64KB
Change-Id: I32a5b26f8f39b4b226ec54342ce5d8d3d71f1c4d Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
show more ...
|
| #
a0166cc6 |
| 06-Jan-2021 |
Jason Zhu <jason.zhu@rock-chips.com> |
mtd: Kconfig: add a Kconfig option to enable the support for MTD block write operations
This allows using CONFIG_IS_ENABLED(SPLMTD_WRITE) to compile out code needed only if write support is required
mtd: Kconfig: add a Kconfig option to enable the support for MTD block write operations
This allows using CONFIG_IS_ENABLED(SPLMTD_WRITE) to compile out code needed only if write support is required. The option is added for u-boot and for SPL.
Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com> Change-Id: Ia48169fcd601ad51d1723923ed71d610901275e1
show more ...
|