On 12/14/2012 2:05 AM, Alan DuBoff wrote:
On Thu, 13 Dec 2012, Peter Kurrasch wrote:
I thought I would put one more question out there: Does anyone know
anything about: meta-ti/classes/sdcard_image.bbclass ???
Peter,
That looks to be broken at the moment. Look in:
meta-ti/recipies-misc/images/ti-hw-bringup-image.bb
You'll see at the bottom, this comment:
# This doesn't work with the current genext2fs in oe-core
# inherit sdcard_image
I suspect they were using that for bringup work but it broke.
That's a good find! Thanks for that. I'm still trying to make my way
around all these meta's so it helps me to see associations like that.
Either way, it seems the most reliable option for me is using ext3 as
the rootfstype. Using ext4 is just too flaky.
Interesting to note that in the TI Sitara repository, the script that
creates the sdcard (bin/create-sdcard.sh) it formats the sdcard for
ext3. They use the same syntax I use, /sbin/mkfs.ext3 -L LINUX
/dev/sdx (where x represents that proper device).
That create-sdcard.sh script is the only one I've used that creates
one perfectly. I use one of the scripts that Koen posted on his blog
for my Angstrom images (I think), but since I don't have kde/qt
installed, so kpartx (I use fdisk), so I just partition and format by
hand and have been using +50M for my BOOT and the rest for LINUX
(rootfs). I create the partition, set it for type 'c', and toggle the
boot flag on that partition.
I've been doing the same basic thing--starting with the create-sdcard
script then doing the commands manually. And doing things that way does
seem to work just fine.
Just to satisfy my own curiousity (and since I wasn't making much other
progress!) I decided to reformat the root partition using the following
commands:
% sudo mke2fs -T ext4 -L beagle-me /dev/sdb2
% sudo tune2fs -j -O extents,uninit_bg,dir_index /dev/sdb2
(The -j wasn't necessary since "ext4" already turns on journaling.)
Once I installed my Angstrom build and booted up everything seemed to be
just fine. I can reboot and still login as root without any of that
session stuff--at least I haven't run into it yet.
I can't explain why the above works so I don't know if it will work for
you or anyone else. Just take it as information, for whatever it's worth!
Thanks.
I haven't seen that problem with the permissions when trying to log in
where it can't create the session, since I went back to ext3.
--
Regards,
Alan
_______________________________________________
Angstrom-distro-devel mailing list
Angstrom-distro-devel@linuxtogo.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/angstrom-distro-devel
_______________________________________________
Angstrom-distro-devel mailing list
Angstrom-distro-devel@linuxtogo.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/angstrom-distro-devel