cnxsoft changed the topic of #imx6-dongle to: i.MX6 HDMI Dongle Software Development. You can also join us at https://groups.google.com/forum/?fromgroups#!forum/imx6-dongle - IRC Logs - http://irclog.whitequark.org/imx6-dongle/
ajayr_ has joined #imx6-dongle
ajayr has quit [Read error: Connection reset by peer]
ajayr_ is now known as ajayr
ajayr has quit [Client Quit]
ajayr has joined #imx6-dongle
cnxsoft has joined #imx6-dongle
rz2k has joined #imx6-dongle
rz2k has quit []
rz2k has joined #imx6-dongle
rz2k has quit []
cnxsoft has quit [Quit: cnxsoft]
Noskcaj has joined #imx6-dongle
hste__ has joined #imx6-dongle
cnxsoft has joined #imx6-dongle
fossxplorer has joined #imx6-dongle
Noskcaj has quit [Remote host closed the connection]
cnxsoft has quit [Quit: cnxsoft]
datagutt has joined #imx6-dongle
ajayr has quit [Ping timeout: 256 seconds]
ajayr has joined #imx6-dongle
<ajayr> abrasive - I have taken otavio's patches on meta-freescale-arm for yocto support for gk802 and updated it to use your for-upstream branch but it will not build
<abrasive> the for-upstream branch must surely be out of date by now
<abrasive> it's from a month or two ago
<abrasive> what's the catch?
<ajayr> further analysis shows that gcc 4.8.1 in poky has problems with line 196 and 199 where you are doing division
<ajayr> and compare for long ints
<abrasive> ugh
<abrasive> is it a gcc bug or am I breaking with C99?
<ajayr> dont know - thats whi I am asking you - however the current mainline denx code has a patch which takes all hdmi stuff from all the imx6 boards and makes a common infrastructure
<abrasive> oh, that's nice
<abrasive> I haven't even booted my imx6 in about 2 months
<abrasive> have been busy travelling
<ajayr> oh well just a heads up for you
<abrasive> thanks
<abrasive> if I get time this month I'll try again to update the tree and hopefully get it to the u-boot mailing list
<ajayr> the other change i made was took latest freescale 3.0.35_4.0.0 added jas patches
<abrasive> but someone's going to have to maintain it and it's not going to be me :)
<ajayr> and then otavios backport for vivante
<ajayr> the whole lot compiled fine in yocto
<ajayr> need to boot and see what happens - unfortunately i dont know how to bypass this u-boot bug
<ajayr> will probably use the other branch or cheat by using the nitrogen u-boot and replace stuff on sdcard finally
<abrasive> if they're the pixel clock divides then figure them out for 640x480 manually and dump in the results manually ;)
<ajayr> fwiw your old for-upstream brach works fine for me my gk802 is running the jas xfce for the last 2 weeks
<ajayr> 19:45:24 up 17 days, 6:14, 4 users, load average: 0.13, 0.05, 0.05
<ajayr> this is jas-4.0.0 kernel and soft float xfce
<abrasive> oh, ok!
<ajayr> board/richtechie/gk802/libgk802.o: In function `board_video_skip':
<ajayr> /home/ajayr/scratch/imx6q/uboot-imx6dongle/board/richtechie/gk802/gk802.c:196: undefined reference to `__aeabi_ldivmod'
<ajayr> /home/ajayr/scratch/imx6q/uboot-imx6dongle/board/richtechie/gk802/gk802.c:199: undefined reference to `__aeabi_l2d'
<ajayr> /home/ajayr/scratch/imx6q/uboot-imx6dongle/board/richtechie/gk802/gk802.c:199: undefined reference to `__aeabi_dcmpgt'
<ajayr> /home/ajayr/scratch/imx6q/uboot-imx6dongle/board/richtechie/gk802/gk802.c:199: undefined reference to `__aeabi_dcmplt'
<ajayr> make ARCH=arm CROSS_COMPILE=/opt/linaro-arm-linux-gnueabihf/bin/arm-linux-gnueabihf- USE_PRIVATE_LIBGCC=yes -j4 u-boot.imx
<hste__> ajayr: looks like it will not compile with armhf
hste__ is now known as hste
<ajayr> it is not armhf compiler alone same error with make ARCH=arm CROSS_COMPILE=arm-linux-gnu- USE_PRIVATE_LIBGCC=yes -j4 u-boot.imx
<ajayr> board/richtechie/gk802/libgk802.o: In function `board_video_skip':
<ajayr> /home/ajayr/scratch/imx6q/uboot-imx6dongle/board/richtechie/gk802/gk802.c:196: undefined reference to `__aeabi_ldivmod'
<ajayr> /home/ajayr/scratch/imx6q/uboot-imx6dongle/board/richtechie/gk802/gk802.c:199: undefined reference to `__aeabi_l2d'
<ajayr> /home/ajayr/scratch/imx6q/uboot-imx6dongle/board/richtechie/gk802/gk802.c:199: undefined reference to `__aeabi_dcmpgt'
<ajayr> /home/ajayr/scratch/imx6q/uboot-imx6dongle/board/richtechie/gk802/gk802.c:199: undefined reference to `__aeabi_dcmplt'
<ajayr> but with that compiler (redhat / fedora arm cross compiler) if I remove the USE_PRIVATE_LIBGCC=y it will build and boot
<ajayr> that is what I am using now - but that will not work in yocto since poky master-next has gcc-4.8.1 and all combos of flags it fails to build
<ajayr> http://ur1.ca/ev211 is what I am trying with yocto can you run this on your ubuntu/mint and see if it works
<ajayr> abrasive these are the patches that will affect you http://lists.denx.de/pipermail/u-boot/2013-July/159507.html
<hste> ajayr: so u did get 4.0.0 to build with yocto?
<ajayr> yes if you apply the patch from http://ur1.ca/ev211 it builds fine but because my uboot is not building I dont have a rootfs
<ajayr> tomorrow I plan to see if I can make some workaround
<ajayr> http://ur1.ca/ev2dl is the manifest changes that I am currently running
<ajayr> although that particular tree of jas does not have some important patches from freescale - ideally you should rebase jas-4.0.0 on top of the current freescale 4.0.0 tree
<ajayr> in fact it makes sense for us to add abrasive's for-next on top of freescales u-boot branch 3.5.7-1.0.0 alpha since that is just denx 2013.04
<ajayr> i also saw a device tree for gk802 in barebox from pH5 i wonder if that dts file can be added to the new freescale 3.5.7 tree
<ajayr> lots of stuff to try just not enough time to do it
<hste> yes its time consuming
<hste> maybe otavio has some good ideas on what should be done
cnxsoft has joined #imx6-dongle
cnxsoft has quit [Remote host closed the connection]
<ajayr> ok for now I will set MACHINE=nirogen6x and fire off a bitbake -k fsl-image-gui and go to sleep tomorrow either someone will have come up with some ideas or i will switch the uboot branch to something else and try after all the bulk of the time is wasted in downloads and building common stuff
<ajayr> and my internet is pretty bad of late between the rains and a bad cable its more down than up
hste has quit [Read error: Connection reset by peer]
hste has joined #imx6-dongle
rz2k has joined #imx6-dongle
hste has quit [Read error: Connection reset by peer]
hste has joined #imx6-dongle
jas-hacks_ has joined #imx6-dongle
rz2k has quit []
<hste> jas-hacks_: running my dongle with arm_max_freq=1.2GHz
<jas-hacks_> hste: cool, how hot is it?
<hste> jas-hacks_: havn't stresseed cpu yet, but I'll do some tests. I'm using your armhf rootfs
<hste> jas-hacks_: havn't stresseed cpu yet, but I'll do some tests. I'm using your armhf rootfs
<hste> jas-hacks_: temp about 62 running some gltests
<jas-hacks_> did you change the default freq
<hste> I just changed in arch/arm/mach-mx6/cpu_op-mx6.c arm_max_freq = CPU_AT_1_2GHz
<hste> jas-hacks_: but I dont have anything cpufreq in /sys/devices/system/cpu
<jas-hacks_> did you enable cpu freq stats in the kernel
<hste> jas-hacks_: isn't it default in your defconf?
<hste> jas-hacks_: CONFIG_ARCH_HAS_CPUFREQ=y
<jas-hacks_> hste: CONFIG_CPU_FREQ_STAT
<hste> oh its module
<hste> jas-hacks_: tried loading module but it isn't used
<hste> top
otavio has quit [Quit: Microsoft gives you Windows, Linux gives you the whole house]
projectgus has quit [*.net *.split]
bfederau has quit [*.net *.split]
fossxplorer has quit [*.net *.split]
drachensun has quit [*.net *.split]
ajayr has quit [*.net *.split]
MadSpark has quit [*.net *.split]
jas-hacks_ has quit [*.net *.split]
abrasive has quit [*.net *.split]
datagutt has quit [*.net *.split]
wumpus has quit [*.net *.split]
hste has quit [*.net *.split]
rm has quit [*.net *.split]
johanbr has quit [*.net *.split]
obinou has quit [*.net *.split]
monkeyiq has quit [*.net *.split]
bfederau has joined #imx6-dongle
abrasive has joined #imx6-dongle
obinou has joined #imx6-dongle
drachensun has joined #imx6-dongle
adeonn has joined #imx6-dongle
rm has joined #imx6-dongle
wumpus has joined #imx6-dongle
jas-hacks_ has joined #imx6-dongle
monkeyiq has joined #imx6-dongle
fossxplorer has joined #imx6-dongle
datagutt has joined #imx6-dongle
otavio_ has joined #imx6-dongle
hste has joined #imx6-dongle
MadSpark has joined #imx6-dongle
johanbr has joined #imx6-dongle
projectgus has joined #imx6-dongle
ajayr has joined #imx6-dongle
<jas-hacks_> adeonn: which uboot are you using?
<adeonn> u-boot_multi_boot.imx
<adeonn> setenv root '/dev/mmcblk0p1 rootwait'
<adeonn> setenv rootfstype 'ext4'
<adeonn> setenv video 'mxcfb0:dev=hdmi,1920x1080M@60,if=RGB24'
<adeonn> setenv kernel 'uImage'
<adeonn> setenv extra ''
<adeonn> setenv boot_normal 'setenv bootargs console=${console} root=${root} rootfstype=${rootfstype} video=${video} ${extra}; mmc dev 0; ext2load mmc 0:1 0x10800000 /boot/uImage; setenv fbmem ''; bootm'
<adeonn> thats the boot.cmd before it gets converted
<jas-hacks_> and what happen
<adeonn> nothing.. just stays at 1280x720 :-p
<jas-hacks_> do you have serial output?
<adeonn> yes
<adeonn> i enter the uboot
<adeonn> and it also always says 1280x720 I never seen it say 1920x1080
<jas-hacks_> can you see what args are passed to the kernel
<adeonn> yes
<adeonn> one sec
<adeonn> Linux version 3.0.35-02708-g899792c-dirty (mtx512@mtx512-Inspiron-620) (gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5) ) #114 SMP PREEMPT Sun Jun 23 11:37:27 BST 2013
<adeonn> CPU: ARMv7 Processor [412fc09a] revision 10 (ARMv7), cr=10c53c7d
<adeonn> CPU: VIPT nonaliasing data cache, VIPT aliasing instruction cache
<adeonn> Memory policy: ECC disabled, Data cache writealloc
<adeonn> CPU identified as i.MX6Q, silicon rev 1.2
<adeonn> Machine: Freescale i.MX6q Hi802/GK802 board
<adeonn> PERCPU: Embedded 7 pages/cpu @8c008000 s5216 r8192 d15264 u32768
<adeonn> Built 1 zonelists in Zone order, mobility grouping on. Total pages: 202752
<adeonn> Kernel command line: console=ttymxc3,115200 root=/dev/mmcblk0p1 rootwait rootfstype=ext4 video=mxcfb0:dev=hdmi,1280x720M@60 fbmem=32M
<adeonn> PID hash table entries: 4096 (order: 2, 16384 bytes)
<adeonn> Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
<adeonn> Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
<adeonn> Memory: 576MB 224MB = 800MB total
<jas-hacks_> It's not picking up the boot.scr, are you sure it is on the right sd card?
<adeonn> drwxr-xr-x 2 root root 4.0K 2013-08-02 20:45 bin
<adeonn> drwxr-xr-x 2 root root 4.0K 1970-01-01 01:54 boot
<adeonn> -rw-r--r-- 1 root root 425 2013-08-02 20:12 boot.scr
<adeonn> should it be chmod 777?
<jas-hacks_> Are you using the ext SD or int SD?
<adeonn> int
<hste> adeonn: have u compiled the kernel with CONFIG_CMDLINE_FROM_BOOTLOADER=y
<adeonn> i havent compiled the kernel :-/
<adeonn> booted an image gk802 beta 1
Noskcaj has joined #imx6-dongle
<jas-hacks_> which image?
<adeonn> acutualy. one sec
<hste> adeonn: try zcat /proc/config.gz|grep CONFIG_CMDLINE_FROM_BOOTLOADER
<adeonn> ok
<adeonn> zcat?
<adeonn> nevemr mind ok doing it now
<adeonn> CONFIG_CMDLINE_FROM_BOOTLOADER=y
<adeonn> jas- I did use that one aswell
<adeonn> and no luck getting u-boot-multi
<adeonn> Ive partitioned to ext4
<adeonn> and wrote the image
<adeonn> dd the image, and asured theres nothing on that rootfs put in my external card with that xubuntu, and the boot.scr
<adeonn> never boots gk802 dont even heat up one bit
ajayr has quit [Ping timeout: 260 seconds]
<jas-hacks_> did you remove the boot.scr from the int SD?
<adeonn> yep
<jas-hacks_> did you copy the kernel as well
<hste> u have the uboot on the internal sdcard?
<adeonn> kernel to internal?
<adeonn> or external?
<jas-hacks_> no uboot to internal
ajayr has joined #imx6-dongle
<jas-hacks_> internal should only contain uboot and nothing else
<adeonn> the file uboot? to internal card?
<adeonn> thats probly my problem. I only DD the image and its basicaly a freefs
<hste> yes dd it to internal sdcard
<adeonn> ok, well I did that but theres literately nothign there besides the lost+found folder
<adeonn> does it require a uboot file too?
<jas-hacks_> for internal, you can create an ext4 paritition but leave about 15MB before the parition so that you can 'dd uboot' to it.
<jas-hacks_> the internal SD always needs uboot 'dd' on it. You don't put uboot anywhere else.
<adeonn> ok, I would format whole and put dd afterwards
<adeonn> then gprated would say 15.26 uncallocated
<adeonn> trying your procedure now
<jas-hacks_> yes thats ok.
<adeonn> ok looks like this is reporting uboot now
<adeonn> USB device 1: unknown device
<adeonn> No /boot.scr found on usb devices
<jas-hacks_> If you copy boot.scr to in the internal SD rootfs then will use that one
<jas-hacks_> If you put boot.scr on the ext SD rootfs then it will use that one (remember to remove the one off the internal SD)
fossxplorer has quit [Remote host closed the connection]
<jas-hacks_> Lastly it will try a usb drive if one is found.
<adeonn> ok, I will try it now I guess the uboot wasnt being written correctly. it defaulted to 5 this one is 3
<adeonn> second delay thank you. can I copy all my data from the rootfs that I had to this new ext4 and boot.scr should boot it ?
<jas-hacks_> should do
<adeonn> amazing thank you! I will do this now
<jas-hacks_> hste: how is 1.2GHz?
<hste> jas-hacks_: looks stable. havn't had it over 64C yet
<hste> jas-hacks_: but i'm not sure about if it runs in it as there isn't any freqscaling
<adeonn> wolf's XBMC gets extremly hot
<adeonn> is there any damage being caused by that? i even got burned.. took me by suprise
<jas-hacks_> adeonn: you need an heatsink. Also turn off the news feed and set dirty regions to 1/2 to reduce CPU load.
jas-hacks_ has left #imx6-dongle [#imx6-dongle]
<adeonn> thx will mostylikely put a heatsink on it with fan lol
rz2k has joined #imx6-dongle
Noskcaj10 has joined #imx6-dongle
Noskcaj has quit [Ping timeout: 264 seconds]