kernel.img is for rpi only
This commit is contained in:
parent
b4b144b944
commit
bc399b5b4e
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: evbarm.conf,v 1.1 2013/01/16 23:27:34 christos Exp $
|
||||
# $NetBSD: evbarm.conf,v 1.2 2013/01/21 16:59:23 skrll Exp $
|
||||
# evbarm shared config
|
||||
#
|
||||
image=$HOME/${board}.img
|
||||
|
@ -88,13 +88,6 @@ sshd=YES
|
|||
dhcpcd=YES
|
||||
mdnsd=YES
|
||||
EOF
|
||||
if [ ! -f ${kerneldir}/kernel.img ]; then
|
||||
echo ${PROG}: Missing ${kerneldir}/kernel.img 1>&2
|
||||
exit 1
|
||||
fi
|
||||
echo "${bar} installing kernel ${bar}"
|
||||
${sudo} cp ${kerneldir}/kernel.img ${mnt}/boot
|
||||
|
||||
if [ ! -f ${mnt}/dev/MAKEDEV ]; then
|
||||
echo ${PROG}: Missing ${mnt}/dev/MAKEDEV 1>&2
|
||||
exit 1
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: rpi.conf,v 1.9 2013/01/16 23:27:34 christos Exp $
|
||||
# $NetBSD: rpi.conf,v 1.10 2013/01/21 16:59:23 skrll Exp $
|
||||
# Raspberry PI customization script used by mkimage
|
||||
#
|
||||
|
||||
|
@ -27,10 +27,18 @@ EOF
|
|||
|
||||
${sudo} cat > ${mnt}/boot/cmdline.txt << EOF
|
||||
console=fb
|
||||
#fb=1280x1024 # to select a mode, otherwise EDID will be tried and fallback to
|
||||
#fb=1280x1024 # to select a mode, otherwise try EDID
|
||||
#fb=disable # to disable fb completely
|
||||
EOF
|
||||
|
||||
if [ ! -f ${kerneldir}/kernel.img ]; then
|
||||
echo ${PROG}: Missing ${kerneldir}/kernel.img 1>&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
echo "${bar} installing kernel ${bar}"
|
||||
${sudo} cp ${kerneldir}/kernel.img ${mnt}/boot
|
||||
|
||||
echo -n "${bar} installing firmware files:"
|
||||
(cd ${mnt}/boot &&
|
||||
for f in ${firmwarefiles}; do
|
||||
|
|
Loading…
Reference in New Issue