[U-Boot] [PATCH 0/5] ARM: sheevaplug: refresh for 201410

This serie of patches add some needed features to sheevaplug
Gerald Kerma (5): ARM: sheevaplug: change env location ARM: sheevaplug: add MVSATA driver ARM: sheevaplug: add MTD defaults ARM: sheevaplug: redefine MTDPARTS ARM: sheevaplug: add HUSH parser
include/configs/sheevaplug.h | 46 +++++++++++++++++++++++++++++++++++++++----- 1 file changed, 41 insertions(+), 5 deletions(-)

This patch move the environment offset in sheevaplug. The size of the u-boot binary is become too big. Fix saving environments was result of corrupting the u-boot.
Signed-off-by: Gerald Kerma drEagle@doukki.net
Changes in v2: - patch description
Changes in v1: - fix sheevaplug environment offset
--- include/configs/sheevaplug.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/include/configs/sheevaplug.h b/include/configs/sheevaplug.h index 4747adf..d89bc37 100644 --- a/include/configs/sheevaplug.h +++ b/include/configs/sheevaplug.h @@ -54,8 +54,8 @@ * it has to be rounded to sector size */ #define CONFIG_ENV_SIZE 0x20000 /* 128k */ -#define CONFIG_ENV_ADDR 0x60000 -#define CONFIG_ENV_OFFSET 0x60000 /* env starts here */ +#define CONFIG_ENV_ADDR 0x80000 +#define CONFIG_ENV_OFFSET 0x80000 /* env starts here */
/* * Default environment variables

This patch add MVSATA driver to sheevaplug
Signed-off-by: Gerald Kerma drEagle@doukki.net
Changes in v1: - add MVSATA driver to sheevaplug - enable ext4 FS support
--- include/configs/sheevaplug.h | 26 +++++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-)
diff --git a/include/configs/sheevaplug.h b/include/configs/sheevaplug.h index d89bc37..9661b8f 100644 --- a/include/configs/sheevaplug.h +++ b/include/configs/sheevaplug.h @@ -1,5 +1,6 @@ /* - * (C) Copyright 2009 + * (C) Copyright 2009-2014 + * Gerald Kerma dreagle@doukki.net * Marvell Semiconductor <www.marvell.com> * Written-by: Prafulla Wadaskar prafulla@marvell.com * @@ -23,12 +24,21 @@ #define CONFIG_SKIP_LOWLEVEL_INIT /* disable board lowlevel_init */
/* + * Compression configuration + */ +#define CONFIG_BZIP2 +#define CONFIG_LZMA +#define CONFIG_LZO + +/* * Commands configuration */ #define CONFIG_SYS_NO_FLASH /* Declare no flash (NOR/SPI) */ #include <config_cmd_default.h> +#define CONFIG_CMD_BOOTZ #define CONFIG_CMD_DHCP #define CONFIG_CMD_ENV +#define CONFIG_CMD_IDE #define CONFIG_CMD_MII #define CONFIG_CMD_MMC #define CONFIG_CMD_NAND @@ -92,9 +102,23 @@ #endif /* CONFIG_CMD_MMC */
/* + * SATA driver configuration + */ +#ifdef CONFIG_CMD_IDE +#define __io +#define CONFIG_IDE_PREINIT +#define CONFIG_DOS_PARTITION +#define CONFIG_MVSATA_IDE_USE_PORT0 +#define CONFIG_MVSATA_IDE_USE_PORT1 +#define CONFIG_SYS_ATA_IDE0_OFFSET MV_SATA_PORT0_OFFSET +#define CONFIG_SYS_ATA_IDE1_OFFSET MV_SATA_PORT1_OFFSET +#endif /* CONFIG_CMD_IDE */ + +/* * File system */ #define CONFIG_CMD_EXT2 +#define CONFIG_CMD_EXT4 #define CONFIG_CMD_FAT #define CONFIG_CMD_JFFS2 #define CONFIG_CMD_UBI

