=== heathkid|2 is now known as heathkid | ||
=== satellit_ is now known as satellit_afk | ||
=== satellit_ is now known as satellit_TS | ||
=== doko_ is now known as doko | ||
angs | I loaded ubuntu desktop image for beagleboard-xM. when I am connected it through the serial cable, I get this output http://paste.ubuntu.com/1064274/ and I have waited more than 30 min, it does not proceed. When I pres the user button, I get the same output from the beginning. If I press the enter during the boot, I get the following output http://paste.ubuntu.com/1064278/ . I inserted video cable, mouse, keybord, I do not see any output on the | 13:30 |
---|---|---|
angs | monitor. I use 5V, 2.5A power supply to power the board. Can anyone tell me what is my problem | 13:30 |
ppisati | angs: your board is not booting at all | 13:31 |
ppisati | angs: did you change anuthing in env vars? | 13:32 |
angs | sorry, what is env vars? | 13:34 |
janimo | ogra_, did you get to test the new 3.1 kernel in the archives? | 13:35 |
angs | I downloaded the image http://cdimage.ubuntu.com/releases/12.04/release/ubuntu-12.04-preinstalled-server-armhf+omap.img.gz the md5sum matches of the downloaded image matches. then I typed zcat ./ubuntu-12.04-preinstalled-desktop-armhf+omap.img.gz |sudo dd bs=4M of=/dev/mmcblk0 ; sudo sync | 13:36 |
angs | after loading finishes, I inserted the sd card and powered the board | 13:37 |
ogra_ | janimo, nope, but i just grabbed my test ac100 from the basement :) | 13:37 |
angs | should I load the image again? | 13:37 |
ppisati | angs: but your board is not booting at all | 13:38 |
ppisati | angs: OMAP3 beagleboard.org # | 13:38 |
janimo | ogra_, ok. I did not test the images yet, I thought I will when you're done with the obvious things that you know need fixing | 13:38 |
ppisati | angs: this is u-boot prompt | 13:38 |
ppisati | angs: what happens if you type boot there? | 13:38 |
ogra_ | janimo, well, i dont really feel like adding console= and with the new flash-kernel thats not as easy anymore | 13:39 |
angs | ppisati: it works fine with the default OS (angstroms dist). when I type boot, it boots and shows the same output that I had before (Uncompressing Linux... done, booting the kernel). | 13:39 |
angs | what could be the reason that it does not boot the ubuntu image that I have | 13:40 |
ppisati | angs: the image you pasted doesn't show the board booting | 13:42 |
ppisati | angs: what does it happend if you insert the sd card and type boot? | 13:43 |
angs | ppisati, the sd card is already inserted. should I take it off then insert it again? | 13:44 |
ppisati | angs: no! i said "what does is happen if you type "boot"? | 13:44 |
angs | when I type boot, it outputs http://pastebin.com/pRXPZHej | 13:45 |
angs | it stucks on the last line | 13:46 |
ogra_ | this looks all fine, but it should move on into the installer from there | 13:48 |
ogra_ | (given thats a server image) | 13:48 |
ppisati | i bet it's resizing | 13:48 |
ogra_ | well, in fact it should first print some stuff about resizing the partition and *then* reboot | 13:48 |
ppisati | angs: what's the size of your sd card? | 13:48 |
ogra_ | ppisati, it doesnt do that quietly on the server image | 13:48 |
ogra_ | there is a lot of output by default | 13:49 |
ogra_ | i assume he doesnt even get through the initrd | 13:49 |
angs | 4 GB, I use the SD card that comes with the beagleboard | 13:49 |
ogra_ | if he reaches that at all | 13:49 |
ppisati | angs: ok then | 13:49 |
ppisati | angs: mount your ubuntu sd card somewhere | 13:50 |
ppisati | angs: the copy *only* the text content of boot.scr in a new file called boot.cmd | 13:50 |
ppisati | angs: if the "quiet splash" parameters are presente, remove them (shouldn't be your case though) | 13:51 |
ppisati | angs: and add "console=ttyO2,115200" | 13:51 |
angs | this is the boot.script > http://paste.ubuntu.com/1064315/ | 13:51 |
ogra_ | they are by default | 13:51 |
ppisati | angs: then execute "mkimage -A arm -O linux -T script -C none -a 0 -e 0 -n "Ubuntu 10.10" -d ./boot.cmd ./boot.scr" | 13:51 |
ogra_ | console is set by default too on the server image | 13:52 |
ogra_ | so definitely drop the quiet ... | 13:52 |
ogra_ | splash shouldnt matter on a serial image | 13:52 |
ppisati | angs: and copy the new boot.scr over the old one (maybe backup the old one somehwre - you never know) | 13:52 |
ppisati | angs: put the sd card back in | 13:52 |
ppisati | angs: reboot | 13:52 |
angs | ppisati: should I remove the whole line (root=UUID=12093961-64a9-4225-a5a9-2200080a8ab4 fixrtc quiet splash) ? | 13:55 |
angs | or ( setenv bootargs ro elevator=noop vram=12M omapfb.mode=dvi:1280x720MR-16@60 mpurate=auto root=UUID=12093961-64a9-4225-a5a9-2200080a8ab4 fixrtc quiet splash) | 13:56 |
ppisati | angs: just those 2 params | 13:56 |
ppisati | angs: and add the console one i told you above | 13:56 |
ppisati | brb | 13:56 |
angs | ppisati: thank you | 13:57 |
angs | should it be fine like this http://pastebin.com/ruzchCa4 | 13:57 |
ogra_ | lool, urgh, flash-kernel is really unhappy on ubuntu-desktop ... we need to add a umount function, the desktop automounting the SD somewhat causes odd results | 14:13 |
=== Ursinha` is now known as Ursinha | ||
lool | ogra_: flash-kernel is lower level than the desktop automounting; it would make more sense to fix this in the desktop images surely? | 14:53 |
ogra_ | lool, well, flash-kernel cant handle it if partitions are mounted while it should imho | 14:54 |
ogra_ | no matter how the mounting happened | 14:54 |
lool | ogra_: it should deal with already mounted partitions fine; I think I had tried it | 14:56 |
ogra_ | well, i always end up with partitions mounted twice | 14:56 |
ogra_ | and then flash-kernel quits with an umount error | 14:56 |
ogra_ | lool, http://paste.ubuntu.com/1064425/ .. the prob is that udisk mounts with nosuid nodev and so on ... | 14:58 |
lool | ogra_: Ah it's mounted as a different user | 14:59 |
ogra_ | lool, right, so i think forcing an umount is essential | 15:00 |
lool | ogra_: I think we need to find a way to prevent the mounting from happening | 15:00 |
ogra_ | (i will surely hack back in the hiding of the boot partition, but would like to see that bug fixed nontheless) | 15:01 |
lool | either at Ubuntu install time or with some generic rule for this or that devie | 15:01 |
lool | device | 15:01 |
ogra_ | yes, we did that in the old flash-kernel through adding a special LABEL | 15:01 |
ogra_ | udev then automatically hides it | 15:01 |
lool | ogra_: BTW I know why the mv complain (albeit they probably succeed) -- it's because the files can'tbe chown-ed to root -- but I'm still puzzled why umount fails | 15:02 |
lool | right, so here you want to avoid the SD card from being automounted in exactly the same way, it should fix the mv warnings and the umount error; I don't understand why umount fails though | 15:02 |
ogra_ | i dont see any umount in "functions" | 15:03 |
ogra_ | only for cleanup | 15:03 |
ogra_ | ogra@osiris:~/Devel/packages/flash-kernel-3.0~rc.4ubuntu4$ grep -r umount * | 15:06 |
ogra_ | debian/flash-kernel-installer.postinst:umount /target/dev || true | 15:06 |
ogra_ | debian/flash-kernel-installer.postinst:umount /target/dev || true | 15:06 |
ogra_ | functions:umount "$boot_mnt_dir" | 15:06 |
ogra_ | functions:# if umount fails | 15:06 |
ogra_ | and cleanups isnt called until we exit | 15:07 |
lool | ogra_: cleanups() is run when flash-kernel exits and umounts the /tmp/xyz location where the firmware space was temporarily mounted | 15:26 |
lool | ogra_: in the case where this FS is already mounted on the system, a bind-mount is created automatically by mount or by linux and unmount should work just fine | 15:26 |
ogra_ | right, but there is no umount before it attempts to mount the device to a tempdir | 15:26 |
lool | (No idea why it doesn't work there, perhaps due to special mount options) | 15:26 |
lool | ogra_: But that's normal | 15:26 |
ogra_ | hmm | 15:27 |
ogra_ | i didnt know mount is that clever | 15:27 |
lool | ogra_: mount + umount usually works in both cases, whether it's already mounted or not | 15:27 |
ogra_ | ah, learned something new :) | 15:28 |
ogra_ | i know i see two mounts, i didnt know the subsequent ones are bind mounts by default | 15:28 |
angs | I loaded ubuntu desktop image to another SD card and inserted to another beagleboard-xM rev C1. I have *** Warning - readenv() failed, using default environment and some error/warnings during boot time then it stucks on the last line http://paste.ubuntu.com/1064586/ has anyone else experienced the same problem? | 16:30 |
ogra_ | thats exactly the right behavior for ubuntu-desktop | 16:33 |
ogra_ | after printing that line it switches to the monitor | 16:33 |
ogra_ | only ubuntu-server doesnt do that | 16:33 |
angs | approximately how long do I need to wait to see the monitor output? | 16:35 |
angs | did you see any problem on the output that I pasted? | 16:35 |
ogra_ | no | 16:38 |
angs | ok, thank you. So, I will wait some more to see an output | 16:41 |
angs | I still have not got any output on the monitor and the line after (Uncompressing Linux... done, booting the kernel. ), is it normal to wait long for the boot procedure? | 16:50 |
ogra_ | no | 16:52 |
angs | is there anything that I can do for it? | 16:54 |
ogra_ | apart from using an image that does the install on serial you mean ? | 17:02 |
angs | I do not have a monitor output and all I can see on the serial output is "Uncompressing Linux... done, booting the kernel." it seems like it stucked. I guess I do something wrong in the image loading, because the board works fine with the default OS in the image. | 17:09 |
ogra_ | well, you cant do anything wrong with these images | 17:10 |
ogra_ | if you use the server image it will immediately show output on serial after the kernel booted | 17:10 |
angs | I will load the server image then try it again. | 17:12 |
ogra_ | are you actually sure thats a beagle XM you have there ? | 17:13 |
angs | beagleboard xM is printed on the board and the box. I just bought it couple days ago. | 17:15 |
ogra_ | ok | 17:15 |
GrueMaster | angs: Is your monitor capable of HDMI or DVI-D input? | 17:17 |
GrueMaster | Or are you using a dvi-cga converter? | 17:17 |
angs | if I am the only one who has problem with it, I should do something wrong | 17:17 |
GrueMaster | oops. vga | 17:17 |
angs | I am using hdmi to dvi-d cable | 17:17 |
angs | and the monitor has dvi-d port | 17:17 |
angs | I am using 5V, 2.5A power supply. | 17:18 |
GrueMaster | Ok, that should work, provided the monitor can handle the signal predefined in the kernel boot parameters. Does your monitor have an info mode that shows incoming signal? | 17:19 |
ogra_ | GrueMaster, even the preinstalled server images stop for him | 17:19 |
ogra_ | after unpacking the kernel | 17:19 |
GrueMaster | You should see video even if your Beagle is getting power via mUSB. | 17:19 |
angs | monitor does not show any signal. | 17:19 |
GrueMaster | angs: Do you have a linux desktop/laptop? Looks like you will need to modify the boot parameters on the SD to see what is happening. | 17:21 |
angs | yes I am using ubuntu 12.04 on my laptop | 17:21 |
GrueMaster | Before trying that, does it boot the test image that should have come with the board? | 17:21 |
angs | GrueMaster: Yes, it boots fine with the image that comes with the SD card (angstrom dist) | 17:22 |
* GrueMaster can't remember if they still ship a 1M uSD preloaded or not. | 17:22 | |
GrueMaster | Ok, excellent. | 17:22 |
GrueMaster | So, let's modify the boot image. On your laptop, put the SD in a card reader. | 17:23 |
angs | I am umounting the image before I load the SD image, is it correct to do it? I loaded the server image http://paste.ubuntu.com/1064664/ I am going to boot it | 17:23 |
angs | ok thank you | 17:23 |
GrueMaster | Yes, unmount the SD before raw writing a new image to it. | 17:24 |
GrueMaster | If you haven't started overwriting the SD yet, we can modify the boot parameters to see if we can root out the issue. | 17:24 |
angs | I inserted the SD card and umounted it | 17:25 |
GrueMaster | Ok, in a terminal, type "sudo mount /dev/mmcblk0p1 /mnt" (assuming the SD is mmcblk0) | 17:26 |
angs | it is mmcbblk0, I typed the command | 17:26 |
GrueMaster | Next, type "sudo dd bs=72 skip=1 if=/mnt/boot.scr of=boot.script" | 17:27 |
angs | fdisk and mount outputs if you would like to see > http://paste.ubuntu.com/1064678/ | 17:28 |
angs | 3+1 records in | 17:28 |
angs | 3+1 records out | 17:28 |
angs | 284 bytes (284 B) copied, 0.00177282 s, 160 kB/s | 17:28 |
GrueMaster | Now you should have a boot.script you can edit. Remove the "quiet splash" lines and add "console=ttyO2,115200" | 17:28 |
angs | http://paste.ubuntu.com/1064685/ | 17:30 |
ogra_ | i wonder if the mpurate thing might get in the way | 17:31 |
GrueMaster | You need to strip the binary header before editing it (or you can delete it while in the editor). Hence the dd above. | 17:31 |
ogra_ | GrueMaster, thats the resulting file ;) | 17:31 |
ogra_ | it already has console and friends | 17:31 |
GrueMaster | Is it? Looks like he just edited the boot.scr with nano (see pastebin). | 17:32 |
GrueMaster | The u-boot header needs to be regenerated. It is a checksum. | 17:32 |
angs | yes I just edited it with nano | 17:33 |
GrueMaster | (hence why you can't just edit a boot.scr file). | 17:33 |
GrueMaster | I need to get back to my day job. Here's the detailed instructions: https://wiki.ubuntu.com/ARM/EditBootscr | 17:35 |
angs | GrueMaster, ogra_: thank you very much for the help | 17:35 |
angs | btw, the server image works fine without any problem | 17:36 |
ogra_ | oh ? | 17:36 |
ogra_ | so you get into the installer etc ? | 17:36 |
ogra_ | on the serial console | 17:37 |
angs | yes it asks me the location and time info | 17:37 |
ogra_ | well, then just run through it ... | 17:37 |
ogra_ | it will also offer you to install the desktop packages if you want them | 17:37 |
angs | cool | 17:37 |
angs | thank you :) | 17:38 |
angs | what is the default password of the ubuntu image? | 17:48 |
angs | log in password | 17:48 |
angs | and user name | 17:48 |
angs | root@root, admin@admin did not work | 17:48 |
GrueMaster | angs: You should see oem-config on the serial console that will walk you through setting up locale and user info. | 17:50 |
GrueMaster | (until this is run, there is no default user/password. | 17:50 |
=== zyga is now known as zyga-afk |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!