=== Ursinha is now known as Ursinha-afk [06:03] hey, are ubuntu-ports armhf binaries compiled for armv7+VFP? [06:03] seismic__, that is what hardfloat is :p [06:04] lilstevie: cool, just to be sure ;) [06:04] :) [06:06] seismic__, armhf is armv7 using vfp for floating points, the only major thing armhf doesn't cover is neon [06:06] and that is due to some armv7 cores out there not supporting neon [06:10] lilstevie: ok, i see === nashpa_ is now known as nashpa [09:26] rsalveti, do you know if https://launchpad.net/ubuntu/quantal/+source/xbmc/2:11.0~git20120510.82388d5-1ubuntu2 could also build for arm ? or is it missing patches ... ? [09:27] rsalveti, oh, ignore me, i'm blind [09:27] (somehow my brain was looking for armel in the archiers list) [09:27] *arches [10:24] I'm constantly getting a couple of "Buffer I/O error on device loop1, logical block 494320" while mounting/working with 12.04 OMAP preinstalled image. Can anyone suggest what's the problem? [10:25] int_ua, well, what did you loop mount ? [10:30] sudo mount -o "loop,offset=75497472" -t auto ubuntu-12.04-preinstalled-desktop-armhf+omap.img /mn [10:30] ogra_: ^ [10:31] ohm, i thought you meant when running it :) [10:31] ogra_: doesn't it mean that the image FS is broken? [10:32] might be, it doesnt stay like that since on first boot the SD gets re-partitioned and the FS gets adjusted to the SD [10:33] i havent loop mounted an image in quite a while i must admit [10:33] Where should I report it? [10:33] (and preinstalled is dead from 12.10 on) [10:34] you could report it against debian-cd i guess but dont expect it to be fixed, loop mounting the images is a corner case and arm wasnt even rebuilt for 12.04.1 [10:34] and as said, this image type is dead [10:35] orga_: What's the proposed replacement if it's dead? Ubuntu Core? [10:35] well, for omap there is still ubuntu-server [10:36] beyond trhat all images are now simple live/alternate images like on x86 [10:36] the preinstalled hackery is gone [10:37] ok, thanks [10:38] ubuntu core isnt an image [10:38] it is a base for building images [10:39] (or a cheap way of getting a chroot) [10:48] The same thing for Kubuntu, just different logical blocks [10:49] good morning [11:02] I have a question and that is responsible for the uboot you can load a image from MMC or does boot.axf? [11:03] boot.axf? [11:03] sounds like armcc. bah. [11:04] on my gooseberry (android) is an nanda/boot.axf i think this is the firmware [11:06] i have build sucessfully a new u-boot.bin but boot from mmc is not possible [11:08] but the android boots without a problem ^^ === doko_ is now known as doko [12:37] damned ... i cant get the console up with more recent kernels on the zatab [12:51] * ogra_ doesnt get that [13:08] sigh [13:21] yay, at least i see 1G now [13:21] (well, 900+M ) === Ursinha-afk is now known as Ursinha [13:24] oha, we used the totally wrong kernel branch for allwinner it seems [13:24] there is apparently a branch based on 3.0.42 [13:25] * ogra_ clones === Xav_ is now known as XavB === rickspencer3_ is now known as rickspencer3 === TRON is now known as TypoNAM === rickspencer3_ is now known as rickspencer3 [16:42] ogra_: allwinner? does it hurts badly? [16:42] well, so so [16:42] i have a kernel that has a working console now and that allocates the full 1G if i use mem= [16:43] no success with the mmc ot touchscreen drivers yet [16:43] *or [16:44] * xnox ponders if the way I wrote lvm support in ubiquity increased memory usage [16:44] and if it did, whether it was significant.... [16:44] who uses lvm anyway :) [16:45] * xnox does [16:45] :P [16:45] who uses arm anyway ;) [16:47] xnox, everyone using a mobilephone ;) [16:48] using the precise ubuntu core rootfs on a pandaboard I can't use my keyboard. at no point is there any power (i.e. the lock leds never light up). known bug / not a bug? [16:48] ogra_: there are !arm mobilephones ;) [16:48] pandaboard A2 btw [16:48] hrw, rarely :) [16:49] * hrw -> off [16:49] sauerbraten, kernel issue i would say, and no, not known (works fine here) [16:50] sauerbraten, do you have a proper power supply attached (3A or bigger) [16:50] mhm... I only untared the rootfs to the second partition and put MLO, u-boot.bin and uImage onto the boot partition from http://ports.ubuntu.com/ubuntu-ports/dists/precise/main/installer-armhf/current/images/omap4/netboot/ [16:51] it worked with arch linux for arm, for example, so I guess. let me check though [16:51] 2.5A [16:51] no usb disk ? [16:51] nothing but the keyboard [16:52] then 2.5A should eb fine [16:52] *be [16:52] where did you get the required initrd ? [16:52] I didn't get one. do I need one? ooops [16:52] (or how did you produce it) [16:53] ah, well, i think the HID stuff is modules :) [16:53] I followed http://www.omappedia.com/wiki/OMAP_Ubuntu_Core and there was no mention of it [16:53] do you have an ubuntu PC around ? [16:54] I'm on xubuntu right now, installing xubuntu-desktop to the SD card, to see if xorg gets my keyboard [16:55] nah, wait [16:55] first install linux-omap4 [16:55] so you get the modules [16:56] mhm, you're too late, but I'll do that when xubuntu finishes :) [16:56] any reason why you started off so compicated ? [16:56] nothing will be in sync with the defaults of an ubuntu system that way [16:57] I read https://wiki.ubuntu.com/Core/InstallationExample where it says to install a kernel and the dependencies, but I couldn't find linux-image for arm so I left that out [16:57] so it's named linux-omap4? [16:57] yes [16:57] why do you actually use core ... its not really designed for this [16:58] I used ubuntu for arm but it was really slow [16:58] ?? [16:59] what? [16:59] I mean the UI [16:59] ubuntu for arm ... what do you mean [16:59] the normal ubuntu build for omap4 [16:59] well, still core is to build images on top of it [16:59] https://wiki.ubuntu.com/ARM/OMAP [17:00] all the required installer bits arent there [17:00] and core is for use as a chroot [17:00] you shouldnt try to roll a normel system based on it if you dont exactly knwo which bits and pieces need to be touched [17:00] for xubuntu desktop installs just use the server image [17:01] it offers you all installable tasks, ubuntu-dekstop or xubuntu-desktop are among them [17:01] sounds reasonable. well I'll see what I get now and if it fails again I'll try server [17:01] and you end up with a properly set up system that doesnt fall over all the time on package upgrades [17:02] core does? [17:02] it will, i,.e. the kernel relies on a properly configured bootloader setup [17:36] ogra_: will the server image offer a login prompt on hdmi or only serial? [17:37] it defaults to run the installer on serial, once installed it will show ttys on all consoles (so on hdmi too) [17:47] do I have to interact with the installer? [17:47] yes [17:48] you can rebuild the boot.scr on the first SD partition and drop the console= arg as well as the debian-installer/framebiffer option [17:49] that should give you the installer on HDMI by default [17:49] (in 12.10 we actually ship a second bootloader config that you can just cp in place if needed) [17:50] but 12.10 expects to install to a USB target device by default [18:16] ogra_: mhm that's bad, I don't have my serial cable with me atm :/ I booted it anyway and the screen got activated, I don't have any prompt though. sure there is an installer on there? it's already 630MB and it's named preinstalled, so... === rsalveti_ is now known as rsalveti === TRON is now known as TypoNAM === hrww is now known as hrw === jibel_ is now known as jibel === TRON is now known as TypoNAM === nashpa_ is now known as nashpa [20:08] sauerbraten: The installer is oem-config. It only prompts for localization (username/password, language, timezone, etc). It is not the full installer. [20:10] GrueMaster: ok, I had to let go though. I'm now using a minimal biuld from http://rcn-ee.net/deb/rootfs/precise/ which does it's job quite good until now [20:12] Ok. I can also help with the preinstalled server image if you want. The rcn-ee images are a bit customized, and asside from the apps, you won't get much help here. [20:21] GrueMaster: well I would have to have my serial cable which is about 150km away from where I am :) the repos should be the same as for the original ubuntu though, right? so I will eventually be able to get the graphics to work? [20:24] I was actually running ubuntu server before I think, but couldn't get X to work properly. I had a nifty little autoupdate config though which I plan on using again [20:28] sauerbraten: I can help you get around the serial console issue. It is a simple edit of the boot.scr file. [20:30] GrueMaster: oooh! well, it's kind of too late now. wanna tell me anyway so I can save a boot.script file in case I switch back to server? [20:31] Are you using a Linux PC or a Windows system? You will need to edit the boot.scr on the 1st partition. [20:37] Give me a second. looking up the alternate names for boot.scr. There is a way to edit it and save it as plain text without the u-boot crc header. [20:41] I actually had this documented on the ubuntu wiki at one point. Now it is all gone. sigh. [20:47] Ok, figured it out. Edit the boot.scr, remove the binary crap at the beginning, and replace the bootargs with "bootargs=vram=40M mem=456M@0x80000000 mem=512M@0xA0000000 root=/dev/mmcblk0p2 fixrtc quiet splash" [20:47] And that should work. [20:48] Save the file as preEnv.txt (delete boot.scr). === lan3y is now known as Laney === balloons_ is now known as balloons === micahg_ is now known as micahg [21:14] ok, wrote that down. thanks GrueMaster [21:14] No problem. I just wish it had stayed on the wiki. [21:21] so, after "apt-get install linux-omap4" rendered the system unusable again (no login prompt, no X, though that worked before) I'm now actually gonna use your method, GrueMaster :) [21:23] Ok. Let me know how it goes. [21:24] can you tell me what the bootargs mean? I've used so many different boot.src's now, would be good to know what I'm actually putting in there [21:25] These are the parameters that uboot passes to the kernel. They are the kernel boot arguments. [21:25] Just a different syntax than, say, grub or lilo. [21:27] but for example mem=456M@0x80000000 mem=512M@0xA0000000 look like it tells the kernel where to allocate memory or something? why twice? [21:27] also fixrtc? [21:29] The mem= lines map memory holes in system memory. These holes are used for the video decoder. If you aren't running the omap4 powervr drivers (i.e. stock FB) then you don't need these lines. [21:29] The fixrtc runs a script that essentially sets the time to the last filesystem write time. [21:29] Since there is no battery backed RTC in the system. [21:32] Quiet tells the kernel to quit yapping, and splash will run Plymouth splash screen. [21:33] Not sure on the vram, but it is omap specific. [21:33] I think it is for Video Ram. [21:34] to allocate shared memory as video memory. [21:34] ok, I will hopefully use the powervr driver :) when you said "remove that binary crap", you meant I can delete the whole file? cause there's nothing in there besides weird bytes [21:35] It should have had other stuff as well (like the bootargs). [21:36] doesn't, not in a standard text editor at least [21:36] What are you editing with? [21:36] leafpad [21:36] now checking with cat [21:36] ok cat shows more [21:36] Hmm. Never used that one. [21:36] I'll try nano [21:37] yes that works [21:37] The first 72 bytes are the CRC. [21:38] this is what's in there besides the CRC bytes http://pastie.org/4793694 [21:38] looks good? now edit the bootargs how you said? [21:39] actually, this is the whole bootargs line: bootargs vram=40M mem=456M@0x80000000 mem=512M@0xA0000000 root=/dev/mmcblk0p2 fixrtc quiet splash debian-installer/framebuffer=false console=ttyO2,115200n8 [21:39] yes, only just edit the way it looks in the boot.scr (i.e. remove the console= and the debian-installer stuff). [21:39] ok [21:40] Yea, so just remove everything after the splash. [21:40] and the CRC, cause that will be wrong now? [21:40] Right. [21:40] Are you on a linux system while editing? [21:41] yep [21:41] so, save that as boot.scr or preEnv.txt now? [21:41] Then you can re-add the crc with mkimage. [21:41] Save it as boot.script. [21:42] done [21:42] now mkimage -A arm -O linux -T script -C none -a 0 -e 0 -n "ubuntu server boot script" -d boot.script boot.scr ? [21:42] then type "mkimage -A arm -O linux -T script -C none -n boot.scr boot.script" [21:42] Or what you said. [21:43] yours gave me segfault o.O [21:43] (I had -n and -d confused). [21:43] oh ok [21:43] well, let's try this! [21:43] I haven't done this since April. [21:44] Now that you have boot.scr, copy it back to the first partition of the SD and boot in a panda. === heathkid|2 is now known as heathkid [21:45] I always had it on the first partition, was too lazy to even copy it away from there :) [21:45] That works too. [21:45] mhm, nothing happening yet, only both LEDs on [21:45] I used to do this (and many other edits) on a more than daily basis, so I wrote a script. [21:46] Hmmm. [21:46] It may be doing the first stage filesystem expansion. Give it about 5 minutes. [21:47] The preinstalled images will boot once to expand the rootfs to fill the SD, then reboot into oem-config. [21:47] And that stage is only visible without quiet & splash in the bootargs. [21:48] But iirc, one LED should shut off as soon as it loads the kernel. [21:49] yeah I remember that. we'll see. I also think I remember the SD LED to blink once or twice while it booted ./ [21:49] How did you write the image to the SD? [21:49] dd and bs=4M [21:49] it said 1M, but hey [21:50] ok [21:50] plus sudo sync, so that shoul have worked [21:51] Is this a precise image? img.gz? [21:51] yes. but wait, I just realized I left the empty preEnv.txt on there [21:51] maybe the bootloader is confused [21:51] could be. [21:52] I need to step out for ~15 minutes. biab. [21:56] mhm, I checked my boot.scr and boot.script again and it seems something got messed up (or I did) well, the boot.scr didn't contain anything but the CRC (probably from getting an empty preEnv.txt the first time?) and boot.script was completely erased. I'll copy the original boot.scr now and edit it again, this time making sure to not mess up === jimerickson is now known as Guest31158 [22:16] works now, I even see the resizing splash on HDMI [22:16] Cool. [22:17] Should be fairly straight-forward from here. === wgrant_ is now known as wgrant === furan is now known as Guest28811 === Lopi_ is now known as Lopi === dannf` is now known as dannf