影音天地主旨 ﹝請按主旨作出回應﹞  上頁  下頁  首頁  尾頁 寄件者 傳送日期 由舊至新 由新至舊
[#41] Cubieboard A20 Setup Guide    
lw 兄,
老實說, 我的 pogoplug, cubox, cubieboard, pi, AMD Geode LX800 都比較過. 音質上不是有大分別. 至少我不能在一聽(沒有AB比)的情況下能聽到有分別.
但用 Jplay dual PC, 行 kernel streaming. Audio PC 用win2012+fine tuning service.係一聽便能聽出有明顯分別. 比上述的好聲好多.

不過, 除左音色輸之外, 上述的有其優勢, 是:
1. 價錢
2. 大少
3. 使用界面
4. 用電/熱量

但如果要攪 compile kernel 又或者太多野, 我諗會失左佢的優勢.
beeos
個人訊息 正式會員
218.xxx.xxx.131
2013-10-16 10:22
[#42] Cubieboard A20 Setup Guide    
beeos ching,
十分認同在ARM 的架構下Linux mpd, pogoplug, Raspberry Pi 音質上分別不是很大,但在dc 供電上反而有大大的分别。曾經在dc 5v供電 上,比較用Nichicon 10000uf , 同用ROE cap, 同数值,Nichicon 可以感動,而ROE 可以"走"音,朋友幫耳下試音作出的評語,所以注意力放在LPS及電容的表現。
lw
個人訊息 正式會員
203.xxx.xxx.38
2013-10-16 12:12
[#43] Cubieboard A20 Setup Guide    
玩DIY或玩電子太易著眼於電子零件選用上這等細節, 耐不耐要退後D睇, 個世界可以好大, 條條大路通羅馬.
beeos
個人訊息 正式會員
218.xxx.xxx.131
2013-10-16 14:26
[#44] Cubieboard A20 Setup Guide    
玩Hifi講求平衡,mix&match,耳仔收貨,大牌子贵在調音,故用平價中性線材反而好聲.

我不懂電子,但相信電對hifi非常重要,正如部cubieboard加了ifi usb power 後好聲好多,適當改善電源一定有幫助.

其實compile 個kernel只需打幾個commands,比起改電子簡單好多,但可針對自己的要求加减components,分毛不须但對音色改善好大.

以前玩Linn DS,每以update完software都有驚喜,非常佩服.

最後修改時間: 2013-10-16 20:10:34
benngcp
個人訊息 正式會員
120.xxx.xxx.245
2013-10-16 19:55
[#45] Cubieboard A20 Setup Guide    
個wifi攪掂,mubox冇裝到wpasupplicant,自己install返就得。
但係個mpd就好多問題,第一我改返bind_to_address做any會start唔到mpd,用localhost先得。第二我播播吓歌突然sa sa聲,嚇鬼死。第三就有時play唔到aif,出
ERROR: Failed to decode xxxxx
之前自己裝嘅mpd 0.16返而冇乜大問題,只係間唔中auto start唔到,要ssh入去人手start

之前諗住攪掂後再整返隻PSU玩,都係放棄
kc2wong
個人訊息 正式會員
112.xxx.xxx.164
2013-10-16 23:33
[#46] Cubieboard A20 Setup Guide    
kc2wong 兄,
為何一定要WIFI? 我覺得原裝的好好,好穩定.
beeos
個人訊息 正式會員
42.xxx.xxx.200
2013-10-17 00:28
[#47] Cubieboard A20 Setup Guide    
冇辦法,我放機個位離開個router有一段距離。我都幾肯定唔關個wifi事,我尋晚都只係暫事抄幾隻個去張sdcard度試。
之前一直用開舊版mpd或squeezelite都冇問題,我就覺得係個aif decoder的問題
kc2wong
個人訊息 正式會員
118.xxx.xxx.42
2013-10-17 08:19
[#48] Cubieboard A20 Setup Guide    
請問有無人用 Mubox on Cubieboard2? 我用左三星期, 覺得好正, 好穩定, 但好似唔係real time kernel. 唔知有無人識點攪?
謝謝.
beeos
個人訊息 正式會員
218.xxx.xxx.131
2013-11-04 17:12
[#49] Cubieboard A20 Setup Guide    
BeeOS hing,
我用緊github.com/linux-sunxi/linux-sunxi -b sunxi-3.4
Realtime patch 可以在這裏download: http://cb2.autostatic.com/linux-sunxi-rt/patch-3.4.61-sunxi-rt77.diff.gz

但kernel version 已upgrade到3.4.67,吾清楚上面個3.4.61的realtime patch work 吾work.
benngcp
個人訊息 正式會員
120.xxx.xxx.158
2013-11-06 08:12
[#50] Cubieboard A20 Setup Guide    
各位師兄,很想一試A20的實力,淘寶雙12, 剛拍了1個有A20 的MELE A100, 只要RMB197,有殼齊CONNECTOR.... 我想裝VOYAGE MUBOX. 不知是否需要用別的BOOTLOADER?
mac-bug
個人訊息 正式會員
103.xxx.xxx.30
2013-12-02 11:27
[#51] Cubieboard A20 Setup Guide    
琴晚試左,個CUBIEBOARD2 VOYAGE MUBOX IMAGE係MELE A100B 完全BOOT唔起,閃一輪燈就自動熄機...過兩日得閒要COMPILE過個BOOTLOADER再試...

https://github.com/linux-sunxi/u-boot-sunxi/wiki
mac-bug
個人訊息 正式會員
103.xxx.xxx.30
2013-12-04 10:05
[#52] Cubieboard A20 Setup Guide (update for Cubietruck)    
I have setup the Cubietruck for my Chord DSD USB DAC using Voyage OS with built-in MPD with realtime patch. Sounds Great!!! Below is the guide for your reference:

1) Create Bootable SD card and flash nand linaro server

http://www.mediafire.com/download/drbbki14ipaasdq/CTDebian_1.5_vga.zip

Root password : 1234

http://dl.cubieboard.org/software/a20-cubietruck/lubuntu/ct-lubuntu-nand-v1.00/ct-lubuntu-server-20131026/lubuntu-server-nand.img.gz


2) Copy Voyage Mubox rootfs files

mkfs.ext4 /dev/nandb
mount /dev/nandb /tmp

curl http://mirror.voyage.hk/download/voyage-mubox/voyage-mubox-current.tar.xz | tar --numeric-owner -Jxf - -C /tmp/

curl http://mirror.voyage.hk/download/voyage-mubox/cubieboard2/kernel-cubieboard2-latest.tar.xz | tar --numeric-owner -Jxf - -C /tmp/

3) Compile realtime kernel

Insert SD Card and boot up the Debian in the SD Card

apt-get install libnl1 libnl-dev libssl-dev wpasupplicant bridge-utils curl wget dkms build-esstenials unzip

Resize Nand to maximum 8 Gb

cd /root

git clone git://github.com/cubieboard/sunxi-tools
Cubietruck Voyage MPD setup guide
cd /root/sunxi-tools
make

./nand-part -f a20 /dev/nand 32768 'boot 131072' 'rootfs 14778368'
reboot
resize2fs /dev/nandb



Download Kernel Source 3.4.61

cd /root

git clone git://github.com/cubieboard/linux-sunxi -b cubie/sunxi-3.4

cd /root/linux-sunxi

Modify Kernel Source (avoid compile error related to power management)

nano arch/arm/mach-sun7i/pm/standby/mem_printk.c

line 168:
char digit_string[] = "0123456789ABCDEF";
to: char * digit_string = "0123456789ABCDEF";

line 213:
char digit_string[] = "0123456789ABCDEF";
to: char* digit_string = "0123456789ABCDEF";

line 369:
char fill_ch[] = " ";
to: char* fill_ch = " ";

Download Realtime Patch 3.4.61

wget https://www.kernel.org/pub/linux/kernel/projects/rt/3.4/older/patch-3.4.61-rt77.patch.xz

unxz patch*
nano patch*

Modify Realtime Patch (search ‘timertd.c’ and change as below)

diff --git a/fs/timerfd.c b/fs/timerfd.c
index a765bd5..56ad6ad 100644
--- a/fs/timerfd.c
+++ b/fs/timerfd.c
@@ -385,7 +385,7 @@ SYSCALL_DEFINE4(timerfd_settime, int, ufd, int, flags,
break;
}
spin_unlock_irq(&ctx->wqh.lock);
- cpu_relax();
+ hrtimer_wait_for_timer(&ctx->t.tmr);
}

/*

Compile the Kernel

git clone git://github.com/cubieboard/cubie_configs

cp cubie_configs/kernel-configs/3.4/cubietruck_defconfig .config
make menuconfig

enable the following feature with “*” by pressing spacebar
Kernel features -> 1G/3G user/kernel split
CPU power management -> CPU scaling -> Default = Performance
Device Driver -> USB Sound -> Soc Sound -> Sun4i and Sun5i default spdif

make -j2
mount /dev/nandb /tmp
make modules_instal INSTALL_MOD_PATH=/tmp
cp -r /root/kernel-source /tmp/root/
umount /tmp
mount /dev/nanda /tmp
make ARCH=arm uImage
cp arch/arm/boot/uImage /tmp/

Generate the boot up script

cp cubie_configs/sysconfig/linux/cubietruck.fex /root/sunxi-tools

nano /root/sunxi-tools/cubietruck.fex

(modify the usb detect type from 1 to 0 to solve the CPU overload problem)
[usbc0]
usb_detect_type = 0

/root/sunxi-tools/fex2bin cubietruck.fex /tmp/script.bin

poweroff

Take out the SD Card and turn on the power (you should be able to boot up with voyage using the self-complied real time kernel 3.4.61)

4) Compile USB driver (optional)

Direct the kernel source to the kernel source stored in the nand
cd /lib/modules/3.4.61-rt77+/
mv build build.bak
mv source source.bak
ln -s /root/linux-sunxi build
ln -s /root/linux-sunxi source


Compile the USB driver (it is for Chord or Hiface Sound Card, you may need install another driver if the built-in usb2.0 driver cannot support your sound card)

cd /root/
git clone git://github.com/panicking/snd-usb-asyncaudio.git
dkms add ./snd-usb-asyncaudio
dkms autoinstall

5) Setup WiFi access point

Copy the latest wifi firmware to the library
http://dl.cubieforums.com/patwood/ap6210.zip
unzip ap6210.zip /lib/firmware/

Install the latest Access Point software
git clone git://w1.fi/srv/git/hostap.git
cd hostap
make install

Enable the network bridge
nano /etc/sysctl.conf
net.ipv4.ip_forward=1

Setup the Access Point configuration

nano /etc/hostapd.conf
-----------------------------/etc/hostpad.conf-------------------------------
ssid=Cubietruck
interface=wlan0
hw_mode=g
channel=1
bridge=br0
logger_syslog=0
logger_syslog_level=0
wmm_enabled=0
wpa=2
preamble=1
wpa_psk=66eb31d2b48d19ba216f2e50c6831ee11be98e2fa3a8075e30b866f4a5ccda27
wpa_passphrase=1234
wpa_key_mgmt=WPA-PSK
wpa_pairwise=TKIP
rsn_pairwise=CCMP
auth_algs=1
macaddr_acl=0
own_ip_addr=192.168.0.4
max_num_sta=20
-----------------------------/etc/hostpad.conf-------------------------------


Setup the network

nano /etc/network/interfaces
-----------------------------/etc/network/interfaces---------------------------------
auto lo br0
iface lo inet loopback
allow-hotplug eth0
iface eth0 inet manual
allow-hotplug wlan0
iface wlan0 inet manual
iface br0 inet dhcp
bridge_ports eth0 wlan0
bridge_hw xx:xx:xx:xx:xx:xx
#fix the ip address of xx:xx:xx:xx:xx:xx
-----------------------------/etc/network/interfaces---------------------------------

Load the required modules on boot

nano /etc/modules
-----------------------------/etc/modules--------------------------------------
# /etc/modules: kernel modules to load at boot time.
#
# This file contains the names of kernel modules that should be loaded
# at boot time, one per line. Lines beginning with "#" are ignored.
# Parameters can be specified after the module name.
bcmdhd op_mode=2
bridge
hostap
bluetooth
snd-usb-hiface
-----------------------------/etc/modules--------------------------------------

Enable the Access Point on boot

nano /etc/rc.local
-----------------------/etc/rc.local--------------------------
#!/bin/sh -e
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
#
# By default this script does nothing.
/usr/local/bin/hostapd -B /etc/hostapd.conf
exit 0
-----------------------/etc/rc.local--------------------------


6) Configure the MPD

Map the network drive using NFS (Note: xxx and yyyy are the ip address and music directory of your NAS)

nano /etc/fstab
----------------------/etc/fstab---------------------
192.168.x.xxx:/yyyy /mnt/public nfs soft,rsize=130048,wsize=4096,fg,retry=0 0 0
----------------------/etc/fstab---------------------

ln -s /mnt/public /var/lib/mpd/music/public


Setup the webserver for album art

Change the Voyage web admin port from 80 to 8080 to avoid the conflict with the webserver

nano /etc/nginx/sites-available/voyage.local
------------------/etc/nginx/sites-available/voyage.local---------------------------
listen 8080;
------------------/etc/nginx/sites-available/voyage.local---------------------------

reboot

apt-get install lighttpd

nano /etc/lighttpd/lighttpd.conf

--------------------/etc/lighttpd/lighttpd.conf----------------
server.port = 80server.username = "http"
server.groupname = "http"
server.document-root = "/var/lib/mpd/music/"
server.errorlog = "/var/log/lighttpd/error.log"
mimetype.assign = ( ".jpg" => "image/jpeg" )
--------------------/etc/lighttpd/lighttpd.conf----------------

chmod 777 /var/log/lighttpd

useradd http


Setup the MPD

nano /etc/mpd.conf
--------------------------------/etc/mpd.conf----------------------------------
# Enable built-in 3.5mm phone jack with support up to 16.44
audio_output {
type "alsa"
name "Phone"
device "hw:0,0"
priority "FIFO:32"
format "44100:16:2" optional
mixer_device "default" optional
mixer_control "PCM" optional
mixer_index "0" optional
dsd_usb "no"
}

# Enable built-in spdif with support up to 16.44
audio_output {
type "alsa"
name "Optical"
device "hw:1,0"
priority "FIFO:32"
format "44100:16:2" optional
mixer_device "default" optional
mixer_control "PCM" optional
mixer_index "0" optional
dsd_usb "no"
}

# Define the secondary sound card, for used by USB-DAC
audio_output {
type "alsa"
name "Chord"
device "hw:2,0"
priority "FIFO:32"
dsd_usb "yes"
}


--------------------------------/etc/mpd.conf----------------------------------
benngcp
個人訊息 正式會員
210.xxx.xxx.196
2014-02-02 23:10
[#53] Cubieboard A20 Setup Guide (update for Cubietruck)    
To install nand image, please refer to cubieboard.org

forgot to mention below to patch the realtime patch before compile the kernel:

patch -p1 < patch*

Also, I found a typo modules_instal should be modules_install

最後修改時間: 2014-02-03 00:03:00
benngcp
個人訊息 正式會員
210.xxx.xxx.196
2014-02-02 23:59
[#54] Cubieboard A20 Setup Guide (update for Cubietruck)    
bennycp hing,
I try to follow your tutorial in #52. For the first step, why are there two links?

I guess you try to install Linaro server onto the nano of cubie, so the second link is the Linaro server image. How about the first link? Also, I downloaded PhoenixSuit, installed the drivers, it shows my cubie is a usb device, which means it enters the FEL Mode, but the PhonixSuit still shows not connected. Do you have any idea? Thanks
beeos
個人訊息 正式會員
42.xxx.xxx.30
2014-02-03 22:37
[#55] Cubieboard A20 Setup Guide (update for Cubietruck)    
Beeos,

The first link is for SDCard and second is for nand. You are right that we should use PhoenixSuit to flash the nand image on second link. Nand will have two partitions and we need keep the first partition for boot files and format the second partition to copy the Voyage files.

Once you finish to flash the nand image, you can boot the Cubietruck using the Sdcard to setup the Voyage and compile kernel.
benngcp
個人訊息 正式會員
120.xxx.xxx.244
2014-02-04 08:27
[#56] Cubieboard A20 Setup Guide (update for Cubietruck)    
bennycp 兄,
因為我只有CB2, 無CB TRUCK, 我估好似NAND只有一個.
我研究下先, 謝謝.
beeos
個人訊息 正式會員
202.xxx.xxx.140
2014-02-04 10:07
[#57] Cubieboard A20 Setup Guide (update for Cubietruck)    
The device is nand and the partition is nanda and nandb or nand1 and nand2.

Cubieboard 2 and Cubietruck are similar in the setup except the kernel and boot script. Therefore, you can flash the nand image for cubieboard2 in order to get the correct boot file.
benngcp
個人訊息 正式會員
120.xxx.xxx.244
2014-02-04 13:00
[#58] Cubieboard A20 Setup Guide (update for Cubietruck)    
Which linux version / distribution you use?
I get the error unable to locate "build-essentials"

I use cubieez (http://cubieboard.org/2013/12/21/a-debian-image-for-cubieboard2-cubieez/)
and ubuntu 12.04 32bit running on virtual machine (x86)
both can't find build-essentials

also, the lubuntu-server-nand.img (http://dl.cubieboard.org/software/a20-cubietruck/lubuntu/ct-lubuntu-nand-v1.00/ct-lubuntu-server-20131026/lubuntu-server-nand.img.gz) can't boot up in my case.

最後修改時間: 2014-02-04 19:07:09
beeos
個人訊息 正式會員
42.xxx.xxx.30
2014-02-04 19:05
[#59] Cubieboard A20 Setup Guide (update for Cubietruck)    
i build the kernel using the cubietruck booted with the sdcard flashed with Debian on my first link.

The nand image is for cubietruck and you can try the one for cb2 as below:

http://dl.cubieboard.org/software/a20-cubieboard/lubuntu/cb-a20-lubuntu-12.10-v1.06/cb2-lubuntu-server-20131026/



最後修改時間: 2014-02-04 21:31:03
benngcp
個人訊息 正式會員
120.xxx.xxx.30
2014-02-04 21:28
[#60] Cubieboard A20 Setup Guide (update for Cubietruck)    
Thanks benngcp hing,
I guess I have made to the step:
"cp -r /root/kernel-source /tmp/root/"
But I can't do this step, you mean to copy "linux-sunxi" to "/root" of nand drive?
beeos
個人訊息 正式會員
202.xxx.xxx.140
2014-02-05 09:41
主旨內容一共有 4 頁,每頁顯示 20 個信息,選擇頁數:  上頁  下頁  首頁  尾頁
按照傳送日期顯示:由舊至新由舊至新  由新至舊由新至舊
最新資訊 - 市場
百搭高級音響有限公司The Sound Chamber 2025-10-21

最新資訊 - 市場
駿韻音響有限公司Wise Sound Supplies Ltd. 2025-10-21

最新資訊 - 影音
採用 PC-Triple C 導體,SAEC 推出三款「SE-400」系列接地線新型號 2025-10-21

最新資訊 - 影音
Esoteric 宣布推出 K-01XD SE、K-03XD SE 兩款黑色(Black Edition)SE 版本 2025-10-18

最新資訊 - 影音
USHER 發表全新 NEREO ND-1 書架式喇叭 2025-10-17

最新資訊 - 影音
MAGNETAR UDP800 MKII 高階 4K 藍光/SACD 宇宙盤精煉再進化 2025-10-15

最新資訊 - 影音
首創「動圈+壓電」雙混合單元 - AVIOT 旗艦之作 TE-J2 入耳式藍牙耳機 2025-10-15

最新資訊 - 影音
Yamaha 宣布將子公司 Steinberg Media Technologies GmbH(史坦伯格) 的硬體產品事業正式移交至 Yamaha 本體名下 2025-10-14