=== htns_ is now known as htns | ||
=== asac_ is now known as asac | ||
Sp0tter | can anyone recommend a portable arm-based device for ubuntu that is under $200 and has wifi/touchscreen? I've seen a lot of stuff from different comapnies in hong kong, most of them look fairly shady :) | 06:39 |
---|---|---|
=== lilstevie|ZNC is now known as lilstevie | ||
tmzt_g2root | is there a solution for the pixmap auxv detection through /proc under qemu? | 07:27 |
tmzt_g2root | qemu-arm | 07:27 |
=== hrw|gone is now known as hrw | ||
hrw | morning | 08:25 |
lool | tmzt_g2root: There are ways to override what ld.so uses, but not auxv in general | 08:53 |
tmzt_g2root | there's some proc support in qemu-arm though? | 08:54 |
tmzt_g2root | I can probably just add what I need, I'm trying to track down a problem with X and need to see if hardware is a factor | 08:55 |
tmzt_g2root | well, it's not ld.so, it's pixman reading from auxv itself | 08:55 |
tmzt_g2root | pixman/pixman-cpu.c: fd = open ("/proc/self/auxv", O_RDONLY); | 08:56 |
tmzt_g2root | pixman/pixman-cpu.c: while (read (fd, &aux, sizeof(Elf32_auxv_t)) == sizeof(E | 08:56 |
lool | tmzt_g2root: Yes, qemu can't help with that | 09:14 |
lool | tmzt_g2root: There isn't any proc emulation in qemu | 09:14 |
lool | tmzt_g2root: You could not mount /proc and create a real directory there instead ;) | 09:15 |
tmzt_g2root | so, return true? :) | 09:15 |
lool | tmzt_g2root: You need qemu machine emulation | 09:15 |
ogra | well, qemu-system brings proc with it | 09:15 |
lool | tmzt_g2root: Or use some env var to override the pixman detection | 09:15 |
tmzt_g2root | ogra: qemu-system brings a kernel with it | 09:15 |
ogra | sure | 09:15 |
tmzt_g2root | lool: it doesn't seem to have an override | 09:15 |
tmzt_g2root | was starting to like chroot with qemu-arm, but a lot of things don't work | 09:16 |
ogra | nothing that requires real or fully emulated hardware, sure | 09:17 |
ogra | its good for rolling images from binaries or to test binaries | 09:17 |
ogra | if you have anything that depends on real HW its not your solution | 09:18 |
tmzt_g2root | hmm, I think it implements the instructions though, depending on the -M setting, it just can't detect they're available | 09:19 |
tmzt_g2root | I'll patch it | 09:19 |
tmzt_g2root | pixman, not qemu | 09:19 |
tmzt_g2root | no sens in slowing down every read() for one corner case | 09:19 |
tmzt_g2root | somebody should learn to use libhwcap :) | 09:19 |
ogra | file a bug upstream ;) | 09:20 |
tmzt_g2root | hmm, what's a good kernel for basic arm stuff on qemu-system-arm? | 09:21 |
tmzt_g2root | I'm tired of versatile | 09:21 |
tmzt_g2root | as far as armv7 | 09:21 |
ogra | versatile is the only one with the qemu solutionn we have in the archive | 09:22 |
ogra | there are other qemu builds we dont ship i.e. qemu-maemo7-omap | 09:23 |
ogra | err | 09:23 |
ogra | *qemu-maemo/-omap | 09:23 |
=== lilstevie is now known as lilstevie|ZNC | ||
tmzt_g2root | okay, so versatilepb works with an armv7 cpu? | 09:34 |
tmzt_g2root | what kernel do you recommend for that, I only have the old debian one | 09:34 |
lool | tmzt_g2root: We patch the kernel build to build versatile with armv7, but the real board doesn't have a v7 CPU | 09:35 |
lool | tmzt_g2root: There's the Ubuntu versatile one | 09:35 |
tmzt_g2root | okay, I've got qemu-maemo checked out, I'll look at ubuntu | 09:36 |
lool | tmzt_g2root: | 09:36 |
lool | http://ports.ubuntu.com/ubuntu-ports/dists/maverick/main/installer-armel/current/images/versatile/netboot/ | 09:36 |
tmzt_g2root | okay, thanks | 09:36 |
lool | tmzt_g2root: qemu-system-arm -m 128 -M versatilepb -kernel vmlinuz -cpu cortex-a8 | 09:37 |
=== ogra_ac_ is now known as ogra_ac | ||
tmzt_g2root | lool: why doesn't this work? | 09:58 |
tmzt_g2root | qemu-system-arm -m 128 -M versatilepb -kernel vmlinuz \ | 09:58 |
tmzt_g2root | -cpu cortex-a8 -sd androix-glibc-arm.img \ | 09:58 |
tmzt_g2root | -append "root=/dev/mmcblk0 rootwait console=tty0 init=/bin/sh" | 09:58 |
tmzt_g2root | the img is a raw ext3 | 09:59 |
tmzt_g2root | but it panics not seeing /dev/mmcblk0 if I use rootdelay=2, or just sits there if I use rootwait | 09:59 |
tmzt_g2root | does that kernel/hardware not support -sd ? | 09:59 |
lool | tmzt_g2root: I don't know | 10:00 |
tmzt_g2root | oh, initrd | 10:00 |
tmzt_g2root | maybe | 10:00 |
lool | well, the initrd should definitely have the module | 10:00 |
tmzt_g2root | lool: this works | 10:14 |
tmzt_g2root | /usr/bin/qemu-system-arm -m 128 -M versatilepb -kernel vmlinuz -cpu cortex-a8 -append "root=/dev/sda" -hda androix-glibc-arm.img | 10:14 |
tmzt_g2root | it seems that while kernel supports the mmc device, either qemu doesn't support -sd with versatile or it doesn't have mmcblk support for some reason | 10:14 |
hrw | tmzt_g2root: what does pixman tries to find out that way? | 10:33 |
tmzt_g2root | if the vfp or neon instructions are there | 10:34 |
hrw | tmzt_g2root: thats buildtime or runtime? | 10:35 |
tmzt_g2root | runtime | 10:35 |
tmzt_g2root | I think it uses something similar at buildtime though | 10:35 |
hrw | it is crosscompilable so no check on buildtime rather | 10:37 |
tmzt_g2root | seems it was developerd when distros supported multiple isas on arm | 10:37 |
hrw | hmm.. OpenEmbedded has set of extra patches for pixman written by Nokia guys | 10:38 |
tmzt_g2root | the HACK ones? | 10:38 |
hrw | no idea - just looked | 10:39 |
=== lilstevie is now known as lilstevie|ZNC | ||
=== lilstevie|ZNC is now known as lilstevie | ||
ogra_ac | ndec, do you plan a call today (i will be the only canonical atendee, rest is on thanksgiving vacation) | 11:54 |
lool | tmzt_g2root: Good to know, thanks | 12:32 |
tmzt_g2root | I can not think of any possible explaination for this http://pastebin.com/Eaav97FC | 13:59 |
tmzt_g2root | there's a weird bug that's only exhibited in the second instance, which is running in a chroot (test-2) | 13:59 |
tmzt_g2root | I've reproduced the same thing with the Xvfb binary from xvfb in maverick on armv7 | 14:00 |
jacquesdptd | hi guys | 14:04 |
jacquesdptd | i have a wits a81-e wich seems to be built with an beagle board and omap3 cpu overclocked at 800 mhz with 256 mb of ram | 14:05 |
jacquesdptd | anyway i'm comming to you cause it seems it could be possible to use ubuntu on it as an sd boot | 14:05 |
jacquesdptd | https://wiki.ubuntu.com/ARM/OMAPMaverickInstall | 14:06 |
jacquesdptd | i'm not the type of guy to go asking directly before searching | 14:06 |
jacquesdptd | it now makes one week i'm working every evenings on it | 14:06 |
jacquesdptd | thats why i'm comming to you in order to maybe find the one that'll make ubuntu work on that 200 tablet wich rocks by the way with Android Froyo 2.2 and flash 10.1 | 14:08 |
hrw | jacquesdptd: url to product? | 14:09 |
jacquesdptd | that's why and also because i read it, i'm sure ubuntu can start on it as another guy managed already to launch angstrom but in a different way than the installation instruction | 14:09 |
jacquesdptd | yes | 14:09 |
jacquesdptd | one sec | 14:09 |
jacquesdptd | in fact it's a witstech but here is the link of the reseller : http://mp4nation.net/catalog/index.php?main_page=product_info&cPath=68&products_id=430 | 14:10 |
jacquesdptd | if you wanna check the manufacturer page www.wistech.com.cn | 14:11 |
tmzt_g2root | hrw: can you think of a case where two processes have mapped the same binaries but show different logical behave, and the failure mode is not random? | 14:11 |
jacquesdptd | just take a look i'll then tell you what's happening when applying every intruction | 14:11 |
ogra_ac | jacquesdptd, well, do you have a kernel and bootloader ? using the ubuntu rootfs shouldnt be a probelm | 14:11 |
hrw | jacquesdptd: but 256MB ram will hurt | 14:12 |
hrw | tmzt_g2root: I am not programmer | 14:12 |
ogra_ac | 256M wont be much fun, yeah | 14:13 |
hrw | but like av500 said once: show me source of larger pop modules... | 14:14 |
jacquesdptd | hm have you heard about linaro ? | 14:17 |
jacquesdptd | it boost any linux os for arm devices that really impressive | 14:18 |
jacquesdptd | i watched it turn on youtube on a beagleboard just like mine maybe even worse and it was surprisingly running perfectly | 14:18 |
jacquesdptd | ok i followed the official ubuntu page intruction | 14:18 |
jacquesdptd | where they are not talking at all about rootfs | 14:19 |
jacquesdptd | assuming i know i could try the rootfs solution and make my saucage alone | 14:19 |
jacquesdptd | but as they are proposing a preinstalled and perfect image, i don't see why it shouldnt work, just finished instruction gonna try again to boot the sd card | 14:20 |
jacquesdptd | i gave you all links in order to see intructions i'm following | 14:20 |
jacquesdptd | maybe there's one missing | 14:20 |
ogra_ac | well, its unlikely that the default omap3 ubuntu kernel works out of the box on your device | 14:20 |
jacquesdptd | thtis one https://wiki.ubuntu.com/ARM/OMAP/ | 14:20 |
ogra_ac | also the bootloader setup we use is focused on beagles | 14:21 |
jacquesdptd | and download link | 14:22 |
jacquesdptd | http://cdimage.ubuntu.com/ubuntu-netbook/ports/releases/10.10/release/ | 14:22 |
jacquesdptd | i understand totally what you mean | 14:22 |
jacquesdptd | i'm using ubuntu for 7 years | 14:22 |
jacquesdptd | well the thing is it sure does something as the screen doesn't light up at all on my device | 14:22 |
hrw | so much longer then I do ;D | 14:23 |
jacquesdptd | and without inserted sd, it does boot and light up | 14:23 |
ogra_ac | hrw, even longer than ubuntu exists ;) | 14:23 |
jacquesdptd | thats not a problem, but just to tell i'll understand fzst what you'll explain me | 14:23 |
hrw | ogra_ac: nice :D | 14:24 |
ogra_ac | jacquesdptd, well, as i said above, the kernel on our images will likely not boot on your device | 14:24 |
ogra_ac | nor will the bootloader config work out of the box | 14:24 |
jacquesdptd | and could you help me find the right kernel ? | 14:25 |
jacquesdptd | first i would have liked to see at least the bootloader | 14:25 |
jacquesdptd | then i wouldd have gone into searching the right kernel | 14:25 |
ogra_ac | no, you need to ask the manufacturer of your device for the correct patches | 14:25 |
ogra_ac | for the bootloader you likely need some kind of serial access to your device | 14:25 |
ogra_ac | if they use u-boot | 14:25 |
jacquesdptd | but how can i find the bootloader, could i give you the link for typicall flash files for Android on my device that way you could tell me wich correspond to wich | 14:26 |
ogra_ac | if they dont that will get more tricky | 14:26 |
ogra_ac | but as hrw already said, running ubuntu on a 256M device will be dog slow | 14:26 |
jacquesdptd | wow cool | 14:27 |
jacquesdptd | new firmware update | 14:27 |
ogra_ac | we are fully focusing on 512M devices | 14:27 |
jacquesdptd | just saw it | 14:27 |
jacquesdptd | http://bbs.witstech.com.cn/dispbbs.asp?boardid=10&id=3104&page=0&star=2 | 14:27 |
jacquesdptd | well at the end of the page | 14:27 |
ogra_ac | (or bigger) | 14:27 |
jacquesdptd | but i saw ubuntu mobile running perfectly | 14:27 |
jacquesdptd | why are they saying 256 is sufficient, do you know linaro ? | 14:27 |
ogra_ac | yes, we all do | 14:28 |
ogra_ac | linaro does most of its development in the ubuntu archive | 14:28 |
ogra_ac | we use plenty of their work | 14:28 |
ogra_ac | (half of the people in this channel are linaro guys) | 14:28 |
hrw | ;D | 14:29 |
jacquesdptd | http://www.youtube.com/watch?v=0r_eBSywKOg&feature=player_embedded | 14:29 |
* ogra_ac has no flash on his arm laptop | 14:29 | |
jacquesdptd | that rocks, i was really happy to see that | 14:29 |
hrw | ogra_ac: html5? | 14:30 |
ogra_ac | in any case i think its unlikely that linaro has a working kernel for your device either | 14:30 |
ogra_ac | hrw, works fine on the test pages, doesnt work on youtube at all | 14:30 |
jacquesdptd | first i would like to know how to fix the boot loader in order to see anything when trying to flash | 14:31 |
ogra_ac | hrw, http://camendesign.com/code/video_for_everybody/test.html i can watch that fine | 14:31 |
jacquesdptd | then i would search for the right kernel | 14:31 |
ogra_ac | jacquesdptd, first get a serial connection working | 14:31 |
jacquesdptd | if only i had a serial port | 14:31 |
jacquesdptd | i have no | 14:31 |
ogra_ac | also for linaro questions, probably ask in #linaro | 14:32 |
jacquesdptd | good idea | 14:32 |
jacquesdptd | but for the boot loader | 14:32 |
ogra_ac | (though they wont have support for your device either) | 14:32 |
jacquesdptd | without any serial port it wont be possible to do anything ? | 14:32 |
ogra_ac | you wont be able to adjust anything | 14:32 |
jacquesdptd | they are mentionning to support the exact board i have in my device | 14:32 |
ogra_ac | so if it has a hardcoded setup to boot android its unlikely that you can easily work around that | 14:33 |
jacquesdptd | that's why i falled on them | 14:33 |
ogra_ac | well, then let them help you | 14:33 |
ogra_ac | i dont think they support much beyond beagle igep2 and n900 for omap3 | 14:33 |
jacquesdptd | you are taking bad the fact i'm saying that in the video i just gave you the link of upper they are showing how to use linaro with a beagle board as example , | 14:34 |
jacquesdptd | ? | 14:34 |
jacquesdptd | you know i'm searching for help, not for a winner that would have better solution and would advice me to go see those who better knows | 14:34 |
ogra_ac | no idea, as i said, my arm netbook doesnt have flash | 14:34 |
ogra_ac | i cant see your video | 14:35 |
jacquesdptd | that's why then | 14:35 |
ogra_ac | i know they support beagles | 14:35 |
ogra_ac | as we do | 14:35 |
jacquesdptd | then i do tell it to you if you neither can't read the webite | 14:35 |
ogra_ac | (only the ones with 512M though( | 14:35 |
ogra_ac | linaro might also support the lower specced ones | 14:35 |
ogra_ac | that doesnt help you with your kernel or bootloader though | 14:36 |
ogra_ac | their userspace is identical to ours | 14:36 |
ogra_ac | we only differ in kernels | 14:36 |
jacquesdptd | well first, i would like to achieve this goal wih can be achieved with people helping me, then i'll see if it is too slow, the goal is to build tablets with ubuntu emmbed for ppl who wants it for less than 200 box | 14:36 |
ogra_ac | and in the way we build images | 14:36 |
jacquesdptd | but i'm maybe alone to be trying to help the ppl discover it | 14:37 |
jacquesdptd | i understand | 14:37 |
ogra_ac | their image build process is more complex, you need to build your image on your own or assemble it from different bits | 14:38 |
jacquesdptd | but as i said, with my exact board i saw ubuntu running, ppl have even managed to run 10.04, but it seems 10.10 could be even a lot better | 14:38 |
ogra_ac | we provide ready made images in ubuntu but only for a certain set of boards | 14:38 |
jacquesdptd | they didn't report any lag by the way | 14:38 |
jacquesdptd | only problems of hw drivers such as bluetooth etc......... | 14:38 |
ogra_ac | well, all i can say is talk to linaro in #linaro | 14:38 |
jacquesdptd | ok thx a lot | 14:39 |
ogra_ac | if they have support for your board as you say then they should be able to help you | 14:39 |
jacquesdptd | would have been cool to find at least the solution for your bootloader | 14:39 |
jacquesdptd | but as you dont have any flash | 14:39 |
ogra_ac | ?? | 14:39 |
jacquesdptd | the bootloader doesn't show anything | 14:39 |
jacquesdptd | i think the problem is about resolution | 14:39 |
jacquesdptd | 800x400 | 14:40 |
jacquesdptd | but on files given officially i do not know at all how and wich to modify | 14:40 |
ogra_ac | well, if the beagle bootloader is supposed to work on your device, feel free to adjust boot.scr | 14:40 |
ogra_ac | it carries the resolution settings | 14:40 |
jacquesdptd | that's what i wanted to know | 14:40 |
jacquesdptd | how does it work ? | 14:40 |
jacquesdptd | how to adjust boot.scr ? | 14:40 |
ogra_ac | you need to adjust the kernel cmdline | 14:40 |
jacquesdptd | just by editing it ? | 14:41 |
ogra_ac | its linked from the wiki somewhere | 14:41 |
ogra_ac | no | 14:41 |
jacquesdptd | ok | 14:41 |
jacquesdptd | phone | 14:41 |
jacquesdptd | k | 14:41 |
jacquesdptd | i think i got the page | 14:41 |
jacquesdptd | i collected more than 20 pages on the subject this week | 14:41 |
jacquesdptd | seeing that i was not alone in my quest and that some people maybe smarter than me understood how to make it work , but would prefer to do it alone | 14:42 |
jacquesdptd | as i said , achieving this little dream to be able to sell an Ubuntu Mobile version Tablet for 200 box would be really cool | 14:43 |
jacquesdptd | assuming i'm gonna try those new cortex a9 dual core that seems to be very very promising | 14:43 |
hrw | eh. | 14:45 |
jacquesdptd | then you are saying, there a way to modify a line in the boot.src file (wch is not existing in my flash files when i do flash for android and firmware) and to tell him to adujst resolution ? | 14:46 |
hrw | just read it | 14:47 |
jacquesdptd | i'm sure that if the boot loader would launch i would go straight to the right kernel | 14:47 |
jacquesdptd | BIG STUPID ME | 14:48 |
jacquesdptd | https://wiki.ubuntu.com/ARM/BeagleEditBootscr | 14:48 |
jacquesdptd | i'm sure you all do agree | 14:48 |
jacquesdptd | how comes i didn't saw it in a week | 14:48 |
jacquesdptd | sorry :// | 14:48 |
ogra_ac | it wont help you with the bootloader in NAND though, it will only help you if the device runs a bootloader from SD too | 14:50 |
jacquesdptd | hrm ? | 14:52 |
jacquesdptd | sure | 14:52 |
jacquesdptd | i just wanna start ubuntu from sd | 14:52 |
jacquesdptd | as said | 14:52 |
ogra_ac | which means that your bootloader in NAND needs to support that | 14:53 |
ogra_ac | as said | 14:53 |
ogra_ac | but try it yourself | 14:53 |
jacquesdptd | oh i understand | 14:54 |
jacquesdptd | that's why | 14:54 |
jacquesdptd | setenv bootcmd 'mmc init;fatload mmc 0 0x82000000 boot.scr;source 0x82000000'; setenv autostart yes; saveenv; boot | 14:55 |
jacquesdptd | they are talking about modified nand on the page | 14:55 |
jacquesdptd | that's what you are talking about right ? | 14:55 |
ogra_ac | no | 14:55 |
ogra_ac | iÄm talking about the bootloader installed on your device | 14:55 |
jacquesdptd | it does work the same, throught flashing | 14:56 |
jacquesdptd | with mlo files and all on sd | 14:56 |
ogra_ac | the line above is clearly for a beagleboard with u-boot preinstalled | 14:56 |
ogra_ac | you dont have a beagleboard | 14:56 |
ogra_ac | ok | 14:56 |
jacquesdptd | anyway as said upper ppl managed to launch angstrom and ubuntu 10.04 | 14:56 |
jacquesdptd | ok i understand | 14:57 |
ogra_ac | then just try to adjust boot.scr and check | 14:57 |
jacquesdptd | but as i'm not booting from inside nand | 14:57 |
jacquesdptd | btu from sd | 14:57 |
jacquesdptd | idon't understand | 14:57 |
ogra_ac | just adjust the line and try | 14:57 |
jacquesdptd | ok, thx a lot for your help, a friend of mine just arrived | 14:58 |
jacquesdptd | i'll come back later, i do appreciate a lot the fact you tried to help me questino after question without loosing control as it can happen sometimes | 14:59 |
jacquesdptd | by the way i've been the first guy to start ubuntu on iphone 3g | 15:00 |
jacquesdptd | www.youtube.com/jacquesdupontd | 15:00 |
jacquesdptd | i hopefull for the bench of my tablet | 15:00 |
jacquesdptd | bbl | 15:01 |
=== hrw is now known as hrw|gone | ||
Kamondelious | How long should Maverick be displaying "Uncompressing Linux... done, booting the kernel." before it does something else? | 18:59 |
Kamondelious | I'm using a BeagleBoard rev C3 | 18:59 |
topfs2 | try restarting, I've had that before with beagle. sometimes it just fails to boot | 19:06 |
topfs2 | (it shouldnt wait there more than a few seconds) | 19:06 |
topfs2 | think changing uboot helped me | 19:07 |
=== marvin24_DT_ is now known as marvin24_DT | ||
Kamondelious | ahh, ok, so an hour is way to long | 19:09 |
Kamondelious | thanks topfs2 | 19:10 |
topfs2 | np :) | 19:12 |
ogra_ac | Kamondelious, depends where you look | 20:00 |
ogra_ac | on a serial console an ubuntu image will never show anything more by default | 20:00 |
ogra_ac | on HDMI/DVI it should move on | 20:00 |
=== JamieBen1ett is now known as JamieBennett | ||
Kamondelious | ogra, oh! ok, thanks | 20:36 |
Kamondelious | I didn't turn it on as I expected to see more | 20:37 |
Kamondelious | hahaha, yeah it seems to be working, need to set the screen res so I can see it, but Ctrl+Alt+Del reboots it from the attached keyboard | 20:39 |
Kamondelious | so that's a good sign | 20:39 |
topfs2 | oh right, forgot that ubuntu doesn't have serial by default :) | 20:43 |
topfs2 | that one got me also :) | 20:43 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!