This patch add MTDIDS and MTDPARTS defaults settings to sheevaplug
Signed-off-by: Gerald Kerma drEagle@doukki.net
Changes in v1: - add MTDIDS and MTDPARTS default to sheevaplug
--- include/configs/sheevaplug.h | 5 +++++ 1 file changed, 5 insertions(+)
diff --git a/include/configs/sheevaplug.h b/include/configs/sheevaplug.h index 9661b8f..0a3118d 100644 --- a/include/configs/sheevaplug.h +++ b/include/configs/sheevaplug.h @@ -83,6 +83,11 @@ "x_bootcmd_usb=usb start\0" \ "x_bootargs_root=root=/dev/mtdblock3 rw rootfstype=jffs2\0"
+#define MTDIDS_DEFAULT "nand0=orion_nand" + +#define MTDPARTS_DEFAULT \ + "mtdparts="CONFIG_MTDPARTS + /* * Ethernet Driver configuration */

This patch redefine MTDPARTS
Signed-off-by: Gerald Kerma drEagle@doukki.net
Changes in v1: - redefine MTDPARTS
--- include/configs/sheevaplug.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/include/configs/sheevaplug.h b/include/configs/sheevaplug.h index 0a3118d..62f46b7 100644 --- a/include/configs/sheevaplug.h +++ b/include/configs/sheevaplug.h @@ -74,8 +74,10 @@ "setenv bootargs ${x_bootargs} ${x_bootargs_root}; " \ "${x_bootcmd_usb}; bootm 0x6400000;"
-#define CONFIG_MTDPARTS "orion_nand:512k(uboot)," \ - "3m@1m(kernel),1m@4m(psm),13m@5m(rootfs) rw\0" +#define CONFIG_MTDPARTS \ + "mtdparts=orion_nand:512K(uboot)," \ + "512K(env),1M(script),6M(kernel)," \ + "12M(ramdisk),4M(spare),-(rootfs)"
#define CONFIG_EXTRA_ENV_SETTINGS "x_bootargs=console" \ "=ttyS0,115200 mtdparts="CONFIG_MTDPARTS \

This patch add HUSH command parser
Signed-off-by: Gerald Kerma drEagle@doukki.net
Changes in v1: - add HUSH command parser
--- include/configs/sheevaplug.h | 5 +++++ 1 file changed, 5 insertions(+)
diff --git a/include/configs/sheevaplug.h b/include/configs/sheevaplug.h index 62f46b7..6428c83 100644 --- a/include/configs/sheevaplug.h +++ b/include/configs/sheevaplug.h @@ -30,6 +30,11 @@ #define CONFIG_LZMA #define CONFIG_LZO
+/* + * Miscellaneous configurable options + */ +#define CONFIG_SYS_HUSH_PARSER /* use "hush" command parser */ + /* * Commands configuration */

Hi, Albert.
These patches are not taken for a long time. If possible and Prafulla is OK, can you apply to u-boot-arm directly?
Best regards, Nobuhiro
2014-09-08 1:01 GMT+09:00 Gerald Kerma drEagle@doukki.net:
This serie of patches add some needed features to sheevaplug
Gerald Kerma (5): ARM: sheevaplug: change env location ARM: sheevaplug: add MVSATA driver ARM: sheevaplug: add MTD defaults ARM: sheevaplug: redefine MTDPARTS ARM: sheevaplug: add HUSH parser
include/configs/sheevaplug.h | 46 +++++++++++++++++++++++++++++++++++++++----- 1 file changed, 41 insertions(+), 5 deletions(-)
-- 1.9.1

