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

10:28 Exaga morning all :>
11:06 malte morning
11:07 Exaga hi malte
11:07 malte hey Exaga
11:07 Exaga :>
11:07 Exaga i have the i2ex booting with debian using kernel 3.14.14
11:07 malte great
11:07 Exaga but i'm missing modules
11:08 Exaga so just fixing that and rebooting
11:08 Exaga working my way through dmesg as we speak hehe
11:26 Exaga although it's booting my display goes blank during boot but i can login via ssh
11:26 Exaga i wonder if there's a uEnv.txt setting i am missing
11:27 Humpelstilzchen Exaga: dvi?
11:28 Exaga bootfile=zImage
11:28 Exaga mmcargs2=setenv bootargs root=/dev/mmcblk0p2 ro rootwait video=mxcfb0:dev=hdmi consoleblank=0 ${bootargs_ext}
11:28 Exaga mmcargs=if test ${cpu} = 6SOLO; then setenv bootargs_ext gpumem=64M fbmem=10M; else setenv bootargs_ext; fi; run mmcargs2
11:28 Exaga maybe i am missing something
11:29 Exaga this is the old uEnv.txt from the stock debian jessie install
11:29 Exaga i only changed bootfile=uImage to bootfile=zImage
11:32 Exaga Humpelstilzchen: i have a hdmi cable plugged in
13:47 cybertim got my hummingboard today, but im a bit puzzled, i flashed the latest 'jessie' debian to an 4gb sd, i can see the greenlight flash but nothing out of the hdmi/analog out also not showing up on the network
13:47 cybertim is there a way to debug this, or is the latest jessie image not compatible wth the hummingboard?
13:48 Exaga what type of borad cybertim ?
13:48 Exaga i2, i2ex?
13:48 cybertim the i1
13:48 Exaga right
13:48 Exaga did you just write the image to the sd card and try booting it?
13:49 cybertim yes i 'dd'ed it and booted it on the hummingboard
13:49 Exaga well i am informed that this image is the best one to use:
13:49 Exaga http://www.igorpecovnik.com/2014/08/19/cubox-i-hummingboard-debian-sd-image/
13:49 Exaga the word is that it's better to use this than the stock debian jessie
13:50 Exaga i have an i2ex but i haven't tried this image yet
13:50 cybertim im also downloading the old jessie image now from solidrun
13:50 cybertim since i need jessie:P but i can also distupgrade from wheezy
13:50 cybertim will download that one as well
13:51 Exaga i'm testing with the solidrun jessie
14:02 cybertim hm got something out of it, but by replacing the power source, it was 500ma now 850ma - but during the boot process get a lot of stacktraces and it stops..
14:03 cybertim what is the min. ampere rating?
14:03 Exaga 2A i think
14:03 Exaga i am not sure
14:04 cybertim hm thats a lot ;) will search for a bigger adapter
14:13 Exaga 3. Power Adapter: you may choose your own power adapter, make sure to use a power adapter with the
14:13 Exaga following specification:
14:13 Exaga Regulated 5V supply with 2A source capacity.
14:13 Exaga Micro USB plug type.
14:13 Exaga http://www.solid-run.com/wp-content/uploads/2014/06/SolidRun_UM_HummingBoard.v-1-1.pdf
14:13 Exaga Use only limited power source (LPS) power adapter with adequate protections. Power adapter
14:13 Exaga should meet local safety regulations.
14:14 dv_ heh, I imagine the picture. next the cubox, a fire extinguisher, "just in case"
14:14 dv_ *next to
14:14 Exaga :D
14:38 cybertim hm got it 'working' now the 'root fs cannot be mounted' unknown type etc.. is this because i use HC mini sd?
14:38 cybertim will try the Igor debian image as well now :P
14:38 Exaga not sure mate sorry
14:39 Exaga might be just an error msg because the rootfstype=ext4
14:39 cybertim it states that it tried ext4 and a bunch of others and that it is 'unknown' maybe its just corrupted, will dd again
14:40 cybertim use another card
14:51 cybertim its working, omg ;) 1.2A power adapter (even with some 2a didnt work, think the ratings werent so good) and the new jessie image on another sd crd
14:52 cybertim the igor image didnt show anything on screen..
14:52 cybertim and the old jessie just bugs out
14:53 jnettlet cybertim, a lot of the 2a chargers especially if for use with the iphone need special cables to go into "fast charge" mode
14:54 jnettlet the standard for normal android phones is that they have the tx/rx pins shorted
14:54 cybertim i used a universal one, but switching the volt to 5 also scales the amperage i guess
14:54 cybertim probably 2a on 1volt :P
14:54 jnettlet without those pins shorted it will only output normal USB 1.1 voltage
16:08 Exaga ah... this forum thread explains it all...
16:08 Exaga http://www.solid-run.com/community/topic1547.html
16:11 jnettlet hey somebody actually read my warning message. excellent!
16:11 Exaga which message? :>
16:12 jnettlet WARN: Cannot load the DTB and boot file is type zImage
16:12 jnettlet if you have not appended a dtb to the file it may
16:12 jnettlet hang after displaying Starting kernel...
16:13 Exaga so the problem has a solution?
16:14 jnettlet yes make sure you have the proper .dtb files in the same directory as your zImage
16:14 Exaga well i have an i2ex
16:15 jnettlet and???
16:15 Exaga and i do not know how to append a dtb to the file :>
16:15 Exaga can you tell me please?
16:15 jnettlet you don't need to. Just make sure the file that is looking for is in the same directory as your zImage file
16:16 Exaga ok
16:17 Exaga do i just need 1 .dtb file to match my hardware?
16:17 Exaga and do i use imx6dl or imx6q for the i2eX? :>
16:18 Exaga i guess imx6dl
16:18 Exaga imx6dl-hummingboard.dtb
16:18 jnettlet The error message tells you.
16:18 jnettlet ** File not found /boot/imx6q-hummingboard.dtb **
16:18 jnettlet WARN: Cannot load the DTB and boot file is type zImage
16:18 jnettlet if you have not appended a dtb to the file it may
16:18 jnettlet hang after displaying Starting kernel...
16:18 Exaga that's it yes
16:19 Exaga so which file exactly needs to be in /boot along with zImage ?
16:20 jnettlet ** File not found /boot/imx6q-hummingboard.dtb **
16:20 Exaga ok i'll try it
16:20 Exaga thanks for your advice :>
16:20 jnettlet good luck
16:20 Exaga thank you
16:21 Exaga imx6dl-hummingboard.dtb is in the same place as zImage
16:22 Exaga and the screen is blank after the kernel loads
16:22 Exaga i can still log in via ssh
17:33 earthy that implies that the kernel is not informed of the wish to output to hdmi or the OS does not start a login process on the hdmi tty
17:35 paulk-aldrin hey, I get no sound on my cubox-i with debian jessie and hdmi output
17:35 paulk-aldrin looks like pulseaudio is using the right alsa card
17:35 paulk-aldrin (which shows no controls, btw)
17:35 paulk-aldrin but no sound output
17:35 paulk-aldrin now I noticed that the SDMA firmware is not being loaded, because it requests it *before* rootfs is mounted
17:36 paulk-aldrin so question is: should I use an initramfs with the sdma firmware?
17:36 paulk-aldrin or else, how do I make it load it?
17:36 paulk-aldrin (provided that's why hdmi audio doesn't work)
17:36 Humpelstilzchen hdmi audio needs firmware?
17:36 paulk-aldrin SDMA does
17:36 paulk-aldrin and HDMI audio supposedly relies on SDMA
17:36 paulk-aldrin well, SDMA doesn't, but it's better with the firmware
17:37 paulk-aldrin thankfully
17:37 Humpelstilzchen I don't think I have fetched a firmware for that
17:37 Humpelstilzchen paulk-aldrin: did you just try aplay?
17:37 paulk-aldrin does it work for you (HDMI audio)?
17:37 Humpelstilzchen hdmi works yes
17:37 paulk-aldrin Humpelstilzchen, aplay, pulseaudio, mplayer, vlc, nothing produces audio
17:37 paulk-aldrin Humpelstilzchen, care to share a dmesg?
17:38 paulk-aldrin I'm using 3.14
17:38 Humpelstilzchen same
17:38 Humpelstilzchen paulk-aldrin: sorry currenty no access from here
17:38 paulk-aldrin ok
17:39 Humpelstilzchen ok
17:39 paulk-aldrin Humpelstilzchen, the firmware is in the kernel source, so it's likely that it was installed along with the modules btw
17:39 Humpelstilzchen I have a dmesg
17:39 Humpelstilzchen posted one last weekend, should be still online *searching link*
17:40 Humpelstilzchen paulk-aldrin: http://pastebin.com/KLBDhGjd
17:40 paulk-aldrin [ 0.465979] imx-sdma 20ec000.sdma: loaded firmware 1.1
17:40 paulk-aldrin see
17:40 paulk-aldrin mine says it didn't load it
17:40 paulk-aldrin Humpelstilzchen, do you have an initramfs there?
17:40 Humpelstilzchen paulk-aldrin: no
17:41 paulk-aldrin how strange
17:41 Humpelstilzchen initramfs is too complicated for me, so I don't use it
17:41 paulk-aldrin well, it's not really necessary when root= is hardcoded
17:41 Humpelstilzchen root= is passed by bootloader
17:41 paulk-aldrin yeah
17:42 paulk-aldrin but from the kernel perspective, it's hardcoded ;)
17:43 paulk-aldrin jnettlet, got an explanation?
17:43 Humpelstilzchen if you compile audio as module?
17:43 paulk-aldrin well, SDMA is still going to be loaded too early
17:43 paulk-aldrin hdmi-audio is not the problem itself
18:20 jnettlet paulk-aldrin, an explanation of what?
18:23 paulk-aldrin jnettlet, well, how come the SDMA firmware gets loaded with no initramfs and priori to mounting rootfs on Humpelstilzchen's cubox-i
18:23 paulk-aldrin prior*
18:24 jnettlet it is before it is mounted, or before it is mounted r/w?
18:24 jnettlet regardless it is probably because the firmware is built into the kernel
18:24 jnettlet but SDMA can load and then attach the firmware later
18:25 jnettlet I would need to see the logs
18:25 paulk-aldrin oh ok
18:26 paulk-aldrin jnettlet, in my case, the firmware is on rootfs and the SDMA driver is loaded before the mmc is even probed
18:26 paulk-aldrin hence, I cannot get it to work and HDMI audio fails
18:26 paulk-aldrin or doesn't produce any sound at all
18:27 jnettlet paulk-aldrin, I would need to see the logs, and also know the distribution.
18:27 paulk-aldrin jnettlet, right, I don't have it here
18:27 paulk-aldrin it's debian/jessie though