Patchwork [U-Boot,1/2] mx28evk: Use 512k for fdt partition to align it

login
register
mail settings
Submitter Otavio Salvador
Date Oct. 3, 2013, 11:50 a.m.
Message ID <1380801056-11923-1-git-send-email-otavio@ossystems.com.br>
Download mbox | patch
Permalink /patch/280283/
State Superseded
Delegated to: Stefano Babic
Headers show

Comments

Otavio Salvador - Oct. 3, 2013, 11:50 a.m.
Using 512k for fdt partition allow it to be aligned with the other
small partitions and 512k erase block size.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
---
 include/configs/mx28evk.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Wolfgang Denk - Oct. 3, 2013, 9:48 p.m.
Dear Otavio Salvador,

In message <1380801056-11923-1-git-send-email-otavio@ossystems.com.br> you wrote:
> Using 512k for fdt partition allow it to be aligned with the other
> small partitions and 512k erase block size.
> 
> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
> ---
>  include/configs/mx28evk.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/include/configs/mx28evk.h b/include/configs/mx28evk.h
> index 07f88ca..27b1a41 100644
> --- a/include/configs/mx28evk.h
> +++ b/include/configs/mx28evk.h
> @@ -97,7 +97,7 @@
>  		"512k(environment),"		\
>  		"512k(redundant-environment),"	\
>  		"4m(kernel),"			\
> -		"128k(fdt),"			\
> +		"512k(fdt),"			\
>  		"8m(ramdisk),"			\
>  		"-(filesystem)"

Are you positively sure there is a 0.5 MiB erase block size?

Which exact NAND device is this?

Sorry for asking, there is no NAND at all on the mx28evk in our lab,
so I really have no clue...

Best regards,

Wolfgang Denk
Otavio Salvador - Oct. 3, 2013, 9:53 p.m.
On Thu, Oct 3, 2013 at 6:48 PM, Wolfgang Denk <wd@denx.de> wrote:
> Dear Otavio Salvador,
>
> In message <1380801056-11923-1-git-send-email-otavio@ossystems.com.br> you wrote:
>> Using 512k for fdt partition allow it to be aligned with the other
>> small partitions and 512k erase block size.
>>
>> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
>> ---
>>  include/configs/mx28evk.h | 2 +-
>>  1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/include/configs/mx28evk.h b/include/configs/mx28evk.h
>> index 07f88ca..27b1a41 100644
>> --- a/include/configs/mx28evk.h
>> +++ b/include/configs/mx28evk.h
>> @@ -97,7 +97,7 @@
>>               "512k(environment),"            \
>>               "512k(redundant-environment),"  \
>>               "4m(kernel),"                   \
>> -             "128k(fdt),"                    \
>> +             "512k(fdt),"                    \
>>               "8m(ramdisk),"                  \
>>               "-(filesystem)"
>
> Are you positively sure there is a 0.5 MiB erase block size?
>
> Which exact NAND device is this?
>
> Sorry for asking, there is no NAND at all on the mx28evk in our lab,
> so I really have no clue...

Sure; it does.

It is a 4G NAND.

The part# is K9LBG08U0D-PCB0

Patch

diff --git a/include/configs/mx28evk.h b/include/configs/mx28evk.h
index 07f88ca..27b1a41 100644
--- a/include/configs/mx28evk.h
+++ b/include/configs/mx28evk.h
@@ -97,7 +97,7 @@ 
 		"512k(environment),"		\
 		"512k(redundant-environment),"	\
 		"4m(kernel),"			\
-		"128k(fdt),"			\
+		"512k(fdt),"			\
 		"8m(ramdisk),"			\
 		"-(filesystem)"
 #endif