Hi Everybody,
Sorry for being inactive on the thread... I will pull these patches and provide a pull request to albert soon...
Regards... Prafulla . . .
-----Original Message----- From: Nobuhiro Iwamatsu [mailto:iwamatsu@nigauri.org] Sent: 09 September 2014 12:08 To: Albert ARIBAUD Cc: U-Boot; Prafulla Wadaskar; Pantelis Antoniou; Gerald Kerma; Tom Rini Subject: Re: [PATCH 0/5] ARM: sheevaplug: refresh for 201410
Hi, Albert.
These patches are not taken for a long time. If possible and Prafulla is OK, can you apply to u- boot-arm directly?
Best regards, Nobuhiro
2014-09-08 1:01 GMT+09:00 Gerald Kerma drEagle@doukki.net:
This serie of patches add some needed features to
sheevaplug
Gerald Kerma (5): ARM: sheevaplug: change env location ARM: sheevaplug: add MVSATA driver ARM: sheevaplug: add MTD defaults ARM: sheevaplug: redefine MTDPARTS ARM: sheevaplug: add HUSH parser
include/configs/sheevaplug.h | 46
+++++++++++++++++++++++++++++++++++++++-----
1 file changed, 41 insertions(+), 5 deletions(-)
-- 1.9.1
-- Nobuhiro Iwamatsu iwamatsu at {nigauri.org / debian.org} GPG ID: 40AD1FA6

Hi Preafulla,
Any news about these patches ?
Regards,
On 09/09/2014 08:59, Prafulla Wadaskar wrote:
Hi Everybody,
Sorry for being inactive on the thread... I will pull these patches and provide a pull request to albert soon...
Regards... Prafulla . . .
-----Original Message----- From: Nobuhiro Iwamatsu [mailto:iwamatsu@nigauri.org] Sent: 09 September 2014 12:08 To: Albert ARIBAUD Cc: U-Boot; Prafulla Wadaskar; Pantelis Antoniou; Gerald Kerma; Tom Rini Subject: Re: [PATCH 0/5] ARM: sheevaplug: refresh for 201410
Hi, Albert.
These patches are not taken for a long time. If possible and Prafulla is OK, can you apply to u- boot-arm directly?
Best regards, Nobuhiro
2014-09-08 1:01 GMT+09:00 Gerald Kerma drEagle@doukki.net:
This serie of patches add some needed features to
sheevaplug
Gerald Kerma (5): ARM: sheevaplug: change env location ARM: sheevaplug: add MVSATA driver ARM: sheevaplug: add MTD defaults ARM: sheevaplug: redefine MTDPARTS ARM: sheevaplug: add HUSH parser
include/configs/sheevaplug.h | 46
+++++++++++++++++++++++++++++++++++++++-----
1 file changed, 41 insertions(+), 5 deletions(-)
-- 1.9.1
-- Nobuhiro Iwamatsu iwamatsu at {nigauri.org / debian.org} GPG ID: 40AD1FA6

Hi Prafulla,
Is there any chance for theses patches to be reviewed in time for next release ?
Can you get it reviewed by anyone else ?
Enjoy,
On 15/09/2014 06:36, drEagle wrote:
Hi Preafulla,
Any news about these patches ?
Regards,
On 09/09/2014 08:59, Prafulla Wadaskar wrote:
Hi Everybody,
Sorry for being inactive on the thread... I will pull these patches and provide a pull request to albert soon...
Regards... Prafulla . . .
-----Original Message----- From: Nobuhiro Iwamatsu [mailto:iwamatsu@nigauri.org] Sent: 09 September 2014 12:08 To: Albert ARIBAUD Cc: U-Boot; Prafulla Wadaskar; Pantelis Antoniou; Gerald Kerma; Tom Rini Subject: Re: [PATCH 0/5] ARM: sheevaplug: refresh for 201410
Hi, Albert.
These patches are not taken for a long time. If possible and Prafulla is OK, can you apply to u- boot-arm directly?
Best regards, Nobuhiro
2014-09-08 1:01 GMT+09:00 Gerald Kerma drEagle@doukki.net:
This serie of patches add some needed features to
sheevaplug
Gerald Kerma (5): ARM: sheevaplug: change env location ARM: sheevaplug: add MVSATA driver ARM: sheevaplug: add MTD defaults ARM: sheevaplug: redefine MTDPARTS ARM: sheevaplug: add HUSH parser
include/configs/sheevaplug.h | 46
+++++++++++++++++++++++++++++++++++++++-----
1 file changed, 41 insertions(+), 5 deletions(-)
-- 1.9.1
-- Nobuhiro Iwamatsu iwamatsu at {nigauri.org / debian.org} GPG ID: 40AD1FA6

