From: Bruce Ashfield <bruce.ashfield@windriver.com>
To: Kevin Hao <kexin.hao@windriver.com>, <poky@yoctoproject.org>
Subject: Re: [PATCH 0/2] meta-yocto-bsp: enable the jffs2 for mpc8315e-rdb board
Date: Fri, 13 Jun 2014 09:30:01 -0400 [thread overview]
Message-ID: <539AFCD9.70307@windriver.com> (raw)
In-Reply-To: <1402634363-31407-1-git-send-email-kexin.hao@windriver.com>
On 14-06-13 12:39 AM, Kevin Hao wrote:
> Hi,
>
> This tries to enable the jffs2 support for the mpc8315e-rdb board. I have
> tested the jffs2 with the following steps and it worked perfectly.
The other point to add on this review/patch series, is that for it
to fully work out of the box, it needs a merge of some kernel patches
that Kevin sent to linux-yocto a couple of days ago.
To make sure that things are coordinated, I can queue this series and
send it along with my kernel SRCREV updates to include those patches.
Obviously, I won't queue it until Kevin udpates README.hardware and
sends a quick v2 of the changes.
Does that sound acceptable to everyone ?
Bruce
>
> 1. root@mpc8315e-rdb:~# cat /proc/mtd
> dev: size erasesize name
> mtd0: 00800000 00010000 "fe000000.flash"
> mtd1: 00100000 00004000 "u-boot"
> mtd2: 00300000 00004000 "kernel"
> mtd3: 01c00000 00004000 "fs"
>
> 2. root@mpc8315e-rdb:~# flash_eraseall /dev/mtd3
> flash_eraseall has been replaced by `flash_erase <mtddev> 0 0`; please use it
> Erasing 16 Kibyte @ 1bec000 -- 99 % complete flash_erase: Skipping bad block at 01bf0000
> flash_erase: Skipping bad block at 01bf4000
> flash_erase: Skipping bad block at 01bf8000
> flash_erase: Skipping bad block at 01bfc000
> Erasing 16 Kibyte @ 1bfc000 -- 100 % complete
>
> 3. root@mpc8315e-rdb:~# flashcp core-image-minimal-mpc8315e-rdb.jffs2 /dev/mtd3
>
> 4. Then boot with a jffs2 rootfs
>
> 5. root@mpc8315e-rdb:~# cat /proc/cmdline
> root=/dev/mtdblock3 rootfstype=jffs2 console=ttyS0,115200
> root@mpc8315e-rdb:~#
> root@mpc8315e-rdb:~# mount
> rootfs on / type rootfs (rw)
> /dev/root on / type jffs2 (rw,relatime)
> devtmpfs on /dev type devtmpfs (rw,relatime,size=59136k,nr_inodes=14784,mode=755)
> proc on /proc type proc (rw,relatime)
> sysfs on /sys type sysfs (rw,relatime)
> debugfs on /sys/kernel/debug type debugfs (rw,relatime)
> tmpfs on /run type tmpfs (rw,nosuid,nodev,mode=755)
> tmpfs on /var/volatile type tmpfs (rw,relatime)
> devpts on /dev/pts type devpts (rw,relatime,gid=5,mode=620)
>
> The following changes since commit 8e0c54cd0e82ffe120f84f495101cd29e6fd06bf:
>
> bitbake: bb/utils: fix contains_any() (2014-06-12 17:47:59 +0100)
>
> are available in the git repository at:
>
> git://git.yoctoproject.org/poky-contrib hao/master
>
> for you to fetch changes up to 7984d3ab156e0a1a50837ec737dfb13defa27a5c:
>
> mpc8315e-rdb: add the jffs2 image support (2014-06-13 12:24:10 +0800)
>
> ----------------------------------------------------------------
> Kevin Hao (2):
> mpc8315e-rdb: bump to linux-yocto 3.14
> mpc8315e-rdb: add the jffs2 image support
>
> meta-yocto-bsp/conf/machine/mpc8315e-rdb.conf | 5 ++++-
> meta-yocto-bsp/recipes-kernel/linux/linux-yocto_3.14.bbappend | 3 +++
> 2 files changed, 7 insertions(+), 1 deletion(-)
>
> Thanks,
> Kevin
>
next prev parent reply other threads:[~2014-06-13 13:30 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-06-13 4:39 [PATCH 0/2] meta-yocto-bsp: enable the jffs2 for mpc8315e-rdb board Kevin Hao
2014-06-13 4:39 ` [PATCH 1/2] mpc8315e-rdb: bump to linux-yocto 3.14 Kevin Hao
2014-06-13 4:39 ` [PATCH 2/2] mpc8315e-rdb: add the jffs2 image support Kevin Hao
2014-06-13 7:04 ` [PATCH 0/2] meta-yocto-bsp: enable the jffs2 for mpc8315e-rdb board Richard Purdie
2014-06-13 13:25 ` Bruce Ashfield
2014-06-14 0:32 ` Kevin Hao
2014-06-13 13:30 ` Bruce Ashfield [this message]
2014-06-13 14:55 ` Richard Purdie
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=539AFCD9.70307@windriver.com \
--to=bruce.ashfield@windriver.com \
--cc=kexin.hao@windriver.com \
--cc=poky@yoctoproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.