mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-08-02 05:33:57 -09:00
Bootstrap the installation of Mellanox/NVIDIA Bluefield scripts that can be run either on the host CPU or on the onboard ARM64 CPU. Signed-off-by: Vincent Jardin <vjardin@free.fr> Reviewed-by: Julien Olivain <ju.o@free.fr> Signed-off-by: Julien Olivain <ju.o@free.fr>
21 lines
301 B
Bash
21 lines
301 B
Bash
#!/bin/sh
|
|
#
|
|
# notify to the root PCIe (/dev/rshimN/misc) that Linux is up
|
|
# and that BF3 board is ready
|
|
|
|
DAEMON="bfup"
|
|
|
|
case "$1" in
|
|
start)
|
|
printf "bfup: "
|
|
/usr/bin/$DAEMON
|
|
exit_code=$?
|
|
[ $exit_code = 0 ] && echo "OK" || echo "FAIL"
|
|
;;
|
|
*)
|
|
echo "Usage: $0 {start}"
|
|
exit 1
|
|
esac
|
|
|
|
exit $?
|