Releases: roswell/qemu-env
ppc-osx-leopard
Can't share distributed things from apple.
Just macports binary things to save time.
find xcode312_2621_developerdvd.dmg from somewhere.
armhf-linux-glibc2.36
status
- Building sbcl is no problem on 2.4.8
to login
- login info
user:user
password:user
What's done for image.
- packages
apt-get update;apt-get upgrade
apt-get install build-essential git autoconf automake libcurl4-openssl-dev
- uname -s
Linux
- uname -m
armv7l
- ldd --version
ldd (Debian GLIBC 2.36-9+rpt2+deb12u8) 2.36
Copyright (C) 2022 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Written by Roland McGrath and Ulrich Drepper.
- gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/arm-linux-gnueabihf/12/lto-wrapper
Target: arm-linux-gnueabihf
Configured with: ../src/configure -v --with-pkgversion='Raspbian 12.2.0-14+rpi1' --with-bugurl=file:///usr/share/doc/gcc-12/README.Bugs --enable-languages=c,ada,c++,go,d,fortran,objc,obj-c++,m2 --prefix=/usr --with-gcc-major-version-only --program-suffix=-12 --program-prefix=arm-linux-gnueabihf- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-libitm --disable-libquadmath --disable-libquadmath-support --enable-plugin --with-system-zlib --enable-libphobos-checking=release --with-target-system-zlib=auto --enable-objc-gc=auto --enable-multiarch --disable-sjlj-exceptions --with-arch=armv6+fp --with-float=hard --disable-werror --enable-checking=release --build=arm-linux-gnueabihf --host=arm-linux-gnueabihf --target=arm-linux-gnueabihf
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 12.2.0 (Raspbian 12.2.0-14+rpi1)
- ros run -- --version
SBCL 2.4.8.roswell
- ros run -e '(format t "
A%" features)' -q
(QUICKLISP QUICKLISP-SUPPORT-HTTPS ASDF3.3 ASDF3.2 ASDF3.1 ASDF3 ASDF2 ASDF
OS-UNIX NON-BASE-CHARS-EXIST-P ASDF-UNICODE ROS.INIT ARM GENCGC ANSI-CL
COMMON-LISP ELF IEEE-FLOATING-POINT LINUX LITTLE-ENDIAN
PACKAGE-LOCAL-NICKNAMES SB-CORE-COMPRESSION SB-LDB SB-PACKAGE-LOCKS SB-UNICODE
SBCL UNIX)
- ldd ~/.roswell/impls/armhf/linux/sbcl-bin/2.4.8/bin/sbcl
linux-vdso.so.1 (0x7eb01000)
/usr/lib/arm-linux-gnueabihf/libarmmem-${PLATFORM}.so => /usr/lib/arm-linux-gnueabihf/libarmmem-v7l.so (0x76f30000)
libdl.so.2 => /lib/arm-linux-gnueabihf/libdl.so.2 (0x76f48000)
libm.so.6 => /lib/arm-linux-gnueabihf/libm.so.6 (0x76ee2000)
libc.so.6 => /lib/arm-linux-gnueabihf/libc.so.6 (0x76d69000)
/lib/ld-linux-armhf.so.3 (0x76f4d000)
ppc-linux-glibc2.19
status
- libcurl's cert is outdated so roswell is not working well. but I could manage binary to put on appropriately. works as launcher at least.
- Building sbcl is no problem on 2.4.8
to login
- login info
user:user
password:user
What's done for image.
- packages
apt-get update;apt-get upgrade
apt-get install build-essential git autoconf automake libcurl4-openssl-dev
installed roswell setup sbcl-bin/2.4.7 manually.
- uname -s
Linux
- uname -m
ppc
- ldd --version
ldd (Ubuntu EGLIBC 2.19-0ubuntu6) 2.19
Copyright (C) 2014 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Written by Roland McGrath and Ulrich Drepper.
- gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/powerpc-linux-gnu/4.8/lto-wrapper
Target: powerpc-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 4.8.2-19ubuntu1' --with-bugurl=file:///usr/share/doc/gcc-4.8/README.Bugs --enable-languages=c,c+
+,java,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.8 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --
enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.8 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --
enable-libstdcxx-time=yes --enable-gnu-unique-object --disable-libmudflap --disable-libitm --disable-libquadmath --enable-plugin --with-system-zlib --disable-bro
wser-plugin --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-4.8-powerpc/jre --enable-java-home --with-jvm-root-dir=/usr/lib
/jvm/java-1.5.0-gcj-4.8-powerpc --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-4.8-powerpc --with-arch-directory=ppc --with-ecj-jar=/usr/share/java/eclip
se-ecj.jar --enable-objc-gc --enable-secureplt --disable-softfloat --with-cpu=default32 --disable-softfloat --enable-targets=powerpc-linux,powerpc64-linux --enab
le-multiarch --disable-werror --with-long-double-128 --enable-checking=release --build=powerpc-linux-gnu --host=powerpc-linux-gnu --target=powerpc-linux-gnu
Thread model: posix
gcc version 4.8.2 (Ubuntu 4.8.2-19ubuntu1)
- ros run -- --version
sbcl 2.4.7.roswell
- ros run -e '(format t "
A%" features)' -q
(QUICKLISP QUICKLISP-SUPPORT-HTTPS ASDF3.3 ASDF3.2 ASDF3.1 ASDF3 ASDF2 ASDF
OS-UNIX NON-BASE-CHARS-EXIST-P ASDF-UNICODE ROS.INIT PPC GENCGC ANSI-CL
BIG-ENDIAN COMMON-LISP ELF IEEE-FLOATING-POINT LINUX PACKAGE-LOCAL-NICKNAMES
SB-CORE-COMPRESSION SB-LDB SB-PACKAGE-LOCKS SB-THREAD SB-UNICODE SBCL UNIX)
- ldd /home/user/.roswell/impls/ppc/linux/sbcl-bin/2.4.7/bin/sbcl
linux-vdso32.so.1 => (0x00100000) libdl.so.2 => /lib/powerpc-linux-gnu/libdl.so.2 (0x0ffdc000) libpthread.so.0 => /lib/powerpc-linux-gnu/libpthread.so.0 (0x0ffa1000) libm.so.6 => /lib/powerpc-linux-gnu/libm.so.6 (0x0fecb000) libc.so.6 => /lib/powerpc-linux-gnu/libc.so.6 (0x0fd2b000) /lib/ld.so.1 (0x20259000)
Makefile
ARCH=ppc
MEM=2048
HDD=hdd.qcow2
HDDSIZE=8G
ISOURL=https://old-releases.ubuntu.com/releases/14.04.3/ubuntu-14.04-server-powerpc.iso
ISO=$(notdir $(ISOURL))
ZURL=https://github.com/snmsts/qemu-env/releases/download/2024.10.05/archive.7z
Z=$(notdir $(ZURL))
help:
install: $(HDD) $(ISO)
qemu-system-$(ARCH) \
-L pc-bios \
-boot d \
-M mac99,via=pmu \
-m $(MEM) \
-hda $(HDD) \
-cdrom $(ISO)
launch:
qemu-system-$(ARCH) \
-L pc-bios \
-boot c \
-prom-env "boot-device=hd:,\yaboot" \
-prom-env "boot-args=conf=hd:,\yaboot.conf" \
-M mac99,via=pmu \
-m $(MEM) \
-hda $(HDD)
$(HDD):
qemu-img create -f qcow2 $@ $(HDDSIZE)
$(ISO):
curl -L -O $(ISOURL)
$(Z):
curl -L -O $(ZURL)
extract: $(Z)
7z x $(Z)
sparc-linux-glibc2.3.6
status
- currently sbcl 1.4.2 and above are broken for this environment.
- libc is old so need to patch for newer sbcl
- gcc and binutils are old so it's difficult to compile newer sbcl.
- libcurl are too old that roswell linked with installed libcurl can't start. so not installed.
- [TBD] find a way to renew toolchain. to build newer sbcl.
to login
- login info
user:user
password:user
root password: root
What's done for image.
- edit /etc/apt/sources.list to be
deb http://archive.debian.org/debian etch main - packages
apt-get update;apt-get upgrade
apt-get install ntpdate bzip2 build-essential
installed https://github.com/roswell/sbcl_bin/releases/download/1.4.1/sbcl-1.4.1-sparc-linux-binary.tar.bz2
- uname -s
Linux
- uname -m
sparc
- ldd --version
ldd (GNU libc) 2.3.6
Copyright (C) 2005 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Written by Roland McGrath and Ulrich Drepper.
- gcc -v
Using built-in specs.
Target: sparc-linux-gnu
Configured with: ../src/configure -v --enable-languages=c,c++,fortran,objc,obj-c++,treelang --prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --enable-nls --program-suffix=-4.1 --enable-__cxa_atexit --enable-clocale=gnu --enable-libstdcxx-debug --enable-mpfr --with-cpu=v8 --enable-checking=release sparc-linux-gnu
Thread model: posix
gcc version 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)
- sbcl --version
SBCL 1.4.1.roswell
- features of /usr/local/bin/sbcl
(:ANSI-CL :BIG-ENDIAN :COMMON-LISP :ELF :GENCGC :IEEE-FLOATING-POINT
:LINKAGE-TABLE :LINUX :OS-PROVIDES-DLADDR :OS-PROVIDES-DLOPEN
:OS-PROVIDES-GETPROTOBY-R :OS-PROVIDES-POLL :OS-PROVIDES-PUTWC
:OS-PROVIDES-SUSECONDS-T :PACKAGE-LOCAL-NICKNAMES :RELOCATABLE-HEAP :SB-DOC
:SB-EVAL :SB-LDB :SB-PACKAGE-LOCKS :SB-SOURCE-LOCATIONS :SB-UNICODE :SBCL
:SPARC :STACK-ALLOCATABLE-CLOSURES :STACK-ALLOCATABLE-LISTS :UNIX)
- ldd /usr/local/bin/sbcl
librt.so.1 => /lib/librt.so.1 (0x5002b000)
libdl.so.2 => /lib/libdl.so.2 (0x5004f000)
libm.so.6 => /lib/libm.so.6 (0x50062000)
libc.so.6 => /lib/libc.so.6 (0x500f3000)
libpthread.so.0 => /lib/libpthread.so.0 (0x50225000)
/lib/ld-linux.so.2 (0x50000000)
Makefile
ARCH=sparc
MEM=1024
HDD=hdd.qcow2
HDDSIZE=8G
ORIG_HDD=debian_etch_sparc_small.qcow2
ISOURL=https://cdimage.debian.org/mirror/cdimage/archive/4.0_r4a/sparc/iso-cd/debian-40r4a-sparc-netinst.iso
ISO=$(notdir $(ISOURL))
ZURL=https://github.com/snmsts/qemu-env/releases/download/2024.10.04/archive.7z
Z=$(notdir $(ZURL))
help:
install: $(HDD) $(ISO)
qemu-system-$(ARCH) \
-M SS-10 \
-m $(MEM) \
-hda $(HDD) -nographic \
-drive file=$(ISO),format=raw,if=scsi,bus=0,unit=2,media=cdrom,readonly=on \
-boot d
launch: $(HDD)
qemu-system-$(ARCH) \
-M SS-10 \
-m $(MEM) \
-hda $(HDD) -nographic
$(HDD):
qemu-img create -f qcow2 $@ $(HDDSIZE)
$(ISO):
curl -L -O $(ISOURL)
$(Z):
curl -L -O $(ZURL)
extract: $(Z)
7z x $(Z)