<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
<title>數位天堂</title>
<link>http://digiland.tw</link>
<description> 數位天堂</description>
<language>zh-TW</language>
<docs>http://backend.userland.com/rss</docs>
<item>
<title>[Vistor NAS-34] 安裝Arch Linux ARM in 改機天堂 : NAS 綜合討論區</title>
<link>http://digiland.tw/viewtopic.php?pid=9918#p9918</link>
<guid isPermaLink="false">9918@http://digiland.tw</guid>
<description>接下來, 試試將rootfs放在RAID, 啟動ALARM.因NAS-34共可接五顆SATA硬碟, 若不玩玩RIAD或LVM, 未免可惜. 內建U-Boot不支援由USB載入核心. 若由TFTP載入核心, 則可使用到全部硬碟所建立的RAID. 或者, 第一顆硬碟切一小塊分割區, 存放uImage+initrd. 日後若決定捨棄原廠韌體, 則可將uImage+initrd塞入8MB flash.以下簡述1+3, 第一顆硬碟分割10MB, 格式化ext2, 存放uImage+initrd. 其餘三顆硬碟建立RAID 0, 運行ALARM.1. 分割/dev/sdb, sdc, sdd.因我想將swap也放在RAID 0, 所以每顆硬碟各分割二個分割磁區. 第二分割區大小為85MB(RAM 128MB * 2 / 3 HDs)Type: FD Linux raid autodetect2. 建立/dev/md0, md1
# modprobe raid0
# mdadm -C /dev/md0 -l 0 -n 3 --homehost=NAS-34 /dev/sd[bcd]1
# mdadm -C /dev/md1 -l 0 -n 3 --homehost=NAS-34 /dev/sd[bcd]23. 格式化/dev/md0, md1
# mkfs.ext4 /dev/md0
# mkswap -f /dev/md14. 安裝ALARM rootfs
# mount /dev/md0 /mnt/raid
# tar -xzf ArchLinuxARM-armv5te-latest.tar.gz -C /mnt/raid5. 安裝之前編譯的核心模組
# mkdir /mnt/raid/lib/modules/3.1.10-10-Orion
# cp -R /lib/modules/3.1.10-10-Orion/* /mnt/raid/lib/modules/3.1.10-10-Orion6. 編輯mdadm.conf
# nano /mnt/raid/etc/mdadm.conf
DEVICE /dev/sd[bcd]1
DEVICE /dev/sd[bcd]2
ARRAY /dev/md0 devices=/dev/sdb1,/dev/sdc1,/dev/sdd1 name=NAS-34:0
ARRAY /dev/md1 devices=/dev/sdb2,/dev/sdc2,/dev/sdd2 name=NAS-34:17. 編輯fstab
# nano /mnt/raid/etc/fstab
/dev/md0        /            ext4        defaults    0 1
/dev/md1        none        swap        sw    0 08. 使用mkinitcpio, 建立initrd.
$ nano nas-34.conf
MODULES=&#34;md_mod raid0&#34;
HOOKS=&#34;base udev autodetect sata mdadm_udev filesystems fsck&#34;
$ mkinitcpio -c nas-34.conf -g initrd.img9. 將編譯的uImage, initrd.img, 複製到/dev/sda1好了, 重新開機, 進入U-Boot.
&#62;&#62; setenv bootargs 'console=ttyS0,115200 root=/dev/md0 md=0,/dev/sdb1,/dev/sdc1,/dev/sdd1 rootfstype=ext4 initrd=0xb00000,8M'
&#62;&#62; ext2load ide 0:1 0x800000 /uImage
&#62;&#62; ext2load ide 0:1 0xb00000 /initrd.img
&#62;&#62; bootm 0x800000核心啟動參數, 參閱Documentation/md.txt, initrd.txt至此, 您應該能體會到我所說, 頭痛的萬惡之源. 當然啦, 也有現成的核心與核心模組可用. 不過, 仍要經過些許處理後, 才能將NAS-34順利開機, 進入ALARM. 有興趣的網友, 請自行測試, 我就不囉唆了.
</description>
<content:encoded><![CDATA[<p>接下來, 試試將rootfs放在RAID, 啟動ALARM.<br /><br />因NAS-34共可接五顆SATA硬碟, 若不玩玩RIAD或LVM, 未免可惜. 內建U-Boot不支援由USB載入核心. 若由TFTP載入核心, 則可使用到全部硬碟所建立的RAID. 或者, 第一顆硬碟切一小塊分割區, 存放uImage+initrd. 日後若決定捨棄原廠韌體, 則可將uImage+initrd塞入8MB flash.<br /><br />以下簡述1+3, 第一顆硬碟分割10MB, 格式化ext2, 存放uImage+initrd. 其餘三顆硬碟建立RAID 0, 運行ALARM.<br /><br />1. 分割/dev/sdb, sdc, sdd.<br />因我想將swap也放在RAID 0, 所以每顆硬碟各分割二個分割磁區. 第二分割區大小為85MB(RAM 128MB * 2 / 3 HDs)<br />Type: FD Linux raid autodetect<br /><br />2. 建立/dev/md0, md1<br /></p><code># modprobe raid0
# mdadm -C /dev/md0 -l 0 -n 3 --homehost=NAS-34 /dev/sd[bcd]1
# mdadm -C /dev/md1 -l 0 -n 3 --homehost=NAS-34 /dev/sd[bcd]2</code><p><br>3. 格式化/dev/md0, md1<br /></p><code># mkfs.ext4 /dev/md0
# mkswap -f /dev/md1</code><p><br>4. 安裝ALARM rootfs<br /></p><code># mount /dev/md0 /mnt/raid
# tar -xzf ArchLinuxARM-armv5te-latest.tar.gz -C /mnt/raid</code><p><br>5. 安裝之前編譯的核心模組<br /></p><code># mkdir /mnt/raid/lib/modules/3.1.10-10-Orion
# cp -R /lib/modules/3.1.10-10-Orion/* /mnt/raid/lib/modules/3.1.10-10-Orion</code><p><br>6. 編輯mdadm.conf<br /></p><code># nano /mnt/raid/etc/mdadm.conf
DEVICE /dev/sd[bcd]1
DEVICE /dev/sd[bcd]2
ARRAY /dev/md0 devices=/dev/sdb1,/dev/sdc1,/dev/sdd1 name=NAS-34:0
ARRAY /dev/md1 devices=/dev/sdb2,/dev/sdc2,/dev/sdd2 name=NAS-34:1</code><p><br>7. 編輯fstab<br /></p><code># nano /mnt/raid/etc/fstab
/dev/md0        /            ext4        defaults    0 1
/dev/md1        none        swap        sw    0 0</code><p><br>8. 使用<a href="https://wiki.archlinux.org/index.php/Mkinitcpio" onclick="window.open(this.href); return false;">mkinitcpio</a>, 建立initrd.<br /></p><code>$ nano nas-34.conf
MODULES=&quot;md_mod raid0&quot;
HOOKS=&quot;base udev autodetect sata mdadm_udev filesystems fsck&quot;</code><p><br></p><code>$ mkinitcpio -c nas-34.conf -g initrd.img</code><p><br>9. 將編譯的uImage, initrd.img, 複製到/dev/sda1<br /><br />好了, 重新開機, 進入U-Boot.<br /></p><code>&gt;&gt; setenv bootargs 'console=ttyS0,115200 root=/dev/md0 md=0,/dev/sdb1,/dev/sdc1,/dev/sdd1 rootfstype=ext4 initrd=0xb00000,8M'
&gt;&gt; ext2load ide 0:1 0x800000 /uImage
&gt;&gt; ext2load ide 0:1 0xb00000 /initrd.img
&gt;&gt; bootm 0x800000</code><p><br>核心啟動參數, 參閱Documentation/md.txt, initrd.txt<br /><br />至此, 您應該能體會到我所說, 頭痛的萬惡之源. 當然啦, 也有現成的<a href="http://archlinuxarm.org/forum/viewtopic.php?f=27&amp;t=1400" onclick="window.open(this.href); return false;">核心與核心模組</a>可用. 不過, 仍要經過些許處理後, 才能將NAS-34順利開機, 進入ALARM. 有興趣的網友, 請自行測試, 我就不囉唆了.</p>]]></content:encoded>
<pubDate>Sat, 19 May 2012 12:04:16 +0800</pubDate>
</item>
<item>
<title>[Vistor NAS-34] 安裝Arch Linux ARM in 改機天堂 : NAS 綜合討論區</title>
<link>http://digiland.tw/viewtopic.php?pid=9917#p9917</link>
<guid isPermaLink="false">9917@http://digiland.tw</guid>
<description>有了Linux OS後, 接下來的操作, 都可以在NAS上直接執行. 當然, 您也可以繼續在x86作交叉編譯.同樣以ALARM舉例.先更新系統.
# pacman -Syu下載Linux v3.1.10核心原始碼, 解壓縮, 先不建立連結.移除linux-headers, 建立連結, 再安裝linux-headers, 套用ALARM的Linux核心原始碼修正檔, 並備份ALARM預設的核心設定檔.
# pacman -R linux-headers
# cd /usr/src
# ln -s /home/使用者/Source/linux-3.1.10 linux-3.1.10-10-ARCH
# pacman -Sf linux-headers
# cd /usr/src/linux-3.1.10-10-ARCH
# cp .config linux-3.1.10-10-ARCH.config
# chown -R 使用者 * .config .tmp_versionslinux-3.1.10-10-ARCH, 隨日後更新系統, 自行變更.如上篇, 建立編譯環境.因在原生機器跑gcc, 不需要再安裝交叉編譯器了.同樣, 需要mkimage. ALARM有現成套件, 不需要由AUR重建套件.
# pacman -S uboot-mkimage以上, 準備就緒.參考Orion NAS customisation guide, 準備修改Linux原始碼. 目的是為了機板型號, MTD, GPIO等. 但GPIO這部分, 我還沒搞定.上篇所提及的機板型號, 並不是Linux原始碼所支援. 如果您注意原廠韌體的console開機訊息:
  _   _      _                   _
 | \ | |    | |                 (_)
 |  \| | ___| |_ _ __ ___  _ __  ___  __
 | . ` |/ _ \ __| '__/ _ \| '_ \| \ \/ /
 | |\  |  __/ |_| | | (_) | | | | |&#62;  &#60;
 |_| \_|\___|\__|_|  \___/|_| |_|_/_/\_\
 _   _     ____              _
| | | |   | __ )  ___   ___ | |_
| | | |___|  _ \ / _ \ / _ \| __|
| |_| |___| |_) | (_) | (_) | |_
 \___/    |____/ \___/ \___/ \__|
 ** LOADER **
 ** MARVELL BOARD: NTX-88F5182-NH233 LEARM機板的型號, 登錄在The ARM Linux Project的Machines. Netronix NH-233也早就登錄在內.先更新機板型號資料檔
$ cd /usr/src/linux-3.1.10-10-ARCH/arch/arm/tools
$ mv mach-types mach-types.orig
$ wget -O mach-types http://www.arm.linux.org.uk/developer/machines/download.phparch/arm/mach-orion5x目錄內, 含括Linux所支援的Orion機器的相關程式碼, 但沒有NAS-34所使用的NH-233型號, 得手動建立.Orion NAS customisation guide說, 複製現有的&#34;機型-setup.c&#34;來修改. 自行找個機板零組件與NAS-34相似的機型, 將該檔複製為nh233-setup.c這個nh233-setup.c描述硬體設定, MTD, RTC, GPIO, PHY, SATA等. 因無原廠釋出的原始碼可供參考, 只能由原廠韌體開機訊息及參考其他-setup.c, 盡自己所能, 將nh233-setup.c描述完整.1. GPIO. 可控管燈號, 按鈕, 電源, 風扇等, 但各個機型有各自的設計, 腳位定義都不相同. 無原始碼參考, 只能猜測, 比較麻煩.2. NOR: Samsung K8D6316UBM PI07MTD分割表, 參照開機訊息與/proc/mtd來設定.
Creating 5 MTD partitions on &#34;phys_mapped_flash&#34;:
0x00000000-0x00200000 : &#34;Kernel&#34;
0x00200000-0x00770000 : &#34;File-System&#34;
0x00770000-0x00780000 : &#34;System-config&#34;
0x00780000-0x00790000 : &#34;bootloader-config&#34;
0x00790000-0x00800000 : &#34;Boot-loader&#34;
$ cat /proc/mtd
dev:    size   erasesize  name
mtd0: 00200000 00010000 &#34;Kernel&#34;
mtd1: 00570000 00010000 &#34;File-System&#34;
mtd2: 00010000 00010000 &#34;System-config&#34;
mtd3: 00010000 00010000 &#34;bootloader-config&#34;
mtd4: 00070000 00010000 &#34;Boot-loader&#34;3. RTC: Philips PCF8563
RTC: character device (/dev/rtc) driver v1.01 (06/08/2007) is registered
PCF8563 Real-Time Clock Driver, Revision: 0.99
I2C: character device (/dev/i2c0) driver v1.00 (11/15/2006) is registered
AT24C02 I2C Driver, $Revision: 1.0 $參考HP的mv2120-setup.c內__initdata mv2120_i2c_rtc函式, 仍無法與RTC通訊, 取得日期時間值.
drivers/rtc/hctosys.c: unable to open rtc device (rtc0)若ALARM開機後即執行NTP網路校時, RTC就不是那麼重要了. 只不過會在日誌前段, 使用1970年作紀錄.4. PHY: Marvell 88E11185. SATA: Marvell 88SM4140-LAD修改nh233-setup.c完畢後, 將NH-233添加在核心編譯選單中.
$ mv Kconfig Kconfig.orig
$ cp Kconfig.orig Kconfig
$ nano Kconfig
...
config MACH_NH233
    bool &#34;Netronix NH-233&#34;
    help
        Netronix NH-233, Vistor NAS-34
$ mv Makefile Makefile.orig
$ cp Makefile.orig Makefile
$ nano Makefile
...
obj-$(CONFIG_MACH_NH233)    += nh233-setup.o好了, 有了之前編譯核心的經驗, 這次應該駕輕就熟. 同樣由附檔nas-34.sh編譯核心與核心模組.
$ ./nas-34.shGeneral setup:Local version: -OrionEmbedded system, 選取.System Type:ARM system type: Marvell OrionOrion Implementations: Netronix NH-233Accept early Feroceon cores with an ARM926 ID, 選取.Floating point emulation:VFP-format floating point maths, 選取.其他選項, 依需要挑選.在NAS-34上面直接編譯, 與原生Linux OS相容性最好. 但因CPU與RAM的關係, 必須經過漫長等候, 才能取得結果.睡前讓它跑, 醒來查成果. 途中若出槌, 除錯再重來.編譯後的uImage, 同樣上傳到TFTP server. 進入U-Boot, 下指令, 載入核心.
...
Machine: Netronix NH-233
...若搞定核心, 改將rootfs放在SATA試試.核心啟動參數設定, 參閱Documentation/kernel-parameters.txt若核心與核心模組已達成您的需求, 將核心設定檔.config, 核心uImage, 核心模組目錄, 三者作備份.若您偏好其他Linux OS, 例如: Debian, 也是建議使用該Linux OS釋出的核心原始碼作編譯, 才能保持最佳的套件相容, 避免日後困擾.
</description>
<content:encoded><![CDATA[<p>有了Linux OS後, 接下來的操作, 都可以在NAS上直接執行. 當然, 您也可以繼續在x86作交叉編譯.<br />同樣以ALARM舉例.<br /><br />先更新系統.<br /></p><code># pacman -Syu</code><p><br>下載Linux v3.1.10核心原始碼, 解壓縮, 先不建立連結.<br />移除linux-headers, 建立連結, 再安裝linux-headers, 套用ALARM的Linux核心原始碼修正檔, 並備份ALARM預設的核心設定檔.<br /></p><code># pacman -R linux-headers
# cd /usr/src
# ln -s /home/使用者/Source/linux-3.1.10 linux-3.1.10-10-ARCH
# pacman -Sf linux-headers
# cd /usr/src/linux-3.1.10-10-ARCH
# cp .config linux-3.1.10-10-ARCH.config
# chown -R 使用者 * .config .tmp_versions</code><p><br>linux-3.1.10-10-ARCH, 隨日後更新系統, 自行變更.<br />如上篇, 建立編譯環境.<br />因在原生機器跑gcc, 不需要再安裝交叉編譯器了.<br />同樣, 需要mkimage. ALARM有現成套件, 不需要由AUR重建套件.<br /></p><code># pacman -S uboot-mkimage</code><p><br>以上, 準備就緒.<br /><br />參考<a href="http://www.nas-central.org/wiki/Orion_NAS_customisation_guide" onclick="window.open(this.href); return false;">Orion NAS customisation guide</a>, 準備修改Linux原始碼. 目的是為了機板型號, MTD, GPIO等. 但GPIO這部分, 我還沒搞定.<br /><br />上篇所提及的機板型號, 並不是Linux原始碼所支援. 如果您注意原廠韌體的console開機訊息:<br /></p><code>  _   _      _                   _
 | \ | |    | |                 (_)
 |  \| | ___| |_ _ __ ___  _ __  ___  __
 | . ` |/ _ \ __| '__/ _ \| '_ \| \ \/ /
 | |\  |  __/ |_| | | (_) | | | | |&gt;  &lt;
 |_| \_|\___|\__|_|  \___/|_| |_|_/_/\_\
 _   _     ____              _
