[04:29] <axisys> how do I cross compile ? I need a realtek usb ethernet driver for my android tablet
[04:29] <axisys> my laptop is ubuntu 11.10 x86 64bit
[04:30] <twb> axisys: http://wiki.debian.org/QemuUserEmulation
[04:31] <twb> Strict that is not cross-compiling, that is using native compilation + a CPU emulator
[04:31] <twb> IME it is simple and reliable and it doesn't involve recompiling the compiler itself, so nice and handy until the migration to multiarch is complete and we can simply install everything directly via apt.
[04:33] <axisys> twb: so this should let me compile a realtek usb ethernet driver rtl8150.ko for armv7l if I have the source code of realtek driver ?
[04:34] <twb> That all depends
[04:34] <twb> Of course, drivers are almost always included with your stock kernel
[04:35] <axisys> if I plug that usb ethernet adapter to my ubuntu laptop I get this http://pastebin.com/rcHjQMRE
[04:36] <axisys> so I guess linux has the source code for it
[04:37] <twb> Yes, at least for that specific model and for that kernel
[04:37] <twb> If you are running an older or wackier kernel on your arm you may not have it
[04:37] <axisys> Linux localhost 2.6.36.3-00020-g3d351b6 #1 SMP PREEMPT Wed Oct 19 10:52:26 JST 2011 armv7l GNU/Linux
[04:37] <axisys> thats my android tablet toshiba thrive
[04:38] <axisys> running android 3.2.1
[04:38] <twb> It doesn't matter what android is running; it matters what ubuntu will be running on the arm device
[04:39] <axisys> i was planning to compile the kernel module and force install
[04:42] <twb> I have no idea what android will do in response to that; I don't support android
[04:54] <GrueMaster> aceat64: Sorry, I was out with the famn, damily.  How can I help?
[04:59] <axisys> twb: found the source code I was looking for
[04:59] <axisys> twb: http://pegasus2.cvs.sourceforge.net/viewvc/pegasus2/rtl8150/
[04:59] <axisys> twb: now I need to follow your direction to try to cross compile it
[10:24] <micahg> has anyone started looking at the ghc failure on armhf, I'm about to kick off a test build for it
[10:33] <janimo`> micahg, I can take a look later today or Monday unless someone else has already been on it
[10:34] <janimo`> micahg, btw I got chromium to build on armhf, just need to formulate the patch so as it is not messy. gyp/scons only
[10:34] <micahg> janimo`: I kicked off a test build with -mfloat-abi=hard to see if it helps
[10:34] <micahg> janimo`: sounds great, thanks
[10:34] <janimo`> micahg, ok. Although I wonder why mfloat-abi=hard is not the default. Should it not be on armhf?
[10:34] <janimo`> or is ghc overriding gcc flags when calling it?
[10:35] <micahg> ooh, unrecognized compile flag, that would explain it :)
[10:36] <micahg> janimo`: did I do it wrong? pastebin.ubuntu.com/864862/
[10:37] <janimo`> micahg, well that is a gcc flag, ghc uses different ones.
[10:37] <janimo`> but it may have some means to tell it to pass cflags to the gcc step for the generated C code
[10:39] <janimo`> micahg, well I'll download ghc and give it a run on the panda, see how it fails :)
[10:39] <micahg> janimo`: there's a build log alreayd
[10:39] <janimo`> The logs suggest some objects were built correctly
[10:39] <micahg> ah, you saw it
[10:39] <janimo`> micahg, well see how it fails  + debug :)
[10:39] <janimo`> where did the patches for armhf come from? Debian?
[10:40] <micahg> janimo`: probably, laney in #ubuntu-motu can help with pushing fixes back there as well
[10:41] <janimo`> micahg, ok. I'll have the ftbfs reproduces on my panda hopefully in 3 hours and then I'll try poking at it
[10:41] <micahg> thanks
[10:41] <janimo`> poor panda, this past week it only had to deal with large package builds - libo, chromium, mongodb now ghc :)
[10:41] <janimo`> al with their funky build systems
[11:49]  * Laney phases in
[11:56] <int_ua> I have a question about uImage creation with mkimage. How should I select load address and entry point? I've seen 0x80008000 and 0x30008000 in different sources, but they all are hardcoded. Shoudn't it be platform-dependent?
[12:12] <Riddell> GrueMaster: local electronics shop does not stock double USB-Y cables
[12:12] <Riddell> GrueMaster: would a 5V USB hub do instead?
[12:14] <xranby> Riddell: i use a 5V usb hub and it solved all my panda instability problems
[12:14] <xranby> i have a usb harddrive attached to the hub
[12:14] <Riddell> xranby: oh cool, so it can handle a USB keyboard & mouse easily then
[12:14] <Riddell> xranby: and DVI monitor ok?
[12:15] <xranby> yes DVI monitor ok here
[12:15] <xranby> i attach keyboard and mouse to the hub as well
[12:16] <xranby> running opengl-es tests and some quite heavy builds on it
[12:19] <Riddell> xranby: and I need an ethernet cable for networking I expect?
[12:19] <xranby> yes
[12:19] <Riddell> groovy thanks
[12:20] <xranby> Riddell: to power the panda itself i use a 5v 4A adaptor
[12:22] <Riddell> xranby: oh
[12:22] <Riddell> well that's different then
[12:22] <xranby> so i have two poer adaptors 1 to the usb hub and one to the panda
[12:23] <xranby> power adaptors
[12:24] <Riddell> hum
[12:27] <Riddell> oh well I'll just buy a usb hub and see if it works
[12:31] <xranby> Riddell: i am sure it will it all depends on how good powersupply the hub got
[13:15] <int_ua> Anyone familiar with U-Boot and uImage?
[13:21] <rsalveti> ndec: was dropped from the call, but I think we're done already
[13:22] <ogra_> yeap, he thought someone joined :)
[13:22] <ogra_> (you beeped when dropping)
[15:52] <GrueMaster> Riddell: The problem with using a usb hub to power your panda is going to be the same.  A single usb port will not give you enough power (hence the need for a Y cable).
[15:54] <Riddell> GrueMaster: damn, they don't sell Y cables
[15:54] <Riddell> GrueMaster: it has a green light turned on, is there a way I can check it works?
[15:55] <GrueMaster> Not without at least a serial cable or monitor.  The green light is a power indicator.  Just like any pc, you need some sort of console.
[15:56] <Riddell> I have a monitor now
[15:56] <Riddell> will it have enough ampage for a DVI monitor?
[15:56] <GrueMaster> HDMI or DVI?
[15:56] <Riddell> DVI
[15:57] <GrueMaster> Do you have an HDMI to DVI cable?
[15:57] <Riddell> yes
[15:58] <GrueMaster> Ok.  Without a usb-Y cable or 5v power supply, you still won't get far.  The board draws ~1.2 amps on boot, which is more than a single usb cable can provide.
[15:59] <GrueMaster> If you have a cell phone charger with mini usb and >1amp out, that will also work.
[16:00] <Riddell> GrueMaster: really I need one of these? http://search.digikey.com/scripts/DkSearch/dksus.dll?WT.z_header=search_go&lang=en&site=us&keywords=993-1019-ND&x=14&y=17
[16:00] <GrueMaster> That would be optimal.
[16:01] <GrueMaster> Try checking with someone in the UK office.  They may have one at Millbank.
[16:02] <GrueMaster> If you can't get one before UDS, let me know.  I will bring you one then.
[16:04] <Riddell> that won't help with testing beta 2 :)
[16:07] <rbasak> Riddell: you're in the UK? What do you need? Just a panda power supply?
[16:08] <Riddell> rbasak: yes
[16:08] <Riddell> rbasak: know where I can get such an item?
[16:09] <rbasak> Riddell: how soon do you need one? I got mine off eBay, I can find you a link
[16:09] <Riddell> rbasak: toot sweet
[16:12] <ogra_> Riddell, heard of that thing called ebay ?
[16:12] <ogra_> if you order a proper power supply now, you should have it before B2
[16:13]  * GrueMaster is also checking amazon.co.uk for Riddell.
[16:13] <ogra_> (thats seriously better than poking around half breeded solutions with Y cables and USB hubs)
[16:17] <Riddell> ogra_: there are 1295 different power supply types, how will I know I'm getting the right one?
[16:17] <Riddell> the electronics shop tried every one in stock and none fitted
[16:18] <Riddell> ogra_, GrueMaster: I put in an SD card with an image and pressed a button and now I have two green LEDs on, is that a good sign?
[16:18] <ogra_> one should start blinking ... but in any case, give up on the USB idea
[16:18] <GrueMaster> yes, that means it is booting and resizing.  Not sure how far you will get w/o full power though.
[16:19] <ogra_> unless you want to test any headless images
[16:19] <ogra_> you will definitely hit stability issues and wont be able to tell if its a SW prob or caused by a bug
[16:20] <Riddell> right
[16:20] <ogra_> Riddell, http://search.digikey.com/scripts/DkSearch/dksus.dll?KeyWords=993-1019-ND&site=us&lang=en&WT.z_slp_buy=TI_PandaBoard
[16:20] <ogra_> thats the recommended power supply
[16:21] <ogra_> http://www.applegate.co.uk/listings/stock/rs-components-ltd/power-supply-desk-top/PSAC30U-050-4482.html is  a UK supplier
[16:22] <Riddell> so it's RS
[16:23] <Riddell> I heard their website is down because of something to do with raspberries
[16:23] <GrueMaster> I clicked and it came up.  Try the link.
[16:29] <Riddell> £25 for a power supply!
[16:30] <ogra_> http://www1.conrad-uk.com/scripts/wgate/zcop_uk/~flN0YXRlPTM2MjUyMTE5MDI=?~template=PCAT_AREA_S_BROWSE&glb_user_js=Y&shop=UK&zhmmh_lfo=&zhmmh_area_kz=&product_show_id=512922&gvlon=&p_init_ipc=X&p_page_to_display=fromoutside&~cookies=1&gclid=&cookie_n[1]=uk_insert&cookie_v[1]=89&cookie_d[1]=&cookie_p[1]=%2f&cookie_e[1]=Tue%2c+03-Apr-2012+16%3a30%3a08+GMT&scrwidth=1024
[16:30] <ogra_> there is another one
[16:31] <ogra_> well, you use a developer board ...
[16:33] <ogra_> here is one for under twenty http://www1.conrad-uk.com/scripts/wgate/zcop_uk/~flN0YXRlPTM2MjUyMTE5MDI=?~template=PCAT_AREA_S_BROWSE&glb_user_js=Y&shop=UK&zhmmh_lfo=&zhmmh_area_kz=&product_show_id=512922&gvlon=&p_init_ipc=X&p_page_to_display=fromoutside&~cookies=1&gclid=&cookie_n[1]=uk_insert&cookie_v[1]=89&cookie_d[1]=&cookie_p[1]=%2f&cookie_e[1]=Tue%2c+03-Apr-2012+16%3a30%3a08+GMT&scrwidth=1024
[16:34] <Riddell> nah I trust RS more
[16:36] <ogra_> alternatively just get a universal 5V/3-4A one with plug adapters included
[16:36] <ogra_> that should be below 15
[16:36] <ogra_> (GBP)
[16:38] <Riddell> ogra_: yeah except the plug adapters don't fit it the ones in my local shop are anything to go by
[16:38] <Riddell> anyway ordered that one
[16:39] <Riddell> I'll be back with more questions next week :)
[16:39] <ogra_> good
[16:40] <Riddell> ogra, GrueMaster!
[16:40] <ogra_> yes ?
[16:40] <Riddell> I go back into the other room with the panda board in and it's booted and showing on the monitor!
[16:40] <GrueMaster> Riddell: !
[16:40] <GrueMaster> Yea.
[16:40] <ogra_> nice ... still, i wouldnt count on stability with that power setup
[16:42] <Riddell> yeah, ordered anyway
[16:43] <Riddell> ogra, GrueMaster: so this thing boots into ubiquity and you have to install it before you can do anything?
[16:44] <ogra_> it boots into oem-config
[16:44] <ogra_> you need to set up a user, TZ, language, kbd etc
[16:44] <Riddell> right, same thing kindae
[16:44] <ogra_> not really
[16:44] <ogra_> everything is installed
[16:45] <ogra_> its just the user cration and initial configuration .... no partitioning, no package installation
[16:47] <Riddell> sure I know
[16:47] <Riddell> this thing is a bit slow :)
[16:47] <ogra_> nope
[16:47] <ogra_> the "thing" is fast ... the SD card isnt ;)
[16:48] <ogra_> the CPU/RAM isnt slower than an intel ATOM ... but you run off an SD car with max 16-17M/s throughput
[16:49] <Riddell> oh really?  would attaching a solid state hard disk by usb be faster?
[16:49] <ogra_> that should get you around 24-25M/s
[16:49] <ogra_> so yes, its a bit faster ... but its still just USB ...
[16:50] <ogra_> the panda sadly doesnt have a real disk controller, thats the limiting factor
[16:52] <rbasak> Riddell: sorry, the exact item I got from eBay is no longer available
[16:52] <rbasak> Riddell: I can tell you the maplin code for the DC connector if you like
[16:52] <rbasak> Riddell: if you fancy hooking one up yourself
[16:54] <Riddell> rbasak: I got one from RS
[16:54] <Riddell> thanks for looking
[16:54] <rbasak> np
[16:55] <Neko> which mmc host does omap3/4 use?
[16:56] <GrueMaster> Riddell: If you plan on doing development work, I suggest getting an external USB drive and an extra SD (an old 128M or greater is sufficient).  Then you can put netboot in the SD and install to the usb directly.  For image testing, a 4G SD is sufficient (class 10 highly recommended).
[16:57] <GrueMaster> Having 1 SD to boot to USB & 1 for image testing is ideal.
[16:58] <Neko> I couldn't find any info but I hope omap5 has an sdxc controller
[16:59] <Riddell> GrueMaster: so netboot on Sd card then install over ethernet to the USB solid state hard disk?
[16:59] <Neko> like a decent one with ddr support and a bus speed to match so you can get those 45MB/s UHS cards to work
[16:59] <ogra_> right
[16:59] <ogra_> that gives you a faster system
[16:59] <GrueMaster> Yes.  You should have sufficiently better bandwidth to ports.ubuntu.com than I do, so it should be fairly quick.
[17:00] <ogra_> for testing the kubuntu images you still want to use the 4G SD you have in use now
[17:00] <Neko> Riddell, at the point you're using USB you don't really need to be solid state on the hard disk, just get a cheap rotating hard drive
[17:00]  * ogra_ points Neko to #pandaboard with his questions
[17:00] <Neko> you think they'd know the down dirty details of the omap5 sdxc controller?
[17:00] <Neko> worth a try I guess
[17:01] <ogra_> well, there are many TI employees that work on designing the board
[17:01] <ogra_> not sure they will disclose any such info before the board is out though
[17:01] <GrueMaster> Is omap5 even out yet?
[17:01] <ogra_> nope
[17:02] <Neko> no but it should be RTM by now according to their schedule, and in devices by the end of the year
[17:02] <Neko> same as we've got MX6 months ago, someone has to have an OMAP5 on their desk
[17:03] <Neko> it doesn't matter so much as it definitely has SATA anyway, but... you know :D
[17:06] <Riddell> I think my pandaboard only boots up with no mouse/keyboard plugged in
[17:06] <Riddell> that explains why it didn't boot when I was watching it
[17:07] <ogra_> yeah, mouse and kbd likey draw more power ...
[17:07] <GrueMaster> Riddell: Exactly.  not enough power.
[17:07] <ogra_> and you are on the edge
[17:38] <smplman> does anyone know if 1ghz is supported in the kernel yet on a beaglebaord xm?
[17:41] <rcn-ee> not in mainline, still quite a few patches needed to make it stable. Not even sure who at TI is even tasked for the smartreflex 1.5 stuff..
[18:38] <shra1> i am trying ubuntu on pandaboard and the screen blanks after 10 mins? how to disable screen blank
[18:39] <shra1> however if i connect to that pandaboard thru ssh once, then the screen does not blank
[19:08] <GrueMaster> I believe there is an xset setting for that.  It should be the same as on any desktop/server in x86.  Try googling for the setting (I don't know off the top of my head).