/srv/irclogs.ubuntu.com/2012/01/10/#ubuntu-arm.txt

=== Jack87 is now known as Jack87|Away
reiseihi, all! Please, advice me, how can I build kernel on the x86 and then replace it on the arm device?07:08
reiseiI had try to follow https://wiki.ubuntu.com/Kernel/BuildYourOwnKernel But there is no such directory: debian in the the ti-omap4 branch ...07:09
twbreisei: you're cross-compiling, that adds a layer of complexity07:10
twbThe debian/* files will only be present in git branches that are from debian/ubuntu, and even then maybe not.07:10
twbWhen I'm *not* cross-compiling, I use the upstream-provided mechanism of "make deb-pkg" -- I don't know if this is recommended or if it works with cross-compilation.07:11
reiseitwb: thank you! I'll try this07:13
twbIf you don't have a cross-compile environment yet, you need to solve that problem first07:14
reiseitwb: btw, in the master branch there are the debian directory07:14
twbmaster branch from where?07:15
reiseitwb: from kernel.ubuntu.com, for example ubuntu/ubuntu-maverick07:15
twbWell I guess that is a "git branch from debian/ubuntu"07:16
twbAs opposed to linus-2.6 or some other upstream branch07:16
twbI'm not a dev so my understanding of current best practice is pretty haze -- don't take anything I say as gospe07:17
twb*gospel07:17
reiseitwb: yes, it is a "git branch from debian/ubuntu" :) I understand, that directory debian can be only in such gits, but I'am just interesting why in the ti-omap4 branche of this git there is no such directory :)07:20
twbProbably the ti-omap4 branch comes straight from upstream or something07:21
reiseigot an error while make deb-pkg: dpkg-gencontrol: error: current host architecture 'armel' does not appear in package's architecture list (i386)07:39
twbYou probably need to do some magic dance07:41
twbThe other way you can do it is to just run arm code in a chroot on your x86 box, using qemu user-space emulation07:42
twbWhat that does is basically leave everything as-is except the CPU instructions, so it's lightweight compared to a normal VM07:42
reiseiokay :) will go to learn some magic things07:43
twbhttp://wiki.debian.org/QemuUserEmulation07:44
twbNote you will probably need qemu 1.x due to http://bugs.debian.org/64127007:47
reiseitwb: thanks a lot!07:48
twbEh, cross compilation is probably less sucky but I don't like grabbing unsigned tarballs from linaro or whatever07:49
reiseitwb: I just need recompile the kernel...07:53
twbreisei: I mean: unsigned tarballs of the cross-compilation environment07:53
reiseioh, okay07:53
twbor maybe they're signed but not by ubuntu, etc.07:53
alum1Hi may I have a question about i.MX53 based board and Ubuntu? I have trouble to boot Oneiric08:37
alum1QuickStart image.08:37
alum1I have Nitrogen53 board with i.MX53. Originally board comes with Android on SD card, I re-write it with QuickStart Oneiric image08:39
alum1When I am trying to boot kernel and initrd, board always froze or (at best case says that is loading linux kernel and than froze)08:40
alum1What I am doing after board starts :08:41
alum1fatload mmc 0:2 0x70000000 uImage08:41
alum1fatload mmc 0:2 0x72000000 uInitrd08:41
alum1    setenv bootargs console=tty0 console=ttymxc0,115200n8   root=/dev/mmcblk0p308:41
alum1    bootm 0x70000000 0x7200000008:41
ogra_we only support the original quickstart from freescale ....08:42
ogra_but if you can make your board work, we would love to get patches ;)08:42
alum1 and is there any (technical) reason, why this board will not work?08:43
alum1I suppose, that problem is more in u-boot loader than in image itself08:43
ogra_either u-boot or a missing/superfluous kernel driver08:44
ogra_could be both, hard to guess without having the board08:44
alum1I'am not terrible experience in u-boot and arm architecture, so I am trying what's working and what's not08:44
alum1And how can I debug it and find out what it can be?08:45
ogra_well, the nitrogen is clearly different from the quickstart08:45
ogra_i would start with replacing the u-boot binary on the image with the one you got with the board (if you got one) and see if it works then ... (i.e. try to identify if its rather bootloader or kernel related)08:46
ogra_not sure if your android image actually has u-boot or something else08:46
alum1ok08:47
alum1Please correct me if I am wrong. I have u-boot on board flash and is is also on sd card at first partiton (made by zcat of ubuntu image}. So I need to take u0boot from board flash and place it on cd card, right. That's what you meant?08:49
GrueMasteralum1: YYou can add earlyprintk=ttymx0,115200n8 to your boot cmdline to get early kernel output.08:54
GrueMasterIf your uboot is loading the kernel, thiswould be the next step to see where the kernel s breaking.08:54
ppisatiguys, why don't we ship images with "support" for serial console out of the box? e.g. console=ttyO2,foobar and /etc/init/ttyO2.conf?09:24
ogra_we do ... the server image ;)09:25
infinityI think the argument is that "desktop" users will have a display and keyboard, an they might want to use the serial port for other things.09:25
infinityWhereas "server" users are more likely to want a headless serial setup.09:25
infinityBut I dunno.  It's fairly arbitrary.09:26
ogra_beyond that there is a longstanding upstart bug that it should automatically fire up a getty if a serial console is defined09:26
ogra_(which is simply not fixed because nobody uploaded the fix from the bug yet )09:26
ogra_ppisati, infinity, bug 702574 .... someone needs to upload this :)09:31
ubot2`Launchpad bug 702574 in upstart "getty should be started automatically on serial port when serial console is set on kernel command line" [Wishlist,New] https://launchpad.net/bugs/70257409:31
ppisatibtw, did you see this one? http://www.alwaysinnovating.com/products/hdmidongle.htm09:42
infinityppisati: That's pretty slick looking.09:48
infinityppisati: Can our omap4 kernel boot it? :)09:48
ndecubuntu works on this dongle, yes.09:50
ndecsee http://groups.google.com/group/pandaboard/browse_thread/thread/dd881aa34e1a916e09:51
ndecwe work regularly with gregoire who did this, and he is using our Ubuntu releases a lot!09:51
infinityndec: Very cool.09:52
ndecso should ubuntu TV ;-)09:52
infinityndec: So, slapping an Ubuntu preinstalled omap4 image on an SD for that dongle should "Just Work"?09:52
ndeci asked gregoire to send me one so that I could try ...09:54
ndeci don't know the details of the h/w and if that requires updates in bootloader/kernel. but 11.10 should be pretty close to work on the device09:54
infinityWould definitely like to see 12.04 support it out of the box if 11.10 doesn't.09:55
infinityI'd happily take a sample to play with. ;)09:55
ndecno doubt about that ;-)09:57
ppisatiUbuntu TV on a stick! :)10:09
ndecno need to find TV makers... works on all TVs !10:12
ppisatindec: are they using a 4430 or 4460?10:16
alum1GrueMaster: earlyprint didn't show anything. I can see just "Starting kernel ..."10:24
ndecearlyprintk might help ;-)10:25
GrueMasterSo that means the kernel is not initializing.  The output you see is u-boot forking into the kernel, but the kernel is not executing.10:25
ndecGrueMaster: alum1: see ^^ you need a 'k' at the end10:25
GrueMasterI assumed he copied what I had above.10:26
GrueMaster[09:54:19] <GrueMaster> alum1: YYou can add earlyprintk=ttymx0,115200n8 to your boot cmdline to get early kernel output.10:26
suihkulokkieven without earlyprintk you should see "Uncompressing Linux..."10:29
alum1I see just "Starting kernel…", nothing more10:33
suihkulokkialum1: that suggests that the location where uboot is jumping to does not have a valid kernel10:44
alum1suihkulokki: how can I check that?10:48
ogra_infinity, does that look sane to you ? http://paste.ubuntu.com/799233/11:01
infinityogra_: Looks shockingly similar to what I uploaded 10 minutes ago. ;)11:04
ogra_:P11:04
infinityWho needs nicotine?11:04
reiseiinfinity: what about vodka?11:07
ppisatihas anyone tried to kexec into u-boot?11:12
NCommanderppisati: I don't think anyone tried it as kexec sets up ATAGS and other voodoo to boot a kernel directly so you'd have to smack uboot to ignore that info and other fun stuff11:16
ppisatiNCommander: uhm, ok11:17
marvin24janimo: thanks for taking care of the new kernel so quickly11:32
janimomarvin24, np :)11:32
marvin24looks like google found the bug in 3.0.1311:32
janimoit made evertyone's ac100 around here lock up every our or so otherwise11:32
janimooh great11:32
marvin24but I'll test it first11:32
janimoany work going on on 3.2/3.3 on google's behalf?11:33
marvin24janimo: yeah, I guess that was a bad experience11:33
marvin24janimo: there are hacks for upstream11:33
janimowell, development version of Ubuntu, anm assumed risk11:33
marvin24but we shouldn't use them11:33
marvin24janimo: last I heard was that someone at NV is working on a KMS driver11:34
marvin24but maybe at a low priority11:34
marvin24but that is the way to go for us11:34
marvin24just wait ~half a year11:34
janimoas opposed to te binary l4t drivers?11:35
marvin24well, kms mean framebuffer only11:35
marvin24but maybe they will also do a 3d driver for it11:35
marvin24the current kernel implementation is definitely not for upstream11:35
marvin24in that case NV is way behing TI, Marvel or Samsung11:36
ogra_janimo, http://patchwork.ozlabs.org/patch/35501/ for quietening the ac100 boot11:59
pakattackOn which arm board, the beagleboardxm or the pandaboard es, will a ubuntu server be best for?13:26
k1l_Anyone tried smth with the HP Touchpad or a similar Tablet?13:28
pakattackI am trying to build a microserver and want to know on which board ubuntu server runs better on, the pandaboard es or the beagleboard xm?13:29
pakattackAnyone?13:40
=== Quintasan_ is now known as Quintasan
OlivierNyet another random guy who ask, nag and quit.14:41
k1lwelcome to the irc :)14:41
OlivierNat least now I am checking that the guy is still there before preparing an answer14:42
pakattackWhich runs ubuntu server better, pandaboard es or beagleboardxm?16:12
infinitypakattack: Panda.16:15
k1lpakattack: i dont know the answer, but this channel is very quiet. so you have to bring some patience16:15
k1l:(16:15
infinitypakattack: If you missed my response, I said that the Panda will certainly run just about everything better than the Beagle.16:17
pakattackOk thanks16:19
ArcademanMay I ask where I might find what ISO I would need for my Archos device?17:55
sauerbratenyou have to find out which ARM platform it is based on I think.18:07
sauerbratenArcademan: ^18:08
ArcademanOk, so like ARM Cortex A818:09
sauerbratenwhat tablet is it? maybe I can find something for you then18:10
ArcademanPlease see https://wiki.kubuntu.org/ARM/Archos101it18:11
sauerbratenOMAP3 then18:15
sauerbratenArcademan: choose your edition and versin here https://wiki.ubuntu.com/ARM/OMAP , then go for the omap3 build18:17
sauerbratenalso just "omap" in the file names18:17
sauerbratenthat should work I guess18:18
ArcademanOk, so I take it I must use the omap then I take it the devices does not support the desktop edition :)18:19
sauerbratenwait, what? according to wikipedia, the archos 101 internet tablet fits the OMAP3 category, so I think any omap3/omap build should run18:21
sauerbratennot omap4 of course18:21
sauerbratenarchos 101 g9 is omap4 thoug18:21
ArcademanOk may I ask one last question whats the real diff between desktop and server is the server one ubuntu server18:23
ArcademanI see that on Wiki the Omap thing :)18:24
sauerbratenI think the server one comes without X and has special packages preinstalled and repos configured18:36
sauerbratenyou can add X to server, though18:36
sauerbratenyou can also install all server packages on desktop of course18:36
sauerbratenjust a matter of what you think fits your needs better I guess18:37
ArcademanOk, sauerbraten I try it out this next week or so thanks :)18:41
sauerbratennp, hope it goes well for you, since I got few problems with earlier versions on omap4 :D18:42
ArcademanI will be playing around with it trying to figure out what desktop package works the best ex kde ect :)18:43
ArcademanThey have a debian release I may try and fork over some of them :P18:43
sauerbrateneww, KDE :P I prefer XFCE or LXDE, some lighter stuff :) but well, matter of taste18:44
Arcademanme to sauerbraten :P18:44
ArcademanI just did not want to use the dang Android :P18:45
=== alexande1 is now known as Alex[sp3dev]
kerutehello22:28
keruteany idea on how i can flash a new kernel on my eeepad transformer ?22:29
keruteflashed ubuntu with OLife22:29
lilsteviekerute: there are 2 ways23:10
lilsteviekerute: one way is to replace ./kernels/2636zImage and ./kernels/initrd.img-2.6.36 in the OLiFE directories, then in the update device menu select update kernel.23:11
lilsteviekerute: the other is to make a boot.img from your kernel and ramdisk, pack it in a nvblob and dd it to /dev/mmcblk0p423:13
kerutelilstevie_: i think about nvflash ?23:13
kerutenvblob ?23:14
kerutefirst one seems easier :)23:14
kerutelilstevie_: what about the 2.6.38 in OLiFE ?23:15
keruteis that the CrOs kernel ? the script says the option is unavailable23:16
kerutethanks for the advice ill try that23:26

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