/srv/irclogs.ubuntu.com/2009/09/28/#ubuntu-arm.txt

looldoko__: d-shlibs > are you sure ld-linux3-dev is the right thing to do?10:31
looldoko__: Is it normal that all our binaries start getting linked to ld-linux when they didn't use to?10:32
looldoko__: If you check jaunty, they weren't linked in this way10:32
ograsigh, d-i is missing a dep on parted for teh merged netboot image to work ... what made me assume its there by default ...10:39
ograi guess redboot-install should actually depend on it10:41
ogralool, btw, i'm sure you'll find improvements ... http://bazaar.launchpad.net/~ubuntu-mobile/redboot-tools/ubuntu/annotate/head%3A/redboot-cmdline/redboot-cmdline :)10:46
loolI would have encoded the FIS directory offset instead of the config offset10:48
ograwell, i want to have it detect the offset at some point10:48
ograbut for a start using the default we use in our images seemed fine to me10:48
loolWe hardcode the config offset in our images?10:49
ograits just a start and does the job10:49
loolOh but we create it from scratch10:49
ograright10:49
ograredboot-install uses the same offset10:49
ograso as long as you use one of ouor images or used redboot-install, the default is fine ... if not you can use -o10:49
ograwe'll needs something to change the cmdline once we switch debian-cd10:50
ogra*need10:50
loolI'd match on exec .* "" instead of ""10:50
ograbecause at the point wheer redboot-install will run the second partition wont exist, so wee dont have the UUID10:50
loolNo set -e?10:50
ograbah, you always catch me on that :P10:51
loologra: otherwise it looks good10:51
ograset -e added10:52
ograi'll upload it post beta ...10:53
ogratogether with the missing dep on parted ... sigh ...10:53
ograyay, casper with my serialtty option was just uploaded :)11:10
loologra: BTW I did an install of Debian Lenny on my Thecus and it did setup a serial TTY11:15
loolI think we should make sure we do that for imx51, dove, beagle etc.11:15
ograwith d-i over serial ?11:15
ograi know d-i automatically does that if you used a serial tty initially11:16
ograbut only then11:16
ograit doesnt do that if your install ran from tty011:17
loologra: Ah that might be11:19
loologra: Well that kind of makes sense11:19
loolWe should check that works with our platforms too then11:20
loolAnd we could reuse this logic in casper too I guess11:20
ograwe do :)11:21
ograhmm, though ... well11:21
ogramy current change sets up the device file in /etc/init in the live session only11:22
ograthat needs additional stuff in ubiquity11:22
* ogra notes on whiteboard under the post beta items11:23
ogralool, hmm, though it might be a bit pointless to have such a feature in casper/ubiquity ... you wont be able to actually run ubiquity over serial11:36
ograthe casper feature only helps for debugging from the livefs11:37
loologra: Yes, but the test would be nice11:38
loolNot needing any serialtty bit11:38
ograwhat kind of test ? if you set serialtty in casper *and* do a normal install ?11:39
ograi.e. have a working X session to run ubiquity11:39
loologra: My understanding is that d-i checks cmdline or /dev/console for a serial tty; if we can copy that bit to setup a getty on serial console during casper, that would be nice11:40
loolWould avoid needing any cmdline arg11:40
ograi'll look what d-i uses for that though i fear the logic to actually match all known serial tty devices might become quite complex11:41
ogracasper would have to copy that11:41
ograi always fear to slow down casper through adding any additional checks11:41
ogralool, hmm, the serial console detection in rootskel (which i think is what d-i uses) is quite complex, involving .c tools to actually detect the console type12:18
ograit actually seems to use http://paste.ubuntu.com/280299/12:20
ograoh, there is an easier way i gues12:23
ogras12:23
ograheh, i see other code that definately wont work with imx5112:24
ograusing "readlink /proc/self/fd/0"12:24
ograha ...12:34
ogracase $(readlink /proc/self/fd/0) in12:34
ogra    /dev/console|/dev/tty[A-Z]*|/dev/hvc*|/dev/hvsi*)12:34
ogra    ...12:34
ogra    ;;12:34
ograesac12:34
ograthat works12:34
ogralool, so the above is what d-i seems to use ^^^ should i switch the casper code to it ?12:35
ograogra@babbage2:~$ readlink /proc/self/fd/012:35
ogra/dev/ttymxc012:35
ogramy issue with it is that it will be run every time if there is no cmdline option while my current code just skips if /proc/cmdline doesnt contain serialtty=12:36
ograi.e. it'll slow down all arches12:37
loologra: the above code needs patching12:52
loolTo allow ttymxc012:52
loologra: I think your code is just as expensive to run as the above12:52
ograogra@babbage2:~$ case $(readlink /proc/self/fd/0) in12:53
ogra>     /dev/console|/dev/tty[A-Z]*|/dev/hvc*|/dev/hvsi*)12:53
ogra> TERM_TYPE=serial12:53
ogra>     ;;12:53
ogra> esac12:53
ograogra@babbage2:~$ echo $TERM_TYPE12:53
ograserial12:53
ograno patching needed12:53
loolIs it /dev/console?12:53
ograi dont get why though, i thought the same until i tested12:53
ogranope12:53
ogra<ogra> ogra@babbage2:~$ readlink /proc/self/fd/012:53
ogra<ogra> /dev/ttymxc012:53
ograits weird that it matches12:54
loolOdd, I was sure it was case sensitive12:54
ograyes12:54
ograme too12:54
loolcase FOO in foo) echo yes ;; esac doesn't match12:55
ograhttp://paste.ubuntu.com/280321/12:55
ograthats the full code12:55
loolcase /dev/ttymxc0 in /dev/console|/dev/tty[A-Z]*|/dev/hvc*|/dev/hvsi*) echo yes;; esac => nothing12:55
ograusing it on my babbage serial console clearly sets TERM_TYPE=serial12:55
loolI dont have a serial console hooked up right now12:56
ograogra@babbage2:~$ TERM_TYPE=""12:56
ograogra@babbage2:~$ if [ -z "$TERM_TYPE" ]; then12:56
ogra>     case $(readlink /proc/self/fd/0) in12:56
ogra>         /dev/console|/dev/tty[A-Z]*|/dev/hvc*|/dev/hvsi*)12:56
ogra>         TERM_TYPE=serial12:56
ogra>         ;;12:56
ogra>         /dev/tty*)12:56
ogra>         TERM_TYPE=virtual12:56
ogra>         TERM_FRAMEBUFFER_TRY=yes12:56
ogra>         ;;12:56
ogra>         /dev/pts/*)12:56
ogra>         TERM_TYPE=pts12:56
ogra>         ;;12:56
ogra>     esac12:56
ogra> fi12:56
ograogra@babbage2:~$ echo $TERM_TYPE12:56
ograserial12:56
doko__lool: d-devshlibs is only used to check for missing build dependencies. we know that the dynamic linker is in libc6-dev, so I assume it's safe to remove that. Didn't dig up why it shows up in the first place13:06
looldoko__: Yes, that's the basic question I have13:07
ograshould we push that to debian ?13:07
looldoko__: I agree with you about the change to workaround the effects of our binutils though13:07
ogragiven that mojo had the same prob ages ago13:08
doko__i filed a bug report13:08
* ogra suspects it makes sense to have it upstream13:08
ogracool13:08
doko__lool: hmm, I don't see the connection yet (binutils/d-shlibs)13:09
looldoko__: binaries from jaunty didn't have this odd NEEDED entry13:10
looldoko__: Which is only present on armel since karmic13:10
looldoko__: So it seems suspicious13:10
doko__lool: is there a bug report about this?13:13
loolI don't remember13:13
loologra: Do you remember?13:13
* lool greps ogs13:14
loollogs13:14
looldoko__: http://paste.ubuntu.com/280331/13:15
looldoko__: Conclusion was to consult you   :-)13:15
looldoko__: http://paste.ubuntu.com/280333/13:16
=== doko__ is now known as doko
ogralool, i dont think there was a bug13:38
ogra(sorry was at lunch )13:39
loologra: You dont think there was a bug where?13:40
ograanywhere :)13:40
ograi didnt file one13:40
loologra: So why isn't it a bug?13:40
ogra??13:40
ograi dont say its not a bug13:41
loologra: Sorry misunderstood you13:41
ogra:)13:41
=== serdar__ is now known as Serdar
=== bjf-afk is now known as bjf
NCommanderlool, ogra, just a note: my change to d-i fixes alternate images on armel in general (we weren't including fat-modules so no alternate CDs are working. I also know theres an optoin that has to be set on the kernel command line to get debian_installer/try-usb set so d-i will work, would either of you know off the top of your head which option that is?16:12
loolNCommander: I know, I added the fat-modules to imx51 but they were not built at all in dove16:13
NCommanderlool, oh, strange, I didn't see it when I pulled the branch the other day. I must have just missed your commit :-/16:14
ograprobably fat is in the kernel there ?16:14
ogradid anyone check ?16:14
NCommanderogra, its all modules on dove, I didn't check imx5116:15
loolNCommander: http://bugs.launchpad.net/bugs/43194516:15
ubot4Launchpad bug 431945 in linux-mvl-dove "Lacks a bunch of modules for d-i support" [Undecided,Fix released]16:15
loolNCommander: You didn't see build/pkg-lists/cdrom/armel/imx51.cfg?16:15
loologra: I checked yes16:15
loolNCommander: You also want keyboard modules if any16:15
NCommanderlool, no, i added mine to the generic arm.cfg file. I didn't even see the imx51.cfg one :-/16:16
=== bjf is now known as bjf-afk
ograNCommander, err16:38
ograNCommander, you are aware that our arch isnt arm, right ?16:38
NCommanderogra, arm is symlink to armel16:38
NCommander(in d-i for the pkg-lists)16:38
loologra: haha second time you're hit by this16:39
ograheh16:39
loologra, NCommander: Anything you need in d-i before I upload it?16:40
NCommanderlool, just fat-modules/input-modules for d-i on armel. I can't think of any other changes I need off the top of my head (or that I had to make to get d-i do something :-))16:40
ograa redboot-imx51-babbage dep would be nice16:40
loolbdep?16:40
ograyep16:41
* NCommander needs to get out of his apartment16:41
ograredboot-install doesnt find reboot and fconfig.bin otherwise16:41
ograhmm16:41
loologra: So the build fails because of that?16:41
ogranow i'm pondering a redboot-tools upload16:41
loologra: Can you please fix it in bzr then?16:41
ogranope16:41
ograredboot-install exists but doesnt make the build fail16:42
loologra: I personally think it makes more sense for redboot-tools to not depend on it; if it's the default you could add a Recommends though16:42
ograon what ?16:42
loolWe have the case on antimony that we dont want to install redboot-imx16:42
loolBut we want the tools16:42
loologra: s/exists/exits/?16:42
ograredboot-tools doesnt depend on redboot-imx16:42
ograand will never do16:42
ograbut d-i needs to16:43
ografor the merged sd netboot image16:43
ograexits, yes16:43
loologra: Did you add the image yet?16:44
ograd-i needs to b-d on it so redboot-install finds the bianry during its armel build16:44
ograyes, but its empty16:44
ogradue to redboot-install a) not having parted available (missing dep in redboot-tools i added today, but after redboot-cmdline which is why i considered to keep the upload until after beta) and b) not having the redboot binary file16:45
ograb) should be solved by the build dep16:45
ogra(of d-i on redboot-imx51-babbage)16:46
ogra(on [armel])16:46
loolIs redboot-tools uploaded with the parted dep?16:48
ograno, thats what i said above16:48
loologra: Feel free to commit the relevant bdeps to d-i right now16:49
loolI'll pull the changes16:49
ograit would bring in redboot-cmdline too and i didnt want to upload new code before beta16:49
loologra: Well then that needs to happen now or we need to disable your netboot image16:49
ograhrm, ok, then i'll do an upload16:49
ograi thought the release managers are busy enough16:49
loologra: Well either do an upload of redboot-tools or disable the netboot image16:51
loologra: I can do the later if you like16:51
ogranope, i'll upload redboot-tools16:51
ogragimme a sec for the di push16:52
ogrado you prefer a versioned dep here too ?16:52
ogra(you wanted me to do one for redboot-tools)16:52
loolYes16:53
ogralool, ok, i didnt add a changelog entry, change pushed though16:54
ograerr, yes ?16:55
ogrameh16:55
ogracould you add that ?16:55
ogra200933-0ubuntu1 is the current redboot version16:55
ograawew, CIA bot is evil, it reacts to local commits even if i didnt push16:56
loologra: I would have preferred for you to upload redboot-tools then update d-i but well17:06
ograr-t is up17:06
* NCommander is back17:26
loolNCommander: Can you please revert the flash-kernel bits to use flash-kernel for UUID instead of the initramfs hook?18:02
loolNCommander: cjwatson commented last week that this was probably not very stable to use18:02
loolNCommander: I thought you got these bits from #ubuntu-installer18:02
loolNCommander: (sorry if you missed them   :-/)18:07
=== bjf-afk is now known as bjf
NCommanderlool, oh, I see18:30
NCommanderlool, sure, let me fix that18:31
armin76NCommander: fix gcc18:32
NCommanderarmin76, on SPARC?18:32
NCommanderarmin76, or ARM?18:32
NCommander(and how is it broken on ARM if thats the case)18:32
armin76NCommander: arm18:32
NCommanderarmin76, how is it broken?18:32
armin76http://bugs.gentoo.org/show_bug.cgi?id=28625118:33
ubot4bugs.gentoo.org bug 286251 in Core system "sys-devel/gcc-4.4.1 fails to rebuild itself on ARM" [Normal,New]18:33
armin76nice bot18:33
armin76NCommander: probably you aren't going to hit it, its probably due to our make line18:34
NCommanderarmin76, I don't really have the time to look at Gentoo bugs :-/18:34
armin76make LDFLAGS=-Wl,-O1 STAGE1_CFLAGS=-O LIBPATH=/usr/lib/gcc/armv5tel-softfloat-linux-gnueabi/4.4.1 'BOOT_CFLAGS= -march=armv5te -pipe -O2' bootstrap-lean18:34
armin76NCommander: heh, it was just fyi18:35
* NCommander feels like eyes burn18:35
armin76NCommander: do you have a babbage as well, right?18:36
NCommanderarmin76, just a Babbage 1, my imx 2.0 is in London  ATM18:37
armin76NCommander: gimme!18:37
NCommanderarmin76, I don't think you want a B1 :-P18:37
armin76why not?18:38
NCommanderarmin76, USB isn't very stable on it which means your more or less limited to SD cards18:39
armin76SDHC?18:40
NCommanderarmin76, nope18:40
NCommander(or at least, no SDHC card that I had worked, it was very picky)18:40
armin76gimme!18:41
armin76nfs++18:41
NCommanderlool, I'm SO lost on what you want me to do with respect to the UUID its not funny (I just read the logs). Do you want me to keep the current behavior with the UUID then?18:48
loolNCommander: Sorry, let me send you the relevant logs19:07
loologra: pushed d-i19:08
loolNCommander: I only included input-modules (+fat on cdrom)19:08
loolNCommander: I didn't test the z0 stuff; not sure it's picked up -- likely not19:08
loolBut then I don't think we will care much longer about it19:08
* NCommander nods19:08
loolNCommander: http://paste.ubuntu.com/280589/19:11
loolNCommander: I did try to ping you on it; I guess I should have updated the bug19:11
loolNCommander: That was on #ubuntu-installer on 20090924 BTW19:11
NCommanderlool, I probably missed it since my IRC proxy machine had to be restarted and I forgot to dump logs into my client before restarting it19:12
NCommanderok, so old behavior it is19:12
loolNCommander: I uploaded d-i now; I will consider updating your flash-kernel tomorrow along d-i and ubiquity if cjwatson is ok with that19:12
* NCommander has the branch ready as soon as I test it19:12
MartynRe19:13
MartynUEFI is ... neat.19:13
MartynA bit full of fail at the moment, but that's because it's seriously alpha on ARM19:13
loolMartyn: Which UEFI impl are you looking at?19:15
Martynapples19:15
MartynWe have the source and are working on getting it working and compiling.19:15
MartynWe also hired a new person whose only job is to work on the bootloader now.19:15
MartynSo, I have high expectations :)19:16
loolMartyn: Is Apple's open?19:16
Martynit is19:17
loolMartyn: Interesting; URL?19:17
MartynThey open sourced it two weeks ago (well, it's been open source, but they released it)19:17
Martynlool : no idea.  We got it via sneakernet19:17
Martynon nothing less than a usb key19:18
loolWhat's sneakernet?19:18
Martynlool : Put on a pair of sneakers .. then walk?19:19
Martynlool : Yep, this is something that I think Ubuntu is moving to.19:19
Martynlool : I'll be putting together a blueprint, and getting something ready to present at the ubuntu meetup @Dallas19:19
Martynurl is edk2.tianocore.org19:34
loolMartyn: excellent19:37
neonfreonspeak up if you make any progress with it! =)19:37
NCommanderOOOOOOOOH19:40
* NCommander can't believe Apple opened their EFI core19:40
NCommanderits based off Intel's EFI reference implementation but with a ****ton of tweaks for OS X19:41
NCommander(like FAT binary support and Mach-O support)19:41
NCommanderMartyn, what SoC are you working against?19:41
=== bjf is now known as bjf-afk
=== darkstar62 is now known as darkstar62[away]
=== bjf-afk is now known as bjf
=== darkstar62[away] is now known as darkstar62
=== Q_Continuum_ is now known as Q_Continuum
=== darkstar62 is now known as darkstar62[away]
MartynHey al.22:22
Martynlool : awake?22:22
=== darkstar62[away] is now known as darkstar62

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