/srv/irclogs.ubuntu.com/2010/10/29/#ubuntu-arm.txt

=== lilstevie is now known as lilstevie|ZNC
topfs2Hi so I'm trying to get ubuntu running on the pandaboard. Problem I have is that I don't ahve a monitor atm and trying to get it working so I can login over terminal so I can start doing stuff to it04:22
topfs2Setup ssh etc.04:22
topfs2at any rate, I use setenv bootargs console=ttyO2,115200n8 serialtty=ttyO2 rw rootwait mem=463M elevator=noop vram=32M root=/dev/mmcblk0p2 as boot.scr (and some other stuff)04:23
topfs2still I only get kernel output, no login and such04:23
rsalvetitopfs2: to get login you need to create the ttyO2.conf file at /etc/init/04:23
rsalvetilike tty1.conf04:23
rsalvetibut with getty ttyO2 11520004:23
topfs2oh ok, will try that04:24
topfs2thanks04:24
rsalvetithen upstart calls getty with the proper console04:24
rsalvetifor example, change "exec /sbin/getty -8 38400 tty1" to "exec /sbin/getty 115200 ttyO2"04:24
topfs2awesome, I got a login :D04:28
topfs2thanks rsalveti !04:28
topfs2you don't happen to know the std user and pass?04:28
rsalvetitopfs2: there's none, because it calls the oem-config and ask you to create the proper user account04:37
topfs2so no way to login?04:38
topfs2without booting with monitor?04:38
rsalvetino, you need to hack up the image04:38
rsalvetiyou can remove the root password request, and then create one04:38
rsalvetior get inside with chroot, then you can create it with adduser04:38
topfs2hmm, chroot seems best04:39
topfs2I'll try that04:39
rsalvetiif you need a minimum rootfs you can also create it with rootstock04:39
rsalvetiand then use it at the second sd card partition04:39
rsalvetithen you can also request a user to be created during image build time04:39
topfs2Should that be ok to do with panda aswell?04:40
rsalvetitopfs2: yup04:42
topfs2haha, hand editing /etc/shadow worked wonders ;)04:54
topfs2thanks for the help04:54
rsalvetinp05:02
topfs2next step, getting usb network. thats always fun05:05
=== hrw|gone is now known as hrw
hrw|udshi14:01
hrw|udsI feel that next week will be interesting for me in arm world14:33
hrw|udskde in natty/armel is behind natty/amd64 so my smartbook has x11 problems... will use pandaboard for local rebuilds14:34
hrw|udshi eric14:36
lagrsalveti: Thanks14:37
lagrsalveti: I'll speak more with jcastellanos to figure out what's going on when he reappears14:38
=== rgreening_ is now known as rgreening
=== lilstevie|ZNC is now known as lilstevie
=== hrw is now known as hrw|uds
hrw|udswhere plans for work on efikamx smart[top|book] devices will be synchronized/discussed? irc or ubuntu-mobile ML?16:11
markos_hrw|uds, let's start with irc first and see if we have needs for a specific list or if an existing one can be useful for us16:31
hrw|udswii markos_16:32
hrw|udsops16:32
hrw|udsmarkos_: how many things needs to be done then just kernel? flash-kernel, initrd stuff, xorg-xserver, gstreamer imx51 codecs?16:34
markos_you want the complete list? :)16:35
hrw|udsI think that such one needs to be created at one point16:36
markos_there already is, it's just too long to paste here16:37
markos_but yeah, the ones you mentioned are already included, and high on the list16:37
hrw|udsok16:37
sveinseIs pulseaudio working properly on ARM?17:51
sveinseI.e. can I consider using it, or should I rather rely on direct access to alsa?17:52
=== JaMa is now known as JaMa|Off
geananybody ?18:37
Nekosveinse, it works18:57
cammCan someone grant me access to an Ubuntu arm box to port gcl and its dependencies?19:01
geanI Wanna port linux to my ARM netbook19:26
geananybody can help ?19:26
laggean: What notebook do you have?19:32
geanChinese One19:34
geanARM926EJ - Anyka AK780219:35
gean128 RAM19:35
gean266 Mhz Proc.19:35
geanI've done my toolkit ( Binutils + gcc) for cross-compiling19:35
geanbut lacks the kernel19:36
cooloneygean: don't you have any bsp or toolchain from the Anyka?19:36
laggean: You're going to struggle with that much RAM19:36
geanahahaha so much19:37
cooloneygean: 128M RAM is not enough for ubuntu, i think19:37
lagcooloney: cross-compiling shouldn't be an issue19:37
lagRAM and proc specs will cripple you19:37
geani just need kind of blackbox or a lighter box19:37
cooloneygean: what's kind of OS in this notebook19:38
cooloneyoriginally?19:38
laggean: Google is your friend here19:39
geanno need for ubuntu, I'm using it at this desktop .. for the netbook it will be very slow ( if runs ... )19:39
laggean: People has Linux running on it19:39
geanWinCE19:39
cooloneygean: yeah, i got it19:39
cooloneygean: no kernel = no linux19:39
geanMan .. i saw many things .. but officialy there is not any bsp19:40
geanfor this model ..19:40
cooloneygean: so what's the cpu's model number?19:40
geanno kernel patches19:40
geancooloney : anyka AK-780219:41
geanwince says ARM926-AKCHIP19:42
geanthere is not win .. probably need hack it19:43
geanbut i never done such of thing ... any help would be appreciated19:44
Nekoanyone know anything about compcache/ramzswap support in initrd?19:53
Nekoit doesn't seem to do anything19:53
Nekomodule is loaded by the initrd scripts but it's not set up for some reason19:53
Neko(I tried 25 % and 96 M in the file and it never happens)19:53
ikke-tgetting frustrated with beagleboard and nfsroot20:56
hrw|udsikke-t: bbxm?20:56
ikke-tbb c420:56
hrw|udsauch20:56
ikke-tunfortunately20:56
ikke-tbut with usb eth20:57
ikke-tnetwork works20:57
ikke-tbut now boot is complaining about not getting to lock nfs stuff, try with option '-o nolock'20:57
ikke-twell, it doesn't read the option from kernel params20:57
hrw|udsstatd not running?20:57
ikke-tstatd on nfs host or bb?20:58
ikke-thost I assume20:58
hrw|udsiirc you should have portmap + statd + lockd working20:58
ikke-t?20:58
hrw|udsdo not remember. long time since last nfsroot20:58
ikke-thmm, just changed the host onto debian, maybe something missing from install.20:58
ikke-tjust installed kernel-nfs and nfs-common20:58
ikke-tnfs-kernel-server that is20:59
* hrw|uds -> sessions21:00
ikke-tapt-cache doesn't find statd21:02
ikke-tyahoo, found it from /etc/default/nfs-common21:04
ikke-t\o/21:04
ikke-tno-luck, gets stuck at the same point as the earlier server. somewhere after reading fstab, since it complained about typo in fstab on nfsroot21:17
ikke-tlast message on screen being "Begin: Running /scriptsinit-bottom ...done."21:18
ikke-tand happily stays there and doesn't answer even ping. pretty dead looking to me.21:18
ikke-ti wonder if this works for somebody?21:19
ikke-tbeagleboard nfsroot -boot, ubuntu maverick.21:19
ikke-thmmm. kernel hung? echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this21:21
ikke-tmessage21:21
ikke-tdoesn't sound promising21:22
hrw|udsikke-t: what I would do: remove / from fstab, check. check for statd/lockd/portmap on host and on target21:25
ikke-thrw|uds: statd/portmap running on host, removed / from nfsroot/etc/fstab21:29
ikke-tno difference:21:29
hrw|uds;(21:30
ikke-ti wonder should ubuntu init honor the console setting from kernel params?21:31
ikke-tnow it jumps to print on screen instead of serial at some point21:31
ikke-tINFO: task bluetoothd:576 blocked for more than 120 seconds.21:32
ikke-tstuck.21:33
acidhello22:03
acidI wrote an algorithm which when run on 486 processor takes 15 seconds, and on ARM takes 15 minutes. Same input data. Anyone has a clue why, or where to start looking?22:05
cwilluacid, the algorithm is probably relying on libraries that are implemented ina completely different way, such that something which was cheap on the 486 isn't on arm22:08
cwillupost the source on a pastebin if you want any more detail22:09
acidcwillu; sec, I will22:26
acidcwillu; http://pastebin.com/CBMZZZ1W22:30
acidcwillu; this is no the whole thing, just the most expencive part.22:30
acidand22:31
acidthis is actually not my code, I just rewrote some parts of it22:31
acid:P22:31
acidb/c they were slow...22:31
topfs2rsalveti, Just wanted to say that the kernel image I have doesn't seem to have the parameter. I checked ls /sys/module/smsc95xx/parameters/ and it just gives me turbo_mode. Is there any place youhave your kernel images so I could perhaps make a rootstock of them?23:15
topfs2and for others that might wonder what I'm on about its the http://cdimage.ubuntu.com/ubuntu-netbook/ports/releases/maverick/release/ for omap423:21
topfs2Seems like it might be missing the macaddr parameter for the ethernet on panda23:21
rsalvetitopfs2: weird, it's in our upstream kernel http://kernel.ubuntu.com/git?p=ubuntu/ubuntu-maverick.git;a=blob;f=drivers/net/usb/smsc95xx.c;h=a3c8fe6e639eda5ec4eeb1cedf28e297d6386c37;hb=refs/heads/ti-omap423:21
rsalvetimodule_param(macaddr, charp, 0);23:21
topfs2oh awesome your here :)23:21
topfs2yeah its rather weird, perhaps I should try to build a kernel myself and see23:22
topfs2Or is there any daily ones available somewere?23:22
rsalvetitopfs2: nops, just the one at the archive23:23
rsalvetitopfs2: if you are using maverick as a host you can quickly cross compile it23:23
topfs2Yup using maverick so I could probably check into that23:23
topfs2Do you know if there is any docs about it?23:23
topfs2but rsalveti it should show up in that ls right? so I'm not doing something wrong?23:24
rsalvetitopfs2: http://marcin.juszkiewicz.com.pl/2010/10/19/how-to-cross-compile-arm-kernel-under-ubuntu-10-10/23:26
rsalvetitopfs2: and yes, you're right, it should be there23:26
topfs2awesome, I'll try compiling one then23:26
topfs2thanks for the help23:26
tmztkernel is easy to compile23:26
tmztjust CROSS_COMPILE=toolchain- ARCH=arm23:26
rsalvetitopfs2: what did you get when you set up the macaddr argument at the kernel cmd line?23:27
tmztthough your building kpkgs so hrw's stuff probably helps there23:27
topfs2rsalveti, should it be different if I have or not added it to the kernel commadn line? because I added it then checked the ls when it didn't work23:27
rsalvetitopfs2: module_param(macaddr, charp, 0);23:28
rsalvetithe 0 is the perm argument23:29
rsalveti@perm: visibility in sysfs23:29
topfs2aha23:29
topfs2So perhaps I just have done it wrong in the kernel command line23:29
rsalvetiperm sets the visibility in sysfs: 000 means it's23:29
rsalveti   not there,23:29
rsalvetitopfs2: probably23:29
topfs2I tried just plain macaddr="foo" and smbc95xx.macaddr= (this one mostly as I wanted to try abit more)23:30
topfs2*smsc95xx23:30
topfs2setenv bootargs console=ttyO2,115200n8 serialtty=ttyO2 rw rootwait mem=463M elevator=noop vram=32M root=/dev/mmcblk0p2 macaddr="00:11:22:33:44:55"23:31
rsalvetismsc95xx.macaddr=01:23:45:67:89:AB should work23:31
rsalvetitry this one23:32
topfs2Oh, without " "23:32
topfs2I'll try that23:32
topfs2Sorry, need to vanish for a quicky, gonna go and buy beer before it closes23:35
rsalveti:-)23:35
tmzttopfs2: try modinfo if it's buildt asa module23:39
tmztor check /sys/module23:40
* rsalveti will be out for now, uds party 23:54

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