Port-arm archive

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

Re: Raspberry Pi update please.



From: Ted Lemon <mellon%fugue.com@localhost>
Subject: Re: Raspberry Pi update please.
Date: Fri, 19 Oct 2012 17:58:37 -0400

> On Oct 19, 2012, at 5:51 PM, Pär Moberg <ghostdewolf%gmail.com@localhost> 
> wrote:
>> I would love to have my RPi running NetBSD as a server.
>> Can I do that now? If so, how?
> -current doesn't have all the drivers you need yet.   In particular, at least 
> as of last night when I most recently updated, there was no USB driver 
> checked in.

from https://www.modmypi.com/ :
 http://movapic.com/pic/201210211259225083731ac168c

image for 2G memory card:
 
ftp://ftp.netbsd.org/pub/NetBSD/misc/jun/raspberry-pi/2012-10-13-netbsd6.99.12-rasp.zip

# cu -115200 -l /dev/dtyU0
Connected

U-Boot 2012.04.01-00489-gcd2dac2-dirty (Jul 07 2012 - 12:57:03)

DRAM:  128 MiB
WARNING: Caches not enabled
MMC:   bcm2835_sdh: 0
Using default environment

In:    serial
Out:   serial
Err:   serial
Net:   Net Initialization Skipped
No ethernet found.
Hit any key to stop autoboot:  
reading uEnv.txt

17 bytes read
Importing environment from mmc ...
reading boot.scr

186 bytes read
Running bootscript from mmc0 ...
## Executing script at 00008000
** ### **
This is just a demo u-boot script, see more examples in "scripts" dir
** ### **
U-Boot> fatload mmc 0 8000 netbsd.bin
reading netbsd.bin

2877056 bytes read
U-Boot> go 8000
## Starting application at 0x00008000 ...

