• Home
  • Help
  • Search
  • Login
  • Register
Pages: [1]
Author Topic: FreeBSD FFS/UFS Support to Marvell u-boot (usb, mmc, etc.)  (Read 7259 times)

Karma: 0
Posts: 4

View Profile
« on: September 01, 2009, 10:45:40 AM »


As an interested party in FreeBSD, I leveraged the good work of others to
make two patches and then followed the directions worked out under
"Compiling U-boot" in U-Boot stuff.  FreeBSD 9-current supports the
SheevaPlug now (http://wiki.freebsd.org/FreeBSDMarvell) so I wanted
to also add FFS support in the u-boot that was developed here:


I was able to read the FFS v2 from a USB key (da0s1) and load the
kernel and mount the root file system, which will be discussed on
the Wiki FreeBSD page for plugcomputer.org.  FFS support is on
by default via the process below (define dependencies were removed).

There will be more FreeBSD discussion on the Wiki page for FreeBSD
that until now was empty!

To compile:

1) tar xvjf u-boot-1.1.4.tar.bz2 (get u-boot-1.1.4.tar.bz2 from SheevaPlug_U-Boot.zip)
2) gunzip u-boot-1.1.4_3.4.16-diff.patch.gz u-boot-1.1.4_3.4.16-ffs-diff.patch.gz (see attached)
3) cd u-boot-1.1.4
4) make clean
5) patch -p1 < ../u-boot-1.1.4_3.4.16-diff.patch
6) patch -p1 < ../u-boot-1.1.4_3.4.16-ffs-diff.patch

NOTE: top-level Makefile cross compiler is set to "arm-none-linux-gnebit"
(needs changed if different cross compiler)

7) make mrproper
8) make rd88f6281Sheevaplug_config NBOOT=1 LE=1
9) make all
10) set TFTP server and use u-boot "bubt u-boot.bin" to get "make all" result, u-boot-rd88f6281Sheevaplug_400db_nand.bin.

* u-boot-1.1.4_3.4.16-diff.patch.gz (1692.78 KB - downloaded 299 times.)
* u-boot-1.1.4_3.4.16-ffs-diff.patch.gz (32.16 KB - downloaded 271 times.)
« Last Edit: September 01, 2009, 03:58:43 PM by sapereplug » Logged


Karma: 0
Posts: 8

View Profile
« Reply #1 on: September 14, 2009, 07:45:11 PM »

I've used FreeBSD a good bit at home, and am a jr. unix admin at work (just moved over from windows admin work back in march), and am very interested in putting FreeBSD on my sheeva plug if possible.  I have looked over the instructions at the referenced link, and have to say, I have absolutely no idea what it is asking me to do.  am I supposed to install FreeBSD on another computer, then mount the root directory via nfs in the default ubuntu 9.04 on the plug? do I need to update the default u-boot? can I/am I supposed to boot from a USB image of the FreeBSD install dvd?  the guide on that site has zero details for how to get to the point of being able to do what it is asking you to do, I mean seriously, the first step is to build world...  considering how easy it is to end up bricking you sheeva, any help would be appreciated, please.

'm not a total retard, but when doing something for the first time, while following someone's directions it is kind of annoying to only get half the steps.

I'm smarter than I think I was, and I'm not as smart as people thought I am...

At the Winter USENIX/UniForum meeting, AT&T describes its support policy for Unix:
"No advertising, no support, no bug fixes, payment in advance."


At the Winter USENIX/UniForum meeting, AT&T describes its support policy for Unix: "No advertising, no support, no bug fixes, payment in advance."



Karma: 0
Posts: 1

View Profile
« Reply #2 on: September 15, 2009, 01:33:23 PM »

That's cool.
I'm a FreeBSD user and I just got my plug yesterday. I'm going to take for a spin.

Pages: [1]
Jump to: