CubieBoard中文论坛

 找回密码
 立即注册
搜索
热搜: unable
楼主: matson

cb-lubuntu-12.10-v1.05固件今天上线

[复制链接]
发表于 2013-8-27 15:54:56 | 显示全部楼层
本帖最后由 yzbx 于 2013-8-27 19:21 编辑
matson 发表于 2013-8-27 14:48
To use pwm:
$cd /lib/modules/`uname -r`/kernel/drivers/misc
$sudo insmod pwm-sunxi.ko

怎么是在/sys/kernel/下面,记得tll提到的是在/sys/class/目录下,不管怎样,我先试试 再说,多谢matson。
(经测试,也是相当好用,先 echo '0 100 2400' > start 再echo '0 2300 2400' > start, 只见LED小灯先暗,然后很明亮,LED灯正极接U14/PB02,负极接GND)
  1. $sudo su - root
  2. #cd /sys/kernel/sunxi_pwm
  3. #echo '0 1200 2400' > start
复制代码
回复 支持 反对

使用道具 举报

发表于 2013-9-1 10:31:25 | 显示全部楼层

SSH链接后报错。


本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

x
回复 支持 反对

使用道具 举报

发表于 2013-9-2 16:01:20 | 显示全部楼层
这个版本的apt-get install mysql-server怎么装不了啊?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2013-9-2 17:27:07 | 显示全部楼层
zjgaoli888 发表于 2013-9-2 16:01
这个版本的apt-get install mysql-server怎么装不了啊?

把错误贴出来看一下
回复 支持 反对

使用道具 举报

发表于 2013-9-3 01:10:18 | 显示全部楼层
matson 发表于 2013-9-2 17:27
把错误贴出来看一下

还有开机的时候
<6>sunxi_emac sunxi_emac.0: eth0: link down
<6>ADDRCONF(NETDEV_UP): eth0: link is not ready
要等好久...有什么解决方案么?
回复 支持 反对

使用道具 举报

发表于 2013-9-3 10:53:49 | 显示全部楼层
matson 发表于 2013-9-2 17:27
把错误贴出来看一下

ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var
回复 支持 反对

使用道具 举报

发表于 2013-9-3 12:30:27 | 显示全部楼层
zjgaoli888 发表于 2013-9-3 01:10
还有开机的时候
sunxi_emac sunxi_emac.0: eth0: link down
ADDRCONF(NETDEV_UP): eth0: link is not rea ...

启动时设置了dhcp eth0,所以如果没有接网线的话会等待超时。
可以把/etc/network/interfaces里面的eth0去掉就好了
回复 支持 反对

使用道具 举报

 楼主| 发表于 2013-9-3 12:40:17 | 显示全部楼层
zjgaoli888 发表于 2013-9-3 10:53
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var

刚测试,可以用。请把你的板型已经操作步骤贴出来看一看。

root@cubieboard:/etc# apt-get install mysql-server                              
Reading package lists... Done                                                   
Building dependency tree                                                        
Reading state information... Done                                               
The following extra packages will be installed:                                 
  libaio1 libclass-isa-perl libdbd-mysql-perl libdbi-perl libmysqlclient18      
  libnet-daemon-perl libplrpc-perl libswitch-perl libterm-readkey-perl         
  mysql-client-5.5 mysql-client-core-5.5 mysql-common mysql-server-5.5         
  mysql-server-core-5.5 perl perl-modules                                       
Suggested packages:                                                            
  libcompress-zlib-perl tinyca mailx perl-doc libterm-readline-gnu-perl         
  libterm-readline-perl-perl make libpod-plainer-perl                           
Recommended packages:                                                           
  libhtml-template-perl                                                         
The following NEW packages will be installed:                                   
  libaio1 libclass-isa-perl libdbd-mysql-perl libdbi-perl libmysqlclient18      
  libnet-daemon-perl libplrpc-perl libswitch-perl libterm-readkey-perl         
  mysql-client-5.5 mysql-client-core-5.5 mysql-common mysql-server              
  mysql-server-5.5 mysql-server-core-5.5 perl perl-modules                     
