[00:01] DanaG: lol [00:01] DanaG: Yeah, it will definitely we without NAND [00:02] DanaG, they ubuntu is currently only targeting C4... ;) [00:02] Now, if u-boot had ext4 support, that would be pure win. [00:02] if u-boot had any extX support.. ;) (that worked) [00:02] u-boot needs to be read from somewhere too [00:03] rcn-ee: ISTR we're using ext2 support in the dove images, not quite sure anymore [00:03] problem is that we still need to load u-boot from MMC I guess [00:03] so with vfat [00:03] because the ROM will load it [00:03] i know what you mean, i a couple other boards (avr32, etc) that has no problems with extX partitions running mainline u-boot.. Only the beagle has issues... [00:04] lool, http://paste.ubuntu.com/414595/ ... i need uboot-envtools in main and integrate it into flash-kernel-installer (for cmdline/root UUID etc), but it apparently works well already [00:05] rcn-ee : Right now the bulk of the work I'm doing is getting the smooth-stone SoC supported, and trying to figure out ways of recycling as much of the ARM tree in an abstracted way to do it [00:05] lool, thanks so much for poking me towards NAND [00:05] oh... right, you do still need fat32. [00:05] It's a chicken-and-egg problem. [00:06] Of course Martyn, cant' wait to see what that board can actually do. ;) [00:06] Can't read u-boot itself from ext4, anyway. [00:06] rcn-ee : One of the big problems, at least for me, is that Grant Likely device tree patches aren't going to make it in until mid 2.6.35, even .36 [00:06] rcn-ee : Coming to Brussels? [00:06] I wonder if you could fit u-boot in an MBR. [00:06] DanaG : No. i've tried [00:06] Bummer. [00:06] DanaG ; The problem is keeping it under 63 sectors (512bytes*63) [00:07] Nope, not across the pond anytime soon, but i will be in esc san jose.. [00:07] ogra_cmpc: eh [00:07] rcn-ee, thats a shame ! [00:08] DanaG, actually someone did intergrate X-loader into u-boot as a side project... can't remember how many months back on the beagleboard group... [00:08] lool, i got a freeze exception until fri. btw [00:08] rcn-ee : Pity .. I'm bringing a prototype of sorts [00:08] for that bit at least [00:08] rcn-ee : nVidia is helping :) [00:09] what? no way! ;) [00:09] i know they are kinda betting on the tegra platform, so it makes some sense... [00:09] now, a Tegra netbook could be cool. [00:09] rcn-ee : Heh .. true. Although I feel kind of guilty being one of the reasons the tegra2 200 platform is hard to get right now [00:10] I may not much like nvidia... but at least I'd probably be able to use compiz on the thing. [00:10] ... as opposed to PowerVR. [00:10] DanaG : I already saw four prototype 'smartbooks' based on the tegra2 .. but the 200 has some problems with Mini PCIe [00:10] (weak ordering is supported, strong ordering is not, which breaks the PCI driver in linux_ [00:11] DanaG : Try the more exciting idea -- the potential for using CUDA [00:11] Your just helping to get things supported before everyone starts yelling about the issues... [00:11] hmm, weak ordering? [00:11] DanaG : Yeah. [00:11] http://www.mail-archive.com/linux-omap@vger.kernel.org/msg02948.html [00:11] i just want a PCI-E, then stick ati/nouveu based card into it.. ;) the open-rd was interesting, but backordered.. [00:12] * ogra_cmpc falls dead [00:13] ogra :Sleep time? [00:13] DanaG : Bingo [00:14] Sucks that the Base and Client have different sets of I/O. [00:14] and because the assumption is strong ordering (where the tegra2 demands weak ordering) ... we get brokenness all over the place [00:14] I want a superset of both... "client" without the onboard IGP, with PCIe slot. [00:14] hmm, still doesn't quite say what strong / weak ordering is. Is it presence or lack of specific instructions? [00:17] Oh ogra, found another device with no battery backed rtc... The Always-innovating touchbook doesn't have a backup battery... There's a mod on their wiki to add one... [00:17] think of it as the difference between TCP and UDP [00:18] TCP ensures that the order of packets is perserved and checked [00:18] UDP .. ordering is -not- guaranteed or checked [00:19] ah, but instead of packets, it's "things you tried to fetch from memory"? (would have to include a sequence marker, of course.) [00:20] something like that [00:20] there are entire chapters in my PCI book dedicated to the subject [00:21] hmm, that reminds me of something I had thought would be interesting: use a PCIe FPGA to do all sorts of stuff. [00:21] Something I wanna' see: http://www.sondigo.com/sirocco/overview -- something like that, but with 2.6 kernel. [00:22] It's a c-media PCI audio chip on a Realtek Lexra MIPS CPU. [00:22] Most ARM SOCs don't have surround sound. [00:24] .. thinks [00:24] NO ARM SoC's have surround sound yet, that I can think of [00:24] I don't even think the Tegra2 is more than 2.1 [00:25] yeah, I realized that after I spoke / typed / pressed enter. [00:27] http://landley.net/notes-2009.html [06:03] hi [06:04] i need a simple way to setup a virtual machine with ubuntu-arm running it... can anyone point me to some doc ? === JaMa|Zzzz is now known as JaMa [07:15] philo, see topic :) [07:31] my board have two output hdmi and lcd ,but it's default out lcd ,how to change it to hdmi display [07:32] need i modify the frame buffer ? [07:33] aaron_liuj: what board is it? [07:37] arm [07:37] one type arm board [07:38] 2 output device , but default is lcd ,i want change it to hdmi tv [07:38] how to do that ? === ogra_ is now known as ogra [07:47] aaron_liuj: I'm afraid we need more info than that. What processor does it use? Is it a custom board, etc.. [07:51] tcc8900 [07:52] but the i have he right worked hdmi driver [07:52] but the i have the right worked hdmi driver [07:52] but i don't know how to change the default output device [07:53] aaron_liuj: that is not an SoC that is supported by Ubuntu, so I'm not familiar with its drivers [07:55] i think it's vary samilar with pc have vga and hdmi port [07:55] i think it's very samilar with pc have vga and hdmi port [07:55] i think it's very samilar with pc have vga and dvi, hdmi port [07:56] it is probably in the framebuffer driver options somewhere === DanaG1 is now known as DanaG [08:21] telechips? [08:21] hmm, my Cowon S9 has some telechips thingy of some sort. [08:24] never heard of them before [08:25] yeah from telechips [08:27] aaron_liuj: ususally its a kernel command line option, or if you just care about X, you might be able to get by with just xrandr, but I can't tell you the specifics [08:28] Martyn: dove has surrond sound [08:28] hrm, so broken_system_clock in e2fsck.conf doesnt help :( [08:33] hi there [08:40] ogra: hi [08:40] hey saeed [08:41] I would like to boot lucid on dove with console on serial [08:41] it would be very usefull if we can append args to bootargs of the boot.scr [08:44] saeed, that will breake the splash screen on all desktop installs, do you want that ? [08:45] plymouth sadly breaks once a console= option is on the cmdline and wont display any splash anymore [08:46] ogra: what is splash sceen? [08:47] ok, I googled it [08:47] anyway, the console option will be added only for debug [08:47] heh, its the progressbar screen you see on boot of ubuntu desktop systems [08:48] also, we may add other options [08:49] it's a bit late to change these options, we need to talk to the release team given that final freeze was yesterday [08:49] how confident are you that they are 100% not causing any problems (the additional options i mean) [08:49] I see, please consider it for next release [08:50] we'll do, we can get a freeze exception but it must be a 100% bulletproof change [08:50] if the images get unbootable due to some cmdline option you request thats a disaster [08:51] ogra: I'm not looking to add permanent options to the cmdline [08:51] only temporary options for debugging specific issue [08:52] you can easily change boot.scr yourself [08:52] if its only for you for debugging [08:53] just grab it, remove the binary header, save it as boot.script and edit bootargs to your liking [08:54] then run: mkimage -A arm -T script -C none -n "Ubuntu boot script" -d /boot/boot.scr [08:54] its trivial [08:54] ok === nosse1_away is now known as nosse1 [09:04] Morning everyone [09:09] good night all [09:15] ogra: I think saeed was just asking for a local workaround [09:16] lool, yeah, i didnt get that [09:16] saeed: What we kind of miss is some UI to offer multiple kernels and versions with options [09:16] saeed: Could probably be done with the soft bootloader PoC, or some other bootloader like petitboot and such [09:17] saeed: But locally you could regenerate boot.scr or break into u-boot I guess? [09:18] lool: I used to create my own bootcmd based on the boot.scr one, I also tried to modify the boot.scr as ogea suggested. both methods work [09:19] however, if the next release is comming with softbootloaded, then that will be great [09:20] btw, what is the status of the softloader? [09:20] Ncommander worked on that, right? [09:21] lool: atleast openmoko uses a u-boot that supports menu entries IIRC [09:21] saeed: No it's not coming with softbootloader [09:21] saeed: I think ogra and NCommander had a working proof of concept, but I'm not sure what prevented its wider use; for a long time kexec was badly broken [09:22] saeed: Perhaps the kexec breakage prevented its use? Not sure [09:22] saeed: project name is now https://launchpad.net/mukluk [09:22] look: issues with kexec were fixed [09:23] http://wiki.openmoko.org/wiki/Booting_from_SD#Add_uboot_boot_entry [09:23] So I cant comment in place of NCommander and ogra [09:23] lool, kexec broke suspend/resume on most arches we added it ... [09:24] i think it was withdrawn from most of our kernels again until thats better understood by the kernel guys [09:25] amitk, since you are affected by bug 563618, would you mind to confirm it ? [09:25] Launchpad bug 563618 in util-linux (Ubuntu Lucid) (and 3 other projects) "there is no way to tell fsck to ignore broken clocks on embedded systems (affects: 1) (heat: 8)" [High,New] https://launchpad.net/bugs/563618 [09:26] else Keybuk will close it immediately again and tell me its fixed :) [09:27] ogra: done [09:27] thanks :) [09:31] * ogra waits for dpms to kick in so he can reproduce the DSS2 bug finally [09:35] ogra, does the new ti-omap -5 cover the changes you made to the kernel yesterday? [09:36] comparing to the -4 config, there doesn't seem to be anything changed related to console [09:37] nosse1: that isn't built yet... long backlog of arm packages just before freeze [09:37] https://edge.launchpad.net/ubuntu/+source/linux-ti-omap/2.6.33-500.6/+build/1692899 [09:38] amtik, thanks. I can extract the config from those sources [09:38] nosse1: use tab for my nick :) [09:40] amitk, sorry. Didn't mean to offend. I've tried using the tab, but maybe this isn't a function in chatzilla [09:40] nosse1: none taken, just trying to point you to a (timesaving) feature. :) [09:41] trust me, I have been looking... ;) [09:44] ogra: I'm trying to debug the hibernate issue https://bugs.launchpad.net/bugs/509006 [09:44] Launchpad bug 509006 in linux-mvl-dove (Ubuntu Lucid) (and 1 other project) "[dove] hibernation failed to resume (affects: 2) (heat: 12)" [High,Confirmed] [09:45] I suspect that the issue is that the initramdisk mounts the root partition before doing the resume [09:48] saeed: You can break into the initrd by passing extra args [09:48] saeed: break=top break=bottom etc. [09:48] saeed: if you unpack an Ubuntu initrd and grep for maybe_break, you should see all the possible break points [09:49] lool: thank, I'll try it [09:49] or look under /usr/share/initramfs-tools [09:49] (easier than explicitly unpacking) [09:51] lool, http://paste.ubuntu.com/414821/ [09:52] lool, i have one prob left ... if you look below "Erasing Initramfs NAND space" you will notice that i use $kmtdsize (4MB) to erase the initramfs space [09:53] lool, the default size of that space is just to big to erase it all ... without erasing we cant write (generates IO errors) what would you recommend to use for a erase size ? i was pondering to hardcode a value somewhere [09:54] ogra: You mean it's too slow to erase it all? [09:54] ogra: how large is it? [09:54] yeah, its 2Gig [09:54] For Kernel? [09:54] its the filesystem space for the rootfs originally [09:54] no, kernel is 4MB [09:54] Who creates the Kernel partition? [09:54] the kernel [09:55] for a later release we need to sort that stuff in kernel [09:55] but for 10.04 i doubt we can [09:55] Ok, there's a space for a rootfs and you use it for the initramfs [09:55] right [09:55] and its to big to erase it all [09:55] ogra: Can't you change the partitions to be sensible? [09:55] takes 10-15min [09:55] no, they are set in kernel [09:56] ogra: pointer? [09:56] in the omap mtd driver actually [09:56] lool, http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=blob;f=arch/arm/mach-omap2/board-omap3beagle.c;h=962d377970e9bb198d410abf1ac1b418d0658341;hb=HEAD [09:56] thanks [09:57] amitk: Are there any other changes to the kernel except for config changes? [09:57] ogra: Could you possibly use the kernel part for both, or is it two small? [09:57] for both ? [09:57] whats both ? [09:57] oh [09:57] 4MB is definately to small [09:58] Yeah [09:58] ogra: So I have some ideas, but first could you explain where these IO errors come fronm? [09:59] I thought you could write whatever you like to mtdblock parts, the kernel will do the NAND flashing to 0xff for you if needed [09:59] lool, no idea, i get them if i write to unerased space [09:59] nosse1: no other changes, they'll happen after release as SRUs [09:59] ogra: I suspect it's a bug in the offset / size you're writing [09:59] as soon as i zero it everything works flawless [09:59] i got the offset sizes from the beagle docs [10:00] they seem to be identical across all beagles [10:01] ogra: I would say you should have at least 16 MiB for the initrd data [10:01] ok [10:01] for safety, you could go to something higher [10:01] like 64 [10:01] where would you put it ? [10:01] in the rootfs part [10:01] in the script (i dont use flash-kernel.conf yet and would happily not) [10:01] ok [10:02] ogra: how do you load the initrd ATM? [10:02] nand load [10:02] certainly *some* components needs to be made aware of the actual size we care about [10:02] ogra: do you have control of that script? [10:02] amitk: How do you generate the .config? Cat everyting together from debian.ti-omap/config ? [10:02] see the top part of my paste [10:02] line 10-26 [10:03] it uses uboot-envtools to set the u-boot env [10:05] ogra: yeah, so you're essentially already listing the initnrd size [10:05] right [10:05] i have to change it in both places [10:05] or would you suggest to parse bootcmd in flash-kernel ? [10:05] ogra: I guess that's ok; if would be nice if you followed the usual u-boot variables [10:05] beagleboard comes with a nice set of u-boot envs vars [10:06] mine doesnt anymore :P [10:06] after i played with the flash :) [10:06] ogra: Well if you were to use proper vars, it would be nice to parse in flash-kernel [10:06] e.g. (I'm not sure what exists already) initrd_nand_addr, initrd_nand_size etc. [10:06] ogra: you can reset the values to their defaults [10:06] resetenv or something [10:07] ah, right [10:07] ogra: I suspect they don't use the rootfs as an initrd though [10:08] sorry initramfs [10:08] ogra: Perhaps it would be more elegant to just write what you need to write and use it as an initrd instead of initramfs? [10:08] right [10:08] there are no vars at all for initramfs usage [10:08] nor for initrd [10:08] ogra: Hmm really [10:09] yeah [10:09] initrd isnt a concept on beagle [10:09] jffs2args=setenv bootargs console=${console} ${optargs} root=/dev/mtdblock4 rw rootfstype=jffs2 [10:09] even finding proper docs with google is painful [10:09] right, thats for a rootfs [10:09] Oh it's certainly supported for sd [10:09] I see you changed the HZ. Why is that? === XorA|gone is now known as XorA [10:10] nosse1, ?? [10:10] ogra: So I'd introduce a nandinitrdboot or similar which would set root=UUID=something and load some configurable megabytes of the rootfs as an initrd; I'd read that value from flash-kernel to zero it [10:11] ok [10:11] You can re-use rdaddr [10:12] amitk, bug 563650 with kisses for you :) [10:12] Launchpad bug 563650 in linux-ti-omap (Ubuntu Lucid) (and 1 other project) "DSS2 oops when shutting down while DPMS is active (affects: 1)" [Medium,New] https://launchpad.net/bugs/563650 [10:12] I wonder whether it would be possible to point the kernel at the nand for the initramfs and unpack it in RAM [10:12] lool, what scares me a bit is to rely to much on uboot-envtools [10:13] lool, thats for 10.10 :) [10:15] * ogra will already be happy if he ends up with a bootable *something* on lucid beagle ... given bug 563618 and Keybuks attitude towards the prob thats not looking good atm [10:15] Launchpad bug 563618 in util-linux (Ubuntu Lucid) (and 3 other projects) "there is no way to tell fsck to ignore broken clocks on embedded systems (affects: 1) (heat: 8)" [High,Confirmed] https://launchpad.net/bugs/563618 [10:17] nosse1: right, cat together all of it [10:17] ogra: thanks [10:32] saeed: softbootloader was blocked on lack of kexec() [10:32] saeed: kernel support landed too late for lucid unfortunately [10:33] ogra: i'm glad I told you 64 MiB because the usual ubuntu config is actually 4 MiB [10:33] *64 [10:33] i would have gone with 16 :) [10:33] i dont think i have ever seen a bigger initramfs in my life [10:34] ogra: given that the size in the kernel config is 64 MiB, that would seem a prudent value to use [10:34] ogra: are you checking the file size before writing it? [10:35] not explicitly, no but thats just a copy paste job [10:35] ogra: Make sure there's some check in place? [10:35] quoting is a bit inconsistent in your diff too [10:36] check_size "Kernel" $(($kfilesize + 8 + 64)) $kmtdsize [10:36] like that ? [10:36] apw: Would you be open to bumping the default ramdisk size in the dove config to 65536 instad of 4096? :_) [10:36] (stolen from QNAP) [10:36] ogra: something like that, I'm afraid I lack the specifics [10:37] ogra: note that you're actually writing an u-boot image which is slightly bigger than the initrd [10:37] lool, i think that is becoming the default on the other arm branches [10:37] lool, indeed [10:37] i presume you mean for SRU [10:37] apw: Yes, it's the case in pretty much all other branches, not sure why not on dove [10:38] apw: I guess it's for $next-upload, SRU or late upload; happy either way [10:38] apw: I would like if it's in git and I can forget about this discrepancy :-) [10:39] lool, as dove is in the can is there a bug as we'll need one to SRU the change [10:45] apw: no open bug, can file one now [10:45] lool thanks [10:45] assign it to me [10:49] apw: https://bugs.launchpad.net/ubuntu/+source/linux-mvl-dove/+bug/563679 [10:49] Launchpad bug 563679 in linux-mvl-dove (Ubuntu) "CONFIG_BLK_DEV_RAM_SIZE should be 65536 as in other kernels (affects: 1)" [Undecided,New] [10:49] lool ta [10:53] NCommander: what is the current status of mukluk [10:54] saeed: on hold. Will look at implementing for 10.10 [10:54] NCommander: does the current version partialy work? [11:09] NCommander, what was the prob again with missing uboot-mkimage on certain dove installs ? [11:10] NCommander, were these d-i based or live ones ? [11:10] ogra: live images, sometimes blew up due to network not being present [11:11] saeed: yes, but the script ot make the config file automatically is buggy [11:11] NCommander, weird, i'm just looking at the redommends [11:11] *recommends [11:11] in ubiquity [11:11] and uboot-mkimage is definately in the list so it should be inside the livefs [11:13] oh [11:13] it was added on Fri Mar 26 === rsalveti_ is now known as rsalveti [11:39] is there a link to the armel build queue somewhere? [11:40] https://edge.launchpad.net/builders [11:44] lool, erasing 64M is still taking more than 2min, i'll go with 16 [12:47] asac, so looking at uboot-envtools ... [12:47] ogra: thanks. and sorry i didnt fix it yet for you ;) [12:47] asac, using make clean breaks because the quilt patches that clean up Makefile are not applied [12:48] donty worry, i'm nearly done with all the omap stuff ... just needs that package [12:51] asac, so, i cant easily fix up the build system without adding my completely own Makefile debian/patches has Makefile patches that need to be applied to exec anything at all but rules calls unpatch in clean [12:51] i guess thats the reason for the rm commands in rules [12:52] asac, laso it doesnt remove source files it seems but it removes the link [12:57] asac, the missing config is caused because its actually a snipped from uboot, it would be configured during uboot build but the package here tries to be generic and thus ships only example configs === ogra_ is now known as ogra === ocs_ is now known as faLUCE === JaMa is now known as JaMa|Away [15:16] hi, which is the cheapest arm-board where ubuntu can run ? [15:17] ocs: beagleboard? [15:17] ocs: you can get it for $150 [15:18] rsalveti: are you sure there are not cheaper ones? [15:18] ocs: if you want to run lucid, then I guess it's the cheaper one [15:19] rsalveti: lucid <--- ? [15:19] otherwise if you are happy with older releases, you can get an armv5 or armv6 board [15:19] ocs: ubuntu lucid, the next release [15:21] rsalveti: thanks [15:23] ocs: sheevaplug is cheaper ($99), but it's armv5 [15:23] ocs: you can run ubuntu 9.04 or debian [15:23] or oe based distros, like angstrom [15:25] rsalveti: but sheevaplug doesn't have a video connector [15:25] right? [15:26] ocs: yep, you're right [15:36] rcn-ee, your /etc/e2fsck.conf works with mountall ? [15:36] (note that mountall doesnt use e2fsck but fsck from util-linux which doesnt respect the config file) === alecrim_ is now known as alecrim === jamie is now known as Guest80122 [17:08] GrueMaster, did you test the d-i fix for the netinst images already ? [17:08] (for dove) [17:09] Yes. Netboot install now works. [17:09] with the default initrd without having to fiddle with mkimage etc ? [17:09] I even wrote a little netboot.scr script for it that gets pulled via bootp. [17:10] sweet [17:10] I used the latest images from http://ports.ubuntu.com/dists/lucid/main/installer-armel/20081029ubuntu98/images/dove/netboot/dove/ with out any modification. [17:10] perfect, thanks [17:11] I'm still trying to figure out how to use the bootp protocol to send uboot commands. [17:11] But I don't think uboot supports it. [17:13] probably not uboot, but kernel/initramfs should be able to read dhcp strings you send === Meizirkki_ is now known as Meizirkki === Guest80122 is now known as JamieBennett [21:12] Is there a list of packages that are -not- attempted to be built on ARM? [21:13] libx86 :D [21:13] s390-tools :D [21:22] Martyn: we have a architecture specific blacklist file yes. but dont ask me where ;) [21:23] ogra: ^^ where is pas? [21:38] asac: P-a-s isn't the entirety of it, really. There's also package arch: fields. [21:38] persia: sure [21:38] but thats not in list form ;) [21:39] No, my point is that such a list doesn't exist. [21:39] And I know we attempt builds of silly stuff (e.g. libx86, wine1.2). [21:40] Anyway, https://code.launchpad.net/~ubuntu-core-dev/packages-arch-specific/ubuntu [21:52] thanks :) [21:52] persia : That will do as a starting point [21:53] Martyn: patches accepted for that, if you think there's something listed as not-for-ARM that should be for ARM. I had to unburden a number of packages when working on the lpia port. [21:55] right now, I'll take stability over coverage [21:55] smooth-stone is looking over all the packages, and building a blueprint for UDS-M [21:56] we're currently looking for a way to use eucalyptus either with LXC, or completely non-virtualized [21:58] That shouldn't be hard at all. [21:58] Just replace eucalyptus-nc with another component. [21:59] I strongly recommend chatting with kirkland or smoser in #ubuntu-server about it: they are likely to be able to share good strategies. [21:59] And I know at least one of them shares your timezone, which may make that easy :) [22:00] Actually, they're both there now :) === jldugger is now known as pwnguin