Author Topic: AROS hosted (on pi)  (Read 76 times)

origami

  • Newbie
  • *
  • Posts: 2
    • View Profile
AROS hosted (on pi)
« on: November 08, 2018, 10:32:49 PM »
Hi,

As a replication from old aros-exec forums:

Code: [Select]
# $VER: gimmearospi-v1.sh 0.02 (rip from mazze's gimmearos-v1.sh)
 
curdir="`pwd`"
srcdir="aros-src"
portsdir="$HOME/aros-ports-src"
tooldir="$HOME/aros-toolchain"
makeopts="-j3 -s"
configopts="--with-binutils-version=2.25 --with-gcc-version=6.3.0 --disable-sdl-hidd --with-portssources="$portsdir""
 
 
cd "$curdir"
mkdir -p "$portsdir"
mkdir -p aros-linux-armhf
cd aros-linux-armhf
"../$srcdir/configure" $configopts --target=linux-armhf --with-aros-toolchain-install="$tooldir"-armhf --with-aros-toolchain=yes
 
cd "$curdir"
cd aros-linux-armhf
make $makeopts

which produces:
Code: [Select]
Creating   AROS/Developer/lib/libstdc.static.a...
Generating support files for module version
Makedepend bin/linux-arm/gen/workbench/libs/version/version/linklib/version_getlibbase.c...
Makedepend bin/linux-arm/gen/workbench/libs/version/version/linklib/version_autoinit.c...
Makedepend bin/linux-arm/gen/workbench/libs/version/version/version_end.c...
Makedepend bin/linux-arm/gen/workbench/libs/version/version/version_start.c...
Compiling  /home/pi/installv1/aros-src/compiler/libinit/libentry.c
Compiling  bin/linux-arm/gen/workbench/libs/version/version/version_start.c
Compiling  bin/linux-arm/gen/workbench/libs/version/version/version_end.c
Compiling  bin/linux-arm/gen/workbench/libs/version/version/linklib/version_autoinit.c
Compiling  bin/linux-arm/gen/workbench/libs/version/version/linklib/version_getlibbase.c
Creating   AROS/Developer/lib/libversion.a...
Building   AROS/Libs/version.library ...
Makedepend developer/debug/test/runtests.c...
Compiling  developer/debug/test/runtests.c
Linking    AROS/Developer/Debug/Tests/runtests...
Generating AROS/Developer/fd/linuxfbgfx_lib.fd
Generating gen/arch/all-linux/hidd/linuxfb/linuxfbgfx/include/linuxfbgfx_libdefs.h
Generating /home/pi/installv1/aros-linux-armhf/bin/linux-arm/gen/arch/all-linux/hidd/linuxfb/linuxfbgfx/include/linuxfbgfx_deflibdefs.h
Generating support files for module linuxfbgfx
Makedepend arch/all-linux/hidd/linuxfb/linuxfbgfx_bitmapclass.c...
Makedepend arch/all-linux/hidd/linuxfb/linuxfbgfx_hiddclass.c...
Makedepend arch/all-linux/hidd/linuxfb/linuxfbgfx_init.c...
Makedepend arch/all-linux/hidd/linuxfb/linuxfbgfx_startup.c...
Makedepend bin/linux-arm/gen/arch/all-linux/hidd/linuxfb/linuxfbgfx/linuxfbgfx_end.c...
Makedepend bin/linux-arm/gen/arch/all-linux/hidd/linuxfb/linuxfbgfx/linuxfbgfx_start.c...
Compiling  bin/linux-arm/gen/arch/all-linux/hidd/linuxfb/linuxfbgfx/linuxfbgfx_start.c
Compiling  arch/all-linux/hidd/linuxfb/linuxfbgfx_startup.c
Compiling  arch/all-linux/hidd/linuxfb/linuxfbgfx_init.c
Compiling  arch/all-linux/hidd/linuxfb/linuxfbgfx_hiddclass.c
Compiling  arch/all-linux/hidd/linuxfb/linuxfbgfx_bitmapclass.c
Compiling  bin/linux-arm/gen/arch/all-linux/hidd/linuxfb/linuxfbgfx/linuxfbgfx_end.c
Building   AROS/boot/linux/Devs/Drivers/linuxfbgfx.hidd ...
Generating AROS/Developer/fd/linuxinput_lib.fd
Generating gen/arch/all-linux/hidd/linuxinput/linuxinput/include/linuxinput_libdefs.h
Generating /home/pi/installv1/aros-linux-armhf/bin/linux-arm/gen/arch/all-linux/hidd/linuxinput/linuxinput/include/linuxinput_deflibdefs.h
Generating support files for module linuxinput
Makedepend arch/all-linux/hidd/linuxinput/kbdclass.c...
Makedepend arch/all-linux/hidd/linuxinput/mouseclass.c...
Makedepend arch/all-linux/hidd/linuxinput/linuxinput_inputtask.c...
Makedepend arch/all-linux/hidd/linuxinput/startup.c...
Makedepend arch/all-linux/hidd/linuxinput/linuxinput_init.c...
Makedepend bin/linux-arm/gen/arch/all-linux/hidd/linuxinput/linuxinput/linuxinput_end.c...
Makedepend bin/linux-arm/gen/arch/all-linux/hidd/linuxinput/linuxinput/linuxinput_start.c...
Compiling  bin/linux-arm/gen/arch/all-linux/hidd/linuxinput/linuxinput/linuxinput_start.c
Compiling  arch/all-linux/hidd/linuxinput/linuxinput_init.c
Compiling  arch/all-linux/hidd/linuxinput/startup.c
Compiling  arch/all-linux/hidd/linuxinput/linuxinput_inputtask.c
Compiling  arch/all-linux/hidd/linuxinput/mouseclass.c
Compiling  arch/all-linux/hidd/linuxinput/kbdclass.c
Compiling  bin/linux-arm/gen/arch/all-linux/hidd/linuxinput/linuxinput/linuxinput_end.c
Building   AROS/boot/linux/Devs/Drivers/linuxinput.hidd ...
There are undefined symbols in '/home/pi/installv1/aros-linux-armhf/bin/linux-arm/AROS/boot/linux/Devs/Drivers/linuxinput.hidd':
         U memset    getdatastreamfromformat.c:0
