[OpenWrt-Devel] [PATCH v4 4/4] mvebu: enable mmc driver for harddisk target

2016-05-04 Thread josua . mayer97
From: Josua Mayer The clearfog can boot from sdcard or emmc, so make the required driver builtin. Signed-off-by: Josua Mayer --- target/linux/mvebu/harddisk/config-default | 21 + 1 file changed, 21 insertions(+) create mode 100644 target/linux/mvebu/harddisk/config-defaul

[OpenWrt-Devel] [PATCH v4 3/4] mvebu: add target 'harddisk'

2016-05-04 Thread josua . mayer97
From: Josua Mayer This target is meant for any mvebu-based boards that can boot from internal or external storage devices such as mmc, emmc, sata. The Clearfog board is the first one this profile was applied to. Signed-off-by: Josua Mayer --- target/linux/mvebu/generic/profiles/solidrun.mk |

[OpenWrt-Devel] [PATCH v4 2/4] mvebu: create target 'generic' for current boards

2016-05-04 Thread josua . mayer97
From: Josua Mayer This makes room to add other targets. Signed-off-by: Josua Mayer --- target/linux/mvebu/generic/profiles/000-Default.mk | 26 ++ target/linux/mvebu/generic/profiles/globalscale.mk | 21 + target/linux/mvebu/generic/profiles/linksys.mk | 85 +++ tar

[OpenWrt-Devel] [PATCH v4 1/4] mvebu: add squashfs image type to MMCProfile

2016-05-04 Thread josua . mayer97
From: Josua Mayer Added gen_mvebu_sdcard_img.sh to create bootable sdcard images. It takes the bootloader and partition images to create a bootable sdcard image. Partition Layout: p1: fat32: for kernel, dtb and boot config files if any p2: squashfs: for openwrt This change is developed for the

[OpenWrt-Devel] [PATCH v3 1/2] mount_root: implement overlay= boot option

2016-05-04 Thread josua . mayer97
From: Josua Mayer This change adds code to handle a new option on cmdline: overlay= This is used to find the rootfs_data partition / disk when it has a non-standard name or location. It takes either the device node name, or the full path to the device node: i.e. /dev/mmcblk0p3 or mmcblk0p3 This

[OpenWrt-Devel] [PATCH v3 2/2] mount_root: Also handle new overlay= option in done()

2016-05-04 Thread josua . mayer97
From: Josua Mayer The done()-function is used both to initialize rootfs_data when there is no filesystem yet, but also to set ready-state on fresh filesystems. Make sure to also do that when a non-standard overlay device is specified. Signed-off-by: Josua Mayer --- mount_root.c | 33 +

[OpenWrt-Devel] [PATCH 2/2] mount_root: Also handle new overlay= option in done()

2016-05-04 Thread josua . mayer97
From: Josua Mayer The done()-function is used both to initialize rootfs_data when there is no filesystem yet, but also to set ready-state on fresh filesystems. Make sure to also do that when a non-standard overlay device is specified. Signed-off-by: Josua Mayer --- mount_root.c | 33 +

[OpenWrt-Devel] [PATCH 1/2] mount_root: implement overlay= boot option

2016-05-04 Thread josua . mayer97
From: Josua Mayer This change adds code to handle a new option on cmdline: overlay= This is used to find the rootfs_data partition / disk when it has a non-standard name or location. It takes either the device node name, or the full path to the device node: i.e. /dev/mmcblk0p3 or mmcblk0p3 This

[OpenWrt-Devel] [PATCH v2 2/3] ext4_part_match: fix bug that prevented matching names

2016-04-28 Thread josua . mayer97
From: Josua Mayer Actually use the populated devname variable to compare against given name, instead of the buf variable, which incidentally contains either: MAJOR=xyz, MINOR=x, or DEVTYPE=partition, none of which ever match a name. Signed-off-by: Josua Mayer --- libfstools/ext4.c | 2 +- 1 fi

[OpenWrt-Devel] [PATCH v2 3/3] mount_root: Also handle new overlay= option in done()

