Saturday, September 4, 2010

RAMDISK kernel successfully booted!!


U-Boot 1.1.1  (Build time: Oct 23 2009 - 14:48:20)


Hardware Monitor: W83792D initialized
CN3010_EVB_HS5 board revision major:0, minor:0, serial #: CAPK-0100ND
OCTEON CN5020-SCP pass 1.1, Core clock: 500 MHz, DDR clock: 265 MHz (530 Mhz data rate)
PAL rev: 0.00, MCU rev: 0.00, CPU voltage: 0.00
DRAM:  1024 MB
Flash:  8 MB
Clearing DRAM........ done
BIST check passed.
Starting PCI
PCI Status: PCI 32-bit
PCI BAR 0: 0x00000000, PCI BAR 1: Memory 0x00000000  PCI 0xf8000000
Net:   octeth0, octeth1, octeth2
 Bus 0 (CF Card): not available  

Octeon capk-0100nd# tftpboot
Interface 0 has 3 ports (RGMII)
*** Warning: no boot file name; using '6F01A8C0.img'
Using octeth0 device
TFTP from server; our IP address is
Filename '6F01A8C0.img'.
Load address: 0x20000000
Loading: octeth0: Up 100 Mbps Full duplex (port  0)
Bytes transferred = 5724637 (5759dd hex), 3128 Kbytes/sec
Octeon capk-0100nd# bootoctlinux
ELF file is 64 bit
Attempting to allocate memory for ELF segment: addr: 0xffffffff81000000 (adjusted to: 0x0000000001000000), size 0x5c4b30
Allocated memory for ELF segment: addr: 0xffffffff81000000, size 0x5c4b30
Processing PHDR 0
  Loading 540080 bytes at ffffffff81000000
  Clearing 84ab0 bytes at ffffffff81540080
## Loading Linux kernel with entry point: 0xffffffff81000000 ...
Bootloader: Done loading app on coremask: 0x1
Boot Descriptor Ver: 7 -> 1/2  CPU clock: 500MHz  Core Mask: 0x1
  Dram: 1024 MB  Board Type: 11  Revision: 0/0
  Octeon Chip: 0  Rev 0/0  Mac Address 00.90.FB.2F.B4.D9 (3)
Total DRAM Size 0X40000000
Bank 0 = 015C8000   ->  0FFFFFFF
Bank 1 = 10000000   ->  3FFFC000
l1icache size:32768 line:128 set:0
l1dcache size:16384 line:128 set:0
l2size:131072 l3size:0
Initial setup done, switching console.
Copyright (c) 1982, 1986, 1989, 1991, 1993
The Regents of the University of California.  All rights reserved.
Copyright (c) 1995-2010 OpenBSD. All rights reserved.

OpenBSD 4.7-current (RAMDISK) #3: Sat Sep  4 00:42:06 JST 2010
real mem = 1050886144 (1002MB)
avail mem = 1036288000 (988MB)
mainbus0 at root: Generic OCTEON
cpu0 at mainbus0: Cavium OCTEON CPU rev 0.1 500 MHz, Cavium OCTEON FPU rev 0.1
cpu0: cache L1-I 32KB D 16KB 4 way, L2 128KB direct
clock0 at mainbus0: ticker on int5 using count regis: ns16550, no working fifo
com0: console
com1 at obio0 base 0x1180000000c00 irq 35: ns16550, no working fifo
rd0: fixed, 8192 blocks
root on rd0a swap on rd0b dump on rd0b
WARNING: No TOD clock, believing file system.
erase ^?, werase ^W, kill ^U, intr ^C, status ^T

Welcome to the OpenBSD/loongson 4.7 installation program.
(I)nstall, (U)pgrade or (S)hell? s
# ls /
.profile     etc          install.sub  sbin         usr
bin          install      mnt          tmp          var
dev   mnt2         upgrade


  1. I too installed OpenBSD on my FuLoong and YeeLoong, however, the resolution on the FuLoong is bound to 640x800 which isn't really usable on a 24 inch screen. Also, there is a problem with CUPS so all apps that uses CUPS won't be in the ports tree (All internet browsers except Lynx and Dillo, e-mail apps such as Evolution etc.). Until these are fixed I will run Debian for the time being.

  2. I'm not really working on Loongson(for now), so I suppose it better to ask
    Actually I know the problem on compiling some ports packages, I'll try to resolve it if anyone don't fix.
    Resolution problem, I'm not sure because I haven't FuLoong. Probably some one know about it on misc@.