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

rcn-eei belive we are...  i'm not that high up, red river basin in north mn..00:00
* GrueMaster is in Oregon00:01
=== XorA is now known as XorA|gone
rsavoyeif we had an east coaster we'd cover all the US time zones at least :-)00:03
=== orbarron is now known as orbarron|OoO
GrueMasterwe do.  NCommander.00:03
=== bjf is now known as bjf[afk]
rcn-eersavoye, give this one a try.. (it might not even boot, so back up your uImage) but it should detect more of the 'dm37xx' http://rcn-ee.homeip.net:81/testing/2.6.36/2.6.35-git8-dl0.uImage (modules are in the same directory if by some mircrale it works better..)00:15
rsavoyehow to install ?00:17
rcn-eeyou have a fat16/32 'uboot' partition on your sd card right? rename your uImage to uImage_bak... Copy this 'uImage' and rename it to 'uImage' if it boots just fine.. untar the modules .tar.gz as sudo right over top the rootfs, it'll create a /lib/modules/$(uname -r?)00:18
rsavoyeyep. I'll try it after it downloads00:20
* NCommander waves00:23
NCommanderrsavoye: hey, how goes it?00:23
rsavoyestil trying to get my XM to run stably...00:23
rsavoyercn-ee: you need to upgrade your net connection, an hour to download the uImage ? :-)00:29
rsavoyeah, now it's kicking in better....00:30
rcn-eeoh, it'll go eventually.... my farm is uploading *.deb images to rcn-ee.net too... it's 30Kb max upload, with my cable access.. sadly noting is better in this country area..00:31
rsavoyeI know the problem,... I had to start my own rural ISP to get a connection at all...00:32
rcn-eewhat's funny, digi-key is down the street, so they get 95% of the isp connection.. ;)00:33
rsavoyemust be nice though if you need hardware :-)00:34
rsavoyedoes this new kernel run at 1Ghz ?00:51
rcn-eei don't think it can yet.. 800mhz still..00:53
rsavoyebetter than 500Mhz... I've been building OpenJDK for 2 days now...00:53
rcn-eesome of the new 'base' pm stuff is in it..00:54
rcn-eeso rsavoye what's the story?  crash on boot? runs a little bit after boot? or eh it's still going? ;)01:19
rsavoyejust ate dinner, let me try it01:25
rsavoyeif I replace uImage with your image it doesn't boot.01:47
rsavoyeI get funny characters to the serial port01:47
rcn-eesweet, more things broken. ;)01:48
rsavoyemore to fix that way :-) I'm around if you want me to try another one later01:50
rsavoyeactually, what was the default baud rate ?01:50
rsavoyemaybe I need to drop down from 11520001:50
rcn-eeoh 115200 been the default, just getting my testsetup up again..01:53
rsavoyethat was the default for alpha2 and alpha301:54
rcn-eewell it's been the default ever since i booted my first 2.6.21-ish on a beagle. ;)01:54
rsavoyeI'm using multiple mmc cards now, so I can easily test later, and thrn go back to test builds on2.6.35-14-omap01:54
rsavoyesure beats the days of 9600baud only...01:55
rsavoyeI'm compling Gnash a stress test, C++ code at -O3 is a great way to reproduce memory problems01:55
rcn-eec++ apps are great for that. ;)01:56
rsavoyeunfortunately...01:56
rsavoyefunny enough when I build OpenJDL and Icedtea, the java code doesn't cause any problems, only C++ code01:57
rcn-eewell it's not a bad thing for stress testing. ;)02:01
rsavoyebetter us breaking it now than after the release. :-)02:02
rsavoyecompiling away on 2.6.35-14-omap, before it never ran for more than 15minutes, so I'll let you know...02:04
rcn-ee_lpthey ogra, from the irc log it looks my 'unique' /etc/flash-kernel.conf is messing some people up, is there a minimal amount of stuff i should put in there, before my 'to use ubuntus kernel remove the next command' 'exit 0'?02:04
GrueMasterHe's in Germany.  3am.  If he answers, I would be very surprised.02:05
GrueMasterWhat does your flash-kernel.conf look like?02:06
rcn-ee_lptyeap, i was hoping he was doing some midnight coding.. ;)02:06
rsavoyeI think we're the only ones awake02:07
rcn-ee_lptthe one /etc/flash-kernel.conf i'm adding to my images was for the lucid days, but it sounds liek maverick needs more stuff:  http://bazaar.launchpad.net/~beagleboard-kernel/%2Bjunk/image-builder/annotate/head:/tools/fixup.sh02:07
rcn-ee_lptthe DONT_FLASH part was a patch i was working on but dropped..02:08
GrueMasterLucid wrote the kernel to nand, Maverick uses a 70M fat32 partition.  It needs to have UBOOT_PART=<vfat partid> in it.02:09
GrueMasterespecially for XM and systems w/o nand.02:10
rcn-ee_lpteh, that's what i'm missing, thanks GrueMaster i'll add it to the next upload, and tweak the message to make it easier for users trying to switch between. ;)02:11
rcn-ee_lptactually i originally wrote it for my xm with lucid, after which i found out the netinstall would just crash with lack of nand on my xm. ;)02:11
GrueMasterSomething like this?  http://paste.ubuntu.com/475699/02:12
rcn-ee_lpti'd personaly remove all nand stuff.. ;) to many rma's and confused customers.. ;)02:13
GrueMasterMakes sense.02:13
rcn-ee_lptalmost number one reason the xm doesn't have nand..02:13
rcn-ee_lpton the other hand it's a nice clean install for a single distrubution.. ;)02:14
GrueMasterInteresting how we went from having to show people how to program their VCR to having to show people how to program their embedded development system.02:14
rcn-ee_lptyou didn't use electrical tape? ;)02:15
GrueMasterFor my VCR?  Had a roll on an office tape dispenser next to it.02:15
rcn-ee_lptbut yeah, over the last year, my wiki has gone from.. follow these examples exactly too run this script...02:16
rsavoyeless tech support that way02:16
GrueMasterNow if TI (or one of their oems) were to make something like this...http://en.qi-hardware.com/wiki/Ben_NanoNote02:18
rcn-ee_lptthat would be neat to have.. i'm been looking at this.. omap3530 powered http://www.slashgear.com/nationite-midnite-android-2-2-mid-an-affordable-cortex-a8-tablet-0696771/02:21
rsavoyeso far so good, one directory compiled without segfaults02:21
rcn-ee_lptis that with 2.6.35-14-omap?02:21
rsavoyeyeah02:21
rsavoyefrom the linaro image02:22
rsavoyehow can I see what clock speed it's running at out of curiousity ?02:22
rcn-ee_lptcat /proc/cpuinfo...02:22
rsavoyeah, 500Mhz. oh well... :-)02:23
rsavoyestill, sharing a beagle board in NZ is kindof slow...02:23
rcn-ee_lptwell.. by default u-boot set's it up for 500, passes mpurate to the kernel, (which i don't think ubuntu02:24
rcn-ee_lpt's boot.scr uses yet...02:24
rsavoyeif it's stable, I'll be glad to have that than a higher clock rate02:25
rcn-ee_lptyeap, right now stable on an xm is better then anytyhing..02:25
prpplaguercn-ee_lpt: could be on a beagle mounted on a mars rover02:26
prpplaguercn-ee_lpt: i'm thinking the ping times would be pretty large02:26
rcn-ee_lptthat would be cool prpplague you'd have to script everything no point in waiting for commands..02:27
rsavoyethe spec for the Delay Tolerant Network is pretty cool02:27
rsavoyeit's the exact opposite of real time...02:28
GrueMasterJust be thankful this hasn't become a standard yet.  http://www.faqs.org/rfcs/rfc2549.html02:34
GrueMasterAlthough if MS ever hears about it...02:35
rcn-ee_lptwell, they'd just implement it after bsd. .;)02:36
prpplagueGrueMaster: i thought they already implemented it in wince, that's why it runs so slow02:37
GrueMasterHeh.02:37
rcn-ee_lptrsavoye, it's funny.. that uImage booted for me.. (well dss2 is broken so no screen)02:57
rsavoyeshould I do anything after copying the uImage ?02:57
rcn-ee_lptnope, just the uImage... lets see if it survies my aptitude test..02:58
rcn-ee_lptnope, crash.. can't wait for a production unit. ;)02:59
rsavoyeaaarrrggg, same ol segfault. oh well...03:01
rcn-ee_lpti get this... dss2 is broke.. http://pastebin.com/1UpFddvN03:02
rsavoyeI get http://paste.ubuntu.com/475715/03:04
rsavoyeit segfaults still, but differently than when I ran your other kernel a few days ago03:04
rcn-ee_lptyeap, we are still missing the usart3.. (basicly the omap3630 core added another usart ove rthe omap35xx) it hasn't been implemented yet..03:05
rsavoyeguess this will make me eager to test new kernels, hoping one works :-)03:06
=== JaMa|Zzz is now known as JaMa|Wrk
lagrcn-ee: Are you here/07:58
lagcooloney: Morning07:59
cooloneylag: morning, man08:12
cooloneyyou are very early08:12
lagI'm always here 0700-3008:13
lagcooloney: bug 61289508:13
ubot2Launchpad bug 612895 in linux-ti-omap4 (Ubuntu) "Unable to handle kernel NULL pointer dereference at virtual address 00000000 (affects: 1) (heat: 1674)" [Undecided,Confirmed] https://launchpad.net/bugs/61289508:13
lagAnd the kernel you asked me to test08:13
lagWhere did you get the _fix_?08:13
cooloneylag: i saw you are trying 902 kernel. and we just upgraded to latest TI release08:14
cooloneylag: maybe you can try that08:14
cooloneylag: the latest TI release fixed one swap oops08:15
cooloneyndec: morning08:15
ndeccooloney: morning.08:16
lagndec: Morning :)08:20
lagcooloney: When did you update?08:20
ndeclag: morning!08:20
cooloneylag: tim pull it last week. it is 2.6.34 based release08:21
cooloneynot 2.6.3508:21
=== hrw|gone is now known as hrw
hrwmorning08:23
zumbihrw: hi08:39
zumbihrw: where do you keep your compilers packaging08:40
hrwzumbi: 2 places08:45
hrw1. http://people.canonical.com/~hrw/ubuntu-maverick-armel-cross-compilers/08:45
hrw2. https://edge.launchpad.net/~hrw/+archive/arm-cross-compiler08:45
hrw1st has cross compiler packages08:46
hrw2nd has my work on binutils/eglibc/gcc and related packages08:46
zumbihrw: should we try to sync on getting this into Debian together?08:46
zumbi(or you might not care on Debian?)08:47
hrwzumbi: all my work is first in Debian ;d08:48
zumbiwhile most of the work is fine, I have some suggestions on the packaging08:48
hrwzumbi: zless /usr/share/doc/gcc-4.4/changelog.Debian.gz please08:48
hrwzumbi: I am listening08:49
zumbihrw: yes, i saw that changelog, but i do not see it on linux, nor eglibc08:49
hrwlinux in Debian is other recipe then in Ubuntu...08:49
hrwzumbi: I need: http://kernel.ubuntu.com/git?p=ubuntu/ubuntu-maverick.git;a=commit;h=b4f64f3350b628323e39f69b416523f60c7f11f2 http://kernel.ubuntu.com/git?p=ubuntu/ubuntu-maverick.git;a=commit;h=b4c776c2bc2c183fe13d3ed5f23e00fd9cb62a1d in kernel source package08:50
zumbihrw: while one package for cross compiler (armel-cross-toolchain) could be fine. I would suggest to do some package split for building reuse08:50
zumbihrw: I have some dependency graph which might clarify package dependencies a little08:51
hrwok08:51
zumbihrw: I need some time to build an image of the dependency graph (source at: http://emdebian.org/git/?p=talks/emdebian.git;a=blob;f=pkgdeps.dot;h=9380b2fb14c6ffb6ecb66c05bc71cb375098531f;hb=HEAD )08:53
zumbihrw: I'll ping you back once i get a better looking file08:53
hrwok08:54
hrwwhat you use to visualize it?08:55
looldotty08:56
zumbidot -Tdot pkgdeps.dot | gvpr -c '' | dot -Tpdf -o pkgdeps.pdf08:56
zumbibrb08:57
hrwthx08:57
loolhrw: So you're essentially building a package which takes as input *-source, and outputs all the cross-toolchain .debs; I think zumbi is looking for some modularity, such as building binutils separately, or not rebuilding all stages; I don't think all the modularity is easy, so let's shoot at completing a cross toolchain first, and then we will make it more modular08:57
loolMy understanding of zumbi's main concern is the time it would take to build the whole bootstraped toolchain08:58
loolI personally think this is ok, but I understand why he would like to skip some stages / packages in Debian08:58
hrw56 minutes on my core2quad08:58
loolsweet08:59
hrwzumbi: your graph has a bug. 1st stage of gcc do not need eglibc08:59
hrwzumbi: and do not need linux headers - thats what eglibc wants08:59
zumbiback09:04
zumbihrw: the most important think i wanted to show you from the graph is capability to rebuild non default compilers09:05
zumbihrw: so if default is 4.4, you could reuse all libs to rebuild 4.3, 4.5, ..09:06
hrwzumbi: take my armel-cross-toolchain source package, change component inside, build09:06
hrwversion of gcc inside is set by VER_GCC variable09:06
hrw4.4 and 4.5 should work09:06
zumbihrw: ok - i'll do09:06
hrw4.3 is not present in ubuntu so I did not changed it09:06
hrwif you want to use <4.4 then you will need to merge changes from 4.409:07
hrwand there are still lot of changes which I need to merge09:07
zumbihrw: but you no need to rebuild everything for both compilers (that was my suggestion) :)09:07
hrwphone...09:10
loolzumbi: Yes, in general, the structure of cross-compiler packages is not perfectly defined09:11
loolzumbi: for instance, which package should provide $triplet-gcc?09:11
loolzumbi: My take on this is that there are two types of users: a) people who want to quickly build a standalone cross-toolchain09:12
looland b) people who want to build cross compiler packages which match as much as possible the native toolchain09:12
loolfor the later case, I think we need to output -gcc-4.5, -gcc-4.4 and -gcc files, and that should be the default; for the former I think we should add a flag to the gcc cross-build to allow building a standalone package09:13
zumbilool: and c) people wanting to just intall the binaries :)09:13
loolzumbi: I'm not sure what you mean09:13
loolI think the in-archive packages should be of type b), but they will be of type a) in the beginning09:14
zumbilool: right09:14
zumbilool: sounds fine09:15
hrwI think that we try to make a) == b)09:19
hrwat least thats my goal with ubuntu packages09:19
loolhrw: Hmm, I'm not sure it's possible09:20
loolhrw: Consider that gcc comes from gcc-defaults right now09:20
loolhrw: And that people might want to build a standalone cross-toolchain which ships $triplet-gcc, even if it's not the gcc-4.x they build from is not the default09:20
hrwmy wife is refuelling our car for first time so I am remote helpdesk09:23
hrwlool: current ubuntu cross gcc packages (4.4 4.5) ships $triplet-gcc-VER + u-a stuff to make it $triplet-gcc (gcc/cpp/gcov/g++ etc)09:24
loolhrw: yeah, alternatives suck though    :-/   but it's good to have that in place at least10:00
hrwspeaking of cross-gcc-defaults package... I looked at gcc-defaults one and I think that will make new one based on it instead of adding cross support to this one.10:01
hrwarmel-cross-toolchain 1.7 builds now. will fail anyway10:12
hrw1.8 on a way10:22
rcn-eelag pong12:44
lagHi Robert12:45
lagYour patch for ro12:46
rcn-eehow's it going lee..12:46
lagAre you going to push it upstream?12:46
lagGood thanks :)12:46
rcn-eefor the xm, when the hardware is released, i'll send it to linux-omap, it'll probally get tweaked..12:47
lagrcn-ee: Why don't you throw it up there now?12:50
rcn-eei don't really have a good excuse. ;)12:52
lagThe boards don't work without it12:54
lagIs that good enough? ;)12:54
rcn-eei'll run it thru the patch checker script, and sent it to linux-omap, one more thing enabled for the xm..12:56
ogra\o/12:58
* ogra sighs about oem-config12:59
ograi also just stopwatched the resizing ... 2:30 for two boots and the whole resizing process on a 4G card13:00
ogra(each boot takes 35sec for u-boot until the kernel comes up)13:00
ograamitk, do you still think thats to slow ? :)13:00
hrw2h30m?13:01
ogra2min 30sec :)13:01
ograof which 1min 1sec are simply u-boot stuff13:01
ograerr13:01
ogra10sec13:01
hrwogra: and how much from first start to final desktop?13:02
ograhrw, no idea, thats from pushing in the power plug to oem-config13:02
rcn-ee35 seconds for u-boot? you could cut the u-boot wait variable.. ;)13:02
hrwoem-config etc took ages last time13:03
ograanswering the oem-config questions will likely take another 2-3min (depending how fast you type and click) plus package removal time which i couldnt stopwatch yet13:03
amitkogra: no, it is loooking _much_ better. Congratulations :)13:03
ogranote that i'm talking about omap4 here13:03
ograi dont test on the C4 anymore and XM is currently broken kernel wise13:04
hrwon Cx you have to multiply by 1013:04
rcn-eestill pretty quick, is your u-boot for the omap4 like the omap3, where it has a 10 second wait at boot?13:05
amitkogra: I know you cheated :-p But it is still a lot better than the 1.5hr installs13:05
ograhrw, well, if we get the XM working i wont recommend the images for Cx installations13:05
hrwogra: so far I am stick with C3s anyway13:05
ograits simply not up to par with the minimal requirements13:05
hrwbtw - how often does ubuntu devs reboot their 'desktops'?13:06
rcn-eesweet, looks like a real patch for 588243 just it linux-omap..13:06
ograafter update-manager forced me to13:06
hrwogra: I am ~5 kernels behind current13:07
amitkbad hrw13:07
ograyeah13:07
ograyou should listen to your update-manager :)13:07
hrwogra: aptitude do not said anything ;D13:07
ograshudder13:07
ogradont use aptitude13:07
amitkhrw: aptitude is not recommended by our update guys13:08
hrwso what :D13:08
amitkit resolves dependencies in a different (unsupported) way13:08
hrwI cant stand other apt utils then aptitude and apt-get13:08
ograhrw, do-release-upgrade is what you want if you are a cmdline guy13:08
hrwif it require me to use mouse then it is not good13:08
hrw13:56 hrw@home:debian$ sudo do-release-upgrade13:09
hrw[sudo] password for hrw:13:09
hrwChecking for a new ubuntu release13:09
hrwNo new release found13:09
ograits the equivalent to update-manager13:09
ograwhat are you running ? lucid or maverick ?13:09
hrwmaverick since uds13:09
ograah, that might be different13:10
* ogra doesnt run maverick on his main machine13:10
amitkwhat's wrong with 'sudo apt-get update; sudo apt-get dist-upgrade -V'13:10
ogranothing13:10
hrwamitk: aptitude logs what I isntalled etc13:10
ograhrw, apt too13:10
hrwogra: it did not when I started using aptitude13:11
amitkhrw: /var/log/apt/13:11
hrwaptitude also shows what new, what local/obsolete etc13:11
ograapt-get autoremove :P13:11
hrwI used console-apt and few other ncurses/slang frontends in past13:12
ograah, you need a gui ?13:12
ograwell13:12
hrwogra: that does not tell that libdvdcss2 is from outside of ubuntu13:12
hrwor that binutils-arm-linux-gnueabi is also not ubuntu package13:13
ograwhy didnt you use the one inside of ubuntu ?13:14
ogra(for DVD playback, use libdvdread4 and run /usr/share/doc/libdvdread4/install-css.sh )13:14
hrwdo not remember now13:15
hrwogra: that script does same as I did - fetch pacakge and install13:15
ograyeah13:16
ogralikely13:16
hrwbut I play one dvd per year so...13:16
* amitk doesn't even have a laptop with dvd drive any more13:17
hrwdid I said laptop?13:17
ogramine annoyingly has one13:17
hrwI never owned laptop with drive13:17
ogra(with an eject button you always hit if you lift it)13:17
hrwogra: remove it from case?13:18
ograthen i have an open hole in my lappie13:18
ograthe drive is customized to the case13:18
ograand i have no placeholder or something to put into the empty slot13:19
hrwso nothing other can fit?13:19
ograi guess when the laptop was recent you could buy dummies to put into the slotr13:19
ograbut thats 2.5 years ago and the model isnt produced anymore13:20
lagrcn-ee: Sounds good (I saw that your tabs are out, besides that it looked okay)13:25
rcn-eeyeah, noticed that when i added the patch to the lp bug.. (crap wrong tabs..) btw, i think this fixes lp bug 588243 http://www.spinics.net/lists/linux-omap/msg34582.html going to test it this morning..13:28
ubot2Launchpad bug 588243 in linux-ti-omap (Ubuntu) (and 1 other project) "kernel BUG at /build/buildd/linux-ti-omap-2.6.33/drivers/video/omap2/dss/core.c:323! (affects: 1) (heat: 8)" [Undecided,New] https://launchpad.net/bugs/58824313:28
lagrcn-ee: That's a lot of extra code13:37
lag:)13:37
lagI'm sure cooloney will be glad to hear of it13:37
lagrcn-ee: I'm commented on the bug with your information13:39
loologra: Around?13:54
loologra: Do you remember that discussion about changing the image generatin to output fat32 specifically?13:54
ogralool, yes, i changed it for you back then, does it work now ?13:58
loolNo13:58
loolThat's why I'm around13:58
ograiirc we still have a bug open thats pending confirmation13:58
loolOne thing I noticed, and I had mentioned on IRC, is that the number of heads is non-default when I regenerate it here13:58
ogra"regenerate" ?13:59
loologra: If you sudo losetup -fv maverick-preinstalled-netbook-armel+omap.img, then sudo kpartx -av /dev/loop0, then compare: sudo fdisk -l /dev/loop013:59
looland sudo file -s /dev/mapper/loop0p113:59
loolyou'll see that they don't have the same number of heads13:59
loolyep, confirmed, that fixed it for me14:00
ograthe CHS geometry is indeed adjusted to the image size, i havent seen any issues with dd'ed images14:00
loologra: So if you check the number of heads in the FS, it says 64; if I regenerate the fs, copying back the same files in, it generates a FS with 255 heads here, and it boots in QEMU14:01
lool(now it doesn't work because I get no keyboard and no /dev/mmcblk0p2, but still it will boot into the initramfs!)14:02
ogra{14:02
ogra    echo ,9,0x0C,*14:02
ogra    echo ,,,-14:02
ogra} | sfdisk -D -H 255 -S 63 -C $CYLINDERS $IMAGE >/dev/null 2>&114:02
ograthats the code from the debian-cd script (which originally comes from angstrom)14:02
loolthis isn't the problem14:02
ograbut that defines the sectors14:03
loolI'm speaking of the heads in the *filesystem*14:03
ograerr, heads indeed14:03
ogramkdosfs -F 32 -C $IMAGE.vfat ${VATSIZE} >/dev/null 2>&114:04
ograthats the filesystem creation, with -F32 added as you requested14:04
ogracould it be that our mkdosfs on antimony is to outdated ?14:04
loolMaybe, but looking at the code, I rather think that it's because I'm running it on a different device that I get different results14:05
loolCurrent images: /dev/mapper/loop0p1: x86 boot sector, mkdosfs boot message display, code offset 0x58, OEM-ID " mkdosfs", Media descriptor 0xf8, heads 64, sectors 144522 (volumes > 32 MB) , FAT (32 bit), sectors/FAT 1112, serial number 0x4c5f659b, label: "           "14:05
ograthat might be, i get proper partition tables and filesystems if i use it from SD card14:05
loolafter mkdosfs on a loop device:14:06
lool/dev/mapper/loop0p1: x86 boot sector, mkdosfs boot message display, code offset 0x58, OEM-ID " mkdosfs", Media descriptor 0xf8, heads 255, sectors 144522 (volumes > 32 MB) , FAT (32 bit), sectors/FAT 1112, serial number 0xcafca2f1, label: "           "14:06
ograweird14:06
lool>-------printf ("unable to get drive geometry, using default 255/63\n"); bs.secs_track = CT_LE_W(63); bs.heads = CT_LE_W(255);14:08
loolinterestingly, it tries to default to 64 heads on loop devices, but fails to detect my device as a loop device14:10
ograkernel issue ?14:10
loologra: Well it's just that it checks for loop major device (7), but I'm using a mapper device (major 252)14:11
ograah14:12
ograbut could that in any way affect your qemu boots ?14:12
lool252 actually means "local/experimental use"14:12
ograi doubt it14:12
loolqemu apparently reads the number of heads from the FS14:12
looland refuses to boot with heads == 6414:13
ograhmm14:13
loolI need to say that the partition table actually says 255, so QEMU has a point in not booting   :-)14:13
ograbut the 255 is needed for real HW :)14:13
loolthe 255 is fine14:14
loolthe bogus part is the 64 heads in the FS14:14
ogra255/63 is a requirement, else x-loader wont work14:14
loolErr which 63 is that?14:14
ograsectors14:15
loolI'm only speaking of heads here14:15
ograthe DOS standards14:15
loolsectors don't matter really14:15
lool(here)14:15
ogranot here but for the actual images, the partitioning needs to be that way, i dont know how i would change the amount of heads the filesystem uses though, seems mkdosfs has no option for that14:18
loolso it's a set of mkdosfs bugs, but not fun to fix14:18
loologra: it's because mkdosfs has a different code path for files and for devices14:19
loolfor files, it checks the size and defaults to 32 sectors and 64 heads14:20
loolfor unknown devices, it assumes hard disk and checks the geometry, but fails and so uses 63 sectors per track and 255 heads14:21
ogrameh14:22
ogralool, i'm planning to provide a script that loop mounts and reformats the vfat for bootloader changes on existing images, we could have some workaround in there that makes it work for you too14:23
ogra(we want to provide the same image for blaze and panda but that requires different x-loader and u-boot)14:24
loologra: i'd rather fix mkdosfs14:25
ogralool, in hardy ?14:25
ogradont forget antimony is hardy14:25
loologra: Well we can certainly prepare a special fixed package to install there14:29
ograindeed14:29
=== amitk is now known as amitk-afk
lagogra: If I want to test my bespoke kernels with the daily image - what's the easiest way?16:03
loologra: Hmm it's more complex than I thought16:16
loolLP #61587316:16
ubot2Launchpad bug 615873 in dosfstools (Ubuntu) "Doesn't allow forcing file systems to 255 heads (affects: 1) (heat: 6)" [Undecided,New] https://launchpad.net/bugs/61587316:16
hrwsomeone remember how to tell "dch" to not use "ubuntu1" but bump version?16:31
loolhrw: Bump to what?16:32
loolhrw: You can -i to force a version increment, or -a to force not touching the version; you can -v to set the version16:32
GrueMasterlag: what platform do you want to test on?16:33
lagArm16:33
GrueMasterDuh.16:33
GrueMasterLittle more specific.16:33
lagOMAP3+416:33
GrueMasterIf you want to test on Beagle & Panda, probably easiest to use the Alpha 3 image and install kernel after the image expands and oem-config runs.16:34
GrueMasterIf you want to test on XM, boot an image on beagle first, then install new kernel.16:35
GrueMasterNot sure if you can just put the uImage on the image w/o updating uInitrd.16:35
lagHmm16:35
lagYou can't16:35
lagdepmod not found16:35
lagSo, let them come up and install kernel.deb after?16:36
GrueMasterThat would be easiest.16:36
rsavoyealpha3 has problems still on my XM16:36
GrueMasteryes, I know.16:37
GrueMasterThe other possible way is to generate an image with rootstock, but I don't know how well that works.16:37
hrwlool: yes, but -i bumps from 1.10 to 1.10ubuntu1 when I want 1.1116:37
rsalvetiyep, with rootstock you can give the kernel image to be used while creating the rootfs16:38
lagrsalveti: But I want to test it with the daily build16:39
lagrsalveti: i.e. the daily build's rootfs16:40
rsalvetiGrueMaster: lag: another way is to copy qemu-arm-static to <sd-card>/usr/bin and run chroot16:40
rsalvetiafter that you're able to install normally16:40
loolhrw: --distributor Debian?16:40
rsalvetilag: well, the advantage of using rootstock is that you can test another kernel easily, without having to wait the daily rootfs to be created16:41
hrwlool: ok, thx16:41
lagrsalveti: I have kernels that I know work with rootfs, but they don't when they're used with the daily build16:41
lagrsalveti: I need to test them with the daily build's rootfs16:42
rsalvetilag: so, installing the new kernel deb with chroot is how I'd recommend you to do it16:47
rsalvetiif you don't have access to the machine running your rootfs16:47
rsalvetibut then you need to create and copy uI* files16:47
lagDoes the daily build's rootfs have update-initramfs?16:49
lagAnd mkimage?16:49
rsalvetiGrueMaster can easily check16:49
GrueMasteryes, they do.  Sorry, had to step out for a bit.16:55
ogralag, create a package, dpkg -i it16:56
ogralool, well, my offer still stands, i can add a special mode to the script16:57
lagBut that's saying I have a running system16:57
lagogra: XM is borked16:57
ogralag, yeah16:58
lagHow how can I dpkg -i on the XM?16:58
ogralag, another way is to dpkg -i your package in a chroot and just use mkimage on the files16:58
ograand then replace them on the SD16:58
lagYeah, that's whay rsalveti said16:58
loologra: It looks like we're creating a broken vfat16:59
loolI'm worried about mtools_skip_check=116:59
ograthats what i do for jasper development16:59
ogralool, iirc we a) use that elsewhere too in debian-cd, b) as long as the bootloader likes it i'm fine, we repartition and recreate the vfat on first boot anyway17:00
ogralool, seems the only thing that doesnt cope with our images is qemu here17:01
lagogra: Can I just update-initramfs <kernel-image> in a chroot and use the uInitrd and uImage files?17:05
ogralag, you need the mkimage calls too17:05
ograbut yes17:05
lagWhat do I need to do with the rootfs?17:05
ogranothing17:05
lagJust copy the modules into /lib/modules?17:05
rsalvetilag: yep17:06
ograjust dpkg -i your package or create the modules dior manually17:06
rsalvetilag: the packages just installs the modules17:06
rsalvetithen depending on your changes you need to generate the initrd.img again17:06
rsalvetithen create the uI* files and rock on17:06
lagWhy do I need to make them twice?17:07
lagCompile kernel17:07
lagMake uImage17:07
lagMake uInitrd.img17:07
lagMake uInitrd17:07
lagCopy to rootfs17:07
lagCopy modules to /lib/modules17:08
lagDone17:08
ogralag, just roll your kernel inside that chroot :)17:08
lag?17:08
lagI do17:08
ogramak install will put the modules in place17:08
ogra*make17:08
lagI don't do make install17:08
lagI have to do it manually17:08
ograwell, make modules_install17:08
lagNope17:08
lagI build on a different <remote> machine17:09
ograwell, have an armel chroot there you can build in17:09
lagI do17:09
ograwrap a script around it that spits our uImage/uInitrd17:09
ogra*out17:09
* cpearson wonders if there are any Canonical guys at LinuxCon? Need someone to drink beer with tonight :)17:09
ogracpearson, mdz i think and kees17:10
cpearsonogra: ping me with real names if you could17:10
ogracpearson, what happened to the photo from prague btw ?17:10
ogracpearson, matt zimmerman and kees cook17:10
cpearsonhttp://ufgeek.wordpress.com/17:10
ogra(no secret :) )17:11
ograawesome !17:11
* cpearson does not have magic decoder ring for IRC nick to names :)17:11
cpearsonogra: thanks17:11
rsalvetilag: don't you need to generate the initrd.img first before creating the uIinitrd?17:11
rsalvetiyou said make uInitrd.img17:11
kblincpearson: you clearly need to eat more geek flakes17:12
cpearsonthe marketing gig is making me soft17:12
lagrsalveti: Don't you use update-initramfs <kernel-image> to make uInitrd.img?17:14
rsalvetilag: yep, but I create the *initrd.img* file, not uInitrd.img17:15
laghttp://ufgeek.wordpress.com/ - WTF!17:16
lagI have a stalker17:16
cpearsonlag: damnit now you found me, I have to move to the other set of bushes outside your house17:17
lagogra: cpearson: http://people.canonical.com/~ljones/lastsupper/17:18
lagrsalveti: Picky!17:18
lagrsalveti: But you get the idea17:19
rsalvetilag: yep, but the *u* on it means that you don't need to run mkimage :P17:19
cpearsonogra was confused... we had been drinking17:19
ograheh17:20
cpearsonand there was schnitzel17:20
* ogra had duck though17:20
cpearsonand an accordion17:20
ograpossibly a mad duck :)17:20
cpearsonI'm sure we was briefly pissed... then they took his head off17:20
lagWhat was the lexicographic revelation? My spelling mistak?17:20
lag;)17:20
=== rbelem is now known as rbelem-afk
lagcpearson: ?17:22
cpearsonlag: the meaning of the middle F17:28
* cpearson looks at the #linux-omap channel... man there are some strange people in there :)17:28
GrueMasterAnd we're not strange?  I'm offended.  :P17:30
=== orbarron|OoO is now known as orbarron
=== hrw is now known as hrw|gone
=== JaMa|Wrk is now known as JaMa
=== sbambrough is now known as sbambrough-afk
=== rbelem-afk is now known as rbelem
=== sbambrough-afk is now known as sbambrough
rsalvetiXorA|gone: regarding the texture from pixmap stuff, check https://wiki.linaro.org/Platform/UserPlatforms/2010-08-10 and http://www.mail-archive.com/mesa3d-dev@lists.sourceforge.net/msg11616.html to see how linaro and mesa guys are working with it19:01
rsalvetiif you didn't read this already :-)19:01
rsalvetiXorA|gone: alf__ and asac are working to understand if it's really needed to get this proprietary extension implemented on the driver side19:02
rsalvetior if it should just follow the common extensions like mesa guys are doing19:03
XorA|gonersalveti: email me rather than talk here, Ill lose these logs before I get to read them19:22
rsalvetiXorA|gone: your email?19:23
XorA|gonegg@slimlogic.co.uk19:23
rsalvetik19:23
=== hrw|gone is now known as hrw
=== hrw is now known as hrw|gone

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