2016-04-28 Thread josua . mayer97
From: Josua Mayer The done()-function is used both to initialize rootfs_data when there is no filesystem yet, but also to set ready-state on fresh filesystems. Make sure to also do that when a non-standard overlay device is specified. Signed-off-by: Josua Mayer --- mount_root.c | 33 +

[OpenWrt-Devel] [PATCH v2 1/3] mount_root: implement overlay= boot option

2016-04-28 Thread josua . mayer97
From: Josua Mayer This change adds code to handle a new option on cmdline: overlay= This is used to find the rootfs_data partition / disk when it has a non-standard name or location. It takes either the device node name, or the full path to the device node: i.e. /dev/mmcblk0p3 or mmcblk0p3 This

[OpenWrt-Devel] [PATCH 2/2] ext4_part_match: fix bug that prevented matching names

2016-04-28 Thread josua . mayer97
From: Josua Mayer Actually use the populated devname variable to compare against given name, instead of the buf variable, which incidentally contains either: MAJOR=xyz, MINOR=x, or DEVTYPE=partition, none of which ever match a name. Signed-off-by: Josua Mayer --- libfstools/ext4.c | 2 +- 1 fi

[OpenWrt-Devel] [PATCH 1/2] mount_root: implement overlay= boot option

2016-04-28 Thread josua . mayer97
From: Josua Mayer This change adds code to handle a new option on cmdline: overlay= This is used to find the rootfs_data partition / disk when it has a non-standard name or location. It takes either the device node name, or the full path to the device node: i.e. /dev/mmcblk0p3 or mmcblk0p3 This

[OpenWrt-Devel] [PATCH v3 2/2] mvebu: add squashfs image type to MMCProfile

2016-04-28 Thread josua . mayer97
From: Josua Mayer Added gen_mvebu_sdcard_img.sh to create bootable sdcard images. It takes the bootloader and partition images to create a bootable sdcard image. Partition Layout: p1: fat32: for kernel, dtb and boot config files if any p2: squashfs: for openwrt This change is developed for the

[OpenWrt-Devel] [PATCH v3 1/2] mvebu: config-4.1: make mmc drivers builtin

2016-04-28 Thread josua . mayer97
From: Josua Mayer This is especially useful on the Clearfog board which boots from mmc by default. Signed-off-by: Josua Mayer --- target/linux/mvebu/config-4.1 | 24 1 file changed, 24 insertions(+) diff --git a/target/linux/mvebu/config-4.1 b/target/linux/mvebu/confi

[OpenWrt-Devel] [PATCH v2 2/2] mvebu: add squashfs image type to MMCProfile

2016-04-28 Thread josua . mayer97
From: Josua Mayer Added gen_mvebu_sdcard_img.sh to create bootable sdcard images. It takes the bootloader and partition images to create a bootable sdcard image. Partition Layout: p1: fat32: for kernel, dtb and boot config files if any p2: squashfs: for openwrt This change is developed for the

[OpenWrt-Devel] [PATCH v2 1/2] mvebu: config-4.1: make mmc drivers builtin

2016-04-28 Thread josua . mayer97
From: Josua Mayer This is especially useful on the Clearfog board which boots from mmc by default. Signed-off-by: Josua Mayer --- target/linux/mvebu/config-4.1 | 24 1 file changed, 24 insertions(+) diff --git a/target/linux/mvebu/config-4.1 b/target/linux/mvebu/confi

[OpenWrt-Devel] [PATCH 2/2] mvebu: add squashfs image type to MMCProfile

2016-04-28 Thread josua . mayer97
From: Josua Mayer Added gen_mvebu_sdcard_img.sh to create bootable sdcard images. It takes the bootloader and partition images to create a bootable sdcard image. Partition Layout: p1: fat32: for kernel, dtb and boot config files if any p2: squashfs: for openwrt This change is developed for the

[OpenWrt-Devel] [PATCH 1/2] mvebu: config-4.1: make mmc drivers builtin

2016-04-28 Thread josua . mayer97
From: Josua Mayer This is especially useful on the Clearfog board which boots from mmc by default. Signed-off-by: Josua Mayer --- target/linux/mvebu/config-4.1 | 24 1 file changed, 24 insertions(+) diff --git a/target/linux/mvebu/config-4.1 b/target/linux/mvebu/config