Fedora ARM Secondary Architecture/OpenRD-Client

From CDOT Wiki
Revision as of 11:31, 24 March 2010 by Chris Tyler (talk | contribs) (Created page with 'Category:Fedora ARM Secondary Architecture = Configuring F12 on OpenRD-Client = Here are some rough notes on setting this up: == SD card setup (4GB+, class 4+) == * 100M /...')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Configuring F12 on OpenRD-Client

Here are some rough notes on setting this up:

SD card setup (4GB+, class 4+)

  • 100M /boot partition - vfat - place kernel from james.99k.org/openrd.html in there
  • rest of card - ext3 - untar f12 root filesystem from Fedora ARM page

uBoot setup

  • Load the u-boot.bin onto the root of a vfat USB stick, then execute these commands with the stick inserted:
usb start
fatload usb 0:1 0x0800000 /u-boot.bin
nand erase 0x0 0xa0000
nand write 0x0800000 0x0 0xa0000
  • U-boot environment configuration for SD boot:
setenv arcNumber 2361
setenv mainlineLinux yes
setenv console 'console=ttyS0,115200'
setenv bootargs 'root=b302'
setenv bootcmd='mmcinit;mmcinit;fatload mmc 0 0x800000 /uimage-2.6.33rc1;set bootargs $(console) $(bootargs);bootm 0x800000;reset'
saveenv

reset

Modules

  • Put modules from james.99k.org/openrd.html into /lib/modules/2.6.33-rc1
  • Run depmod

Network

  • Editing /etc/sysconfig/network-scripts/ifcfg-eth0 does *not* seem to work. Instead, add ifconfig/route commands to /etc/rc.d/rc.local and disable the network service with:
chkconfig network off

Network change on HongKong for NAT

/sbin/iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE

Package updates on OpenRD-Client

yum -y update
yum -y install openssh-clients mock system-config-network-tui nfs-utils

NFS

chkconfig nfs on

/etc/fstab

  • Change root from 'nfs' to 'auto' type