玄人志向 玄箱12 (902レス)
玄人志向 玄箱12 http://mao.5ch.net/test/read.cgi/linux/1261303328/
上
下
前次
1-
新
通常表示
512バイト分割
レス栞
抽出解除
必死チェッカー(本家)
(べ)
自ID
レス栞
あぼーん
232: login:Penguin [sage] 2010/10/14(木) 01:09:22 ID:8396TpMs HG --- # apt-get install gcc (gcc = binutils cpp cpp-3.3 gcc gcc-3.3) libncurses5-dev make patch unzip bison flex git-core uboot-mkimage # update-alternatives --config git (choose #2: git-scm - we need git to get the sources for dtc) # cd /usr/src # wget http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.21.tar.bz2 (get the most recent from http://www.kernel.org/pub/linux/kernel) # tar xjf linux-2.6.21.tar.bz2 # ln -sf linux-2.6.21 linux # git clone git://www.jdl.com/software/dtc.git dtc (the dtc tool is used to compile a required special hardware database file) # cd /usr/src/dtc http://mao.5ch.net/test/read.cgi/linux/1261303328/232
233: login:Penguin [sage] 2010/10/14(木) 01:10:20 ID:8396TpMs # make # sudo ln -sf /usr/src/dtc/dtc /usr/local/bin/ # cd /usr/src # wget http://www.kurobox.com/sylver/u-boot/mkimage (now we'll get mkimage, with is needed to produce kernel images that the u-boot can boot into.) # chmod 0755 mkimage # sudo mv mkimage /usr/local/bin/ # sudo apt-get install jigit (mkimage need this tool to work???) # cd /usr/src/linux # cp arch/powerpc/configs/linkstation_defconfig .config # make ARCH=powerpc menuconfig ----- Multimedia devices ---> <M> Video For Linux [*] Video capture adapters ---> [*] V4L USB devices ---> ----- # make uImage modules # exit # cd /usr/src/linux # make modules_install # cp arch/powerpc/boot/uImage /boot/vmlinux.UBoot # cp arch/powerpc/boot/dts/kuroboxHG.dts /boot/ # cd /boot # dtc -f -I dts -O dtb -o kuroboxHG.dtb -V 16 kuroboxHG.dts # reboot http://mao.5ch.net/test/read.cgi/linux/1261303328/233
234: login:Penguin [sage] 2010/10/14(木) 01:12:52 ID:8396TpMs pro --- # apt-get install gcc (gcc = binutils cpp cpp-3.3 gcc gcc-3.3) libncurses5-dev make patch unzip bison flex \ devio uboot-mkimage ----- # cd /usr/src # wget http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.21.tar.bz2 (get the most recent from http://www.kernel.org/pub/linux/kernel) # tar xjf linux-2.6.21.tar.bz2 # ln -sf linux-2.6.21 linux # cd /usr/src/linux # make ARCH=arm orion5x_defconfig # make ARCH=arm menuconfig ----- System Types ---> ARM system type (Marvell Orion) ---> (X) Marvell Orion Orion Implementations ---> [*] Kurobox Pro[*] Networking support ---> Networking options ---> <M> 802.1d Ethernet Bridging Device Drivers ---> <M> Video For Linux [*] Video capture adapters ---> [*] V4L USB devices ---> <M> USB Video Class (UVC) # make ARCH=arm zImage http://mao.5ch.net/test/read.cgi/linux/1261303328/234
235: login:Penguin [sage] 2010/10/14(木) 01:14:12 ID:8396TpMs # devio > foo 'wl 0xe3a01c06,4' 'wl 0xe3811031,4' --- < ex > --- 'wl 0xe3a01c07,4' 'wl 0xe3811027,4' # Buffalo Linkstation Pro Duo (Is this right?) 'wl 0xe3a01c07,4' 'wl 0xe3811042,4' # Buffalo Linkstation Mini 'wl 0xe3a01c06,4' 'wl 0xe3811030,4' # Buffalo TS Pro V2 (not yet supported in Vanilla 2.6.26 as of Aug. 10th, 2008) 'wl 0xe3a01c06,4' 'wl 0xe3811031,4' # Linkstation Pro/Live (2.6.26) 'wl 0xe3a01c05,4' 'wl 0xe38110e5,4' # Kurobox Pro (2.6.25) 'wl 0xe3a01c06,4' 'wl 0xe381101d,4' # QNAP TS-109/TS-209 (2.6.25) 'wl 0xe3a01c06,4' 'wl 0xe3811041,4' # QNAP TS-409 (2.6.27?) 'wl 0xe3a01c06,4' 'wl 0xe3811006,4' # D-Link DNS-323 (2.6.25) 'wl 0xe3a01c06,4' 'wl 0xe381109d,4' # HP Media Vault MV2120 (2.6.27?) 'wl 0xe3a01c06,4' 'wl 0xe3811074,4' # Technologic Systems TS-78xx SBC (2.6.27?) 'wl 0xe3a01c06,4' 'wl 0xe38110e6,4' # Maxtor Shared Storage II (2.6.27) 'wl 0xe3a01c06,4' 'wl 0xe3811061,4' # Linksys WRT350N v2 (2.6.27?) 'wl 0xe3a01c07,4' 'wl 0xe3811065,4' # Netronix NH-233 -------------- # cat foo arch/arm/boot/zImage > zImage.new # mkimage -A arm -O linux -T kernel -C none -a 0x00008000 -e 0x00008000 -n 'linux' -d zImage.new uImage.new # rm foo zImage.new # mount -t ext2 /dev/sda1 /boot # cp uImage.new /boot/uImage # make ARCH=arm modules # make ARCH=arm modules_install http://mao.5ch.net/test/read.cgi/linux/1261303328/235
236: login:Penguin [sage] 2010/10/14(木) 01:15:56 ID:8396TpMs あとはdebianなソフトを入れるだけ。 以前にGoogleですか? http://mao.5ch.net/test/read.cgi/linux/1261303328/236
237: login:Penguin [sage] 2010/10/14(木) 01:18:07 ID:8396TpMs Networking support ---> Networking options ---> <M> 802.1d Ethernet Bridging はいらなかったです。 http://mao.5ch.net/test/read.cgi/linux/1261303328/237
241: login:Penguin [sage] 2010/10/14(木) 23:08:30 ID:8396TpMs なんか試してごめんね。 loder.oでlennyしてた人もいるのもわかっててわざとUbootの手順を書きました。 しらないけどloder.oの人は driver導入するには下記だけかな?V4L2をkernelに組み込んでいる前提。 # make menuconfig ----- Multimedia devices ---> <M> Video For Linux [*] Video capture adapters ---> [*] V4L USB devices ---> <M> USB Video Class (UVC) # make modules_install わからなければkernelのコンパイル方ぐぐってください。 debianではmotionだけかな?問題なくすぐ使えるのは。 webcamとvgrabbj はlibv4l-0を導入します。 LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so webcam とかやらないと起動しない。細かいことはぐぐってください。 http://mao.5ch.net/test/read.cgi/linux/1261303328/241
242: login:Penguin [sage] 2010/10/14(木) 23:35:33 ID:8396TpMs >>240 u-bootのかたはこれが使えます。 http://mao.5ch.net/test/read.cgi/linux/1261303328/242
メモ帳
(0/65535文字)
上
下
前次
1-
新
書
関
写
板
覧
索
設
栞
歴
スレ情報
赤レス抽出
画像レス抽出
歴の未読スレ
AAサムネイル
Google検索
Wikipedia
ぬこの手
ぬこTOP
3.266s*