From: Gary Thomas <gary@mlbassoc.com>
To: Yocto Project <yocto@yoctoproject.org>
Subject: raspberrypi image questions
Date: Wed, 05 Sep 2012 12:16:44 -0600 [thread overview]
Message-ID: <5047970C.8010208@mlbassoc.com> (raw)
I just built Yocto/Poky for the raspberrypi, following the
recent thread on this list. I noticed that the resulting SD
image is ~4GB, but most of that space seems to be unused:
$ ssh root@192.168.1.150
Warning: Permanently added '192.168.1.150' (RSA) to the list of known hosts.
root@192.168.1.150's password:
root@raspberrypi:~# df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/root 57388 46754 7718 86% /
none 93964 156 93808 0% /dev
/dev/mmcblk0p2 57388 46754 7718 86% /media/mmcblk0p2
/dev/mmcblk0p1 19400 8928 10472 46% /media/mmcblk0p1
tmpfs 93964 56 93908 0% /var/volatile
tmpfs 93964 0 93964 0% /dev/shm
tmpfs 93964 0 93964 0% /media/ram
root@raspberrypi:~# cat /proc/partitions
major minor #blocks name
179 0 3977216 mmcblk0
179 1 19456 mmcblk0p1
179 2 3885056 mmcblk0p2
Notice that the physical partition for /dev/mmcblk0p2 is huge but
the file system is only 57MB.
How can I adjust my build and/or resize the file system to actually
use the rest of the SD card?
Also, is it possible to just build the SD image much like I do for
other devices like the BeagleBoard, albeit with different contents
in /boot? Sloshing around 4GB images is rather painful, plus it
takes forever to DD it to the SD card.
Thanks
--
------------------------------------------------------------
Gary Thomas | Consulting for the
MLB Associates | Embedded world
------------------------------------------------------------
next reply other threads:[~2012-09-05 18:16 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-09-05 18:16 Gary Thomas [this message]
2012-09-05 21:46 ` raspberrypi image questions Paul Eggleton
2012-09-05 21:56 ` Jack Mitchell
2012-09-06 5:27 ` Tomas Frydrych
2012-09-05 21:57 ` Jack Mitchell
2012-09-05 22:27 ` Paul Eggleton
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=5047970C.8010208@mlbassoc.com \
--to=gary@mlbassoc.com \
--cc=yocto@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.