Re: spi-nand: how to store environment with badblock handling in qspi nand

2022-06-27 Thread Kegl Rohit
On Sun, Jun 26, 2022 at 2:02 AM Daniel Golle wrote: > > On Sat, Jun 25, 2022 at 10:10:08AM +0200, Kegl Rohit wrote: > > Hello! > > > > Is it possible to store the environment inside a mtd partition when > > using a single qspi nand chip as storage? > > CO

spi-nand: how to store environment with badblock handling in qspi nand

2022-06-25 Thread Kegl Rohit
Hello! Is it possible to store the environment inside a mtd partition when using a single qspi nand chip as storage? CONFIG_MTD_SPI_NAND=y The idea is to separate the NAND into two system A/B. 1.Solution: mtdparts_nand0=2m(uboot),16m(system) system will be an ubifs containing env+env_redundant

How to use TPM in u-boot for Secure Boot?

2020-05-14 Thread ROHIT YADAV
How can I use TPM in u-boot for secure boot ? U-Boot has TPM support and it provide some driver support and commands. I have enabled TPM support in u-boot. But I don't know how to use it ? Have anybody used TPM in uboot ? -- Sent from: http://u-boot.10912.n7.nabble.com/

[U-Boot] How to find latest stable uboot version currently.

2014-07-21 Thread Rohit Jindal
Is it Apr,2014 Thanks , Rohit ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

[U-Boot] [PATCH 2/2] Fix OneNAND ipl to read CONFIG_SYS_MONITOR_LEN

2009-03-09 Thread Rohit Hagargundgi
Add CONFIG_SYS_MONITOR_LEN macro to apollon board config. CONFIG_SYS_MONITOR_LEN defines the U-Boot image size. and is used by OneNAND ipl when reading U-Boot image. Signed-off-by: Rohit Hagargundgi h.rohit at samsung.com --- include/configs/apollon.h |1 + 1 file changed, 1 insertion

[U-Boot] [PATCH 1/2] Fix OneNAND ipl to read CONFIG_SYS_MONITOR_LEN

2009-03-09 Thread Rohit Hagargundgi
Currently OneNAND initial program loader (ipl) reads only block 0 ie 128KB. However, u-boot image for apollon board is 195KB making the board unbootable with OneNAND. Fix ipl to read CONFIG_SYS_MONITOR_LEN. CONFIG_SYS_MONITOR_LEN macro holds the U-Boot image size. Signed-off-by: Rohit

Re: [U-Boot] [PATCH v2 1/4] Flex-OneNAND driver

2009-03-07 Thread Rohit Hagargundgi
Hi, Sorries for the delay On Tuesday 16 December 2008 03:14:22 Scott Wood wrote: On Thu, Dec 11, 2008 at 07:57:18PM +0530, Rohit Hagargundgi wrote: This patch adds support for MLC OneNAND and Flex-OneNAND devices. Patch does not apply to u-boot-nand-flash/next (the master branch

Re: [U-Boot] [PATCH v2 2/4] Environment support for Flex-OneNAND

2009-03-07 Thread Rohit Hagargundgi
On Thursday 11 December 2008 19:57:34 Rohit Hagargundgi wrote: Define and use CONFIG_ENV_ADDR_FLEX and CONFIG_ENV_SIZE_FLEX for storing environment variables. Signed-off-by: Rohit Hagargundgi h.ro...@samsung.com --- common/env_onenand.c | 10 ++ include/configs/apollon.h

Re: [U-Boot] [PATCH v2 3/4] JFFS2 commands support for Flex-OneNAND

2009-03-07 Thread Rohit Hagargundgi
On Thursday 11 December 2008 19:57:42 Rohit Hagargundgi wrote: Add sanity check for the partitions. Some special cases handled by the check are: - A partition can span across erase regions. - A region can have odd number of blocks. Signed-off-by: Rohit Hagargundgi h.ro

Re: [U-Boot] [PATCH v2 4/4] Flex-OneNAND boundary setting command

2009-03-07 Thread Rohit Hagargundgi
On Thursday 11 December 2008 19:57:53 Rohit Hagargundgi wrote: Add command for changing Flex-OneNAND SLC / MLC boundary. Also onenand commands work for Flex-OneNAND. Signed-off-by: Rohit Hagargundgi h.ro...@samsung.com --- common/cmd_onenand.c | 88

Re: [U-Boot] [PATCH] Fix OneNAND ipl to read 256KB

2009-02-26 Thread Rohit Hagargundgi
= 0 to the second 'for' it will be easier to read and understand okay. Thanks, Rohit ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH] Fix OneNAND ipl to read 256KB

2009-02-26 Thread Rohit Hagargundgi
by larger ipl size. I will repost as per comments. Thanks and regards, Rohit ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

[U-Boot] [PATCH] Fix OneNAND ipl to read 256KB

2009-02-25 Thread Rohit Hagargundgi
Currently OneNAND initial program loader (ipl) reads only block 0. However, u-boot image for apollon board is 195KB making the board unbootable with OneNAND. Fix ipl to read 256KB. Signed-off-by: Rohit Hagargundgi h.ro...@samsung.com --- onenand_ipl/onenand_ipl.h |1 + onenand_ipl

[U-Boot] [PATCH v2 0/4] Flex-OneNAND support

2008-12-11 Thread Rohit Hagargundgi
that it is more readable. patch 1 : Flex-OneNAND driver patch 2 : Environment support for Flex-OneNAND patch 3 : JFFS2 commands support for Flex-OneNAND patch 4 : Flex-OneNAND boundary setting command Any comments are appreciated. Thanks, Rohit ___ U-Boot mailing

[U-Boot] [PATCH v2 1/4] Flex-OneNAND driver

2008-12-11 Thread Rohit Hagargundgi
). 3. A single device is registered for Flex-OneNAND. This device has erase regions. Each erase region has different block size (either SLC or MLC). 4. 4 ECC registers. 5. LSB page recovery feature. Signed-off-by: Rohit Hagargundgi [EMAIL PROTECTED

[U-Boot] [PATCH v2 2/4] Environment support for Flex-OneNAND

2008-12-11 Thread Rohit Hagargundgi
Define and use CONFIG_ENV_ADDR_FLEX and CONFIG_ENV_SIZE_FLEX for storing environment variables. Signed-off-by: Rohit Hagargundgi [EMAIL PROTECTED] --- common/env_onenand.c | 10 ++ include/configs/apollon.h |2 ++ 2 files changed, 12 insertions(+), 0 deletions(-) diff --git

[U-Boot] [PATCH v2 3/4] JFFS2 commands support for Flex-OneNAND

2008-12-11 Thread Rohit Hagargundgi
Add sanity check for the partitions. Some special cases handled by the check are: - A partition can span across erase regions. - A region can have odd number of blocks. Signed-off-by: Rohit Hagargundgi [EMAIL PROTECTED] --- common/cmd_jffs2.c | 65

[U-Boot] [PATCH v2 4/4] Flex-OneNAND boundary setting command

2008-12-11 Thread Rohit Hagargundgi
Add command for changing Flex-OneNAND SLC / MLC boundary. Signed-off-by: Rohit Hagargundgi [EMAIL PROTECTED] --- common/cmd_onenand.c | 65 +++--- 1 files changed, 56 insertions(+), 9 deletions(-) diff --git a/common/cmd_onenand.c b/common

[U-Boot] [PATCH 0/3] Bad blocks and Partition support for OneNAND / Flex-OneNAND

2008-12-11 Thread Rohit Hagargundgi
Hi, The following patches improve partitioning and bad block support for OneNAND / Flex-OneNAND devices. The idea is to be able to use U-Boot as a utility to write images to flash. Any comments are much appreciated. Thanks, Rohit ___ U-Boot mailing

[U-Boot] [PATCH 3/3] Create bad block aware partition table

2008-12-11 Thread Rohit Hagargundgi
partition table is stored in environment variable 'newmtdparts'. Signed-off-by: Rohit Hagargundgi [EMAIL PROTECTED] --- common/cmd_onenand.c | 151 ++ 1 files changed, 151 insertions(+), 0 deletions(-) diff --git a/common/cmd_onenand.c b/common

Re: [U-Boot] [PATCH] Flex-OneNAND driver

2008-11-02 Thread Rohit
mentioned. First merge MTD tree and then U-Boot tree. At least, I'd like Kyungmin Park's ack for OneNAND stuff. Basically I acked this patch. I'll repost after MTD merge. Thanks, Rohit ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de

Re: [U-Boot] [PATCH] Flex-OneNAND driver

2008-10-24 Thread Rohit
and speed, suitable for storing code and data, such as bootloader, kernel and root file system. MLC area provides high density and is best used for storing user data. Users can configure the size of SLC and MLC regions through 'onenand setboundary' command. Signed-off-by: Rohit Hagargundgi [EMAIL