Hi,
Is there any actions to take theses patches mainlined ?
Regards,
On 21/09/2014 08:47, drEagle wrote:
Hi Prafulla,
Is there any chance for theses patches to be reviewed in time for next release ?
Can you get it reviewed by anyone else ?
Enjoy,
On 15/09/2014 06:36, drEagle wrote:
Hi Preafulla,
Any news about these patches ?
Regards,
On 09/09/2014 08:59, Prafulla Wadaskar wrote:
Hi Everybody,
Sorry for being inactive on the thread... I will pull these patches and provide a pull request to albert soon...
Regards... Prafulla . . .
-----Original Message----- From: Nobuhiro Iwamatsu [mailto:iwamatsu@nigauri.org] Sent: 09 September 2014 12:08 To: Albert ARIBAUD Cc: U-Boot; Prafulla Wadaskar; Pantelis Antoniou; Gerald Kerma; Tom Rini Subject: Re: [PATCH 0/5] ARM: sheevaplug: refresh for 201410
Hi, Albert.
These patches are not taken for a long time. If possible and Prafulla is OK, can you apply to u- boot-arm directly?
Best regards, Nobuhiro
2014-09-08 1:01 GMT+09:00 Gerald Kerma drEagle@doukki.net:
This serie of patches add some needed features to
sheevaplug
Gerald Kerma (5): ARM: sheevaplug: change env location ARM: sheevaplug: add MVSATA driver ARM: sheevaplug: add MTD defaults ARM: sheevaplug: redefine MTDPARTS ARM: sheevaplug: add HUSH parser
include/configs/sheevaplug.h | 46
+++++++++++++++++++++++++++++++++++++++-----
1 file changed, 41 insertions(+), 5 deletions(-)
-- 1.9.1
-- Nobuhiro Iwamatsu iwamatsu at {nigauri.org / debian.org} GPG ID: 40AD1FA6

-----Original Message----- From: drEagle [mailto:drEagle@doukki.net] Sent: 26 September 2014 14:47 To: Prafulla Wadaskar; Albert ARIBAUD Cc: Nobuhiro Iwamatsu; U-Boot; Pantelis Antoniou; Tom Rini Subject: Re: [PATCH 0/5] ARM: sheevaplug: refresh for 201410
Hi,
Is there any actions to take theses patches mainlined ?
This patch series is applies to u-boot-marvell.git master branch
Thanks and regards... Prafulla . . .

Thank you Prafulla,
Is there a pull request planned to master 2014-10 release from git-marvell ?
Regards
Le 2014-10-01 13:21, Prafulla Wadaskar a écrit :
-----Original Message----- From: drEagle [mailto:drEagle@doukki.net] Sent: 26 September 2014 14:47 To: Prafulla Wadaskar; Albert ARIBAUD Cc: Nobuhiro Iwamatsu; U-Boot; Pantelis Antoniou; Tom Rini Subject: Re: [PATCH 0/5] ARM: sheevaplug: refresh for 201410
Hi,
Is there any actions to take theses patches mainlined ?
This patch series is applies to u-boot-marvell.git master branch
Thanks and regards... Prafulla . . .

-----Original Message----- From: DrEagle [mailto:dreagle@doukki.net] Sent: 07 October 2014 12:59 To: Prafulla Wadaskar Cc: drEagle; Albert ARIBAUD; Nobuhiro Iwamatsu; U-Boot; Pantelis Antoniou; Tom Rini Subject: RE: [PATCH 0/5] ARM: sheevaplug: refresh for 201410
Thank you Prafulla,
Is there a pull request planned to master 2014-10 release from git-marvell ?
Yes, it has been already requested to Albert.
Regards... Prafulla . . .
participants (5)
-
drEagle
-
DrEagle
-
Gerald Kerma
-
Nobuhiro Iwamatsu
-
Prafulla Wadaskar