Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

freebsd-arm Digest, Vol 204, Issue 3

0 views
Skip to first unread message

freebsd-a...@freebsd.org

unread,
Feb 24, 2010, 7:00:14 AM2/24/10
to freeb...@freebsd.org
Send freebsd-arm mailing list submissions to
freeb...@freebsd.org

To subscribe or unsubscribe via the World Wide Web, visit
http://lists.freebsd.org/mailman/listinfo/freebsd-arm
or, via email, send a message with subject or body 'help' to
freebsd-a...@freebsd.org

You can reach the person managing the list at
freebsd-...@freebsd.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of freebsd-arm digest..."


Today's Topics:

1. What is the state of FreeBSD on the SheevaPlug? (Matthias Rampke)
2. Re: What is the state of FreeBSD on the SheevaPlug?
(Kristof Provost)
3. Re: What is the state of FreeBSD on the SheevaPlug?
(Rafal Jaworowski)
4. Re: What is the state of FreeBSD on the SheevaPlug?
(Matthias Rampke)
5. Re: What is the state of FreeBSD on the SheevaPlug?
(SAITOU Toshihide)
6. Re: What is the state of FreeBSD on the SheevaPlug?
(FUKAUMI Naoki)
7. Re: What is the state of FreeBSD on the SheevaPlug?
(Rafal Jaworowski)


----------------------------------------------------------------------

Message: 1
Date: Tue, 23 Feb 2010 12:34:23 +0100
From: Matthias Rampke <matt...@rampke.de>
Subject: What is the state of FreeBSD on the SheevaPlug?
To: freeb...@freebsd.org
Message-ID:
<31d643301002230334h17c...@mail.gmail.com>
Content-Type: text/plain; charset=UTF-8

Hello,

I've been considering installing FreeBSD on the Marvell SheevaPlug for
some time, but I can't seem to find any recent info on what works and
what doesn't. The various wiki pages [1][2][3] all seem to be more or
less out-of-date.

So, I'd especially like to know which devices work and where
installation is possible, both in 8-STABLE and 9-CURRENT, and if
someone already made a binary distribution of some kind.

thanks,
Matthias


[1] http://www.plugcomputer.org/plugwiki/index.php/FreeBSD_8.0_%28current%29_Plug_Computer_Distribution
[2] http://www.openplug.org/plugwiki/index.php/FreeBSD_9.x_%289-current%29_Plug_Computer_Distribution
[3] http://wiki.freebsd.org/FreeBSDMarvell

--
Matthias Rampke

+49 179 - 166 09 18
http://rampke.de/


------------------------------

Message: 2
Date: Tue, 23 Feb 2010 14:49:28 +0100
From: Kristof Provost <kri...@sigsegv.be>
Subject: Re: What is the state of FreeBSD on the SheevaPlug?
To: Matthias Rampke <matt...@rampke.de>
Cc: freeb...@freebsd.org
Message-ID: <20100223134928.GJ3631@nereid>
Content-Type: text/plain; charset=us-ascii

On 2010-02-23 12:34:23 (+0100), Matthias Rampke <matt...@rampke.de> wrote:
> Hello,
>
> I've been considering installing FreeBSD on the Marvell SheevaPlug for
> some time, but I can't seem to find any recent info on what works and
> what doesn't. The various wiki pages [1][2][3] all seem to be more or
> less out-of-date.
>
> So, I'd especially like to know which devices work and where
> installation is possible, both in 8-STABLE and 9-CURRENT, and if
> someone already made a binary distribution of some kind.

I tried a little while ago with 9-CURRENT and got it to boot with an
NFS mounted rootfs (loading the kernel over tftp, from U-boot).
The network interface obviously works but I haven't tested anything
else.
As far as I'm aware there are no binary distributions for it.

Regards,
Kristof


------------------------------

