Shelby Reed | 1 Dec 2009 19:15

Atmel AT91SAM9G20

Hello,

Does anybody have a kernel config or some hints for the Atmel AT91SAM9G20 ? 

I see work was done a few years ago on a very similar SoC here: http://bsdimp.blogspot.com/2007/03/followup-atmel-at91-family-work.html

Working on getting FreeBSD running on this: http://www.glomationinc.com/product_9G20i.html

Shelby

 

Wiktor Niesiobedzki | 3 Dec 2009 19:35
Picon

64-bit support on VIA C7 - on FreeBSD 8.0

Hi,

I'm owner of a new VIA SN10000 mini-ITX mainboard which comes together
with VIA C7 processor. During boot it is detected as:
CPU: VIA Esther processor 1000MHz (997.51-MHz 686-class CPU)
  Origin = "CentaurHauls"  Id = 0x6a9  Stepping = 9
  Features=0xa7c9baff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,APIC,SEP,MTRR,PGE,CMOV,PAT,CLFLUSH,ACPI,MMX,FXSR,SSE,SSE2,TM,PBE>
  Features2=0x181<SSE3,EST,TM2>
  VIA Padlock Features=0x3fcc<RNG,AES,AES-CTR,SHA1,SHA256,RSA>

As far as I understand, this processor should support 64-bit mode and
I should be able to boot amd64 FreeBSD.

Playing with memstick image for amd64 I get:
"CPU doesn't support long mode"

As far as I've checked, I'm missing AMDID_LM flag, as the expression
from bootinfo64.c:
    /* Check for long mode. */
    do_cpuid(0x80000001, regs);
    return (regs[3] & AMDID_LM);

Returns 0, as regs[3] is 0.

As far as I've checked the mailing lists, there was an issue with
missing support for CentaurHauls vendor, but this is not the case, as
the failing check is later in the code.

Do anyone has any experience with this family of processors? Are they
different brands (supporting 64-bit mode and not)? I tried to look for
(Continue reading)

Jung-uk Kim | 3 Dec 2009 21:16
Picon
Favicon

Re: 64-bit support on VIA C7 - on FreeBSD 8.0

On Thursday 03 December 2009 01:35 pm, Wiktor Niesiobedzki wrote:
> Hi,
>
> I'm owner of a new VIA SN10000 mini-ITX mainboard which comes
> together with VIA C7 processor. During boot it is detected as:
> CPU: VIA Esther processor 1000MHz (997.51-MHz 686-class CPU)
>   Origin = "CentaurHauls"  Id = 0x6a9  Stepping = 9
>  
> Features=0xa7c9baff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,APIC,SEP,MTRR,PG
>E,CMOV,PAT,CLFLUSH,ACPI,MMX,FXSR,SSE,SSE2,TM,PBE>
> Features2=0x181<SSE3,EST,TM2>
>   VIA Padlock Features=0x3fcc<RNG,AES,AES-CTR,SHA1,SHA256,RSA>
>
> As far as I understand, this processor should support 64-bit mode
> and I should be able to boot amd64 FreeBSD.

No, C7 does not support long mode.  New Nano family does.

Jung-uk Kim
Gót András | 3 Dec 2009 21:15
Picon

Re: 64-bit support on VIA C7 - on FreeBSD 8.0

Hi,

Where do you exactly see that this cpu supports amd64? Why do you need it
on an embedded platform?

Regards,
Andras

On Csü, December 3, 2009 7:35 pm, Wiktor Niesiobedzki wrote:
> Hi,
>
>
> I'm owner of a new VIA SN10000 mini-ITX mainboard which comes together
> with VIA C7 processor. During boot it is detected as: CPU: VIA Esther
> processor 1000MHz (997.51-MHz 686-class CPU) Origin = "CentaurHauls"  Id =
> 0x6a9  Stepping = 9
> Features=0xa7c9baff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,APIC,SEP,MTRR,PGE,CMOV,
> PAT,CLFLUSH,ACPI,MMX,FXSR,SSE,SSE2,TM,PBE>
> Features2=0x181<SSE3,EST,TM2>
> VIA Padlock Features=0x3fcc<RNG,AES,AES-CTR,SHA1,SHA256,RSA>
>
>
> As far as I understand, this processor should support 64-bit mode and
> I should be able to boot amd64 FreeBSD.
>
>
> Playing with memstick image for amd64 I get:
> "CPU doesn't support long mode"
>
>
(Continue reading)

