OpenBSD Journal

Pandaboard platform support in the works.

Contributed by jj on from the kung-fu-brandon dept.

During the g2k12 hackathon, Brandon Mercer (bmercer@) has been working on getting the beagle code run on the Pandaboard machines also.
The pandaboard is a development board with an ARM Cortex-A9 (dual-core at that!), 1G RAM and sports a large amount of connectors and ports.

Brandon has been working on it with help from Dale Rahn, miod@ and Patrick Wildt to get it to boot OpenBSD up to multiuser state.

The mandatory dmesg pr0n goes here:
OpenBSD/beagle booting ...
arg0 0x0 arg1 0xae7 arg2 0x80000100
atag core flags 0 pagesize 0 rootdev 0
atag revision 00000020                
atag mem start 0x80000000 size 0x40000000
atag cmdline [sd0i:/bsd.umg]             
bootfile: sd0i:/bsd.umg     
bootargs: 
memory size derived from u-boot
bootconf.mem[0].address = 80000000 pages 262144/0x40000000
Allocating page tables
freestart = 0x0230d000, free_pages = 531699 (0x00081cf3)
IRQ stack: p0x83fd1000 v0xc3fd1000
ABT stack: p0x83fd0000 v0xc3fd0000
UND stack: p0x83fcf000 v0xc3fcf000
SVC stack: p0x83fcd000 v0xc3fcd000
Creating L1 page table at 0x83ffc000
Mapping kernel
Constructing L2 page tables
undefined page pmap [ no symbol table formats found ]
board type: panda
Copyright (c) 1982, 1986, 1989, 1991, 1993
        The Regents of the University of California.  All rights reserved.
Copyright (c) 1995-2012 OpenBSD. All rights reserved.  http://www.OpenBSD.org

OpenBSD 5.2-beta (GENERIC) #62: Wed Jul 11 14:45:11 EDT 2012
    knowmercy@dev.my.domain:/home/knowmercy/src/sys/arch/beagle/compile/GENERIC
real mem  = 1073741824 (1024MB)
avail mem = 1015771136 (968MB)
mainbus0 at root
cpu0 at mainbus0: ARM OMAP3530 rev 2 (ARMv7 core)
cpu0: DC enabled IC enabled WB disabled EABT branch prediction enabled
cpu0: 32KB(32b/l,4way) I-cache, 32KB(32b/l,4way) wr-back D-cache
omap0 at mainbus0: PandaBoard
ampintc0 at omap0 nirq 160
amptimer0 at omap0: tick rate 488281 KHz
omdog0 at omap0 rev 0.0
omgpio0 at omap0 rev 0.1
omgpio1 at omap0 rev 0.1
omgpio2 at omap0 rev 0.1
omgpio3 at omap0 rev 0.1
omgpio4 at omap0 rev 0.1
omgpio5 at omap0 rev 0.1
ommmc0 at omap0
sdmmc0 at ommmc0
com0 at omap0: ti16750, 64 byte fifo
com0: console
/dev/ksyms: Symbol table not valid.
scsibus0 at sdmmc0: 2 targets, initiator 0
sd0 at scsibus0 targ 1 lun 0:  SCSI2 0/direct fixed
sd0: 15193MB, 512 bytes/sector, 31116288 sectors
vscsi0 at root                                  
scsibus1 at vscsi0: 256 targets
softraid0 at root              
scsibus2 at softraid0: 256 targets
boot device: sd0                  
root on sd0a (82a2431cc46625f9.a) swap on sd0b dump on sd0b
WARNING: CHECK AND RESET THE DATE!                         
Automatic boot in progress: starting file system checks.
/dev/rsd0a: file system is clean; not checking
setting tty flags
pf enabled
starting network
starting early daemons: syslogd pflogd.
starting RPC daemons:.
savecore: /bsd: kvm_openfiles: /bsd: No such file or directory
checking quotas: done.
kvm_mkdb: can't open /dev/ksyms
kvm_mkdb: can't open /bsd: No such file or directory
clearing /tmp
starting pre-securelevel daemons:.
setting kernel security level: kern.securelevel: 0 -> 1
creating runtime link editor directory cache.
preserving editor files.
/etc/rc[481]: /usr/libexec/vi.recover: No such file or directory
starting network daemons: sshd sendmail(failed) inetd sndiod.
starting local daemons: cron.
Wed Jul 11 13:09:11 MDT 2012

OpenBSD/beagle (noname.my.domain) (console)

login: root
Password:
Last login: Tue Jul 10 16:36:15 on console
OpenBSD 5.2-beta (GENERIC) #62: Wed Jul 11 14:45:11 EDT 2012

Welcome to OpenBSD: The proactively secure Unix-like operating system.

Please use the sendbug(1) utility to report bugs in the system.
Before reporting a bug, please try to reproduce it with the latest
version of the code.  With bug reports, please try to ensure that
enough information to reproduce the problem is enclosed, and if a
known fix for it exists, include that as well.

You have mail.
#
As seen from the dmesg, there is a large amount of device drivers left to get working, but getting this far shows a lot promise that it will soon join the ranks of supported hardware platforms on OpenBSD.

(Comments are closed)


Comments
  1. By sneaker (sneaker) sneaker@noahpugsley.net on

    Oh yes! Maybe I'll recycle my pile of tallboys and donate. I'm so poor, but this is sooooooo great.

    Thanks!

  2. By Richard Toohey (richardtoohey) richardtoohey@paradise.net.nz on

    Looks good - thanks for all your efforts.

    I got a Raspberry Pi to see what that is all about, but would like an ARM platform that I can run OpenBSD on. I know there are some ARM platforms already - http://www.openbsd.org/armish.html - but this Pandaboard looks interesting.

    Thanks.

Credits

Copyright © - Daniel Hartmeier. All rights reserved. Articles and comments are copyright their respective authors, submission implies license to publish on this web site. Contents of the archive prior to as well as images and HTML templates were copied from the fabulous original deadly.org with Jose's and Jim's kind permission. This journal runs as CGI with httpd(8) on OpenBSD, the source code is BSD licensed. undeadly \Un*dead"ly\, a. Not subject to death; immortal. [Obs.]