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

Sibyl Boot Loader

Dear Debian-Mips Developers:


I’m in the process of writing a sibyl boot loader image to a compactflash device for use with a BCM91480b evaluation board, and I’d like to ask for assistance regarding an issue I’m facing with the installboot command.  I have a compactflash card with two partitions, a sibyl boot partition and a partition for the root filesystem.  The results of the fdisk command are as follows for the compactflash device.


bcm91250a:~# fdisk /dev/hdb


Command (m for help): p


Disk /dev/hdb: 1024 MB, 1024966656 bytes

255 heads, 63 sectors/track, 124 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes


  Device Boot      Start         End      Blocks   Id  System

/dev/hdb1               1           1        8001    6  FAT16

/dev/hdb2               2         124      987997+  83  Linux



To ensure that the sibyl boot loader is correct, I’ve been using the sibyl boot loader from the Debian installation on a BCM91250a evaluation system.  The results of the installboot command are as follows.



bcm91250a:/usr/sbin# /usr/sbin/installboot -v /usr/lib/sibyl/sibyl.bin


Host is big-endian.

Target is big-endian.

Magic Number:       43465631424F4F54

Boot code offset:   1024

Boot code size:     130560

Header checksum:    67D8DE56

Header version:     1

Data checksum:      E24136D0

Architecture info:  00000000


Word 59 = 43465631424F4F54

Word 60 = 0000000167D8DE56

Word 61 = 0000000000000400

Word 62 = E24136D00001FE00

Word 63 = 0000000000000000

Installing boot block

Installing bootstrap program

Done.  /usr/lib/sibyl/sibyl.bin installed on /dev/hdb1




When booting a BCM91480b evaluation system using the filesystem on the compactflash card, the following information is obtained.



CFE version 1.3.3 for BCM91480B (64bit,MP,BE,MIPS) Build Date: Mon Nov 20 07:02:05 EST 2006 (root@static-host) Copyright (C) 2000,2001,2002,2003,2004,2005 Broadcom Corporation.




Total memory used by CFE:  0x8FB89000 - 0x8FFFF420 (4678688)

Initialized Data:          0x8FBECA40 - 0x8FBFBC90 (62032)

BSS Area:                  0x8FBFBC90 - 0x8FBFD410 (6016)

Local Heap:                0x8FBFD420 - 0x8FFFD420 (4194304)

Stack Area:                0x8FFFD420 - 0x8FFFF420 (8192)

Text (code) segment:       0x8FB89000 - 0x8FBEC14A (405834)

Boot area (physical):      0x0FB48000 - 0x0FB88000

Relocation Factor:         I:EFF89000 - D:EFF89000




*** Autoboot: Trying device 'pcmcia1' file  (pcmcia1,raw)


Loader:raw Filesys:raw Dev:pcmcia1 File: Options:(null)

Loading: ...........Failed.


*** Autoboot failed.


[CFE ]



I’d like to ask for guidance with the installboot command.  I’m using a reliable sibyl.bin file, so I’m curious about whether or not the installboot command is being used correctly.



Gary Smith

Reply to: