聚會時間公告: 因應COSCUP 2011, Kalug 8月份休會一次

一月 12, 2013
» FreedomBox (with DreamPlug) 開箱文(上)

要介紹FreedomBox首先要看一下James Vasile的這段影片,


某日下午在捷運站前咖啡廳獲得 FreedomBox 購物袋。

裡面是一台DreamPlug!

怎麼被簽字筆畫的亂七八招?這個難道是 ebay 標回來所謂的"九成新"?

Wait… James. 不是本文開頭影片中髮量稀疏的型男嗎?法律博士兼FreedomBox Foundation執行長的 James?

原來是這台機器的主人(洪朝貴 教授)大力支持這個計畫,在 kickstarter 贊助 FreedomBox 所得到的 FreedomBox 核心團隊簽名的紀念機種。

FreefomBox CommunityAngel

Pledge $1,500 or more
16 backers
In honor of your generosity, the FreedomBox Foundation team will personally sign your custom plug computer and we will laser etch each one with a serial number to show that you helped at the very beginning. First pledged, first in line for early numbered plugs. (Shipping included) (Note: this reward replaces the unsigned plug computer offered at the previous pledge level but does include all other rewards above it on the list)

讓我們回歸正題,把箱子繼續開下去。

原來這箱子有兩層!!還沒繼續開下去我就已經對這台設備如此用心的包裝感動不已,這精美的紙箱設計簡直可與台北設計獎工業設計類金獎作品相比。

掀開第一層精美的瓦怔紙箱,第二層出現的是橫式車檔貼紙、說明書與紀念CD。

電源線、USB線、網路線(比電源線還粗)、freedombox隨身碟、兩種不同的插座頭、後擋板… hum… 這個黑黑的小盒子是甚麼?

居然是JTAG Board!我在某公司做Embedded Linux這麼多年也沒看過幾台JTAG Board!隨機出貨配 JTAG Board… 這… 老實說這還真不賴。

回過頭來關心一下DreamPlug的本體。
本體分成兩塊,上面是Power module,下面則是主機。Power module也可以換成後擋板外接變壓器。

一側是UART、USB、RESET Button、光纖、JTAG、Two Gigabit Ethernet 。

另一側,噯呀拿斜了… 另一側就是MicPhone, Audio Output, ESATA, SD 跟另一個USB。

以上,接下來讓我們開機連看看…

不過剛好桌子有點小,加上要電源跟網路孔。所以就拿Raspberry Pi來連DreamPlug。
(是的… 我還可以搞的更複雜一點。)

Raspberry Pi 好小好可愛啊。(大心) 迷之音:想買的話 Ruten 已經買的到囉。

DreamPlug的JTAG Board也是一個USB Serial Device,一端接上Pi後及出現。

[1599192.516016] usb 5-1: new full-speed USB device number 2 using uhci_hcd
[1599192.730036] usb 5-1: New USB device found, idVendor=9e88, idProduct=9e8f
[1599192.730042] usb 5-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[1599192.730046] usb 5-1: Product: SheevaPlug JTAGKey FT2232D B
[1599192.730049] usb 5-1: Manufacturer: FTDI
[1599192.730052] usb 5-1: SerialNumber: FTU80D0N
[1599192.886655] usbcore: registered new interface driver usbserial
[1599192.886672] usbcore: registered new interface driver usbserial_generic
[1599192.886684] USB Serial support registered for generic
[1599192.886692] usbserial: USB Serial Driver core
[1599192.901602] usbcore: registered new interface driver ftdi_sio
[1599192.901620] USB Serial support registered for FTDI USB Serial Device
[1599192.901761] usb 5-1: Ignoring serial port reserved for JTAG
[1599192.901799] ftdi_sio 5-1:1.1: FTDI USB Serial Device converter detected
[1599192.901844] usb 5-1: Detected FT2232C
[1599192.901846] usb 5-1: Number of endpoints 2
[1599192.901849] usb 5-1: Endpoint 1 MaxPacketSize 64
[1599192.901851] usb 5-1: Endpoint 2 MaxPacketSize 64
[1599192.901854] usb 5-1: Setting MaxPacketSize 64
[1599192.904137] usb 5-1: FTDI USB Serial Device converter now attached to ttyUSB0
[1599192.904157] ftdi_sio: v1.6.0:USB FTDI Serial Converters Driver

接著

pi@raspberrypi ~ $ screen /dev/ttyUSB0 115200

插上電之後就可以看到u-boot的畫面了。

U-Boot 2012.04.01 (Jun 01 2012 - 02:17:08)
Marvell-DreamPlug

SoC:   Kirkwood 88F6281_A1
DRAM:  512 MiB
WARNING: Caches not enabled
SF: Detected MX25L1605D with page size 64 KiB, total 2 MiB
In:    serial
Out:   serial
Err:   serial
Net:   egiga0, egiga1
88E1116 Initialized on egiga0
88E1116 Initialized on egiga1
Hit any key to stop autoboot:  0 
Marvell>> 

不過我們不用一開始從 u-boot.kwb 裝,因為這台機器的主人是FreedomBox社群天使… 裡面所有的東西都裝好了。

FreefomBox CommunityAngel

再一連串的initial script後,可以Login了。

Debian GNU/Linux wheezy/sid freedombox ttyS0

freedombox login:                

開起來了,開起來了!!快,快用root登入… 密碼是… f…ree…dom。 密碼都這麼自由,真是太酷了…

freedombox login: root           
Password: 
Last login: Sat Jan  1 00:26:53 UTC 2000 on ttyS0
Linux freedombox 3.2.0-3-kirkwood #1 Mon Jul 23 22:36:47 UTC 2012 armv5tel

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
root@freedombox:~# 
root@freedombox:~# 
root@freedombox:~# 

喔喔喔喔…. 可以登入了耶!!!

啊不就是一台Debian……………囧

等等… 說好的自由呢?

那… 就是下一篇囉,呵呵。

The post FreedomBox (with DreamPlug) 開箱文(上) appeared first on Kevinwatt's Blog.

十月 15, 2012
» MooresCloud & RaspberryPi

MooresCloud 不談Hardware只談燈的Linux device. (迷之音: 你是不是把Linux跟OSX的市場搞混了…)

$35的RaspberryPi Model B升級到512MB了. (迷之音: DRAM廠都倒光了你才加個128MB… )
Model B now ships with 512MB of RAM

The post MooresCloud & RaspberryPi appeared first on Kevinwatt's Blog.

support:

biggo.com.tw

A Django site.