IRC log of #cubox of Fri 13 Jun 2014. All times are in CEST < Back to index

02:38 GAZ082 hi guys, just got my cubox-i, anyone here to help me a little?
02:40 mhoney sure whats up
02:42 GAZ082 oh nothing, for some reason my defaul port for ssh in my desktop is not 22
02:42 GAZ082 and got connection refused :P
02:43 GAZ082 what's the best graphic driver to load?
02:50 mhoney i use mine headless so I dont use x
03:00 GAZ082 oh, i see. i wanna use it for xbmc and also as server, so i'd like to get the best experience
03:07 GAZ082 damn, i enter root as password when ssh and does not work
03:08 GAZ082 i used the geekbox modified script
03:08 GAZ082 to boot with arch
03:08 mhoney try 1234 or cubox as the pass
03:11 GAZ082 nope
03:11 GAZ082 tried admin
03:12 mhoney might be no root user... could be cubox user and you just sudo su to get root
03:13 GAZ082 yes, was that
03:13 GAZ082 was logging as my username, not root
03:13 GAZ082 im in!
03:25 GAZ082 it does not detect my wireless router, is there any restriction in SSID name or protection protocol?
03:27 mhoney typically its wpa2
03:29 GAZ082 cubox-i supports N, right?
03:30 cbxbiker61 n 2.4 at 75Mhz
03:30 cbxbiker61 n 2.4 at 75Mbit
03:39 GAZ082 damn, its not detecting it
03:44 cbxbiker61 sudo ifconfig
03:45 GAZ082 eth0: flags=4163 mtu 1500 inet 192.168.1.7 netmask 255.255.255.0 broadcast 192.168.1.255 inet6 fe80::d263:b4ff:fe00:1d57 prefixlen 64 scopeid 0x20 ether d0:63:b4:00:1d:57 txqueuelen 1000 (Ethernet) RX packets 179 bytes 18765 (18.3 KiB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 174 bytes 27138 (26.5 KiB) TX errors 0 dropp
03:45 GAZ082 damn, will pastebin it
03:45 GAZ082 http://pastebin.com/jsBiG7PC
03:45 cbxbiker61 if there's no wlan0 showing, then the driver/firmware hasn't loaded
03:46 GAZ082 oh yes, it loaded, but does not detect my own wifi router. it does detect my neighbour's
03:47 cbxbiker61 use dmesg to look at brcmfmac messages, make sure you're on a supported channel
03:49 GAZ082 [ 3.916896] brcmfmac: brcmf_fws_init: failed to set bdcv2 tlv signaling
03:50 GAZ082 [ 104.578742] brcmfmac: brcmf_fil_cmd_data: Failed err=-23 [ 104.582918] brcmfmac: _brcmf_set_multicast_list: Setting BRCMF_C_SET_PROMISC failed, -23
03:50 cbxbiker61 does it show that it loaded the firmware?
03:51 GAZ082 3.882016] brcmfmac: brcmf_c_preinit_dcmds: Firmware version = wl0: Sep 2 2011 14:48:19 version 4.220.48
03:51 GAZ082 im checking the forums, looks like a 3.10 kernel issue
03:53 GAZ082 or not, the guy could not get wifi to work on 3.10, in my case it does work
03:53 cbxbiker61 http://www.xilka.com/kernel/UPDATE-KERNEL.sh
03:53 cbxbiker61 that can install a current 3.10 that works
03:54 GAZ082 my ver is 3.10.30-20-ARCH
03:55 cbxbiker61 yeah, well i'm tracking current which is now 3.10.43
03:56 cbxbiker61 make sure you mount the boot part at /boot before you use the script
03:56 GAZ082 *sigh* i'll get the rest of the stuff up and running and then return to the wifi thingie.
03:56 cbxbiker61 http://www.xilka.com/kernel/SET-IMX-KERNEL.sh sets the current kernel
03:59 GAZ082 cbxbiker61: hey, i just run a htop and my ram is 1751, not 2048
04:00 cbxbiker61 right, a chunk is set aside for video
04:02 GAZ082 aha!
04:02 GAZ082 can i change how much is available for the vid?
04:03 cbxbiker61 i can't remember if you can set it on the kernel command line, in any case a kernel without video drivers can be built
04:14 GAZ082 if i want to use the system from my USB external drive, i have to just config the FSTAB to boot in the memory but to load /dev/sdaX to / ?
04:21 cbxbiker61 /boot/uEnv.txt can be used to set the root device, and then also mod the /etc/fstab
04:40 GAZ082 what FSTAB should be modded, the one in the sdcard or in the external drive?
04:40 GAZ082 common sense dictates the one in the sdcard, as is the booting device
05:23 cbxbiker61 no uboot looks into uEnv.txt and load the kernel...the kernel starts up the init process on the root device, init looks at the fstab on the root device which is usb in that case
05:29 GAZ082 cbxbiker61: im having trouble in getting my external HD as root
05:29 GAZ082 i already modified the uEnv.txt with:
05:29 GAZ082 rootfs=/dev/sda2
05:30 GAZ082 replaced the mmcroot
05:33 cbxbiker61 check the forums, you may need to use a different u-boot
05:44 Dacto Is cubox-i wifi normally super slow?
05:45 Dacto <500Mb/s, or is something wrong with my set up?
05:45 Dacto <500Kb/s **
05:59 GAZ082 hope it's not, i plano to hook it to my router by wifi
06:02 Dacto iw reports that it has a 54Mbit/s connection but Local network file transfers over cubox-i wifi -> router -> ethernet -> computer never reaches above 400Kb/s..
06:03 Dacto If I connect cubox-i to ethernet then it is boosted to about 12Mb/s
06:03 GAZ082 12 mb/s on wired?
06:03 Dacto Yea
06:04 GAZ082 that's pathetic, perhaps is something wrong with your router
06:04 Dacto Maybe...
06:04 GAZ082 try bypassing the router
06:04 Dacto Hmm I thought 12Mb/s was good lol
06:04 GAZ082 on wired
06:04 Dacto Direct wired connection to computer?
06:04 Dacto lemme try
06:05 GAZ082 yes, what's your cubox ver?
06:11 Dacto I dont have a crossover cable. Let me try with a basic switch
06:13 GAZ082 dacto
06:13 GAZ082 what's your cubox version
06:14 GAZ082 only cubox-i4 has gigabit ethernet, the others have 10/100 Mbit
06:14 GAZ082 are you sure its 12Mb/s or 12MB/s?
06:15 Dacto I have i4. Double checking.
06:17 GAZ082 i'll try myself
06:23 Dacto 12MB/s.
06:24 Dacto So, i think something is wrong with wifi.
06:25 GAZ082 yep
06:25 GAZ082 how did you test it?
06:25 GAZ082 the lan
06:26 Dacto transfer a large file
06:26 Dacto via network share
06:27 Dacto what speeds do you get over wifi?
06:28 GAZ082 cant test wifi as my cubox does not detect my network
06:28 GAZ082 right now im trying to boot the root in my external drive
06:30 Dacto Hmm, ok. I really hope that wifi is faster than what I'm getting..
06:30 GAZ082 im testing lan by my router
06:30 GAZ082 10.8 MB/s
06:31 GAZ082 now 11
06:31 Dacto Ok, at least I know my ethernet is doing fine.
06:31 GAZ082 this is something you could post in the forums
06:32 GAZ082 to see what more savvy people have to say
06:32 Dacto I posted about it but it was mostly included in my post about samba (because I thought it was due to some samba settings).
06:32 Dacto But apparently that is not the case.
06:33 GAZ082 mmm, what's a drive tranfer rate?
06:33 Dacto not sure how to test.
06:34 Dacto It is rated for 6Gb/s though where cubox is 3Gb/s max.
06:35 Dacto esata
06:37 GAZ082 is it a ssd?
06:37 Dacto No, typical rotational.
06:39 Dacto It's more for storage than super speed.
06:40 GAZ082 did you manage to boot your root from the drive?
06:40 GAZ082 or you use 100% on the sdcard
06:41 Dacto i have it on the sdcard currently. Havent tried it with the cubox
06:41 Dacto I have some other things that I boot from a seperately mount rootfs
06:41 GAZ082 how did you do it?
06:41 GAZ082 i cant :(
06:42 GAZ082 check my thread: http://imx.solid-run.com/forums/viewtopic.php?f=10&t=1229&p=9131#p9131
06:44 Dacto hmm, that's how I do it..
06:45 Dacto But, haven't tried for cubox.
06:46 Dacto can you modify uboot before it boots the kernel?
06:47 Dacto the args in uboot instead of the uEnv
06:47 Dacto You could also try via UUID, ie: root=UUID=[uuid of drive]
06:48 GAZ082 mm
06:48 GAZ082 how do i change uboots args?
06:49 Dacto on most uboot devices you can press any key before it boots kernel
06:49 Dacto and it will drop you into the uboot shell
06:49 Dacto it is pretty limited but you can edit the boot scripts and stuff in there
06:50 GAZ082 oh, no, im working headless now
06:50 iz GAZ082: you can get a serial port over usb
06:52 GAZ082 iz: sorry?
06:53 iz you can get a console via serial port over usb.. and in that console window in the serial terminal, you can hit enter and put custom uboot args
06:55 iz just google for cubox serial console
06:57 GAZ082 wizardy!
07:01 GAZ082 THIS IS AMAZING!
07:05 GAZ082 how do i end entering u-boot commads?
07:12 Dacto umm you can send the boot command
07:12 Dacto i'm not sure what they call it for cubox but some use bootm and bootz
07:26 GAZ082 bye guys, thanks a lot
07:26 GAZ082 time to zzz
07:26 Dacto Night
13:47 heap_ hi, im trying to run xbmc on cuboxpro1 on arch arm
13:48 heap_ but getting error while starting X : Error: couldn't find RGB GLX visual or fbconfig
13:48 heap_ any idea?
13:48 heap_ thanks