IRC log of #cubox of Thu 07 Mar 2013. All times are in CET < Back to index

00:00 ZouKeeper yes
00:00 ZouKeeper let me show you what I got
00:01 ZouKeeper argh, serial buffer does not go that far, I would have to try again
00:09 ZouKeeper basically, the thing won'T start by itself. I will read what is on the sdcard, but will not read what is on the usb stick ( tried 3 sticks, fat/fat32 and ext2)
00:11 captainigloo on usb top port ?
00:12 ZouKeeper yes
00:12 ZouKeeper like the images
00:19 ZouKeeper trie putting the files in / and in /boot
00:19 ZouKeeper I also have /boot/u-boot.bin
00:19 ZouKeeper brb
00:32 ZouKeeper back
01:23 ZouKeeper I am a little further in my quest, anyone interested ?
01:24 ZouKeeper is this normal ?
01:24 ZouKeeper .
01:25 ZouKeeper 3
01:25 ZouKeeper
01:25 ZouKeeper ............................
01:25 ZouKeeper 339396 bytes read
01:25 ZouKeeper ========= Burning u-boot ========
01:25 ZouKeeper Unprotecting flash: [Done]
01:25 ZouKeeper Erasing 0xc0000 - 0xd0000: [Done]
01:25 ZouKeeper Protecting flash: [Done]
01:25 ZouKeeper Warning: Default Environment Variables will take effect Only after RESET
01:25 ZouKeeper Saving Environment to SPI Flash...
01:25 ZouKeeper Unprotecting flash: [Done]
01:25 ZouKeeper Erasing 0xc0000 - 0xd0000: [Done]
01:26 ZouKeeper Writing to SPI flash: [Done]
01:26 ZouKeeper Protecting flash: [Done]
01:26 ZouKeeper Bootstrap 2.33>
01:26 ZouKeeper >
01:26 ZouKeeper >
01:26 ZouKeeper >
01:26 ZouKeeper >
01:27 ZouKeeper it does this the first time. The second time I go through the entire install process.... but, ifI pull the plug, I go right back to Bootstrap 2.33>
01:27 ZouKeeper any help ?
01:27 ZouKeeper please
04:14 dbsx Re: ZouKeeper CuBox>> fatload usb 0:1 ${bootaddr} /boot/u-boot.bin.
04:14 dbsx The diags you give indicate that uboot does not like your USB device.
04:14 dbsx Try a long wait between "usb start" and the fatload OR find another USB device.
11:54 ZouKeeper dbsx: I have passed the usb loading error. I formatted the usb key with ext2, loaded 4 files in / and /boot.
11:54 ZouKeeper First run, I go in the - echo "Will check if u-boot exists on USB driver and if allowed to burn it"
11:55 ZouKeeper Then it dies at 'sf protect on; reset'
11:55 ZouKeeper it restarts, I still get "Bootstrap 2.33>"
11:56 ZouKeeper I restart the procedure, this time (second time), I make it to the installer, SD gets formatted and files installed.
11:56 ZouKeeper But... when I reboot, I still get "Bootstrap 2.33>"
11:57 ZouKeeper so, my problem is, It cannot boot by itself
14:27 rabeeh ZouKeeper: still around?
14:37 ZouKeeper yes
14:39 ZouKeeper and still reading and trying stuff
14:41 rabeeh ZouKeeper; you need to flash the u-boot into SPI too
14:41 rabeeh i don't see that you are doing this
14:46 Coolg33k hi, I have a small question: is uboot enabled to boot over NFS without a boot.scr file inside a usb key or a SD card ?
14:47 rabeeh you can tftp first the boot.scr and then with that command mount over NFS
14:47 rabeeh that's what i typically do for network development
14:47 rabeeh besides that u-boot doesn't have native NFS support
14:47 rabeeh only TFTP
14:47 Coolg33k ok
14:48 Coolg33k is it better than a SD card ? speed, reliability, etc.
14:49 rabeeh well.. the best is through esata
14:49 Coolg33k don't have that ::
14:49 Coolg33k only sdcard or a NAS with NFS
14:50 ZouKeeper rabeeh, please guide me on this
14:52 rabeeh ZouKeeper: just boot through the CuBox installer, and then inside the installation menu pick flash u-boot into SPI
14:52 ZouKeeper rabeeh: tftp and nfs no problem... i need more help with the boot.scr
14:52 rabeeh http://www.solid-run.com/phpbb/viewtopic.php?f=6&t=1160&start=30#p6672
14:52 ZouKeeper rabeeh: stay close, doing it now
14:52 rabeeh steps 1..4
14:53 ZouKeeper rabeeh: I have read these posts lol, be back, stay close
14:53 rabeeh i'm here
14:54 rabee 14:54 * rabeeh hand holds ZouKeeper
14:54 rabeeh :)
14:55 Coolg33k good guy rabeeh :)
14:56 ZouKeeper heheh
14:56 ZouKeeper rabeeh: in boot.scr
14:56 ZouKeeper if itest.s $version -eq 5.4.4_SR1; then
14:56 ZouKeeper it goes to echo "Will check if u-boot exists on USB driver and if allowed to burn it"
14:56 ZouKeeper oops
14:57 ZouKeeper not there
14:57 ZouKeeper it goes to
14:57 ZouKeeper echo "Seems you already have latest version of u-boot. Skipping"
14:58 rabeeh that's ok. just skip that part
14:58 rabeeh flashing the SPI flash should be after kernel boots from the USB stick and you get a menu via serial port or HDMI (1080p60)
14:59 ZouKeeper ok, xmodem done, booting...
15:00 ZouKeeper options are :
15:00 ZouKeeper Obtain IP , run the installer, run nstallation script, exit to shell, reboot
15:01 rabeeh obtain ip
15:01 rabeeh then 'run the installer'
15:01 rabeeh ZouKeeper: are you good at video editing? maybe you can prepare a clip about that?
15:02 ZouKeeper rabeeh: if we get this to work, I will do a screen cast, but you have to change something in the docs
15:02 ZouKeeper On OSX, CTRL-A
15:02 rabeeh i'll change the docs
15:02 ZouKeeper then paste :
15:02 ZouKeeper :exec !! lsx -vv /Users/frantzcy/Downloads/u-boot-cubox_hynix_cubox_2GB_uart.bin
15:03 ZouKeeper The ":" is not in the docs, it makes hole the difference
15:03 rabeeh which terminal are you using?
15:03 ZouKeeper screen
15:04 ZouKeeper screen /dev/tty.usbserial-0000201D 115200
15:05 ZouKeeper I see the u-boot option in the meny
15:05 ZouKeeper menu
15:05 ZouKeeper done, just reboot now ?
15:09 ZouKeeper Well, rebooted, and it seems it was the missing piece in the puzzle
15:10 ZouKeeper Thank you rabeeh !!
15:10 rabeeh great
15:10 ZouKeeper as promissed, tutorial or screencars will be done
15:10 rabeeh :)
15:10 ZouKeeper prefered resolution / video format ?
15:11 rabeeh to be posted on YouTube?
15:11 rabeeh 1080 probably since there will be text that requires high resolution.
15:11 rabeeh or 720p
15:12 rabeeh oh; i'v got an idea
15:12 rabeeh watch those youtube videos through a plugin to the CuBox installer?
15:12 rabeeh :)
15:13 ZouKeeper yeah...
15:14 ZouKeeper but many won'T make it to the installer..
15:14 rabeeh right.
15:15 rabeeh chicken and an egg
15:15 ZouKeeper exactly
15:15 ZouKeeper question, does the cubox have specific remote control codes (infra red)
15:17 rabeeh nop.
15:18 rabeeh you need to teach it
15:18 ZouKeeper what do people use as a remot when running xbmc ?
15:24 ZouKeeper well, that will be my next battle..
15:38 rabeeh all kind
15:38 rabeeh usb based keyboard + mouse (typically RF)
15:38 rabeeh IR is possible
15:40 ZouKeeper rabeeh: yes, that what I have right now... just thinking about what I will do for the second cubox
15:40 rabeeh IPFire?
15:40 rabeeh i'm working with the Amahi team
15:41 rabeeh Headless server? (NAS)
15:42 ZouKeeper interesting, but, what type of performance do you get from cubox as NAS ?
15:45 ZouKeeper brb
16:15 captainigloo rabeeh: amahi is opensource ?
16:16 rabeeh don't know
16:16 rabeeh lots of it is ruby based
16:17 captainigloo ok
16:17 rabeeh i'v done the initial port; doesn't really work
16:17 rabeeh it's based on the plug computer fedora-12; but that's too old and doesn't really work
16:18 captainigloo ok
16:25 rabeeh i talked to their head developer cpg on #amahi and excited about CuBox
16:30 ZouKeeper yeah...
16:30 ZouKeeper rabeeh: Now that I can install OSes via the installer, I try them, but, not successful every time...
16:31 rabeeh which one?
16:31 ZouKeeper headless ubuntu worked
16:31 rabeeh i know there is an issue with geexbox-release
16:31 ZouKeeper headful ubunti didn't.... Loading: T T T T T
16:32 rabeeh just installed xubuntu and worked for me
16:32 ZouKeeper geexbox didnt work either
16:32 captainigloo it's hard to add a new distro to this list ?
16:32 rabeeh not hard
16:32 ZouKeeper but if I format the SD using their cubsxsd script, things work fine
16:33 ZouKeeper ok, let me try xbuntu again
16:34 rabeeh adding an entry to the installer is a snap
16:34 ZouKeeper ** might be a good idea to give the option of puting the distros on the usbs tick
16:34 rabeeh just develop the script using a sample from the net and then run it as a local script
16:35 rabeeh ZouKeeper; people asked for that too.
16:35 ZouKeeper sorry, still a noob here
16:35 rabeeh today the only option is getting that through /dev/mmcblk0 (SD card)
16:35 rabeeh but getting choose a destination and automatically build boot.scr is the best (you can choose USB / SD / SATA etc...)
16:37 ZouKeeper xbubuntu downlaoding, wel'll see
16:38 ZouKeeper my second cubox is still at bootstrat 2.33 prompt, i'll use it to make the video
16:38 rabeeh why is it by the way?
16:38 rabeeh how did you come into the bootstrap thing?
16:39 ZouKeeper using windows and trying to install xbmc - from the link in solid-run
16:42 rabeeh geexbox-devel should work (hardfp)
16:43 rabeeh oh; sorry
16:43 rabeeh forgot that i'v asked first.
16:43 rabeeh so the CuBox shipped to you worked as-is with u-boot and the oldie ubuntu
16:43 rabeeh right?
16:44 ZouKeeper yes, worked,
16:44 ZouKeeper but was too slow, even for my 8yo :(
16:54 ZouKeeper rabeeh: u-boot flashing will work even if you do not have u-boot.bin in /boot ? you download it right ?
16:55 ZouKeeper ok , xbuntu, via hdmi, blank screet... on serial, i see this:
16:55 ZouKeeper init: procps (virtual-filesystems) state changed from starting to pre-start
16:55 ZouKeeper init: procps (virtual-filesystems) state changed from pre-start to spawned
16:55 ZouKeeper init: procps (virtual-filesystems) main process (654)
16:55 ZouKeeper init: procps (virtual-filesystems) state changed from spawned to post-start
16:55 rabeeh login?
16:55 ZouKeeper let me just add 5gm of patience and see
16:57 ZouKeeper actually, I needed 10mg of patience
16:58 rabee 16:58 * rabeeh thinks you need 1kg
16:58 `jpi :p
16:58 rabeeh which display do you have?
16:59 rabeeh hey `jpi
16:59 ZouKeeper Loool.. i do need more patience
17:00 ZouKeeper the hdmi is currently set to a 24inc monitor
17:00 `jpi hi
17:04 rabeeh 1080p?
17:04 rabeeh 1920x1080 resolution?
17:11 ZouKeeper yes
17:11 ZouKeeper are you saying reduce resolution ?
17:11 rabeeh no. 1920x1080 is ok
17:36 ZouKeeper ok, I have pure video From boostap to xubuntu
17:38 rabeeh great
17:38 ZouKeeper I will have to reduce that to say, 3 to 4 minutes
17:38 ZouKeeper or less
17:40 rabeeh i think cutting that to how to unbrick first
17:40 rabeeh then cubox installer to install whatever there is another part
17:40 rabeeh what do you think?
17:47 ZouKeeper it's all one big blob right now, yes, those are the two parts, actually 3, flash u-boot (which is not in the docs, I think)
17:48 ZouKeeper the quality did not turn out as I wanted it....
17:49 ZouKeeper but should be readable
17:52 ZouKeeper be back
19:15 ZouKeeper ok, 24min down to 4:50, I need to make the keynote slides, then I make the music and i'll show you
22:28 rmull I'm having trouble playing webm video on the cubox. Is it working for anyone else? I've installed libgstmatroska