| | | |   | __ )  ___   ___ | |_
| | | |___|  _ \ / _ \ / _ \| __|
| |_| |___| |_) | (_) | (_) | |_
 \___/    |____/ \___/ \___/ \__|
 ** LOADER **
 ** MARVELL BOARD: NTX-88F5182-NH233 LE</code><p><br>ARM機板的型號, 登錄在The ARM Linux Project的<a href="http://www.arm.linux.org.uk/developer/machines/" onclick="window.open(this.href); return false;">Machines</a>. <a href="http://www.arm.linux.org.uk/developer/machines/list.php?id=1893" onclick="window.open(this.href); return false;">Netronix NH-233</a>也早就登錄在內.<br />先更新機板型號資料檔<br /></p><code>$ cd /usr/src/linux-3.1.10-10-ARCH/arch/arm/tools
$ mv mach-types mach-types.orig
$ wget -O mach-types http://www.arm.linux.org.uk/developer/machines/download.php</code><p><br>arch/arm/mach-orion5x目錄內, 含括Linux所支援的Orion機器的相關程式碼, 但沒有NAS-34所使用的NH-233型號, 得手動建立.<br />Orion NAS customisation guide說, 複製現有的&quot;機型-setup.c&quot;來修改. 自行找個機板零組件與NAS-34相似的機型, 將該檔複製為nh233-setup.c<br />這個nh233-setup.c描述硬體設定, MTD, RTC, GPIO, PHY, SATA等. 因無原廠釋出的原始碼可供參考, 只能由原廠韌體開機訊息及參考其他-setup.c, 盡自己所能, 將nh233-setup.c描述完整.<br />1. GPIO. 可控管燈號, 按鈕, 電源, 風扇等, 但各個機型有各自的設計, 腳位定義都不相同. 無原始碼參考, 只能猜測, 比較麻煩.<br />2. NOR: Samsung K8D6316UBM PI07<br />MTD分割表, 參照開機訊息與/proc/mtd來設定.<br /></p><code>Creating 5 MTD partitions on &quot;phys_mapped_flash&quot;:
0x00000000-0x00200000 : &quot;Kernel&quot;
0x00200000-0x00770000 : &quot;File-System&quot;
0x00770000-0x00780000 : &quot;System-config&quot;
0x00780000-0x00790000 : &quot;bootloader-config&quot;
0x00790000-0x00800000 : &quot;Boot-loader&quot;</code><p><br></p><code>$ cat /proc/mtd
dev:    size   erasesize  name
mtd0: 00200000 00010000 &quot;Kernel&quot;
mtd1: 00570000 00010000 &quot;File-System&quot;
mtd2: 00010000 00010000 &quot;System-config&quot;
mtd3: 00010000 00010000 &quot;bootloader-config&quot;
mtd4: 00070000 00010000 &quot;Boot-loader&quot;</code><p><br>3. RTC: Philips PCF8563<br /></p><code>RTC: character device (/dev/rtc) driver v1.01 (06/08/2007) is registered
PCF8563 Real-Time Clock Driver, Revision: 0.99
I2C: character device (/dev/i2c0) driver v1.00 (11/15/2006) is registered
AT24C02 I2C Driver, $Revision: 1.0 $</code><p><br>參考HP的mv2120-setup.c內__initdata mv2120_i2c_rtc函式, 仍無法與RTC通訊, 取得日期時間值.<br /></p><code>drivers/rtc/hctosys.c: unable to open rtc device (rtc0)</code><p><br>若ALARM開機後即執行NTP網路校時, RTC就不是那麼重要了. 只不過會在日誌前段, 使用1970年作紀錄.<br />4. PHY: Marvell 88E1118<br />5. SATA: Marvell 88SM4140-LAD<br /><br />修改nh233-setup.c完畢後, 將NH-233添加在核心編譯選單中.<br /></p><code>$ mv Kconfig Kconfig.orig
$ cp Kconfig.orig Kconfig
$ nano Kconfig
...
config MACH_NH233
    bool &quot;Netronix NH-233&quot;
    help
        Netronix NH-233, Vistor NAS-34</code><p><br></p><code>$ mv Makefile Makefile.orig
