* [U-Boot] [PATCH v1 0/5] SHEEVAPLUG : REFRESH 201412
@ 2014-12-13 20:36 Gérald Kerma
2014-12-13 20:36 ` [U-Boot] [PATCH v1 1/5] SHEEVAPLUG : FIX typo Gérald Kerma
` (6 more replies)
0 siblings, 7 replies; 25+ messages in thread
From: Gérald Kerma @ 2014-12-13 20:36 UTC (permalink / raw)
To: u-boot
This serie of patch prepare SHEEVAPLUG for latest kernels
G?rald Kerma (5):
SHEEVAPLUG : FIX typo
SHEEVAPLUG : FIX multiple defines
SHEEVAPLUG : ADD generic board define
SHEEVAPLUG : ADD CONFIG_CMD_FAT
SHEEVAPLUG : ADD FDT support
include/configs/sheevaplug.h | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
--
2.1.3
^ permalink raw reply [flat|nested] 25+ messages in thread* [U-Boot] [PATCH v1 1/5] SHEEVAPLUG : FIX typo 2014-12-13 20:36 [U-Boot] [PATCH v1 0/5] SHEEVAPLUG : REFRESH 201412 Gérald Kerma @ 2014-12-13 20:36 ` Gérald Kerma 2014-12-13 20:36 ` [U-Boot] [PATCH v1 2/5] SHEEVAPLUG : FIX multiple defines Gérald Kerma ` (5 subsequent siblings) 6 siblings, 0 replies; 25+ messages in thread From: Gérald Kerma @ 2014-12-13 20:36 UTC (permalink / raw) To: u-boot Signed-off-by: G?rald Kerma <drEagle@doukki.net> --- include/configs/sheevaplug.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/configs/sheevaplug.h b/include/configs/sheevaplug.h index 71be823..829c57a 100644 --- a/include/configs/sheevaplug.h +++ b/include/configs/sheevaplug.h @@ -49,6 +49,7 @@ #define CONFIG_CMD_NAND #define CONFIG_CMD_PING #define CONFIG_CMD_USB + /* * mv-common.h should be defined after CMD configs since it used them * to enable certain macros -- 2.1.3 ^ permalink raw reply related [flat|nested] 25+ messages in thread
* [U-Boot] [PATCH v1 2/5] SHEEVAPLUG : FIX multiple defines 2014-12-13 20:36 [U-Boot] [PATCH v1 0/5] SHEEVAPLUG : REFRESH 201412 Gérald Kerma 2014-12-13 20:36 ` [U-Boot] [PATCH v1 1/5] SHEEVAPLUG : FIX typo Gérald Kerma @ 2014-12-13 20:36 ` Gérald Kerma 2014-12-13 20:36 ` [U-Boot] [PATCH v1 3/5] SHEEVAPLUG : ADD generic board define Gérald Kerma ` (4 subsequent siblings) 6 siblings, 0 replies; 25+ messages in thread From: Gérald Kerma @ 2014-12-13 20:36 UTC (permalink / raw) To: u-boot Signed-off-by: G?rald Kerma <drEagle@doukki.net> --- include/configs/sheevaplug.h | 1 - 1 file changed, 1 deletion(-) diff --git a/include/configs/sheevaplug.h b/include/configs/sheevaplug.h index 829c57a..393fdd4 100644 --- a/include/configs/sheevaplug.h +++ b/include/configs/sheevaplug.h @@ -140,6 +140,5 @@ #define CONFIG_MTD_DEVICE /* needed for mtdparts commands */ #define CONFIG_MTD_PARTITIONS #define CONFIG_CMD_MTDPARTS -#define CONFIG_LZO #endif /* _CONFIG_SHEEVAPLUG_H */ -- 2.1.3 ^ permalink raw reply related [flat|nested] 25+ messages in thread
* [U-Boot] [PATCH v1 3/5] SHEEVAPLUG : ADD generic board define 2014-12-13 20:36 [U-Boot] [PATCH v1 0/5] SHEEVAPLUG : REFRESH 201412 Gérald Kerma 2014-12-13 20:36 ` [U-Boot] [PATCH v1 1/5] SHEEVAPLUG : FIX typo Gérald Kerma 2014-12-13 20:36 ` [U-Boot] [PATCH v1 2/5] SHEEVAPLUG : FIX multiple defines Gérald Kerma @ 2014-12-13 20:36 ` Gérald Kerma 2014-12-13 20:36 ` [U-Boot] [PATCH v1 4/5] SHEEVAPLUG : ADD CONFIG_CMD_FAT Gérald Kerma ` (3 subsequent siblings) 6 siblings, 0 replies; 25+ messages in thread From: Gérald Kerma @ 2014-12-13 20:36 UTC (permalink / raw) To: u-boot Signed-off-by: G?rald Kerma <drEagle@doukki.net> --- include/configs/sheevaplug.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/configs/sheevaplug.h b/include/configs/sheevaplug.h index 393fdd4..589655a 100644 --- a/include/configs/sheevaplug.h +++ b/include/configs/sheevaplug.h @@ -10,6 +10,8 @@ #ifndef _CONFIG_SHEEVAPLUG_H #define _CONFIG_SHEEVAPLUG_H +#define CONFIG_SYS_GENERIC_BOARD + /* * Version number information */ -- 2.1.3 ^ permalink raw reply related [flat|nested] 25+ messages in thread
* [U-Boot] [PATCH v1 4/5] SHEEVAPLUG : ADD CONFIG_CMD_FAT 2014-12-13 20:36 [U-Boot] [PATCH v1 0/5] SHEEVAPLUG : REFRESH 201412 Gérald Kerma ` (2 preceding siblings ...) 2014-12-13 20:36 ` [U-Boot] [PATCH v1 3/5] SHEEVAPLUG : ADD generic board define Gérald Kerma @ 2014-12-13 20:36 ` Gérald Kerma 2014-12-13 20:36 ` [U-Boot] [PATCH v1 5/5] SHEEVAPLUG : ADD FDT support Gérald Kerma ` (2 subsequent siblings) 6 siblings, 0 replies; 25+ messages in thread From: Gérald Kerma @ 2014-12-13 20:36 UTC (permalink / raw) To: u-boot Signed-off-by: G?rald Kerma <drEagle@doukki.net> --- include/configs/sheevaplug.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/configs/sheevaplug.h b/include/configs/sheevaplug.h index 589655a..77e8d17 100644 --- a/include/configs/sheevaplug.h +++ b/include/configs/sheevaplug.h @@ -51,6 +51,7 @@ #define CONFIG_CMD_NAND #define CONFIG_CMD_PING #define CONFIG_CMD_USB +#define CONFIG_CMD_FAT /* * mv-common.h should be defined after CMD configs since it used them -- 2.1.3 ^ permalink raw reply related [flat|nested] 25+ messages in thread
* [U-Boot] [PATCH v1 5/5] SHEEVAPLUG : ADD FDT support 2014-12-13 20:36 [U-Boot] [PATCH v1 0/5] SHEEVAPLUG : REFRESH 201412 Gérald Kerma ` (3 preceding siblings ...) 2014-12-13 20:36 ` [U-Boot] [PATCH v1 4/5] SHEEVAPLUG : ADD CONFIG_CMD_FAT Gérald Kerma @ 2014-12-13 20:36 ` Gérald Kerma 2014-12-14 2:54 ` [U-Boot] [PATCH v2 0/6] SHEEVAPLUG : REFRESH 201412 Gérald Kerma 2014-12-17 14:02 ` [U-Boot] [PATCH v3 0/6] SHEEVAPLUG : REFRESH 201412 Gérald Kerma 6 siblings, 0 replies; 25+ messages in thread From: Gérald Kerma @ 2014-12-13 20:36 UTC (permalink / raw) To: u-boot LIBFDT feature is required to support new kernel Signed-off-by: G?rald Kerma <drEagle@doukki.net> --- include/configs/sheevaplug.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/include/configs/sheevaplug.h b/include/configs/sheevaplug.h index 77e8d17..0f523c5 100644 --- a/include/configs/sheevaplug.h +++ b/include/configs/sheevaplug.h @@ -33,6 +33,11 @@ #define CONFIG_LZO /* + * Enable device tree support + */ +#define CONFIG_OF_LIBFDT + +/* * Miscellaneous configurable options */ #define CONFIG_SYS_HUSH_PARSER /* use "hush" command parser */ -- 2.1.3 ^ permalink raw reply related [flat|nested] 25+ messages in thread
* [U-Boot] [PATCH v2 0/6] SHEEVAPLUG : REFRESH 201412 2014-12-13 20:36 [U-Boot] [PATCH v1 0/5] SHEEVAPLUG : REFRESH 201412 Gérald Kerma ` (4 preceding siblings ...) 2014-12-13 20:36 ` [U-Boot] [PATCH v1 5/5] SHEEVAPLUG : ADD FDT support Gérald Kerma @ 2014-12-14 2:54 ` Gérald Kerma 2014-12-14 2:54 ` [U-Boot] [PATCH v2 1/6] SHEEVAPLUG : FIX typo Gérald Kerma ` (5 more replies) 2014-12-17 14:02 ` [U-Boot] [PATCH v3 0/6] SHEEVAPLUG : REFRESH 201412 Gérald Kerma 6 siblings, 6 replies; 25+ messages in thread From: Gérald Kerma @ 2014-12-14 2:54 UTC (permalink / raw) To: u-boot Prepare ENV settings for sheevaplugs to be OpenWRT ready. +----------+ | UBOOT | >> 896 Kb (7x128) = uboot +----------+ | ENV | >> 128 Kb = uboot_env +----------+ | IMAGES | >> 23 Mb @ 1 Mb = image -> UIMAGE+UINITRD+FDT +----------+ | ROOT(FS) | >> 488 Mb @ 24 Mb = root -> rootfs (ubifs) +----------+ With (CC) TRUNK OpenWRT build (QUICK HOWTO) : <INTERRUPT> ### INITIALIZE Marvell>> nand erase.part root ### PREPARE Marvell>> ubi part root Marvell>> ubi remove rootfs Marvell>> ubi create rootfs ### UPGRADE Marvell>> usb reset Marvell>> fatload usb 0:1 0x800000 sheevaplug/openwrt/openwrt-kirkwood-sheevaplug-rootfs.ubifs Marvell>> ubi write 0x800000 rootfs ${filesize} Marvell>> reset Changes in v2: - merge patch Changes in v1: - review typo - define MTDPARTS for UBIFS G?rald Kerma (6): SHEEVAPLUG : FIX typo SHEEVAPLUG : FIX multiple defines SHEEVAPLUG : ADD generic board define SHEEVAPLUG : ADD CONFIG_CMD_FAT SHEEVAPLUG : ADD FDT support SHEEVAPLUG : REDEFINE MTDPARTS include/configs/sheevaplug.h | 50 +++++++++++++++++++++++++++++--------------- 1 file changed, 33 insertions(+), 17 deletions(-) -- 2.1.3 ^ permalink raw reply [flat|nested] 25+ messages in thread
* [U-Boot] [PATCH v2 1/6] SHEEVAPLUG : FIX typo 2014-12-14 2:54 ` [U-Boot] [PATCH v2 0/6] SHEEVAPLUG : REFRESH 201412 Gérald Kerma @ 2014-12-14 2:54 ` Gérald Kerma 2014-12-14 2:54 ` [U-Boot] [PATCH v2 2/6] SHEEVAPLUG : FIX multiple defines Gérald Kerma ` (4 subsequent siblings) 5 siblings, 0 replies; 25+ messages in thread From: Gérald Kerma @ 2014-12-14 2:54 UTC (permalink / raw) To: u-boot Signed-off-by: G?rald Kerma <drEagle@doukki.net> --- include/configs/sheevaplug.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/configs/sheevaplug.h b/include/configs/sheevaplug.h index 71be823..829c57a 100644 --- a/include/configs/sheevaplug.h +++ b/include/configs/sheevaplug.h @@ -49,6 +49,7 @@ #define CONFIG_CMD_NAND #define CONFIG_CMD_PING #define CONFIG_CMD_USB + /* * mv-common.h should be defined after CMD configs since it used them * to enable certain macros -- 2.1.3 ^ permalink raw reply related [flat|nested] 25+ messages in thread
* [U-Boot] [PATCH v2 2/6] SHEEVAPLUG : FIX multiple defines 2014-12-14 2:54 ` [U-Boot] [PATCH v2 0/6] SHEEVAPLUG : REFRESH 201412 Gérald Kerma 2014-12-14 2:54 ` [U-Boot] [PATCH v2 1/6] SHEEVAPLUG : FIX typo Gérald Kerma @ 2014-12-14 2:54 ` Gérald Kerma 2014-12-14 2:54 ` [U-Boot] [PATCH v2 3/6] SHEEVAPLUG : ADD generic board define Gérald Kerma ` (3 subsequent siblings) 5 siblings, 0 replies; 25+ messages in thread From: Gérald Kerma @ 2014-12-14 2:54 UTC (permalink / raw) To: u-boot Signed-off-by: G?rald Kerma <drEagle@doukki.net> --- include/configs/sheevaplug.h | 1 - 1 file changed, 1 deletion(-) diff --git a/include/configs/sheevaplug.h b/include/configs/sheevaplug.h index 829c57a..393fdd4 100644 --- a/include/configs/sheevaplug.h +++ b/include/configs/sheevaplug.h @@ -140,6 +140,5 @@ #define CONFIG_MTD_DEVICE /* needed for mtdparts commands */ #define CONFIG_MTD_PARTITIONS #define CONFIG_CMD_MTDPARTS -#define CONFIG_LZO #endif /* _CONFIG_SHEEVAPLUG_H */ -- 2.1.3 ^ permalink raw reply related [flat|nested] 25+ messages in thread
* [U-Boot] [PATCH v2 3/6] SHEEVAPLUG : ADD generic board define 2014-12-14 2:54 ` [U-Boot] [PATCH v2 0/6] SHEEVAPLUG : REFRESH 201412 Gérald Kerma 2014-12-14 2:54 ` [U-Boot] [PATCH v2 1/6] SHEEVAPLUG : FIX typo Gérald Kerma 2014-12-14 2:54 ` [U-Boot] [PATCH v2 2/6] SHEEVAPLUG : FIX multiple defines Gérald Kerma @ 2014-12-14 2:54 ` Gérald Kerma 2014-12-14 2:54 ` [U-Boot] [PATCH v2 4/6] SHEEVAPLUG : ADD CONFIG_CMD_FAT Gérald Kerma ` (2 subsequent siblings) 5 siblings, 0 replies; 25+ messages in thread From: Gérald Kerma @ 2014-12-14 2:54 UTC (permalink / raw) To: u-boot Signed-off-by: G?rald Kerma <drEagle@doukki.net> --- include/configs/sheevaplug.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/configs/sheevaplug.h b/include/configs/sheevaplug.h index 393fdd4..589655a 100644 --- a/include/configs/sheevaplug.h +++ b/include/configs/sheevaplug.h @@ -10,6 +10,8 @@ #ifndef _CONFIG_SHEEVAPLUG_H #define _CONFIG_SHEEVAPLUG_H +#define CONFIG_SYS_GENERIC_BOARD + /* * Version number information */ -- 2.1.3 ^ permalink raw reply related [flat|nested] 25+ messages in thread
* [U-Boot] [PATCH v2 4/6] SHEEVAPLUG : ADD CONFIG_CMD_FAT 2014-12-14 2:54 ` [U-Boot] [PATCH v2 0/6] SHEEVAPLUG : REFRESH 201412 Gérald Kerma ` (2 preceding siblings ...) 2014-12-14 2:54 ` [U-Boot] [PATCH v2 3/6] SHEEVAPLUG : ADD generic board define Gérald Kerma @ 2014-12-14 2:54 ` Gérald Kerma 2014-12-14 2:54 ` [U-Boot] [PATCH v2 5/6] SHEEVAPLUG : ADD FDT support Gérald Kerma 2014-12-14 2:54 ` [U-Boot] [PATCH v2 6/6] SHEEVAPLUG : REDEFINE MTDPARTS Gérald Kerma 5 siblings, 0 replies; 25+ messages in thread From: Gérald Kerma @ 2014-12-14 2:54 UTC (permalink / raw) To: u-boot Signed-off-by: G?rald Kerma <drEagle@doukki.net> --- include/configs/sheevaplug.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/configs/sheevaplug.h b/include/configs/sheevaplug.h index 589655a..77e8d17 100644 --- a/include/configs/sheevaplug.h +++ b/include/configs/sheevaplug.h @@ -51,6 +51,7 @@ #define CONFIG_CMD_NAND #define CONFIG_CMD_PING #define CONFIG_CMD_USB +#define CONFIG_CMD_FAT /* * mv-common.h should be defined after CMD configs since it used them -- 2.1.3 ^ permalink raw reply related [flat|nested] 25+ messages in thread
* [U-Boot] [PATCH v2 5/6] SHEEVAPLUG : ADD FDT support 2014-12-14 2:54 ` [U-Boot] [PATCH v2 0/6] SHEEVAPLUG : REFRESH 201412 Gérald Kerma ` (3 preceding siblings ...) 2014-12-14 2:54 ` [U-Boot] [PATCH v2 4/6] SHEEVAPLUG : ADD CONFIG_CMD_FAT Gérald Kerma @ 2014-12-14 2:54 ` Gérald Kerma 2014-12-14 2:54 ` [U-Boot] [PATCH v2 6/6] SHEEVAPLUG : REDEFINE MTDPARTS Gérald Kerma 5 siblings, 0 replies; 25+ messages in thread From: Gérald Kerma @ 2014-12-14 2:54 UTC (permalink / raw) To: u-boot LIBFDT feature is required to support new kernel Signed-off-by: G?rald Kerma <drEagle@doukki.net> --- include/configs/sheevaplug.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/include/configs/sheevaplug.h b/include/configs/sheevaplug.h index 77e8d17..0f523c5 100644 --- a/include/configs/sheevaplug.h +++ b/include/configs/sheevaplug.h @@ -33,6 +33,11 @@ #define CONFIG_LZO /* + * Enable device tree support + */ +#define CONFIG_OF_LIBFDT + +/* * Miscellaneous configurable options */ #define CONFIG_SYS_HUSH_PARSER /* use "hush" command parser */ -- 2.1.3 ^ permalink raw reply related [flat|nested] 25+ messages in thread
* [U-Boot] [PATCH v2 6/6] SHEEVAPLUG : REDEFINE MTDPARTS 2014-12-14 2:54 ` [U-Boot] [PATCH v2 0/6] SHEEVAPLUG : REFRESH 201412 Gérald Kerma ` (4 preceding siblings ...) 2014-12-14 2:54 ` [U-Boot] [PATCH v2 5/6] SHEEVAPLUG : ADD FDT support Gérald Kerma @ 2014-12-14 2:54 ` Gérald Kerma 5 siblings, 0 replies; 25+ messages in thread From: Gérald Kerma @ 2014-12-14 2:54 UTC (permalink / raw) To: u-boot Prepare ENV settings for sheevaplugs to be OpenWRT ready. +----------+ | UBOOT | >> 896 Kb (7x128) = uboot +----------+ | ENV | >> 128 Kb = uboot_env +----------+ | IMAGES | >> 23 Mb @ 1 Mb = image -> UIMAGE+UINITRD+FDT +----------+ | ROOT(FS) | >> 488 Mb @ 24 Mb = root -> rootfs (ubifs) +----------+ With (CC) TRUNK OpenWRT build (QUICK HOWTO) : <INTERRUPT> Marvell>> nand erase.part root Marvell>> ubi part root Marvell>> ubi remove rootfs Marvell>> ubi create rootfs Marvell>> usb reset Marvell>> fatload usb 0:1 0x800000 sheevaplug/openwrt/openwrt-kirkwood-sheevaplug-rootfs.ubifs Marvell>> ubi write 0x800000 rootfs ${filesize} Marvell>> reset Signed-off-by: G?rald Kerma <drEagle@doukki.net> --- include/configs/sheevaplug.h | 40 ++++++++++++++++++++++++---------------- 1 file changed, 24 insertions(+), 16 deletions(-) diff --git a/include/configs/sheevaplug.h b/include/configs/sheevaplug.h index 0f523c5..dc51a4a 100644 --- a/include/configs/sheevaplug.h +++ b/include/configs/sheevaplug.h @@ -78,26 +78,34 @@ * it has to be rounded to sector size */ #define CONFIG_ENV_SIZE 0x20000 /* 128k */ -#define CONFIG_ENV_ADDR 0x80000 -#define CONFIG_ENV_OFFSET 0x80000 /* env starts here */ +#define CONFIG_ENV_OFFSET 0xE0000 /* env starts here */ /* * Default environment variables */ -#define CONFIG_BOOTCOMMAND "${x_bootcmd_kernel}; " \ - "setenv bootargs ${x_bootargs} ${x_bootargs_root}; " \ - "${x_bootcmd_usb}; bootm 0x6400000;" - -#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 \ - "x_bootcmd_kernel=nand read 0x6400000 0x100000 0x300000\0" \ - "x_bootcmd_usb=usb start\0" \ - "x_bootargs_root=root=/dev/mtdblock3 rw rootfstype=jffs2\0" +#define CONFIG_BOOTCOMMAND \ + "setenv bootargs ${console} ${mtdparts} ${bootargs_root}; " \ + "ubi part root; " \ + "ubifsmount ubi:rootfs; " \ + "ubifsload 0x800000 ${kernel}; " \ + "ubifsload 0x700000 ${fdt}; " \ + "ubifsumount; " \ + "fdt addr 0x700000; fdt resize; fdt chosen; " \ + "bootz 0x800000 - 0x700000" + +#define CONFIG_MTDPARTS \ + "mtdparts=orion_nand:" \ + "896K(uboot),128K(uboot_env)," \ + "23M at 1M(image)," \ + "- at 24M(root)\0" + +#define CONFIG_EXTRA_ENV_SETTINGS \ + "console=console=ttyS0,115200\0" \ + "mtdids=nand0=orion_nand\0" \ + "mtdparts="CONFIG_MTDPARTS \ + "kernel=/boot/zImage\0" \ + "fdt=/boot/sheevaplug.dtb\0" \ + "bootargs_root=ubi.mtd=3 root=ubi0:rootfs rootfstype=ubifs rw\0" #define MTDIDS_DEFAULT "nand0=orion_nand" -- 2.1.3 ^ permalink raw reply related [flat|nested] 25+ messages in thread
* [U-Boot] [PATCH v3 0/6] SHEEVAPLUG : REFRESH 201412 2014-12-13 20:36 [U-Boot] [PATCH v1 0/5] SHEEVAPLUG : REFRESH 201412 Gérald Kerma ` (5 preceding siblings ...) 2014-12-14 2:54 ` [U-Boot] [PATCH v2 0/6] SHEEVAPLUG : REFRESH 201412 Gérald Kerma @ 2014-12-17 14:02 ` Gérald Kerma 2014-12-17 14:02 ` [U-Boot] [PATCH v3 1/6] SHEEVAPLUG : FIX typo Gérald Kerma ` (6 more replies) 6 siblings, 7 replies; 25+ messages in thread From: Gérald Kerma @ 2014-12-17 14:02 UTC (permalink / raw) To: u-boot Prepare ENV settings for sheevaplugs to be OpenWRT ready. +----------+ | UBOOT | >> 896 Kb (7x128) = uboot +----------+ | ENV | >> 128 Kb = uboot_env +----------+ | ROOT(FS) | >> 511 Mb @ 1 Mb = root -> rootfs (ubifs) +----------+ With (CC) TRUNK OpenWRT build (QUICK HOWTO) : <INTERRUPT> Marvell>> nand erase.part root Marvell>> ubi part root Marvell>> ubi remove rootfs Marvell>> ubi create rootfs Marvell>> usb reset Marvell>> fatload usb 0:1 0x800000 sheevaplug/openwrt/openwrt-kirkwood-sheevaplug-rootfs.ubifs Marvell>> ubi write 0x800000 rootfs ${filesize} Marvell>> reset G?rald Kerma (6): SHEEVAPLUG : FIX typo SHEEVAPLUG : FIX multiple defines SHEEVAPLUG : ADD generic board define SHEEVAPLUG : ADD CONFIG_CMD_FAT SHEEVAPLUG : ADD FDT support SHEEVAPLUG : REDEFINE MTDPARTS include/configs/sheevaplug.h | 49 +++++++++++++++++++++++++++++--------------- 1 file changed, 32 insertions(+), 17 deletions(-) -- 2.1.3 ^ permalink raw reply [flat|nested] 25+ messages in thread
* [U-Boot] [PATCH v3 1/6] SHEEVAPLUG : FIX typo 2014-12-17 14:02 ` [U-Boot] [PATCH v3 0/6] SHEEVAPLUG : REFRESH 201412 Gérald Kerma @ 2014-12-17 14:02 ` Gérald Kerma 2014-12-17 14:02 ` [U-Boot] [PATCH v3 2/6] SHEEVAPLUG : FIX multiple defines Gérald Kerma ` (5 subsequent siblings) 6 siblings, 0 replies; 25+ messages in thread From: Gérald Kerma @ 2014-12-17 14:02 UTC (permalink / raw) To: u-boot Signed-off-by: G?rald Kerma <drEagle@doukki.net> --- include/configs/sheevaplug.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/configs/sheevaplug.h b/include/configs/sheevaplug.h index 71be823..829c57a 100644 --- a/include/configs/sheevaplug.h +++ b/include/configs/sheevaplug.h @@ -49,6 +49,7 @@ #define CONFIG_CMD_NAND #define CONFIG_CMD_PING #define CONFIG_CMD_USB + /* * mv-common.h should be defined after CMD configs since it used them * to enable certain macros -- 2.1.3 ^ permalink raw reply related [flat|nested] 25+ messages in thread
* [U-Boot] [PATCH v3 2/6] SHEEVAPLUG : FIX multiple defines 2014-12-17 14:02 ` [U-Boot] [PATCH v3 0/6] SHEEVAPLUG : REFRESH 201412 Gérald Kerma 2014-12-17 14:02 ` [U-Boot] [PATCH v3 1/6] SHEEVAPLUG : FIX typo Gérald Kerma @ 2014-12-17 14:02 ` Gérald Kerma 2014-12-17 14:02 ` [U-Boot] [PATCH v3 3/6] SHEEVAPLUG : ADD generic board define Gérald Kerma ` (4 subsequent siblings) 6 siblings, 0 replies; 25+ messages in thread From: Gérald Kerma @ 2014-12-17 14:02 UTC (permalink / raw) To: u-boot Signed-off-by: G?rald Kerma <drEagle@doukki.net> --- include/configs/sheevaplug.h | 1 - 1 file changed, 1 deletion(-) diff --git a/include/configs/sheevaplug.h b/include/configs/sheevaplug.h index 829c57a..393fdd4 100644 --- a/include/configs/sheevaplug.h +++ b/include/configs/sheevaplug.h @@ -140,6 +140,5 @@ #define CONFIG_MTD_DEVICE /* needed for mtdparts commands */ #define CONFIG_MTD_PARTITIONS #define CONFIG_CMD_MTDPARTS -#define CONFIG_LZO #endif /* _CONFIG_SHEEVAPLUG_H */ -- 2.1.3 ^ permalink raw reply related [flat|nested] 25+ messages in thread
* [U-Boot] [PATCH v3 3/6] SHEEVAPLUG : ADD generic board define 2014-12-17 14:02 ` [U-Boot] [PATCH v3 0/6] SHEEVAPLUG : REFRESH 201412 Gérald Kerma 2014-12-17 14:02 ` [U-Boot] [PATCH v3 1/6] SHEEVAPLUG : FIX typo Gérald Kerma 2014-12-17 14:02 ` [U-Boot] [PATCH v3 2/6] SHEEVAPLUG : FIX multiple defines Gérald Kerma @ 2014-12-17 14:02 ` Gérald Kerma 2014-12-17 14:02 ` [U-Boot] [PATCH v3 4/6] SHEEVAPLUG : ADD CONFIG_CMD_FAT Gérald Kerma ` (3 subsequent siblings) 6 siblings, 0 replies; 25+ messages in thread From: Gérald Kerma @ 2014-12-17 14:02 UTC (permalink / raw) To: u-boot Signed-off-by: G?rald Kerma <drEagle@doukki.net> --- include/configs/sheevaplug.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/configs/sheevaplug.h b/include/configs/sheevaplug.h index 393fdd4..589655a 100644 --- a/include/configs/sheevaplug.h +++ b/include/configs/sheevaplug.h @@ -10,6 +10,8 @@ #ifndef _CONFIG_SHEEVAPLUG_H #define _CONFIG_SHEEVAPLUG_H +#define CONFIG_SYS_GENERIC_BOARD + /* * Version number information */ -- 2.1.3 ^ permalink raw reply related [flat|nested] 25+ messages in thread
* [U-Boot] [PATCH v3 4/6] SHEEVAPLUG : ADD CONFIG_CMD_FAT 2014-12-17 14:02 ` [U-Boot] [PATCH v3 0/6] SHEEVAPLUG : REFRESH 201412 Gérald Kerma ` (2 preceding siblings ...) 2014-12-17 14:02 ` [U-Boot] [PATCH v3 3/6] SHEEVAPLUG : ADD generic board define Gérald Kerma @ 2014-12-17 14:02 ` Gérald Kerma 2014-12-17 14:02 ` [U-Boot] [PATCH v3 5/6] SHEEVAPLUG : ADD FDT support Gérald Kerma ` (2 subsequent siblings) 6 siblings, 0 replies; 25+ messages in thread From: Gérald Kerma @ 2014-12-17 14:02 UTC (permalink / raw) To: u-boot Signed-off-by: G?rald Kerma <drEagle@doukki.net> --- include/configs/sheevaplug.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/configs/sheevaplug.h b/include/configs/sheevaplug.h index 589655a..77e8d17 100644 --- a/include/configs/sheevaplug.h +++ b/include/configs/sheevaplug.h @@ -51,6 +51,7 @@ #define CONFIG_CMD_NAND #define CONFIG_CMD_PING #define CONFIG_CMD_USB +#define CONFIG_CMD_FAT /* * mv-common.h should be defined after CMD configs since it used them -- 2.1.3 ^ permalink raw reply related [flat|nested] 25+ messages in thread
* [U-Boot] [PATCH v3 5/6] SHEEVAPLUG : ADD FDT support 2014-12-17 14:02 ` [U-Boot] [PATCH v3 0/6] SHEEVAPLUG : REFRESH 201412 Gérald Kerma ` (3 preceding siblings ...) 2014-12-17 14:02 ` [U-Boot] [PATCH v3 4/6] SHEEVAPLUG : ADD CONFIG_CMD_FAT Gérald Kerma @ 2014-12-17 14:02 ` Gérald Kerma 2014-12-17 14:02 ` [U-Boot] [PATCH v3 6/6] SHEEVAPLUG : REDEFINE MTDPARTS Gérald Kerma 2014-12-17 14:24 ` [U-Boot] [PATCH v3 0/6] SHEEVAPLUG : REFRESH 201412 Prafulla Wadaskar 6 siblings, 0 replies; 25+ messages in thread From: Gérald Kerma @ 2014-12-17 14:02 UTC (permalink / raw) To: u-boot LIBFDT feature is required to support new kernel Signed-off-by: G?rald Kerma <drEagle@doukki.net> --- include/configs/sheevaplug.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/include/configs/sheevaplug.h b/include/configs/sheevaplug.h index 77e8d17..0f523c5 100644 --- a/include/configs/sheevaplug.h +++ b/include/configs/sheevaplug.h @@ -33,6 +33,11 @@ #define CONFIG_LZO /* + * Enable device tree support + */ +#define CONFIG_OF_LIBFDT + +/* * Miscellaneous configurable options */ #define CONFIG_SYS_HUSH_PARSER /* use "hush" command parser */ -- 2.1.3 ^ permalink raw reply related [flat|nested] 25+ messages in thread
* [U-Boot] [PATCH v3 6/6] SHEEVAPLUG : REDEFINE MTDPARTS 2014-12-17 14:02 ` [U-Boot] [PATCH v3 0/6] SHEEVAPLUG : REFRESH 201412 Gérald Kerma ` (4 preceding siblings ...) 2014-12-17 14:02 ` [U-Boot] [PATCH v3 5/6] SHEEVAPLUG : ADD FDT support Gérald Kerma @ 2014-12-17 14:02 ` Gérald Kerma 2014-12-17 14:24 ` [U-Boot] [PATCH v3 0/6] SHEEVAPLUG : REFRESH 201412 Prafulla Wadaskar 6 siblings, 0 replies; 25+ messages in thread From: Gérald Kerma @ 2014-12-17 14:02 UTC (permalink / raw) To: u-boot Prepare ENV settings for sheevaplugs to be OpenWRT ready. +----------+ | UBOOT | >> 896 Kb (7x128) = uboot +----------+ | ENV | >> 128 Kb = uboot_env +----------+ | ROOT(FS) | >> 511 Mb @ 1 Mb = root -> rootfs (ubifs) +----------+ With (CC) TRUNK OpenWRT build (QUICK HOWTO) : <INTERRUPT> Marvell>> nand erase.part root Marvell>> ubi part root Marvell>> ubi remove rootfs Marvell>> ubi create rootfs Marvell>> usb reset Marvell>> fatload usb 0:1 0x800000 sheevaplug/openwrt/openwrt-kirkwood-sheevaplug-rootfs.ubifs Marvell>> ubi write 0x800000 rootfs ${filesize} Marvell>> reset Changes in v3 - Supress image partition (unused) Change in v2 - Define new NAND partition mapping Signed-off-by: G?rald Kerma <drEagle@doukki.net> --- include/configs/sheevaplug.h | 39 +++++++++++++++++++++++---------------- 1 file changed, 23 insertions(+), 16 deletions(-) diff --git a/include/configs/sheevaplug.h b/include/configs/sheevaplug.h index 0f523c5..a1ce821 100644 --- a/include/configs/sheevaplug.h +++ b/include/configs/sheevaplug.h @@ -78,26 +78,33 @@ * it has to be rounded to sector size */ #define CONFIG_ENV_SIZE 0x20000 /* 128k */ -#define CONFIG_ENV_ADDR 0x80000 -#define CONFIG_ENV_OFFSET 0x80000 /* env starts here */ +#define CONFIG_ENV_OFFSET 0xE0000 /* env starts here */ /* * Default environment variables */ -#define CONFIG_BOOTCOMMAND "${x_bootcmd_kernel}; " \ - "setenv bootargs ${x_bootargs} ${x_bootargs_root}; " \ - "${x_bootcmd_usb}; bootm 0x6400000;" - -#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 \ - "x_bootcmd_kernel=nand read 0x6400000 0x100000 0x300000\0" \ - "x_bootcmd_usb=usb start\0" \ - "x_bootargs_root=root=/dev/mtdblock3 rw rootfstype=jffs2\0" +#define CONFIG_BOOTCOMMAND \ + "setenv bootargs ${console} ${mtdparts} ${bootargs_root}; " \ + "ubi part root; " \ + "ubifsmount ubi:rootfs; " \ + "ubifsload 0x800000 ${kernel}; " \ + "ubifsload 0x700000 ${fdt}; " \ + "ubifsumount; " \ + "fdt addr 0x700000; fdt resize; fdt chosen; " \ + "bootz 0x800000 - 0x700000" + +#define CONFIG_MTDPARTS \ + "mtdparts=orion_nand:" \ + "896K(uboot),128K(uboot_env)," \ + "- at 1M(root)\0" + +#define CONFIG_EXTRA_ENV_SETTINGS \ + "console=console=ttyS0,115200\0" \ + "mtdids=nand0=orion_nand\0" \ + "mtdparts="CONFIG_MTDPARTS \ + "kernel=/boot/zImage\0" \ + "fdt=/boot/sheevaplug.dtb\0" \ + "bootargs_root=ubi.mtd=2 root=ubi0:rootfs rootfstype=ubifs rw\0" #define MTDIDS_DEFAULT "nand0=orion_nand" -- 2.1.3 ^ permalink raw reply related [flat|nested] 25+ messages in thread
* [U-Boot] [PATCH v3 0/6] SHEEVAPLUG : REFRESH 201412 2014-12-17 14:02 ` [U-Boot] [PATCH v3 0/6] SHEEVAPLUG : REFRESH 201412 Gérald Kerma ` (5 preceding siblings ...) 2014-12-17 14:02 ` [U-Boot] [PATCH v3 6/6] SHEEVAPLUG : REDEFINE MTDPARTS Gérald Kerma @ 2014-12-17 14:24 ` Prafulla Wadaskar 2014-12-17 14:27 ` drEagle 6 siblings, 1 reply; 25+ messages in thread From: Prafulla Wadaskar @ 2014-12-17 14:24 UTC (permalink / raw) To: u-boot > -----Original Message----- > From: G?rald Kerma [mailto:drEagle at doukki.net] > Sent: 17 December 2014 19:33 > To: u-boot at lists.denx.de; Prafulla Wadaskar > Cc: albert.u.boot at aribaud.net; luka at openwrt.org; G?rald > Kerma > Subject: [PATCH v3 0/6] SHEEVAPLUG : REFRESH 201412 > > Prepare ENV settings for sheevaplugs to be OpenWRT > ready. > > +----------+ > | UBOOT | >> 896 Kb (7x128) = uboot > +----------+ > | ENV | >> 128 Kb = uboot_env > +----------+ > | ROOT(FS) | >> 511 Mb @ 1 Mb = root -> rootfs > (ubifs) > +----------+ > > With (CC) TRUNK OpenWRT build (QUICK HOWTO) : > > <INTERRUPT> > Marvell>> nand erase.part root > Marvell>> ubi part root > Marvell>> ubi remove rootfs > Marvell>> ubi create rootfs > Marvell>> usb reset > Marvell>> fatload usb 0:1 0x800000 > sheevaplug/openwrt/openwrt-kirkwood-sheevaplug- > rootfs.ubifs > Marvell>> ubi write 0x800000 rootfs ${filesize} > Marvell>> reset > > G?rald Kerma (6): > SHEEVAPLUG : FIX typo > SHEEVAPLUG : FIX multiple defines > SHEEVAPLUG : ADD generic board define > SHEEVAPLUG : ADD CONFIG_CMD_FAT > SHEEVAPLUG : ADD FDT support > SHEEVAPLUG : REDEFINE MTDPARTS > > include/configs/sheevaplug.h | 49 > +++++++++++++++++++++++++++++--------------- > 1 file changed, 32 insertions(+), 17 deletions(-) Is this final one to be pulled, or you are planning more changes? :-) Regards... Prafulla . . . ^ permalink raw reply [flat|nested] 25+ messages in thread
* [U-Boot] [PATCH v3 0/6] SHEEVAPLUG : REFRESH 201412 2014-12-17 14:24 ` [U-Boot] [PATCH v3 0/6] SHEEVAPLUG : REFRESH 201412 Prafulla Wadaskar @ 2014-12-17 14:27 ` drEagle 2014-12-23 11:43 ` drEagle 0 siblings, 1 reply; 25+ messages in thread From: drEagle @ 2014-12-17 14:27 UTC (permalink / raw) To: u-boot Le 17/12/2014 15:24, Prafulla Wadaskar a ?crit : > > >> -----Original Message----- >> From: G?rald Kerma [mailto:drEagle at doukki.net] >> Sent: 17 December 2014 19:33 >> To: u-boot at lists.denx.de; Prafulla Wadaskar >> Cc: albert.u.boot at aribaud.net; luka at openwrt.org; G?rald >> Kerma >> Subject: [PATCH v3 0/6] SHEEVAPLUG : REFRESH 201412 >> > Is this final one to be pulled, or you are planning more changes? :-) Hi Prafulla, I think this one is good. Regards, G?rald ^ permalink raw reply [flat|nested] 25+ messages in thread
* [U-Boot] [PATCH v3 0/6] SHEEVAPLUG : REFRESH 201412 2014-12-17 14:27 ` drEagle @ 2014-12-23 11:43 ` drEagle 2014-12-23 12:01 ` Prafulla Wadaskar 0 siblings, 1 reply; 25+ messages in thread From: drEagle @ 2014-12-23 11:43 UTC (permalink / raw) To: u-boot Hi Prafulla, Have you review these patchs ? Have you any comments or suggestions ? Le 17/12/2014 15:27, drEagle a ?crit : > Le 17/12/2014 15:24, Prafulla Wadaskar a ?crit : >> >> >>> -----Original Message----- >>> From: G?rald Kerma [mailto:drEagle at doukki.net] >>> Sent: 17 December 2014 19:33 >>> To: u-boot at lists.denx.de; Prafulla Wadaskar >>> Cc: albert.u.boot at aribaud.net; luka at openwrt.org; G?rald >>> Kerma >>> Subject: [PATCH v3 0/6] SHEEVAPLUG : REFRESH 201412 >>> >> Is this final one to be pulled, or you are planning more changes? :-) > > Hi Prafulla, I think this one is good. Regards G?rald ^ permalink raw reply [flat|nested] 25+ messages in thread
* [U-Boot] [PATCH v3 0/6] SHEEVAPLUG : REFRESH 201412 2014-12-23 11:43 ` drEagle @ 2014-12-23 12:01 ` Prafulla Wadaskar 2015-01-03 16:08 ` drEagle 0 siblings, 1 reply; 25+ messages in thread From: Prafulla Wadaskar @ 2014-12-23 12:01 UTC (permalink / raw) To: u-boot > -----Original Message----- > From: drEagle [mailto:dreagle at doukki.net] > Sent: 23 December 2014 17:14 > To: Prafulla Wadaskar > Cc: u-boot at lists.denx.de; luka at openwrt.org > Subject: Re: [U-Boot] [PATCH v3 0/6] SHEEVAPLUG : > REFRESH 201412 > > Hi Prafulla, > > Have you review these patchs ? > Have you any comments or suggestions ? Nope... ready to get pulled. Regards... Prafulla . . . > > Le 17/12/2014 15:27, drEagle a ?crit : > > Le 17/12/2014 15:24, Prafulla Wadaskar a ?crit : > >> > >> > >>> -----Original Message----- > >>> From: G?rald Kerma [mailto:drEagle at doukki.net] > >>> Sent: 17 December 2014 19:33 > >>> To: u-boot at lists.denx.de; Prafulla Wadaskar > >>> Cc: albert.u.boot at aribaud.net; luka at openwrt.org; > G?rald > >>> Kerma > >>> Subject: [PATCH v3 0/6] SHEEVAPLUG : REFRESH 201412 > >>> > >> Is this final one to be pulled, or you are planning > more changes? :-) > > > > Hi Prafulla, I think this one is good. > > Regards > G?rald ^ permalink raw reply [flat|nested] 25+ messages in thread
* [U-Boot] [PATCH v3 0/6] SHEEVAPLUG : REFRESH 201412 2014-12-23 12:01 ` Prafulla Wadaskar @ 2015-01-03 16:08 ` drEagle 0 siblings, 0 replies; 25+ messages in thread From: drEagle @ 2015-01-03 16:08 UTC (permalink / raw) To: u-boot Le 23/12/2014 13:01, Prafulla Wadaskar a ?crit : > > >> -----Original Message----- >> From: drEagle [mailto:dreagle at doukki.net] >> Sent: 23 December 2014 17:14 >> To: Prafulla Wadaskar >> Cc: u-boot at lists.denx.de; luka at openwrt.org >> Subject: Re: [U-Boot] [PATCH v3 0/6] SHEEVAPLUG : >> REFRESH 201412 >> >> Hi Prafulla, >> >> Have you review these patchs ? >> Have you any comments or suggestions ? > > Nope... ready to get pulled. > > Regards... > Prafulla . . . Hi Prafulla, Any news of this patch ? Regards, G?rald >> >> Le 17/12/2014 15:27, drEagle a ?crit : >>> Le 17/12/2014 15:24, Prafulla Wadaskar a ?crit : >>>> >>>> >>>>> -----Original Message----- >>>>> From: G?rald Kerma [mailto:drEagle at doukki.net] >>>>> Sent: 17 December 2014 19:33 >>>>> To: u-boot at lists.denx.de; Prafulla Wadaskar >>>>> Cc: albert.u.boot at aribaud.net; luka at openwrt.org; >> G?rald >>>>> Kerma >>>>> Subject: [PATCH v3 0/6] SHEEVAPLUG : REFRESH 201412 >>>>> >>>> Is this final one to be pulled, or you are planning >> more changes? :-) >>> >>> Hi Prafulla, I think this one is good. >> >> Regards >> G?rald ^ permalink raw reply [flat|nested] 25+ messages in thread
end of thread, other threads:[~2015-01-03 16:08 UTC | newest] Thread overview: 25+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2014-12-13 20:36 [U-Boot] [PATCH v1 0/5] SHEEVAPLUG : REFRESH 201412 Gérald Kerma 2014-12-13 20:36 ` [U-Boot] [PATCH v1 1/5] SHEEVAPLUG : FIX typo Gérald Kerma 2014-12-13 20:36 ` [U-Boot] [PATCH v1 2/5] SHEEVAPLUG : FIX multiple defines Gérald Kerma 2014-12-13 20:36 ` [U-Boot] [PATCH v1 3/5] SHEEVAPLUG : ADD generic board define Gérald Kerma 2014-12-13 20:36 ` [U-Boot] [PATCH v1 4/5] SHEEVAPLUG : ADD CONFIG_CMD_FAT Gérald Kerma 2014-12-13 20:36 ` [U-Boot] [PATCH v1 5/5] SHEEVAPLUG : ADD FDT support Gérald Kerma 2014-12-14 2:54 ` [U-Boot] [PATCH v2 0/6] SHEEVAPLUG : REFRESH 201412 Gérald Kerma 2014-12-14 2:54 ` [U-Boot] [PATCH v2 1/6] SHEEVAPLUG : FIX typo Gérald Kerma 2014-12-14 2:54 ` [U-Boot] [PATCH v2 2/6] SHEEVAPLUG : FIX multiple defines Gérald Kerma 2014-12-14 2:54 ` [U-Boot] [PATCH v2 3/6] SHEEVAPLUG : ADD generic board define Gérald Kerma 2014-12-14 2:54 ` [U-Boot] [PATCH v2 4/6] SHEEVAPLUG : ADD CONFIG_CMD_FAT Gérald Kerma 2014-12-14 2:54 ` [U-Boot] [PATCH v2 5/6] SHEEVAPLUG : ADD FDT support Gérald Kerma 2014-12-14 2:54 ` [U-Boot] [PATCH v2 6/6] SHEEVAPLUG : REDEFINE MTDPARTS Gérald Kerma 2014-12-17 14:02 ` [U-Boot] [PATCH v3 0/6] SHEEVAPLUG : REFRESH 201412 Gérald Kerma 2014-12-17 14:02 ` [U-Boot] [PATCH v3 1/6] SHEEVAPLUG : FIX typo Gérald Kerma 2014-12-17 14:02 ` [U-Boot] [PATCH v3 2/6] SHEEVAPLUG : FIX multiple defines Gérald Kerma 2014-12-17 14:02 ` [U-Boot] [PATCH v3 3/6] SHEEVAPLUG : ADD generic board define Gérald Kerma 2014-12-17 14:02 ` [U-Boot] [PATCH v3 4/6] SHEEVAPLUG : ADD CONFIG_CMD_FAT Gérald Kerma 2014-12-17 14:02 ` [U-Boot] [PATCH v3 5/6] SHEEVAPLUG : ADD FDT support Gérald Kerma 2014-12-17 14:02 ` [U-Boot] [PATCH v3 6/6] SHEEVAPLUG : REDEFINE MTDPARTS Gérald Kerma 2014-12-17 14:24 ` [U-Boot] [PATCH v3 0/6] SHEEVAPLUG : REFRESH 201412 Prafulla Wadaskar 2014-12-17 14:27 ` drEagle 2014-12-23 11:43 ` drEagle 2014-12-23 12:01 ` Prafulla Wadaskar 2015-01-03 16:08 ` drEagle
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox