Port-arm archive

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

Re: Gumstix Overo boot

Hi Sir,
thanks for the quick reply.

So if i understand well :
1 - you put netbsd.gz.ub on the Flash overo memory (maybe you can give us the command to flash it on the overo),
2 - you tell u-boot to load (from Flash) and boot the netbsd.gz.ub,
3 - the root filesystem is on nfs

could we put all the filesystem on the overo itself ?


2010/8/27 KIYOHARA Takashi <kiyohara%kk.iij4u.or.jp@localhost>
Hi! Arthur,

From: Arthur Accroc <arthur.accroc1%gmail.com@localhost>
Date: Thu, 26 Aug 2010 12:06:18 +0200

> could you please provide us a little "howto" to put the kernel and userland
> on a microSD please ?

Oops...  Our Overo(OMAP35xx) not support sdmmc and USB yet.  X-<
You cannot be expecting it quite now.

Also not supports Ethernet yet at NetBSD source tree.
However, you are lucky.
I have just support Ethernet and boots on NFS at yesterday.  This
change will be merged on this weekend.  ;-)
# It tested Chesnut43 only.  Also maybe support Tobi and Tobi-Duo.
# Stagecoach not support.

> i guess we need as the verdex to format the microSD with 2 partitions :
> - 1 FAT16 at the start
> - 1 EXT3 after
> then use mkimage (from where ?) to adapt the netbsd kernel to the overo ?

It is only one filesystem of FAT or ext2(ext3) that it is necessary
for us now.

When OVERO is done in the build, some files are generated.

 # cd /usr/src/sys/arch/evbarm/compile/OVERO
 # ls netbsd*
 netbsd          netbsd.bin.gz   netbsd.gz.ub
 netbsd.bin      netbsd.gdb      netbsd.map

 netbsd        It is original NetBSD kernel.
 netbsd.bin    Striped kernel.  U-boot can load/go at 0x80200000.
 netbsd.gz.ub  U-boot image.  U-boot can handle appropriately.

Overo # mmc init
mmc1 is available

(My FAT mmc case)
Overo # fatls mmc 0 /
 1457763   netbsd.gz.ub

1 file(s), 0 dir(s)

Overo # printenv loadaddr

Overo # fatload mmc 0 ${loadaddr} netbsd.gz.ub
reading netbsd.gz.ub

1457763 bytes read

Overo # bootm ${loadaddr} expansion=chestnut43
## Booting kernel from Legacy Image at 82000000 ...
  Image Name:   NetBSD/overo 5.99.38
  Image Type:   ARM NetBSD Kernel Image (gzip compressed)
  Data Size:    1457168 Bytes =  1.4 MB
  Load Address: 80200000
  Entry Point:  80200000
  Verifying Checksum ... OK
  Uncompressing Kernel Image ... OK
## Transferring control to NetBSD stage-2 loader (at address 80200000) ...

NetBSD/evbarm (overo) booting ...
[ Kernel symbol table missing! ]
Loaded initial symtab at 0x804659d0, strtab at 0x8048e558, # entries 10342
pmap_postinit: Allocated 35 static L1 descriptor tables
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.99.38 (OVERO) #28: Thu Aug 26 20:19:36 JST 2010
total memory = 256 MB
avail memory = 245 MB
mainbus0 (root)
cpu0 at mainbus0: Cortex-A8 r1p3 (Cortex core)
cpu0: DC enabled IC enabled WB disabled EABT branch prediction enabled
cpu0: 16KB/64B 4-way Instruction cache
cpu0: 16KB/64B 4-way write-back-locking-C Data cache
obio0 at mainbus0 base 0x48000000-0x48ffffff: On-Board IO
omapicu0 at obio0 addr 0x48200000-0x48200fff intrbase 0
obio1 at mainbus0 base 0x48300000-0x4833ffff: On-Board IO
omapgpio0 at obio1 addr 0x48310000-0x483103ff intr 29 intrbase 96: interrupts 96..127, intr 29
omapwdt32k0 at obio1 addr 0x48314000-0x483147ff: rev 3.1
obio2 at mainbus0 base 0x49000000-0x490fffff: On-Board IO
omapgpio1 at obio2 addr 0x49050000-0x490503ff intr 30 intrbase 128: interrupts 128..159, intr 30
omapgpio2 at obio2 addr 0x49052000-0x490523ff intr 31 intrbase 160: interrupts 160..191, intr 31
omapmputmr0 at obio2 addr 0x49032000-0x490320ff intr 38: OMAP MPU Timer #2
com0 at obio2 addr 0x49020000-0x490203ff intr 74: ns16550a, working fifo
com0: console
omapgpio3 at obio2 addr 0x49054000-0x490543ff intr 32 intrbase 192: interrupts 192..223, intr 32
omapgpio4 at obio2 addr 0x49056000-0x490563ff intr 33 intrbase 224: interrupts 224..255, intr 33
omapgpio5 at obio2 addr 0x49058000-0x490583ff intr 34 intrbase 256: interrupts 256..287, intr 34
omapmputmr1 at obio2 addr 0x49034000-0x490340ff intr 39: OMAP MPU Timer #3
omapmputmr2 at obio2 addr 0x49036000-0x490360ff intr 40: OMAP MPU Timer #4
L3i0 at mainbus0: L3i Interconnect
gpmc0 at mainbus0 base 0x6e000000: General Purpose Memory Controller, rev 5.0
gpmc0: CS#0 valid, addr 0x30000000, size 128MB
gpmc0: CS#5 valid, addr 0x01000000, size  16MB
smsh0 at gpmc0 addr 0x01000000 intr 272: SMSC LAN9221 Rev 0
smsh0: MAC address 00:15:c9:28:c3:a3
ukphy0 at smsh0 phy 1: OUI 0x00800f, model 0x000c, rev. 3
ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
clock: hz=100 stathz=64
gpio0 at omapgpio0: 32 pins
gpio1 at omapgpio1: 32 pins
gpio2 at omapgpio2: 32 pins
gpio3 at omapgpio3: 32 pins
gpio4 at omapgpio4: 32 pins
gpio5 at omapgpio5: 32 pins
boot device: <unknown>
root device: smsh0
dump device:
file system (default generic):
root on smsh0
mountroot: trying nfs...
nfs_boot: trying DHCP/BOOTP
nfs_boot: DHCP next-server:
nfs_boot: my_addr=
nfs_boot: my_mask=
nfs_boot: gateway=
root on
root time: 0x4c7744f1
root file system type: nfs
WARNING: no TOD clock present
WARNING: using filesystem time
warning: no /dev/console
init path (default /sbin/init):
init: copying out path `/sbin/init' 11
/etc/rc.conf is not configured.  Multiuser boot aborted.
Enter pathname of shell or RETURN for /bin/sh:
Terminal type is vt100.
We recommend that you create a non-root account and use su(1) for root access.
# ls
.cshrc                    altroot                   rescue
.profile                  bin                       root
SETS.destdir.extra        dev                       sbin
SETS.destdir.missing      etc                       stand
SETS.dlist                lib                       tmp
SETS.flist                libdata                   usr
SETS.metalog.extra        libexec                   var
SETS.metalog.missing      mnt


I have Overo Fire, Water, and Earth now.
And, it has Summit, Chestnut43, Tobi-Duo, and Stagecaoch as an expansion
Does nobody have Tobi?

Home | Main Index | Thread Index | Old Index