linux and tools for LANDISK(SH4)
をテンプレートにして作成
[
トップ
] [
新規
|
一覧
|
単語検索
|
最終更新
|
ヘルプ
]
開始行:
**Target Hardware [#ee261502]
-IO-DATA LANDISK Series~
This project's goal is to turn the IO-Data Network Attach...
--JP model [[HDL-U Series:http://www.iodata.jp/prod/stora...
--US model [[UHDL-160U:http://www.iodata.com/products/pro...
--EU model (OEM) [[PX-EH25L:http://www.plextor-europe.com...
--Storage-less model(compact flash media (Micro Drive) mo...
-Specification
--Processor: SH4 266MHz(SH7751R)
--Interface: 2 channels USB 2.0
--Storage Capacity: HDD 160GB (HDL-160U), 250GB, 300GB, 4...
--Network Interface: 100BASE-TX/10BASE-T
-
~
The device comes with a Linux 2.4 inside. There is the p...
**Linux Kernel [#oacd9821]
The original OS is linux-sh-2.4.21 . A new version linux...
The sourcecode for LANDISK target available [[here:http:/...
**debian26 userland for SH4[#r3142136]
-What is debian26~
We are calling this userland debian26 in locals.~
--debian etch at &color(red){Nov 2005};
--compiled by gcc-4.0.2
--The linuxSH kernel 2.6 image is included.
--Xorg-X11 with USB2VGAs Support for connecting VGA displ...
--About 1900 debian packages compiled for SH4 can be used.~
~
LEFT:
|120|300|200|c
|~ | Archive | Remarks |h
|base(etch) | [[ base26-sh4-20070709-etch.tgz:http://egg...
|kernel source | [[linux-2.6.22-landisk:http://eggplant.d...
-base26-sh4-xxxxxxxx-etch.tgz archive contains the follow...
#pre{{
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-confi...
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Stat...
||/ Name Version Description
+++-===================-===================-=============...
ii adduser 3.77 Add and remov...
ii apt 0.6.42.1 Advanced fron...
ii apt-utils 0.6.42.1 APT utility p...
ii aptitude 0.2.15.9-7 terminal-base...
ii at 3.1.9 Delayed job e...
ii base-config 2.73 Debian base s...
ii base-files 3.1.9 Debian base s...
ii base-passwd 3.5.10 Debian base s...
ii bash 3.0-17 The GNU Bourn...
ii bsdmainutils 6.1.2 collection of...
ii bsdutils 2.12p-8 Basic utiliti...
ii console-common 0.7.54 Basic infrast...
ii console-data 2002.12.04dbs-49 Keymaps, font...
ii console-tools 0.2.3dbs-57 Linux console...
ii coreutils 5.2.1-2.1 The GNU core ...
ii cpio 2.6-9 GNU cpio -- a...
ii cron 3.0pl1-91 management of...
ii debconf 1.4.58 Debian config...
ii debconf-i18n 1.4.58 full internat...
ii debianutils 2.15 Miscellaneous...
ii dhcp-client 2.0pl5-19.1 DHCP Client
ii diff 2.8.1-11 File comparis...
ii dpkg 1.13.11 package maint...
ii dselect 1.13.11 user tool to ...
ii e2fslibs 1.38-2 ext2 filesyst...
ii e2fsprogs 1.38-2 ext2 file sys...
ii ed 0.2-20 The classic u...
ii exim4 4.54-1 metapackage t...
ii exim4-base 4.54-1 support files...
ii exim4-config 4.54-1 configuration...
ii exim4-daemon-light 4.54-1 lightweight e...
ii findutils 4.2.25-1 utilities for...
&color(red){ii gcc-4.0-base 4.0.2-2 T...
ii gettext-base 0.14.5-2 GNU Internati...
ii gnupg 1.4.1-1 GNU privacy g...
ii grep 2.5.1.ds2-2 GNU grep, egr...
ii groff-base 1.18.1.1-10 GNU troff tex...
ii gzip 1.3.5-12 The GNU compr...
ii hostname 2.91 utility to se...
ii ifupdown 0.6.7 high level to...
ii info 4.8-1 Standalone GN...
ii initscripts 2.86.ds1-4 Standard scri...
ii iptables 1.3.3-2 Linux kernel ...
ii iputils-ping 20020927-3 Tools to test...
&color(red){ii kernel-image-2.6.22 custom.0.0 L...
&color(red){ii kexec-tools 1.101-2sh k...
ii klogd 1.4.1-17 Kernel Loggin...
ii laptop-detect 0.12.1 attempt to de...
ii libacl1 2.2.32-1 Access contro...
ii libattr1 2.4.25-1 Extended attr...
ii libblkid1 1.38-2 block device ...
ii libbz2-1.0 1.0.2-10 high-quality ...
&color(red){ii libc6 2.3.5-8 G...
ii libcap1 1.10-14 support for g...
ii libcomerr2 1.38-2 common error ...
ii libconsole 0.2.3dbs-57 Shared librar...
ii libdb2 2.7.7.0-10 The Berkeley ...
ii libdb3 3.2.9-22 Berkeley v3 D...
ii libdb4.2 4.2.52-18 Berkeley v4.2...
ii libdb4.3 4.3.28-2 Berkeley v4.3...
ii libgcc1 4.0.2-2 GCC support l...
ii libgcrypt11 1.2.2-1 LGPL Crypto l...
ii libgdbm3 1.8.3-2 GNU dbm datab...
ii libgnutls11 1.0.16-14 GNU TLS libra...
ii libgpg-error0 1.1-4 library for c...
ii libident 0.22-3 simple RFC141...
ii libkrb53 1.3.6-5 MIT Kerberos ...
ii libldap2 2.1.30-12 OpenLDAP libr...
ii liblocale-gettext-p 1.05-1 Using libc fu...
ii liblockfile1 1.06 NFS-safe lock...
ii liblzo1 1.08-2 data compress...
ii libncurses5 5.4-9 Shared librar...
ii libncursesw5 5.4-9 Shared librar...
ii libnewt0.51 0.51.6-31 Not Erik's Wi...
ii libopencdk8 0.5.7-2 Open Crypto D...
ii libpam-modules 0.79-3 Pluggable Aut...
ii libpam-runtime 0.79-3 Runtime suppo...
ii libpam0g 0.79-3 Pluggable Aut...
ii libpcre3 6.4-1 Perl 5 Compat...
ii libpopt0 1.7-5 lib for parsi...
ii libreadline5 5.0-11 GNU readline ...
ii libsasl2 2.1.19-1.7 Authenticatio...
ii libsasl2-modules 2.1.19-1.7 Pluggable Aut...
ii libselinux1 1.30.28-1 SELinux share...
ii libsepol1 1.12.26-2 Security Enha...
ii libsigc++-1.2-5c2 1.2.5-5 type-safe Sig...
ii libslang2 2.0.4-7 The S-Lang pr...
ii libss2 1.38-2 command-line ...
ii libssl0.9.7 0.9.7g-5 SSL shared li...
ii libssl0.9.8 0.9.8a-3 SSL shared li...
ii libstdc++6 4.0.2-2 The GNU Stand...
ii libtasn1-2 0.2.13-1 Manage ASN.1 ...
ii libtext-charwidth-p 0.04-3 get display w...
ii libtext-iconv-perl 1.4-2 converts betw...
ii libtext-wrapi18n-pe 0.06-4 international...
ii libtextwrap1 0.1-3 text-wrapping...
ii libusb-0.1-4 0.1.10a-21 userspace USB...
ii libuuid1 1.38-2 universally u...
ii libvolume-id0 0.105-4 libvolume_id ...
ii libwrap0 7.6.dbs-8 Wietse Venema...
ii login 4.0.13-1 system login ...
ii logrotate 3.7.1-2 Log rotation ...
ii lsb-base 3.0-11 Linux Standar...
ii mailx 8.1.2-0.20050715cvs A simple mail...
ii makedev 2.3.1-83 creates devic...
ii man-db 2.4.3-3 The on-line m...
ii manpages 2.02-2 Manual pages ...
ii mawk 1.3.3-11 a pattern sca...
ii module-init-tools 3.3-pre4-2 tools for man...
ii modutils 2.4.27.0-3 Linux module ...
ii mount 2.12p-8 Tools for mou...
ii nano 1.3.8-2 free Pico clo...
ii ncurses-base 5.4-9 Descriptions ...
ii ncurses-bin 5.4-9 Terminal-rela...
ii net-tools 1.60-16 The NET-3 net...
ii netbase 4.23 Basic TCP/IP ...
ii netkit-inetd 0.10-10.2 The Internet ...
ii nvi 1.79-22 4.4BSD re-imp...
ii passwd 4.0.13-1 change and ad...
ii perl-base 5.8.7-7 The Pathologi...
ii procps 3.2.5-1 /proc file sy...
ii psmisc 21.6-1 Utilities tha...
ii readline-common 5.0-11 GNU readline ...
ii reiserfsprogs 3.6.19-1 User-level to...
ii sasl2-bin 2.1.19-1.7 Programs for ...
ii sed 4.1.2-8 The GNU sed s...
ii slang1a-utf8 1.4.9dbs-8 The S-Lang pr...
ii sysklogd 1.4.1-17 System Loggin...
ii sysv-rc 2.86.ds1-4 Standard boot...
ii sysvinit 2.86.ds1-4 System-V like...
ii tar 1.15.1-2 GNU tar
ii tasksel 2.32 Tool for sele...
ii tcpd 7.6.dbs-8 Wietse Venema...
ii telnetd 0.17-32 The telnet se...
&color(red){ii udev 0.105-4 /...
ii util-linux 2.12p-8 Miscellaneous...
ii wget 1.10.2-1 retrieves fil...
ii whiptail 0.51.6-31 Displays user...
ii zlib1g 1.2.3-4 compression l...
}}
**How to setup debian26 [#ce0dfb72]
-Adding telnetd to the original system
--IP address is set from the menu of LANDISK.(Password is...
--A new user "landisk" is made from the menu of LANDISK.
--Next, download [[landisk_telnetd_v2.0.zip:http://landis...
--It is unzipped and update.tgz is retrieved.
--Update the firmware by specifying update.tgz in the men...
--After reboot, you can telnet into the device:
---Open a telnetsession, connect to the Landisk IP (port ...
---User account is landisk, password is "landisk".
---To become root, "sudo su" is executed. (root password ...
---To write it in rootfs, "mount -o rw,remount /" is exec...
-Debian26 is constructed to /dev/hda3.
--Install debian26 base system.
#pre{{
# cd /mnt/hda3
# tar vxfz&color(red){p}; base26-sh4-xxxxxxxx-etch.tgz
# mv debian26/* .
# rm -rf debian26
}}
--Some files need to be corrected. (Following is an examp...
---/mnt/hda3/etc/hosts~
#pre{{
127.0.0.1 localhost
&color(red){192.168.1.81}; landisk
}}
---/mnt/hda3/etc/hostname~
#pre{{
landisk
}}
---/mnt/hda3/etc/resolv.conf~
#pre{{
nameserver &color(red){192.168.1.1}; &color(green){( <- ...
}}
---/mnt/hda3/etc/network/interfaces~
#pre{{
# Used by ifup(8) and ifdown(8). See the interfaces(5) ma...
# /usr/share/doc/ifupdown/examples for more information.
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
address &color(red){192.168.1.81};
netmask &color(red){255.255.255.0};
gateway &color(red){192.168.1.1};
}}
---/mnt/hda3/etc/hosts.allow
#pre{{
ALL : &color(red){127.0.0.1 192.168.1. 192.168.0.};
}}
---/mnt/hda3/etc/fstab
#pre{{
# UNCONFIGURED FSTAB FOR BASE SYSTEM
#/dev/sda4 / reiserfs defaults 0 1
/dev/sda3 / ext2 defaults 0 &col...
none /proc proc defaults 0 0
/dev/sda2 swap swap defaults 0 0
}}
-Setup boot-loader lilo-sh
--copy some files from debian26(/dev/hda3) to /dev/hda1
#pre{{
# mount -o rw,remount /
# cp /mnt/hda3/boot/vmlinuz-2.6.22-landisk /boot
# cp /mnt/hda3/boot/boot.b-selk /boot
}}
--/etc/lilo.conf - dual boot setting between original env...
#pre{{
linear
boot=/dev/hda
disk=/dev/hda
bios=0x80
timeout=50
&color(red){install=/boot/boot.b-selk};
&color(red){map=/boot/map};
default=&color(red){debian26};
image=/boot/zImage
label=linux
root=/dev/hda1
read-only
&color(red){ append="mem=64M console=ttySC1,9600 r...
&color(red){image=/boot/vmlinuz-2.6.22-landisk};
&color(red){ label=debian26};
&color(red){ root=/dev/sda3};
&color(red){ read-only};
&color(red){ append="mem=64M console=ttySC1,9600 r...
}}
--Setup lilo~
#pre{{
# /mnt/hda3/sbin/lilo
Added debian26 *
Added linux
}}
--reboot
#pre{{
# /home/LANDISK/scripts/powerctrl.sh reboot
}}
-Login can be done by the telnet.
#pre{{
Debian GNU/Linux testing/unstable
landisk login: &color(red){landisk};
Password: &color(red){landisk};
Last login: Mon Nov 21 22:33:18 2005 from 192.168.1.2 on ...
Linux landisk 2.6.14-sh #1 Sat Nov 12 00:03:54 JST 2005 s...
The programs included with the Debian GNU/Linux system ar...
the exact distribution terms for each program are describ...
individual files in /usr/share/doc/*/copyright.
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to th...
permitted by applicable law.
landisk@landisk:~$ &color(red){su};
Password: &color(red){landisk};
landisk:/home/landisk#
}}
-How to boot from original system : ~
If you switch on the device, it will boot Debian from now...
However, there is still a way to boot the original linux ...
--turn off the power.
--power button ON, and quickly (max 5 seconds) power butt...
--wait a 10 second.
--power button ON
** Additional setup [#x0deecf9]
-apt-get
#pre{{
landisk:/# apt-get update
landisk:/# apt-get remove gpgv-udeb
landisk:/# apt-get install gnupg
landisk:/# wget http://ftp-master.debian.org/ziyi_key_200...
landisk:/# apt-key add ziyi_key_2006.asc
landisk:/# apt-get update
landisk:/# apt-get upgrade
}}
-gcc-4.0,g++-4.0,gcc-3.4,g++-3.4,etc
#pre{{
landisk:/# apt-get install dpkg-dev binutils gcc g++ make...
landisk:/# apt-get install gcc-3.4 g++-3.4
}}
-Xorg-X11
#pre{{
landisk:/# apt-get install x-window-system vncserver wdm
}}
--etc/X11/wdm/Xservers (If you use not USB2VGA dongle but...
#pre{{
#:0 local /usr/bin/X11/X -nolisten TCP
:0 local /usr/bin/Xrealvnc -geometry 1024x768 -depth 16
}}
--start wdm
#pre{{
landisk:/# /etc/init.d/wdm restart
Starting WINGs display manager: wdm.
}}
**Additional packages and source[#jf9d96fd]
The following apt-line can be used.
#pre{{
deb http://eggplant.ddo.jp/www/download/debian26 etch main
}}
source : http://eggplant.ddo.jp/www/download/debian26/sou...
**Screenshot [#m873c6b0]
From VNC client.~
&ref(landisk_vnc.jpg,nolink);~
~
**linux workstation [#v5cdfa3b]
&ref(サインはVGAをつなげてみた/usb2vga3.png,nolink);
&ref(サインはVGAをつなげてみた/usb2vga4.png,nolink);
-Hardware~
LANDISK (HDL-160U)~
USB keyboard with USB HUB~
USB mouse~
USB2VGA dongle ( http://www.winischhofer.at/linuxsisusbvg...
display~
-Software~
linux-2.6.14-sh~
debian26~
Xorg-X11(custum Ver.)~
**Appendix - How to Self-build Kernel [#nb1b7bf1]
-setup
#pre{{
landisk:~# mkdir kernel
landisk:~# cd kernel
landisk:~/kernel# tar vxfz linux-2.6.14-sh-landisk.0.3.tgz
}}
-build
#pre{{
landisk:~/kernel# cd linux-2.6.14.3
landisk:~/kernel/linux-2.6.14.3# cp arch/sh/configs/landi...
landisk:~/kernel/linux-2.6.14.3# make menuconfig
landisk:~/kernel/linux-2.6.14.3# make
}}
-It tests by using kexec.
#pre{{
landisk:~/kernel/linux-2.6.14.3# kexec arch/sh/boot/zImage
}}
**Appendix - debian Cross-toolchain on Intel machine [#j8...
http://eggplant.ddo.jp/www/download/debian26/CROSS/~
It contains the following. ~
Please install it by the dpkg -i *.deb command. ~
#pre{{
binutils-sh4-linux_2.16.1-2_i386.deb
cpp-3.4-sh4-linux_3.4.4-5_i386.deb
g++-3.4-sh4-linux_3.4.4-5_i386.deb
gcc-3.4-sh4-linux_3.4.4-5_i386.deb
libstdc++6-dev-sh4-cross_3.4.4-5_all.deb
libstdc++6-sh4-cross_3.4.4-5_all.deb
cpp-4.0-sh4-linux_4.0.2-2_i386.deb
g++-4.0-sh4-linux_4.0.2-2_i386.deb
gcc-4.0-sh4-linux_4.0.2-2_i386.deb
libstdc++6-4.0-dev-sh4-cross_4.0.2-2_all.deb
libstdc++6-dev-sh4-cross_3.4.4-5_all.deb
libc6-dev-sh4-cross_2.3.5-7_all.deb
libc6-sh4-cross_2.3.5-7_all.deb
libdb1-compat-sh4-cross_2.1.3-7_all.deb
libgcc1-sh4-cross_4.0.2-2_all.deb
libncurses5-dev-sh4-cross_5.4-4_all.deb
libncurses5-sh4-cross_5.4-4_all.deb
linux-kernel-headers-sh4-cross_2.6.13+0rc3-2_all.deb
}}
**Appendix - More Information [#z13bee17]
The following are my Japanese pages. ~
-[[The automatic translation by Excite:http://www.excite....
-[[No translation:http://eggplant.ddo.jp/www/pukiwiki/ind...
~
~
*comment [#h1b575e9]
#pcomment(,5,below,reply)
終了行:
**Target Hardware [#ee261502]
-IO-DATA LANDISK Series~
This project's goal is to turn the IO-Data Network Attach...
--JP model [[HDL-U Series:http://www.iodata.jp/prod/stora...
--US model [[UHDL-160U:http://www.iodata.com/products/pro...
--EU model (OEM) [[PX-EH25L:http://www.plextor-europe.com...
--Storage-less model(compact flash media (Micro Drive) mo...
-Specification
--Processor: SH4 266MHz(SH7751R)
--Interface: 2 channels USB 2.0
--Storage Capacity: HDD 160GB (HDL-160U), 250GB, 300GB, 4...
--Network Interface: 100BASE-TX/10BASE-T
-
~
The device comes with a Linux 2.4 inside. There is the p...
**Linux Kernel [#oacd9821]
The original OS is linux-sh-2.4.21 . A new version linux...
The sourcecode for LANDISK target available [[here:http:/...
**debian26 userland for SH4[#r3142136]
-What is debian26~
We are calling this userland debian26 in locals.~
--debian etch at &color(red){Nov 2005};
--compiled by gcc-4.0.2
--The linuxSH kernel 2.6 image is included.
--Xorg-X11 with USB2VGAs Support for connecting VGA displ...
--About 1900 debian packages compiled for SH4 can be used.~
~
LEFT:
|120|300|200|c
|~ | Archive | Remarks |h
|base(etch) | [[ base26-sh4-20070709-etch.tgz:http://egg...
|kernel source | [[linux-2.6.22-landisk:http://eggplant.d...
-base26-sh4-xxxxxxxx-etch.tgz archive contains the follow...
#pre{{
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-confi...
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Stat...
||/ Name Version Description
+++-===================-===================-=============...
ii adduser 3.77 Add and remov...
ii apt 0.6.42.1 Advanced fron...
ii apt-utils 0.6.42.1 APT utility p...
ii aptitude 0.2.15.9-7 terminal-base...
ii at 3.1.9 Delayed job e...
ii base-config 2.73 Debian base s...
ii base-files 3.1.9 Debian base s...
ii base-passwd 3.5.10 Debian base s...
ii bash 3.0-17 The GNU Bourn...
ii bsdmainutils 6.1.2 collection of...
ii bsdutils 2.12p-8 Basic utiliti...
ii console-common 0.7.54 Basic infrast...
ii console-data 2002.12.04dbs-49 Keymaps, font...
ii console-tools 0.2.3dbs-57 Linux console...
ii coreutils 5.2.1-2.1 The GNU core ...
ii cpio 2.6-9 GNU cpio -- a...
ii cron 3.0pl1-91 management of...
ii debconf 1.4.58 Debian config...
ii debconf-i18n 1.4.58 full internat...
ii debianutils 2.15 Miscellaneous...
ii dhcp-client 2.0pl5-19.1 DHCP Client
ii diff 2.8.1-11 File comparis...
ii dpkg 1.13.11 package maint...
ii dselect 1.13.11 user tool to ...
ii e2fslibs 1.38-2 ext2 filesyst...
ii e2fsprogs 1.38-2 ext2 file sys...
ii ed 0.2-20 The classic u...
ii exim4 4.54-1 metapackage t...
ii exim4-base 4.54-1 support files...
ii exim4-config 4.54-1 configuration...
ii exim4-daemon-light 4.54-1 lightweight e...
ii findutils 4.2.25-1 utilities for...
&color(red){ii gcc-4.0-base 4.0.2-2 T...
ii gettext-base 0.14.5-2 GNU Internati...
ii gnupg 1.4.1-1 GNU privacy g...
ii grep 2.5.1.ds2-2 GNU grep, egr...
ii groff-base 1.18.1.1-10 GNU troff tex...
ii gzip 1.3.5-12 The GNU compr...
ii hostname 2.91 utility to se...
ii ifupdown 0.6.7 high level to...
ii info 4.8-1 Standalone GN...
ii initscripts 2.86.ds1-4 Standard scri...
ii iptables 1.3.3-2 Linux kernel ...
ii iputils-ping 20020927-3 Tools to test...
&color(red){ii kernel-image-2.6.22 custom.0.0 L...
&color(red){ii kexec-tools 1.101-2sh k...
ii klogd 1.4.1-17 Kernel Loggin...
ii laptop-detect 0.12.1 attempt to de...
ii libacl1 2.2.32-1 Access contro...
ii libattr1 2.4.25-1 Extended attr...
ii libblkid1 1.38-2 block device ...
ii libbz2-1.0 1.0.2-10 high-quality ...
&color(red){ii libc6 2.3.5-8 G...
ii libcap1 1.10-14 support for g...
ii libcomerr2 1.38-2 common error ...
ii libconsole 0.2.3dbs-57 Shared librar...
ii libdb2 2.7.7.0-10 The Berkeley ...
ii libdb3 3.2.9-22 Berkeley v3 D...
ii libdb4.2 4.2.52-18 Berkeley v4.2...
ii libdb4.3 4.3.28-2 Berkeley v4.3...
ii libgcc1 4.0.2-2 GCC support l...
ii libgcrypt11 1.2.2-1 LGPL Crypto l...
ii libgdbm3 1.8.3-2 GNU dbm datab...
ii libgnutls11 1.0.16-14 GNU TLS libra...
ii libgpg-error0 1.1-4 library for c...
ii libident 0.22-3 simple RFC141...
ii libkrb53 1.3.6-5 MIT Kerberos ...
ii libldap2 2.1.30-12 OpenLDAP libr...
ii liblocale-gettext-p 1.05-1 Using libc fu...
ii liblockfile1 1.06 NFS-safe lock...
ii liblzo1 1.08-2 data compress...
ii libncurses5 5.4-9 Shared librar...
ii libncursesw5 5.4-9 Shared librar...
ii libnewt0.51 0.51.6-31 Not Erik's Wi...
ii libopencdk8 0.5.7-2 Open Crypto D...
ii libpam-modules 0.79-3 Pluggable Aut...
ii libpam-runtime 0.79-3 Runtime suppo...
ii libpam0g 0.79-3 Pluggable Aut...
ii libpcre3 6.4-1 Perl 5 Compat...
ii libpopt0 1.7-5 lib for parsi...
ii libreadline5 5.0-11 GNU readline ...
ii libsasl2 2.1.19-1.7 Authenticatio...
ii libsasl2-modules 2.1.19-1.7 Pluggable Aut...
ii libselinux1 1.30.28-1 SELinux share...
ii libsepol1 1.12.26-2 Security Enha...
ii libsigc++-1.2-5c2 1.2.5-5 type-safe Sig...
ii libslang2 2.0.4-7 The S-Lang pr...
ii libss2 1.38-2 command-line ...
ii libssl0.9.7 0.9.7g-5 SSL shared li...
ii libssl0.9.8 0.9.8a-3 SSL shared li...
ii libstdc++6 4.0.2-2 The GNU Stand...
ii libtasn1-2 0.2.13-1 Manage ASN.1 ...
ii libtext-charwidth-p 0.04-3 get display w...
ii libtext-iconv-perl 1.4-2 converts betw...
ii libtext-wrapi18n-pe 0.06-4 international...
ii libtextwrap1 0.1-3 text-wrapping...
ii libusb-0.1-4 0.1.10a-21 userspace USB...
ii libuuid1 1.38-2 universally u...
ii libvolume-id0 0.105-4 libvolume_id ...
ii libwrap0 7.6.dbs-8 Wietse Venema...
ii login 4.0.13-1 system login ...
ii logrotate 3.7.1-2 Log rotation ...
ii lsb-base 3.0-11 Linux Standar...
ii mailx 8.1.2-0.20050715cvs A simple mail...
ii makedev 2.3.1-83 creates devic...
ii man-db 2.4.3-3 The on-line m...
ii manpages 2.02-2 Manual pages ...
ii mawk 1.3.3-11 a pattern sca...
ii module-init-tools 3.3-pre4-2 tools for man...
ii modutils 2.4.27.0-3 Linux module ...
ii mount 2.12p-8 Tools for mou...
ii nano 1.3.8-2 free Pico clo...
ii ncurses-base 5.4-9 Descriptions ...
ii ncurses-bin 5.4-9 Terminal-rela...
ii net-tools 1.60-16 The NET-3 net...
ii netbase 4.23 Basic TCP/IP ...
ii netkit-inetd 0.10-10.2 The Internet ...
ii nvi 1.79-22 4.4BSD re-imp...
ii passwd 4.0.13-1 change and ad...
ii perl-base 5.8.7-7 The Pathologi...
ii procps 3.2.5-1 /proc file sy...
ii psmisc 21.6-1 Utilities tha...
ii readline-common 5.0-11 GNU readline ...
ii reiserfsprogs 3.6.19-1 User-level to...
ii sasl2-bin 2.1.19-1.7 Programs for ...
ii sed 4.1.2-8 The GNU sed s...
ii slang1a-utf8 1.4.9dbs-8 The S-Lang pr...
ii sysklogd 1.4.1-17 System Loggin...
ii sysv-rc 2.86.ds1-4 Standard boot...
ii sysvinit 2.86.ds1-4 System-V like...
ii tar 1.15.1-2 GNU tar
ii tasksel 2.32 Tool for sele...
ii tcpd 7.6.dbs-8 Wietse Venema...
ii telnetd 0.17-32 The telnet se...
&color(red){ii udev 0.105-4 /...
ii util-linux 2.12p-8 Miscellaneous...
ii wget 1.10.2-1 retrieves fil...
ii whiptail 0.51.6-31 Displays user...
ii zlib1g 1.2.3-4 compression l...
}}
**How to setup debian26 [#ce0dfb72]
-Adding telnetd to the original system
--IP address is set from the menu of LANDISK.(Password is...
--A new user "landisk" is made from the menu of LANDISK.
--Next, download [[landisk_telnetd_v2.0.zip:http://landis...
--It is unzipped and update.tgz is retrieved.
--Update the firmware by specifying update.tgz in the men...
--After reboot, you can telnet into the device:
---Open a telnetsession, connect to the Landisk IP (port ...
---User account is landisk, password is "landisk".
---To become root, "sudo su" is executed. (root password ...
---To write it in rootfs, "mount -o rw,remount /" is exec...
-Debian26 is constructed to /dev/hda3.
--Install debian26 base system.
#pre{{
# cd /mnt/hda3
# tar vxfz&color(red){p}; base26-sh4-xxxxxxxx-etch.tgz
# mv debian26/* .
# rm -rf debian26
}}
--Some files need to be corrected. (Following is an examp...
---/mnt/hda3/etc/hosts~
#pre{{
127.0.0.1 localhost
&color(red){192.168.1.81}; landisk
}}
---/mnt/hda3/etc/hostname~
#pre{{
landisk
}}
---/mnt/hda3/etc/resolv.conf~
#pre{{
nameserver &color(red){192.168.1.1}; &color(green){( <- ...
}}
---/mnt/hda3/etc/network/interfaces~
#pre{{
# Used by ifup(8) and ifdown(8). See the interfaces(5) ma...
# /usr/share/doc/ifupdown/examples for more information.
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
address &color(red){192.168.1.81};
netmask &color(red){255.255.255.0};
gateway &color(red){192.168.1.1};
}}
---/mnt/hda3/etc/hosts.allow
#pre{{
ALL : &color(red){127.0.0.1 192.168.1. 192.168.0.};
}}
---/mnt/hda3/etc/fstab
#pre{{
# UNCONFIGURED FSTAB FOR BASE SYSTEM
#/dev/sda4 / reiserfs defaults 0 1
/dev/sda3 / ext2 defaults 0 &col...
none /proc proc defaults 0 0
/dev/sda2 swap swap defaults 0 0
}}
-Setup boot-loader lilo-sh
--copy some files from debian26(/dev/hda3) to /dev/hda1
#pre{{
# mount -o rw,remount /
# cp /mnt/hda3/boot/vmlinuz-2.6.22-landisk /boot
# cp /mnt/hda3/boot/boot.b-selk /boot
}}
--/etc/lilo.conf - dual boot setting between original env...
#pre{{
linear
boot=/dev/hda
disk=/dev/hda
bios=0x80
timeout=50
&color(red){install=/boot/boot.b-selk};
&color(red){map=/boot/map};
default=&color(red){debian26};
image=/boot/zImage
label=linux
root=/dev/hda1
read-only
&color(red){ append="mem=64M console=ttySC1,9600 r...
&color(red){image=/boot/vmlinuz-2.6.22-landisk};
&color(red){ label=debian26};
&color(red){ root=/dev/sda3};
&color(red){ read-only};
&color(red){ append="mem=64M console=ttySC1,9600 r...
}}
--Setup lilo~
#pre{{
# /mnt/hda3/sbin/lilo
Added debian26 *
Added linux
}}
--reboot
#pre{{
# /home/LANDISK/scripts/powerctrl.sh reboot
}}
-Login can be done by the telnet.
#pre{{
Debian GNU/Linux testing/unstable
landisk login: &color(red){landisk};
Password: &color(red){landisk};
Last login: Mon Nov 21 22:33:18 2005 from 192.168.1.2 on ...
Linux landisk 2.6.14-sh #1 Sat Nov 12 00:03:54 JST 2005 s...
The programs included with the Debian GNU/Linux system ar...
the exact distribution terms for each program are describ...
individual files in /usr/share/doc/*/copyright.
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to th...
permitted by applicable law.
landisk@landisk:~$ &color(red){su};
Password: &color(red){landisk};
landisk:/home/landisk#
}}
-How to boot from original system : ~
If you switch on the device, it will boot Debian from now...
However, there is still a way to boot the original linux ...
--turn off the power.
--power button ON, and quickly (max 5 seconds) power butt...
--wait a 10 second.
--power button ON
** Additional setup [#x0deecf9]
-apt-get
#pre{{
landisk:/# apt-get update
landisk:/# apt-get remove gpgv-udeb
landisk:/# apt-get install gnupg
landisk:/# wget http://ftp-master.debian.org/ziyi_key_200...
landisk:/# apt-key add ziyi_key_2006.asc
landisk:/# apt-get update
landisk:/# apt-get upgrade
}}
-gcc-4.0,g++-4.0,gcc-3.4,g++-3.4,etc
#pre{{
landisk:/# apt-get install dpkg-dev binutils gcc g++ make...
landisk:/# apt-get install gcc-3.4 g++-3.4
}}
-Xorg-X11
#pre{{
landisk:/# apt-get install x-window-system vncserver wdm
}}
--etc/X11/wdm/Xservers (If you use not USB2VGA dongle but...
#pre{{
#:0 local /usr/bin/X11/X -nolisten TCP
:0 local /usr/bin/Xrealvnc -geometry 1024x768 -depth 16
}}
--start wdm
#pre{{
landisk:/# /etc/init.d/wdm restart
Starting WINGs display manager: wdm.
}}
**Additional packages and source[#jf9d96fd]
The following apt-line can be used.
#pre{{
deb http://eggplant.ddo.jp/www/download/debian26 etch main
}}
source : http://eggplant.ddo.jp/www/download/debian26/sou...
**Screenshot [#m873c6b0]
From VNC client.~
&ref(landisk_vnc.jpg,nolink);~
~
**linux workstation [#v5cdfa3b]
&ref(サインはVGAをつなげてみた/usb2vga3.png,nolink);
&ref(サインはVGAをつなげてみた/usb2vga4.png,nolink);
-Hardware~
LANDISK (HDL-160U)~
USB keyboard with USB HUB~
USB mouse~
USB2VGA dongle ( http://www.winischhofer.at/linuxsisusbvg...
display~
-Software~
linux-2.6.14-sh~
debian26~
Xorg-X11(custum Ver.)~
**Appendix - How to Self-build Kernel [#nb1b7bf1]
-setup
#pre{{
landisk:~# mkdir kernel
landisk:~# cd kernel
landisk:~/kernel# tar vxfz linux-2.6.14-sh-landisk.0.3.tgz
}}
-build
#pre{{
landisk:~/kernel# cd linux-2.6.14.3
landisk:~/kernel/linux-2.6.14.3# cp arch/sh/configs/landi...
landisk:~/kernel/linux-2.6.14.3# make menuconfig
landisk:~/kernel/linux-2.6.14.3# make
}}
-It tests by using kexec.
#pre{{
landisk:~/kernel/linux-2.6.14.3# kexec arch/sh/boot/zImage
}}
**Appendix - debian Cross-toolchain on Intel machine [#j8...
http://eggplant.ddo.jp/www/download/debian26/CROSS/~
It contains the following. ~
Please install it by the dpkg -i *.deb command. ~
#pre{{
binutils-sh4-linux_2.16.1-2_i386.deb
cpp-3.4-sh4-linux_3.4.4-5_i386.deb
g++-3.4-sh4-linux_3.4.4-5_i386.deb
gcc-3.4-sh4-linux_3.4.4-5_i386.deb
libstdc++6-dev-sh4-cross_3.4.4-5_all.deb
libstdc++6-sh4-cross_3.4.4-5_all.deb
cpp-4.0-sh4-linux_4.0.2-2_i386.deb
g++-4.0-sh4-linux_4.0.2-2_i386.deb
gcc-4.0-sh4-linux_4.0.2-2_i386.deb
libstdc++6-4.0-dev-sh4-cross_4.0.2-2_all.deb
libstdc++6-dev-sh4-cross_3.4.4-5_all.deb
libc6-dev-sh4-cross_2.3.5-7_all.deb
libc6-sh4-cross_2.3.5-7_all.deb
libdb1-compat-sh4-cross_2.1.3-7_all.deb
libgcc1-sh4-cross_4.0.2-2_all.deb
libncurses5-dev-sh4-cross_5.4-4_all.deb
libncurses5-sh4-cross_5.4-4_all.deb
linux-kernel-headers-sh4-cross_2.6.13+0rc3-2_all.deb
}}
**Appendix - More Information [#z13bee17]
The following are my Japanese pages. ~
-[[The automatic translation by Excite:http://www.excite....
-[[No translation:http://eggplant.ddo.jp/www/pukiwiki/ind...
~
~
*comment [#h1b575e9]
#pcomment(,5,below,reply)
ページ名: