allanmac has quit [Read error: Connection reset by peer]
cnxsoft has joined #imx6-dongle
cnxsoft has quit [Quit: cnxsoft]
eebrah has joined #imx6-dongle
Noskcaj has joined #imx6-dongle
Noskcaj has joined #imx6-dongle
_whitelogger has joined #imx6-dongle
jas-hacks_ has joined #imx6-dongle
<jas-hacks_>
abrasive: Hi, do you know if uboot will read boot.src?
<abrasive>
what's boot.src supposed to be?
jas-hacks_ has quit [Read error: Connection reset by peer]
jas-hacks_ has joined #imx6-dongle
<jas-hacks_>
abrasive: the uboot script file, I will check
<abrasive>
it looks for one named /boot/bootcmd
<jas-hacks_>
so I can move setting for env variables into bootcmd
_whitelogger has joined #imx6-dongle
_whitelogger has joined #imx6-dongle
<abrasive>
yes
<abrasive>
but not video
<jas-hacks_>
I was hoping to put video mode in there
<abrasive>
saveenv or nothing
<abrasive>
sorry
<abrasive>
cos of how early video initialises.
iamfrankenstein has joined #imx6-dongle
iamfrankenstein has quit [Excess Flood]
<jas-hacks_>
looking at gk802.h it still refers to :
<jas-hacks_>
+ "script=boot.scr\0" \
<jas-hacks_>
+ "uimage=/boot/uImage\0" \
GasVesa has quit [Ping timeout: 260 seconds]
<jas-hacks_>
I thought video was initialised in kernel, therefore 'video=' should be set even from boot.scr
<abrasive>
mmm, i took out the script= line in that bad commit
<abrasive>
oh, i meant *uboot* video
<abrasive>
kernel video can be set from bootcmd.
<jas-hacks_>
not bothered about *uboot* video
<jas-hacks_>
for now
<jas-hacks_>
problem at the moment is that the kernel detects based on EDID which works but for my monitor it sets resolutions to 1680x1050 which requires more vmalloc for video and xorg to run.
<jas-hacks_>
although it works :) it runs like a dog
<abrasive>
heh
<abrasive>
i had reports the video= wasn't overriding the auto mode setting actually
<abrasive>
perhaps you can confirm
<jas-hacks_>
will test it
<jas-hacks_>
there were some commits in the wandboard git kernel to support EDID, not sure if you looked at those
eebrah has quit [Ping timeout: 264 seconds]
<abrasive>
i vaguely remember looking at somthing that was irrelevant
<jas-hacks_>
if boot.src/bootcmd works, then ideally all the stuff in CONFIG_EXTRA_ENV_SETTINGS could be moved there, that how it is done on the A10 platform. So that the booting cmd line can be user changed.
<abrasive>
it can already be user changed.
<jas-hacks_>
how?
<abrasive>
you can saveenv a new bootcommand if you like, i think.
<abrasive>
and you can definitely change boot_normal and boot_recovery
<abrasive>
but you need something to automatically find the card and run the script, which is what most of that stuff is anyway
<jas-hacks_>
I'll try with boot.src
<abrasive>
scr*
<abrasive>
:)
eebrah has joined #imx6-dongle
<jas-hacks_>
actually will try bootcmd 1st
iamfrankenstein has joined #imx6-dongle
iamfrankenstein has quit [Excess Flood]
cnxsoft has joined #imx6-dongle
iamfrankenstein has joined #imx6-dongle
iamfrankenstein has quit [Excess Flood]
iamfrankenstein has joined #imx6-dongle
iamfrankenstein has quit [Excess Flood]
Noskcaj has quit [Ping timeout: 256 seconds]
iamfrankenstein has joined #imx6-dongle
iamfrankenstein has quit [Excess Flood]
iamfrankenstein has joined #imx6-dongle
iamfrankenstein has quit [Excess Flood]
Noskcaj has joined #imx6-dongle
iamfrankenstein has joined #imx6-dongle
iamfrankenstein has quit [Excess Flood]
iamfrankenstein has joined #imx6-dongle
iamfrankenstein has quit [Excess Flood]
GasVesa has joined #imx6-dongle
iamfrankenstein has joined #imx6-dongle
iamfrankenstein has quit [Excess Flood]
iamfrankenstein has joined #imx6-dongle
iamfrankenstein has quit [Excess Flood]
iamfrankenstein has joined #imx6-dongle
cnxsoft has quit [Quit: cnxsoft]
iamfrankenstein has joined #imx6-dongle
iamfrankenstein has quit [Excess Flood]
iamfrankenstein has joined #imx6-dongle
iamfrankenstein has quit [Excess Flood]
iamfrankenstein has joined #imx6-dongle
iamfrankenstein has quit [Excess Flood]
iamfrankenstein has joined #imx6-dongle
iamfrankenstein has quit [Excess Flood]
iamfrankenstein has joined #imx6-dongle
iamfrankenstein has quit [Excess Flood]
cnxsoft has joined #imx6-dongle
iamfrankenstein has joined #imx6-dongle
iamfrankenstein has quit [Excess Flood]
iamfrankenstein has joined #imx6-dongle
iamfrankenstein has quit [Excess Flood]
iamfrankenstein has joined #imx6-dongle
iamfrankenstein has quit [Excess Flood]
cnxsoft has quit [Quit: cnxsoft]
iamfrankenstein has joined #imx6-dongle
hste_ has joined #imx6-dongle
iamfrankenstein has joined #imx6-dongle
iamfrankenstein has quit [Excess Flood]
iamfrankenstein has joined #imx6-dongle
iamfrankenstein has quit [Excess Flood]
<hste_>
abrasive: is it bootcmd or ubootcmd? I think it looks for ubootcmd
<hste_>
jas-hacks_: Did you get some udev problem on 1204?
iamfrankenstein has joined #imx6-dongle
iamfrankenstein has quit [Excess Flood]
<abrasive>
it's bootcmd, hste_
<jas-hacks_>
abrasive: Have hacked uboot to use boot.scr and I can set everything from there.
<abrasive>
good good.
<jas-hacks_>
Did not realise we can start usb driver through uboot command ;)
iamfrankenstein has joined #imx6-dongle
iamfrankenstein has quit [Excess Flood]
<jas-hacks_>
therefore in boot.scr could potentially detect usb drive and boot from it.
<hste_>
abrasive: but when reading sorce it says try_boot=if ext2load mmc ${mmcdev} ${loadaddr} /boot/ubootcmd${bootsuffix}; then source; fi;" \
<jas-hacks_>
abrasive: kernel changes resolution, but doesn't like doing it...
<jas-hacks_>
fbcvt: Aspect ratio not CVT standard
<jas-hacks_>
fbcvt: 1440x990@60: CVT Name - Not a CVT standard - 1.425 Mega Pixel Image
<abrasive>
hste_: then i wrote it wrong? :x
<abrasive>
jas-hacks_: i thought i documented usb in uboot, oops. didn't default it because it's slo-o-ow
<abrasive>
hste_: i did mean ubootcmd then, sorry for the confusion
<abrasive>
in which case i misled you, jas, sorry
<hste_>
abrasive: no problem :) I used ubootcmd thats why I asked :)
iamfrankenstein has joined #imx6-dongle
iamfrankenstein has quit [Excess Flood]
<abrasive>
my memory is awful.
<jas-hacks_>
abrasive: how slow is slow?
<hste_>
jas-hacks_: fbset in userspace should work I think
<abrasive>
jas-hacks_: a second or three depending on what's plugged in
<abrasive>
i like fast boot.
<jas-hacks_>
not too bad .. I can wait
<hste_>
I have never managed to set the resoulution in ubootcmd. Other settings I set there looks like work
<jas-hacks_>
by starting usb in uboot, it resolves the problem of ubuntu taking forever to detect the usb drive.
cnxsoft has joined #imx6-dongle
cnxsoft has quit [Read error: Connection reset by peer]
cnxsoft has joined #imx6-dongle
<abrasive>
jas-hacks_: that's really interesting.
<abrasive>
hste_: you can only set video in the uboot env
<jas-hacks_>
abrasive: I noticed they do the same in the uboot for the nixtrogen6x
<jas-hacks_>
in fact they have code to try all mmc and sata for their 'boot.scr'
<abrasive>
yeah well
<abrasive>
if only we had sata :)
<hste_>
:)
<jas-hacks_>
I'm going to try usb
<abrasive>
do it.
<hste_>
jas-hacks_: I get 2048x1152-60 but its not slow and I don't set vmalloc
<hste_>
jas-hacks_: On 1204 I get Apr 9 11:29:46 GK802 dbus[1983]: [system] Activating service name='org.freedesktop.ConsoleKit' (using servicehelper) Apr 9 11:29:46 GK802 dbus[1983]: [system] Activated service 'org.freedesktop.ConsoleKit' failed: Failed to execute program /usr/lib/dbus-1.0/dbus-daemon-launch-helper: Success
Noskcaj has quit [Ping timeout: 252 seconds]
<jas-hacks_>
hste: There's quite a few of those in the logs ... for now.
<jas-hacks_>
drachensun: what you can do is dump sections from android and your new code and diff the 2 hex outputs
<drachensun>
ah perfect
<jas-hacks_>
drachensun: but you can only do that once the kernel is booting
<drachensun>
yeah
<drachensun>
well I can boot the kernel with the hdmi system type
<drachensun>
so I might just switch making that my base
<drachensun>
and move pieces over a little at a time
<drachensun>
that would seem to make sense
<drachensun>
if richtech designed both boards, they would probably mostly use the same parts
<jas-hacks_>
drachensun: they do share same bits
aesok has joined #imx6-dongle
<GasVesa>
hste, is i try to logout from unity i've got a blank screen
<GasVesa>
*if
<hste>
GasVesa: I have the same problem
cnxsoft has quit [Remote host closed the connection]
<GasVesa>
hste, and this is weird: if i try to boot it connected to a monitor where another source is already connected it fail to boot at some point (blank screen and no ssh))
aesok has quit [Remote host closed the connection]
<GasVesa>
dunno why but today my glmark score is only 23
<hste>
GasVesa: copy http://stende.no-ip.info/files/ubootcmd to /boot on your sdcard. it reserve 128M for fb. then you'll be able to log out and run xubuntu
<hste>
GasVesa: you have to reboot after you have done that