NetBSD/evbarm (rpi) booting ..
initarm: Configuring system ..
arm32_bootmem_init: memstart=0, memsize=0x8000000, kernelstart=
arm32_bootmem_init: kernelend=0x2df00
arm32_bootmem_init: adding 32033 free pages: [0x2df000..0x7ffffff] (VA 
0xc02df000
arm32_kernel_vm_init: 1 L2 pages are needed to map 0x2fb000 kernel byte
arm32_kernel_vm_init: allocating page tables for vectoradd_pages: adding pv 
0xc02c6d94 (pa 0x2df000, va 0xc02df000, 1 pages) at tai
 kerneladd_pages: appending pv 0xc02d3fec (0x2e0000..0x2e3fff) to 
0x2df000..0x2dfff
add_pages: appending pv 0xc02c6f10 (0x2e4000..0x2e4fff) to 0x2df000..0x2e3ff
add_pages: appending pv 0xc02c6f24 (0x2e5000..0x2e5fff) to 0x2df000..0x2e4ff
 vmadd_pages: appending pv 0xc02c6f24 (0x2e6000..0x2e6fff) to 0x2df000..0x2e5ff
add_pages: appending pv 0xc02c6f38 (0x2e7000..0x2e7fff) to 0x2df000..0x2e6ff
add_pages: appending pv 0xc02c6f4c (0x2e8000..0x2e8fff) to 0x2df000..0x2e7ff
add_pages: appending pv 0xc02c6f60 (0x2e9000..0x2e9fff) to 0x2df000..0x2e8ff
add_pages: appending pv 0xc02c6f74 (0x2ea000..0x2eafff) to 0x2df000..0x2e9ff
add_pages: appending pv 0xc02c6f88 (0x2eb000..0x2ebfff) to 0x2df000..0x2eaff
add_pages: appending pv 0xc02c6f9c (0x2ec000..0x2ecfff) to 0x2df000..0x2ebff
add_pages: appending pv 0xc02c6fb0 (0x2ed000..0x2edfff) to 0x2df000..0x2ecff
add_pages: appending pv 0xc02c6fc4 (0x2ee000..0x2eefff) to 0x2df000..0x2edff
add_pages: appending pv 0xc02c7098 (0x2ef000..0x2effff) to 0x2df000..0x2eeff
add_pages: appending pv 0xc02c70ac (0x2f0000..0x2f0fff) to 0x2df000..0x2efff
add_pages: appending pv 0xc02c70c0 (0x2f1000..0x2f1fff) to 0x2df000..0x2f0ff
add_pages: appending pv 0xc02c70d4 (0x2f2000..0x2f2fff) to 0x2df000..0x2f1ff
add_pages: appending pv 0xc02c7070 (0x2f3000..0x2f4fff) to 0x2df000..0x2f2ff
add_pages: appending pv 0xc02c7084 (0x2f5000..0x2f6fff) to 0x2df000..0x2f4ff
add_pages: appending pv 0xc02c6e10 (0x2f7000..0x2f7fff) to 0x2df000..0x2f6ff
Creating L1 page table at 0x002e000
arm32_kernel_vm_init: adding L2 pt (VA 0xc02df000, PA 0x2df000) for VA 0xffff000
arm32_kernel_vm_init: adding L2 pt (VA 0xc02e4000, PA 0x2e4000) for VA 0xc000000
arm32_kernel_vm_init: adding L2 pt (VA 0xc02e6000, PA 0x2e6000) for VA 0xc100000
arm32_kernel_vm_init: adding L2 pt (VA 0xc02e7000, PA 0x2e7000) for VA 0xc140000
arm32_kernel_vm_init: adding L2 pt (VA 0xc02e8000, PA 0x2e8000) for VA 0xc180000
arm32_kernel_vm_init: adding L2 pt (VA 0xc02e9000, PA 0x2e9000) for VA 0xc1c0000
arm32_kernel_vm_init: adding L2 pt (VA 0xc02ea000, PA 0x2ea000) for VA 0xc200000
arm32_kernel_vm_init: adding L2 pt (VA 0xc02eb000, PA 0x2eb000) for VA 0xc240000
arm32_kernel_vm_init: adding L2 pt (VA 0xc02ec000, PA 0x2ec000) for VA 0xc280000
arm32_kernel_vm_init: adding L2 pt (VA 0xc02ed000, PA 0x2ed000) for VA 0xc2c0000
Mapping kerne
arm32_kernel_vm_init: adding chunk for kernel text 0..0x23dfff (VA 0xc0000000
add_pages: adding pv 0xc02c6d80 (pa 0, va 0xc0000000, 574 pages) before pa 
0x2df00
arm32_kernel_vm_init: adding chunk for kernel data/bss 0x23e000..0x2defff (VA 
0xc023e000
add_pages: appending pv 0xc02c6de8 (0x23e000..0x2defff) to 0..0x23dff
add_pages: merging pv 0xc02c6d94 (0x2df000..0x2f7fff) to 0..0x2deff
Listing Chunk
arm32_kernel_vm_init: pv 0xc02c6d80: chunk VA 0xc0000000..0xc02f7fff (PA 0, 
prot 3, cache 1

Mapping Chunk
arm32_kernel_vm_init: mapping last chunk VA 0xc0000000..0xc02f7fff (PA 0, prot 
3, cache 1
pmap_map_chunk: pa=0x0 va=0xc0000000 size=0x2f8000 resid=0x2f8000 prot=0x3 
cache=
SSLLLLLLLLLLLLLLLPPPPPPP
devmap: 20000000 -> 20ffffff @ f200000
pmap_map_chunk: pa=0x20000000 va=0xf2000000 size=0x1000000 resid=0x1000000 
prot=0x3 cache=
SSSSSSSSSSSSSSS
                             Physical              Virtual        Nu
                       Starting    Ending    Starting    Ending   Page
               SDRAM: 0x00000000 0x07ffffff 0xc0000000 0xc7ffffff 3276
        text section: 0x00000000 0x0023dfff 0xc0000000 0xc023dfff 57
        data section: 0x00240000 0x002c6680 0xc0240000 0xc02c6680 13
         bss section: 0x002c6680 0x002ded60 0xc02c6680 0xc02ded60 2
   L1 page directory: 0x002e0000 0x002e3fff 0xc02e0000 0xc02e3fff 
   Exception Vectors: 0x002f8000 0x002f8fff 0xffff0000 0xffff0fff 
   FIQ stack (CPU 0): 0x002f0000 0x002f0fff 0xc02f0000 0xc02f0fff 
   IRQ stack (CPU 0): 0x002f1000 0x002f1fff 0xc02f1000 0xc02f1fff 
   ABT stack (CPU 0): 0x002ef000 0x002effff 0xc02ef000 0xc02effff 
   UND stack (CPU 0): 0x002f2000 0x002f2fff 0xc02f2000 0xc02f2fff 
  IDLE stack (CPU 0): 0x002f3000 0x002f4fff 0xc02f3000 0xc02f4fff 
           SVC stack: 0x002f5000 0x002f6fff 0xc02f5000 0xc02f6fff 
      Message Buffer: 0x002f7000 0x002f7fff                       
         Free Memory: 0x002f9000 0x07ffffff                       3200
switching to new L1 page table @0x2e0000...TTBR0=0x2e0000 OKdone
nfreeblocks = 1, free_pages = 32007 (0x7d07
bootstrap done
init subsystems: stacks vectors undefined page pmap_physload pmap [ Kernel 
symbol table missing! 
done
Loaded initial symtab at 0xc02448b0, strtab at 0xc026a59c, # entries 960
pmap_postinit: Allocated 35 static L1 descriptor table
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
    2006, 2007, 2008, 2009, 2010, 2011, 201
    The NetBSD Foundation, Inc.  All rights reserved
Copyright (c) 1982, 1986, 1989, 1991, 199
    The Regents of the University of California.  All rights reserved

NetBSD 6.99.12 (RPI) #0: Tue Oct  9 21:10:48 UTC 201
       
builds%b8.netbsd.org@localhost:/home/builds/ab/HEAD/evbarm/201210091710Z-obj/home/builds/ab/HEAD/src/sys/arch/evbarm/compile/RP
total memory = 128 M
avail memory = 122 M
cprng kernel: WARNING insufficient entropy at creation
mainbus0 (root
cpu0 at mainbus0 core 0: ARM1176JZ-S r0p7 (ARM11J core
cpu0: DC enabled IC enabled WB enabled LAB
cpu0: 16KB/32B 4-way L1 Instruction cach
cpu0: 16KB/32B 4-way write-back-locking-C L1 Data cach
vfp0 at cpu0: VFP1
obio0 at mainbus
bcmicu0 at obio
bcmmbox0 at obio0: VC mailbo
bcmtmr0 at obio0 intr 3: VC System Time
bcmpm0 at obio0: Power management, Reset and Watchdog controlle
plcom0 at obio0 intr 5
plcom0: txfifo disable
plcom0: consol
sdhc0 at obio0 intr 62: SDHC controlle
sdhc0: interrupting on intr 6
sdhc0: SD Host Specification 3.0, rev.15
sdmmc0 at sdhc0 slot 
ld0 at sdmmc0: <SA02G
ld0: 1898 MB, 964 cyl, 64 head, 63 sec, 512 bytes/sect x 3887104 sector
ld0: 4-bit width, bus clock 25.000 MH
cprng sysctl: WARNING insufficient entropy at creation
boot device: <unknown
root on ld0a dumps on ld0
mountroot: trying nfs..
mountroot: trying msdos..
mountroot: trying ext2fs..
mountroot: trying ffs..
root file system type: ff
WARNING: no TOD clock presen
WARNING: using filesystem tim
WARNING: CHECK AND RESET THE DATE
init: copying out path `/sbin/init' 1
Sat Oct 13 08:26:57 UTC 2012
Starting root file system check:
/dev/rld0a: file system is clean; not checking
swapctl: setting dump device to /dev/ld0b
swapctl: adding /dev/ld0b as swap device at priority 0
Starting file system checks:
Setting tty flags.
Setting sysctl variables:
ddb.onpanic: 1 -> 0
Starting network.
/etc/rc: WARNING: $hostname not set.
IPv6 mode: host
Configuring network interfaces:.
Adding interface aliases:.
Building databases: devcprng sysctl: WARNING pseudorandom rekeying
, utmp, utmpx.
Starting syslogd.
cprng 14078d24: WARNING insufficient entropy at creation
Mounting all filesystems...
Clearing temporary files.
Creating a.out runtime link editor directory cache.
Checking quotas: done.
Setting securelevel: kern.securelevel: 0 -> 1
swapctl: setting dump device to /dev/ld0b
Starting virecover.
Checking for core dump...
savecore: no core dump
Starting local daemons:.
Updating motd.
postfix: rebuilding /etc/mail/aliases (missing /etc/mail/aliases.db)
newaliases: warning: valid_hostname: empty hostname
newaliases: fatal: unable to use my own hostname
Oct 13 08:27:10  postfix/sendmail[305]: fatal: unable to use my own hostname
/etc/rc.d/postfix exited with code 1
Starting inetd.
Starting cron.
The following components reported failures:
    /etc/rc.d/postfix
See /var/run/rc.log for more information.
Sat Oct 13 08:27:10 UTC 2012

NetBSD/evbarm (Amnesiac) (console)

login: root
Oct 13 08:27:14  login: ROOT LOGIN (root) on tty console
Last login: Sat Oct 13 08:26:12 2012 on console
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
    2006, 2007, 2008, 2009, 2010, 2011, 2012
    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 6.99.12 (RPI) #0: Tue Oct 9 21:10:48 UTC 2012

Welcome to NetBSD!

This system is running a development snapshot of the NetBSD operating system,
also known as NetBSD-current.  It is very possible that it has serious bugs,
regressions, broken features or other problems.  Please bear this in mind
and use the system with care.

You are encouraged to test this version as thoroughly as possible.  Should you
encounter any problem, please report it back to the development team using the
send-pr(1) utility (requires a working MTA).  If yours is not properly set up,
use the web interface at: http://www.NetBSD.org/support/send-pr.html

Thank you for helping us test and improve NetBSD.

We recommend that you create a non-root account and use su(1) for root access.
# df
Filesystem    1K-blocks       Used      Avail %Cap Mounted on
/dev/ld0a       1713582     372032    1255872  22% /
# fdisk ld0a
Disk: /dev/rld0c
NetBSD disklabel disk geometry:
cylinders: 964, heads: 64, sectors/track: 63 (4032 sectors/cylinder)
total sectors: 3887104

BIOS disk geometry:
cylinders: 242, heads: 255, sectors/track: 63 (16065 sectors/cylinder)
total sectors: 3887104

Partitions aligned to 2048 sector boundaries, offset 63

Partition table:
0: Primary DOS with 32 bit FAT - LBA (sysid 12)
    start 8192, size 114688 (56 MB, Cyls 0/130/3-7/165/30)
1: Linux native (sysid 131)
    start 122880, size 3665920 (1790 MB, Cyls 7/165/31-235/214/43)
        PBR is not bootable: All bytes are identical (0x00)
2: <UNUSED>
3: <UNUSED>
No active partition.
Drive serial number: 901062 (0x000dbfc6)
# halt -p
Oct 13 08:27:35  halt: halted by root
Oct 13 08:27:36  syslogd[142]: Exiting on signal 15
syncing disks... don
unmounting file systems..
unmounting 0xc1402008 / (/dev/ld0a)... don
The operating system has halted.
Please press any key to reboot.

---
Jun Ebihara


Home | Main Index | Thread Index | Old Index