* [PATCH] mkefidisk.sh: add startup script for automated boot
@ 2015-11-28 14:43 Trevor Woerner
2015-12-31 22:07 ` Trevor Woerner
0 siblings, 1 reply; 2+ messages in thread
From: Trevor Woerner @ 2015-11-28 14:43 UTC (permalink / raw)
To: openembedded-core; +Cc: Paul Eggleton
Regardless of which image is built using which layers, try to ensure the image
on the SD device being prepared is the one that is booted automatically when
the board is powered.
Signed-off-by: Trevor Woerner <twoerner@gmail.com>
---
scripts/contrib/mkefidisk.sh | 3 +++
1 file changed, 3 insertions(+)
diff --git a/scripts/contrib/mkefidisk.sh b/scripts/contrib/mkefidisk.sh
index 23c18cb..333284f 100755
--- a/scripts/contrib/mkefidisk.sh
+++ b/scripts/contrib/mkefidisk.sh
@@ -438,6 +438,9 @@ if [ -d $ROOTFS_MNT/etc/udev/ ] ; then
echo "$TARGET_DEVICE" >> $ROOTFS_MNT/etc/udev/mount.blacklist
fi
+# Add startup.nsh script for automated boot
+echo "fs0:\EFI\BOOT\bootx64.efi" > $BOOTFS_MNT/startup.nsh
+
# Call cleanup to unmount devices and images and remove the TMPDIR
cleanup
--
2.6.3.368.gf34be46
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] mkefidisk.sh: add startup script for automated boot
2015-11-28 14:43 [PATCH] mkefidisk.sh: add startup script for automated boot Trevor Woerner
@ 2015-12-31 22:07 ` Trevor Woerner
0 siblings, 0 replies; 2+ messages in thread
From: Trevor Woerner @ 2015-12-31 22:07 UTC (permalink / raw)
To: openembedded-core; +Cc: Paul Eggleton
ping?
On 11/28/15 09:43, Trevor Woerner wrote:
> Regardless of which image is built using which layers, try to ensure the image
> on the SD device being prepared is the one that is booted automatically when
> the board is powered.
>
> Signed-off-by: Trevor Woerner <twoerner@gmail.com>
> ---
> scripts/contrib/mkefidisk.sh | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/scripts/contrib/mkefidisk.sh b/scripts/contrib/mkefidisk.sh
> index 23c18cb..333284f 100755
> --- a/scripts/contrib/mkefidisk.sh
> +++ b/scripts/contrib/mkefidisk.sh
> @@ -438,6 +438,9 @@ if [ -d $ROOTFS_MNT/etc/udev/ ] ; then
> echo "$TARGET_DEVICE" >> $ROOTFS_MNT/etc/udev/mount.blacklist
> fi
>
> +# Add startup.nsh script for automated boot
> +echo "fs0:\EFI\BOOT\bootx64.efi" > $BOOTFS_MNT/startup.nsh
> +
>
> # Call cleanup to unmount devices and images and remove the TMPDIR
> cleanup
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-12-31 22:07 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-11-28 14:43 [PATCH] mkefidisk.sh: add startup script for automated boot Trevor Woerner
2015-12-31 22:07 ` Trevor Woerner
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox