* [PATCH] keystone-evm config: add ubifs support
@ 2013-02-26 19:48 hzhang
2013-02-26 20:06 ` Denys Dmytriyenko
0 siblings, 1 reply; 3+ messages in thread
From: hzhang @ 2013-02-26 19:48 UTC (permalink / raw)
To: meta-ti
From: Hao Zhang <hzhang@ti.com>
---
conf/machine/keystone-evm.conf | 19 ++++++++++++++++++-
1 file changed, 18 insertions(+), 1 deletion(-)
diff --git a/conf/machine/keystone-evm.conf b/conf/machine/keystone-evm.conf
index e73d84b..3e44ddc 100644
--- a/conf/machine/keystone-evm.conf
+++ b/conf/machine/keystone-evm.conf
@@ -14,7 +14,7 @@ require conf/machine/include/keystone.inc
PREFERRED_PROVIDER_virtual/kernel = "linux-keystone"
-IMAGE_FSTYPES += "tar.bz2 cpio"
+IMAGE_FSTYPES += "ubi tar.bz2 cpio"
SERIAL_CONSOLE = "115200 ttyS0"
@@ -23,3 +23,20 @@ SYSVINIT_ENABLED_GETTYS = ""
UBOOT_MACHINE = "tci6638_evm_config"
MACHINE_FEATURES = "kernel26 screen apm usbgadget usbhost vfat alsa"
+# do ubiattach /dev/ubi_ctrl -m 4
+# From dmesg:
+# UBI: smallest flash I/O unit: 2048
+# UBI: logical eraseblock size: 126976 bytes
+# from ubiattach stdout:
+# UBI device number 0, total 857 LEBs
+# MKUBIFS_ARGS = "-m 2048 -e 129024 -c 857"
+MKUBIFS_ARGS = "-F -m 2048 -e 126976 -c 857"
+
+# do ubiattach /dev/ubi_ctrl -m 4
+# from dmesg:
+# UBI: smallest flash I/O unit: 2048
+# UBI: physical eraseblock size: 131072 bytes (128 KiB)
+# UBI: sub-page size: 2048
+UBINIZE_ARGS = "-m 2048 -p 128KiB -s 2048 -O 2048"
+
+
--
1.7.9.5
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] keystone-evm config: add ubifs support
2013-02-26 19:48 [PATCH] keystone-evm config: add ubifs support hzhang
@ 2013-02-26 20:06 ` Denys Dmytriyenko
2013-02-26 20:15 ` Hao Zhang
0 siblings, 1 reply; 3+ messages in thread
From: Denys Dmytriyenko @ 2013-02-26 20:06 UTC (permalink / raw)
To: hzhang; +Cc: meta-ti
On Tue, Feb 26, 2013 at 02:48:50PM -0500, hzhang@ti.com wrote:
> From: Hao Zhang <hzhang@ti.com>
I assume you double-checked the actual UBI ARGS values below for the Keystone.
Other than that looks fine to me - I'll push it shortly.
> ---
> conf/machine/keystone-evm.conf | 19 ++++++++++++++++++-
> 1 file changed, 18 insertions(+), 1 deletion(-)
>
> diff --git a/conf/machine/keystone-evm.conf b/conf/machine/keystone-evm.conf
> index e73d84b..3e44ddc 100644
> --- a/conf/machine/keystone-evm.conf
> +++ b/conf/machine/keystone-evm.conf
> @@ -14,7 +14,7 @@ require conf/machine/include/keystone.inc
>
> PREFERRED_PROVIDER_virtual/kernel = "linux-keystone"
>
> -IMAGE_FSTYPES += "tar.bz2 cpio"
> +IMAGE_FSTYPES += "ubi tar.bz2 cpio"
BTW, speaking of this - do you still need uncompressed cpio? Last time we
talked, we were not sure if compressed cpio.gz would be sufficient.
> SERIAL_CONSOLE = "115200 ttyS0"
>
> @@ -23,3 +23,20 @@ SYSVINIT_ENABLED_GETTYS = ""
> UBOOT_MACHINE = "tci6638_evm_config"
>
> MACHINE_FEATURES = "kernel26 screen apm usbgadget usbhost vfat alsa"
> +# do ubiattach /dev/ubi_ctrl -m 4
> +# From dmesg:
> +# UBI: smallest flash I/O unit: 2048
> +# UBI: logical eraseblock size: 126976 bytes
> +# from ubiattach stdout:
> +# UBI device number 0, total 857 LEBs
> +# MKUBIFS_ARGS = "-m 2048 -e 129024 -c 857"
> +MKUBIFS_ARGS = "-F -m 2048 -e 126976 -c 857"
> +
> +# do ubiattach /dev/ubi_ctrl -m 4
> +# from dmesg:
> +# UBI: smallest flash I/O unit: 2048
> +# UBI: physical eraseblock size: 131072 bytes (128 KiB)
> +# UBI: sub-page size: 2048
> +UBINIZE_ARGS = "-m 2048 -p 128KiB -s 2048 -O 2048"
> +
> +
> --
> 1.7.9.5
>
> _______________________________________________
> meta-ti mailing list
> meta-ti@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-ti
>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] keystone-evm config: add ubifs support
2013-02-26 20:06 ` Denys Dmytriyenko
@ 2013-02-26 20:15 ` Hao Zhang
0 siblings, 0 replies; 3+ messages in thread
From: Hao Zhang @ 2013-02-26 20:15 UTC (permalink / raw)
To: Denys Dmytriyenko; +Cc: meta-ti
On 2/26/2013 3:06 PM, Denys Dmytriyenko wrote:
> On Tue, Feb 26, 2013 at 02:48:50PM -0500, hzhang@ti.com wrote:
>> From: Hao Zhang<hzhang@ti.com>
>
> I assume you double-checked the actual UBI ARGS values below for the Keystone.
> Other than that looks fine to me - I'll push it shortly.
>
Yes, I did, thanks.
>> ---
>> conf/machine/keystone-evm.conf | 19 ++++++++++++++++++-
>> 1 file changed, 18 insertions(+), 1 deletion(-)
>>
>> diff --git a/conf/machine/keystone-evm.conf b/conf/machine/keystone-evm.conf
>> index e73d84b..3e44ddc 100644
>> --- a/conf/machine/keystone-evm.conf
>> +++ b/conf/machine/keystone-evm.conf
>> @@ -14,7 +14,7 @@ require conf/machine/include/keystone.inc
>>
>> PREFERRED_PROVIDER_virtual/kernel = "linux-keystone"
>>
>> -IMAGE_FSTYPES += "tar.bz2 cpio"
>> +IMAGE_FSTYPES += "ubi tar.bz2 cpio"
>
> BTW, speaking of this - do you still need uncompressed cpio? Last time we
> talked, we were not sure if compressed cpio.gz would be sufficient.
>
>
>> SERIAL_CONSOLE = "115200 ttyS0"
>>
>> @@ -23,3 +23,20 @@ SYSVINIT_ENABLED_GETTYS = ""
>> UBOOT_MACHINE = "tci6638_evm_config"
>>
>> MACHINE_FEATURES = "kernel26 screen apm usbgadget usbhost vfat alsa"
>> +# do ubiattach /dev/ubi_ctrl -m 4
>> +# From dmesg:
>> +# UBI: smallest flash I/O unit: 2048
>> +# UBI: logical eraseblock size: 126976 bytes
>> +# from ubiattach stdout:
>> +# UBI device number 0, total 857 LEBs
>> +# MKUBIFS_ARGS = "-m 2048 -e 129024 -c 857"
>> +MKUBIFS_ARGS = "-F -m 2048 -e 126976 -c 857"
>> +
>> +# do ubiattach /dev/ubi_ctrl -m 4
>> +# from dmesg:
>> +# UBI: smallest flash I/O unit: 2048
>> +# UBI: physical eraseblock size: 131072 bytes (128 KiB)
>> +# UBI: sub-page size: 2048
>> +UBINIZE_ARGS = "-m 2048 -p 128KiB -s 2048 -O 2048"
>> +
>> +
>> --
>> 1.7.9.5
>>
>> _______________________________________________
>> meta-ti mailing list
>> meta-ti@yoctoproject.org
>> https://lists.yoctoproject.org/listinfo/meta-ti
>>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2013-02-26 20:15 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-02-26 19:48 [PATCH] keystone-evm config: add ubifs support hzhang
2013-02-26 20:06 ` Denys Dmytriyenko
2013-02-26 20:15 ` Hao Zhang
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.