/srv/irclogs.ubuntu.com/2011/10/12/#ubuntu-arm.txt

=== plars-afk is now known as plars
brendandanyone else got a problem with the oneiric final image on panda, where the horizontal alignment is way off?08:51
brendandwell, it's more like it's horizontally squashed08:54
infinityNot here...08:59
infinityThough I haven't tested today's spin (about to), I don't see how it would be different from yesterday's.08:59
ogra_infinity, hmm, frambuffer changes ?09:02
ogra_*frame09:02
ogra_(no idea how they could influence us, but werent there some in the initrd ?)09:03
brendandinfinity - also once i get to lightdm it seems to kill the display09:06
brendandi just got the image this morning09:07
infinityI'm testing right now.09:08
brendandcould just be my stupid monitor. i've had issues with it in the past09:11
infinityWell, sure, if you keep calling it stupid, I can see how that would cause issues in your relationship.09:12
infinityTry being less of a jerk to your monitor? :)09:12
ndecpanda and monitors have always had difficult relationship as well..09:16
ogra_yeah, i suggested for the first release already that TI should just ship the pandas with a monitor09:16
ogra_but they never listen to me :(09:16
brendandperhaps it's having its revenge09:19
xranbyogra_: i tried to install the omap extras package onmy panda today.. and .. poof no xorg09:20
ogra_xranby, hmm09:21
xranbyso the good news are that something are available in the ppa now09:21
ogra_right, i guess we need to talk to rsalveti about that09:22
ogra_the sgx packages come from linaro ... they have been tested there, probably some incompatibility with our kernel or so09:22
xranbyi will download the latest oneiric panda image and retry09:23
xranbythe image i used are some days old09:23
ndecogra_: the sgx don't come from linaro...09:28
ndecbut from TI09:28
infinityIndeed, it's all ndec's fault.09:28
ndecxranby: how exactly did you install the omap extra?09:29
xranbyndec: clicked on the nice shiny button09:29
xranbyin the unity launcher09:29
ndeconly that?09:29
xranbyit opened the software center09:29
xranbyand then i clicked on install09:29
xranbyand it said it was done09:29
ndecthat should not install anything since our meta package is empty.09:29
infinity^09:29
xranbyit did install something on my board :P09:29
ndecso if that install nothing, that can't break anything ;-)09:30
xranbyok i will retest using the latest unadulterated oneiric image09:30
ndeci guess it installed ubuntu-omap4-extras, right?09:30
infinityIt should just install an empty package.09:30
infinityndec: Yeah.09:30
ndecxranby: check the version of the package, it should be 1.1~109:30
infinityHe may have done this with an older image that still referenced the natty ppa.09:31
infinityBefore I fixed that. :P09:31
ndecxranby: can you share the output of apt-cache policy09:31
ndecinfinity: that's what i guesed ;-)09:31
ndecguessed09:31
xranbyndec: just a second09:33
xranbyndec: http://paste.ubuntu.com/706596/09:38
ogra_yep, all natty09:38
xranbyogra_: false alarm then, im fetching a new image09:41
ogra_heh09:41
brandinimorning12:51
jeremiah_So I've got an Ubuntu root file system for my OMAP 3 beagleboard13:06
jeremiah_But it won't boot on a new disk because in the boot.scr there is a UID that appears incorrect13:06
jeremiah_Is there a way to fix that?13:06
ndecjeremiah_: update your boot.scr?13:08
jeremiah_ndec: I tried to do that by hand but it doesn't seem to have any effect13:09
jeremiah_Is there a way that is used by others?13:09
ndecjeremiah_: what do you mean by hand?13:09
ndecthe boot.scr is generated with mkimage.13:09
jeremiah_I edited the boot.scr in emacs13:09
ndece.g. mkimage -A arm -O linux -T script -C none -a 0 -e 0 -n "Ubuntu" -d ./boot.cmd ./boot.scr13:11
ndecfrom http://elinux.org/BeagleBoardUbuntu#Beagle_Bx.2FCx_.26_xM13:11
jeremiah_Thanks ndec! I'll go read that URL13:11
ndecif you use a UUID you will need to use an initramfs, where the init will read the UUID and find the actual device to mount13:11
ndecso if you know the actual root device, you can use it in root= instead of UUID.13:12
jeremiah_ndec: I thought the device I needed to specify was something like /dev/mmblk013:12
jeremiah_but that doesn't seem to work. :(13:12
ndec/dev/mmcblk0p2 likely13:13
brandiniI was reading through the docs last night and it almost seemed like I could format my usb thumb drive like I did the sd card and make it boot of teh usb drive13:13
jeremiah_Ah, of cou!13:13
jeremiah_rse13:13
ndecbrandini: you cannot 'boot' from the usb drive, but you can boot from SD (mlo, uboot, uimage) and have the root fs on USB driver13:15
brandinindec: the docs say first is usb, then mmc13:16
ndecbrandini: ok... well you can boot from USB yes, but that's using a special protocol with the OMAP rom code. it's for OTG, not HOST. it's used for example for when you connect your phone to flash it...13:17
brandiniahhhh ok13:18
brandiniso even if I put MLO and uboot on a thumb drive it won't boot properly from that?13:19
ndecbrandini: no. it won't13:19
ndecyou can do this http://omappedia.org/wiki/Ubuntu_on_OMAP_FAQ#I_want_to_install_Ubuntu_on_external_USB_hard_disk_instead_of_sluggish_SD_card13:20
ndecto put root fs on USB driver13:20
ndecdrive13:20
brandiniinteresting13:22
brandinileave it to me to actually read the docs and get more confused :)13:22
ndecbrandini: reading the docs is great , no confusion!13:23
brandiniI didn't understand that there was a difference between the first boot device and the second13:25
brandiniin how it tried to initiate the boot sequence13:25
brandiniI thought no matter what the device was it would look for MLO, then uboot13:25
ndecbrandini: the difference in 1st vs 2nd boot is not in mlo/uboot, that part never changes.13:39
ndecon 1st boot the initramfs will enlarge the partition and launch the installer. it will generate /etc/flash-kernel.conf13:39
ndecon further boots, the initramfs will directly mount the root fs13:39
brandinihttp://pandaboard.org/sites/default/files/board_reference/A1/Panda_Board_Spec_DOC-21010_REV0_6.pdf13:43
brandiniso on page 21 where it talks about SYSBOOT13:43
brandinithat's where I was reading that13:46
brandinithe default is 000101 which says USB, MMC113:46
ndecbrandini: and as i told you USB here does not mean what you were hoping. if you look at the OMAP4 TRM docs, there is a chapter on 'booting'13:47
brandiniok13:47
brandiniI'm not saying I don't believe, just showing you how I got confused13:48
ndecsure. i know this doc.13:48
brandiniI pulled down rev X of that last night... 5500 pages or something :)13:48
ndecand it's just the public version ;-)13:49
brandinilol13:50
brandiniright13:50
brandiniand there is a pretty extensive errata doc too13:50
brandinindec: so I found the assembly source for booting the beagle on openbsd, it doesn't seem similar enough to actually boot the panda13:56
ndeci guess so13:56
brandiniyou guess so?13:56
ndecomap3 vs omap4? a8 vs a9 smp...13:57
brandiniyeah13:57
brandinithat's why I'm trying to read this TRM13:57
brandiniwonder if looking at the ubuntu version is a good start13:58
rOxxhello, someone here who can help me with industrial i/o driver ?14:07
brandinindec: I found some interesting stuff after reading 27.4.5.3 in the public doc :)14:50
ndecwhat's 27.4.5.3 exactly?14:50
brandiniit explains what you were trying to tell me earlier about the booting of usb14:51
ndecah!14:51
brandinis/trying to tell/telling/g14:51
ndeci am hoping i wasn't too far from the reality ;-)14:51
brandiniyou weren't at all14:51
brandinithis is fun, I wonder how far I can go with this14:52
=== zyga is now known as zyga-afk
GrueMasterbrandini: On the omap4 usbboot, we are using that (or soon will be) in our panda build cluster.  I already use it in my test setup.  Really usefull for booting and clobbering SD image hands free.16:23
=== zyga-afk is now known as zyga
ndecbrandini: usbboot is indeed using the actual USB boot mechanism. (this refers to our discussion earlier)17:08
brandini:)17:25
brandiniI want a panda build cluster!17:25
=== martyn is now known as Martyn
diwic<mkbosmans> is it always valid to cast a uint8 pointer to a uint32 pointer, even if the pointer is not 4-byte aligned?17:53
diwicanybody knows if the answer is "yes" on arm as well?17:54
R_Nevthe kernel will trap and handle the unaligned accesses18:16
R_Nevby default, most likely, but it's going to be slow and i think it's possible to disable the fixup so that the app crashes instead18:18
R_Nevunaligned neon accesses may infinite loop instead18:23
=== zyga is now known as zyga-brb
=== chrisccoulson_ is now known as chrisccoulson
j4r00tnhey guys where can I find a list of jaunty armel packages23:31
rcn-eej4r00tn, they got removed when jaunty went eof.. for x86 there's an old repo, but i don't there's one of those for ports..23:34
rcn-eej4r00tn, are you using an armv5 device?23:34

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