/srv/irclogs.ubuntu.com/2010/11/04/#ubuntu-arm.txt

topfs2I keep getting these on pandaboard with ubuntu maverick01:16
topfs2dpkg: error processing initramfs-tools (--configure):01:16
topfs2 subprocess installed post-installation script returned error exit status 101:16
topfs2Is it known or have I done something stupid? :)01:16
=== asac_ is now known as asac
=== amitk is now known as amitk-afk
=== amitk-afk is now known as amitk
=== hrw|gone is now known as hrw
hrwmoin08:37
playya__moin08:40
sebjan_rsalveti: yes, will do the test. Thanks for reminding me!08:42
hrwrsalveti: found issue. natty initrd was wrong - replaced with maverick one and got it booted09:24
hrw             total       used       free     shared    buffers     cached09:24
hrwMem:        993492     120172     873320          0      18744      6290009:24
=== XorA|gone is now known as XorA
=== kmargar is now known as markos_
rsalvetihrw: cool, I don't think natty is tested already11:11
hrwyep11:15
rcn-eehrw, saw the same thing on my beagles, something's wrong with natty's unitrd generation...11:23
hrwthx11:26
=== dmart_ is now known as dmart
repeteHi all11:56
repeteDoes OpenOffice.org work on Ubuntu 10.04 for ARM?11:57
repeteor 10.10 for that matter...11:57
dmartdon't have it in front of me right now, but I believe it works fine11:58
repetedmart: thx11:59
=== amitk is now known as amitk-afk
alf_rsalveti: Hi! I am trying to get the ubuntu 10.10 image on TI SDP omap4 to work. Unfortunately the installer crashes so I can't continue graphically. Furthermore I can't get any external mouse/keyboard to work :(. Any ideas how I can get a login prompt on the serial console?12:10
rsalvetialf_: hm, did you try the blaze files?12:10
rsalvetialf_: https://wiki.ubuntu.com/ARM/OMAPMaverickInstall12:10
alf_rsalveti: Yes. I copied them to the boot partition. I also added console=/dev/ttyO2... I have console output but no login.12:11
rsalvetialf_: problem is that the pre-installed image doesn't have any user, and expect the user to create one at the oem-config screen12:11
rsalvetialf_: to have login you'll need to create one user (mounting at your host, and using chroot + qemu for example), and create the ttyO2 file at /etc/init12:12
rsalvetithen upstart will call the proper getty12:12
alf_rsalveti: ok, I will try that. Thanks!12:13
rsalvetibut seems weird that you don't have any mouse and keyboard12:13
rsalvetialf_: http://paste.ubuntu.com/525611/12:13
rsalvetindec1: vstehle: do you know any hw difference that would make the omap 4 sdp board behave differently than blaze?12:22
rsalvetialf_ currently got an sdp to work with, and I never saw anyone using and booting with current sw12:22
vstehlersalveti, I wonder if alf_ is using an ES2.x to begin with...12:37
rsalvetivstehle: hm, true12:37
vstehlealf_, you can login as root if you manually edit /etc/shadow and remove the '*' or '!' in the root password. Not recommended for a real system, but for debug it can help.12:39
alf_vstehle: thanks. How can I tell if I have ES2.x?12:41
rsalvetialf_: do you have "OMAP4430 ES2.0" at your dmesg?12:48
rsalvetidon't remember if the code is correct, but I believe it is at least to detect if it's 2.x or 1.x12:48
alf_rsalveti: yes I do have "OMAP4430 ES2.0"12:49
alf_rsalveti: and now I have a login :)12:49
rsalvetialf_: problem is that the code to identify if it's an es2.0 is not that reliable, the default when it can't find the proper id is to assume it's using the latest one12:52
alf_rsalveti: I also see an ES2 GP sticker on a chip12:53
rsalvetithat's better :-)12:53
alf_rsalveti: vstehle: ndec1: for anyone who is interested my dmesg output is http://paste.ubuntu.com/525642/12:55
alf_when I plug in a usb device nothing happens :( (eg no dmesg output)12:55
alf_I have tried all 3 usb ports (hi-speed, full-speed, OTG)12:56
sveinseAnyone with experience with PulseAudio on OMAP3?12:57
sveinseI am considering using PA vs. ALSA for an application (generating 8channels of 24-bit@48kHz)12:57
rsalvetialf_: hm, you should have at least touchscreen and keyboard working12:58
rsalvetidon't know about usb, don't know if it worked on blaze12:58
rsalvetiI don't think the smsc chip available at panda is also integrated at the sdp12:59
alf_rsalveti: yes touch and onboard keyboard works... but they are a pain to use :S I can't even find how to backspace on that keyboard :P12:59
rsalvetihaha :-)12:59
=== xfaf is now known as zul
rsalvetialf_: touch screen and keyboard can at least help you finishing the pre-installed image boot13:03
rsalvetinow for usb maybe vstehle knows better13:04
alf_rsalveti: Unfortunately the installation crashes and I can't read the message because it is insanely difficult to resize the window using the touch screen13:06
rsalvetihm, ok13:06
alf_rsalveti: in any case, I am pretty happy having console and ssh access (hopefully) for now13:07
vstehlersalveti, If I recall correctly, the USB on SDP will be in "slave" mode. Not what alf_ wants to connect a mouse.13:18
vstehleAlternatively, synergy2 may help here :)13:18
vstehleLog through UART, connect to network, install synergy, finish installer with PC keyboard and mouse.13:19
alf_vstehle: interesting, I 'll give that a try later :)13:21
rsalvetivstehle: got it13:21
rsalvetiyeah, over network can help :-)13:21
=== kmargar is now known as markos_
=== zyga is now known as zyga-coffee
=== zyga-coffee is now known as zyga
alf_rsalveti: after installing omap4 drivers, when starting X I get "(EE) AIGLX error: dlopen of /usr/lib/dri/pvr_dri.so failed" and the display is somewhat corrupted15:10
alf_rsalveti: is this normal or have I missed some package?15:10
rsalvetialf_: the AIGLX error is expected, not the corrupted screen15:10
rsalvetialf_: did you reboot?15:11
rsalvetijust to be sure you're loading the pvr driver and calling pvrinit15:11
rsalvetithen loading the xserver with the pvr driver15:11
alf_rsalveti: actually, sorry, it is corrupted only when running a plain xinit (xterm) session. Corrupted = black but when the mouse goes over something I can see the bg normally15:12
rsalvetialf_: hm, also got that sometimes, it seems that it happens when the xserver is not running at the session 015:13
rsalvetifor some reason it failed to load the first session, then it loaded the session 115:13
rsalvetiyou can check by your /var/log/Xorg.*.log15:13
rsalvetiI remember when I got this error my driver wasn't loaded correctly, because of a kernel update that didn't recompile the pvr driver15:14
rsalvetido you get any other error at the kernel and the xorg.*.log?15:15
alf_rsalveti: no errors... gdm works normally though, so no big deal :)15:20
rsalvetihm15:21
alf_rsalveti: is that "hm"=I need more info or "hm"=ok, such is life? ;)15:22
rsalvetihm=I'm interested to know why this bug happens, but have no clue currently :-)15:22
rsalvetiit's black but the mouse fixes the region15:23
alf_rsalveti: yes15:23
rsalvetiprobably because the mouse pointer is correct at the x server, but don't know why the xterm is black15:24
rsalvetiI remember when I got this my kernel driver wasn't loaded correctly, once I fixed that this error stopped happening15:24
alf_in my case the driver seems to work in general eg I have gdm + desktop and es2gears runs normally15:25
rsalvetihm, if you just restart gdm and load the recovery session do you also get the weird black xterm?15:26
rsalvetithat's interesting15:26
hrwis there a way to get armel ppa?15:34
persiahrw, Best suggestion now is to wait: there was some talk at UDS about what would be required to enable them.  I'm not sure of current status.15:39
persiaNote that if it feels like you're waiting too long, porting Xen to ARM is always an available option :)15:40
alf_rsalveti: so, it turns out that xterm in general has this problem, regardless of the session I run it in... (tried desktop, recovery, xinit)15:50
rsalvetialf_: that's weird, just tested at my panda and it works fine15:51
hrwpersia: ok15:52
hrw;D15:52
alf_rsalveti: gnome-terminal works fines, but urxvt exhibits the same behavior as xterm15:53
hrwbtw - does flash-kernel always require initrd?15:54
alf_rsalveti: aha, urxvt with xft fonts works fine, the problem is with the bitmap fonts15:55
rsalvetihrw: I think the default behavior is to look for an initrd15:55
rsalvetialf_: interesting15:56
hrwko15:56
asacNCommander: there?16:05
asacNCommander: where and how is flash-kernel invoked?16:05
asacrsalveti: ^^ ?16:06
rsalvetiasac: generally when updating the kernel package16:06
asaci know that man ;)16:07
rsalvetiit'd make sense to call it also when updating the initrd, but don't know if it's doing this currently16:07
rsalvetiasac: so, what do you need to know exactly? :-)16:07
asacwhere and how ;)16:07
asacnot when ;)16:07
asactrigger, hardcoded postinst of kernel etc.16:07
asacand if trigger, where is it ;)16:07
rsalvetiasac: flash-kernel has a hook at /usr/share/initramfs-tools/hooks/flash_kernel_set_root16:13
rsalvetinow need to check if the kernel also calls it directly16:13
asacrsalveti: that one doesnt call flash-kernel though ;)16:14
asac/usr/share/initramfs-tools/hooks/flash_kernel_set_root that is16:14
rsalvetitrue16:14
rsalvetiargh, the kernel has lots of perl-scripts all around16:15
rsalvetiit's setting the bootloader as flash-kernel16:15
rsalvetibut need to trace how it's using it16:15
asacrsalveti: where is it setting that?16:16
rsalvetion the master tree: debian.master/control.d/vars.omap16:17
rsalvetithe same for omap 416:17
rsalvetibut still don't know how it's using it, looking at the code atm16:17
rsalvetiseems to be related only with dependency16:19
hrwhmm.. flash-kernel looks ugly16:22
hrwlot of code duplication16:23
rsalvetihrw: heheh, it is16:23
suihkulokkiI dont think it was really intended to grow from a simple script16:24
rsalvetithat's why we have some other blueprints that NCommander added to improve the arch detection16:24
hrwgenerate_uImage(TMPMOUNT/uImage,/boot/uImage,0x80008080,0x80008080) is what most devices needs16:24
hrwinstead each machine has similar code to call mkimage, do backup of old kernel etc16:24
* hrw adds efikamx smartbook support 16:24
hrwwhich is fun as I do not use initrd on it16:26
dmarthrw: do you know how much SPI-NOR flash there is the the smartbooks16:30
dmartLast time I saw a number it was 4MiB, which isn't enough for an initrd, but there's the option of booting via microSD / MMC/SD instead16:31
hrwdmart: kernel has pata driver builtin so building from internal "ssd" is fine without initrd16:32
hrwdmart: and by default kernel/initrd are read from pata drive16:32
hrwdmart: if sd/mmc is in slot then boot.scr is read from there16:32
hrwhandy to test kernels16:32
dmarthrw: ah, right.  SSD didn't used to be supported (the model I had didn't have any SSD)16:37
rsalvetiasac: update-initramfs calls flash-kernel16:40
rsalvetiasac: http://paste.ubuntu.com/525757/16:41
asacrsalveti: ack;)16:41
hrwbug 671027 added16:53
ubot2Launchpad bug 671027 in flash-kernel (Ubuntu) "Add Efika MX Smartbook/Smarttop support (affects: 1) (heat: 6)" [Undecided,New] https://launchpad.net/bugs/67102716:53
mpoirierrsalveti ?16:58
rsalvetimpoirier: ? ?16:58
mpoirierRodrigo, Kubuntu fellow, told me you tried to get the kernel going on the n900 but things werent' working properly.16:59
mpoirieris this correct ?16:59
rsalvetimpoirier: I got a working kernel, but didn't have time to check if everything was working17:13
rsalvetigot maverick booting, but then didn't have time to continue the work17:14
rsalvetimpoirier: do you have a n900 around?17:15
rsalvetiI basically used the u-boot solution to boot the kernel and rootfs from the external sd card17:15
mpoirierrsalveti: I don't - Scott Kitterman is supposed to have dropped one in the mail for me...17:15
mpoirieryes indeed, that is a good solution.17:15
mpoirierthere seems to be good support already - there may not be too much to do...17:16
mpoirierdid X came up ?17:16
rsalvetimpoirier: cool, I basically added the n900 meego patches on top of the maverick branch17:16
rsalvetimpoirier: yep, was able to login at the gdm and etc17:16
mpoirierah ! so you did all the hard work.17:17
rsalvetibut the touchscreen didn't work well, the axis was inverted17:17
rsalvetilet me check if I pushed the latest stuff from my branch17:17
mpoirierhumm... Could be userspace space thing or wrong assumption in kernel land.17:18
hrwaxis can be changed in kernel17:18
rsalvetiyup17:18
hrwit is common problem :D17:19
mpoirierhrw: indeed.17:19
=== zyga is now known as zyga-nc10
rsalvetimpoirier: http://kernel.ubuntu.com/git?p=rsalveti/ubuntu-maverick.git;a=shortlog;h=refs/heads/rsalveti-master-n90017:29
persiampoirier, You may also be looking for rbelem :)17:30
rsalvetistill need some love, and need to sync the config with the meego one17:30
mpoirierrbelem, that's the IRC i was looking for...17:30
mpoirierrsalveti: thanks17:31
hrwbye17:33
=== hrw is now known as hrw|gone
rbelemhey, mpoirier17:55
rbelem:-)17:55
mpoirierrbelem: hold on...17:56
mpoirierrbelem: I'll get back to youi.17:56
rbelemmpoirier, oki17:56
NCommanderasac: I'm herenow What do you mean on when its called?19:56
asacNCommander: all sorted ;)20:00
asacNCommander: just needed someone with other perspective to find where flash-kernel gets invoked ;)20:00
persiaasac, If you want to not invoke it for a specific environment, please add a stanza making it no-op, rather than killing the call.20:01
asacpersia: that was not the context ;)20:03
* asac wonders why everyone thinks i always want to kill something :-P20:03
* persia has hardware on which running flash-kernel is useless and annoying, and presumes everyone else has exactly the same wants and needs20:04
NCommanderpersia: thats cause iMX51 hardware doesn't change /proc/cpuinfo20:06
persiaNCommander, At least all my i.MX51 hardware has distinguishable /proc/cpuinfo: but not all of it boots kernels from NAND.20:07
persiaSo, if someone adds working in-archive kernels for my hardware, I'll put two different stanzas in flash-kernel to do different things.20:08
persia(one of which would be no-op)20:08
NCommanderpersia: distishable in what way?20:12
persiaProcessor, CPU revision, Hardware, and Revision all differ.  I'll probably use Hardware in flash-kernel20:13
persiaActually, maybe I'll just do that today, in advance of there being a working kernel, as long as I'm thinking about it (already had /proc/cpuinfo up for comparison for other reasons)20:15
persiaOnly tricky bit being that NAND partitions are a bit of a joke, and there's no way to safely probe them.  Following the convention of maintaining manufacturer bootloader defaults is probably most polite, but not likely long-term best.20:16
persia(but that affects every flash-kernel stanza, so ...)20:17

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!