From Fedora Project Wiki
 
(2 intermediate revisions by the same user not shown)
Line 31: Line 31:


Once the system is booted there is a little clean up required. First remove the unneeded kernels:
Once the system is booted there is a little clean up required. First remove the unneeded kernels:
  yum remove kernel kernel-lape
  yum remove kernel kernel-lpae
Set the appropriate date (the example is 12 May 2013)
Set the appropriate date (the example is 12 May 2013)
  date 051212002013
  date 051212002013
Install Chrony to have the date automatically set at boot & Patch for use with the Arm Boot Config utility.
Install Chrony to have the date automatically set at boot & Patch for use with the Arm Boot Config utility.
  yum install chrony
  yum install chrony patch
Next install the 'arm-boot-config' utility. ABC will allow users to choose the kernel they would like to boot in Uboot and requires 'patch' to run automatically after kernel install/removal.
Next install the 'arm-boot-config' utility. ABC will allow users to choose the kernel they would like to boot in Uboot
yum install patch
  wget http://people.fedoraproject.org/~blc/fedora-arm/arm-boot-config/arm-boot-config-0.37.tar.bz2
  wget http://people.fedoraproject.org/~blc/fedora-arm/arm-boot-config/arm-boot-config-0.37.tar.bz2
  tar xvjf arm-boot-config-0.37.tar.bz2
  tar xvjf arm-boot-config-0.37.tar.bz2
  cd arm-boot-config-0.37
  cd arm-boot-config-0.37
  ./install.sh
  ./install.sh
  touch /.abc-boot.root; a-b-c
  a-b-c

Latest revision as of 16:40, 13 May 2013

Fedora 19 ARM Alpha RC5

This is the latest Fedora 19 Alpha Release Candidate for the ARM architecture and marks a significant milestone for Fedora on ARM. There is a single image for use with various platforms including - vexpress, exynos 5 (Chromebook) and Trimslice.

Download the Image and Copy to Media

You can download the image from:

wget http://armpkgs.fedoraproject.org/mash/stage/19-Alpha-RC5/Images/armhfp/Fedora-19-Alpha-armhfp-minimal.raw.xz

Copy the image to your SD card for use:

xzcat Fedora-19-Alpha-armhfp-minimal.raw.xz > /dev/<location-of-media>

Prepare for booting

The image includes the following kernel variants - kernel (multiplatform), kernel-lpae (exynos 5) and kernel-tegra(Trimslice). In order to boot one of these kernels, first determine which is appropriate for your device.

For Trimslice(kernel-tegra)

Warning.png
IMPORTANT
You must use a Device Tree enabled Uboot to boot the Fedora 19 Trimslice image. Failure to do so will result in a non-booting system.

Insert the newly created SD card and navigate to the "_boot" parition. Create a boot.cmd.mmc using the below command:

echo "setenv bootargs cma=64M root=LABEL=_/ ro rhgb console=ttyS0,115200
ext2load mmc 0:1 5880000 vmlinuz-3.9.0-301.fc19.armv7hl.tegra
ext2load mmc 0:1 4080000 uInitrd-3.9.0-301.fc19.armv7hl.tegra
ext2load mmc 0:1 4000000 dtb-3.9.0-301.fc19.armv7hl.tegra/tegra20-trimslice.dtb
bootz 5880000 4080000 4000000" > boot.cmd.mmc

Now create the boot script (boot.scr) the system will read to boot the machine:

mkimage -A arm -O linux -a 0 -e 0 -T script -C none -n "Fedora Boot Script" -d boot.cmd.mmc boot.scr

Insert into the Trimslice and boot. There is no root password required initially - this something you should change right away.

Once the system is booted there is a little clean up required. First remove the unneeded kernels:

yum remove kernel kernel-lpae

Set the appropriate date (the example is 12 May 2013)

date 051212002013

Install Chrony to have the date automatically set at boot & Patch for use with the Arm Boot Config utility.

yum install chrony patch

Next install the 'arm-boot-config' utility. ABC will allow users to choose the kernel they would like to boot in Uboot

wget http://people.fedoraproject.org/~blc/fedora-arm/arm-boot-config/arm-boot-config-0.37.tar.bz2
tar xvjf arm-boot-config-0.37.tar.bz2
cd arm-boot-config-0.37
./install.sh
a-b-c