altboot.img: altboot as U-Boot image to fake a Linux kernel module
This commit is contained in:
parent
efac3e47ba
commit
e068b990b6
|
@ -1,4 +1,4 @@
|
|||
.\" $NetBSD: contents,v 1.166 2011/02/10 00:56:34 jym Exp $
|
||||
.\" $NetBSD: contents,v 1.167 2011/02/26 20:38:49 phx Exp $
|
||||
.\"
|
||||
.\" Copyright (c) 1999-2005 The NetBSD Foundation, Inc.
|
||||
.\" All rights reserved.
|
||||
|
@ -371,6 +371,8 @@ Tape boot programs, and a RAMDISK kernel; see below.
|
|||
\*M bootloader in ELF format; see below
|
||||
. It Pa altboot.bin
|
||||
\*M bootloader in binary format; see below
|
||||
. It Pa altboot.img
|
||||
\*M bootloader as an U-Boot/PPCBoot image, suitable for bootm; see below
|
||||
.\}
|
||||
.
|
||||
.if \n[sgimips] \{\
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
.\" $NetBSD: install,v 1.8 2011/02/03 21:04:52 phx Exp $
|
||||
.\" $NetBSD: install,v 1.9 2011/02/26 20:38:49 phx Exp $
|
||||
.
|
||||
.Ss2 Prepare the NFS or TFTP server
|
||||
.
|
||||
|
@ -26,6 +26,12 @@ Serial line upload
|
|||
.It
|
||||
Flash ROM
|
||||
.bullet)
|
||||
.Pp
|
||||
When your firmware is restricted to
|
||||
.Pa bootm
|
||||
as the only command to run a program you should use
|
||||
.Pa altboot.img
|
||||
, which fakes a Linux kernel module.
|
||||
.
|
||||
.Ss2 Booting the installer
|
||||
Depending on whether the serial console is attached to the first or the
|
||||
|
@ -59,6 +65,20 @@ for TFTP, or with
|
|||
.Pp
|
||||
when the kernel resides on NFS.
|
||||
.Pp
|
||||
Note, that when using
|
||||
.Pa altboot.img
|
||||
with
|
||||
.Pa bootm
|
||||
instead of
|
||||
.Pa altboot.bin
|
||||
you have to pass arguments like
|
||||
.Pa tftp:
|
||||
or
|
||||
.Pa nfs:
|
||||
in the
|
||||
.Pa bootargs
|
||||
enviroment variable.
|
||||
.Pp
|
||||
The installation kernel will run
|
||||
.Pa sysinst
|
||||
from an internal memory disk image.
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.6 2011/01/28 22:15:35 phx Exp $
|
||||
# $NetBSD: Makefile,v 1.7 2011/02/26 20:38:50 phx Exp $
|
||||
|
||||
.include <bsd.own.mk>
|
||||
.include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib"
|
||||
|
@ -9,7 +9,7 @@ SUBDIR= ramdisk .WAIT md-kernel cdroms
|
|||
TARGETS+= release
|
||||
|
||||
BOOTOBJ!= cd ${KERNSRCDIR}/arch/sandpoint/stand/altboot && ${PRINTOBJDIR}
|
||||
ALTBOOTERS= ${BOOTOBJ}/altboot ${BOOTOBJ}/altboot.bin
|
||||
ALTBOOTERS= ${BOOTOBJ}/altboot ${BOOTOBJ}/altboot.bin ${BOOTOBJ}/altboot.img
|
||||
|
||||
release: check_RELEASEDIR .WAIT ${ALTBOOTERS}
|
||||
${RELEASE_INSTALL} ${ALTBOOTERS} ${RELEASEDIR}/${RELEASEMACHINEDIR}/installation
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
# $NetBSD: md.sandpoint,v 1.7 2011/01/28 22:15:35 phx Exp $
|
||||
# $NetBSD: md.sandpoint,v 1.8 2011/02/26 20:38:50 phx Exp $
|
||||
./dev/pms0 base-obsolete obsolete
|
||||
./usr/mdec/altboot base-sysutil-bin
|
||||
./usr/mdec/altboot.bin base-sysutil-bin
|
||||
./usr/mdec/altboot.img base-sysutil-bin
|
||||
|
|
Loading…
Reference in New Issue