IRC log of #cubox of Sun 25 Oct 2015. All times are in CET < Back to index

14:42 smishra Hi, I am trying to build 3.14.54 kernel on Xilka to enable KGDB support. Is there a place from which I can download the kernel sources? I saw the xilka.com site but could not figure out how using the information available there.
14:43 smishra The Yocto 3.14.14 sources work good but do not have video driver support. I am trying to add video driver support for a Micron Technology camera module and the Omnivision camera modules in 3.14.54 would form a good base.
14:51 Artox smishra: the 3.14.54 kernelk is provided on the SolidRun github account
14:52 Artox https://github.com/SolidRun/linux-fslc
14:59 smishra Artox: Thanks. I tried to build it but it crashed on boot. Let me try again. Maybe something went wrong last time. Trying a fresh build! :)
15:00 Artox remember to install zImage and DTBs
15:01 Artox unless, idk how "Xilka" boots, never tried that
15:07 smishra artox: will do! got Xilka prebuilt zImage and modules from here. They work fine. http://xilka.com/kernel/3/3.14/3.14.54/release/1/
15:10 smishra Guess no harm in using arm-linux-gnueabihf-gcc toolchain vs the the arm-linux-gnueabi-gcc . i.MX6 is hard float so it should work.
15:12 Artox for the kernel it doesnt matter
15:12 Artox (as far as I know)
15:12 Artox (but dont mark me on it)
15:25 smishra Artox: It worked! Many thanks. I had been lazy and had not been copying the dtb files with the build since earlier builds worked without dtb update.
15:25 Artox glad I could help :)
15:27 mk01 yes, kernel is float free
15:33 kasvain can't see backlogs, but asked earlier how to write the SPI to the flash
15:33 kasvain cant see /dev/mtd0 after booting uart and running the kernel and the installer
15:37 kasvain installer tells theres no /dev/mtd0 found, which is right. do i have nand flash really broken or is it about the uart bin i loaded to run the bootloader
15:41 kasvain i2-ex is the one i'm having problem with, at first it had broken bootloader when i got it, haven't been able to make it work, been fighting with this for almost a year now
16:24 Artox kasvain: nand?
16:24 Artox spi?
16:24 Artox did oyu attach a flash chip via spi?
16:25 kasvain Artox: i can't install the SPI image somewhy
16:25 kasvain (through the installer)
16:25 Artox what board?
16:25 kasvain it tells /dev/mtd0 is nto found, when doing ls /dev it is right its not found
16:25 kasvain cubox i2-ex
16:25 kasvain the one with microusb-rs232 and ir
16:25 Artox that does not have a NAND flash
16:26 kasvain i see. which uart binary i need to load to install the bootloader
16:26 Artox bootlaoder belongs on microSD
16:26 Artox check for /dev/mmcblk0
16:26 Artox thats your microsd
16:26 kasvain it is found, i manage to run the official installer (ver 0.4)
16:26 Artox I am confused
16:26 Artox Really confused.
16:26 Artox I only know ignition as an official installer
16:27 Artox adn it wont ask you this stuff
16:27 kasvain me too, don't know what to do, did i load elder cubox UART bin by accident?
16:27 Artox I dont know whta you are doing with uart in the first place
16:28 Artox whats your plan?
16:28 kasvain to make it boot, the old bootloader couldn't boot anything what i put on the SDcard
16:29 kasvain just the T T T T T T T letters on the boot
16:29 kasvain so decided to load new uart bin and erase the old bricked one
16:29 kasvain seesm the uart bin i loaded is wrong somehow
16:30 Artox okay. Bootloader is stored on your microsd
16:30 Artox so just wrire something to the microsd, e.g. ignition.img
16:30 kasvain that's what i have it written on it now
16:30 Artox which will presemt xou with a graphical menu on screen
16:30 kasvain true
16:30 Artox not a command prompt
16:31 kasvain that's what i see on the teraterm screen, then i try to do the "install spi on the flash" but it fails
16:33 kasvain if i do "install debian hardfp headless" (which i'd want to install) it does not make it to install. but seems i don't have any kind of bootloader atm, because i need to xmodem send some uart bin at every boot
16:33 Artox TeraTerm?
16:34 Artox no, I meant a computer didplay attached via HDMI
16:34 kasvain ah, i don't have any HDMI panels atm
16:34 Artox There is no flash attached to SPI
16:34 kasvain i thought this can be done over serial
16:34 Artox I never tried ignition over serial
16:35 Artox however, in your case its best to just write an image of the system you want directly to microsd from your pc
16:35 kasvain i have never got any output from the HDMI before, because the original bootloader was bricked when i got this little cube
16:36 kasvain by googling i found out the version of the bootloader i had was reading from wrong sector (0x0200000) if remember right
16:36 Artox e.g. this one:https://images.solid-build.xyz/IMX6/Debian/sr-imx6-debian-jessie-cli-20151019.img.xz
16:36 kasvain just couldn't even boot the official ignition
16:37 Artox like I said, bootloader is on microsd; unbricking means writing stuff to microsd
16:37 kasvain ty, i'll try that, but still there's problem i can't get any output to serial because i've erased the original bootloader
16:37 Artox this image for sdcard contains abootloader
16:37 kasvain need to xmodem send bootloader every boto
16:38 kasvain to get output from serial so i know what happens there
16:38 Artox nope
16:39 Artox youll get serial output as soon as the bootloader on microsd starts
16:39 kasvain i see, hope this works, i've really had this cube broken until i got this
16:40 kasvain after*
16:40 kasvain just no ability to boot anything on the sdcard, not even ignition (while i had hdmi panel to get output from hdmi)
16:40 Artox and dont forget decompressing the .xt
16:41 Artox xz*
16:42 kasvain btw jsut made a xz image of my usb linux distro, good compression ratio
16:42 kasvain 7.2gb to 2.6gb
16:42 Artox yep; and low speed
16:42 kasvain (much of zeroes also)
16:42 Artox and high memory usage :)
16:43 kasvain took 2 hours with old amd64 venice
16:43 Artox takes 2 hours cubox
16:43 kasvain btw am i right this i2-ex is arm64?
16:44 Artox wrong
16:44 Artox its 32-bits
16:45 kasvain okay, just little info about this around...solidrun's homepage tells this is 64bit but maybe its misleading
16:45 kasvain when looking to i2 specs
16:46 Artox it says the memory is connected by a 64-bit BUS
16:46 kasvain ahh, okay
16:46 kasvain that makes sense
20:37 kasvain Artox: any help with this, i can't figure out why cubox does not want to boot from that card
20:37 Artox so it doesnt put anything on your serial?
20:38 kasvain i get only Bootstrap 2.33> output on the serials
20:38 Artox Bootstrap
20:38 Artox what the
20:38 kasvain https://server.vijge.net/static/cubox/irclog/201303/cubox-20130307.html
20:38 Artox and you say this is a Cubox-i i2ex?
20:38 kasvain same situation this guy have
20:38 Artox This text is not produced by a cubox-i
20:38 kasvain i'll show you exact pic of this device
20:38 Artox it does not have SPI flash
20:39 kasvain http://1.bp.blogspot.com/-qVymZTNuD8E/Txcc8olN4QI/AAAAAAAAANM/vHXVVJEqF2M/s1600/IMG_3783_v1.JPG
20:39 kasvain this one
20:39 Artox looks not like my Cubox-i
20:39 kasvain not my pic, though, but reset button under esata
20:39 Artox mine has the SR logo engraved in the plastic
20:39 Artox this is probably the old Cubox
20:40 kasvain http://hexus.net/media/uploaded/2013/9/3eace78d-51a4-45e2-9ab5-075d51d2a9c6.jpg
20:40 kasvain rs232 and spdif like in this pic
20:41 kasvain this looks very similar http://archlinuxarm.org/sites/default/files/cubox-i.png but this is not the one, its exactly like in the 2 first pics
20:41 kasvain is this 1st gen?
20:42 Artox kasvain: this? https://news.opensuse.org/wp-content/uploads/2013/04/cubox.jpg
20:42 kasvain just that
20:42 Artox with the microUSB on the side
20:42 Artox thats the old, first-gen
20:43 kasvain yeah!
20:43 Artox its not an i2ex
20:43 Artox never
20:43 kasvain damnit
20:43 Artox malte can tell you how to get it workin, just PM him
20:43 Artox and hope he's around :)
20:44 Artox oh hes offline
20:44 Artox :<
20:44 Artox either way: this one wont boot ignition
20:44 Artox or any of the new images
20:45 kasvain seems i've managed to erase the original bootloader at least
20:45 Artox yep
20:45 Artox sorry I dont have one of those boxes so I cant help you with it
20:47 kasvain dman ,thanks anyway appreciate all the help
21:15 kasvain this is strange...the box can load the bootloader image and boot kernel and the installer after that
21:15 kasvain seems i need to flash the bootloader by hand after sent it by xmodem and booted it
21:15 kasvain by some command sf write, but dunno in which memory area
21:16 kasvain when the red light is dim, bootloader is not found in the boot
21:17 kasvain when its bright there is a bootloader installed and written into flash like before i erased it
21:17 kasvain when its just loaded but not written into the flash, the red light blinks
21:18 kasvain this is what i've found out, the documentation is bad and for newer boxes what i've found out this far
21:22 kasvain best one i've found is at youtube, but can't get further https://www.youtube.com/watch?v=-gBoELdllnY
21:22 kasvain booting at 6:50