This shows you the differences between two versions of the page.
| tutorials:cb2-2cards:start [2014/08/13 15:08] aaron | tutorials:cb2-2cards:start [2014/10/08 10:31] (current) aaron | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== Start ====== | + | ====== Cubieez ====== | 
| <WRAP noprint><WRAP left box 60%> | <WRAP noprint><WRAP left box 60%> | ||
| Line 7: | Line 7: | ||
| * **Contributors**: [[http://cubieboard.org/|Cubieboard Community]] : ... | * **Contributors**: [[http://cubieboard.org/|Cubieboard Community]] : ... | ||
| </WRAP></WRAP> | </WRAP></WRAP> | ||
| - | |||
| - | ======= Abstract ======= | ||
| - | |||
| - | |||
| - | ======= Hardware ======= | ||
| - | {{:tutorials:cb2-2cards:205717m3apxxbv8k36aobx.png?600|}} | ||
| - | ======= Software ======= | ||
| - | ====== Cubieez ====== | ||
| - | {{:tutorials:cb2-2cards:cubieez_wallpaper-cut.png?600|}} | ||
| ===== Abstract ===== | ===== Abstract ===== | ||
| Cubieez is based on Debian, which rootfs is created by drkbcn from cubieforums. | Cubieez is based on Debian, which rootfs is created by drkbcn from cubieforums. | ||
| Line 48: | Line 39: | ||
| $ md5sum cubieez-cb2-2cards-v2.0-20140812.tar.gz > my_md5sum | $ md5sum cubieez-cb2-2cards-v2.0-20140812.tar.gz > my_md5sum | ||
| $ cat my_md5sum  | $ cat my_md5sum  | ||
| - | This is origin md5sum:dbb974882aa352dbcf3201ff8bfef676 | + | Compared with origin md5sum:dbb974882aa352dbcf3201ff8bfef676 | 
| </code> | </code> | ||
| - | |||
| ==== Write to card ==== | ==== Write to card ==== | ||
| - | - For linux users : | + | * For linux users : | 
| <code> | <code> | ||
| $ sudo tar -zxvf cubieez-cb2-2cards-v2.0-20140812.tar.gz | $ sudo tar -zxvf cubieez-cb2-2cards-v2.0-20140812.tar.gz | ||
| - | $ sudo umount /dev/sdx  | + | $ sudo umount /dev/sdx //sdx is your tf-card device label ,example sdb  | 
| $ sudo dd if=cubieez-cb2-2cards-v2.0-20140812.img of=/dev/sdx  | $ sudo dd if=cubieez-cb2-2cards-v2.0-20140812.img of=/dev/sdx  | ||
| $ sudo sync | $ sudo sync | ||
| </code> | </code> | ||
| - | <note important>"dd" is a dangerous operation,make sure sdx is your tfcard </note> | + | <note>"dd" is a dangerous operation,make sure sdx is your tfcard </note> | 
| - | - For windows users:using [[http://dl.cubieboard.org/software/tools/windows/win32diskimager-v0.7-binary.zip|win32diskimager]] write image to card. | + | * For windows users:using [[http://dl.cubieboard.org/software/tools/windows/win32diskimager-v0.7-binary.zip|win32diskimager]] write image to card. | 
| ==== Booting ==== | ==== Booting ==== | ||
| - Insert boot card to** card2 slot** (bootcard) | - Insert boot card to** card2 slot** (bootcard) | ||
| - Connecting board and monitor by HDMI | - Connecting board and monitor by HDMI | ||
| - Insert  network cable | - Insert  network cable | ||
| - | - Using miniUSB-USB power up | + | - Power on | 
| + | <note>  First booting ,the system will reboot once to expand rootfs </note>  | ||
| ==== passwd ==== | ==== passwd ==== | ||
| user:**cubie** passwd:**cubieboard** | user:**cubie** passwd:**cubieboard** | ||
| Line 121: | Line 112: | ||
| </code> | </code> | ||
| == USB WIFI == | == USB WIFI == | ||
| - | cb2-2cards can support 8188eu and 8192cu | + | cb2-2cards can support 8188eu ,when you insert wifi dongle,cubieez will modprobe 8188eu auto. | 
| - | {{:tutorials:cb2-2cards:wifi.png?600|}} | + | - You can config wifi in cubieez desktop.{{:tutorials:cb2-2cards:wifi.png|}}  | 
| + | - Restart networking | ||
| + | <code> | ||
| + | $ sudo /etc/init.d/networking restart | ||
| + | </code> | ||
| + | |||
| === Rootfs space === | === Rootfs space === | ||
| <code> | <code> | ||
| Line 160: | Line 157: | ||
| Switch to HP output  | Switch to HP output  | ||
| <code> | <code> | ||
| - | $vim.tiny /etc/asound.conf | + | $ vim.tiny /etc/asound.conf | 
| pcm.!default { | pcm.!default { | ||
| Line 174: | Line 171: | ||
| ===SSH===  | ===SSH===  | ||
| <code> | <code> | ||
| - | $ssh cubie@192.168.1.110 | + | $ ssh cubie@192.168.1.110 | 
| aaron@cubietech:/work/$ ssh cubie@192.168.1.110 | aaron@cubietech:/work/$ ssh cubie@192.168.1.110 | ||
| cubie@192.168.1.110's password:  | cubie@192.168.1.110's password:  | ||
| Line 195: | Line 192: | ||
| * Both wireless and wire USB mouse/keyboard | * Both wireless and wire USB mouse/keyboard | ||
| * USB host | * USB host | ||
| + | === OTG Device === | ||
| + | Allwinner otg support device fuction ,Storage on board can mounted to pc | ||
| + | * Mount boot card first Partition to PC(cubieez-2.0 default ) | ||
| + | <code> | ||
| + | $ sudo modprobe g_mass_storage file=/dev/mmcblk0p1 removable=yes stall=0 | ||
| + | </code> | ||
| + | * Mount data card to pc | ||
| + | <code> | ||
| + | $ sudo rmmod g_mass_storage | ||
| + | $ modprobe g_mass_storage file=/dev/mmcblk1 removable=yes stall=0 | ||
| + | </code> | ||
| + | * Mount sata to pc | ||
| + | <code> | ||
| + | $ sudo rmmod g_mass_storage | ||
| + | $ modprobe g_mass_storage file=/dev/sda removable=yes stall=0 | ||
| + | </code> | ||
| + | |||
| ===IR Input===  | ===IR Input===  | ||
| IR module is sunxi-ir.ko | IR module is sunxi-ir.ko | ||
| <code> | <code> | ||
| - | $git clone https://bitbucket.org/emiliolopez/keybinder.git | + | $ git clone https://bitbucket.org/emiliolopez/keybinder.git | 
| - | $cd keybinder | + | $ cd keybinder | 
| - | $sudo make install  | + | $ sudo make install  | 
| </code> | </code> | ||
| Taking  a Infrared remote control for a test | Taking  a Infrared remote control for a test | ||
| <code> | <code> | ||
| - | $sudo keybinder /dev/input/event0 | + | $ sudo keybinder /dev/input/event0 | 
| cubie@cubie:~/keybinder$ sudo keybinder /dev/input/event0 | cubie@cubie:~/keybinder$ sudo keybinder /dev/input/event0 | ||
| Reading key input from /dev/input/event0 (sunxi-ir) | Reading key input from /dev/input/event0 (sunxi-ir) | ||
| Line 213: | Line 227: | ||
| </code> | </code> | ||
| ===== Config ===== | ===== Config ===== | ||
| - | ==== cubie-cofnig ==== | + | ==== cubie-config ==== | 
| "Ctrl+Alt+t" open a terminal,run "cubie-config" as root | "Ctrl+Alt+t" open a terminal,run "cubie-config" as root | ||
| {{:tutorials:cb2-2cards:passwd.png?600|}} | {{:tutorials:cb2-2cards:passwd.png?600|}} | ||
| Line 222: | Line 236: | ||
| * Eable SSH Or Not | * Eable SSH Or Not | ||
| ===== Known bugs or limitations ===== | ===== Known bugs or limitations ===== | ||
| - | * HDMI display | + | * HDMI can't adapt to some monitor,this a display bug .please try: | 
| - | * Line in is not work | + | <code> | 
| - | + | $ sudo fbset -left 10 | |
| - | + | </code> | |
| - | + | * Line-in is not work due to hardware bug. | |
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | ====== Android ====== | + | |
| - | ======= Community ======= | + | |
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| <WRAP noprint> | <WRAP noprint> | ||
| {{tag>Cubieboard Cubietruck}} | {{tag>Cubieboard Cubietruck}} | ||
| </WRAP> | </WRAP> | ||