Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 Feb 2009 21:55:36 +0300 (MSK)
From:      Aleksey V Fedorov <alexf@vsi.ru>
To:        freebsd-ppc@freebsd.org
Subject:   boot process
Message-ID:  <Pine.GSO.4.62.0902212141241.25932@serv1>

next in thread | raw e-mail | index | archive | help

Hi!

I have RouterBoard RB1000 with MPC8548. This board has it's own RouterBoot 
loader instead of U-Boot. This loader load linux kernel OK:

RouterBOOT booter 2.14

RouterBoard 1000

CPU frequency: 1333 MHz
   Memory size: 512 MB

Press any key within 2 seconds to enter setup..
trying bootp protocol............ OK
Got IP address: 88.83.197.247
resolved mac address 00:14:4F:EA:FE:C5
Gateway: 88.83.197.193
transfer started ............................... transfer ok, time=246.56s
setting up elf image... OK
jumping to kernel code
Using RB1000 machine description
Memory CAM mapping: CAM0=256Mb, CAM1=256Mb, CAM2=0Mb residual: 0Mb
Linux version 2.6.22.14 (stacy@claw) (gcc version 4.1.1) #23 Thu Jan 8 
16:51:25 
UZT 2009
Zone PFN ranges:
   DMA             0 ->   131072
   Normal     131072 ->   131072
early_node_map[1] active PFN ranges
     0:        0 ->   131072
Built 1 zonelists.  Total pages: 130048
Kernel command line: root=/dev/nfs nfsroot=/usr/nfsdata ip=bootp 
console=ttyS0,1 
15200 board=mpc85xx boot=1
mpic: Setting up MPIC " OpenPIC " version 1.2 at e0040000, max 1 CPUs
mpic: ISU size: 1, shift: 0, mask: 0
mpic: Initializing for 32 sources
PID hash table entries: 2048 (order: 11, 8192 bytes)
Console: colour dummy device 80x25
Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
Memory: 516096k/524288k available (3028k kernel code, 7828k reserved, 136k 
data, 
116k bss, 120k init)
Mount-cache hash table entries: 512
NET: Registered protocol family 16
PCI: Probing PCI hardware
Generic PHY: Registered new driver
SCSI subsystem initialized
NET: Registered protocol family 2
IP route cache hash table entries: 16384 (order: 4, 65536 bytes)
TCP established hash table entries: 65536 (order: 7, 524288 bytes)
TCP bind hash table entries: 65536 (order: 6, 262144 bytes)
TCP: Hash tables configured (established 65536 bind 65536)
TCP reno registered
beeper init
irq=31
beeper done
yaffs Jan  8 2009 16:42:26 Installing.
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered (default)
Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing enabled
serial8250.0: ttyS0 at MMIO 0xe0004500 (irq = 26) is a 16550A
console handover: boot [udbg0] -> real [ttyS0]
Gianfar MII Bus: probed
eth0: Gianfar Ethernet Controller Version 1.2, 00:0c:42:20:99:00
eth0: Running with NAPI enabled
eth0: 256/256 RX/TX BD ring size
eth1: Gianfar Ethernet Controller Version 1.2, 00:0c:42:20:99:01
eth1: Running with NAPI enabled
eth1: 256/256 RX/TX BD ring size
eth2: Gianfar Ethernet Controller Version 1.2, 00:0c:42:20:99:02
eth2: Running with NAPI enabled
eth2: 256/256 RX/TX BD ring size
eth3: Gianfar Ethernet Controller Version 1.2, 00:0c:42:20:99:03
eth3: Running with NAPI enabled
eth3: 256/256 RX/TX BD ring size
Loading iSCSI transport class v2.0-724.
SCSI Media Changer driver v0.25
RB_PPC CF
CF: using Local-Bus clock 133332 kHz 7500 ps
CF: irq level 1
scsi0 : pata_rb_ppc
ata1: PATA max PIO6 cmd 0x40000000 ctl 0x4000000e bmdma 0x00000000 irq 29
ata1.00: CFA: TRANSCEND, , max PIO6
ata1.00: 501760 sectors, multi 0: LBA
CF PIO mode changed to 6
ata1.00: configured for PIO6
scsi 0:0:0:0: Direct-Access     ATA      TRANSCEND        n/a  PQ: 0 ANSI: 
5
sd 0:0:0:0: [sda] 501760 512-byte hardware sectors (257 MB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't 
support DP 
O or FUA
sd 0:0:0:0: [sda] 501760 512-byte hardware sectors (257 MB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't 
support DP 
O or FUA
  sda: sda1 sda2
sd 0:0:0:0: [sda] Attached SCSI removable disk
sd 0:0:0:0: Attached scsi generic sg0 type 0
RB_PPC CF
CF: irq level 1
scsi1 : pata_rb_ppc
ata2: PATA max PIO6 cmd 0x40200000 ctl 0x4020000e bmdma 0x00000000 irq 30
RB_PPC NAND
NAND device: Manufacturer ID: 0xad, Chip ID: 0x76 (Hynix NAND 64MiB 3,3V 
8-bit)
Scanning device for bad blocks
Bad eraseblock 3518 at 0x036f8000
Creating 2 MTD partitions on "NAND 64MiB 3,3V 8-bit":
0x00000000-0x00400000 : "RouterBoard NAND Boot"
0x00400000-0x04000000 : "RouterBoard NAND Main"
mice: PS/2 mouse device common for all mice
i2c /dev entries driver
GACT probability on
Mirror/redirect action on
netem: version 1.2
u32 classifier
     Performance counters on
     input device check on
     Actions configured
Netfilter messages via NETLINK v0.30.
TCP cubic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
gfar: open eth0
gfar: open eth1
gfar: open eth2
gfar: open eth3


but FreeBSD does'not start.

RouterBOOT booter 2.14

RouterBoard 1000

CPU frequency: 1333 MHz
   Memory size: 512 MB

Press any key within 2 seconds to enter setup..
trying bootp protocol.................. OK
Got IP address: 88.83.197.247
resolved mac address 00:14:4F:EA:FE:C5
Gateway: 88.83.197.193
transfer started ................................... transfer ok, time=273.98s
setting up elf image... OK
jumping to kernel code

and silence..

What is required to boot FreeBSD kernel? Is it possible to make 
intermediate elf loader which will setup U-boot environment for
regular boot? I want to keep RouterBoot loader unchanged.



--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.4.62.0902212141241.25932>