Browse Source

target: removed old proof-of-concept dreamcast target

user/chris/test/arm
Christian Wiese 13 years ago
parent
commit
4a3c894e09
5 changed files with 0 additions and 252 deletions
  1. +0
    -138
      target/dreamcast/DreamBurn.sh
  2. +0
    -16
      target/dreamcast/build.sh
  3. +0
    -14
      target/dreamcast/build_image.sh
  4. +0
    -67
      target/dreamcast/config.in
  5. +0
    -17
      target/dreamcast/parse-config

+ 0
- 138
target/dreamcast/DreamBurn.sh

@ -1,138 +0,0 @@
#!/bin/bash
# --- SDE-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: target/dreamcast/DreamBurn.sh
# Copyright (C) 2008 The OpenSDE Project
# Copyright (C) 2004 - 2006 The T2 SDE Project
#
# More information can be found in the files COPYING and README.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; version 2 of the License. A copy of the
# GNU General Public License can be found in the file COPYING.
# --- SDE-COPYRIGHT-NOTE-END ---
show_usage() {
cat <<EOT
Usage:
$0 <content> <IP.BIN> [ -cdrw ] [-dev <device>] [-genopt <string>] [-burnopt <string>] [-xa <string>]
Burn boot-able discs for the SEGA Dreamcast console using cdrecord.
mandatory parameters:
<content> file or directory containing scrambled executable
<IP.BIN> valid IP header conforming to <content>
options:
-cdrw burn CD-RW (blank PMA, TOC, Pregap first). Note that
the Dreamcast cannot read CD-RWs !
-dev cdrecord device string. Default is "0,0,0"
-genopt additional cdrecord options. Default is ""
-burnopt additional cdrecord options for burning (e.g. speed=8 ).
Default is ""
-xa cdrecord option for CD/XA with form 1 sectors with 2048
bytes per sector. Depending on cdrecord version this is
-xa or -xa1 (consult the manpage !). Default is "-xa"
EOT
exit 1
}
##### default values
cdrw=
dev="0,0,0"
genopt=
burnopt=
xa="-xa"
####################
content=$1
ip=$2
shift ; shift
while [ "$1" ] ; do
case "$1" in
-cdrw) cdrw=" blank=minimal" ; shift ;;
-dev) dev="$2" ; shift ; shift ;;
-genopt) genopt=" $2" ; shift ; shift ;;
-burnopt) burnopt=" $2" ; shift ; shift ;;
-xa) xa="$2" ; shift ; shift ;;
*) echo "Unknown option: $1" ; show_usage ;;
esac
done
[ -e "$content" -a -f "$ip" ] || show_usage;
cdr="cdrecord dev=$dev$genopt"
burnaudio="$cdr$burnopt$cdrw -multi -audio"
info="$cdr -msinfo"
burndata="$cdr$burnopt -multi $xa"
cat <<EOT
cdrecord calls to be executed:
# $burnaudio (FILE)
# $info
# $burndata (FILE)
EOT
echo -n "Proceed ? [Y/n] "
read confirm;
[ -z "$confirm" -o "$confirm" == "y" -o "$confirm" == "Y" ] || exit 0;
audiofile=`mktemp -t audio.raw.XXXXXX`
datafile=`mktemp -t data.raw.XXXXXX`
isofile=`mktemp -t data.iso.XXXXXX`
echo "Creating bogus audio track."
dd if=/dev/zero bs=2352 count=300 of=$audiofile 2>/dev/null
echo
echo
echo "Burning...."
cmd="$burnaudio $audiofile"
echo "$cmd"
eval "$cmd"
echo
echo
echo "Geting multisession status:"
echo "$info"
status=`eval "$info"`
echo "--> $status"
echo
echo
echo "Creating image."
mkisofs -l -C $status -o $isofile $content
echo "Inserting $ip."
( cat $ip ; dd if=$isofile bs=2048 skip=16 ) > $datafile
echo
echo
echo "Burning..."
cmd="$burndata $datafile"
echo "$cmd"
eval "$cmd"
echo
echo
echo "Cleaning up."
rm -f $audiofile $isofile $datafile
echo "Done."

+ 0
- 16
target/dreamcast/build.sh

@ -1,16 +0,0 @@
# --- T2-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# T2 SDE: target/dreamcast/build.sh
# Copyright (C) 2004 - 2006 The T2 SDE Project
#
# More information can be found in the files COPYING and README.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; version 2 of the License. A copy of the
# GNU General Public License can be found in the file COPYING.
# --- T2-COPYRIGHT-NOTE-END ---
. target/embedded/build.sh

+ 0
- 14
target/dreamcast/build_image.sh

@ -1,14 +0,0 @@
# --- T2-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# T2 SDE: target/dreamcast/build_image.sh
# Copyright (C) 2004 - 2006 The T2 SDE Project
#
# More information can be found in the files COPYING and README.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; version 2 of the License. A copy of the
# GNU General Public License can be found in the file COPYING.
# --- T2-COPYRIGHT-NOTE-END ---
# TODO !!!

+ 0
- 67
target/dreamcast/config.in

@ -1,67 +0,0 @@
# --- T2-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# T2 SDE: target/dreamcast/config.in
# Copyright (C) 2004 - 2006 The T2 SDE Project
#
# More information can be found in the files COPYING and README.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; version 2 of the License. A copy of the
# GNU General Public License can be found in the file COPYING.
# --- T2-COPYRIGHT-NOTE-END ---
#Description: Sega Dreamcast console
pkgfilter sed '
# mangle all packages to only build them in the cross stage (1)
s,^. \(.\)[^ ]*,X \11--------,;
# select some packages (and repositories) explicitely
/ fhs / { p; d; };
/ linux-header / { p; d; };
/ binutils / { s,^. [^ ]*,X 0---------,; p; d; }
/ gcc / { s,^. [^ ]*,X 0---------,; p; d; }
/ uclibc / { p; d; };
/ linux26sh / { p; d; };
/ minit / { p; d; };
/ fgetty / { p; d; };
/ libowfat / { p; d; };
/ busybox / { p; d; };
/ zlib / { p; d; };
/ ncurses / { p; d; };
# / iptables / { p; d; };
/ dropbear / { p; d; };
/ rsync / { p; d; };
# / gpm / { p; d; };
/ strace / { p; d; };
# disable the rest
/.*/ { s/^X /O / ; p; d; };'
SDECFGSET_PKGFILE_TYPE='none'
SDECFGSET_PKGFILE_VER=0
SDECFGSET_LIBC='uclibc'
SDECFGSET_DIETLIBC_DYN=0
# SDECFGSET_STATIC=0
SDECFGSET_INIT='minit'
SDECFGSET_OPT='size'
SDECFGSET_DO_REBUILD_STAGE=0
SDECFGSET_DISABLE_NLS=1
SDECFGSET_PKG_BUSYBOX_SYMLINKS=1

+ 0
- 17
target/dreamcast/parse-config

@ -1,17 +0,0 @@
# --- T2-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# T2 SDE: target/dreamcast/parse-config
# Copyright (C) 2004 - 2006 The T2 SDE Project
#
# More information can be found in the files COPYING and README.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; version 2 of the License. A copy of the
# GNU General Public License can be found in the file COPYING.
# --- T2-COPYRIGHT-NOTE-END ---
install_init() {
true
}

Loading…
Cancel
Save