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?
> > CONFIG_M
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 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/
Is it Apr,2014
Thanks ,
Rohit
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
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
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
---
include/configs/apollon.h |1 +
1 file changed, 1 insertion(+)
diff --git a/include
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
---
include/configs/apollon.h |1 +
onenand_ipl/onenand_read.c | 27
page = 0;
>>}
>>
>>return 0;
>
> NAK, please use previous one as I sent.
> In Flex-OneNAND block 0 has 256KiB. need to handle at here how many
> blocks are needed.
this is taken care above.
> I also want to use CONFIG_ONENAND_END_BLOCK since we don't know which
> OneNAND or Flex-OneNAND are attached to apollon board.
okay. but why not use a variable instead.
Thanks,
Rohit
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
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
---
common/cmd_onenand.c
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 Hagargund
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
---
common/env_onenand.c | 10 ++
include/configs/apollon.h |2 ++
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 m
Hi,
Here is the updated patch.
Thanks,
Rohit
Signed-off-by: Rohit Hagargundgi
---
include/configs/apollon.h |1 +
onenand_ipl/onenand_read.c | 27 ---
2 files changed, 21 insertions(+), 7 deletions(-)
diff --git a/include/configs/apollon.h b/include/configs
onment block is affected 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
offset += pagesize;
>> -}
>> +for (page = ONENAND_START_PAGE; block < nblocks; page = 0, block++)
> please add the {} and move the page = 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
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
---
onenand_ipl/onenand_ipl.h |1 +
onenand_ipl/onenand_read.c | 29
.
The new 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/com
make 'partition' as last SLC partition.
Signed-off-by: Rohit Hagargundgi <[EMAIL PROTECTED]>
---
common/cmd_onenand.c | 259 ++
1 files changed, 259 insertions(+), 0 deletions(-)
diff --git a/common/cmd_onenand.c b/common/cmd
partition. If this block
goes bad, the successive block is used to store environment variables.
Signed-off-by: Rohit Hagargundgi <[EMAIL PROTECTED]>
---
env_onenand.c | 112 +-
1 file changed, 87 insertions(+), 25 deletions(-)
diff -
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
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/
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
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
).
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 PROTEC
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
rt the result?
>
> It's almost done and wait to merge into MTD tree.
> As I 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 aft
hrough 'onenand setboundary' command.
>>
>> Signed-off-by: Rohit Hagargundgi <[EMAIL PROTECTED]>
>
> Sorry for the late reply...
>
>> extern struct mtd_info onenand_mtd;
>> extern struct onenand_chip onenand_chip;
>> +loff_t flexonenand_get_a
instr.len <<= onenand_mtd.eraseregions[0].numblocks == 1 ?
>> + 1 : 0;
>> + }
>>
>
> Ditto.
>
I don't get alternative than to use CONFIG_ENV_SIZE_FLEX to store size
of environment variables
partition. Can you please elaborate.
Regards,
Rohit
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
28 matches
Mail list logo