Fedora ARM Secondary Architecture/OpenRD-Client
Revision as of 10: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 /...')
Contents
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
- Requires u-boot update for MMC/SD -- see http://groups.google.com/group/openrd/browse_thread/thread/7e204d6c9087305e for thread and binary.
- 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