Root file system for powerpc 74xx board

2 messages, 2 authors, 2007-10-24 · open the first message on its own page

Root file system for powerpc 74xx board

From: mahendra varman <hidden>
Date: 2007-10-23 14:55:41

Hi All

Iam a beginner/Learner in this field.

I have  Linux running on an intel x86 machine with cross development
environment.
I want to host 74xx file system  with Xfree86 and library support  on the
intel machine.

I will boot the file system using NFS to the 74xx system.

How to create/extract the file system with xfree86 support from fedora file
system  ?


Please help me on the above

Thanks in advance

RE: Root file system for powerpc 74xx board

From: Bill Farrow <hidden>
Date: 2007-10-24 00:15:27

I have=A0 Linux running on an intel x86 machine with cross
development environment. I want to host 74xx file system
with Xfree86 and library support=A0 on the intel machine.=20

I will boot the file system using NFS to the 74xx system.

How to create/extract the file system with xfree86 support from fedora =
file system=A0 ?

I'm not sure if Fedora Linux has a Live CD that you can download for PPC =
machines.  We used an Ubuntu (Live) CD for our setup.  In our case the =
CD is bootable and contains a file called filesyste.squashfs that is a =
full desktop root filesystem with Xorg, all compiled for PPC.  You wont =
be able to unpack the squashfs file on your x86 Host because of the byte =
ordering, so you need to use your PPC target to do the work.

Mount the CDROM iso image on your x86 Host and then export this via NFS =
to your PPC target
  Host# sudo mount -o loop -t iso9660 ubuntu-6.10-desktop-powerpc.iso =
/mnt/
  Host# sudo mkdir /opt/ubuntu
  Host# sudo vi /etc/exports
    /mnt 192.168.0.0/255.255.255.0(rw,no_root_squash,sync)
    /opt/ubuntu 192.168.0.0/255.255.255.0(rw,no_root_squash,sync)

Use the Target to mount via nfs the Hosts /mnt/ directory that you =
exported, then mount via loopback the filesystem.squashfs and copy the =
contents back to the Host's nfs exported /mnt/ directory.

  Target# mount host_ip_address:/mnt/ /mnt/host
  Target# mount /mnt/host/casper/filesystem.squashfs /mnt/squashfs
  Target# mount host_ip_address:/ubuntu/ /mnt/ubuntu
  Target# cp -a /mnt/squashfs /mnt/ubuntu

I'm writing this from memory, so the above commands may be incorrect but =
the general idea and flow should be OK.

Bill
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help