/home/pi/aros-toolchain-armhf/arm-aros-gcc --sysroot /home/pi/installv1/aros-linux-armhf/bin/linux-arm/AROS/Developer -nostartfiles -Wl,-Map -Xlinker /home/pi/installv1/aros-linux-armhf/bin/linux-arm/gen/arch/all-linux/hidd/linuxinput/linuxinput/.map /home/pi/installv1/aros-linux-armhf/bin/linux-arm/gen/compiler/libinit/libentry.o /home/pi/installv1/aros-linux-armhf/bin/linux-arm/gen/arch/all-linux/hidd/linuxinput/linuxinput/linuxinput_start.o  /home/pi/installv1/aros-linux-armhf/bin/linux-arm/gen/arch/all-linux/hidd/linuxinput/linuxinput/linuxinput_init.o /home/pi/installv1/aros-linux-armhf/bin/linux-arm/gen/arch/all-linux/hidd/linuxinput/linuxinput/startup.o /home/pi/installv1/aros-linux-armhf/bin/linux-arm/gen/arch/all-linux/hidd/linuxinput/linuxinput/linuxinput_inputtask.o /home/pi/installv1/aros-linux-armhf/bin/linux-arm/gen/arch/all-linux/hidd/linuxinput/linuxinput/mouseclass.o /home/pi/installv1/aros-linux-armhf/bin/linux-arm/gen/arch/all-linux/hidd/linuxinput/linuxinput/kbdclass.o      /home/pi/installv1/aros-linux-armhf/bin/linux-arm/gen/arch/all-linux/hidd/linuxinput/linuxinput/linuxinput_end.o -o /home/pi/installv1/aros-linux-armhf/bin/linux-arm/AROS/boot/linux/Devs/Drivers/linuxinput.hidd
mmakefile:1257: recipe for target '/home/pi/installv1/aros-linux-armhf/bin/linux-arm/AROS/boot/linux/Devs/Drivers/linuxinput.hidd' failed
make[1]: *** [/home/pi/installv1/aros-linux-armhf/bin/linux-arm/AROS/boot/linux/Devs/Drivers/linuxinput.hidd] Error 1
[MMAKE] Error: Error while running make in arch/all-linux/hidd/linuxinput: No such file or directory
 
[MMAKE] Collecting targets...
[MMAKE] make --no-print-directory TOP=/home/pi/installv1/aros-linux-armhf SRCDIR=/home/pi/installv1/aros-src CURDIR=arch/all-linux/hidd/linuxinput TARGET=kernel-hidd-linuxinput -s --file=mmakefile kernel-hidd-linuxinput failed: 512
Makefile:95: recipe for target 'all' failed
make: *** [all] Error 10 

The above is an attempt to build V1 for pi because i am having issues using the v0 branch.

background:

Not using x, i wanted to run AROS. Using the hidds linuxinput & linuxfb that works splendid except for one minor detail in tha everything typed into AROS is also directed/executed in the terminal it was launched from, so you really do not want to type "rm -Rf" in an aros shell ::). Besides that, the framebuffer AROS-i-fies every individual terminal when switched.

So, opting for SDL that seems to work perfectly... except for the issue that when you try to exit AROS (using the menu) it completely freezes up the host (hard reset required).

So... how do other people get by running hosted on a pi (or any other linux running hw for that matter) without X ?
« Last Edit: November 09, 2018, 04:27:01 AM by origami »