0 upgraded, 17 newly installed, 0 to remove and 0 not upgraded.                 
Need to get 32.3 MB of archives.                                                
After this operation, 111 MB of additional disk space will be used.            
Do you want to continue [Y/n]? y                                                
WARNING: The following packages cannot be authenticated!                        
  libaio1 mysql-common libmysqlclient18 libswitch-perl libclass-isa-perl        
  perl-modules perl libnet-daemon-perl libplrpc-perl libdbi-perl               
  libdbd-mysql-perl mysql-client-core-5.5 libterm-readkey-perl                  
Package configuration                                                           
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                �������Ĵ Configuring mysql-server-5.5 ��������ÿ                 
                �                                             �                 
                �                                             �                 
                � Repeat password for the MySQL "root" user:  �                 
                �                                             �                 
                � ******_____________________________________ �                 
                �                                             �                 
                �                   <Ok>                      �                 
                �                                             �                 
                ����������������������������������������������                  
                                                                                
                                                                                
                                                                                
                                                                                
Selecting previously unselected package libaio1:armhf.                          
(Reading database ... 49053 files and directories currently installed.)         
Unpacking libaio1:armhf (from .../libaio1_0.3.109-2ubuntu1_armhf.deb) ...      
Selecting previously unselected package mysql-common.                           
Unpacking mysql-common (from .../mysql-common_5.5.27-0ubuntu2_all.deb) ...      
Selecting previously unselected package libmysqlclient18:armhf.                 
Unpacking libmysqlclient18:armhf (from .../libmysqlclient18_5.5.27-0ubuntu2_arm.
Selecting previously unselected package libswitch-perl.                        
Unpacking libswitch-perl (from .../libswitch-perl_2.16-2_all.deb) ...           
Selecting previously unselected package libclass-isa-perl.                     
Unpacking libclass-isa-perl (from .../libclass-isa-perl_0.36-3_all.deb) ...     
Selecting previously unselected package perl-modules.                           
Unpacking perl-modules (from .../perl-modules_5.14.2-13_all.deb) ...            
Selecting previously unselected package perl.                                   
Unpacking perl (from .../perl_5.14.2-13_armhf.deb) ...                          
Selecting previously unselected package libnet-daemon-perl.                     
Unpacking libnet-daemon-perl (from .../libnet-daemon-perl_0.48-1_all.deb) ...   
Selecting previously unselected package libplrpc-perl.                          
Unpacking libplrpc-perl (from .../libplrpc-perl_0.2020-2_all.deb) ...           
Selecting previously unselected package libdbi-perl.                           
Unpacking libdbi-perl (from .../libdbi-perl_1.622-1_armhf.deb) ...              
Selecting previously unselected package libdbd-mysql-perl.                     
Unpacking libdbd-mysql-perl (from .../libdbd-mysql-perl_4.021-1_armhf.deb) ...  
Selecting previously unselected package mysql-client-core-5.5.                  
Unpacking mysql-client-core-5.5 (from .../mysql-client-core-5.5_5.5.27-0ubuntu2.
Selecting previously unselected package libterm-readkey-perl.                  
Unpacking libterm-readkey-perl (from .../libterm-readkey-perl_2.30-4build4_armh.
Selecting previously unselected package mysql-client-5.5.                       
Unpacking mysql-client-5.5 (from .../mysql-client-5.5_5.5.27-0ubuntu2_armhf.deb.
Selecting previously unselected package mysql-server-core-5.5.                  
Unpacking mysql-server-core-5.5 (from .../mysql-server-core-5.5_5.5.27-0ubuntu2.
Processing triggers for man-db ...                                             
Setting up mysql-common (5.5.27-0ubuntu2) ...                                   
Selecting previously unselected package mysql-server-5.5.                       
(Reading database ... 50847 files and directories currently installed.)         
Unpacking mysql-server-5.5 (from .../mysql-server-5.5_5.5.27-0ubuntu2_armhf.deb.
Selecting previously unselected package mysql-server.                           
Unpacking mysql-server (from .../mysql-server_5.5.27-0ubuntu2_all.deb) ...      
Processing triggers for man-db ...                                             
Processing triggers for ureadahead ...                                          
Setting up libaio1:armhf (0.3.109-2ubuntu1) ...                                 
Setting up libmysqlclient18:armhf (5.5.27-0ubuntu2) ...                        
Setting up libclass-isa-perl (0.36-3) ...                                       
Setting up mysql-client-core-5.5 (5.5.27-0ubuntu2) ...                          
Setting up mysql-server-core-5.5 (5.5.27-0ubuntu2) ...                          
Setting up libswitch-perl (2.16-2) ...                                          
Setting up perl-modules (5.14.2-13) ...                                         
Setting up perl (5.14.2-13) ...                                                
update-alternatives: using /usr/bin/prename to provide /usr/bin/rename (rename)e
Setting up libnet-daemon-perl (0.48-1) ...                                      
Setting up libplrpc-perl (0.2020-2) ...                                         
Setting up libdbi-perl (1.622-1) ...                                            
Setting up libdbd-mysql-perl (4.021-1) ...                                      
Setting up libterm-readkey-perl (2.30-4build4) ...                              
Setting up mysql-client-5.5 (5.5.27-0ubuntu2) ...                              
Setting up mysql-server-5.5 (5.5.27-0ubuntu2) ...                              
mysql start/running, process 2631                                               
Processing triggers for ureadahead ...                                          
Setting up mysql-server (5.5.27-0ubuntu2) ...                                   
Processing triggers for libc-bin ...                                            
ldconfig deferred processing now taking place   
回复 支持 反对

使用道具 举报

发表于 2013-9-3 13:42:24 | 显示全部楼层
cubieboard 发表于 2013-9-3 12:30
启动时设置了dhcp eth0,所以如果没有接网线的话会等待超时。
可以把/etc/network/interfaces里面的eth0 ...

可以具体一点么
回复 支持 反对

使用道具 举报

发表于 2013-9-3 23:21:12 | 显示全部楼层
本帖最后由 zjgaoli888 于 2013-9-4 00:09 编辑
matson 发表于 2013-9-3 12:40
刚测试,可以用。请把你的板型已经操作步骤贴出来看一看。

root@cubieboard:/etc# apt-get install mysq ...

a10的板子 ,   刚刚刷完这个系统就apt-get install mysql-server   然后到下面就死循环了(红色部分)
Unpacking mysql-server-5.5 (from .../mysql-server-5.5_5.5.27-0ubuntu2_armhf.deb) ...
Selecting previously unselected package mysql-server.
Unpacking mysql-server (from .../mysql-server_5.5.27-0ubuntu2_all.deb) ...
Processing triggers for man-db ...
Processing triggers for ureadahead ...
Setting up libaio1:armhf (0.3.109-2ubuntu1) ...
Setting up libmysqlclient18:armhf (5.5.27-0ubuntu2) ...
Setting up libnet-daemon-perl (0.48-1) ...
Setting up libplrpc-perl (0.2020-2) ...
Setting up libdbi-perl (1.622-1) ...
Setting up libdbd-mysql-perl (4.021-1) ...
Setting up mysql-client-core-5.5 (5.5.27-0ubuntu2) ...
Setting up libterm-readkey-perl (2.30-4build4) ...
Setting up mysql-client-5.5 (5.5.27-0ubuntu2) ...
Setting up mysql-server-core-5.5 (5.5.27-0ubuntu2) ...
Setting up mysql-server-5.5 (5.5.27-0ubuntu2) ...
<4>init: mysql main process (3736) terminated with status 1
<4>init: mysql main process ended, respawning
<4>init: mysql post-start process (3737) terminated with status 1


刚刚测试了下cb_a10_lubuntu12.04_v1.04.img,这个mysql是正常的!

回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|Archiver|手机版|粤ICP备13051116号|cubie.cc---深刻的嵌入式技术讨论社区

GMT+8, 2024-4-25 13:04 , Processed in 0.025468 second(s), 13 queries .

Powered by Discuz! X3.4

© 2001-2012 Comsenz Inc. | Style by Coxxs

返回顶部