Search the Community
Showing results for tags 'odroidc2'.
-
Hello, i bought my first odroid, and decide to install armbian. I download armbian from official server, and i try write os using rufus on Windows. I choose 'dd' and check raw file, rufus write image without error. When I plug MicroSDHC card, system starts, red led is on, blue flashing. From first minutes system have got big lag, I wait 50 minuts and do nothing in first boot. Last text on screen is **** Starting Update UTMP about System Runlevel Changes... [ OK ] Started LSB: PLEASE BE PATIENT AND DO NOT INTERRUPT THE FIRST REBOOT [ OK ] Started Update UTMP about System Runlevel Changes. *** I use Odroid c2 rev 2.0 20160226 and SanDisk ultimate MicroSDHC. What I have to do? I still waiting, and don't unplug power supply.
-
Still trying to get the wireless working... Followed directions here, and during the "make ARCH=arm64", I get the following: compilation terminated. scripts/Makefile.build:308: recipe for target '/Downloads/WiFi/rtl8192cu-fixes/core/rtw_cmd.o' failed make[2]: *** [/Downloads/WiFi/rtl8192cu-fixes/core/rtw_cmd.o] Error 1 Makefile:1278: recipe for target '_module_/Downloads/WiFi/rtl8192cu-fixes' failed make[1]: *** [_module_/Downloads/WiFi/rtl8192cu-fixes] Error 2 make[1]: Leaving directory '/usr/src/linux-headers-3.14.73-odroidc2' Makefile:584: recipe for target 'modules' failed make: *** [modules] Error 2 Now what???
-
Hello, i download wiringPi library using, # git clone https://github.com/hardkernel/wiringPi # cd wiringPi # ./build as root, i compile library with errors. login as: root root@192.168.2.110's password: ___ _ _ _ ____ ____ / _ \ __| |_ __ ___ (_) __| | / ___|___ \ | | | |/ _` | '__/ _ \| |/ _` | | | __) | | |_| | (_| | | | (_) | | (_| | | |___ / __/ \___/ \__,_|_| \___/|_|\__,_| \____|_____| Welcome to ARMBIAN Debian GNU/Linux 8 (jessie) 3.14.73-odroidc2 System load: 0.00 Up time: 44 min Memory usage: 7 % of 1719Mb IP: 192.168.2.110 CPU temp: 47°C Usage of /: 13% of 15G Last login: Wed Jul 20 19:28:28 2016 root@odroidc2:~# cd /home/michal/clang/gpio root@odroidc2:/home/michal/clang/gpio# ls root@odroidc2:/home/michal/clang/gpio# git clone https://github.com/hardkernel/wiringPi Cloning into 'wiringPi'... remote: Counting objects: 751, done. remote: Total 751 (delta 0), reused 0 (delta 0), pack-reused 751 Receiving objects: 100% (751/751), 321.46 KiB | 335.00 KiB/s, done. Resolving deltas: 100% (544/544), done. Checking connectivity... done. root@odroidc2:/home/michal/clang/gpio# cd wiringPi/ root@odroidc2:/home/michal/clang/gpio/wiringPi# ./build wiringPi Build script ===================== WiringPi Library [UnInstall] [Compile] wiringPi.c wiringPi.c: In function ‘analogRead’: wiringPi.c:2304:20: warning: pointer targets in passing argument 1 of ‘atoi’ differ in signedness [-Wpointer-sign] return atoi(value); ^ In file included from /usr/include/features.h:374:0, from /usr/include/stdio.h:27, from wiringPi.c:54: /usr/include/stdlib.h:278:1: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ __NTH (atoi (const char *__nptr)) ^ wiringPi.c: In function ‘waitForInterrupt’: wiringPi.c:2486:1: warning: label ‘wait’ defined but not used [-Wunused-label] wait: ^ wiringPi.c: In function ‘interruptHandler’: wiringPi.c:2523:7: warning: return makes pointer from integer without a cast return wiringPiFailure (WPI_FATAL, "wiringPiISR: wiringPi has not been initialised. Unable to continue.\n") ; ^ wiringPi.c: In function ‘wiringPiSetup’: wiringPi.c:2889:9: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] if ((int32_t)gpio == -1) ^ wiringPi.c:2910:9: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] if ((int32_t)gpio == -1) ^ wiringPi.c:2925:9: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] if ((int32_t)gpio == -1) ^ wiringPi.c:2930:9: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] if ((int32_t)gpio1 == -1) ^ wiringPi.c:2955:9: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] if ((int32_t)gpio == -1) ^ wiringPi.c:2961:9: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] if ((int32_t)pwm == -1) ^ wiringPi.c:2967:9: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] if ((int32_t)clk == -1) ^ wiringPi.c:2973:9: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] if ((int32_t)pads == -1) ^ [Compile] wiringSerial.c [Compile] wiringShift.c [Compile] piHiPri.c [Compile] piThread.c [Compile] wiringPiSPI.c [Compile] wiringPiI2C.c [Compile] softPwm.c [Compile] softTone.c [Compile] mcp23008.c [Compile] mcp23016.c [Compile] mcp23017.c [Compile] mcp23s08.c [Compile] mcp23s17.c [Compile] sr595.c [Compile] pcf8574.c [Compile] pcf8591.c [Compile] mcp3002.c [Compile] mcp3004.c [Compile] mcp4802.c [Compile] mcp3422.c [Compile] max31855.c [Compile] max5322.c [Compile] sn3218.c [Compile] drcSerial.c [Link (Dynamic)] [Install Headers] [Install Dynamic Lib] WiringPi Devices Library [UnInstall] [Compile] ds1302.c [Compile] maxdetect.c [Compile] piNes.c [Compile] gertboard.c [Compile] piFace.c [Compile] lcd128x64.c [Compile] lcd.c [Compile] piGlow.c [Link (Dynamic)] [Install Headers] [Install Dynamic Lib] GPIO Utility [Compile] gpio.c gpio.c: In function ‘doEdge’: gpio.c:571:3: warning: implicit declaration of function ‘doUnexport’ [-Wimplicit-function-declaration] doUnexport(3, argv); // unexport argc == 3 ^ gpio.c: At top level: gpio.c:644:6: warning: conflicting types for ‘doUnexport’ void doUnexport (int argc, char *argv []) ^ gpio.c:571:3: note: previous implicit declaration of ‘doUnexport’ was here doUnexport(3, argv); // unexport argc == 3 ^ [Compile] extensions.c [Compile] readall.c [Compile] pins.c [Link] [Install] All Done. NOTE: To compile programs with wiringPi, you need to add: -lwiringPi to your compile line(s) To use the Gertboard, MaxDetect, etc. code (the devLib), you need to also add: -lwiringPiDev to your compile line(s). root@odroidc2:/home/michal/clang/gpio/wiringPi# I find article about this error on xenial server http://forum.armbian.com/index.php/topic/1299-build-script-error-odroid-c2-xenial-no-desktop/ but this don't help me. What should I do ? To everything was fine.
-
Anyone else having issues with reboot hanging on Xenial image on C2? Having to power cycle every time.
-
I am using: Armbian_5.14_Odroidc2_Debian_jessie_3.14.71 I am a bit stumped....if I run with 3 network interfaces, everything is fine. If I add a fourth interface...the system locks up...even if the 3rd and 4th interface have no ip address. They just need to be live! I have tried 4 drastically different interfaces in case the device driver can't handle it. Anybody have any thoughts or suggestions?? THank you!
-
Hi, I just switch from hummingboard i4 to odroid c2 (same os, armbian, same app on it), all it's ok but I got an issue with load average, on i4 I have about 0.4 but on C2 I have 3 and I don't understand why. Here a vmstat from C2 : procs -----------memory---------- ---swap-- -----io---- -system-- ------cpu----- r b swpd free buff cache si so bi bo in cs us sy id wa st 0 0 0 891036 74724 277404 0 0 0 0 310 493 3 2 95 0 0 1 0 0 891004 74724 277404 0 0 0 0 18272 1863 0 2 98 0 0 0 0 0 891036 74724 277404 0 0 0 0 18205 1950 4 0 96 0 0 1 0 0 891036 74724 277404 0 0 0 0 18412 1728 0 2 98 0 0 0 0 0 891036 74732 277404 0 0 0 0 18090 1851 0 0 100 0 0 1 0 0 891160 74732 277404 0 0 0 0 19303 2400 7 1 92 0 0 0 0 0 891160 74732 277404 0 0 0 0 17993 1654 0 0 100 0 0 2 0 0 891144 74732 277404 0 0 0 0 18178 1733 0 3 97 0 0 1 0 0 891160 74732 277404 0 0 0 0 18027 1765 0 0 100 0 0 2 0 0 891144 74732 277404 0 0 0 0 18147 1681 0 0 100 0 0 I find interrupt is very very high, did anyone also notice that ? Thank in advance.
-
Hi folks, I flashed the Armbian Jessie server image to sd. Then I ran update and upgrade after the system booted. I installed xorg and MATE desktop. No problems anywhere. I did not install a display manager as I want to login from tty. I basically performed the exact same install I have done for 15 years(since Gnome2). And a problem I haven't seen in 10 years or more rears it's ugly head as I type in "startx". MATE desktop boots up and I have no mouse or keyboard... I hit ctrl-alt-del and I have keyboard in the shutdown prompt. lsmod meson_ir 2943 0 joydev 10384 0 spidev 5785 0 spi_gpio 5970 0 spi_bitbang 3653 1 spi_gpio w1_gpio 3246 0 wire 21783 1 w1_gpio bonding 103653 0 fuse 80499 1 autofs4 25155 2 btrfs 864768 0 xor 7330 1 btrfs raid6_pq 85616 1 btrfs No evdev? All the xserver drivers are installed. I don't know if it's just the kernel module or where exactly to go here. Mouse and keyboard are on a usb hub too so it's not a power issue. If it was x86 I'd figure out how to hammer this out but with arm64 and it being so new it could just not be supported yet or be a bug I am unaware of. It could even be MATE I suppose as the issue only exists in GUI. Figure folks that do this every day are better equipped than me to figure this out... lsusb Bus 001 Device 008: ID 045e:0736 Microsoft Corp. Sidewinder X5 Mouse Bus 001 Device 007: ID 045e:00b0 Microsoft Corp. Digital Media Pro Keyboard Bus 001 Device 006: ID 0409:0059 NEC Corp. HighSpeed Hub Bus 001 Device 002: ID 05e3:0610 Genesys Logic, Inc. 4-port hub Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub I am aware there are some .ini files and scripts that are being used at boot but have not tampered with any of them as I am unsure where to go with what... Not finding enough info on the C2 with other folks having this problem. Arm64 is new territory for me as I just got this Odroid C2 and this is the first attempt. If I need to roll my own kernel that will be fine. Figured asking would do better than banging my head against the wall for the next week. Any thoughts? Thanks
-
hi all . i think sd card is much shorter life time and restricted size ( 64G ~ 128G and big size is too expensive ). so as server , i like to use hard disk as root . for this purpose , nand-sata-install.sh is excellent ( but too complex for me to understand ) . i use nand-sata-install.sh on odroid-c2 armbian . and on working armbian , i run next script . ( the timing to attach sdb is about 10~15 second later after armbian booting ) . sda1 is cloned to sdb1 . clone-rsync-2-HDD-delete.bat ntpd -s date echo '--------------------' umount /mb1 mount /dev/sdb1 /mb1 df echo '--------------------' read X echo $X cd /mb1 mkdir -p bin etc home lib opt root sbin selinux srv usr var for x in /bin /etc /home /lib /opt /root /sbin /selinux /srv /usr /var do rsync -avHx --delete $x/ /mb1$x/ done cd /mb1 mkdir -p boot dev media mnt proc run sys tmp it works for me . --- detail is at http://odroid-akita.blogspot.jp/2016/04/odoroid-c2.html
-
hi all i try unixbench (Version 5.1.3) compared with orange pi PC's System Benchmarks Index Score 202.0 Benchmark Run: ç« 5月 03 2016 23:39:28 - 00:07:31 0 CPUs in system; running 1 parallel copy of tests Dhrystone 2 using register variables 7827597.5 lps (10.0 s, 7 samples) Double-Precision Whetstone 915.0 MWIPS (9.8 s, 7 samples) Execl Throughput 459.3 lps (29.9 s, 2 samples) File Copy 1024 bufsize 2000 maxblocks 176763.8 KBps (30.0 s, 2 samples) File Copy 256 bufsize 500 maxblocks 53800.0 KBps (30.0 s, 2 samples) File Copy 4096 bufsize 8000 maxblocks 431407.5 KBps (30.0 s, 2 samples) Pipe Throughput 430477.6 lps (10.0 s, 7 samples) Pipe-based Context Switching 73425.8 lps (10.0 s, 7 samples) Process Creation 1360.4 lps (30.0 s, 2 samples) Shell Scripts (1 concurrent) 1188.6 lpm (60.0 s, 2 samples) Shell Scripts (8 concurrent) 783.3 lpm (60.1 s, 2 samples) System Call Overhead 969171.8 lps (10.0 s, 7 samples) System Benchmarks Index Values BASELINE RESULT INDEX Dhrystone 2 using register variables 16700.0 7827597.5 670.7 Double-Precision Whetstone 55.0 915.0 166.4 Execl Throughput 43.0 459.3 106.8 File Copy 1024 bufsize 2000 maxblocks 3960.0 176763.8 446.4 File Copy 256 bufsize 500 maxblocks 1655.0 53800.0 325.1 File Copy 4096 bufsize 8000 maxblocks 5800.0 431407.5 743.8 Pipe Throughput 12440.0 430477.6 346.0 Pipe-based Context Switching 4000.0 73425.8 183.6 Process Creation 126.0 1360.4 108.0 Shell Scripts (1 concurrent) 42.4 1188.6 280.3 Shell Scripts (8 concurrent) 6.0 783.3 1305.6 System Call Overhead 15000.0 969171.8 646.1 ======== System Benchmarks Index Score 336.2 surely odroid-c2's score is higer than orane pi PC ( 336.2 X 202.0) . and old intel PC , smpboot: CPU0: Intel® Celeron® CPU 540 @ 1.86GHz (fam: 06, model: 16, stepping: 01) System Benchmarks Index Score 616.3 only result , i cannot analyze . --- regards
-
I have been trying to build a C2 image with xenial and without including a desktop using the armbian build script. I have tried putting the toolchain in /opt/toolchains (like odroid's wiki states) and also in the build script's directory under toolchains. I've placed the proper export lines to each path in .profile & .bashrc but no matter how i go about this I always have the compile.sh script error out after "Cleaning [ linux-odroidc2/odroidc2-3.14.y ] I am using a VM that has gcc/g++ 4.9 installed and is running ubuntu xenial (would not using 14.04 have something to do with this?). /home/kyle/build/lib/common.sh: line 230: /home/kyle/build/toolchains/gcc-linaro-aarch64-linux-gnu-4.9-2014.09_linux/bin/aarch64-linux-gnu-gcc: No such file or directory awk: cmd. line:1: BEGIN{exit ! ( < 5.0)} awk: cmd. line:1: ^ syntax error awk: cmd. line:1: BEGIN{exit ! ( < 5.0)} awk: cmd. line:1: ^ syntax error [ error ] ERROR in function find_toolchain [ common.sh:240 ] [ error ] Could not find required toolchain [ aarch64-linux-gnu-gcc < 5.0 ] [ o.k. ] Process terminated Any help would be appreciated. I need 16.04 for the c2 that hasn't had any of the window manager packages added to it for a project and this is my first go at building a kernel or full image so this is my first time setting up a cross compile. I also tried using this script on a c2 running the stock hardkernel xenial image but the script quit with the error that it is unable to run on the board itself.
-
Hi, I'm testing the Odroid C2 image (Armbian_5.10_Odroidc2_Debian_jessie_3.14.67_desktop) on my C2. Flashing and verifying the image onto an emmc went fine. I made adjustments to the boot.ini ("setenv m "1280x1024p60hz"" and "setenv vout "dvi""). No problems creating a user and (first) booting into the gui. After a reboot I encounter problems with the gui resolution and colors: 1. most parts of a window is now black 2. no matter what I change in boot.ini, I don't get higher resolution then 1280x720 with black bars at the bottom and right https://picload.org/view/rgllllag/wp_20160518_001-kopie.jpg.html (pic had to be taken by cam since a screenshot doesn't show the black window thing; note the black bar at the bottom, screen is set to 1280x1024, but I only get x720) In the Odroid forum I found a fix for the "alpha-blending issue" (http://forum.odroid.com/viewtopic.php?f=138&t=19403). I put it into rc.local and after reboot the black windows are gone; the resolution problem remains. Changing resolution in the gui (application menu -> settings -> display) is not possible, there are no other resolutions then 1280x720 and refresh rate is unchangeable at 0.0 Hz. please help Thank you
-
hi all . i run odoroid-c2 foremaly i runed nginx with auth basic by next nginx.conf successfully in orange pi PC . nginx.conf is ------------- events { worker_connections 800; } http { include mime.types; default_type application/octet-stream; index index.html index.htm; keepalive_timeout 65; server_tokens off; server { listen 80; server_name localhost; #<-for test #root /var/www/d1; root /var/www/d2; } server { listen 80; server_name n------------n.dip.jp; root /var/www/d2; auth_basic "closed site"; auth_basic_user_file /var/www/2/.htpasswd; } server { listen 80; server_name s----------------s.mydns.jp; root /var/www/d1; auth_basic "closed site"; auth_basic_user_file /var/www/1/.htpasswd; } } but [ /etc/init.d/nginx restart ] fails in odoroid-c2 . i love nginx but fail . so i am forced to run apache2 . head apache2.conf ---------------------------------------- NameVirtualHost *:80 <VirtualHost *:80> ServerName s-----------------s.mydns.jp DocumentRoot /var/www/d1 </VirtualHost> <VirtualHost *:80> ServerName n---------------n.dip.jp DocumentRoot /var/www/d2 </VirtualHost> <Directory "/var/www/d1"> AuthType Basic AuthName "D1" AuthUserFile /var/www/1/.htpasswd Require user emi </Directory> <Directory "/var/www/d2"> AuthType Basic AuthName "D2" AuthUserFile /var/www/2/.htpasswd Require user fuji </Directory> what is wrong with nginx.conf ? ------------------------- regards
-
I recently did an apt-get update on an Odroid C2 which included the following: linux-dtb-odroidc2 linux-firmware-image-odroidc2 linux-headers-odroidc2 linux-image-odroidc2 linux-jessie-root-odroidc2 linux-u-boot-odroidc2-default. I figured it'd be all fine and dandy because it looks to just be an update to 3.14.67, versus the old 3.14.65. Installed and restarted without any apparent errors. Upon logging in, uname -r still reports 3.14.65-odroidc2 however. Files in /boot seem to all be labeled 3.14.67, but it's looking for all the kernel modules in /lib/modules/3.14.65-odroidc2, which is now basically an empty folder instead of /lib/modules/3.14.67-odroidc2. So before I go and screw my other C2s up I thought I'd check in here first. Did I do something wrong, and is there an easy fix for this?
-
Hi all . i hear sound by mplayer X.mp4 but i cannot hear sound in youtube with iceweasel . i lack something . what is it ? aplay -l **** List of PLAYBACK Hardware Devices **** card 0: ODROIDHDMI [ODROID-HDMI], device 0: I2S.26 dit-hifi-0 [] Subdevices: 1/1 Subdevice #0: subdevice #0 cat .asoundrc pcm.!default { type hw card 0 } ctl.!default { type hw card 0 } --- regards
-
I did a quick install of the desktop image for the ODROID C2. It sees no audio devices (HDMI - or any of the half dozen or so USB Audio devices I quickly tried). However, I have a app I wrote that builds a custom "kitchen sink" version of FFMPEG (everything is enabled). I built it on the C2 (to get a compile time), and noticed the sound did work from the app (and it sounded great). I wish I would have had more time to investigate why no audio devices are detected, and further, why I am able to play sound (only from the one app). Sorry. I am just trying to be helpful in saying "hey - the sound IS there - some users just may not be able to immediately get to it". I will have more time to investigate sometime next week, so if there is anything I can do to be more helpful, just let me know. Joe
-
TJoe says Thank you!
-
Hi, i had a little problem with root login on C2. It gives a message about "/usr/local/bin/temper" file absent and goes to restart. Problem solved by installation "armhf" architecture (temper file is present but compiled for 32 bit). thank you very much for your work.
-
Hi There, i´ve tried armbian on my odroid C2, but the sources list is not fully available .. or simply wrong. an : apt-get update ... .... Hit http://httpredir.debian.orgjessie/non-free Sources Fetched 151 kB in 12s (12.3 kB/s) W: Failed to fetch http://apt.armbian.com/dists/jessie/InRelease Unable to find expected entry 'main/binary-arm64/Packages' in Release file (Wrong sources.list entry or malformed file) E: Some index files failed to download. They have been ignored, or old ones used instead. shows, that something is wrong with sources list... regards arel