$ cp Makefile.orig Makefile
$ nano Makefile
...
obj-$(CONFIG_MACH_NH233)    += nh233-setup.o</code><p><br>好了, 有了之前編譯核心的經驗, 這次應該駕輕就熟. 同樣由附檔nas-34.sh編譯核心與核心模組.<br /></p><code>$ ./nas-34.sh</code><p><br>General setup:<br />Local version: -Orion<br />Embedded system, 選取.<br />System Type:<br />ARM system type: Marvell Orion<br />Orion Implementations: Netronix NH-233<br />Accept early Feroceon cores with an ARM926 ID, 選取.<br />Floating point emulation:<br />VFP-format floating point maths, 選取.<br />其他選項, 依需要挑選.<br /><br />在NAS-34上面直接編譯, 與原生Linux OS相容性最好. 但因CPU與RAM的關係, 必須經過漫長等候, 才能取得結果.<br />睡前讓它跑, 醒來查成果. 途中若出槌, 除錯再重來.<br /><br />編譯後的uImage, 同樣上傳到TFTP server. 進入U-Boot, 下指令, 載入核心.<br /></p><code>...
Machine: Netronix NH-233
...</code><p><br>若搞定核心, 改將rootfs放在SATA試試.<br />核心啟動參數設定, 參閱Documentation/kernel-parameters.txt<br /><br />若核心與核心模組已達成您的需求, 將核心設定檔.config, 核心uImage, 核心模組目錄, 三者作備份.<br /><br />若您偏好其他Linux OS, 例如: Debian, 也是建議使用該Linux OS釋出的核心原始碼作編譯, 才能保持最佳的套件相容, 避免日後困擾.</p>]]></content:encoded>
<pubDate>Sat, 19 May 2012 00:09:50 +0800</pubDate>
</item>
<item>
<title>[Vistor NAS-34] 安裝Arch Linux ARM in 改機天堂 : NAS 綜合討論區</title>
<link>http://digiland.tw/viewtopic.php?pid=9916#p9916</link>
<guid isPermaLink="false">9916@http://digiland.tw</guid>
<description>對使用者而言, NAS的人機介面就是WebUI. 如果您已滿足這層薄紗, 就不必往下看了. 因為接下來的操作, 都會影響到機器保固. 請自己量力而為. NAS或其他嵌入式設備所運行的操作系統, 幾乎都是精簡過的Linux OS. 通常是晶片製造商所提供的rootfs(Root file system). 這可減少所需佔用的flash空間大小, 降低整體成本. 但這個精簡過的Linux OS操作起來, 比之x86的Linux OS, 並不是那麼順手. 隨著材料技術的精進與flash價格的降低, 逐漸有廠商將Linux OS移植到flash. 例如: 迷你筋斗雲使用Fedora 12.NAS使用常見的Linux OS有甚麼好處? 一言以蔽之, 套件. 而Linux OS不是只有一種, 那未免太無趣了. x86的Linux OS, 某些網友可能玩過了. 支援arm的Linux OS, 相對較少. 參考Architecture support.以下簡述NAS-34安裝ALARM(Arch Linux ARM), 從無到有的過程. 領悟之後, 也可套用到其他NAS, 安裝自己喜愛的Linux OS.事前準備:1. 理解Linux開機流程. 參考文末連結網址.2. 建立交叉編譯環境. 視自己使用的Linux OS而有所不同.3. TFTP server.4. NFS server. (亦可省略)5. console線.其中, TFTP server與NFS server可拿Tomato路由器來用即可.1. 核心, 驅動硬體. 頭痛的萬惡之源. 以ALARM來說, 目前使用v3.1.10. 到學術網路下載核心原始碼吧.
$ aria2c ftp://ftp.isu.edu.tw/Linux/kernel/linux-3.1.10.tar.xz
$ tar -xJf linux-3.1.10.tar.xz -C Source
$ sudo ln -s /home/使用者/Source/linux-3.1.10 /usr/src/linux-3.1.10編譯環境. 以Arch Linux來說,
# pacman -S base-devel交叉編譯器, 先拿CodeSourcery來用.
$ tar -xjf arm-2011.09-70-arm-none-linux-gnueabi-i686-pc-linux-gnu.tar.bz2 -C Toolchain因U-Boot使用uImage, 需要mkimage程式. 由AUR撈吧. 視CPU, 先自行修改/etc/makepkg.conf
$ cd AUR/uboot-mkimage
$ aria2c https://aur.archlinux.org/packages/ub/uboot-mkimage/uboot-mkimage.tar.gz
$ aria2c https://aur.archlinux.org/packages/ub/uboot-mkimage/PKGBUILD
$ makepkg -s
$ makepkg -i由附檔nas-34.x86.sh, 編譯核心.
$ ./nas-34.x86.sh在選單中, 視需要挑選. 不清楚之處, 查閱說明.機板型號, 只選Marvell Orion-NAS Reference Design若不想動到flash, 取消Memory Technology Device (MTD) support若要使用NFS server上的rootfs, 將NFS client support編入核心.編譯成功後, 將/usr/src/linux-3.1.10/arch/arm/boot/uImage, 上傳到TFTP server.2. rootfs, 也就是整個Linux OS. ALARM, Gentoo, Fedora, OpenWrt都有現成的rootfs, Debian可由debootstrap製作.測試初期, rootfs放在NFS server比較方便. 但因區網速度的關係, 執行速度較慢. 若rootfs放在硬碟, 執行速度快. 但測試期間, 硬碟反覆抽拔, 也顯得費事. USB硬碟/隨身碟則居於二者之間. 所以, 端看自己的選擇.
$ aria2c http://archlinuxarm.org/os/ArchLinuxARM-armv5te-latest.tar.gz
$ sudo tar -xzf ArchLinuxARM-armv5te-latest.tar.gz -C /mnt/nfs3. 接上console線, 進入U-Boot.
&#62;&#62; setenv bootargs 'console=ttyS0,115200 root=/dev/nfs nfsroot=192.168.1.1:/nas/alarm ip=dhcp noinitrd'
&#62;&#62; dhcp
&#62;&#62; tftpboot 800000 uImage
&#62;&#62; bootm 800000U-Boot指令, 輸入help, 自行參考.bootargs設定值, 參考Linux原始碼內的文件說明, Documentation/filesystems/nfs/nfsroot.txt開機所顯示的訊息, 可與原廠韌體的開機訊息比對, 進一步調校核心.好了, 如果編譯的核心沒出錯, 終端機則等候使用者登入. root的密碼也是root. 進入ALARM後, 再自行修改其他設定值.參考:1. 維基百科, Linux startup process2. 鳥哥, 開機流程, 模組管理與 Loader3. Arch Linux, Arch Boot Process4. IBM, Inside the Linux boot process
</description>
<content:encoded><![CDATA[<p>對使用者而言, NAS的人機介面就是WebUI. 如果您已滿足這層薄紗, 就不必往下看了. 因為接下來的操作, 都會影響到機器保固. 請自己量力而為. <br /><br />NAS或其他嵌入式設備所運行的操作系統, 幾乎都是精簡過的Linux OS. 通常是晶片製造商所提供的rootfs(Root file system). 這可減少所需佔用的flash空間大小, 降低整體成本. 但這個精簡過的Linux OS操作起來, 比之x86的Linux OS, 並不是那麼順手. 隨著材料技術的精進與flash價格的降低, 逐漸有廠商將Linux OS移植到flash. 例如: 迷你筋斗雲使用Fedora 12.<br /><br />NAS使用常見的Linux OS有甚麼好處? 一言以蔽之, 套件. 而Linux OS不是只有一種, 那未免太無趣了. x86的Linux OS, 某些網友可能玩過了. 支援arm的Linux OS, 相對較少. 參考<a href="http://en.wikipedia.org/wiki/Comparison_of_Linux_distributions#Architecture_support" onclick="window.open(this.href); return false;">Architecture support</a>.<br /><br />以下簡述NAS-34安裝ALARM(Arch Linux ARM), 從無到有的過程. 領悟之後, 也可套用到其他NAS, 安裝自己喜愛的Linux OS.<br /><br />事前準備:<br />1. 理解Linux開機流程. 參考文末連結網址.<br />2. 建立交叉編譯環境. 視自己使用的Linux OS而有所不同.<br />3. TFTP server.<br />4. NFS server. (亦可省略)<br />5. console線.<br />其中, TFTP server與NFS server可拿Tomato路由器來用即可.<br /><br />1. 核心, 驅動硬體. 頭痛的萬惡之源. 以ALARM來說, 目前使用v3.1.10. 到學術網路下載核心原始碼吧.<br /></p><code>$ aria2c ftp://ftp.isu.edu.tw/Linux/kernel/linux-3.1.10.tar.xz
$ tar -xJf linux-3.1.10.tar.xz -C Source
$ sudo ln -s /home/使用者/Source/linux-3.1.10 /usr/src/linux-3.1.10</code><p><br>編譯環境. 以Arch Linux來說,<br /></p><code># pacman -S base-devel</code><p><br>交叉編譯器, 先拿<a href="http://www.mentor.com/embedded-software/sourcery-tools/sourcery-codebench/editions/lite-edition/" onclick="window.open(this.href); return false;">CodeSourcery</a>來用.<br /></p><code>$ tar -xjf arm-2011.09-70-arm-none-linux-gnueabi-i686-pc-linux-gnu.tar.bz2 -C Toolchain</code><p><br>因U-Boot使用uImage, 需要mkimage程式. 由<a href="https://aur.archlinux.org/packages.php?ID=37798" onclick="window.open(this.href); return false;">AUR</a>撈吧. 視CPU, 先自行修改/etc/makepkg.conf<br /></p><code>$ cd AUR/uboot-mkimage
$ aria2c https://aur.archlinux.org/packages/ub/uboot-mkimage/uboot-mkimage.tar.gz
$ aria2c https://aur.archlinux.org/packages/ub/uboot-mkimage/PKGBUILD
$ makepkg -s
$ makepkg -i</code><p><br>由附檔nas-34.x86.sh, 編譯核心.<br /></p><code>$ ./nas-34.x86.sh</code><p><br>在選單中, 視需要挑選. 不清楚之處, 查閱說明.<br />機板型號, 只選Marvell Orion-NAS Reference Design<br />若不想動到flash, 取消Memory Technology Device (MTD) support<br />若要使用NFS server上的rootfs, 將NFS client support編入核心.<br />編譯成功後, 將/usr/src/linux-3.1.10/arch/arm/boot/uImage, 上傳到TFTP server.<br /><br />2. rootfs, 也就是整個Linux OS. ALARM, Gentoo, Fedora, OpenWrt都有現成的rootfs, Debian可由debootstrap製作.<br />測試初期, rootfs放在NFS server比較方便. 但因區網速度的關係, 執行速度較慢. 若rootfs放在硬碟, 執行速度快. 但測試期間, 硬碟反覆抽拔, 也顯得費事. USB硬碟/隨身碟則居於二者之間. 所以, 端看自己的選擇.<br /></p><code>$ aria2c http://archlinuxarm.org/os/ArchLinuxARM-armv5te-latest.tar.gz
$ sudo tar -xzf ArchLinuxARM-armv5te-latest.tar.gz -C /mnt/nfs</code><p><br>3. 接上console線, 進入U-Boot.<br /></p><code>&gt;&gt; setenv bootargs 'console=ttyS0,115200 root=/dev/nfs nfsroot=192.168.1.1:/nas/alarm ip=dhcp noinitrd'
&gt;&gt; dhcp
&gt;&gt; tftpboot 800000 uImage
&gt;&gt; bootm 800000</code><p><br>U-Boot指令, 輸入help, 自行參考.<br />bootargs設定值, 參考Linux原始碼內的文件說明, Documentation/filesystems/nfs/nfsroot.txt<br />開機所顯示的訊息, 可與原廠韌體的開機訊息比對, 進一步調校核心.<br /><br />好了, 如果編譯的核心沒出錯, 終端機則等候使用者登入. root的密碼也是root. 進入ALARM後, 再自行修改其他設定值.<br /><br />參考:<br />1. 維基百科, <a href="http://en.wikipedia.org/wiki/Linux_startup_process" onclick="window.open(this.href); return false;">Linux startup process</a><br />2. 鳥哥, <a href="http://linux.vbird.org/linux_basic/0510osloader.php" onclick="window.open(this.href); return false;">開機流程, 模組管理與 Loader</a><br />3. Arch Linux, <a href="https://wiki.archlinux.org/index.php/Arch_Boot_Process" onclick="window.open(this.href); return false;">Arch Boot Process</a><br />4. IBM, <a href="http://www.ibm.com/developerworks/library/l-linuxboot/index.html" onclick="window.open(this.href); return false;">Inside the Linux boot process</a></p>]]></content:encoded>
<pubDate>Fri, 18 May 2012 18:21:18 +0800</pubDate>
</item>
<item>
<title>RT-N16 官方新版韌體 ASUSWRT RT-N16_3.0.0.3 in 改機天堂 : 硬體及網路技術綜合討論區</title>
<link>http://digiland.tw/viewtopic.php?pid=9913#p9913</link>
<guid isPermaLink="false">9913@http://digiland.tw</guid>
<description>最新版韌體 RT-N16 3.0.0.3.116b來源:http://www.mobile01.com/topicdetail.php?f=110&#38;t=2530957&#38;p=12#35564123
</description>
<content:encoded><![CDATA[<p>最新版韌體 <a href="http://db.tt/gVr3t54l" onclick="window.open(this.href); return false;">RT-N16 3.0.0.3.116b</a><br /><br />來源:http://www.mobile01.com/topicdetail.php?f=110&amp;t=2530957&amp;p=12#35564123</p>]]></content:encoded>
<pubDate>Fri, 18 May 2012 02:25:00 +0800</pubDate>
</item>
<item>
<title>讓已刷成openwrt的tplink1043nd還原成原廠 (無luci介面) in 改機天堂 : 3rd party firmware 討論區</title>
<link>http://digiland.tw/viewtopic.php?pid=9911#p9911</link>
<guid isPermaLink="false">9911@http://digiland.tw</guid>
<description>有參考過這一篇嗎?TP-Link TL-WR1043ND - Revert Back Original FirmwareOpenWRT先改刷Gargoyle再從前面那一篇的流程刷回原廠韌體
</description>
<content:encoded><![CDATA[<p>有參考過這一篇嗎?<br /><a href="http://www.gargoyle-router.com/wiki/doku.php?id=tp-link_tl-wr1043nd" onclick="window.open(this.href); return false;">TP-Link TL-WR1043ND - Revert Back Original Firmware</a><br /><br />OpenWRT先改刷Gargoyle<br />再從前面那一篇的流程刷回原廠韌體</p>]]></content:encoded>
<pubDate>Thu, 17 May 2012 09:49:24 +0800</pubDate>
</item>
<item>
<title>讓已刷成openwrt的tplink1043nd還原成原廠 (無luci介面) in 改機天堂 : 3rd party firmware 討論區</title>
<link>http://digiland.tw/viewtopic.php?pid=9910#p9910</link>
<guid isPermaLink="false">9910@http://digiland.tw</guid>
<description>小弟有自己compile一個openwrt的bin只是不知道是哪裡出錯了 很像沒有包到luci現在機器刷成openwrt了 可以用telnet登入 只是無法進去網頁的192.168.1.1有辦法用下指令的方式還原嗎還是有其他還原的方法&#160; 謝謝分享~~~!
</description>
<content:encoded><![CDATA[<p>小弟有自己compile一個openwrt的bin<br />只是不知道是哪裡出錯了 很像沒有包到luci<br />現在機器刷成openwrt了 可以用telnet登入 只是無法進去網頁的192.168.1.1<br />有辦法用下指令的方式還原嗎<br />還是有其他還原的方法&nbsp; 謝謝分享~~~!</p>]]></content:encoded>
<pubDate>Wed, 16 May 2012 13:27:36 +0800</pubDate>
</item>
<item>
<title>Zyxel NBG-5715 DualBand 同步傳輸機種新選項? in 改機天堂 : 硬體及網路技術綜合討論區</title>
<link>http://digiland.tw/viewtopic.php?pid=9909#p9909</link>
<guid isPermaLink="false">9909@http://digiland.tw</guid>
<description>可能是初版韌體bug不少 網路評價不是那麼好 硬體規格有改機潛力 如果能換個韌體也許就能脫胎換骨
</description>
<content:encoded><![CDATA[<p>可能是初版韌體bug不少 網路評價不是那麼好 <br /><br />硬體規格有改機潛力 如果能換個韌體也許就能脫胎換骨</p>]]></content:encoded>
<pubDate>Tue, 15 May 2012 23:03:56 +0800</pubDate>
</item>
<item>
<title>在 RT-N16 上安裝 webcam 可行性? in 改機天堂 : 硬體及網路技術綜合討論區</title>
<link>http://digiland.tw/viewtopic.php?pid=9907#p9907</link>
<guid isPermaLink="false">9907@http://digiland.tw</guid>
<description>Lly@RT-N16-1.9.2.7-rtn-r4177Logitech QuickCam Pro 4000 insmod /opt/lib/modules/2.6.22.19/kernel/drivers/media/video/pwc/pwc.ko設640x480,可以看到畫面,但畫面更換速度極慢,慢到不會動.
</description>
<content:encoded><![CDATA[<p>Lly@RT-N16-1.9.2.7-rtn-r4177<br />Logitech QuickCam Pro 4000 <br />insmod /opt/lib/modules/2.6.22.19/kernel/drivers/media/video/pwc/pwc.ko<br />設640x480,可以看到畫面,但畫面更換速度極慢,慢到不會動.</p>]]></content:encoded>
<pubDate>Mon, 14 May 2012 22:33:16 +0800</pubDate>
</item>
<item>
<title>在 RT-N16 上安裝 webcam 可行性? in 改機天堂 : 硬體及網路技術綜合討論區</title>
<link>http://digiland.tw/viewtopic.php?pid=9905#p9905</link>
<guid isPermaLink="false">9905@http://digiland.tw</guid>
<description>Lly@RT-N16-1.9.2.7-rtn-r4177 + uvcwebcam + palantir 2.8pre3(擷取解析度設1024x576) + 楓樹瀏覽器 = 成功ipkg install palantir更新palantir 2.6為palantir 2.8pre3/opt/bin/palantir/opt/bin/sysfeed修改/opt/etc/palantir.conf參數VideoDevice /dev/video0VideoNorm NTSCFrameSize 1024x576modprobe uvcvideomodprobe v4l2_commonpalantir
May 13 13:54:46 [main] -- palantir 2.8pre3 starting --
May 13 13:54:46 [main] Definitions for 3 devices found
May 13 13:54:46 [main] No serial port specified
May 13 13:54:46 [main] No named pipe specified
May 13 13:54:46 [video] Trying V4L2 interface first
May 13 13:54:46 [video] Driver: uvcvideo
May 13 13:54:46 [video] Card:   UVC Camera (046d:08c2)
May 13 13:54:46 [video] Bus_info:       usb-0000:00:04.1-1.1.4
May 13 13:54:46 [video] Capabilities:   video_capture streaming
May 13 13:54:46 [video] Video input 0: type composite (&#34;Camera 1&#34;)
May 13 13:54:46 [video] control: Brightness [1:0-255/1]
May 13 13:54:46 [video] Found device definition for Brightness
May 13 13:54:46 [video] control: Contrast [1:0-255/1]
May 13 13:54:46 [video] control: Saturation [1:0-255/1]
May 13 13:54:46 [video] control: White Balance Temperature, Auto [2:0-1/1]
May 13 13:54:46 [video] control: Gamma [1:100-220/120]
May 13 13:54:46 [video] control: Gain [1:0-255/1]
May 13 13:54:46 [video] control: Power Line Frequency [3:0-2/1]
May 13 13:54:46 [video] Menu items:
May 13 13:54:46 [video]   Disabled
May 13 13:54:46 [video]   50 Hz
May 13 13:54:46 [video]   60 Hz
May 13 13:54:46 [video] control: White Balance Temperature [1:2800-6500/10]
May 13 13:54:46 [video] control: Sharpness [1:0-255/1]
May 13 13:54:46 [video] control: Backlight Compensation [1:0-2/1]
May 13 13:54:46 [video] available pixformat: MJPG* - MJPEG
May 13 13:54:46 [video] available pixformat: YUYV - YUV 4:2:2 (YUYV)
May 13 13:54:46 [video] trying BGR3...
May 13 13:54:46 [video] trying YU12...
May 13 13:54:46 [video] trying YUYV...
May 13 13:54:46 [video] YUYV supported with capture size 1024x576
May 13 13:54:46 [video] Actual capture size:    (1024x576)
May 13 13:54:46 [video] Image size: 1179648
May 13 13:54:46 [video] Colorspace: 8
May 13 13:54:46 [video] 2 mmap() buffers allocated
May 13 13:54:46 [video] mmap()ed buffer 0 (length 1179648, offset 0)
May 13 13:54:46 [video] mmap()ed buffer 1 (length 1179648, offset 1179648)
May 13 13:54:46 [video] Allocating yuv-&#62;rgb buffer (1769472 bytes)
May 13 13:54:46 [main] Starting device thread
May 13 13:54:46 [main] Listening on :: port 3000
May 13 13:54:46 [main] Control queue timeout set to 30 s
May 13 13:56:48 [main] ::ffff:192.168.1.21 - #0: connection accepted, spawning server.
May 13 13:56:48 [main] 1 client(s) connected
May 13 13:56:48 [main] ::ffff:192.168.1.21 - #0: connection accepted, spawning server.
May 13 13:56:48 [main] 2 client(s) connected
May 13 13:56:48 [main] Capture thread started
May 13 13:56:48 [http] ::ffff:192.168.1.21 - video server started
May 13 13:56:48 [http] ::ffff:192.168.1.21 - video server started
May 13 13:56:48 [http] ::ffff:192.168.1.21 - requested URL `/'
May 13 13:56:48 [http] ::ffff:192.168.1.21 - User-Agent: Mozilla/5.0 (Windows NT 5.1) AppleWebKit/535.11 (KHTML, like Gecko) Chrome/17.0.963.56 Safari/535.11 CoolNovo/2.0.2.26
May 13 13:56:48 [http] ::ffff:192.168.1.21 - streaming mode: continuous, open loop
May 13 13:56:53 [video] JPEG compression buffer resized to 64000
May 13 13:56:53 [main] Local JPEG buffer resized to 64000 (need 33362)
May 13 13:57:03 [http] ::ffff:192.168.1.21 - connection terminated
May 13 13:57:03 [http] ::ffff:192.168.1.21 - wrote 0 [+0] frames (0 bytes) in 15.00 s - 0.00 f/s, 0.00 kB/s, 0.00 kB/f
May 13 13:57:03 [main] 1 client(s) connected楓樹瀏覽器(不能用IE瀏覽器)http://192.168.1.1:3000就可以看到畫面了備註:要使用支援的解析度,如:YUYV supported with capture size 1024x576(啟動palantir時,會測試及告知支援的解析度)上一次的測試解析度用到了不支援的320x240所以失敗,感謝David Santinoli的提醒.
</description>
<content:encoded><![CDATA[<p>Lly@RT-N16-1.9.2.7-rtn-r4177 + uvcwebcam + palantir 2.8pre3(擷取解析度設1024x576) + 楓樹瀏覽器 = 成功<br /><br />ipkg install palantir<br /><br />更新palantir 2.6為<a href="http://webhd.xuite.net/_oops/arda.yang/opl" onclick="window.open(this.href); return false;">palantir 2.8pre3</a><br />/opt/bin/palantir<br />/opt/bin/sysfeed<br /><br />修改/opt/etc/palantir.conf參數<br />VideoDevice /dev/video0<br />VideoNorm NTSC<br />FrameSize 1024x576<br /><br />modprobe uvcvideo<br />modprobe v4l2_common<br />palantir<br /><br /></p><code>May 13 13:54:46 [main] -- palantir 2.8pre3 starting --
May 13 13:54:46 [main] Definitions for 3 devices found
May 13 13:54:46 [main] No serial port specified
May 13 13:54:46 [main] No named pipe specified
May 13 13:54:46 [video] Trying V4L2 interface first
May 13 13:54:46 [video] Driver: uvcvideo
May 13 13:54:46 [video] Card:   UVC Camera (046d:08c2)
May 13 13:54:46 [video] Bus_info:       usb-0000:00:04.1-1.1.4
May 13 13:54:46 [video] Capabilities:   video_capture streaming
May 13 13:54:46 [video] Video input 0: type composite (&quot;Camera 1&quot;)
May 13 13:54:46 [video] control: Brightness [1:0-255/1]
May 13 13:54:46 [video] Found device definition for Brightness
May 13 13:54:46 [video] control: Contrast [1:0-255/1]
May 13 13:54:46 [video] control: Saturation [1:0-255/1]
May 13 13:54:46 [video] control: White Balance Temperature, Auto [2:0-1/1]
May 13 13:54:46 [video] control: Gamma [1:100-220/120]
May 13 13:54:46 [video] control: Gain [1:0-255/1]
May 13 13:54:46 [video] control: Power Line Frequency [3:0-2/1]
May 13 13:54:46 [video] Menu items:
May 13 13:54:46 [video]   Disabled
May 13 13:54:46 [video]   50 Hz
May 13 13:54:46 [video]   60 Hz
May 13 13:54:46 [video] control: White Balance Temperature [1:2800-6500/10]
May 13 13:54:46 [video] control: Sharpness [1:0-255/1]
May 13 13:54:46 [video] control: Backlight Compensation [1:0-2/1]
May 13 13:54:46 [video] available pixformat: MJPG* - MJPEG
May 13 13:54:46 [video] available pixformat: YUYV - YUV 4:2:2 (YUYV)
May 13 13:54:46 [video] trying BGR3...
May 13 13:54:46 [video] trying YU12...
May 13 13:54:46 [video] trying YUYV...
May 13 13:54:46 [video] YUYV supported with capture size 1024x576
May 13 13:54:46 [video] Actual capture size:    (1024x576)
May 13 13:54:46 [video] Image size: 1179648
May 13 13:54:46 [video] Colorspace: 8
May 13 13:54:46 [video] 2 mmap() buffers allocated
May 13 13:54:46 [video] mmap()ed buffer 0 (length 1179648, offset 0)
May 13 13:54:46 [video] mmap()ed buffer 1 (length 1179648, offset 1179648)
May 13 13:54:46 [video] Allocating yuv-&gt;rgb buffer (1769472 bytes)
May 13 13:54:46 [main] Starting device thread
May 13 13:54:46 [main] Listening on :: port 3000
May 13 13:54:46 [main] Control queue timeout set to 30 s
May 13 13:56:48 [main] ::ffff:192.168.1.21 - #0: connection accepted, spawning server.
May 13 13:56:48 [main] 1 client(s) connected
May 13 13:56:48 [main] ::ffff:192.168.1.21 - #0: connection accepted, spawning server.
May 13 13:56:48 [main] 2 client(s) connected
May 13 13:56:48 [main] Capture thread started
May 13 13:56:48 [http] ::ffff:192.168.1.21 - video server started
May 13 13:56:48 [http] ::ffff:192.168.1.21 - video server started
May 13 13:56:48 [http] ::ffff:192.168.1.21 - requested URL `/'
May 13 13:56:48 [http] ::ffff:192.168.1.21 - User-Agent: Mozilla/5.0 (Windows NT 5.1) AppleWebKit/535.11 (KHTML, like Gecko) Chrome/17.0.963.56 Safari/535.11 CoolNovo/2.0.2.26
May 13 13:56:48 [http] ::ffff:192.168.1.21 - streaming mode: continuous, open loop
May 13 13:56:53 [video] JPEG compression buffer resized to 64000
May 13 13:56:53 [main] Local JPEG buffer resized to 64000 (need 33362)
May 13 13:57:03 [http] ::ffff:192.168.1.21 - connection terminated
May 13 13:57:03 [http] ::ffff:192.168.1.21 - wrote 0 [+0] frames (0 bytes) in 15.00 s - 0.00 f/s, 0.00 kB/s, 0.00 kB/f
May 13 13:57:03 [main] 1 client(s) connected</code><p><br>楓樹瀏覽器(不能用IE瀏覽器)<br /><a href="http://192.168.1.1:3000" onclick="window.open(this.href); return false;">http://192.168.1.1:3000</a><br />就可以看到畫面了<br /><br />備註:<br />要使用支援的解析度,如:<br />YUYV supported with capture size 1024x576<br />(啟動palantir時,會測試及告知支援的解析度)<br />上一次的測試解析度用到了不支援的320x240所以失敗,<br />感謝David Santinoli的提醒.</p>]]></content:encoded>
<pubDate>Sun, 13 May 2012 14:42:09 +0800</pubDate>
</item>
<item>
<title>Hurricane Electric 6in4 IPv6 測試 in 改機天堂 : Tomato firmware 討論區</title>
<link>http://digiland.tw/viewtopic.php?pid=9901#p9901</link>
<guid isPermaLink="false">9901@http://digiland.tw</guid>
<description>hippo 提到:1. 不需要. 對我而言, 使用HE只不過是過渡時期中, 沒辦法的辦法.2. 等候其他使用中華電信的網友文章吧.
小弟網路知識實在很差，在等待其他網友的教學，謝謝!
</description>
<content:encoded><![CDATA[<blockquote><div class="incqbox"><h4>hippo 提到:</h4><p>1. 不需要. 對我而言, 使用HE只不過是過渡時期中, 沒辦法的辦法.<br />2. 等候其他使用中華電信的網友文章吧.</p></div></blockquote><p>小弟網路知識實在很差，在等待其他網友的教學，謝謝!</p>]]></content:encoded>
<pubDate>Fri, 11 May 2012 21:59:50 +0800</pubDate>
</item>
<item>
<title>Hurricane Electric 6in4 IPv6 測試 in 改機天堂 : Tomato firmware 討論區</title>
<link>http://digiland.tw/viewtopic.php?pid=9900#p9900</link>
<guid isPermaLink="false">9900@http://digiland.tw</guid>
<description>1. 不需要. 對我而言, 使用HE只不過是過渡時期中, 沒辦法的辦法.2. 等候其他使用中華電信的網友文章吧.
</description>
<content:encoded><![CDATA[<p>1. 不需要. 對我而言, 使用HE只不過是過渡時期中, 沒辦法的辦法.<br />2. 等候其他使用中華電信的網友文章吧.</p>]]></content:encoded>
<pubDate>Fri, 11 May 2012 21:15:06 +0800</pubDate>
</item>
<item>
<title>在 RT-N16 上安裝 webcam 可行性? in 改機天堂 : 硬體及網路技術綜合討論區</title>
<link>http://digiland.tw/viewtopic.php?pid=9899#p9899</link>
<guid isPermaLink="false">9899@http://digiland.tw</guid>
<description>Lly@RT-N16 RT-N16-1.9.2.7-rtn-r4177內建(mjpg_streamer)webcam設定介面測試成功需用uvc規格的webcam,要用非ie瀏覽器才可以看的到palantir還是測不成功
May 11 21:06:34 [main] -- palantir 2.8pre3 starting --
May 11 21:06:34 [main] Definitions for 1 devices found
May 11 21:06:34 [main] No serial port specified
May 11 21:06:34 [main] No named pipe specified
May 11 21:06:34 [video] Trying V4L2 interface first
May 11 21:06:34 [video] Driver: uvcvideo
May 11 21:06:34 [video] Card:   UVC Camera (046d:08c2)
May 11 21:06:34 [video] Bus_info:       usb-0000:00:04.1-1.1.4
May 11 21:06:34 [video] Capabilities:   video_capture streaming
May 11 21:06:34 [video] Video input 0: type composite (&#34;Camera 1&#34;)
May 11 21:06:34 [video] control: Brightness [1:0-255/1]
May 11 21:06:34 [video] Found device definition for Brightness
May 11 21:06:34 [video] control: Contrast [1:0-255/1]
May 11 21:06:34 [video] control: Saturation [1:0-255/1]
May 11 21:06:34 [video] control: White Balance Temperature, Auto [2:0-1/1]
May 11 21:06:34 [video] control: Gamma [1:100-220/120]
May 11 21:06:34 [video] control: Gain [1:0-255/1]
May 11 21:06:34 [video] control: Power Line Frequency [3:0-2/1]
May 11 21:06:34 [video] Menu items:
May 11 21:06:34 [video]   Disabled
May 11 21:06:34 [video]   50 Hz
May 11 21:06:34 [video]   60 Hz
May 11 21:06:34 [video] control: White Balance Temperature [1:2800-6500/10]
May 11 21:06:34 [video] control: Sharpness [1:0-255/1]
May 11 21:06:34 [video] control: Backlight Compensation [1:0-2/1]
May 11 21:06:34 [video] available pixformat: MJPG* - MJPEG
May 11 21:06:34 [video] available pixformat: YUYV - YUV 4:2:2 (YUYV)
May 11 21:06:34 [video] trying BGR3...
May 11 21:06:34 [video] trying YU12...
May 11 21:06:34 [video] trying YUYV...
May 11 21:06:34 [video] YUYV supported with capture size 1024x576
May 11 21:06:34 [video] trying UYVY...
May 11 21:06:34 [video] trying BA81...
May 11 21:06:34 [video] trying GBRG...
May 11 21:06:34 [video] trying GRBG...
May 11 21:06:34 [video] trying RGGB...
May 11 21:06:34 [video] trying S561...
May 11 21:06:34 [video] No supported palette available for requested size, reverting to V4L
May 11 21:06:34 [video] GCAP: Invalid argument
May 11 21:06:34 [video] ** Fatal error: Could not get V4L1 device capabilities (running a V4L2-only driver?)
</description>
<content:encoded><![CDATA[<p>Lly@RT-N16 RT-N16-1.9.2.7-rtn-r4177<br />內建(mjpg_streamer)webcam設定介面測試成功<br />需用uvc規格的webcam,要用非ie瀏覽器才可以看的到<br /><br />palantir還是測不成功<br /></p><code>May 11 21:06:34 [main] -- palantir 2.8pre3 starting --
May 11 21:06:34 [main] Definitions for 1 devices found
May 11 21:06:34 [main] No serial port specified
May 11 21:06:34 [main] No named pipe specified
May 11 21:06:34 [video] Trying V4L2 interface first
May 11 21:06:34 [video] Driver: uvcvideo
May 11 21:06:34 [video] Card:   UVC Camera (046d:08c2)
May 11 21:06:34 [video] Bus_info:       usb-0000:00:04.1-1.1.4
May 11 21:06:34 [video] Capabilities:   video_capture streaming
May 11 21:06:34 [video] Video input 0: type composite (&quot;Camera 1&quot;)
May 11 21:06:34 [video] control: Brightness [1:0-255/1]
May 11 21:06:34 [video] Found device definition for Brightness
May 11 21:06:34 [video] control: Contrast [1:0-255/1]
May 11 21:06:34 [video] control: Saturation [1:0-255/1]
May 11 21:06:34 [video] control: White Balance Temperature, Auto [2:0-1/1]
May 11 21:06:34 [video] control: Gamma [1:100-220/120]
May 11 21:06:34 [video] control: Gain [1:0-255/1]
May 11 21:06:34 [video] control: Power Line Frequency [3:0-2/1]
May 11 21:06:34 [video] Menu items:
May 11 21:06:34 [video]   Disabled
May 11 21:06:34 [video]   50 Hz
May 11 21:06:34 [video]   60 Hz
May 11 21:06:34 [video] control: White Balance Temperature [1:2800-6500/10]
May 11 21:06:34 [video] control: Sharpness [1:0-255/1]
May 11 21:06:34 [video] control: Backlight Compensation [1:0-2/1]
May 11 21:06:34 [video] available pixformat: MJPG* - MJPEG
May 11 21:06:34 [video] available pixformat: YUYV - YUV 4:2:2 (YUYV)
May 11 21:06:34 [video] trying BGR3...
May 11 21:06:34 [video] trying YU12...
May 11 21:06:34 [video] trying YUYV...
May 11 21:06:34 [video] YUYV supported with capture size 1024x576
May 11 21:06:34 [video] trying UYVY...
May 11 21:06:34 [video] trying BA81...
May 11 21:06:34 [video] trying GBRG...
May 11 21:06:34 [video] trying GRBG...
May 11 21:06:34 [video] trying RGGB...
May 11 21:06:34 [video] trying S561...
May 11 21:06:34 [video] No supported palette available for requested size, reverting to V4L
May 11 21:06:34 [video] GCAP: Invalid argument
May 11 21:06:34 [video] ** Fatal error: Could not get V4L1 device capabilities (running a V4L2-only driver?)</code><p><br></p>]]></content:encoded>
<pubDate>Fri, 11 May 2012 21:08:07 +0800</pubDate>
</item>
<item>
<title>Hurricane Electric 6in4 IPv6 測試 in 改機天堂 : Tomato firmware 討論區</title>
<link>http://digiland.tw/viewtopic.php?pid=9898#p9898</link>
<guid isPermaLink="false">9898@http://digiland.tw</guid>
<description>備註:若ISP已支援IPv6, 就不必使用HE tunnel broker.
抱歉，請教一下，小弟ISP是中華電信，日前有申請IPv6 Dual Stack Service試用服務，請問還需要設定 Hurricane Electric 6in4 IPv6嗎??再請教前輩，是否會設定中華電信 IPv6 Dual Stack Service 於RT-N16 (韌體：tomato 1.28吐司超人衍生版)?謝謝 ~:thankgodPS：hinet來信告知，IPv6已竣工，可以試用
</description>
<content:encoded><![CDATA[<blockquote><div class="incqbox"><p>備註:若ISP已支援IPv6, 就不必使用HE tunnel broker.</p></div></blockquote><p>抱歉，請教一下，小弟ISP是中華電信，日前有申請IPv6 Dual Stack Service試用服務，請問還需要設定 Hurricane Electric 6in4 IPv6嗎??<br /><br />再請教前輩，是否會設定中華電信 IPv6<strong> Dual Stack Service</strong> 於RT-N16 (韌體：tomato 1.28吐司超人衍生版)?<br /><br />謝謝 ~:thankgod<br /><br />PS：hinet來信告知，IPv6已竣工，可以試用</p>]]></content:encoded>
<pubDate>Fri, 11 May 2012 09:39:52 +0800</pubDate>
</item>
<item>
<title>Zyxel NBG-5715 DualBand 同步傳輸機種新選項? in 改機天堂 : 硬體及網路技術綜合討論區</title>
<link>http://digiland.tw/viewtopic.php?pid=9896#p9896</link>
<guid isPermaLink="false">9896@http://digiland.tw</guid>
<description>這幾天都在爬文看支援DualBand同步傳輸的機種,市面上買得到的除了Asus RT-N66U,似乎也只剩下Zyxel NBG-5715網路上相關資訊並不多,但是有個關鍵資訊就是Zyxel NBG-5715核心技術是採用OpenWRT,再看一下硬體規格,發現可玩性還不少..硬體規格：CPU1: Mindspeed Comcerto 1000 (M83241G-13)CPU2: Ralink RT3883變相雙核CPU??FLASH: 16 MB (Samsung K9F1G08U0C-PCB0)RAM1: 128 MB (Nanya NT5TU32M16CG-25C x 2)RAM2: 64 MB (Nanya NT5TU32M16CG-25C)合計有172MB RAM??USB ports: USB 2.0 x2 LAN ports: 10/100/1000 x4WAN ports: 10/100/1000 x1Simultaneous Dual-Band 802.11abgn請有玩過捧油可否說說使用心得?網路上參考資料https://forum.openwrt.org/viewtopic.php?id=33652http://www.wikidevi.com/wiki/ZyXEL_NBG5715
</description>
<content:encoded><![CDATA[<p>這幾天都在爬文看支援DualBand同步傳輸的機種,市面上買得到的除了Asus RT-N66U,似乎也只剩下Zyxel NBG-5715<br />網路上相關資訊並不多,但是有個關鍵資訊就是Zyxel NBG-5715核心技術是採用<a href="https://forum.openwrt.org/viewtopic.php?id=33652" onclick="window.open(this.href); return false;">OpenWRT</a>,<br />再看一下硬體規格,發現可玩性還不少..<br /><br />硬體規格：<br />CPU1: Mindspeed Comcerto 1000 (M83241G-13)<br />CPU2: Ralink RT3883<br /><span style="color: blue">變相雙核CPU??</span><br />FLASH: 16 MB (Samsung K9F1G08U0C-PCB0)<br />RAM1: 128 MB (Nanya NT5TU32M16CG-25C x 2)<br />RAM2: 64 MB (Nanya NT5TU32M16CG-25C)<br /><span style="color: blue">合計有172MB RAM??</span><br />USB ports: USB 2.0 x2 <br />LAN ports: 10/100/1000 x4<br />WAN ports: 10/100/1000 x1<br />Simultaneous Dual-Band 802.11abgn<br /><br />請有玩過捧油可否說說使用心得?<br /><br /><img class="postimg" src="http://www.zyxel.com/uploads/images/20110128134359/img_nbg5715_p_01_380.gif" alt="http://www.zyxel.com/uploads/images/20110128134359/img_nbg5715_p_01_380.gif" /><br /><br /><br />網路上參考資料<br /><a href="https://forum.openwrt.org/viewtopic.php?id=33652" onclick="window.open(this.href); return false;">https://forum.openwrt.org/viewtopic.php?id=33652</a><br /><a href="http://www.wikidevi.com/wiki/ZyXEL_NBG5715" onclick="window.open(this.href); return false;">http://www.wikidevi.com/wiki/ZyXEL_NBG5715</a></p>]]></content:encoded>
<pubDate>Thu, 10 May 2012 11:10:55 +0800</pubDate>
</item>
<item>
<title>安裝 MRTG 功能～偵測 CPU 及 RAM 的負載量 in 改機天堂 : Optware 套件討論區</title>
<link>http://digiland.tw/viewtopic.php?pid=9894#p9894</link>
<guid isPermaLink="false">9894@http://digiland.tw</guid>
<description>不知是不是RT-N13U太新了，用 sar 跑不出來目前機器 CPU &#38; RAM 的狀況一執行就出現錯誤
root@DD-WRT:~# /opt/share/www/mrtg/mrtg.ram

/opt/bin/sar: can't handle reloc type 47

/opt/bin/sar: can't handle reloc type 47

9 min, load
RT-N13U
</description>
<content:encoded><![CDATA[<p>不知是不是RT-N13U太新了，用 sar 跑不出來目前機器 CPU &amp; RAM 的狀況<br />一執行就出現錯誤<br /></p><code>root@DD-WRT:~# /opt/share/www/mrtg/mrtg.ram

/opt/bin/sar: can't handle reloc type 47

/opt/bin/sar: can't handle reloc type 47


9 min, load
RT-N13U</code><p><br></p>]]></content:encoded>
<pubDate>Tue, 08 May 2012 23:07:26 +0800</pubDate>
</item>
</channel>
</rss>

