Port-arm archive

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

Re: Raspberry PI



On Wed, 26 Sep 2012 23:00:26 +0200
Jochen Kunz <jkunz%unixag-kl.fh-kl.de@localhost> wrote:

> > And sure, simple boot loader also,
> How do you boot the system at the moment?
> How to compile a kernel from your code and boot it?
> (kernel config file, how to prepare a "sb"-file, ...)

I made simple stand alone binary which initializes clocks, power,
DRAM etc. Sort of a boot loader. sys/arch/evbarm/stand/bootimx23
on my fossil repo.

Then, using elftosb I baked bootimx23.elf and NetBSD kernel in to a sb image
and wrote it to a SD card.

I am doing this against netbsd-6 tree. Should I change to -current and prepare 
patch for that?
I also can do little writeup how to prepare SD card, partitions and generally 
how to get things going.

Nice to hear you compiled elftosb2 for NetBSD. We will need that :-)

This is how it looks at the moment:

Booting...done.

NetBSD/evbarm (OLinuXino) booting ...
pmap_postinit: Allocated 9 static L1 descriptor tables
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.0_RC1 (IMX23_OLINUXINO) #38: Wed Sep 26 18:32:26 EEST 2012
        
petri@babylon:/work/nb6/obj/home/petri/dev/OLinuXino/NetBSD/src/sys/arch/evbarm/compile/IMX23_OLINUXINO
total memory = 65536 KB
avail memory = 62876 KB
mainbus0 (root)
cpu0 at mainbus0: ARM926EJ-S rev 5 (ARM9EJ-S core)
cpu0: DC enabled IC enabled WB enabled EABT branch prediction enabled
cpu0: 16KB/32B 4-way Instruction cache
cpu0: 16KB/32B 4-way write-back-locking-C Data cache
apbh0 at mainbus0 base 0x80000000-0x8003ffff
icoll0 at apbh0 addr 0x80000000-0x80001fff
apbx0 at mainbus0 base 0x80040000-0x8007ffff
timrot0 at apbx0 addr 0x80068000-0x80069fff
rn_init: radix functions require max_keylen be set
boot device: <unknown>
root device:
use one of: ddb halt reboot
root device: ddb
Stopped in pid 0.1 (system) at  4000901c:       bx      r14
db> 


Home | Main Index | Thread Index | Old Index