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

11:53 Rond hi, my cubox-i freezes about 1 minute after boot since an xbian update
11:54 Rond could anyone kindly give me any heads-up to diagnose this?
11:55 Rond the update included a kernel upgrade
11:59 cbxbiker61 Rond, best to get the serial connected and watch the console messages
12:01 kasvain i also have problems booting a 3.6.9 stock kernel provided with ubuntu 12, still unable to get this v1 cubox work
12:02 kasvain using only serial connection, after "Loading kernel..." it jams
12:02 Rond I can ssh into it until it freezes
12:02 cbxbiker61 no message on the console after hang?
12:03 Rond also there's been another linux-image-armmp update, but there's never enough time to get it installed
12:03 Rond nope, no message
12:03 cbxbiker61 does that system use systemd?
12:04 cbxbiker61 if so, you can create /var/log/journal, and it will keep messages across reboots, sometimes you can find something in the system journal that way
12:05 kasvain cbxbiker61: that systemd is also a weird thing i'd like to know an answer - is systemd working with cubox, did a symlink just in case
12:05 kasvain if it updates it by accident
12:06 cbxbiker61 cat /proc/1/cmdline will show you which process is managing the system
12:07 cbxbiker61 i use systemd on all of my systems, big and small
12:08 Rond I just managed to downgrade to 3.16.0
12:08 Rond gonna see if it works okay
12:10 kasvain cbxbiker61: any idea on one problem i have
12:10 kasvain manage to install ubuntu 12 and it boots for first time
12:10 kasvain only distro i can get to boot somehow :o
12:11 kasvain did i install something or not, next boot it does not load kernel, i've still have no idea what makes it
12:12 kasvain when looking to boot.scr, seems it have like 30+ weird characters on the beginning of the first line, so i modified it to look like boot.txt
12:12 kasvain both files are now identical
12:13 cbxbiker61 no! that stuff at the beginning is critical
12:13 kasvain looks like boot.scr is corrupted in the stock ubuntu image
12:13 Rond hmm, I'm getting "update-initramfs: Generating /boot/initrd.img-3.16.0-4-armmp gzip: stdout: No space left on device" while installing linux-image-armmp
12:13 cbxbiker61 you have to run a utility to regenerate the .scr file
12:13 cbxbiker61 modify .txt, run utility to generate .scr
12:13 kasvain cbxbiker61: hmm, ok, does boot.txt have to include also that same stuff? any idea what is the utility called
12:14 cbxbiker61
12:14 cbxbiker61 mkimage -A arm -O linux -T script \
12:14 cbxbiker61 -C none -a 0 -e 0 -n 'Execute uImage.bin' -d $1 $(basename $1 .cmd).scr
12:14 kasvain i see, so that how its made. golden info, ty much
12:14 cbxbiker61 that's a snippet of of a script i use
12:15 kasvain i've been battling with this device for over 8 months now, hope i someday get this work
12:15 cbxbiker61 i use .cmd for the clean text
12:15 kasvain at first the bootloader was bricked...loads from wrong area
12:15 kasvain managed to sf write some version of u-boot at u-boot shell
12:16 kasvain then managed to get the off.installer run, but only os installation that works, is ubuntu 12
12:16 cbxbiker61 yes, the v1 was more confusing, and we have a tendency to forget the little details
12:16 kasvain also, artox provided some good, new image of a debian i'd like to use, but this first gen cubox does not boot it somehow :o
12:17 kasvain he told malte_ might have answers for me
12:17 cbxbiker61 on my v1 boxes, i have the .cmd/.scr point at a kernel, then between versions all i do is symlink the new kernel to the generic name
12:18 kasvain i don't know is this single or dual core, but this seeme to have 1gb of ram
12:18 cbxbiker61 so i don't mess with .cmd/.scr any more
12:19 kasvain ok. any ideas how i can get the latest jessie image boot? i bet i might have wrong memory area set in uboot
12:19 kasvain i can write it successfully, i have 4gb SD
12:19 cbxbiker61 i don't use "standard" distros
12:19 kasvain it starts to load a kernel, but hangs
12:24 kasvain Artox's supplied link for a jessie image is the only one that succeeds to load the kernel by default
12:25 kasvain but still, it hangs somewhy
12:26 kasvain all other images won't boot but original installer's ubuntu 12 and that raw image of jessie
12:26 kasvain i have serial connection only
12:26 cbxbiker61 best talk to artox
13:08 Rond dang, I'm getting "file not found zimage" after the latest apt-get upgrade
13:39 Rond turns out initramfs.gz.old took up all the space on boot partition
13:39 Rond and stuff got lost during the installation
14:18 kasvain ok - 0.01BTC bounty for one who helps me get this 1st gen cubox boot a kernel binary from latest jessie package
14:19 kasvain so tired of this fight making a simple basic thing happen
14:21 kasvain only binary that loads this far is the one from fat formatted stick and it works until second boot it does not find anything from any loadaddr
14:21 kasvain documentation on the internet is so bad that it does not help at all. only for later cubox models
14:22 kasvain looked for almost every thread on forums but no help this far - can't get what im doing wrong or is the u-boot broken
14:45 Artox kasvain: Greetings
14:45 kasvain hi
14:45 kasvain you want to apply for the bounty
14:45 kasvain ?
14:45 kasvain seems official support is not interested
14:46 kasvain if i'd make a product, i'd give support
14:46 Artox as you know, I dont have one of those cuboxes
14:46 kasvain yeah, i remember, we talked about this
14:46 Artox I've asked malte for access to the old wiki, but its still unavailable
14:47 Artox its probably not hard to get it working again, as far as I know you can run a mainline kernel just fine
14:47 kasvain i've been a bit disappointed, company who made this does not have any kind of documentation available. just 404's and stuff
14:48 Artox I know they removed the docs because their wiki was insecure and constantly exploited for spam
14:48 kasvain including the installer but hte ubuntu 12 part in it
14:48 kasvain i see
14:49 kasvain what im doing now, is to extract IgorPec's kernel from his jessie image and try to load it
14:49 kasvain dunno what next, also trying to burn newer image since this have 4mb flash i was able to burn the older spi
14:50 Artox igorpec is makign debian for imx6
14:50 Artox not armada
14:51 Artox he isnt using any special kernel, but the solidrun 3.14 one
14:51 Artox I dont think you need to replaceyour bootloader
14:51 kasvain at least i can set the loadaddr
14:51 kasvain and save it
14:51 kasvain with the current one