cubieplayer / cubian Goto Github PK
View Code? Open in Web Editor NEWDebian for Cubieboard
Home Page: http://cubian.org
Debian for Cubieboard
Home Page: http://cubian.org
Could you please make all the necessary files and ideally a short document describing how to build Cubian from scratch?
This would allow contributors to tinker with it more easily and potentially create derivative versions - I'd personally be very interested to create an Ubuntu flavor of it.
Thanks.
Driver not found in r2 version
I need to connect an Arduino via serial
ls /dev/ttyUSB0
ls: cannot access /dev/ttyUSB0: No such file or directory
我想让系统容量更大一些,使用的是32G sd卡,第一个分区只使用了1G(貌似),我使用fdisk ,resize2fs 对这个分区进行重新分区后,fdisk显示的块是增加了,但是使用df 检测的时候,空间依然没有增加。因此,扩容失败。
如果我直接将img的第一个分区挂载到我系统上,使用cp 复制所有文件到sd卡第一个分区,cubie无法启动。
如果我dd img第一个分区到sd卡的第一个分区,df显示我使用了非常大的空间。(大概有17G)
我将这个img文件里面的两个img文件更换位置,然后直接dd到sd卡中,修改fstab文件,系统无法启动。
求教我需要如何解决呢
Using and freshly flashed image on an SD card booting a Cubie1. It is hanging for an extended time (1min or so) at the end of the boot sequence.
Terminal ouput:
[ ok ] Setting sysfs variables....
<7>eth0: no IPv6 routers present
Timeout reached while wating for return value
Killing background process.
done.
If I have the network cable disconnected, this hangup doesn't happen. I think one of the startup services is hanging and not completing for some reason and thus create the boot hang.
非要重装?
What is the reason that an idle system load is always 1? It should be 0.00 isnt?
Hi, I'm trying to disable all the messages that go to ttyS0 during boot/kernel messages as I want to use the hardware serial port to talk to a microcontroller.
I have tried removing the line console=ttyS0,115200 from /boot/boot.cmd and then running: mkimage -C none -A arm -T script -d boot.cmd boot.scr
That doesn't seem to remove the messages going to ttyS0
I also tried modifying /etc/sysctl.conf and uncommented the line
kernel.printk = 3 4 1 3 to try to reduce the messages going to the serial port.
Neither of these methods made any difference. What do you suggest I try next?
Thanks :)
http://cn.cubieboard.org/forum.php?mod=viewthread&tid=697&extra=page%3D1
可能大家已经注意到,cb的负载总是非常高,无论是PHP探针,还是登陆进去之后用htop等查看,都能得到相同的结论。
这是因为自动变频引起的。当没啥事的时候,CPU频率就会维持在很低的水准。
我们可以通过一个工具来查看和调整cpu频率:
sudo apt-get install cpufrequtils
sudo cpufreq-infofy > cpufreq-info
...
maximum transition latency: 2.00 ms.
hardware limits: 60.0 MHz - 1.01 GHz
...
current CPU frequency is 204 MHz.
...关于cpufrequtils这一套工具,我就不多说了。可以看看这篇文章:
http://blog.csdn.net/share_idea/article/details/7548037利用这套工具可以查看CPU信息、调整频率、设定性能方案、超频等等。
除此之外,可能有人注意到板子上执行一些实时性要求较高的程序比较卡,例如VIM。
我调查了一下,认为这个与动态变频有关。
板子上默认的linaro或者是android镜像,动态变频时最低频率设定为60Mhz。
而我使用的 cubian 更为极端,最低频率为 30 Mhz。变频的延迟导致了卡顿的问题,这一点在低频率下启动一个稍大的程序时较为明显。
vim非常常用,所以比较突出,我第一时间注意到了。在PageUp PageDown还有上下滚动时候都能轻松复现。附上一组我的环境数据:
tmux 开四个子窗口,里头的terminal是zsh
其中两个窗口开启vim,一个运行非常简单的python-tornado server,另一个闲置。此时卡顿十分明显,将变频的最低频率调整为200Mhz时,问题得以解决。
希望cubie团队重视一下,究竟是内核算法问题,还是涉及到硬件问题?
同时也希望遇到与我有相同困扰的同学得以解决问题。
r3 fixed top level /sys/class/gpio directory permissions yet when you activate a pin using echo 1 > /sys/class/gpio/export it creates a directory based on the pin activated which then must also contain the same permissions. This newly activated subdirectory currently does not have correct permissions.
Example:
echo 1 > /sys/class/gpio/export (correct permissions)
----- results in creation of /sys/class/gpio/gpio1_pg0 which returns the ls -l:
total 0
-rw-r--r-- 1 root root 4096 Jun 26 01:31 active_low
lrwxrwxrwx 1 root root 0 Jun 26 01:31 device -> ../../../gpio-sunxi
-rw-r--r-- 1 root root 4096 Jun 26 01:31 direction
drwxr-xr-x 2 root root 0 Jun 26 01:31 power
lrwxrwxrwx 1 root root 0 Jun 26 01:30 subsystem -> ../../../../../class/gpio
-rw-r--r-- 1 root root 4096 Jun 26 01:30 uevent
-rw-r--r-- 1 root root 4096 Jun 26 01:31 value
these folders need to be executable in order to send commands to the GPIO pins as follows:
echo 'out' > /sys/class/gpio/gpio1_pg0/direction
-bash: direction: Permission denied
or
echo 1 > /sys/class/gpio/gpio1_pg0/value
-bash: direction: Permission denied
github.io的链接全挂,修复一下吧。
I don't know if this is a serial only issue but I am unable to use sudo, although the default user (cubie) owns large portions of the file system so I can write to configuration files.
The error message when I try to use sudo is:
sudo: effective uid is not 0, is sudo installed setuid root?
Hi,
By default /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
is on ondemand, this makes cubian looking slower than other distribution.
Add a bit on the wiki about it or add a script in init.d such as
#!/bin/sh
# chkconfig: 345 99 10
# description: Startup/shutdown script to enable ondemand / performance
#
### BEGIN INIT INFO
# Provides: performance
# Required-Start: $network $local_fs $remote_fs
# Required-Stop:: $network $local_fs $remote_fs
# Should-Start: $all
# Should-Stop: $all
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: Performance / Ondemand scaling governor
### END INIT INFO
for CPUFREQ in /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor
do
[ -f $CPUFREQ ] || continue
echo -n performance > $CPUFREQ
done
Is there anyway to install the kernel headers package for version 3.4.43? I can only seem to find the packages for the wheezy version (3.2.0). I'm trying to build a usb wifi driver that's normally in the rt2800usb module. Thanks!
nand上使用带日志的ext4非常不利。建议格式化时:
mkfs.ext4 -O ^has_journal $NANDB
此外NANDC挂载在/mnt/nandc 缺乏实际意义,不如并入根分区或者挂成 /opt 或者其他什么东西。
iptables -F
gives
FATAL: Module ip_tables not found
please compile netfilter to kernel
Hi,
I want to compile the batman-adv routing kernel module on my cubian system. But I believe I need the kernel headers for /lib/modules/x.y.z/build.
How do I get these?
Hi,
thanks for a great image. I installed it on my sd card and booted up the cubiboard, I can ssh in just fine, my big problem is I would like to connect the board up to my screen - I have an hdmi cable. I tried this, but the screen just says there is no signal.
Nice work you've done !
I'm unable to load the ipv6 module, don't you want to compile your next release with the module ?
thx bye
Good morning,
I'm having trouble installing the drivers for usb wireless cards.
AR9271
RT3070
Install firmware-atheros firmware-ralink and not work.
Could you help me?
Hello, please add (or tell me what to do) the tun kernel module to the image, because i can't use the sixxs ipv6 tunnel or openvpn service.
Otherwise, this is a nice work, thank you!
Install packages for kernel build
dpkg --add-architecture i386
apt-get update
apt-get install ia32-libs libncurses5-dev make build-essential uboot-mkimage
Fetch toolchain for cubie (ps.: i was putting files under /cubie/)
git clone https://github.com/cubieplayer/Toolchain.git
export PATH=/cubie/Toolchain/bin:$PATH
Switch to 3.3.0+
git clone https://github.com/mmplayer/linux-sunxi.git
cd linux-sunxi
git checkout stage/sunxi-3.3-a20
cd ..
Get a20 kernel config
wget https://raw.github.com/mmplayer/sunxi-kernel-config/master/config-cubian-base-sun7i-3.3
cp ./config-cubian-base-sun7i-3.3 ./linux-sunxi/.config
make -C ./linux-sunxi ARCH=arm menuconfig
make -j2 -C ./linux-sunxi ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- uImage modules
Packaging /boot and /lib/modules
mkdir fat
cp ./linux-sunxi/arch/arm/boot/uImage fat/uImage
cd fat
tar -czf kernel-vfat.tar.gz *
md5sum kernel-vfat.tar.gz > kernel-vfat.md5
mv kernel-vfat* ..
cd ..
mkdir rootfs
make -C ./linux-sunxi ARCH=arm INSTALL_MOD_PATH=../rootfs modules_install
make -C ./linux-sunxi ARCH=arm INSTALL_HDR_PATH=../rootfs/usr headers_install
cd rootfs
MODULEDIR=lib/modules/$(ls lib/modules)
rm -rf $MODULEDIR/build
rm -rf $MODULEDIR/source
mkdir -p $MODULEDIR/build
ln -sf /usr/include $MODULEDIR/build/include
tar -czf kernel-rootfs.tar.gz *
md5sum kernel-rootfs.tar.gz > kernel-rootfs.md5
mv kernel-rootfs* ..
cd ..
Copy and install kernel-rootfs.tar.gz, kernel-vfat.tar.gz to cubie.
Hello,
I am using the Cubieboard together with my mac and would like to have my HFS+ formatted media disk attached to Cubieboard that will distrubute it as media server. Could you please compile hfsplus support into the kernel and incorporate HFS+ as standard filesystem to Cubian? On Raspberry Pi that works since some newer version:
Cheers!
Refer to the Debian Wiki, it's better to config it.
# the loopback interface
auto lo
iface lo inet loopback
#
auto eth0
allow-hotplug eth0
iface eth0 inet static
address 192.168.1.42
netmask 255.255.255.0
gateway 192.168.1.1
The swap space might reduce the lifetime of SD-card and NAND,please disable swap area by default. If someone is willing to take the risk.They can just uncomment the line on /etc/fstab
I am proving Cubian. I want to use the ufw firewall, but when I enable the firewall, I obtain this error message and the ufw is not activated:
cubie@Cubian:~$ sudo ufw enable
Command may disrupt existing ssh connections. Proceed with operation (y|n)? y
ERROR: problem running ufw-init
After setting up the GPIO driver gpio_sunxi and modifying the .fex to set up some gpio pins..exporting those pins using echo 1 > /sys/class/gpio/export fails due to permissions error.
/sys/class/gpio is owned by root and group root requiring a temporary solution that includes creating group gpio, assigning group gpio to user and chgrp /sys/class/gpio recursively to gpio while chmod 775 recursively to same /sys/class/gpio.
This resets on reboot requiring a fresh setup on each boot before default cubie user can work with the gpio pins using /sys/class/gpio.
cubie@Cubian:~$ sudo nandinstall/install.sh
This will completely destory your data on /dev/nand, Are you sure to continue? yes
spawn /home/cubie/nandinstall/sunxi-tools/nand-part /dev/nand linux 4000000 swap 8000000
check partition table copy 0: OK
check partition table copy 1: OK
check partition table copy 2: OK
check partition table copy 3: OK
partition 0: name = bootloader, partition start = 2048, partition size = 32768
partition 1: name = linux, partition start = 34816, partition size = 4000000
partition 2: name = swap, partition start = 4034816, partition size = 8000000
3 partitions
check partition table copy 0: OK
check partition table copy 1: OK
check partition table copy 2: OK
check partition table copy 3: OK
ready to write new partition tables:
partition 0: name = bootloader, partition start = 2048, partition size = 32768
partition 1: name = linux, partition start = 34816, partition size = 4000000
partition 2: name = swap, partition start = 4034816, partition size = 8000000
3 partitions
write new partition tables? (Y/N)
y
verifying new partition tables:
check partition table copy 0: OK
check partition table copy 1: OK
check partition table copy 2: OK
check partition table copy 3: OK
partition 0: name = bootloader, partition start = 2048, partition size = 32768
partition 1: name = linux, partition start = 34816, partition size = 4000000
partition 2: name = swap, partition start = 4034816, partition size = 8000000
3 partitions
please wait for a moment
waiting 20 seconds
waiting 10 seconds
waiting 5 seconds
mke2fs 1.42.5 (29-Jul-2012)
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
Stride=0 blocks, Stripe width=0 blocks
125184 inodes, 500000 blocks
25000 blocks (5.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=515899392
16 block groups
32768 blocks per group, 32768 fragments per group
7824 inodes per group
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912
Allocating group tables: done
Writing inode tables: done
Creating journal (8192 blocks): done
Writing superblocks and filesystem accounting information: done
mke2fs 1.42.5 (29-Jul-2012)
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
Stride=0 blocks, Stripe width=0 blocks
123392 inodes, 493024 blocks
24651 blocks (5.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=507510784
16 block groups
32768 blocks per group, 32768 fragments per group
7712 inodes per group
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912
Allocating group tables: done
Writing inode tables: done
Creating journal (8192 blocks): done
Writing superblocks and filesystem accounting information: done
mount: you must specify the filesystem type
cubie@Cubian:~$
please help.
Hi,
Are you curently working on CubieBoard 2 ?
Sorry for opening an issue for that, but I haven't find an other way to contact you ...
Best regards
Vivien
Please
I want to use an Arduino connected to cubieboard, put the FTDI driver is not available.
Look
Ubuntu or other Debian based systems
The FTDI Driver is included with Ubuntu/Debian. After plugging in the USB cable, you can find your device under /dev/ttyUSB0 (and ttyUSB1, ttyUSB2, etc, if you have more) or /dev/ttyACM0
url: http://wiki.ultimaker.com/FTDI_Driver_installation
Thanks.
I am trying to customize the boot settings by making changes in /boot to either uEnv.txt or script.bin
As soon as I change one of these files, even with minor changes that should be harmless, the Cubieboard cannot boot and gives me the following error (obtained when changing uEnv.txt - changes to script.bin yeld to a slightly different message).
Restoring the original file then allows to board to boot normally.
Am I doing anything wrong or am I hitting a bug?
Board: Cubieboard
I2C: ready
DRAM: 1 GiB
NAND: 0 MiB
MMC: SUNXI SD/MMC: 0
MMC init failed
Using default environment
In: serial
Out: serial
Err: serial
Net: wemac
Hit any key to stop autoboot: 0
/********************************************/
3e0010 ce 190041 ad e0011 43 240012 6a
4e0003 f6 6005f bb 4e0002 3b 440001 6ee
c0048 6f3 10043 4a d0060 70b 1004b 762
40042 7ab 30040 6f7 30013 725 480000 7fb
ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff
ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff 347 348
349 34a 6e9 7e9 777 76d 6f1 703
701 7ea 6ff 41e 6e7 434 771 72d
759 70a 74e 34b 34c 34d 34e 34f
350 351 352 353 354 355 356 358
35a 35b 35c 35d 35e 35f 360 361
362 363 364 366 367 368 369 36a
36b 36c 36d 36e 36f 370 371 372
373 374 375 376 377 378 379 37a
37b 37c 6ef 6df 716 726 723 783
712 3f2 70e 7b0 7c6 742 428 752
73d 756 728 3dc 3f8 3bb 7ca 767
75f 76f 3d8 714 7e6 72c 3e6 7b4
7bf 794 736 79f 3fd 397 3f7 3f1
3e1 3fc 3ef 411 3ee 3da 39f 3f4
3e3 3d5 7c3 3ea 39e 7d9 7a3 738
37e 37f 731 3f5 403 404 405 406
407 408 743 422 40a 40b 40c 755
7c5 410 39d 3ac 3ff 414 3dd 3d6
417 3e7 7d3 799 41b 41c 3f6 3de
41f 420 421 418 3ed 424 425 3ec
78b 70c 7a5 412 42b 745 42c 7f1
7ef 44a 7d7 431 710 380 426 73b
437 438 73f 74a 769 381 42f 419
43f 440 441 442 79c 71f 708 382
383 384 5ec 42a 44b 44c 423 385
386 388 389 38a 38b 38c 38d 38e
38f 390 391 392 393 394 395 396
398 39a 39b 39c 3a0 3a1 3a2 3a3
3a4 3a5 3a6 3a7 3a8 3a9 3aa 3ab
3ad 3ae 3af 3b0 3b1 3b2 3b3 3b4
3b5 3b6 3b7 3b8 3b9 3ba 3bc 3bd
3be 3bf 3c0 3c1 3c2 3c3 3c4 3c5
3c6 3c7 3c8 3c9 3ca 3cb 3cc 3cd
3ce 3cf 3d0 3d1 3d2 3d3 3d4 3d7
3d9 3db 3df 3e0 3e2 3e4 3e5 3e8
3e9 3eb 3f0 3f3 3f9 3fa 3fb 3fe
400 401 402 409 40d 40f 413 415
416 41a 41d 427 429 42d 42e 430
432 433 435 436 439 43a 43b 43c
43d 43e 443 444 445 446 447 448
449 44d 44e 44f 450 451 452 453
454 455 456 457 458 459 45a 45b
45c 45d 45e 45f 460 461 462 463
464 465 466 467 468 469 46a 46b
46c 46d 46e 46f 470 471 472 473
474 475 476 477 478 479 47a 47b
47c 47d 47e 47f 480 481 482 483
484 485 486 487 488 489 48a 48b
48c 48d 48e 48f 490 491 492 493
494 495 496 497 498 499 49a 49b
49c 49d 49e 49f 4a0 4a1 4a2 4a3
4a4 4a5 4a6 4a7 4a8 4a9 4aa 4ab
4ac 4ad 4ae 4af 4b0 4b1 4b2 4b3
4b4 4b5 4b6 4b7 4b8 4b9 4ba 4bb
4bc 4bd 4be 4bf 4c0 4c1 4c2 4c3
4c4 4c5 4c6 4c7 4c8 4c9 4ca 4cb
4cc 4cd 4ce 4cf 4d0 4d1 4d2 4d3
4d4 4d5 4d6 4d7 4d8 4d9 4da 4db
3e0010 ce 190041 ad e0011 43 240012 6a
4e0003 f6 6005f bb 4e0002 3b 440001 6ee
c0048 6f3 10043 4a d0060 70b 1004b 762
40042 7ab 30040 6f7 30013 725 480000 7fb
ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff
ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff 50a 50b
50c 50d 50e 50f 510 511 512 513
514 515 516 517 518 519 51a 51b
51c 51d 51e 51f 520 521 522 523
524 525 526 527 528 529 52a 52b
52c 52d 52e 52f 530 531 532 533
534 535 536 537 538 539 53a 53b
53c 53d 53e 53f 540 541 542 543
544 545 546 547 548 549 54a 54b
54c 54d 72b 54e 54f 550 551 552
553 554 555 556 557 558 559 55a
55b 55c 55d 55e 55f 560 561 562
563 564 565 566 567 568 569 56a
56b 56c 56d 56e 56f 570 571 572
573 574 575 576 577 578 579 57a
57b 57c 57d 57e 57f 580 581 582
583 584 585 586 587 588 589 58a
58b 58c 58d 58e 58f 590 591 592
593 594 595 596 597 598 599 59a
59b 59c 59d 59e 59f 5a0 5a1 5a2
5a3 5a4 5a5 5a6 5a7 5a8 5a9 5aa
5ab 5ac 5ad 5ae 5af 5b0 5b1 5b2
5b3 5b4 5b5 5b6 5b7 5b8 5b9 5ba
5bb 5bc 5bd 5be 5bf 5c0 5c1 5c2
5c3 5c4 5c5 5c6 5c7 5c8 5c9 5ca
5cb 5cc 74c 5cd 5ce 5cf 5d0 5d1
5d2 5d3 5d4 5d5 5d6 5d7 5d8 5d9
5da 5db 5dc 5dd 5de 5df 5e0 5e1
5e2 5e3 5e4 5e5 5e6 5e7 5e8 5e9
5ea 5eb 5ed 5ee 5ef 5f0 5f1 5f2
5f3 5f4 5f5 5f6 5f7 5f8 5f9 5fa
5fb 5fc 5fd 5fe 5ff 600 601 602
603 604 605 606 607 608 609 60a
60b 60c 60d 60e 60f 610 611 612
613 614 615 616 617 618 619 61a
61b 61c 61d 61e 61f 620 621 622
623 624 625 626 627 628 629 62a
62b 62c 62d 62e 62f 630 631 632
633 634 635 636 637 638 639 63a
63b 63c 63d 63e 63f 640 641 642
643 644 645 646 647 648 649 64a
64b 64c 64d 64e 64f 650 651 652
653 654 655 656 657 658 659 65a
65b 65c 65d 65e 65f 660 661 662
663 664 665 666 667 668 669 66a
66b 66c 66d 66e 66f 670 671 672
673 674 675 676 677 678 679 67a
67b 67c 67d 67e 67f 680 681 682
683 684 685 686 687 688 689 68a
68b 68c 68d 68e 68f 690 691 692
693 694 695 696 697 698 699 69a
69b 69c 69d 69e 69f 6a0 6a1 6a2
6a3 6a4 6a5 6a6 6a7 6a8 6aa 6ac
6ae 6b0 6b2 6b4 6b6 6b8 6ba 6bc
6be 6c1 6c5 6c9 6cd 6d1 6d3 6d6
6d9 6db 6dd 6e1 6e5 6ec 6f4 72a
739 7c2 ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff
ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff
ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff 140321
120 bytes read in 510 ms (0 Bytes/s)
Loaded environment from /uEnv.txt
Failed to mount ext2 filesystem...
** Unrecognized filesystem type **
** Unrecognized filesystem type **
Failed to mount ext2 filesystem...
** Unrecognized filesystem type **
** Unrecognized filesystem type **
sun4i#
Hi, is possible to define de video memory size like a raspi-config in Raspbian?
Thanks.
Can you clarify in the README if Cubieboard2 is supported?
Thanks
How can I make only one partition, one for boot and one for the /?
Cubieplayer, hi there!
EDIT: i'm using fresh debian wheezy as a base system to compile the kernel.
Would you please give me some directions of how to compile kernel? I mean, check the steps i've made:
After copying uImage to /boot and the modules to /lib/modules the cubieboard doesn't boot.
I also saw in another post that you tell to use your toolchain, so i did it too. But when i try to compile, the gcc command from your toolchain says 'no such file or directory'. i've checked, the file exists(obviously) but i don't know why it doesn't run.
PS. when checking on the toolchain, i see there's a new 2013.05, do you use this one now?
hope u can help. regards
I just have got my first cubieboard and have tried Cubian r4 there. The installation to NAND script finishes successfully only if 'apt-get update' was done after launching from SD card. I think it's OK, but it's worth to be mentioned somewhere on installation wiki page.
Please consider.
Love cubian on my new cubieboard2. I set up cubian today on the CB2 and loved it. Used cubian to setup apache, php, mysql and a lot of tools and utilities to use it as an educational server, in one hour.
I'd like to use cubieboards with cubian to replace lots of Raspberry Pis in schools.
The only thing that is preventing me is I couldn't get any of my USB wireless adapters using Ralink chipsets ( RT3070 or RT5370), which work great on Wheezy on the Raspberry Pi (and I can run them in AP mode with hostapd on the Pi)
I installed firmware-ralink but to no avail.
What needs to be done on Cubian to get these USB wireless adapters recognized? Any special driver needed?
2 Sample adapters I tried:
ID 0411:015d BUFFALO INC. (formerly MelCo., Inc.) WLI-UC-GN Wireless LAN Adapter [Ralink RT3070]
ID 148f:5370 Ralink Technology, Corp. RT5370 Wireless Adapter
How add module driver for wifi-usb RTL8187L?
請問下面 nand size 正確嗎???
a20 板
Linux Cubian 3.3.0+ #13 SMP PREEMPT Sun Aug 4 02:40:54 CST 2013 armv7l GNU/Linux
root@Cubian:# df -h# cat /proc/partitions
Filesystem Size Used Avail Use% Mounted on
rootfs 952M 777M 128M 86% /
/dev/root 952M 777M 128M 86% /
devtmpfs 487M 0 487M 0% /dev
tmpfs 98M 220K 98M 1% /run
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 195M 0 195M 0% /run/shm
tmpfs 488M 32K 487M 1% /tmp
tmpfs 488M 0 488M 0% /var/tmp
root@Cubian:
major minor #blocks name
93 0 3866624 nand
93 8 512 nand1
93 16 256 nand2
93 24 3849472 nand3
179 0 15637504 mmcblk0
179 1 976896 mmcblk0p1
root@Cubian:~# cat /etc/fstab
/dev/mmcblk0p1 / ext4 defaults 0 1
tmpfs /tmp tmpfs defaults 0 0
tmpfs /var/tmp tmpfs defaults 0 0
root@Cubian:~#
The screen will show a logo with logs when starts from SD-card.
li@Lenovo:~$ ssh -p 36000 192.168.0.104
The authenticity of host '[192.168.0.104]:36000 ([192.168.0.104]:36000)' can't be established.
ECDSA key fingerprint is 55:49:9a:d0:51:a6:d8:85:44:e6:d1:19:25:41:6e:d3.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '[192.168.0.104]:36000' (ECDSA) to the list of known hosts.
[email protected]'s password:
Permission denied, please try again.
[email protected]'s password:
Permission denied, please try again.
[email protected]'s password:
Permission denied (publickey,password).
我输入的密码就是 cubie 但还是连不上
系统 Debian 7
环境 Xfce 4.8.6
Should enable GPIO driver by default and set up all pins available for stock usage out of the box.
For using some wireless Logitech Keyboards and Mouse (or Combinations like the K400) we need the HiDraw Option enabled in the Kernel-Options.
Without HiDraw these Input-Devices dont work with Cubian :-( (they also dont work in Linaro for CubieBoard).
In Distros for the Raspberry HiDraw ist enabled and the Input-Devices do work with the RPi.
Many thanks in advance
At each reboot the Cubieboard will generate a random MAC address. This is often not desirable.
I'd suggest that at the first boot, a script captures the randomly generated MAC address and pins it in /etc/network/interfaces using the following syntax.
iface eth0 inet dhcp
hwaddress ether xx:xx:xx:xx:xx:xx
As a temporary workaround this could also be added to the documentation.
Hi!
Thanks a lot for Cubian, this is great work!
I've noticed that the system came with existing SSH keys, which is a security concern. The fix is to regenerate them by running:
rm /etc/ssh/ssh_host_*
dpkg-reconfigure openssh-server
This could either be added to the documentation, or even better taken care of in a startup script that would run once.
Hi,
Thanks for this awesome distribution.
Everything is great and stable except that I cannot forward individual user traffic via another gateway as I did on debian x86 and raspbian.
root@Cubian:~# iptables -m owner —uid-owner 101 -j MARK —set-mark 0x1 -t mangle -A OUTPUT
iptables: No chain/target/match by that name
"-m owner" is not working. When I installed xtables-addons-common it downloaded old kernel and I was unable to switch to it.
How I can switch to another kernel or are there any other way to get the "-m owner" working?
Thanks
Hello!
Thanks for this great project!
Would it be possible to add an initial WiFi-Setup / create an SD-Card installer like with Raspbmc?
http://www.raspbmc.com/wiki/user/os-x-linux-installation/
They give you the opportunity to setup WiFi before first boot, thus a headless install is possible. Since I don't have an HDMI monitor, I'd be very happy if I could immediately login via WiFi and SSH.
Thanks!
Cheers!
Hi,
please, can you compile to me the driver for this USB Ethernet Adapter?
ASIX AX88772: http://www.asix.com.tw/FrootAttach/driver/AX88772C_772B_772A_760_772_178_LINUX_Driver_v4.10.0_Source.tar.bz2
Thanks.
Congratulations for your nice job!
The Cubieboard is a great NFS filer option and I was super sad to see that there are no NFSD options in the kernel as compiled :(
Can you please make this happen asap? I was planning on migrating all of my files to this little Cubian box but I won't be able to until then.
Thanks
It would be nice to have a firmware update command similar to https://github.com/Hexxeh/rpi-update
which would pull from the linux-sunxi repo.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.