Wiktor Niesiobedzki | 3 Dec 2009 23:22
Picon

Re: 64-bit support on VIA C7 - on FreeBSD 8.0

2009/12/3 Jung-uk Kim <jkim@...>:
>> As far as I understand, this processor should support 64-bit mode
>> and I should be able to boot amd64 FreeBSD.
>
> No, C7 does not support long mode.  New Nano family does.
>

Yes, that's where I got mislead. I've read about Nano processor and
that's supporting 64-bit, and I had the impression that it is the same
for C7. My mistake. And i thought about 64bit system, as I'm planning
to use ZFS and as I understand, this 64bit architecture is
recommended.

Any way - thanks for clarification.

Cheers,

Wiktor Niesiobedzki
FreeBSD bugmaster | 7 Dec 2009 12:06
Picon
Favicon

freebsd-embedded@...

Note: to view an individual PR, use:
  http://www.freebsd.org/cgi/query-pr.cgi?pr=(number).

The following is a listing of current problems submitted by FreeBSD users.
These represent problem reports covering all versions including
experimental development code and obsolete releases.

S Tracker      Resp.      Description
--------------------------------------------------------------------------------
o misc/136889  embedded   [nanobsd] [path] nanobsd error reporting and other ref
o misc/135588  embedded   [nanobsd] simple patch for adding amd64 support
o misc/52256   embedded   [picobsd] picobsd build script does not read in user/s
o kern/42728   embedded   [picobsd] many problems in src/usr.sbin/ppp/*  after c

4 problems total.

FreeBSD bugmaster | 14 Dec 2009 12:06
Picon
Favicon

freebsd-embedded@...

Note: to view an individual PR, use:
  http://www.freebsd.org/cgi/query-pr.cgi?pr=(number).

The following is a listing of current problems submitted by FreeBSD users.
These represent problem reports covering all versions including
experimental development code and obsolete releases.

S Tracker      Resp.      Description
--------------------------------------------------------------------------------
o misc/136889  embedded   [nanobsd] [path] nanobsd error reporting and other ref
o misc/135588  embedded   [nanobsd] simple patch for adding amd64 support
o misc/52256   embedded   [picobsd] picobsd build script does not read in user/s
o kern/42728   embedded   [picobsd] many problems in src/usr.sbin/ppp/*  after c

4 problems total.

Arnold Robbins | 15 Dec 2009 10:40
Picon

cross compiling for freebsd from windows?

Hi.

Has anyone set up cross-compilers / cross-debuggers on Windows (including
using Cygwin) to compile applications for FreeBSD and debug them from
Windows? If so, can you please send me any information, links, etc.?

Please reply directly to me (also) as I’m not subscribed to the list.

Much thanks,

Arnold Robbins
Henrik Brix Andersen | 15 Dec 2009 13:25
Picon
Favicon

Re: cross compiling for freebsd from windows?

Hi,

On Dec 15, 2009, at 10:40, Arnold Robbins wrote:
> Has anyone set up cross-compilers / cross-debuggers on Windows (including
> using Cygwin) to compile applications for FreeBSD and debug them from
> Windows? If so, can you please send me any information, links, etc.?

Your best bet is probably to install FreeBSD in a virtual machine on top of your Windows installation.

Regards,
Brix
--

-- 
Henrik Brix Andersen <brix@...>

oklahoma | 15 Dec 2009 17:13
Picon

Re: cross compiling for freebsd from windows?

Arnold Robbins wrote:
> Hi.
>
>
>
> Has anyone set up cross-compilers / cross-debuggers on Windows (including
> using Cygwin) to compile applications for FreeBSD and debug them from
> Windows? If so, can you please send me any information, links, etc.?
why the effort of making cross compiling tools ? if one need to develop 
application for given operating system,
isn't more convenient to use the os as primary incubator for that 
software? + using virtualization is giving you false
idea of how your app and underline os perform and interact with each 
other. take spare machine install needed version of freebsd
using handbook and online how-to's on how to configure ssh and log in 
from your windows machine if you don't have the skills
to manage sole freebsd machine as both desktop and develop environment. 
thus you have box to torture and you already have
compiler, debugger et cetera...

Gmane