tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Netbsd /avr32 update.



Hi everyone,

Today I presented my NetBSD/avr32 port at eurobsdcon in Malta.

This came out ok, and I received great feedback from those present. I can't
remember all the names right now, I do remember Adrian Steinman and Valeriy
Ushakov being there.

NetBSD/avr32 is now capable of executing a shell, which is a static Linux
busybox, due to reasons explained during the presentation (i.e the
development was focused on the kernel)

The next step, besides continuing / fixing the actual port is to start
working on the toolchain. Particularly an llvm backend for NetBSD/avr32 seems
the way to go.

As usual code is availabe at
https://github.com/Tommmster/netbsd-avr32

Starting kernel at 90000000 (params at 11fc0040)...

Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
    2006, 2007, 2008, 2009, 2010
    The NetBSD Foundation, Inc.  All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
    The Regents of the University of California.  All rights reserved.

NetBSD 5.1.0_PATCH (MYKERNEL) #0: Thu Jan 12 20:05:02 ARST 2012
        root@netbsd-5-1:/tomas/new/src/sys/arch/i386/compile/MYKERNEL
Atmel AT32AP7000 SoC
total memory = 32768 KB
avail memory = 28644 KB
mainbus0 (root)
cpu0 at mainbus0: Atmel AT32AP7000 SoC (0x1) Rev. 0, no FPU
cpu0: 16KB/32B 4-way set-associative Instruction cache
cpu0: 16KB/32B 4-way set-associative Data cache
cpu0: unified TLB, 32 entries
at32bus0 at mainbus0
at32pm0 at at32bus0
at32intc0 at at32bus0
at32usart0 at at32bus0 console
at32clock0 at at32bus0
rn_init: radix functions require max_keylen be set
boot device: <unknown>
root on md0a dumps on md0b
root file system type: ext2fs
WARNING: no TOD clock present
WARNING: using filesystem time
WARNING: CHECK AND RESET THE DATE!


BusyBox v1.13.1 (2010-05-15 23:32:36 GMT+3) built-in shell (ash)
Enter 'help' for a list of built-in commands.

sh: can't access tty; job control turned off
/ # uname -a
Linux  2.0.38 #0 Sun Nov 11 11:11:11 MET 2000 ngw100 unknown
/ # ls -l
drwxr-xr-x    2 0        0            2048 Jun 21 02:50 bin
drwxr-xr-x    2 0        0            1024 Sep 22 11:56 dev
drwx------    2 0        0           12288 Jun 21 02:43 lost+found
drwxr-xr-x    2 0        0            1024 Jun 21 02:44 sbin
drwxr-xr-x    4 0        0            1024 Sep 22 11:59 usr
drwxr-xr-x    2 0        0            1024 Jun 21 02:41 var
/ # hexdump /bin/busybox | cut -b'10-20' | head -20 |gzip | gzip -d | sort
000 0000 00
000 0004 eb
000 1000 00
000 1000 00
000 1000 64
002 18ad 00
007 300e 1b
008 f009 18
009 6a1c 00
009 a040 00
00e 000d 00
0a4 7408 f0
808 c020 5d
c14 3019 b0
e26 1895 e2
e26 ecfc 40
ec9 002c ec
f45 4c46 01
ff6 94f6 c3
ff6 951a d4
/ #

Greetings,
Tomás


Home | Main Index | Thread Index | Old Index