=== raxetul is now known as Guest81049 === calculu5 is now known as calculus === calculu5 is now known as calculus [05:41] hello! [05:42] I was wondering if there was a guide somewhere which can lead me through obtaining Ubuntu/linux sources and compiling it into a boot.img? [05:42] and a bootable drive. [05:42] For what hardware? [05:42] I am using a blaze-tabet based piece of equipment. [05:43] Texas Instruments OMAP 4430, blaze tablet. [05:43] There are prebuilt omap4 images [05:43] It's a production version though and I have to recompile sources. [05:43] Why? [05:43] because the drivers are different. [05:44] Uh, so just compile the drivers [05:45] well, there's a caviet... it's a device based on blaze, it's actually a Nook Tablet... I located a security hole and it will only work for boot.img files. I need to use my own kernel on it. [05:45] so, I'd like to find a guide on compiling a kernel from scratch and making a boot.img. [05:46] I don't know what you mean by boot.img [05:46] boot.img is Android standard.. basically it has to authenticate with the bootloader before it can be loaded. [05:46] OK, a blobtools boot.img [05:46] Er, I mean abootimg [05:46] kinda. [05:47] mkbootimg [05:47] The tool I have seen that builds those is called "abootimg", apt-get install it [05:47] I need some sort of guide though. [05:48] ah ha! abootimg is a good tool [05:48] To build the kernel, get an environment that can compile for your target architecture, then do "make zImage" or "make deb-pkg" to taste [05:48] It would be a good idea to start with the stock ubuntu kernel and its omap4 .config [05:48] twb, and abootimg handles zImage files? [05:48] AdamOutler: I don't remember offhand [05:48] ok, twb, what is a uImage? [05:49] Different flavour of zImage, it's for u-boot [05:49] If you are using the android bootloader (which takes abootimg boot.img files), then you don't want uImage. [05:50] I have uImage and uInitrd.. they need to get into a boot img... I found a program that converts uImage to zImage, and now I need to convert uInitrd to initrd I guess. [05:50] You probably want to prepare an Ubuntu rootfs, generate a kernel .deb, install the latter into the former, then run abootimg on the resulting kernel and ramdisk from /boot [05:50] AdamOutler: if you already have a uImage why are you asking about kernel compilation? [05:50] twb. you're opening my eyes. [05:51] :) [05:51] twb.. I've been compiling non-stop for a few days, I have several test images to work with in various formats. [05:51] What hardware are you compiling on? [05:51] stupid boot.img is tearing me up. [05:52] twb, I'm cross-compiling from a i5 quad core for ARM arch [05:52] That should compile in deciminutes, not days [05:52] twb, it's operator error... this is why I asked for a guide when I came in ;) [05:52] Try turning off the debugging symbols [05:53] AdamOutler: it would be a good idea for you to get comfortable building normal x86 kernels first [05:53] twb I am comfortable building 86_64 [05:53] AdamOutler: that way you will have a solid foundation when you try to get a handle on the arm randomness [05:54] twb, I've been operating several linux boxes in my home for years. I've compiled several for my media center alone. [05:55] I'd just like some knoledge about all these formats and everything.. On my Samsung, I could just flash a zImage to my device and I was done.. This boot.img format is crazy. [05:55] IIUC samsungs use u-boot and are generally on the "less stupid" side of ARM'd spectrum of idiocy [05:55] zImage has Ramdisk+kernel. For some reason Boot.img has zImage + ramdisk, + android headers? [05:56] zImage does not normally include the ramdisk [05:56] The kernel has support for tacking a ramdisk onto itself -- this should work in both cases [05:56] Normally the ramdisk is a separate file. [05:57] ok, and what is the point of a ramdisk when the files are already on the root of the storage medium? [05:57] To generate a boot.img using abootimg, you need a kernel, a ramdisk (optional), and a config file that basically consists of the options passed at the boot: prompt [05:57] AdamOutler: the primary reason to use a ramdisk, is so you can build a small portable kernel and then include device-specific drivers to *get to* the root fliesystem, in the ramdisk [05:57] That is how e.g. Ubuntu x86 servers all share the same kernel despite having different SATA controllers and video cards [05:58] You can also put various other clever code in the ramdisk, e.g. this is how live CDs are made to look writable [05:59] There is probably a paper somewhere that describes the linux boot process in detail; I don't have one handy to recommend. [05:59] I think this is what I need. [05:59] the paper describing the Uboot/Linux boot process. I really need to sort out these formats. [06:00] you're making me much smarter though twb. I appreciate it. [06:00] may I ask what you do for a living? [06:01] http://prisonpc.com/ [06:06] thanks for your help. [06:09] twb.. one more thing before I go.. On the pre-compiled version, the touchscreen is 90 degrees off, and the wifi is totally inop. Any suggestions before I go trying to mix and match and recompile a few more things? [06:09] https://plus.google.com/u/0/104711040110222472212/posts [06:09] xrandr may help the latter if you are using X [06:09] Er, the former [06:09] wifi will probably be a missing firmware blob or soemthing [06:10] http://openbsd.org/lyrics.html#39 [06:13] You'll need to find someone who knows about your hw [06:14] ok.. I found out about the xrandr thing, but I'm having a problem getting getty to work. I have a UART console hooked up, but I can't get shell access no matter what I do. [06:14] I think it may have to do with the kernel being compiled with ttyS2 instead of ttyO2 for the default? [06:14] I'm monitoring on ttyO2 [06:14] Never heard of ttyO2 [06:15] I've only seen ttyACM0 or so, plus the usual tty1 and ttyS0 [06:15] /dev/ttyO2 is Texas Instrument's serial administration console. [06:15] ok [06:15] On samsung devices it's /dev/ttySAC2 [06:15] Well, you can just pass console=/dev/ttyO2 [06:16] On the boot: prompt [06:16] I can make this device and get output from it.. I just can't seem to send any input. this would solve about 99% of my problems. [06:16] Also in /etc/init/ there is a ttyN.conf you need to make one for O2 [06:16] I can't pass arguments. [06:16] What output are you seeing? The linux kernel boot messages? A tty login prompt? Both? [06:18] I'm only getting kernel boot messages. I have tried several things including creating a S80StartConsole in /etc/RCS.d, creating my device on the /dev/ folder with the proper chmod params, and creating a /etc/init/ttyO2.conf [06:19] you probably got ttyO2.conf wrong, pastebin it [06:20] http://pastebin.ubuntu.com/805911/ [06:20] Assuming the baud rate is right, looks OK to me. [06:20] I've tried with those params and a -L instead of 8n [06:20] Oh, and "rc RUNLEVEL=..." looks wrong. [06:21] Never mind, it looks like that's the style used for other getty .conf [06:21] I'm used to "start on runlevel [2345]" and "stop on runlevel [^2345]" [06:21] I'm used to "start on runlevel [2345]" and "stop on runlevel [!2345]" (braino) [06:22] I'll try that. [06:22] next time. [06:23] my s80StartConsole contains "start ttyO2" and a bunch of other things. I have determined it is run as root so I have a way to make things happen, I just don't know what needs to happen. === Jack87|Away is now known as Jack87 === chrisccoulson_ is now known as chrisccoulson [12:30] hi [12:31] hmm is it possoible to play on a pandaboard any mp4 video? is this supported? [12:32] S0NiC: just use mplayer? [12:33] only supported in totem [12:33] ogra_: depends on the desired playback speed ;) [12:34] mplayer would only try to do it in sw ... all gstreamer based players can use the hw acceleration of the panda (if you have the codecs installed= [12:34] ogra_: wich codecs would that be? [12:34] LetoThe2nd, indeed, i should have said that mplayer is great for turning mp4 movies into slideshows instead :) [12:35] S0NiC, just install the ubuntu-omap4-extras or the ubuntu-omap4-multimedia packages after you enabled the PPA [12:35] S0NiC: maybe have a good look at http://rsalveti.wordpress.com/2012/01/06/hw-video-decode-and-xbmc-ubuntu-linaro/ [12:35] ogra_: cool use case that is ;) [12:35] (they get installed by default after you clicked the TI desktop item on the images) [12:36] LetoThe2nd, well, ubuntu-tv extensively makes use of xbmc ;) [12:36] thx [12:36] ogra_: havent gotten round to try it yet :/ [12:36] hmm wich kind of video works out of the box? [12:36] *codec [12:39] does anybody know? [12:40] S0NiC: any video works out of the box, but none with hw accel. thats why the ppa is there. [12:40] LetoThe2nd: ok that means i have to enable hw acceleration. what means ppa in this case? [12:41] S0NiC: basically http://omappedia.org/wiki/PandaBoard_Ubuntu_PPA, no idea how uptodate the instructions are. [12:43] the codecs which are h/w accelerated on OMAP4 are MPEG2, MPEG4, H263, H264, VC1 (WMV) [12:43] LetoThe2nd: but i think your link http://rsalveti.wordpress.com/2012/01/06/hw-video-decode-and-xbmc-ubuntu-linaro/ is good. but i have to create a new image... [12:43] just start with the default 11.10, upgrade it, reboot, and install the TI adds on. [12:43] that should be a good start. [12:44] ndec: mom [12:45] ndec: ok, iam using 10.10 at the moment... [12:45] ouch... [12:45] urgh [12:45] any good reason to stick to 10.10? [12:45] "ancient technologies and wisdom of the olde"? [12:46] ndec: no [12:46] ok, dann i update, [12:46] 11.10 has better OMAP support, and more codecs. and is maintained in case you face an issue [12:46] what is ment by the "ti adds" [12:46] ? [12:46] hum, my advice is to restart from scratch, don't dist-upgrade a 10.10 system into 11.10. [12:46] S0NiC: the ti addons for hw accel [12:47] once you install 11.10 image, there will be an icon to install the TI 'addons' on the desktop. just click [12:47] i get them with apt-get....? [12:47] yes you can too. [12:47] ndec: ah cool [12:47] S0NiC: have you actuelly read the links? [12:47] thanks guys [12:47] LetoThe2nd: only your link [12:47] now i have a lot to do ;D [12:47] but make sure that you run apt-get update & apt-get dist-upgrade before you install the TI stuff. some people have reported that there are issues otherwise [12:48] S0NiC: i doubt it, because then you would know how to install them ;) [12:50] one could also aim directly for the tv release that ricardo pointed to... [12:51] ok [12:51] thx [12:52] ok i have to leave cya later... [12:52] thx bye [12:54] side note: his original question was in #ubuntu-de why 'apt-cache search vlc' did not yield any results :) [12:54] oh, it should [12:55] ogra_: on ancient 10.10, and a user that doesn't know how to handle a ppa? ;) [12:55] * ogra_ gets more than a terminal page [12:55] doesnt matter, vlc is in universe, he should even have seen it on 10.10 [12:56] i guess he didn't enable universe [12:56] yeah, smells like [12:56] and 10.10 had a bug with the default sources.list iirc [12:56] which we fixed in an update [12:56] smells like nirvana... erm, teen spirit ;) [12:56] hehe [12:57] * ogra_ had totally forgotten ubuntu-de ... i used to be resident there ... but i find IRC in german weird and have probs to not write half my sentences in english [12:58] ogra_: the traffic there receded quite a bit over the last 3 or 4 years, after we enforced more and more to stay on topic, and in the meantime rejected to support weird offshoots/derivates/whatevers ;) [12:59] yeah, i remember that kind of discuaaions [12:59] ogra_: you wouldn't believe how many people come there bit***ing around when you reject to support mint or debian. [12:59] oh, i would :) i see the same bitching in bugs ... [13:00] ogra_: hehe [13:00] rarely debian, but often mint users freak out that we dont support their ubiquity bugs for the hacked up mint installer [13:00] ogra_: it has emerged that when the slightest doubts arise we ask for lsb_release -a and uname -a. [13:00] and mint does serious bad things when customizing the distro [13:01] ogra_: yeah, thats why we reject to support it. [13:01] like disabling security updates for things like X11, kernel, dbus etc [13:01] (or bootloaders) [13:02] s/security updates/all updates/ [13:02] ogra_: hehe [13:03] lets be glad they don't have an arm port yet. [16:03] heartbeat led trigger is not in kernel in 3.2.0/omap4 [16:13] hrw: config issue I believE? [16:18] yes - it is a module now [16:18] I was surprised when one of my pandas stopped blinking [16:20] It's a module? figures. Hard to track when I have 4 pandas in a tower. [16:21] ledtrig-heartbeat === gildean_ is now known as gildean [17:37] re guys [17:37] so i installed ubuntu 11.10 and doing an apt-get update /dist upgrade [17:37] but there is no icon with Ti stuff... i only have installOAMP4addons... [17:37] is taht the same=? [17:38] yes [17:41] ndec: thx [18:27] hello what's the arm ports repo for precise [18:31] how can I point to the repos, I want to use live-build [18:32] deb http://ports.ubuntu.com/ubuntu-ports precise main [18:34] thank you. [18:58] how do you add eabi support? === zumbi is now known as Guest26943 [20:19] HI! [20:20] I've sucessfully created a boot.img that apparently works, however I am running into an error. "Unrecognized/unsupported machine ID".. [20:20] Is there a way to change this in my kernel? [20:20] I'm using precompiled binaries [20:20] Here is the pastebin: http://pastebin.com/7cBB05KF === phh_ is now known as phh [21:20] sorry I cannot help you on this as I'm new to ARM ports. But, I'm trying to piggy back on you. [21:20] How did you create the boot.img... [21:20] any notes or references...I'm having a board with ARMv7 [21:21] trying to build a custom image for it... [21:25] the machine ID refers to the ID that the first/second stage bootloader passes to the kernel. the kernel uses this ID to decide which board file to use. [21:25] if the kernel doesn't know about the ID, it will not boot. so make sure kernel and bootloader (u-boot in most cases) match. [22:16] the machine ID refers to the ID that the first/second stage bootloader passes to the kernel. the kernel uses this ID to decide which board file to use. [22:16] if the kernel doesn't know about the ID, it will not boot. so make sure kernel and bootloader (u-boot in most cases) match. [22:16] AdamOutler: ^^^^^^^^^^ [22:17] oh [22:17] hi [22:17] concerning your question from some time ago. [22:17] ok... so can I spoof this from U-Boot prompt somehow? [22:17] hopefully not. [22:18] LetoThe2nd, this is a Blaze Tablet based device. [22:18] LetoThe2nd, I'm pretty sure I should be able to get something from the device by spoofing the id [22:19] AdamOutler: its three parts altogether 1) get/register the machine ID at arm.linux.co.uk 2) make sure the bootloader passes this ID 3) make sure the kernel contains a board support file bound to this id. [22:51] LetoThe2nd, the link you provided is bad. [22:51] AdamOutler: the link was just from memory please google the correct site. === plars_ is now known as plars [23:12] hrw: it should be built-in to work during boot I [23:12] something to ping ppisati to change [23:23] register what? [23:39] is it possible to start a dovel-kernel with qemu? [23:43] mythos: A which kernel? I think qemu wants a versatile kernel only. [23:45] yes, versatile runs perfectly. are you sure, that those dove-kernels don't run with qemu - i speak from those in maverick [23:45] 10.10 [23:45] and btw thanks for your response, GrueMaster =) [23:45] The dove kernels are specifically for Marvell hardware. [23:46] Same as the omap4 kernels are for TI omap4 processors. [23:46] hmm... ok, i see [23:46] good to know why qemu pretends to stay black =) [23:46] And the Marvell kernel for Maverick was a bit of a mess anyways. It was the same as the Lucid kernel, just built with the Maverick tool chain. [23:47] i have a hp device here, which uses a maverick-debootstrab [23:48] it has marvell-hardware in it, so that fits [23:48] Is it using a marvel soc? [23:48] Cool. [23:48] * NCommander screams in horror [23:49] heh [23:49] mythos: is that a thinclient by any chance? [23:49] NCommander, yes [23:49] a hp 5335z [23:49] mythos: .... [23:49] i broke yesterday one [23:50] was not able to boot up anymore, after i zeroed /dev/sda [23:50] ^^" [23:51] Yea, that would be a bad thing. [23:52] mythos: I loathe to say this, but that thing is based around a Marvell Dove board. If they took my patches wholesale, it *might* boot with an Ubuntu maverick dove image off USB [23:52] no, it should boot up from a usb-device. but it simply did not [23:52] mythos: open it up and find the serial header to get uboot access :-) [23:52] mythos: what image did you try? [23:53] NCommander, i only messed around with the the image, which is downloadable from hp [23:53] * GrueMaster watches NCommander's version of the crying game, laughing hysterically. [23:53] mythos: http://cdimage.ubuntu.com/ubuntu-netbook/ports/releases/maverick/release/ [23:54] try one of the dove images, and see if it boots [23:54] instructions are ... somewhere [23:54] ^- GrueMaster [23:55] NCommander, i'm going to try that =) [23:55] mythos: if it works, please don't call me ;.; [23:55] * NCommander horrorifically flashs back to China [23:55] don't? [23:56] mythos: I was assigned to Antartica^W China for a month to do that image [23:56] ok, i won't [23:56] I'm still scared from the experience [23:56] omg ^^" [23:56] mythos: (actually, feel free to ping me, but what support I can give is limited) [23:57] my plan was to use the hp-image as skeleton [23:57] mythos: alternatively, you might need to open it up, pop the HDD, and then do some creative repartitioning [23:57] hdd? there is no hdd inside them ^^" [23:57] what compelled you to zero sda though? [23:58] oh good, they fixed that 'bug' [23:58] omg xD [23:59] mythos: so depending on how they smacked uboot, the thing will either try and load an image off USB, or try and TFTP a blob off somewhere (you'll probably need to use ethereal to see where its trying to get a blob) [23:59] NCommander: why did you need to go to .cn to make an ISO9660? [23:59] even though it is limited, that offer is very nice, NCommander =) [23:59] ethereal is called wireshark these days btw