[05:07] Feb 15 23:02:44 beagleboard NetworkManager: device_creator(): /sys/devices/platform/musb_hdrc/gadget/net/usb0: couldn't determine device driver; ignoring... [06:10] argh, so I can't use NM on the onboard usbnet. [06:11] anyway, I've set the beagleboard up to be dhcp server now, instead of client. [06:11] That's consistent with what WinMobile does, at least. === DanaG1 is now known as DanaG [08:42] apw: Hey [08:43] apw: So I discussed linux-versatile on ubuntu-mobile@ [08:43] apw: See <20100211101825.GA5444@bee.dooz.org>; had a reply from ogra [08:43] apw: I think it's helpful to provide udebs and a meta [08:43] apw: Do you want a bug report? [08:43] or two rather [08:46] bug report yes please [08:49] apw: lp #522516 and lp #522515 [08:49] Launchpad bug 522516 in linux-meta (Ubuntu) "linux-versatile meta (affects: 1)" [Undecided,New] https://launchpad.net/bugs/522516 [08:49] Launchpad bug 522515 in linux (Ubuntu) "linux-versatile udebs (affects: 1)" [Undecided,New] https://launchpad.net/bugs/522515 [08:50] apw: Also, just an unrelated heads up on lp #522308 which I filed and probably went under the radar when moving to 2.6.32 [08:50] Launchpad bug 522308 in linux (Ubuntu) "linux-source-2.6.32 is empty (affects: 1)" [High,New] https://launchpad.net/bugs/522308 [08:50] no i suspect i broke that when i did the abstraction simplification [09:44] hello ubuntu people [09:50] I'd like to ask about Sharp PC-Z1 Netwalker a bit [09:51] does anyone here knows about this device? [09:51] Sleep_Walker: Some people here do, yes [09:52] 1] is it based on some babbage board? [09:52] Babbage is the name of the reference design boards from freescale used for development purposes [09:52] It's based on the same SoC, but it's a different board [09:53] I see [09:53] for instance it has no NIC, one USB port, no MIC jack so it's different from the babbage boards [09:53] 2] is someone working on merging drivers to upstream Russel's kernel? [09:54] someone upstream imx51 drivers where appropriate [09:54] *upstreams [09:55] Sleep_Walker: ATM, I am not sure that any imx51 SoC based board boots with an upstream kernel, so that would need to happen first; the kernel trees are hard to merge for various reasons [09:55] * ogra doesnt know how big the portion beyond general basic mx51 stuff is though [09:56] IIRC, there were some people working on getting at least the basic boot stuff working for imx51 upstream, but that's a long way to go until we get to things like wifi or video drivers... [09:56] Sleep_Walker: it will boot with a 2.6.34, I've pushed the base mx51 code upstream [09:57] and where are these people gathered? (mailing list, irc, forum...) [09:57] but there's a LOT to be done, in case you're looking to help [09:57] amitk: yeah, I had something like that in my mind... [09:58] (if there will be time) [09:58] I noticed your patches so I was curious [09:58] unfortunately I don't know much about Netwalker's HW [09:59] only that I was able to read from sources and from running system [09:59] Sleep_Walker: Just hang out on #ubuntu-kernel if you need some help and on linux-arm-kernel otherwise [09:59] amitk: You pushed the Netwalker code upstream? [09:59] persia: Babbage base code (serial port, timers, clocks) [10:00] Ah. Do you know if anyone is pushing the Netwalker patches? [10:00] lool: There's actually two USB ports : one full-size, one mini. [10:01] is it OTG capable? [10:01] and can that be charged from USB? [10:01] persia: Netwalker is the pegatron stuff? [10:01] amitk: Not at all (why does everyone think this?) [10:02] heh [10:02] persia: too many codenames... [10:02] Sleep_Walker: The mini port looks like an OTG port, but I haven't tried to use it, actually. [10:02] with no context [10:03] Yeah, well. Netwalker is it's own beast. There's kernel patches for the kernel that shipped, but I haven't heard about anyone porting them to newer kernels or pushing them upstream. [10:03] persia: I tried to connect it with PC with no success [10:03] persia: Well true, I meant one full size one compared to 4 on babbage boards [10:03] persia: is there a public git tree for the sources? Who did the kernel? What company made it? [10:03] Both have mini-USB ports [10:03] Sleep_Walker: I don't believe the USB Gadget driver is included in the shipping kernel: you might need to fiddle the kernel configuration. [10:04] and that is the problem - I wasn't able to find any comunity about this device [10:04] amitk: Not git, but there's a public apt-get source repo. [10:04] (I heard the Netwalker kernel devs don't use git) [10:04] amitk: netwalker is a sharp device [10:05] Sleep_Walker: The community is almost entirely local. The device has seen very little adoption overseas. [10:05] persia: I saw some SW support but I wasn't sure about HW support [10:05] Sleep_Walker: Aside from accellerated audio/video codecs, everything seems to be open-source. [10:05] persia: and their kernel is based on freescale's SDP? [10:05] http://www.ubergizmo.com/15/archives/2009/08/sharp_netwalker_unveiled.html [10:06] amitk: I don't know precisely. When it comes to kernels, I'm just a user :) [10:06] That's not quite right. It's 10 hours JEITA, which means 5-7 depending on load. [10:07] persia: if you can point me to the source, I could have a quick look when I have some time. [10:07] Sharp just released a new "Dictionary edition" in the past couple weeks. The specs seem about the same (just different software load), but all the samples at the shop were password-locked, and I didn't want to try to hack them. [10:08] amitk: Sure. Let me dig up what I have. [10:08] * persia fusses with apt sources [10:09] amitk: If you find it's not terribly hard to get up-to-date kernels, I'll give you one :) [10:10] amitk: http://netbook-remix.archive.canonical.com/updates/pool/public/l/linux-fsl-imx51/linux-fsl-imx51_2.6.28-15.50fsl1araneo19.dsc [10:11] That's from January. I'm unsure if there's a newer one on the new "Dictionary Edition" devices. [10:11] But that's definitely enough for basic HW enablement. [10:12] psi died - sorry - did I miss something? [10:15] Sleep_Walker: I posted the URL to kernel sources for the Netwalker. Dunno if those are useful to you. [10:15] Nothing else meaningful. [10:16] persia: does it differ from the ones I get with apt-get source [10:16] or from the one provided by sharp? [10:16] Don't think you. You're getting linux-fls-imx51 2.6.28-15.50fsl1araneo19 ? [10:16] s/you/so/ [10:17] But I haven't checked the uname on the newest edition, so I don't know if there's a new kernel available from Sharp. [10:17] ....araneo18 [10:17] I don't think so [10:18] and I thought I bought finaly device for work and not to hack :b [10:19] persia: I don't see any 28-15.50 at http://netbook-remix.archive.canonical.com/updates/pool/public/l/linux/ [10:19] amitk: `dget http://netbook-remix.archive.canonical.com/updates/pool/public/l/linux-fsl-imx51/linux-fsl-imx51_2.6.28-15.50fsl1araneo19.dsc` should get you want you want. [10:20] It's in the linux-fsl-imx51 subdirectory. [10:21] ok, I'll try to create wiki page about Netwalker (sorry, but not ubuntu one) to gather informations and possible community around Netwalker [10:21] thanks for all your help [10:21] bbl from work [10:21] Sleep_Walker: Please share the URL when you get it together. [10:21] Sleep_Walker, if you create one, can you point us to it so we can at least link it from the ubuntu wiki ? [10:22] of course [10:22] I don't want to split efforts around t [10:23] persia: so it's called erdos... [10:25] I'lll put it on hackndev.com - distro neutral area :) [10:25] amitk: erdos? [10:26] persia: the board is called erdos in the kernel tree [10:26] Ah. [10:27] and from a 5s look, the patches that I pushed upstream ought to be able to boot on it (given that IO mappings are identical to babbage) [10:27] So I should be able to boot a babbage kernel? I can test with lucid if you like. [10:28] erdos is name of Netwalker's board in kernel? [10:28] persia: I don't think so, the bootloader board id needs to match [10:28] lool: That's a bootloader thing or a kernel thing? [10:28] persia: naah, it'll require a tweak or two, but the kernel should probably be 99.99% identical [10:28] Plus the board support file will try to load drivers at various I/O addresses where you might miss devices or have other ones, for instance the netwalker has builtin wifi and not babbage etc. [10:28] persia, upstream, not lucid [10:28] * persia is *not* overwriting the nice dual-boot support redboot [10:29] lool: we're talking about the upstream (minimal) babbage kernel [10:29] you can do it on kernel side [10:29] lool: wifi is through separate modules. [10:29] persia: The kernel needs to grow a new netwalker board file with the proper board id and this file needs to be tweaked to list the proper devices [10:29] amitk: I'm not sure which babbage kernel persia meant [10:29] lool: the board id is mapped to babbage [10:29] exactly [10:30] * persia was kinda hoping for the lucid babbage kernel, but will trust statements that this doesn't work (didn't work with karmic kernel) [10:30] amitk: Oh you mean netwalker uses babbage's? [10:30] MACHINE_START(MX51_BABBAGE, "SHARP PC-Z1") .phys_io = AIPS1_BASE_ADDR, .io_pg_offst = ((AIPS1_BASE_ADDR_VIRT) >> 18) & 0xfffc, [10:30] which should be fine for bringup [10:30] Hmpf [10:30] just not for all devices [10:30] lool: right [10:30] amitk: isn't this ugly? [10:30] lool, did you expect beauty ? [10:30] persia: it seems that a minimal upstream kernel would work with the babbage id then; nervermind [10:30] lool: tell me about it, they were too lazy to even get their own board id [10:30] :b [10:31] persia: I wouldn't try booting a full blown kernel though, that might blow things up [10:31] lool: As in physical damage? [10:31] I can't exclude that [10:32] persia: I think there is no danger with physical damage with the minimal kernel going upstream in 2.6.34. Since it keeps most IO pins to their defaults [10:32] and we're no where close to a full-blown kernel yet [10:32] amitk: I think persia intended to use the lucid babbage binary kernel against a netwalker [10:33] Ah. I think I'll wait then, since I use this daily as a handheld, and it also houses my lucid pbuilder environment :) [10:33] Which I fear has a small chance of being dangerous [10:33] true === Sleep-Walker is now known as Sleep_Walker [10:58] apw: Thanks for the quick fix [10:58] we get into trouble if the source is missing ... [11:26] lool: ping. for ARM softbootloader, I need to have kexec-tools available for kexec, but the package unfortunately then changes the installed system to use kexec for rebooting as well which is unfortunate. I want to split the package out so I can have kexec installed and on its own without having the restart script stuff, any ideas on how to best do that? [11:26] apw: Ah? I saw only three rbdeps in universe [11:27] NCommander: the restart stuff is disabled in Ubuntu by default [11:27] people complain when that package is empty as they percieve it contains the source, and if its empty we arn't publishing it, even though its in the the 'source' package [11:28] apw: Ah so a lot of people get it wrong, eh [11:28] yep [11:30] apw: Now you just need to find a way to make `apt-get source linux` work :) [11:30] persia, define work [11:30] apw: heh. DWIM : download the source for the source package named "linux". [11:31] Current trick is to use `apt-get --only-source source linux` [11:32] lool: hrm, that must be a recentish change. Ignore previous ping then :-) [11:32] NCommander: It's not [11:32] It might be that you used the Debian package during the sprint [11:32] lool: It still did the kexec-load in karmic. [11:32] Which was the last time I looked at this [11:33] This was disabled in June [11:34] * NCommander shrugs [11:34] lool: sorry for the noise [11:41] dyfet: ping [11:42] *yawn* [11:43] morning [11:43] Hi... wasn't sure if you'd be up [11:43] I had a question on gmp [11:44] oh I remember that... [11:44] Did you try to build the asm code for Thumb-2 in the end? [11:45] I had some trouble with coming up with a patch for configure. They reject using try_compile, and try to do everything by the gnu target architecture tags alone [11:46] Actually, I had an idea for that... you can maybe get the predefined macros out of GCC and munge that. I wrote some notes on the Thumb-2 howto wiki page. [11:46] Oh, okay, cool! I did not notice that [11:47] It was late yesterday :) [11:47] But that is kind of what I need to do for that one :) [11:48] However, if you do try to build this code for Thumb-2, we do need to check that the function symbols in the asm are properly tagged as function symbols, otherwise they would get called as ARM accidentally. [11:48] I think that the PROLOGUE() m4 macro used in the asm does this, but I didn't fully track down where it's defined. [11:49] Ah.... [11:49] great. we have 1 builder again ;) [11:49] https://edge.launchpad.net/builders [11:50] Did you have >1 or 0 builders before? [11:50] perfect timing in a3 week ;) [11:50] dmart: 0 [11:50] (I'm guessing >1) [11:50] dmart: this morning we had 0 ;) ... usually we have 7 [11:50] Oh, OK [11:50] What's the problem? [11:51] For me, lack of coffee :) [11:51] dmart: not sure. our is knows about it and are investigating. most likely the aweful pegatrons died again [11:52] Hum [11:53] * asac hopes for new build machines ;) [11:54] dyfet: To check whether a symbol is a proper Thumb code symbol, you need to use readelf -s [11:54] 6: 00000001 0 FUNC GLOBAL DEFAULT 1 f [11:54] Crucially, the symbol type if FUNC, and the value is an odd number (bottom bit set) [11:55] objdump helpfully masks of the bottom bit so as not to confuse you, so it's no good for this check :P [11:55] This should be described on the wiki page too... [11:55] Yeah, I'll post it. (I was just figuring out how to check... [11:56] asac [11:57] saeed: hi [11:57] hey [11:58] I want to install lucid img on dove [11:58] right [11:58] whats the prob? [11:58] http://cdimage.ubuntu.com/ports/releases/lucid/alpha-2/ has only imx images [11:59] saeed: just pick latest daily [11:59] link? [11:59] and yes. we didnt publish alpha2, because at that time we had severe issues with dove ;) [11:59] saeed: http://cdimage.ubuntu.com/ports/daily-live/current/ [11:59] http://cdimage.ubuntu.com/ports/daily-live/current/lucid-desktop-armel+dove.img [12:00] ok [12:00] saeed: If /current/ doesn't work for you, there's often an archive of the past couple days which ought work if current doesn't. [12:00] yeah. just navigate one up in the tree [12:00] and you will find it [12:00] (end the URL at .../daily-live/ to see the (short) archive list. [12:00] but current should work afaict [12:00] Usually does. [12:01] can you update me which issues still unresolved with dove [12:04] saeed: i planned to do some thorough testing on dove this week ... afaik all bad issues are fixed with the X0 [12:04] great [12:04] NCommander: any unresolved dove issues for saeed ? [12:04] asac: saeed, X0 isn't here yet (I wasn't home yesterday to get the delivery) [12:05] saeed: I did see the patch to fix kexec()'s decompression speed, thanks for the fast turnaround on that. [12:05] saeed: I can't find a good list of *all* the issues with dove, but https://bugs.launchpad.net/ubuntu/+source/linux-mvl-dove probably includes a good chunk of them. [12:05] you're welcome [12:06] NCommander: can you throw mrpt on one of your many babbage boards and check if that builds? [12:06] NCommander: seems that package killed all our biulders [12:06] asac: ugh. I'm still not setup on any of the boards, and may need to do a purchase order to get them all up [12:07] * NCommander is kinda still coming off unpacking from the long weekend [12:07] k [12:08] NCommander: when I tried kexec, the bootargs were not passed to the kexeced image [12:09] I've had to append all the command line in order to make it work properly [12:18] saeed: I thought that's the way kexec is supposed to work but I'm not 100% sure [12:21] * persia is 100% sure : one may well want to have completely different bootargs from the bootloader and to the target kernel [12:32] dmart: is there a handy list of arm opcodes? I think I need to tear some code apart by hand without a disassembler [12:32] * NCommander feels like crying [12:34] NCommander: for ooo=? [12:35] asac: uh huh :-/ [12:35] NCommander: not handy but IIRC the only place to find opcode->instruction mapping is arm archictecture reference manual (aka ARM ARM) [12:36] * NCommander is trying to determine where this code is blowing up [12:37] alternatively, if you can run the binary under qemu linux-user, qemu-arm -d in_asm ./binary can give good insight [12:38] NCommander: really best to use a disassembler ;) (You could create an assembler file with the data words in it and disassemble that.) [12:38] If you really want to decode instructions by hand, you need to refer to the ARM ARM [12:38] dmart, suihkulokki its just a buch of hexcodes in a C file. No specific binary to take apart ;.; [12:39] Ah, is this in the kexec implementation? [12:40] dmart: OpenOffice [12:40] * NCommander is trying to track down where it explodes [12:40] oh! Which file? I think I have that unpacked somewhere... [12:41] its in the uno bridge [12:41] we currently need to ship a jaunty .so fo rthat [12:41] because otherwise it fails [12:41] we have a binutils bug open for that [12:41] iirc [12:42] asac: its not clear that binutils is the issue [12:42] the debugger breaks and cries though when you try and solve this, so I'm just scattering debug printfs [12:42] Can you point me to the affected file in OOo? [12:43] dmart: we don't know specifically where its going bust [12:43] NCommander: can you please give dmart the bug id ;) [12:43] dmart: https://bugs.edge.launchpad.net/ubuntu/+source/openoffice.org/+bug/417009 [12:43] Launchpad bug 417009 in openoffice.org (Ubuntu Karmic) (and 3 other projects) "all openoffice apps die in 'com::sun::star::ucb::InteractiveAugmentedIOException' on armel in karmic (affects: 1)" [Low,Won't fix] [12:44] bug 436617 [12:44] Launchpad bug 436617 in binutils (Ubuntu Karmic) (and 2 other projects) "ARM unwind table linker processing broke OO's uno2cpp (affects: 1)" [High,Won't fix] https://launchpad.net/bugs/436617 [12:44] i think thats the bug [12:44] dmart: NCommander: ^^ [12:44] thanks [12:45] hmm ... the sata disk i have is really really slow here for imx51 [12:45] * asac break before meeting [12:52] NCommander: Is this any help? http://pastebin.ubuntu.com/377573/ [12:52] dmart: I'll play with it in a moment [12:52] It should allow you to decode invidual opcodes [12:52] * NCommander is making some headway [12:53] ok [15:11] dmart: the links to the quick references in the asm intro you posted dont exist [15:11] like http://www.arm.com/pdfs/QRC0001H_rvct_v2.1_thumb.pdf [15:16] dmart: hmm for libv4l compiler wth thumb2 complains about cbnz r5, .L2 ... with "jidctflt.s:74: Error: branch out of range" [15:16] i found a quick refernce and that refers to CBNZ as T2 :/ [15:17] with -marm it doesnt fail [15:19] cat jidctflt.s | pastebinit [15:19] http://pastebin.com/f350081ab [15:19] thats the full asm generated [15:19] cc -Wp,-MMD,"jidctflt.d",-MQ,"jidctflt.o",-MP -c -I../include -I../../../include -fvisibility=hidden -fPIC -DLIBDIR=\"/usr/local/lib\" -DLIBSUBDIR=\"libv4l\" -g -O1 -Wall -Wno-unused -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -o jidctflt.o jidctflt.c [15:19] /tmp/cctyjob8.s: Assembler messages: [15:20] /tmp/cctyjob8.s:74: Error: branch out of range [15:20] thats the error [16:09] asac: Thumb-2 has different range limits for some instructions. If cbnz can't branch far enough, you may be able to move the branch destination closer, or recode using cmp , #0 // bne (I think) [16:12] Hmmm, actually CB(N)Z is Thumb only [16:25] saeed: ping? [16:25] saeed: I just got my X0, it won't boot; kernel hangs at Uncompressing; the X0 I used in Portland worked just fine with our existing images [16:27] dmart: hmm. i think that .s is generated by gcc [16:27] i only get that with -save-temps [16:27] (already found that range thing in the quick reference) [16:28] dmart: yeah. i think for -marm its probably not generated by gcc at all [16:28] will produce a .s with -marm and compare [16:28] Oh, right. That's a compiler bug then. Can you raise a launchpad bug on gcc and stash the preprocessed source there? [16:29] The compiler should not generate out-of-range branches in its own code... [16:29] dmart: yep [16:29] will give you a bugid when filed (once off the call) [16:29] I posted info on the porting wiki page showing where to find the up-do-date instruction set quick references btw (in case you didn't already find them) [16:29] thanks [16:31] dmart: oh on top of the asm intro? [16:31] good [16:31] * asac checks [16:31] yes [16:31] found [16:39] plars: GrueMaster, I'm reminded of what happens when the bootloader machine id and the kernel machine id fail to match :-/ [16:40] dmart: bug 522717 [16:41] Launchpad bug 522717 in gcc-4.4 (Ubuntu) "libv4l code compiles to invalid asm: jidctflt.s:74: Error: branch out of range (affects: 1)" [Undecided,New] https://launchpad.net/bugs/522717 [16:42] asac: Can you attach the preprocessed source? This makes it easier for the compiler guys to reproduce the problem. [16:42] right ;) [16:44] done dmart [16:47] asac: cool, thanks [16:48] Ncommander [16:51] saeed: ah, your around! [16:52] what it's the board rev? [16:53] saeed: mine is 1.4, same problem [16:54] NCommander, please try the patches I just sent you be email [16:55] GrueMaster: did you see the posting that just came across ubuntu-qa? how does that relate to the libtest stuff you've been doing? any help at all? [16:58] saeed: will try as soon as I can [16:58] ok [17:02] just a sec. [17:10] plars: which channel? [17:10] GrueMaster: ubuntu-qa mailing list [17:12] Forward to me. I don't appear to be on that list. [17:15] sure [17:26] It might be useful. It does more api level testing, whereas the test suite I am working with does more low level testing (like at the fpu level). [17:27] It is also very new. [17:27] Wiki is dated this month. [17:31] plars: A good read on the different test suites would be http://ispras.linux-foundation.org/index.php/LSB_Tests. [17:32] It lists the different types of tests and compares them. [17:32] GrueMaster: cool, will take a look. I was mostly just wondering if that one would also be useful [17:32] or if it added anything really [17:35] My understanding is that the tests mentioned in the email are essentially smoke tests. They will quickly tell you if there is a problem with a library function. What they don't give you is an underlying understanding of the problem (i.e. is it a toolchain issue, hardware issue, etc). [18:00] anyone can install netbook-launcher and see if it fails to start? [18:00] the 3d one [18:00] idea is to understand if we need another probing on top ... or can just rely o nthat failing to determine if we want to go for 2d [19:11] asac, why dont we have the compiz wrapper in netbook-launcher ? that works pretty relaibly [19:17] ogra: thats too slow [19:18] for une [19:18] takes 2 seconds or something on boot time [19:35] oh, i wasnt aware it takes 2sec [19:53] GrueMaster: https://wiki.ubuntu.com/MobileTeam/Meeting/2010/20100223 [19:54] Cool. Send me that link on 20100222 and I'll be good. [19:54] :) [20:01] Wow, i.MX51 cell phones announced? Not having POP in that form factor must hurt. [20:01] (yeah, off topic, I know :)