<br><br><div class="gmail_quote">On Tue, Dec 11, 2012 at 1:12 PM, Jon Masters <span dir="ltr"><<a href="mailto:jcm@redhat.com" target="_blank">jcm@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">On 12/11/2012 02:11 PM, Jon Masters wrote:<br>
> On 12/11/2012 01:38 PM, Peter Robinson wrote:<br>
>> On Tue, Dec 11, 2012 at 6:35 PM, David Rusling <<a href="mailto:david.rusling@linaro.org">david.rusling@linaro.org</a>> wrote:<br>
>>> Chaps,<br>
>>> I have tried a number of ways to get F18 up and running on my chromebook.<br>
>>> All (frustratingly) to no avail*. In my latest attempt, I took a console<br>
>>> hard float F18, installed it, frigged with the networking and installed the<br>
>>> "GNOME desktop environment" group. I set systemd to boot to a graphical<br>
>>> environment and gdm doesn't start up properly. So, could someone either,<br>
>>> tell me how to fix this or just point me at a reliable F18 graphical build<br>
>>> that actually works...<br>
>><br>
>> gnome 3 won't work as we don't have 3D support in the X drivers.<br>
>> You'll need to use xfce/kde/mate etc.<br>
><br>
> Try:<br>
><br>
> $ yum groupinstall "XFCE Software Development"<br>
><br>
> If that doesn't work, I can arrange to give you a copy of a known-good<br>
> filesystem. But I'm not ready to publish that more broadly.<br>
<br>
</div>Oops. I meant Xfce not the development group :) "yum grouplist" is your<br>
friend for seeing these groups of packages.<br>
<div class="HOEnZb"><div class="h5"><br></div></div></blockquote><div><br></div><div><br></div><div><br></div><div>Hello David,</div><div><br></div><div>Here are the steps I used to get F18 working on chromebook</div><div>
<br></div><div>The first few steps are done on my desktop, where the sdcard is "/dev/sdc".</div><div>Your miles may vary.... </div><div><br></div><div>These are snippets of a shell script so some of these steps might look gnarly, my apologies. </div>
<div><br></div><div><br></div><div><br></div><div><div>sgdisk --set-alignment=8192 \</div><div> --new=1:8192:+16M \</div><div> --typecode=1:7f00 \</div><div> --change-name=1:"KERN-A" \</div>
<div> --attributes=1:set:48 \</div><div> --attributes=1:set:51 \</div><div> --attributes=1:set:52 \</div><div> --attributes=1:set:54 \</div><div> --attributes=1:set:56 \</div><div>
--new=2:40960:+16M \</div><div> --typecode=2:7f00 \</div><div> --change-name=2:"KERN-B" \</div><div> --attributes=2:set:51 \</div><div> --attributes=2:set:52 \</div>
<div> --attributes=2:set:54 \</div><div> --attributes=2:set:56 \</div><div> --new=3:73728:+500M \</div><div> --typecode=3:8200 \</div><div> --change-name=3:"swap" \</div>
<div> --new=4:1097728:0 \</div><div> --typecode=4:8300 \</div><div> --change-name=4:"rootfs" \</div></div><div> /dev/sdc</div><div><br></div><div><br></div><div><div>##</div>
<div>## Create labels and universal ids, for tagging the storage mounts.</div><div>##</div><div>SWAP_LABL='swap'</div><div>SWAP_UUID=$(uuidgen)</div><div>ROOT_LABL='rootfs'</div><div>ROOT_UUID=$(uuidgen)</div>
<div><br></div><div><br></div><div><br></div><div>##</div><div>## Setup rootfs and swap</div><div>##</div><div>mkfs.ext4 -v -b 4096 -m 2 \</div><div> -L "$ROOT_LALB" \</div><div> -U "$ROOT_UUID" \</div>
<div> /dev/sdc4</div><div><br></div><div>mkswap -L "$SWAP_LABL" \</div><div> -U "$SWAP_UUID" \</div><div> /dev/sdc3</div></div><div><br></div><div><br></div><div>##</div><div>
## Download and install the image</div><div>##</div><div><br></div><div><div>wget <a href="http://scotland.proximity.on.ca/arm-nightlies/vault/f18-beta-tc1/F18-panda-20121130.img.xz">http://scotland.proximity.on.ca/arm-nightlies/vault/f18-beta-tc1/F18-panda-20121130.img.xz</a> -O /tmp/F18-panda-20121130.img.xz</div>
<div><br></div><div>unxz /tmp/F18-panda-20121130.img.xz</div><div>mkdir -p /mnt/{src,dest}</div><div>mount -o loop,offset=735051776 /tmp/F18-panda-20121130.img /mnt/src</div><div>mount /dev/sdc4 /mnt/dest</div><div>( cd /mnt/src ; tar cf - * ) | ( cd /mnt/dest ; tar xvpf - )</div>
<div>umount /mnt/src</div><div><br></div><div><br></div><div><br></div><div>##</div><div>## Fixup the fstab with the uuid's</div><div>##</div><div><br></div><div>cat <<-EOF > /mnt/dest/etc/fstab</div><div># /etc/fstab</div>
<div><br></div><div>UUID=$ROOT_UUID / ext4 defaults 1 1</div><div>UUID=$SWAP_UUID swap swap defaults 0 0</div><div><br></div><div>EOF</div><div><br></div><div><br></div>
<div>##</div><div>## Fixup the /etc/X11/xorg.conf</div><div>##</div><div>cat <<-EOF > /mnt/dest/etc/X11/xorg.conf</div><div><br></div><div>Section ServerFlags</div><div> Option 'DontZap' 'false'</div>
<div> Option 'StandbyTime' '0'</div><div> Option 'SuspendTime' '0'</div><div> Option 'OffTime' '0'</div><div> Option 'BlankTime' '0'</div>
<div>EndSection</div><div><br></div><div>Section Monitor</div><div> Identifier 'Monitor0'</div><div>EndSection</div><div><br></div><div>Section Device</div><div> Identifier 'Device0'</div><div> Driver 'fbdev'</div>
<div> Option 'monitor-LVDS1' 'Monitor0'</div><div>EndSection</div><div><br></div><div>Section InputClass</div><div> Identifier 'Touchpad0'</div><div> MatchIsTouchpad 'on'</div>
<div> Option 'FingerHigh' '5'</div><div> Option 'FingerLow' '5'</div><div>EndSection</div><div><br></div><div>EOF</div><div><br></div><div><br></div><div><br></div><div>
##</div><div>## Correct the hostname</div><div>##</div><div>cat <<-EOF > /mnt/dest/etc/sysconfig/network</div><div>NETWORKING=yes</div><div>HOSTNAME=chromebook-f18-v7hfp</div><div>EOF</div></div><div><br></div><div>
<br></div><div>##</div><div>## Install a shell script on the sdcard to do the last steps</div><div>##</div><div><br></div><div><br></div><div>cat <<FOO > /mnt/dest/root/chrome-kernel.bash</div><div><br></div><div>
<div>echo "console=tty1 debug verbose root=/dev/mmcblk1p4 rootwait rw" > /media/removable/rootfs/root/kernel-cmdline</div><div><br></div><div>vbutil_kernel --pack /media/removable/rootfs/root/newkern \</div><div>
--keyblock /usr/share/vboot/devkeys/kernel.keyblock \</div><div> --version 1 \</div><div> --signprivate /usr/share/vboot/devkeys/kernel_data_key.vbprivk \</div><div> --config=/media/removable/rootfs/root/kernel-cmdline \</div>
<div> --vmlinuz /boot/vmlinuz-3.4.0 \</div><div> --arch arm</div><div><br></div><div>for N in 1 2 </div><div> do dd if=/media/removable/rootfs/root/newkern of=/dev/mmcblk1p${N}</div><div>done</div>
<div><br></div><div>cp -rf /lib/modules/* /media/removable/rootfs/lib/modules/</div><div>cp -rf /lib/firmware/* /media/removable/rootfs/lib/firmware/</div><div><br></div><div>crossystem dev_boot_usb=1</div></div><div><br>
</div><div><br></div><div>FOO</div><div><br></div><div><br></div><div><br></div><div>##</div><div>## Because this is an XFCE image for panda, you can safely remove kernel-omap</div><div>##</div><div><br></div><div><br></div>
<div># now put the chrome book in dev mode and run the script.</div><div><br></div><div><br></div><div># The END</div><div><br></div><div>-Jon Disnard</div></div>