Skip to content

fngboot: add initial recipe

Mikhail Vanyulin requested to merge kirkston-add-fngboot-recipes into kirkstone

This adds recipes for FNG boot binary, which will be taken from http://support.garz-fricke.com/projects/, renamed, packed with its md5 file into archive and placed in deploy directory and /usr/share directory on rootfs.

Installation script was also added.

FNG System log FLASH-N-GO:/# export URL=192.168.1.7/seco/fngboot;curl tftp://$URL/fng-install-f ngboot.sh | sh -s -- --dry
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 79467 100 79467 0 0 2063k 0 --:--:-- --:--:-- --:--:-- 2063k

== Loading file fngboot.tar.gz ==

== Loading file fngboot.tar.gz finished. ==

DRYRUN Skipping: echo 0

== Writing fngboot.bin to /dev/mmcblk0boot0 ... ==

DRYRUN Skipping: dd if=/dev/zero of=/dev/mmcblk0boot0 bs=1M
DRYRUN Skipping: dd if=fngboot.bin of=/dev/mmcblk0boot0 bs=512 seek=2
DRYRUN Skipping: echo 8
DRYRUN Skipping: echo 1

== Update successful ==

FLASH-N-GO:/# export URL=192.168.1.7/seco/fngboot;curl tftp://$URL/fng-install- fngboot.sh | sh -s --

% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 79604 100 79604 0 0 1725k 0 --:--:-- --:--:-- --:--:-- 1725k

== Loading file fngboot.tar.gz ==

== Loading file fngboot.tar.gz finished. ==

== Writing fngboot.bin to /dev/mmcblk0boot0 ... ==

== Update successful ==

FLASH-N-GO:/# md5sum /dev/mmcblk0boot0
e7a69e4b2af5e0d8620b47aa744ffe60 /dev/mmcblk0boot0
FLASH-N-GO:/#

Linux log root@192:~# export URL=192.168.1.7/seco/fngboot;curl tftp://$URL/fng-install-fngboot.sh | sh -s -- --dry --force
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 79467 100 79467 0 0 301k 0 --:--:-- --:--:-- --:--:-- 315k
100 79467 100 79467 0 0 299k 0 --:--:-- --:--:-- --:--:-- 299k
ERROR: This script can be run from Flash-N-Go System only.

== Loading file fngboot.tar.gz ==

== Loading file fngboot.tar.gz finished. ==

DRYRUN Skipping: echo 0

== Writing fngboot.bin to /dev/mmcblk0boot0 ... ==

DRYRUN Skipping: dd if=/dev/zero of=/dev/mmcblk0boot0 bs=1M
DRYRUN Skipping: dd if=fngboot.bin of=/dev/mmcblk0boot0 bs=512 seek=2
DRYRUN Skipping: mmc bootpart enable 1 1 /dev/mmcblk0
DRYRUN Skipping: echo 1

== Update successful ==

root@192:~# export URL=192.168.1.7/seco/fngboot;curl tftp://$URL/fng-install-fngboot.sh | sh -s -- --force
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 79604 100 79604 0 0 270k 0 --:--:-- --:--:-- --:--:-- 315k
100 79604 100 79604 0 0 268k 0 --:--:-- --:--:-- --:--:-- 268k
ERROR: This script can be run from Flash-N-Go System only.

== Loading file fngboot.tar.gz ==

== Loading file fngboot.tar.gz finished. ==

== Writing fngboot.bin to /dev/mmcblk0boot0 ... ==

== Update successful ==

root@192:~# md5sum /dev/mmcblk0boot0
e7a69e4b2af5e0d8620b47aa744ffe60 /dev/mmcblk0boot0
root@192:~#

Merge request reports