Message: 3
Date: Tue, 23 Feb 2010 15:21:57 +0100
From: Rafal Jaworowski <r...@semihalf.com>
Subject: Re: What is the state of FreeBSD on the SheevaPlug?
To: Matthias Rampke <matt...@rampke.de>
Cc: freeb...@freebsd.org
Message-ID: <2CEFFBB0-CE3B-4157...@semihalf.com>
Content-Type: text/plain; charset=us-ascii


On 2010-02-23, at 12:34, Matthias Rampke wrote:

> Hello,
>
> I've been considering installing FreeBSD on the Marvell SheevaPlug for
> some time, but I can't seem to find any recent info on what works and
> what doesn't. The various wiki pages [1][2][3] all seem to be more or
> less out-of-date.

The current state of FreeBSD on the plug is the following:

- all connectivity of the device is supported (Ethernet, USB), except for SD/MMC (the driver is already written and works, but has not been committed to the public tree, as it needs to be cleaned up a bit, which I haven't gotten around to yet)

- the above applies to both 8-STABLE and HEAD

> So, I'd especially like to know which devices work and where
> installation is possible, both in 8-STABLE and 9-CURRENT, and if
> someone already made a binary distribution of some kind.

The wiki [3] fully applies, it only shows example snippets from some dev boards; all other details are valid for the SP case. The wiki only shows netbooting approach, but this should give you a starting point.

BTW: the last BSD Magazine issue had an article by Don Hayford about running FreeBSD on the plug. HTH.

Rafal

> [1] http://www.plugcomputer.org/plugwiki/index.php/FreeBSD_8.0_%28current%29_Plug_Computer_Distribution
> [2] http://www.openplug.org/plugwiki/index.php/FreeBSD_9.x_%289-current%29_Plug_Computer_Distribution
> [3] http://wiki.freebsd.org/FreeBSDMarvell

------------------------------

Message: 4
Date: Tue, 23 Feb 2010 15:55:06 +0100
From: Matthias Rampke <matthia...@googlemail.com>
Subject: Re: What is the state of FreeBSD on the SheevaPlug?
To: freeb...@freebsd.org
Message-ID:
<31d643301002230655u6fd...@mail.gmail.com>
Content-Type: text/plain; charset=UTF-8

On Tue, Feb 23, 2010 at 15:21, Rafal Jaworowski <r...@semihalf.com> wrote:

> - the above applies to both 8-STABLE and HEAD
>

So in terms of SheevaPlug-support, there is no reason not to use 8-STABLE?

Netbooting is not really a (permanent) solution for me, since if I had
a NFS server permanently on, I'd have no need for a SheevaPlug ...
I'll see what I can get to USB-wise.

Rafal: is the SD driver available as a patch, as long as it's not in
the main tree? Being able to boot from SD cards would be an almost
ideal solution, second only to internal flash (which is still way off
due to lack of a NAND filesystem, I know).

Thanks Rafal for the quick answer (and for porting FreeBSD in the first place)!

thx, Matthias


------------------------------

Message: 5
Date: Wed, 24 Feb 2010 00:45:01 +0900 (JST)
From: SAITOU Toshihide <to...@ruby.ocn.ne.jp>
Subject: Re: What is the state of FreeBSD on the SheevaPlug?
To: matthia...@googlemail.com
Cc: freeb...@freebsd.org
Message-ID: <20100224.004501...@ruby.ocn.ne.jp>
Content-Type: Text/Plain; charset=us-ascii

In message: <31d643301002230655u6fd...@mail.gmail.com>
Matthias Rampke <matthia...@googlemail.com> writes:

> Netbooting is not really a (permanent) solution for me, since if I had
> a NFS server permanently on, I'd have no need for a SheevaPlug ...
> I'll see what I can get to USB-wise.

1. put a kernel.bin into the FAT partition of a USB stick then

Marvell>> usb start
Marvell>> usb part
Marvell>> fatls usb 0:1
Marvell>> fatload usb 0:1 0x900000 kernel.bin
Marvell>> go 0x900000


2. You can boot the kernel from ffs partition if you reflash your
u-boot with the followings:

http://blog.springdaemons.com/2008/10/31/u-boot-ffs-ufs-support
http://www.naobsd.org/sheeva/u-boot-rd88f6281Sheevaplug_400db_nand.bin

Marvell>> usb start
Marvell>> ffsload usb 0:2 0x900000 kernel.bin
Marvell>> go 0x900000

in case of eSATA Sheeva:

Marvell>> ide reset
Marvell>> ffsls ide 1 /
Marvell>> ffsload ide 1 0x900000 kernel.bin
Marvell>> go 0x900000


And also, apply the pach to boot into multiuser mode.

http://www.plugcomputer.org/plugwiki/index.php/File:Disable_forcedsingle.diff.gz


SAITOU Toshihide


------------------------------

Message: 6
Date: Wed, 24 Feb 2010 01:22:19 +0900
From: FUKAUMI Naoki <f...@naobsd.org>
Subject: Re: What is the state of FreeBSD on the SheevaPlug?
To: freeb...@freebsd.org
Message-ID: <871vgbvs5g.wl%na...@fukaumi.org>
Content-Type: text/plain; charset=US-ASCII

hello

just FYI,

At Tue, 23 Feb 2010 15:55:06 +0100,
Matthias Rampke wrote:
> Netbooting is not really a (permanent) solution for me, since if I had
> a NFS server permanently on, I'd have no need for a SheevaPlug ...
> I'll see what I can get to USB-wise.
>
> Rafal: is the SD driver available as a patch, as long as it's not in
> the main tree? Being able to boot from SD cards would be an almost
> ideal solution, second only to internal flash (which is still way off
> due to lack of a NAND filesystem, I know).

Some SheevaPlug variants have eSATA port.

http://www.newit.co.uk/store/index.php?main_page=product_info&products_id=13
http://www.kuroutoshikou.com/modules/display/?iid=1440 (out of stock)

If you have SheevaPlug rev. 1.3, you can add eSATA port :)

