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

01:40 Exaga evening all :>
09:04 Exaga hi folks... i have a hummingboard i2ex running stock debian and i'm trying to update the kernel to 3.14.14 using the how-to guide on SolidRun wiki... but the process fails every time for me.
09:05 Exaga has anybody got any suggestions or advice as to where i could be going wrong?
09:05 Exaga or a set of instructions I can follow which does work?
09:42 Dr_hash ????? ??????? ! :-)
09:42 Exaga hey Dr_hash :>
09:42 Dr_hash Hi
09:43 Exaga any ideas on how to upgrade a kernel on the hummingboard i2ex successfully?
09:44 Dr_hash ??? ??????, ?? ? ????
09:45 Exaga i guess not :D
09:46 Exaga i'm following the guide on solidrun wiki but there's something i'm not doing right
09:47 Dr_hash ??? ?????? ???? ??????????????? ?????? ??!
09:48 Exaga geen probleem
09:48 Nilesh_ I'm trying to enable lvds on wandboard-solo .....I've altered the device tree with reference to sabre board..but unable to get the output ..can anyone help..
11:04 earthy Exaga: simply building the kernel will not set up your u-boot to actually boot that particular kernel
11:04 earthy you'll have to put the zImage on your boot partition
11:05 Exaga earthy: i have done all that
11:05 Exaga http://www.solid-run.com/wiki/Building_the_kernel_and_u-boot_for_the_CuBox-i_and_the_HummingBoard
11:05 Exaga following that guide
11:09 earthy that guide is incomplete where it comes to http://www.solid-run.com/wiki/Building_the_kernel_and_u-boot_for_the_CuBox-i_and_the_HummingBoard#Flashing_U-boot_and_the_kernel_-_full_example
11:09 earthy (for one, it referes to the uImage)
11:27 Exaga earthy: the guide may be complete but i am not understanding correctly or not doing something i need to do
11:27 Exaga because it's not working for me
11:28 Exaga this is why i am asking for assistance :>
11:28 Exaga telling me the guide is complete doesn't actually assist me much lol
11:28 Exaga because i have tried it multiple times
11:29 Exaga other people seem to have installed debian and updated to the 3.14.14 kernel without any problems
11:29 Exaga using that same guide
11:33 Exaga and the image created is not a uImage it's a zImage
11:33 Exaga and the uEnv.txt calls for a uImage
11:33 Exaga so as you can imagine, being a complete novice to u-boot i am somewhat confused
11:34 Exaga what i need is somebody to say "do this, type that, run that... this is how it's done"
11:34 Exaga or point me in the right direction
12:09 earthy *in*complete.
12:09 Exaga that too
12:09 earthy niet helemaal af. :)
12:09 Exaga either way i'm stuck
12:09 earthy the uEnv.txt should be edited to refer to the actual image file that you put in /boot
12:10 earthy in this case it should read bootfile=/boot/zImage rather than bootfile=/boot/uImage
12:10 Exaga ok cool. thanks for that
12:11 Exaga i tried that and was told the uImage was not the correct format
12:11 earthy zImage
12:12 Exaga i also tried using this command to convert it: mkimage -A arm -O linux -T kernel -C none -a 0x80008000 -e 0x80008000 -n "Linux kernel" -d zImage uImage
12:12 earth 12:12 * earthy nods
12:12 Exaga still didn't work for me
12:12 earthy should no longer be needed with current u-boot from solid-run, IIRC
12:13 Exaga yes i have read that somewhere
12:13 Artox with zImages you dont need uImage
12:13 Exaga well i'll try it again
12:14 earthy Exaga: read how it's done in https://github.com/igorpecovnik/Cubox-i-Debian/blob/master/build.sh
12:14 Exaga thanks earthy
12:15 earthy especially lines 130 to 139
12:15 Exaga reading now
12:16 earthy that script builds working headless debian images
17:56 wrexem I'm baaaaaack.
17:56 wrexem And how is everyone today
18:01 wrexem Quiet. Excellent.
18:02 dv_ :)
18:02 wrexem I will fill your ears (or eyeballs, probably) with joy.
18:06 Exaga :>
19:21 earthy :)
20:13 wrexem Whats new today Kernel hacking megaminds? (jnettlett)
20:13 wrexem Who else is fiddling with the kernel? What is everyone working on?
20:14 malte working on wine
20:14 malte whitewine
20:14 malte :)
20:14 Exaga trying to get debian jessie booting with a 3.14.14 kernel
20:15 Exaga on a hummingboard i2eX
20:55 wrexem Does it not work Exaga?
20:58 Exaga it boots to a black screen
20:58 wrexem Does SSH and soforth come up, network? or is it kernel panic or frozen invisibly?
20:59 wrexem Do you have serial debugging console?
20:59 Exaga right after the initial "BIOS" info... black screen at the point when you expect to see a screen of scrolling text
20:59 Exaga i don't have the console
21:01 wrexem I bought a console cable for it; I haven't tried it yet because I haven't managed to freeze it lately.
21:01 Exaga at first i thought the fault was with u-boot
21:02 Exaga but now i think it is the kernel
21:02 Exag 21:02 * Exaga is currently building a new one
21:02 wrexem Can you paste your uEnv?
21:03 Exaga bootfile=uImage
21:03 Exaga mmcargs2=setenv bootargs root=/dev/mmcblk0p2 ro rootwait video=mxcfb0:dev=hdmi consoleblank=0 ${bootargs_ext}
21:03 Exaga mmcargs=if test ${cpu} = 6SOLO; then setenv bootargs_ext gpumem=64M fbmem=10M; else setenv bootargs_ext; fi; run mmcargs2
21:04 earthy bootfile=uIMage should be removed methinks
21:04 wrexem Is there a uImage?
21:04 wrexem I would think you want a zImage
21:04 earth 21:04 * earthy nods
21:04 Exaga there will be a zImage
21:06 malte Exaga : do u use a hdmi dvi adapter
21:07 Exaga no malte it's a straight HMDI cable into the monitor
21:07 Exaga malte: i cannot ssh to the device after the screen goes blank
21:07 Exaga so i assume it crashes at the point it's trying to load the kernel
21:07 wrexem Why do you have the uImage thing there?
21:07 wrexem Just curious.
21:08 Exaga because i pasted you a backup of my uEnv.txt file
21:08 malte do u use igors img ?
21:08 Exaga it will be edited before i copy it to /boot
21:08 Exaga malte: i am using the stock debian jessie image
21:08 wrexem malte: he's using jessie, trying to use new kernel with that
21:09 Exaga maybe trying igor's img is worth a shot
21:09 wrexem That does interest me though: Why jessie instead of Igor's hotsauce?
21:09 Exaga but isn;t that already 3.14.14 ?
21:09 malte igor got a good headless working debian img with newest kernel
21:10 Exaga wrexem: because i'm new to the hummingboard/u-boot
21:11 Exaga in all honesty i do not know what the best img to use is
21:11 wrexem What is your goal for use?
21:11 Exaga my goal is to get this working and then port slackware arm on to it
21:11 wrexem Beyond "all the things" :)
21:11 wrexem okiedoke. Check out Igor's debian build.
21:11 wrexem let me see if I can find you the link
21:11 Exaga it's cool. i have the URL bookmarked
21:12 Exaga thanks :>
21:12 wrexem http://www.igorpecovnik.com/2014/08/19/cubox-i-hummingboard-debian-sd-image/
21:12 wrexem It's extremely solid in my experience.
21:12 wrexem A bit of weirdness with his mountpoints; I still have no idea what I'm looking at (no fstab file? lol) but it works well. And optimized to use very little IO on the sdcard.
21:13 Exaga wrexem: my aim is to educate myself setting up the microSD card and update the kernel
21:13 Exaga from there the sky is the limit
21:14 wrexem Truth.
21:14 wrexem Basically, some device tree files need to be in your boot folder.
21:14 wrexem And a zImage file.
21:14 wrexem That should get the kernel up, then you need a rootfs
21:15 Exaga SPL and u-boot.img ?
21:15 wrexem I use dd on Igor's image to put it on the sd crad
21:15 wrexem card*
21:16 wrexem Somebody else would have to talk about SPL/u-boot
21:16 Exaga well as i say, i'm very nwe to the hummingboard so thanks for the advice
21:16 Exaga very much appreciated :>
21:17 Exaga i've been a raspberry pi whore for too long :/
21:17 wrexem I think much of your experience there will translate.
21:17 wrexem But this is a much more competent board.
21:17 wrexem I have a wifi chip on my pci-e
21:18 wrexem and an SSD as my primary storage :)
21:18 wrexem (You said you have the i2ex right?)
21:18 Exaga yes, working with the stock debian jessie image i can see it's very fast
21:18 Exaga i2eX yes
21:19 wrexem Yeah, malte is working on putting a pci-eX16 port on his i2ex :P
21:19 wrexem Best thing on this board is that pci-e, totally awesome.
21:19 wrexem sata 3Gb too
21:19 Exaga i bought it over the i2 because of the features
21:20 Exaga although fitting it in a raspi enclosure is not advisable
21:20 wrexem You can actually upgrade the chip on it to a quad core - did you know?
21:20 Exaga yes wrexem the quad module is $110
21:20 wrexem idk if there is much benefit in day to day use.
21:20 wrexem But someday I may do just that. For the joy of it.
21:20 Exaga but it's not being shipped as a unit because they are still working out heat dissipation issues, apparently
21:21 wrexem Mine boots to login in 9 seconds.
21:21 Exaga which os are you running?
21:21 wrexem That igor image, on SSD
21:21 wrexem Set a static IP in /etc/network/interfaces and call it a day
21:21 Exaga i will get a SSD for it eventually
21:21 wrexem I gota 128gb crucial.
21:22 wrexem R/W at 110MB/s writing zeros.
21:23 Exaga do you have an enclosure for it wrexem ?
21:23 wrexem It fits in one of my rpi cases, after some modification.
21:24 wrexem I haven't tried running it in there, I will after I get the fan mounted up properly
21:24 Exaga i was thinking of cutting out a swuare from the base of one of mine
21:24 wrexem I bought a 30mm fan
21:24 wrexem I have the modmypi case
21:24 wrexem early early rpi stuff
21:24 Exaga i have one too
21:24 Exaga i have a few raspi's
21:28 wrexem I had to hack out a spot where the LVDS connector is, and remove some little plastic spikes so the ssd could fit.
21:28 wrexem I have access to a laser cutter; I think I might try designing my own case - specific for the HB
21:29 wrexem With lots of vents near the processor and such
21:29 Exaga i think somebody with a 3D printer and some time free might help too :>
21:29 wrexem I have access to that also
21:29 Exaga a hummingboard specific case would be cool
21:29 wrexem It's actually awesome cutting out of really thin plywood
21:30 wrexem You just cut each layer the same outside dimension, then stack them.
21:30 wrexem carve out the middles
21:30 wrexem lots of open sourced examples.
21:30 Exaga too much effort for me mate :>
21:30 wrexem Just tweak a bit for the pi
21:30 wrexem Well, yes. But you never know when you might hit the million dollar idea :)
21:30 Exaga what looks completely wrong is the hummingboard in a raspi case
21:31 Exaga when it has the pi logo on it
21:31 wrexem It looks pretty awesome if you ask me ;) oh, yeah, no logos
21:31 wrexem hehe
21:31 wrexem my pi case came with a sticker
21:31 wrexem I was like... nope
21:31 Exaga :>
21:31 wrexem stuck it on my pc instead
21:32 Exaga i'm sure the hummingboard i2 fits perfectly in a raspi case
21:32 wrexem Maybe yeah
21:32 wrexem The i2ex does also; I just worry about the heat
21:32 Exaga it's just the mSATA port stopping it from fitting properly on the i2eX
21:32 wrexem the chip will reset the motherboard if it gets too hot though.
21:32 wrexem The case I had fit, even still.
21:33 wrexem It wasn't close on the bottom like that
21:33 Exaga well i have a modmypi case and it wasn't going to fit in it without modification
21:33 wrexem Mine was the original one from mmp
21:34 wrexem Different than these new ones by quite a bit.
21:34 Exaga i see
21:34 wrexem I would take a picture but it's in the car
21:34 Exaga no worries :>
21:44 wrexem Interesting, I didn't realize the chromecast had a vivante chip