兩聲道
CD機 | MD機 | SACD機 | DAC | CAS | 合拼擴音機 | 前級擴音機 | 後級擴音機 | 接線 | 喇叭線 | 揚聲器 | 耳機 | 耳機擴音機 | LP產品 | 膽機產品 | 開卷式錄音機 | 音響配件 | DIY音響 | 電源 | 家庭影院
電視機 | 投影機 | 錄影機 | DVD影碟機 | Blu-ray影碟機 | 多媒體播放器 | 機頂盒 | 多聲道擴音機 | 多聲道揚聲器 | 多聲道影音組合 | Mini音響組合 | 重低音揚聲器 | 輔助設備 | 同好會
同好會 | Accuphase | B&W | Burmester | Denon | Jadis | KEF | KRELL | Luxman | Marantz | Nuforce | OPPO | Pioneer | TEAC | WEISS | News
News | Blog | 其他
其他 | 所有 |
影音天地主旨 ﹝請按主旨作出回應﹞ 下頁 尾頁 | 寄件者 | 傳送日期
![]() ![]() |
[#1] Cubieboard A20 Setup Guide If you bought Cubieboard 2, you may find difficulty to setup the machine since the support is quite limited for this newly launched machine. Most of the Cubieboard 1 resource cannot be applied in this new machine. Therefore, I have prepared the following guides for R33 chings to setup Cubieboard 2 as a MPD player. It is not a step by step guide but I try to put as much details as I can. Hope that you will find it useful. Create bootable SD card http://scotland.proximity.on.ca/contrib-images/hansg/Fedora-19-a10-armhfp-r1.img.xz unxz Fedora-19-a10-armhfp-r1.img.xz dd if=/Fedora-19-a10-armhfp-r1.img of=/dev/sdd cd /boot sh select-board.sh cubieboard2 Setup basic linux environment su passwd root --------please login as root throughout the setup----------------- yum install ssh* yum install nfs* yum install dkms yum install git yum install glib-devel systemctl disable firewalld systemctl enable nfs-server systemctl enable sshd ---------------change to text mode--------------- systemctl disable graphical.target systemctl enable multi-user.target ---------------change to text mode--------------- Installation of MPD cd /var/lib mkdir mpd cd mpd wget http://www.musicpd.org/download/mpd/0.17/mpd-0.17.4.tar.xz unxz mpd-0.17.4.tar.xz cd mpd-0.17.4 ./configure make make install cd doc cp mpdconf.example /var/lib/mpd/mpd.conf nano /var/lib/mpd/mpd.conf -----------------modify the setup file according to the sound card and music directory)-------- Mount the network driver via nfs nano /etc/fstab ----------------------/etc/fstab--------------------- UUID=33de6a91-2289-4ec7-9703-2b03a9d51725 / ext4 defaults,noatime 0 0 UUID=2cb94397-dc57-4276-bd81-0f30170f8cc1 /boot ext3 defaults,noatime 0 0 UUID=762e6e34-142b-49fe-9e8b-fb8a8a8cddab swap swap defaults,noatime 0 0 devpts /dev/pts devpts gid=5,mode=620 0 0 tmpfs /dev/shm tmpfs defaults 0 0 proc /proc proc defaults 0 0 sysfs /sys sysfs defaults 0 0 192.168.0.102:music /var/lib/mpd/music/ nfs soft,rsize=130048,wsize=4096,fg,retry=0 0 0 ----------------------/etc/fstab--------------------- Installation of full kernel with source code cd /var/lib/mpd git clone https://github.com/jwrdegoede/linux-sunxi.git -b fedora-19-r1 cd linux-sunxi cp /boot/scripts/kernel-3.4-armv7hl-sun7i.config .config make ARCH-arm menuconfig ---------Change CPU mode from "on demand" to "Performance"------------------ CPU Power Management --> [*]CPU Frequency scaling [*] Default CPUFreq governor (performance) ---------Change CPU mode from "on demand" to "Performance"------------------ make make modules_install make install make ARCH=arm uImage cp /var/lib/mpd/linux-sunxi/arch/arm/boot/uImage /boot/uImage reboot Installation of HiFace/Chord DSD drivers cd var/lib/mpd git clone git://github.com/panicking/snd-usb-asyncaudio.git dkms add ./snd-usb-asyncaudio dkms autoinstall Auto load Hiface driver and start mpd nano /boot/uEnv.txt ---------------uEnv.txt-------------- console=tty0 loglevel=5 root=/dev/mmcblk0p3 ro rootwait extraargs=console=ttyS0,115200 disp.screen0_output_type=3 disp.screen0_output_mode=1280x720p60 hdmi.audio=EDID:0 sunxi_g2d_mem_reserve=0 sunxi_ve_mem_reserve=0 sunxi_fb_mem_reserve=20 sunxi_no_mali_mem_reserve init=/usr/lib/systemd/systemd ---------------uEnv.txt-------------- cd /etc/rc.d/init.d nano ben ---------ben-------- modprobe snd-usb-hiface systemctl restart mpd ---------ben-------- chmod 777 ben cd /etc/systemd/system nano ben.service --------------ben.service--------------------- [Unit] Description = MPD autostart with asyncaudio driver [Service] WorkingDirectory=/etc/rc.d/init.d/ ExecStart=/bin/bash ben start Restart = always [Install] WantedBy=multi-user.target ----------------ben.service-------------------------- nano mpd.service -----------------mpd.service-------------------- [Unit] Description=Music Player Daemon After=network.target sound.target [Service] ExecStart=/usr/local/bin/mpd /var/lib/mpd/mpd.conf --no-daemon ExecStop=/usr/loca/bin/mpd /var/lib/mpd/mpd.conf --kill [Install] WantedBy=multi-user.target -----------------mpd.service---------------------- systemctl enable ben systemctl enable mpd systemctl start ben |
benngcp![]() 210.xxx.xxx.196 |
2013-07-26 21:49 | |
|
[#2] Cubieboard A20 Setup Guide Please update the ip address of your NAS in fstab. 192.168.0.102 is my NAS IP address. |
benngcp![]() 210.xxx.xxx.196 |
2013-07-26 22:07 |
[#3] Cubieboard A20 Setup Guide Found a typo, make ARCH-arm menuconfig should be make ARCH=arm menuconfig. I shall try to patch the Real Time Kernel today and then compare the SQ with my old Cuboeboard 1 running in Debian. If you want to assign the second core dedicated to MPD, you can add taskset -c 1 before "systemctl restart mpd" in the script "ben" 最後修改時間: 2013-07-27 09:57:15 |
benngcp![]() 210.xxx.xxx.196 |
2013-07-27 09:47 |
[#4] Cubieboard A20 Setup Guide Benngcp 兄, 謝謝分享,小弟前天都訂了一隻A20, 想玩wifi 加ssd,唔使上LAN 線 最後修改時間: 2013-07-27 10:05:00 |
beeos![]() 202.xxx.xxx.102 |
2013-07-27 10:03 |
[#5] Cubieboard A20 Setup Guide I have nearly 2T music files and too expensive to use SSD. I did try to store few album in a SDCARD and the OS stored in NAND of CB1. It sounds better than NAS but it is too troublesome to copy files to SD Card. I am studying how to put the OS in NAND for my Fedora in CB2. I am still searching for the Real Time Kernel patch and it helps SQ in my old CB1. |
benngcp![]() 210.xxx.xxx.196 |
2013-07-27 11:00 |
[#6] Cubieboard A20 Setup Guide thanks for the detailed info. better to go for A20 than A10 with your step by step tutorial. |
meizu![]() 116.xxx.xxx.89 |
2013-07-27 14:52 |
[#7] Cubieboard A20 Setup Guide 我部cubieboard2 裝咗debian, 用緊snd-usb-audio, 都想試下用唔到呢個 async usb driver, 但就冇kernel source compile 唔到, 請問知唔知邊度可以download 3.3 / 3.4 嘅kernel header ? |
kc2wong![]() 203.xxx.xxx.5 |
2013-07-28 15:15 |
[#8] Cubieboard A20 Setup Guide 3.3 at https://github.com/jwrdegoede/linux-sunxi/tree/sunxi-3.3-cubieboard2 3.4 (work in progress) at https://github.com/jwrdegoede/linux-sunxi/tree/sunxi-3.4-a20-wip You need compile the kernel and you can refer to my setup guide. 最後修改時間: 2013-07-28 22:27:41 |
benngcp![]() 210.xxx.xxx.196 |
2013-07-28 22:16 |
[#9] Cubieboard A20 Setup Guide Meizu hing, I cannot find the real time kernel patch for my cubieboard 2. Cubieboard 1 with real time kernel running in Debian sounds much better than the cubieboard 2. 最後修改時間: 2013-07-28 22:36:09 |
benngcp![]() 210.xxx.xxx.196 |
2013-07-28 22:33 |
[#10] Cubieboard A20 Setup Guide Another 3.4 kernel source https://github.com/cubieboard2/linux-sunxi/commits/hans-sunxi-3.4 |
benngcp![]() 210.xxx.xxx.196 |
2013-07-28 23:04 |
[#11] Cubieboard A20 Setup Guide HiBenncp, The latest image for A10/A20 released, you can test it :) http://cubian.org/downloads/ not sure if the latest MPD version 0.17.4 can be installed or not. |
meizu![]() 210.xxx.xxx.100 |
2013-07-31 10:22 |
[#12] Cubieboard A20 Setup Guide Cubian does not have module snd-usb-audio |
kc2wong![]() 203.xxx.xxx.5 |
2013-07-31 12:56 |
[#13] Cubieboard A20 Setup Guide 我想問, 如果用個IMAGE,它是1G, 可否叫個image write 用盡隻 sd card上的disk space? 唔使我又要用tool去resize partition? |
beeos![]() 218.xxx.xxx.131 |
2013-07-31 13:28 |
[#14] Cubieboard A20 Setup Guide Hi Beeos, FYI 现在确实是单分区了,无论是nand安装还是sd卡,都只会有rootfs。 nand安装会默认占据全部空间 sd卡会占据1G左右 http://cn.cubieboard.org/forum.php?mod=viewthread&tid=822&extra=&page=2 |
meizu![]() 210.xxx.xxx.100 |
2013-07-31 14:42 |
[#15] Cubieboard A20 Setup Guide Beeos, you can use resize2fs to release the extra space on the SD card. Meizu, thanks. Cubian is using Kernel 3.3 and Fedora one is 3.4, which I prefer the latter one. I shall wait for the next release of Cubian. |
benngcp![]() 202.xxx.xxx.7 |
2013-07-31 19:07 |
[#16] Cubieboard A20 Setup Guide Hi Benncp, 請問你有冇試過就咁compile個snd-usb-asyncaudio module而唔用dkms呢? 我試過就咁compile,出嚟snd-usb-hiface.ko個size係大過dkms出嚟果個好多 |
kc2wong![]() 118.xxx.xxx.42 |
2013-08-01 16:17 |
[#17] Cubieboard A20 Setup Guide meizu 兄, thanks! benngcp 兄, 請教你些基本野: 1. 我想做個real-time kernel, 是否現在無? (A20) 2. 我想個wifi usb 可開成access point, 我裝左hostapd, 開到, 但iphone join 唔到... 是否要裝埋個 dhcp server令佢可分IP先work? THX! |
beeos![]() 218.xxx.xxx.131 |
2013-08-01 16:43 |
[#18] Cubieboard A20 Setup Guide Beeos, 1. You need apply real time kernel patch on the kernel source at http://www.kernel.org/pub/linux/kernel/projects/rt/ Unfortunately, it doesn't have the one for 3.4.43, which is being used by CB2. 2. No idea as I don't use usb wifi on my CB. kc2wong, I tried both method to compile the driver and DKMS allow using modprobe which is useful to set priority in Real Time kernel. Besides, the complied drivers from both methods can work without any difference. |
benngcp![]() 120.xxx.xxx.214 |
2013-08-01 19:02 |
[#19] Cubieboard A20 Setup Guide Just patch a newer version (3.4.45) of RT kernel and it looks ok. I shall test it tonight. |
benngcp![]() 210.xxx.xxx.196 |
2013-08-01 19:26 |
[#20] Cubieboard A20 Setup Guide wow! Good news as I don't know how to make rt kernel build. |
beeos![]() 1.xxx.xxx.96 |
2013-08-01 21:27 |