File size: 14,146 Bytes
4aa5fce |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 |
=== Jack87 is now known as Jack87|Away [07:08] <reisei> hi, all! Please, advice me, how can I build kernel on the x86 and then replace it on the arm device? [07:09] <reisei> I had try to follow https://wiki.ubuntu.com/Kernel/BuildYourOwnKernel But there is no such directory: debian in the the ti-omap4 branch ... [07:10] <twb> reisei: you're cross-compiling, that adds a layer of complexity [07:10] <twb> The debian/* files will only be present in git branches that are from debian/ubuntu, and even then maybe not. [07:11] <twb> When 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:13] <reisei> twb: thank you! I'll try this [07:14] <twb> If you don't have a cross-compile environment yet, you need to solve that problem first [07:14] <reisei> twb: btw, in the master branch there are the debian directory [07:15] <twb> master branch from where? [07:15] <reisei> twb: from kernel.ubuntu.com, for example ubuntu/ubuntu-maverick [07:16] <twb> Well I guess that is a "git branch from debian/ubuntu" [07:16] <twb> As opposed to linus-2.6 or some other upstream branch [07:17] <twb> I'm not a dev so my understanding of current best practice is pretty haze -- don't take anything I say as gospe [07:17] <twb> *gospel [07:20] <reisei> twb: 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:21] <twb> Probably the ti-omap4 branch comes straight from upstream or something [07:39] <reisei> got an error while make deb-pkg: dpkg-gencontrol: error: current host architecture 'armel' does not appear in package's architecture list (i386) [07:41] <twb> You probably need to do some magic dance [07:42] <twb> The other way you can do it is to just run arm code in a chroot on your x86 box, using qemu user-space emulation [07:42] <twb> What that does is basically leave everything as-is except the CPU instructions, so it's lightweight compared to a normal VM [07:43] <reisei> okay :) will go to learn some magic things [07:44] <twb> http://wiki.debian.org/QemuUserEmulation [07:47] <twb> Note you will probably need qemu 1.x due to http://bugs.debian.org/641270 [07:48] <reisei> twb: thanks a lot! [07:49] <twb> Eh, cross compilation is probably less sucky but I don't like grabbing unsigned tarballs from linaro or whatever [07:53] <reisei> twb: I just need recompile the kernel... [07:53] <twb> reisei: I mean: unsigned tarballs of the cross-compilation environment [07:53] <reisei> oh, okay [07:53] <twb> or maybe they're signed but not by ubuntu, etc. [08:37] <alum1> Hi may I have a question about i.MX53 based board and Ubuntu? I have trouble to boot Oneiric [08:37] <alum1> QuickStart image. [08:39] <alum1> I have Nitrogen53 board with i.MX53. Originally board comes with Android on SD card, I re-write it with QuickStart Oneiric image [08:40] <alum1> When 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:41] <alum1> What I am doing after board starts : [08:41] <alum1> fatload mmc 0:2 0x70000000 uImage [08:41] <alum1> fatload mmc 0:2 0x72000000 uInitrd [08:41] <alum1> setenv bootargs console=tty0 console=ttymxc0,115200n8 root=/dev/mmcblk0p3 [08:41] <alum1> bootm 0x70000000 0x72000000 [08:42] <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:43] <alum1> and is there any (technical) reason, why this board will not work? [08:43] <alum1> I suppose, that problem is more in u-boot loader than in image itself [08:44] <ogra_> either u-boot or a missing/superfluous kernel driver [08:44] <ogra_> could be both, hard to guess without having the board [08:44] <alum1> I'am not terrible experience in u-boot and arm architecture, so I am trying what's working and what's not [08:45] <alum1> And how can I debug it and find out what it can be? [08:45] <ogra_> well, the nitrogen is clearly different from the quickstart [08:46] <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 else [08:47] <alum1> ok [08:49] <alum1> Please 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:54] <GrueMaster> alum1: YYou can add earlyprintk=ttymx0,115200n8 to your boot cmdline to get early kernel output. [08:54] <GrueMaster> If your uboot is loading the kernel, thiswould be the next step to see where the kernel s breaking. [09:24] <ppisati> guys, 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:25] <ogra_> we do ... the server image ;) [09:25] <infinity> I 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] <infinity> Whereas "server" users are more likely to want a headless serial setup. [09:26] <infinity> But 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 defined [09:26] <ogra_> (which is simply not fixed because nobody uploaded the fix from the bug yet ) [09:31] <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/702574 [09:42] <ppisati> btw, did you see this one? http://www.alwaysinnovating.com/products/hdmidongle.htm [09:48] <infinity> ppisati: That's pretty slick looking. [09:48] <infinity> ppisati: Can our omap4 kernel boot it? :) [09:50] <ndec> ubuntu works on this dongle, yes. [09:51] <ndec> see http://groups.google.com/group/pandaboard/browse_thread/thread/dd881aa34e1a916e [09:51] <ndec> we work regularly with gregoire who did this, and he is using our Ubuntu releases a lot! [09:52] <infinity> ndec: Very cool. [09:52] <ndec> so should ubuntu TV ;-) [09:52] <infinity> ndec: So, slapping an Ubuntu preinstalled omap4 image on an SD for that dongle should "Just Work"? [09:54] <ndec> i asked gregoire to send me one so that I could try ... [09:54] <ndec> i 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 device [09:55] <infinity> Would definitely like to see 12.04 support it out of the box if 11.10 doesn't. [09:55] <infinity> I'd happily take a sample to play with. ;) [09:57] <ndec> no doubt about that ;-) [10:09] <ppisati> Ubuntu TV on a stick! :) [10:12] <ndec> no need to find TV makers... works on all TVs ! [10:16] <ppisati> ndec: are they using a 4430 or 4460? [10:24] <alum1> GrueMaster: earlyprint didn't show anything. I can see just "Starting kernel ..." [10:25] <ndec> earlyprintk might help ;-) [10:25] <GrueMaster> So 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] <ndec> GrueMaster: alum1: see ^^ you need a 'k' at the end [10:26] <GrueMaster> I 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:29] <suihkulokki> even without earlyprintk you should see "Uncompressing Linux..." [10:33] <alum1> I see just "Starting kernel…", nothing more [10:44] <suihkulokki> alum1: that suggests that the location where uboot is jumping to does not have a valid kernel [10:48] <alum1> suihkulokki: how can I check that? [11:01] <ogra_> infinity, does that look sane to you ? http://paste.ubuntu.com/799233/ [11:04] <infinity> ogra_: Looks shockingly similar to what I uploaded 10 minutes ago. ;) [11:04] <ogra_> :P [11:04] <infinity> Who needs nicotine? [11:07] <reisei> infinity: what about vodka? [11:12] <ppisati> has anyone tried to kexec into u-boot? [11:16] <NCommander> ppisati: 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 stuff [11:17] <ppisati> NCommander: uhm, ok [11:32] <marvin24> janimo: thanks for taking care of the new kernel so quickly [11:32] <janimo> marvin24, np :) [11:32] <marvin24> looks like google found the bug in 3.0.13 [11:32] <janimo> it made evertyone's ac100 around here lock up every our or so otherwise [11:32] <janimo> oh great [11:32] <marvin24> but I'll test it first [11:33] <janimo> any work going on on 3.2/3.3 on google's behalf? [11:33] <marvin24> janimo: yeah, I guess that was a bad experience [11:33] <marvin24> janimo: there are hacks for upstream [11:33] <janimo> well, development version of Ubuntu, anm assumed risk [11:33] <marvin24> but we shouldn't use them [11:34] <marvin24> janimo: last I heard was that someone at NV is working on a KMS driver [11:34] <marvin24> but maybe at a low priority [11:34] <marvin24> but that is the way to go for us [11:34] <marvin24> just wait ~half a year [11:35] <janimo> as opposed to te binary l4t drivers? [11:35] <marvin24> well, kms mean framebuffer only [11:35] <marvin24> but maybe they will also do a 3d driver for it [11:35] <marvin24> the current kernel implementation is definitely not for upstream [11:36] <marvin24> in that case NV is way behing TI, Marvel or Samsung [11:59] <ogra_> janimo, http://patchwork.ozlabs.org/patch/35501/ for quietening the ac100 boot [13:26] <pakattack> On which arm board, the beagleboardxm or the pandaboard es, will a ubuntu server be best for? [13:28] <k1l_> Anyone tried smth with the HP Touchpad or a similar Tablet? [13:29] <pakattack> I 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:40] <pakattack> Anyone? === Quintasan_ is now known as Quintasan [14:41] <OlivierN> yet another random guy who ask, nag and quit. [14:41] <k1l> welcome to the irc :) [14:42] <OlivierN> at least now I am checking that the guy is still there before preparing an answer [16:12] <pakattack> Which runs ubuntu server better, pandaboard es or beagleboardxm? [16:15] <infinity> pakattack: Panda. [16:15] <k1l> pakattack: i dont know the answer, but this channel is very quiet. so you have to bring some patience [16:15] <k1l> :( [16:17] <infinity> pakattack: If you missed my response, I said that the Panda will certainly run just about everything better than the Beagle. [16:19] <pakattack> Ok thanks [17:55] <Arcademan> May I ask where I might find what ISO I would need for my Archos device? [18:07] <sauerbraten> you have to find out which ARM platform it is based on I think. [18:08] <sauerbraten> Arcademan: ^ [18:09] <Arcademan> Ok, so like ARM Cortex A8 [18:10] <sauerbraten> what tablet is it? maybe I can find something for you then [18:11] <Arcademan> Please see https://wiki.kubuntu.org/ARM/Archos101it [18:15] <sauerbraten> OMAP3 then [18:17] <sauerbraten> Arcademan: choose your edition and versin here https://wiki.ubuntu.com/ARM/OMAP , then go for the omap3 build [18:17] <sauerbraten> also just "omap" in the file names [18:18] <sauerbraten> that should work I guess [18:19] <Arcademan> Ok, so I take it I must use the omap then I take it the devices does not support the desktop edition :) [18:21] <sauerbraten> wait, what? according to wikipedia, the archos 101 internet tablet fits the OMAP3 category, so I think any omap3/omap build should run [18:21] <sauerbraten> not omap4 of course [18:21] <sauerbraten> archos 101 g9 is omap4 thoug [18:23] <Arcademan> Ok may I ask one last question whats the real diff between desktop and server is the server one ubuntu server [18:24] <Arcademan> I see that on Wiki the Omap thing :) [18:36] <sauerbraten> I think the server one comes without X and has special packages preinstalled and repos configured [18:36] <sauerbraten> you can add X to server, though [18:36] <sauerbraten> you can also install all server packages on desktop of course [18:37] <sauerbraten> just a matter of what you think fits your needs better I guess [18:41] <Arcademan> Ok, sauerbraten I try it out this next week or so thanks :) [18:42] <sauerbraten> np, hope it goes well for you, since I got few problems with earlier versions on omap4 :D [18:43] <Arcademan> I will be playing around with it trying to figure out what desktop package works the best ex kde ect :) [18:43] <Arcademan> They have a debian release I may try and fork over some of them :P [18:44] <sauerbraten> eww, KDE :P I prefer XFCE or LXDE, some lighter stuff :) but well, matter of taste [18:44] <Arcademan> me to sauerbraten :P [18:45] <Arcademan> I just did not want to use the dang Android :P === alexande1 is now known as Alex[sp3dev] [22:28] <kerute> hello [22:29] <kerute> any idea on how i can flash a new kernel on my eeepad transformer ? [22:29] <kerute> flashed ubuntu with OLife [23:10] <lilstevie> kerute: there are 2 ways [23:11] <lilstevie> kerute: 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:13] <lilstevie> kerute: the other is to make a boot.img from your kernel and ramdisk, pack it in a nvblob and dd it to /dev/mmcblk0p4 [23:13] <kerute> lilstevie_: i think about nvflash ? [23:14] <kerute> nvblob ? [23:14] <kerute> first one seems easier :) [23:15] <kerute> lilstevie_: what about the 2.6.38 in OLiFE ? [23:16] <kerute> is that the CrOs kernel ? the script says the option is unavailable [23:26] <kerute> thanks for the advice ill try that |