http://plugcomputer.org/plugforum/index.php?topic=927.0

to use eSATA port, add following lines to kernel config.

+device ata
+device atadisk

of course, don't forget "noclusterr" and "noclusterw" mount options.

--
FUKAUMI Naoki


------------------------------

Message: 7
Date: Tue, 23 Feb 2010 22:25:04 +0100
From: Rafal Jaworowski <r...@semihalf.com>
Subject: Re: What is the state of FreeBSD on the SheevaPlug?
To: Matthias Rampke <matthia...@googlemail.com>
Cc: freeb...@freebsd.org
Message-ID: <B65240FC-D7B9-4A06...@semihalf.com>
Content-Type: text/plain; charset=us-ascii


On 2010-02-23, at 15:55, Matthias Rampke wrote:

> On Tue, Feb 23, 2010 at 15:21, Rafal Jaworowski <r...@semihalf.com> wrote:
>
>> - the above applies to both 8-STABLE and HEAD
>>
>
> So in terms of SheevaPlug-support, there is no reason not to use 8-STABLE?

It's supposed to work on 8-STABLE.

> Netbooting is not really a (permanent) solution for me, since if I had
> a NFS server permanently on, I'd have no need for a SheevaPlug ...
> I'll see what I can get to USB-wise.
>
> Rafal: is the SD driver available as a patch, as long as it's not in
> the main tree? Being able to boot from SD cards would be an almost
> ideal solution, second only to internal flash (which is still way off
> due to lack of a NAND filesystem, I know).

There isn't ready to apply patch, sorry; while the SD/MMC driver itself is a pretty self-contained piece of code (http://people.freebsd.org/~raj/misc/mv_sdio.c), there are extensions and updates required to the GPIO code to make it work (some MMC lines go through the GPIO, we need to handle debouncing for presence detect signals and so on); we have other local GPIO modifications, and this is where some work is required to distill, clean up and reintagrate with HEAD.

Keep nagging me about it and I'll finally complete the integration :-)

Rafal

------------------------------

End of freebsd-arm Digest, Vol 204, Issue 3
*******************************************

0 new messages