Re: Fwd: Debian on Linux-SH4
Hi Robert!
On 1/11/22 12:23, Robert Święcki wrote:
> Recently I tried to create a working modern disk image for Linux-SH4.
> There were many problems, but I finally managed to pull it off.
>
> If anyone needs a working Debian (unstable/experimental) + kernel
> 5.15.0 - here're the images/kernels/scripts
You could also create a Debian unstable environment for the sh4 architecture
using debootstrap:
suse-laptop:/tmp # debootstrap --no-check-gpg --arch=sh4 --foreign unstable debian-sh4-root http://ftp.ports.debian.org/debian-ports
I: Retrieving InRelease
I: Retrieving Packages
I: Validating Packages
I: Resolving dependencies of required packages...
(...)
I: Extracting login...
I: Extracting logsave...
I: Extracting mawk...
I: Extracting mount...
I: Extracting ncurses-bin...
I: Extracting passwd...
I: Extracting perl-base...
I: Extracting sed...
I: Extracting sysvinit-utils...
I: Extracting tar...
I: Extracting util-linux...
I: Extracting zlib1g...
suse-laptop:/tmp #
Then run "./debootstrap/debootstrap --second-stage" on the target system.
If your qemu-user is properly set up to use binfmt (which is currently not the case on my
system), you can omit the "--foreign" option and get a ready-to-boot chroot for Debian sh4.
Adrian
--
.''`. John Paul Adrian Glaubitz
: :' : Debian Developer - glaubitz@debian.org
`. `' Freie Universitaet Berlin - glaubitz@physik.fu-berlin.de
`- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913
Reply to: