Jasper Wallace | 3 Apr 2009 04:27
Favicon

Re: stuck in bringing the userland shell on a latest ARM core

On Wed, 25 Mar 2009, newbie wrote:

> 
> Hi All,
> 
> I am trying to bring up NetBSD-5 on a latest ARM Core (which is not yet 
> natively supported by NetBSD/arm port) as part of learning NetBSD.
> 
> I do not have any previous practical exposure on NetBSD or for that 
> matter on any other Unix-like OSes.
> 
> I am able to bring up the kernel in a couple of weeks (although not in a 
> clean way), but I am stuck in brining up the userland.
> 
> First I ran into nbmakefs toolset problem in building the ramdisk under 
> cygwin development environment. Then I bumped into version mismatch 
> between the userland and kernel.
> 
> With the right ramdisk matching kernel version(got from Mr.Ken 
> Hornstein), My serial console output is as below:
> 

[snip dmesg]

> init: copying out flags `-s' 3
> 
> init: copying out path `/sbin/init' 11
> 
> -sh: media_constructor: File exists
> 
(Continue reading)

Ron McDowell | 5 Apr 2009 06:34

SheevaPlug support?

Hi, is there any support for the Marvel SheevaPlug http://openplug.org/ 
ARM box?  Thanks.    

--

-- 
Ron McDowell
San Antonio TX

KIYOHARA Takashi | 5 Apr 2009 10:21
Picon

Re: SheevaPlug support?

Hi!

From: Ron McDowell <rcm <at> fuzzwad.org>
Date: Sat, 04 Apr 2009 23:34:23 -0500

> Hi, is there any support for the Marvel SheevaPlug http://openplug.org/ 
> ARM box?  Thanks.    

I have already ordered.
Moreover, there is a possibility that Marvell Orion can be used.

  ftp://ftp.netbsd.org/pub/NetBSD/misc/kiyohara/orion_nas/

Thanks,
--
kiyohara

Rafal Jaworowski | 5 Apr 2009 11:13

Re: SheevaPlug support?


On 2009-04-05, at 10:21, KIYOHARA Takashi wrote:

> From: Ron McDowell <rcm <at> fuzzwad.org>
> Date: Sat, 04 Apr 2009 23:34:23 -0500
>
>> Hi, is there any support for the Marvel SheevaPlug http://openplug.org/
>> ARM box?  Thanks.
>
> I have already ordered.
> Moreover, there is a possibility that Marvell Orion can be used.

Orion code would not directly work with Sheeva, as the latter is a  
more elaborate and newer system (different core/soc), in particular L1/ 
L2 cache requires specific handling routines etc. You might have a  
look at our FreeBSD support for the 88F6xxx and MV78xxx systems http://fxr.watson.org/fxr/source/arm/mv/

Rafal

John Klos | 7 Apr 2009 03:34

Bootstrapping gumstix?

Hi,

I'd like to boot my gumstix off of an 8 gig MicroSD card. I've set up a 64 
meg FAT-16 partition and copied files onto it as recommended here:

http://www.gumstix.net/User/view/User-how-to-s/Booting-from-microSD/SD/MMC/110.html

As per the little note at the bottom of the port-evbarm page:

When booting, it is necessary to set these with u-boot dynamically.
> go 0xa0200000 busheader=basix

Should I replace the parts of gumstix-factory.script which say a2000000 to 
a0200000?

Is the bootm command similar to the go command, and therefore should have 
the "busheader=basix" added to it?

Thanks,
John Klos

KIYOHARA Takashi | 7 Apr 2009 09:32
Picon

Re: Bootstrapping gumstix?

Hi! John,

First of all, what do you have gumstix?  current source code supports
to basix and connex.  If you have verdex or verdex-pro then require this
patchs.

  ftp://ftp.netbsd.org/pub/NetBSD/misc/kiyohara/gumstix/

  more latest patch is '*-20090221.diff'.
  It tested current source tree at 20090221.

