/srv/irclogs.ubuntu.com/2009/06/30/#ubuntu-arm.txt

sasaAccording to here: http://www.ubuntu.com/news/arm-linux ubuntu is available for arm and...10:14
sasaaccording to here: http://www.ubuntu.com/getubuntu/releasenotes/904 there are issues on arm platforms but...10:15
sasaaccording to here: http://www.ubuntu.com/getubuntu/download ubuntu is only available for x86...10:16
sasaAnyone know the score?10:16
dpbhttps://wiki.ubuntu.com/ARM10:18
ograhttp://cdimage.ubuntu.com/ports/releases/jaunty/release/ has images for imx51 boards10:25
sasaOk - I think I see, It all looks like work-in-progress so I might be better off sticking with Angstrom...10:27
ografor a beagle ?10:27
ograhttp://elinux.org/BeagleBoardUbuntu would be the place to go for that ... but i wouldnt suggest to use ubuntu on the 128M version (for that rather take xubuntu)10:28
sasaYes, should have said for beagle, sorry.10:28
ogranote that ubuntu doesnt have any support for OMAP CPUs10:28
ograand wont in the near future10:29
ogra(kernel wise i mean, userspace should run fine on OMAP)10:29
sasaAnd the versatile kernel doesn't run on it?10:30
ograno10:30
ograversatile runs on versatile boards or qemu10:30
sasaAh, got it.  How much of the userland distro is currently available?10:31
ograthe elinux wiki i gave you the link for above has a link to kernel packages10:31
ogranearly all of main, most of universe10:31
janrinzemorning.10:37
janrinzeis there a fast way to try ubuntu on a beagleboard without having to do the RootfsFromScratch?10:39
ograno10:40
sasaI don't want to sound dim but what is rootfsfromscratch?10:41
ograsee /topic :)10:41
janrinzehttps://wiki.ubuntu.com/ARM/RootfsFromScratch10:41
ograand http://elinux.org/BeagleBoardUbuntu10:41
janrinzeare there any people who already did build a rootfs and made them available?10:42
sasaI have looked at them but I am still none-the-wiser!10:42
janrinzethe rootfs from scratch requires that it is performed on a PC running the latest Ubuntu, right?10:45
looljanrinze: A recent Ubuntu, yes10:45
looljanrinze: There are some rootfses available; I think ogra published some in the past10:45
ograjaunty or newer10:46
ograthey are totally outdated10:46
janrinzei run Debian 5.0 so setting up Ubuntu 9.04 is a bit too much for me a.t.m.10:46
ograif you have the right debootstrap and qemu versions you should be able to build it on lenny10:47
ograthough YYMV10:47
ogra*YMMV10:47
sasaOk - I am suse based and just wanted an easy devel environment on my beagle  so I think this is not for me right now - thanks!10:47
sasaany other suggestions though?10:47
ograthe second stage of debootstrap runs completely inside qemu10:47
ograso thats already fully under ubuntu10:47
janrinzeok.. maybe i should do it in VMware.. Is QEmu required? I would like to prefer to run it on the beagleboard..10:47
ograif you get through the first stage and it still runs, that should work10:47
ograqemu is required by the image build process10:48
ograthe script is actually a wrapper around qemu10:48
janrinzeI have used debootstrap before but that was on a different ARM platform10:48
ograyou dont use debootstrap ;) the script does10:48
janrinzei saw that.10:49
ograjust get the version linked from the wiki, install it on lenny and run the script10:49
ograif the script finishes you are golden :)10:49
janrinzewill try that. I hope it won't mess with the repositories ;-)10:49
ograit wont10:50
ograjust dpkg -i the debootstrap ...10:51
janrinzeok.. i willreinstall the Debian debootstrap when i am done with the Ubuntu rootfs.10:53
ogradebootstrap is backwards compatible, no need to10:54
ograubuntu uses the one from sid and adds the ubuntu specific scripts ... it doesnt touch the debian scripts at all10:54
ograso it should be safe to just keep that one10:54
loolI have a jaunty rootfs which you can try out; it probably assumes too much, but it's at least based on jaunty10:55
janrinzeok. good to hear ;-)10:55
loolhttp://people.ubuntu.com/~lool/qemu-buildd/mmcblk0.img10:55
loolSee the directory for various qemu setup stuff10:55
janrinzelool: interesting qemu patches in there too :-)10:57
loolEh11:01
ograheh11:01
janrinzelool: is the image compressed? it is downloading at 330KB/sec so it takes a while.11:06
looljanrinze: I don't think it is11:07
looljanrinze: I'm happy to compress it if you like11:07
janrinzeno prob. it will take just a bit longer..11:07
janrinzei am in no hurry ;-)11:08
loolI'm creating a compressed one aside of it11:08
looljanrinze: How far are you in your dl?11:12
lool513M    mmcblk0.img11:12
lool117M    mmcblk0.img.bz211:12
janrinzelool: it is done..11:13
loolOk, removing the .img11:13
janrinzewill save you bandwidth :-)11:13
loolThat's not too much of a concern :)11:14
loolHmm how can I disassemble a non-ELF file like a bootloader with a cross toolchain?11:17
loolI checked objdump, but it seems to only be supporting ELF, and as/gas doesn't seem to to support disassembly11:18
janrinzelool: i have several tools but not available on Ubuntu.. what kind of file is it?11:19
janrinzeIf IDApro is available you may get lucky..11:19
loolIt's an ARM binary11:20
loolI guess v7 since the board is v711:20
janrinzeIDApro can handle ARM binaries.. not sure if it supports ARMv7 already.11:20
loolI tried the Uboot binary I had around on B2 and it didn't work11:21
loolI wrote it at RedBoot's offset, but I'm not 100% sure this is correct11:22
janrinzelool: on what platform were you trying the uBoot?11:22
loolBabbage 211:22
loolIt's Freescale iMX51 based11:22
lool(TO2)11:22
janrinzesounds nice.. I don't know that board..11:22
janrinzeso i am afraid i am of no help there.11:23
janrinze# dd if=./mmcblk0.img of=/dev/sdc11:23
janrinzedd: writing to `/dev/sdc': No space left on device11:23
janrinzecute.. 512MB flashdisk is too small :-(11:24
loolHmm I created a 512 MB file; probably the bard is slightly too small, sorry11:25
loolYou can resize it, it's just an ext3 fs11:26
janrinzeno prob.11:26
loolor ext4 actually11:26
janrinzeext4 actually.11:26
janrinzeapparently Debian 5.0 has no ext4 support yet ..11:26
ogralool, the uBoot we have is *not* for the B211:26
ograunless you wrote a new one :)11:27
loologra: It's for B1?11:27
ograthree stack11:27
loolI found it along B2 stuff11:27
ograyeah11:27
loolOk; well it's useless to us then11:27
ogrataoiten thought it was11:27
ogra*taiten11:27
ograbut he clearified it for me, i tried the same you did :)11:27
ogranot sure how one can delete stuff there to get it out of the file list11:28
loolI didn't see any newer drop than may; I'm grabbing a BSP from 12th of Jun, I don't think it has redboot or uboot but I'll check11:28
janrinzelool: could you put the rootfs as a tar.bz2 file instead of an image? (hope it is not too much to ask)11:29
loologra: Hmm we have a 20 GB limit11:29
ogradd'in a qemu image to an SD wont get you far :)11:29
loologra: The site is cute, but I hate it11:29
ograyep11:29
looljanrinze: It's less easy to use for me; I could I guess, but it's going to take extra steps to use it11:30
janrinzeogra: mount -o loop won't work on Debian 5.0 since it is ext4.. :-(11:30
loolWhile for use with qemu, a fs image is enough11:30
looljanrinze: You can launch it in qemu11:30
ograheh11:30
looljanrinze: You could create a new disk from the first one from an interactive session11:31
ograand copy the contents in qemu11:31
* ogra bets running build-arm-rootfs might be less hassle11:31
looljanrinze: The easiest is probably to create your own image; using the rootfs creation script should be possible from debian, it needs Ubuntu's debootstrap, and qemu installed11:31
janrinzeok.. nevermind.. I will mount it in VMware.11:31
ograyou can just fire up the script and have lunch :) after lunch you will have your image11:32
janrinzeogra: that is the alternative. :-)11:32
loologra: I don't think files can be removed; I checked the Files tab and that didn't help11:33
loolperhaps admins can11:33
ogralikely11:33
ograor project leads11:33
ograwe can ask anmar later11:33
loolI checked the uboot source and it adds support for some boards, notably mx31, mx35, mx25 and mx51 3stack11:42
loolNo mx51 babbage though11:42
loolI should poke martyn11:43
ogra_yeah11:52
loolOkay, B2 pre-built kernel works fine: it's 2.6.28 and has DVI support; it seems to support MMC11:53
loolNow I should look into building a cleaner image11:53
ogra_yes, thats what i'm using with a karmic fs here11:53
loolWe don't have any Ubuntu kernels yet do we?11:53
ogra_nope11:53
loologra: What are you running on your B1?11:53
ogra_B1 in the works but not booting yet11:53
ogra_nothing, i'm just building a rootfs upstairs for debugging, mz B1 itself is sitting in the box until thats there11:54
ogra_*my11:54
* ogra_ doesnt want to waste deskspace if he doesnt need to11:55
ogra_and B2 is more stable11:55
loolbjf_afk: Around?  I don't want to use too much of your time since you're on the critical path to get us 2.6.30/31 kernels for B2, but do you think it would be a small or a large amount of effort to add the B2 patches on top of jaunty's kernel tree (both 2.6.28) so that we have Ubuntu-ish imx51 B2 .debs?11:55
loologra: You could use B1 for jaunty or we could ship it to someone without ARM hardware11:56
ogra_lool, i fear thats a huge effort11:56
loolWhy so?11:56
ogra_because he will need to extract the B2 bits separately i guess11:56
ogra_we only have that 30MB tarball11:56
loolI don't care if it adds support for other SoCs11:57
ogra_lool, i will use the B1 with jaunty (thats what i'm builkding atm)11:57
ogra_i just *didnt* use it up to today since i have the B2 working11:57
ogra_but for the gnome-applets bug i need a jaunty setup with B111:57
ogra_to reproduce what FSL doe11:58
ogra_ss11:58
* ogra_ notes he needs more SD cards12:00
loologra_: Do you know which FS the FSL binary 2.6.28 B2 kernel supports?12:07
ogra_ext212:08
loolNo ext3?12:08
* ogra_ sshs and checks 12:08
ogra_i dont think ext312:08
loolPff12:08
loolThis is really lame12:08
loologra_: Could you grep the config for all supported FSes?  I don't mind using a weird one, but I don't want a fragile one12:08
loolPerhaps it support ubifs or xfs12:09
ogra_CONFIG_EXT2_FS=y12:09
ogra_# CONFIG_EXT2_FS_XATTR is not set12:09
ogra_# CONFIG_EXT2_FS_XIP is not set12:09
ogra_CONFIG_EXT3_FS=y12:09
ogra_CONFIG_EXT3_FS_XATTR=y12:09
ogra_# CONFIG_EXT3_FS_POSIX_ACL is not set12:09
ogra_no ubifs12:10
loolCool12:10
loolext3 is fine12:10
ogra_2.6.28-191-ga2f78a412:10
loolSounds like the one I'm using12:10
ogra_good12:11
lool2.6.28-191-ga2f78a4 yup12:11
* lool debootstraps12:11
ogra_natively from scratch ?12:11
loolNo, from host12:11
ogra_ah12:11
loolGrumpf, doesn't see the SATA disk over USN12:19
lool*USB12:19
looldespite the 10 secs rootdelay12:19
ogra_give it 20 ?12:19
* ogra_ remembers he had to use 15 at least on the B1 in the beginning12:20
loolYeah I'm trying 3012:20
loolPff it needed 21  :)12:21
ogra_heh12:21
loolIt's really long12:21
ogra_yeah12:21
ogra_its crap without initramfs12:21
loolThe marvell sata start is blazingly fast12:21
loolI shoudl try with an USB key, that's probably quickef12:21
ogra_i suspect its faster if you have the initramfs running in parallel12:21
loolquicker12:21
loolBut I really want my rootfs on a real disk now that this work so I'll have to wait for this anyway   :-/12:22
ogra_though we should think about compiling in the USB host drivers on imx5112:22
loolPerhaps real SATA would be faster12:22
ogra_well, grab a soldering iron :P12:23
loolThis USB SATA adpater is really cool; it allows me to quickly move drives around and plug/unplug easily to various boards, my desktop and all12:23
loolNo pain12:23
loologra_: I don't think I want to risk the board just to make sure the SATA port work   :-/12:23
ogra_nice ... though it will still not give you sata speed12:23
* ogra_ prefers a real USB disk with 7500rpm instead12:24
ogra_saves one layer12:25
loologra_: What do you think is in the USB disk?  :)12:49
ogra_never disassembled it :)12:50
ogra_migth be plain ATA12:50
ogra_and doesnt really matter if you attch through USB :)12:50
loolThe thing is that I can plug SATA disks without rebooting my desktop; it's good for the marvell board at laest12:58
loolAnd would be good if I had a SATA connector on the B boards12:58
lool*sigh*12:58
ogra_well, USB will do too12:58
loolSure, but I'd like to use the SATA port on the marvell and on B if possible12:59
ogra_i mean ... you wont have either USB nor SATA disk in the production systems anyway12:59
loolThat's native12:59
loolCrap init doesn't start13:04
ogra_ouch13:04
loolArf no, I'm just being stupid; sorry13:05
* ogra_ just copied over a B1 install and dist-upgraded13:05
loolI passed init=/bin/sh to the cmdline but I had it hardcoded in the config as well13:05
ogra_even using update-mamanger :)13:05
loolA working reboot would be nice13:06
ogra_heh13:06
loologra_: Is your board also shutting off whenever you press reset, or use reboot?13:06
ogra_yep13:06
ogra_since its even with reset from the redboot prompt i think its HW13:06
loolI wonder whether it's configurable13:07
ogra_not from the DIP switches at least13:07
* ogra_ checked that13:07
loolISTR there are two banks13:07
ogra_we only have docs for one13:08
loologra_: You have working network/DHCP with B2?13:19
loolI don't13:19
loolLink is shown as up, but it doesn't work13:20
loolOh here it works now13:21
loolFrom 192.168.0.200 icmp_seq=6 Destination Host Unreachable13:21
loolFrom 192.168.0.200 icmp_seq=7 Destination Host Unreachable13:21
lool64 bytes from 192.168.0.101: icmp_seq=8 ttl=64 time=849 ms13:21
loolThat's "interestin"13:21
loolIt looks like it needs 30 secs to come up or something13:22
ograhmm13:22
loolPerhaps it doesn't like 1 Gb13:22
ograno such probs here13:22
ograthough the x server needs quite long to come up and i use NM13:23
* ogra runs a 1600x1200 desktop on his B2 13:23
looleth0: config: auto-negotiation on, 100FDX, 100HDX, 10FDX, 10HDX.13:23
loolShould work, weird13:23
loolOh some OOPSes13:24
* ogra doesnt see 1000 in that list though13:24
loolWell it should autonegociate, my switch can do less than 100013:24
ograi also dont see any oopses13:25
ogramy dmesg is clean apart from some noise from the frambuffer i get if i switch the monitor13:25
loolWith a static config it works13:27
ograwith NM too13:27
ograthough using karmic here13:27
loolI have a jaunty userspace, but I don't think it matters much13:28
ograoh, err13:28
ograwait13:28
ograogra@babbage2:~$ grep eth0 /etc/network/interfaces13:28
ograauto eth013:28
ograiface eth0 inet dhcp13:28
ograhmm, when did i add that13:28
* ogra removes and reboots13:28
loolThat's what I had and it didn't work for me13:28
ograworks here13:29
ograbut i want NM to be used13:29
ograwhat is really evil on the B2 is that my serial plug is to big to fit in while DVI is plugged13:29
nettolthello everyone13:31
loologra_: Yeah, for me DVI/serial is tight as well but fits13:32
nettoltI have a zywan router running arcom embedded linux and would like to install ubuntu arm on the device. The unit used redboot to boot the kernel currently. does anyone know where i would start to flash the device to use ubuntu13:33
loolThe B2 on SATA feels snappier than the B1 on SD13:36
loolnettolt: You have serial console access to redboot?13:36
nettoltyes i do13:36
loolnettolt: How does it boot?  kernel + initrd/initramfs?13:37
loolnettolt: fconfig -l and check the boot script13:37
nettoltlool: good question13:37
loolpaste here if you like13:37
nettoltlool: i do not have the decice up and running and was just on my way out to work for the day. I will do this tonight see if you are still around13:38
* lool installs the Ubuntu desktop task on his B213:39
loologra_: I checked the docs for B2, SW5-10 is to setup the debug board, SW1 and SW2 are personality, SW4 is a setting of the debug board itself, not sure which13:42
loolI didn't find any detailed doc on the DIP switches, just how to set them up for different tasks13:43
ograright, thats all i have as well13:46
ograthe pdf13:46
loolIt's probably somewhere in the reference manual, but I can't find it by searching for SWx13:47
ograyou have a reference manual ?13:48
loolYes13:49
* ogra checks ... i only have an xls with the DIP switch settings and a silly block diagram pdf13:49
ogrado you mean BABBAGE-2.1.pdf ?13:51
loolI'm uploading it13:52
loolmxc_linux.pdf13:53
ograah, great13:53
ograthe other one isnt very helpful if you dont want to solder :)13:53
janrinzelool: i have the image running on the beagleboard. thanks!13:54
loolCool13:55
ograyay13:55
janrinzeto install GNOME etc.. should I just do apt-get install gnome-desktop-environment ?13:57
looljanrinze: tasksel13:57
loolPick Ubuntu desktop13:57
ograis it a 256M board ?13:57
janrinzenever liked tasksel... Yup 256MB13:58
ografor 128M i'd recommend swap and xubuntu-desktop13:58
ograwell, then apt-get install ubuntu-desktop13:58
looljanrinze: tasksel does the right thing though; you can do the same with apt-get install ubuntu-desktop^13:58
ograif you dont like tasksel13:58
loolThe caret is important13:58
ograthe meta package will also do the right thing13:58
ograthats why we have it :)13:59
janrinzei will do a backup first since i use the same SDcard as where i have the Debian 5.0 on.13:59
loolThe meta package wont do the same thing13:59
ograthen its broken14:00
loolNo14:00
ograits what we suggest in all documentation since warty14:00
loolYou should just use the carret notation to pull a task14:00
loolWell you were wrong14:00
ograi didnt write the docs14:01
ograand we only use tasks since dapper or so14:01
janrinzetasksel is just another frontend for apt right?14:01
ograwhich means it was broken for two years at least by your definition14:01
looljanrinze: Kind of14:01
loologra_: Not using tasks is not the correct thing to do since we use them; mmkay?  :)14:09
ograno, what i say is that it has to work either way14:11
loologra_: It's not the same14:14
ograi dont say its the same14:14
ograi say it has to work reliable either way14:14
loolPlease don't advocate usage of meta packages when the best thing to is to use tasks and is equally simple14:15
ograwell, i need to fix a million of scripts then ... and i guess the rest of the world too14:16
* ogra wonders why nobody ever discouraged the use of metapackages publically then14:17
ograespecially given that its recommended on *all* wiki docs we have14:18
ograand i doubt the docteam was ever told they should change it14:18
loologra_: I can't upload the imx ref manual for some reason14:51
loolIt just sits there not doing anything14:52
ograbah14:53
ograwell, i'm still fumbling with the pegatron here14:54
ograseems the kernel we have is for 3.3, not 5.214:54
ogra:(14:54
ograi tried the B2 one but that doesnt work either14:55
=== bjf_afk is now known as bjf
=== bjf is now known as bjf_afk
janrinzelool: looks like tasksel has changed a lot since i last used it :-)19:53
janrinzelool: the interface is really simple...19:54
=== bjf_afk is now known as bjf
=== Martyn is now known as Guest69575
=== martinb is now known as Martyn

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