/srv/irclogs.ubuntu.com/2012/08/08/#ubuntu-arm.txt

daneshello01:20
danesis it possible to install windows server on a pogoplug?01:20
danesis there any tutorial?01:20
danesI tried archlinux but I find it difficult as I am not familiar with the commands as I am with ubuntu01:21
infinitydanes: Why are you asking about Windows Server here? :P01:24
danessorry, I meant ubuntu server my bad01:24
infinityAnyhow, we (a) don't have kernels for them, and (b) a quick google search tells me they're v5 devices, we only support v7.01:25
infinityDebian's userspace would likely work for you.01:25
danes:(01:25
scientesdanes, debian has an installer and kernel01:25
infinity(But again, no kernels, so you'd have to use the one provided by the manufacturer)01:25
scientesinfinity, not true01:26
infinityscientes: Oh, Debian ships a kernel for them?  I stand corrected.01:26
scienteshttp://www.cyrius.com/debian/kirkwood/sheevaplug/01:26
infinityPogo is just a rebraded sheeva?01:26
scientesAFAIK01:26
infinityrebranded, even.01:26
scientesat least the original was01:26
infinityAhh, yeah.01:27
scientesexcept it doesn't neccicarily come with the JTAG board01:27
scientesfor the serial port01:27
infinityNo idea what the newer ones might be, but /proc/cpuinfo from a running system would be helpful.01:27
infinitydanes: So, yeah.  Debian/armel would be your best bet.01:27
danesthanks :)01:28
=== heathkid|2 is now known as heathkid
scientesdanes, see the bottom of this page: http://www.cyrius.com/debian/kirkwood/sheevaplug/plugs.html01:29
scientesit is the sheevaplug, but lacks the jtag board01:29
scientesso you can't safely change the kernel01:29
scienteseven if you can get root01:29
danesscientes, infinity thanks guys (y)01:29
daneswell, I have archlinux running on it01:29
scienteswell the only reason its listed as "unsupported" is if you dont have access to the serial port/u-boot01:30
bennhi,all. Does anybody know to know the version of armcc ?05:35
bennhow I can know the version of armcc ?05:35
scientesbenn, you mean gcc for arm?05:36
bennscientes: I want to know the version of armcc in realview05:37
bennscientes: but I cannot find any option like '--version' or '-V'05:37
scientesi don't know what armcc is05:38
bennand somebody ask me that whit is armcc v2.005:38
bennthe compiler provided by arm05:38
scientesjust use the linaro toolchain in ubuntu05:39
scientesgcc or gcc-arm-linux-gnueabihf05:39
bennWe are using linaro gnu toolchain. I asked this question just because somebody ask me that what is armcc v2.0 ?05:40
scientesi have no idea05:40
bennscientes: okay. thanks05:40
scientesclang is version 3.1, and gcc is version 4.6/4.705:42
aum__Hello everyone, i have installed Pre-Installed OMAP/OMAP4 ubuntu 12.04 on begalboard its working fine. Now i have a sensor driver which compiles fine with normal gcc but when i insert it says - invalid kernel module.06:36
aum__i know, i have to cross compile it, can anyone tell me how to cross compile it...06:37
aum__please do suggest me how to install that driver.06:41
aum__is there any other channel to discuss this kind of topic ?06:42
scientesaum_ goes so fast06:52
LetoThe2ndaum__: why crosscompile if you have ubuntu in place.. just compile on your beagle.07:03
scientesaum__, oh hes back.... you don't need to cross compile, and you have to use the same version of the kernel to compile against, otherwise the special string in the module wont match07:08
aum__LetoThe2nd, in that pricompiled image the is no arm specific compiler. normal gcc compiler compiles it though kernel rejects it to insert.07:16
LetoThe2ndaum__: apt-get build-essential. done.07:17
aum__scientes, can you please elaborate the process... should i compile it on begalboard itself or on another x86 desktop.?07:18
aum__LetoThe2nd, i do have normal x86 gcc compiler which is not arm specific compiler07:18
LetoThe2ndaum__: i doubt that *on* your beagleboard.07:18
LetoThe2ndaum__: just log into the beagle, do apt-get install build-essential, compile like you would on your desktop.07:19
aum__LetoThe2nd, thats what i did but the kernel rejects it to insert.07:20
LetoThe2ndthen the module does not fit the kernel and you have to go hunting why it doesn't, instead of talking about crosscompile magic.07:20
vaibhav_aum__ even i have same problem , i m trying to compile a kernel module for arm but compilation terminates with error "scripts/recordmcount: not fount"09:18
vaibhav_i have tried to generate recordmcount using "make ARCH=arm CROSSCOMPILE=arm-linux-gnueabi-  prepare " but it still not working09:21
=== doko_ is now known as doko
djszapiogra_: ping11:30
djszapido you think there is an available hardware acceleration (3D, gfx) for embedded boards like the raspberry pi in case Linux?11:31
=== zyga is now known as zyga-food
=== jkridner_ is now known as jkridner
=== zyga-food is now known as zyga
ogra_djszapi, no idea, we dont support RPi, ask in an RPi channel13:06
janimoogra_, are you having nightmares involving RPi already ?13:43
ogra_lol13:43
ogra_no, my current nightmares revolve more around flash-kernel currently13:43
janimoat one point you'll realize it's easier to bootstrap an RPi image than telling people it's unsupported :)13:43
ogra_haha13:44
janimowhat's flash-kernel doing that's nasty?13:44
janimoI finally went with modifying the precise version after talking to you last time. Works fine on the transformer13:44
janimoI may look at how the quantal version needs changing13:44
janimoogra_, where do you think default bootcfg files for abootimg (and maybe similar ones for other bootloader tools) should be provided? Would flash-kernel itself not be a good container for them to have all board specifics in one package?13:45
ogra_f-k 3.0 doesnt use any input config files anymore13:46
ogra_you have to use abootimg directly on the boot partition to change anything13:46
ogra_it doesnt currently support that for any bootloader btw13:47
ogra_fo u-boot where we just switched to uEnv.txt and preEnv.txt i actually plan to store the cmdline in /etc/default/flash-kernel ... if you think we need something like that for abootimg too, we can indeed add it13:48
janimoogra_, we need something like that for abootimg right? In case the user would like to change a kernel parameter (console, rootfs) they should be able to do it just like with grub13:55
ogra_well, we could also just document how to do it with abootimg13:55
janimoogra_, also something more generic than 'copy to this device' may be needed. On the transformer you actually copy the bootimg to a certain offset on the mmc13:55
ogra_i think thats the debian approach13:56
janimoas the boot partition is hidden13:56
ogra_but yeah, i would pretty much like to have a generic place13:56
janimoogra_, so a kernel update would extract the bootimg and update the initrd and zimage in it and reuse the bootimg?13:56
ogra_thats what it does on ac100 currently13:56
janimothe bootimg.conf I mean13:56
ogra_the cmdline is set at install time and f-k doesnt touch it13:57
janimoI thought I saw it use /boot/bootimg.conf for the ac10013:57
janimoon precise13:57
ogra_with the pre-3.0 f-k13:57
ogra_3.0 completely changed13:57
ogra_it doesnt generate boot.scr either anymore13:57
ogra_only updates uImage uInitrd13:58
janimoany rationale for not supporting this,is it by design  or just new codebase and noone hit this yet?13:58
ogra_i think that was by design ...13:58
ogra_which doenst mean we cant improve it ;)13:58
ogra_as i said, for u-boot i plan to go with /etc/default/flash-kernel13:58
janimowell I wonder what the rationale was, it may be something I did not think of13:59
ogra_working on this over here atm13:59
ogra_janimo, ask lool13:59
ogra_he designed it that way13:59
janimoif we can freely diverge from debian it may not be much benefit for them rearchitecting it carefully :)13:59
ogra_with the new uEnv/preEnv.txt stup in u-boot its just a cat $cmdline >$preEnv.txt  ... i would like to have a similar simplicity in abootimg14:00
ogra_well, we already diverted 17 versions from debian14:00
ogra_and beyond things like highbank/armada support, i dont expect them to take many of tehse changes14:01
loologra_, janimo: Essentially the idea was to live with static boot scripts as much as possible14:04
loolgenerally flash-kernel lacks a range of functions for setting the cmdline, multiple kernels, and allowing the end-user to change these at boot time14:05
janimolool, to avoid bricking and support issues?14:05
looljanimo: generally keeping it simple stupid, yes14:05
janimoif defaults are simple that should work no? While allowing those who need it override the actual boot files14:05
looljanimo: It's to avoid multiple code pathes14:06
loolmany combinations of options14:06
loolalso, handling of the cmdline is quite complex to do in a generic way14:06
loolIn Ubuntu, we only face U-Boot, but then some platforms might be using other bootloaders; then do you express the fact that some config items don't work on certain platforms?14:07
janimoI am not aware of the wider set of scenarios flash-kernel is used in. On the ac100/abootimg case I do not see multiple codepaths, just a way of telling what goes into the image - every image. With a sane default and the option of editing the file thus overriding it14:07
loolhow do you deal with cmdline that might be set in U-Boot environment14:07
ogra_well, our discussion revolves around abootimg :)14:07
janimoreally like grub.cfg14:07
loolthen there's also what do you offer in terms of cmdline: override, append, prepend, everything?14:07
loolsome bootloaders hardcode root= in their environment14:07
ogra_same thing as grub does14:08
janimooverride would be the most commonly used I'd say14:08
looljanimo: Yup abootimg is fairly clean there14:08
ogra_ /etc/default/flash-kernel carries a single var that has the cmdline14:08
janimoit is much simpler to use than uboot14:08
loolthere's also a default kernel cmdline in the kernel itself14:08
robherlool, ogra_: in case you weren't aware u-boot supports syslinux menus now14:08
ogra_robher, nice !14:09
loolrobher: Awesome, I've followed the email thread where missing features were discussed as well14:09
loolrobher: and the bug14:09
ogra_but not a level of complexity i want to play with right now14:09
loolI lack a bit of time to discuss this here14:09
loolbut I'd like to discuss a new project with you folks14:09
loolit's a bit early to discuss it though14:09
janimolool, np. thanks for your input anyway14:09
loolLinaro is working on a GRUB port to U-Boot14:10
janimolooks like for abootimg we could do what ogra suggests without complicating the code14:10
loolThis would not only change the game for the flash-kernel flexibility issues I mentioned earlier14:10
lool(basically flash-kernel would just be used to write a grub payload, then the usual grub configuration interface would apply)14:10
loolit would also change the game around the syslinux/pxelinux compatibility problems14:11
robherbugs and lacking features can be fixed...14:11
loolInstead of doing pxelinux "emulation", we'd be using grub's netboot support and making sure that e.g. cobbler generates grub config giles14:11
loolrobher: Yes, but consider that we'll be using grub on top of uefi14:11
looland that uefi's PXE support (or basically any plain PXE implementation) isn't enough for booting a kernel with an initrd and cmdline etc.14:12
loolOk; now that I've launched this grenade, I'll go prepare a meeting   :-)14:13
loolrobher: I still think that it's great that we have this pxelinux "emulation" right now14:13
loolrobher: it's definitely a great way of delivering the feature for U-Boot platforms14:13
robherso what's the pxelinux solution in an ARM UEFI world?14:14
loolrobher: above, I'm proposing not to use pxelinux14:15
loolrobher: but rather grub's script/menu config format, and implement support for that in e.g. cobbler or other places generating pxelinux ocnfigs14:16
loolyour DHCP server would server a pre-built grub for u-boot or grub for uefi ARM binary that would optionally bundle a config (or the config can be read from the network), the config would show a menu allowing to chose between multiple kenrel + initrd images loaded from the network14:16
lool(I've also looked at the syslinux source code to check how much effort it would be to port the actual code to ARM and it would be crazy -- 12 kLOC of x86 assembly)14:17
lool(reimplementing the support for the format was definitely the right thing for a pragmatic U-Boot implementation)14:18
robherdoes grub do tftp/http loading?14:18
loolrobher: not http14:18
loolAnother option is to write another pxelinux/syslinux config parser as an UEFI application and/or as a GRUB command14:19
loolbut since GRUB EFI is likely to be what distros use on installed systems anyway and since GRUB has a config / script / menu language already, I personally it is a bit more natural to just generate GRUB configs14:20
loolneed to run, bbl14:20
lilsteviespeaking of grub-efi is that working with uefi on arm yet?14:44
janimoogra_, so regarding abootimg. If you add seek and bs args to the dd invocation it will be reusalbe on the tf101 too with non-zero seek offset :)14:59
ogra_janimo, dd invocation ?15:03
ogra_there is no dd anymore15:03
ogra_just a single abootimg call15:03
janimoogra_, hmm. Not good for the tf then.15:03
janimoOh yes, I remember you directly pass the block to abootimg15:03
janimoinstead of using a tmpfile as in precise15:03
ogra_i dont :)15:03
ogra_my code used dd and created an image first ;)15:04
janimoyes15:04
lilsteviejanimo, actually there is still a way of using it15:04
ogra_thats all debians reworking that dropped this15:04
janimothat woudl have worked for the tf15:04
janimolilstevie, which one?15:04
lilsteviejanimo, there is a hacked up driver which exposes boot/recovery15:04
janimolilstevie, ah indeed you mentioned that, and I forgot15:04
lilsteviebut with something like syslinux or grub on u-boot I could see that being irrelevant anyway15:05
janimothat would be good. Although maybe risky to expose those, especially recovery15:05
lilsteviejust repartition with nvflash for initial install15:05
janimolilstevie, syslinux or grub on uboot are way in the future I guess15:05
lilsteviejanimo, we currently expose them in android on the tf201 in cm15:05
janimocertainly not on existing hardware15:05
ogra_waaaay in the future15:05
lilsteviehm15:06
lilsteviedidn't I just read that someone cobbled syslinux menu parsing into u-boot15:06
ogra_but you would need syslinux first :)15:07
lilstevieah15:07
lilstevieok I missed that, I thought it handled that part15:07
lilsteviethat could be nasty15:07
lilsteviehow is grub looking with uefi on arm? same deal?15:08
ogra_janimo, anyway, my current task is /etc/default, if you want changes to abootimg handling, i'll happily take patches (or you just upload them yourself :) )15:08
janimolilstevie, having the code that exposes those extra partitions would be nice. Although it may confuse existing tools that expect certain partition naming order15:08
ogra_as long as you dont break ac100 handling, feel free to change it over15:08
lilsteviejanimo, it tacks them to the end15:09
lilstevieso no, it wouldn't15:09
janimoogra_, sure. I was saying this so you can take it into account now. If ac100 still used dd, we would not need an extra snippet for transformer, as it would be just different parameters to the same method15:09
janimolilstevie, good15:09
lilsteviejanimo, but more importantly tf101 gets nvflashed, which it is easy to just move the partitions to the end, rather than using hacked up drivers15:10
janimomaybe the kernel solution is better15:10
ogra_janimo, right, i dont mind either way15:10
ogra_something like tegrapart would surely be betterm yeah15:10
janimolilstevie, not all tf can be nvflashed. Mine which is a tf101g cannot15:10
lilsteviejanimo, well it can15:10
lilsteviejust nobody has put the effort in15:10
janimowell, cannot at the moment, which is what I care about :)15:11
* lilstevie is still waiting for someone to try and figure out how the nvflash stuff on the tf201 works and port it to other devices15:11
janimolilstevie, so that patch is like ac100's tegrapart?15:18
lilsteviejanimo, not exactly15:23
ogra_why15:23
lilstevieit hooks into the gpt driver15:23
Limer_Hello, while trying to boot ubuntu-server on my pandaboard for the first time i get a blank screen. I can switch to tty2 and get a password prompt, but i don't know the password as it has not been set yet. I would really appreciate some pointers as to what might be wrong.18:49
=== Limer_ is now known as Limer
GrueMasterLimer: The server images need to run through the install setup first, which defaults to the serial console.19:03
GrueMasterThat will set your locale, network, system name, and user info.19:03
LimerIs there a way to reach the setup without the need of a serial cable?19:07
infinityLimer: If you remove the console= bits from the kernel command line, it'll stop trying to do it on serial.19:22
=== Quintasan_ is now known as Quintasan
LimerBut in order to remove those i need to make a new image? It is unfortunate that the normal image isn't installable without a serial cable.19:52
Quintasaninfinity: Noob question, bought the damn serial cable, can't connect to the iMX though. First some message with "Broken stream" flashes and then I get "Could not find PTY". I used sudo screen /dev/ttyUSB0 11520019:55
infinityQuintasan: And then screen exits?19:56
QuintasanYes19:56
infinityQuintasan: If so, that's a problem with the cable/driver/host machine, not with the board.19:56
infinityQuintasan: (plugging in a USB/RS-232 dongle and firing up screen on the device will "work" regardless of if you attach it to something on the other end)19:56
Quintasanhurr19:57
Quintasaninfinity: http://wklej.org/id/80683719:57
infinityOr permissions.19:57
QuintasanI plugged it in and it got discovered19:57
QuintasanFirst it didn't want to eunumerate for some reason19:57
infinityPermissions will/can also be an issue.  We don't add the default user to the "dialout" group, which is required to access that device.19:58
infinity"sudo adduser $me dialout" and log out/in, should that seem to be an issue for you.19:58
QuintasanYeah19:59
QuintasanNot in dialout19:59
Quintasanuhh20:06
Quintasaninfinity: http://wklej.org/id/80685520:06
QuintasanAny idea why do I get that?20:07
QuintasanIt happens everytime I copy big stuff to sdcards20:07
Quintasanlike images20:07
* Quintasan should probably ask in #ubuntu-kernel20:07
infinityYour SD cards suck.  Or your reader.  Or it's a kernel bug.20:08
infinityPick one or more of the above, season to taste.20:08
LimerTime to give up on this and buy a serial-cable tomorrow ;)20:09
Quintasaninfinity: Oh, ok. It's class 4 SD card20:09
scientesi've had really bad luck with kingston brand sd20:10
scientesQuintasan, yeah you need class 1020:10
infinityIf you're going to rewritre frequently, I swear by Lexar (or, in fact, anything targetted at photography professionals).20:10
infinityIf you're writing it once, pretty much any junk will do.20:10
QuintasanWill sudo screen /dev/ttyUSB0 115200 suffice to connect or I need to invoke some other black magic?20:11
Quintasanbah20:11
infinityQuintasan: That'll do.  No need for the sudo if you're in dialout, mind you.20:11
QuintasanStil the same error20:11
QuintasanSo my cable is crap20:12
QuintasanHa ha,20:12
QuintasanNow it won't eunumerate20:12
Quintasaninfinity: THE WHOLE ARM BUSINESS IS IN CONSPIRACY AGAINST ME20:17
* Quintasan panics20:17
LimerI feel the same way right now ;)20:17
QuintasanLimer: What, another proud owner of iMX53?20:18
QuintasanOr something worse?20:18
LimerI am using a pandaboard, so things should work. However they don't.20:19
QuintasanLogic.20:19
infinityLimer: Your issue is just that the server image defaults to serial out, as we said.20:19
QuintasanARM = Automatically Rebooting Machine.20:19
infinityLimer: You can change the boot.scr and fix that.20:19
Limerif i change anything in boot.scr it refuses to boot at all20:20
infinityLimer: Well, yes.  boot.scr has a magic binary header on it.20:20
LimerWhat is this black magic? How can i make a boot.scr that works?20:21
infinityLimer: Strip off the binary header, edit the text to be what you need, save that as, say, boot.script, then:20:21
infinitymkimage -A arm -T script -C none -n "Boot Image" -d boot.script boot.scr20:21
infinitymkimage is in the u-boot-tools package.20:22
Limerwow, thanks a lot!20:31
biker_ratWhy does there seem to be a limited number of video modes availible in the linux images for my MK802?21:47

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