From: John Klos <john <at> ziaspace.com>
Date: Tue, 7 Apr 2009 01:34:29 +0000 (UTC)

> As per the little note at the bottom of the port-evbarm page:
> 
> When booting, it is necessary to set these with u-boot dynamically.
> > go 0xa0200000 busheader=basix
> 
> Should I replace the parts of gumstix-factory.script which say a2000000 to 
> a0200000?

The U-boot loads u-boot-image at a2000000, and parses header of image, and
copy to load-address(0xa0008000).
In case NetBSD, U-boot loads the striped kernel(netbsd.bin) at 0xa0200000
directly.  If you create u-boot-image then can load to a2000000 or
approximately.

You can put sys/arch/evbarm/compile/u-boot-mkimg.sh.

(Continue reading)

John Klos | 7 Apr 2009 09:53

Re: Bootstrapping gumstix?

Hi,

> First of all, what do you have gumstix?  current source code supports
> to basix and connex.  If you have verdex or verdex-pro then require this
> patchs.
>
>  ftp://ftp.netbsd.org/pub/NetBSD/misc/kiyohara/gumstix/
>
>  more latest patch is '*-20090221.diff'.
>  It tested current source tree at 20090221.

I'll apply those diffs and test tomorrow. I have the verdex-pro.

Are these patches just waiting for testing before being committed, or is 
there another reason they aren't committed yet?

Thanks,
John Klos

KIYOHARA Takashi | 7 Apr 2009 10:37
Picon

Re: Bootstrapping gumstix?

Hi! John,

From: John Klos <john <at> ziaspace.com>
Date: Tue, 7 Apr 2009 07:53:35 +0000 (UTC)

> > First of all, what do you have gumstix?  current source code supports
> > to basix and connex.  If you have verdex or verdex-pro then require this
> > patchs.
> >
> >  ftp://ftp.netbsd.org/pub/NetBSD/misc/kiyohara/gumstix/
> >
> >  more latest patch is '*-20090221.diff'.
> >  It tested current source tree at 20090221.
> 
> I'll apply those diffs and test tomorrow. I have the verdex-pro.

I am guessing to work with 'busheader=netwifimicrosd' or 'netmicrosd'.
I don't support Marvell 88F8385 (wifi).

# You can use malo possibly.
#   http://www.naobsd.org/wifi/
# I not test yet...  ;-)

Thanks,
--
kiyohara

Arthur Accroc | 8 Apr 2009 11:35
Picon

booting NetBSD on verdex

Hello,
i'm trying to use NetBSD on gumstix (verdex, netwifimicrosd),
when booting i got the following error :
...
pxamci0: couldn't start dma xfer. (error=14)
ld0f: error writing fsbn 16 of 16-19 ...
ld0f: error writing fsbn ...
...

i've make a fsck_ffs of ld0f and nothing is wrong on it, i've
re-formatted the microSD card (2G), but same issue.

Could you help me to find the cause of this trouble ?
thanks
Arthur :)

KIYOHARA Takashi | 8 Apr 2009 13:26
Picon

Re: booting NetBSD on verdex

Hi! Arthur,

From: Arthur Accroc <arthur.accroc1 <at> gmail.com>
Date: Wed, 8 Apr 2009 11:35:19 +0200

> i'm trying to use NetBSD on gumstix (verdex, netwifimicrosd),
> when booting i got the following error :
> ...
> pxamci0: couldn't start dma xfer. (error=14)
> ld0f: error writing fsbn 16 of 16-19 ...
> ld0f: error writing fsbn ...
> ...

Can you show result of fdisk/disklabel?

> i've make a fsck_ffs of ld0f and nothing is wrong on it, i've
> re-formatted the microSD card (2G), but same issue.

Do you have other microSD?
My verdex was not able to treat cheap microSD. I am using macroSD of
SanDisk now.

Thanks,
--
kiyohara


Gmane