mmuman / starboard-lsadrv Goto Github PK
View Code? Open in Web Editor NEW(Hopefully) Fixed version of the Hitachi StarBoard kernel driver for Linux (lsadrv)
License: GNU General Public License v3.0
(Hopefully) Fixed version of the Hitachi StarBoard kernel driver for Linux (lsadrv)
License: GNU General Public License v3.0
François, are these instructions still working for a new kernels/distros?
I have this error while I'm doing "make":
ls
fakemouse.c lsadrv-ioctl.c lsadrv-main.c lsadrv-vkey.h
fakemouse.h lsadrv-ioctl.h lsadrv-sub.c Makefile
lsadrv.h lsadrv-isoc.c lsadrv-vkey.c
usuario@abalar6:~/hitachi/starboard-lsadrv/lsadrv$ sudo make
mkdir -p 3.16.0-4-686-pae
make -C M=/home/usuario/hitachi/starboard-lsadrv/lsadrv V=1 modules
make -C M=`pwd` V=1 modules
make[1]: *** M=/home/usuario/hitachi/starboard-lsadrv/lsadrv: Non hai tal ficheiro ou directorio. Detido.
Makefile:40: recipe for target '3.16.0-4-686-pae/lsadrv.ko' failed
make: *** [3.16.0-4-686-pae/lsadrv.ko] Error 2
usuario@abalar6:~/hitachi/starboard-lsadrv/lsadrv$
Could you help me?
Hi, I don't want to install the Hitachi software, I just want to install the driver. It's possible?
Hi, I found this link is down: http://starboard.hitachi-software.co.uk/SoftwareDownload/download/Linux/SBS0942_LINUX.zip
Can I use this instead?: http://www.charmexdocs.com/int/software/SBS0962_LINUX.zip
make
mkdir -p 4.15.0-54-generic
make -C /lib/modules/4.15.0-54-generic/build M=/home/mano/starboard-lsadrv/lsadrv V=1 modules
make -C /lib/modules/4.15.0-54-generic/build M=pwd
V=1 modules
make[1]: ingresso nella directory "/usr/src/linux-headers-4.15.0-54-generic"
Makefile:976: "Cannot use CONFIG_STACK_VALIDATION=y, please install libelf-dev, libelf-devel or elfutils-libelf-devel"
test -e include/generated/autoconf.h -a -e include/config/auto.conf || (
echo >&2;
echo >&2 " ERROR: Kernel configuration is invalid.";
echo >&2 " include/generated/autoconf.h or include/config/auto.conf are missing.";
echo >&2 " Run 'make oldconfig && make prepare' on kernel src to fix it.";
echo >&2 ;
/bin/false)
mkdir -p /home/mano/starboard-lsadrv/lsadrv/.tmp_versions ; rm -f /home/mano/starboard-lsadrv/lsadrv/.tmp_versions/*
make -f ./scripts/Makefile.build obj=/home/mano/starboard-lsadrv/lsadrv
gcc -Wp,-MD,/home/mano/starboard-lsadrv/lsadrv/.lsadrv-main.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/7/include -I./arch/x86/include -I./arch/x86/include/generated -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/kconfig.h -Iubuntu/include -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -fno-PIE -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -DCONFIG_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_AVX512=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-int-in-bool-context -O2 --param=allow-store-data-races=0 -DCC_HAVE_ASM_GOTO -Wframe-larger-than=1024 -fstack-protector-strong -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignments -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -DMODULE -DKBUILD_BASENAME='"lsadrv_main"' -DKBUILD_MODNAME='"lsadrv"' -c -o /home/mano/starboard-lsadrv/lsadrv/lsadrv-main.o /home/mano/starboard-lsadrv/lsadrv/lsadrv-main.c
In file included from /home/mano/starboard-lsadrv/lsadrv/lsadrv-main.c:38:0:
/home/mano/starboard-lsadrv/lsadrv/lsadrv.h:155:50: error: unknown type name ‘wait_queue_t’; did you mean ‘wait_event’?
void lsadrv_add_wait_queue(wait_queue_head_t *q, wait_queue_t *wait);
^~~~~~~~~~~~
wait_event
/home/mano/starboard-lsadrv/lsadrv/lsadrv.h:156:53: error: unknown type name ‘wait_queue_t’; did you mean ‘wait_event’?
void lsadrv_remove_wait_queue(wait_queue_head_t *q, wait_queue_t *wait);
^~~~~~~~~~~~
wait_event
scripts/Makefile.build:330: recipe for target '/home/mano/starboard-lsadrv/lsadrv/lsadrv-main.o' failed
make[2]: *** [/home/mano/starboard-lsadrv/lsadrv/lsadrv-main.o] Error 1
Makefile:1552: recipe for target 'module/home/mano/starboard-lsadrv/lsadrv' failed
make[1]: *** [module/home/mano/starboard-lsadrv/lsadrv] Error 2
make[1]: uscita dalla directory "/usr/src/linux-headers-4.15.0-54-generic"
Makefile:40: recipe for target '4.15.0-54-generic/lsadrv.ko' failed
make: *** [4.15.0-54-generic/lsadrv.ko] Error 2
What is module coach used for? Is it important?
Please, update driver for AltLinux p8 64 bit. Our school work with hitachi starboards and this fact stop integrate Linux in school :-(
Now it not work on p7 64 and p8 64
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.