TheMuso | Is there any reason why flash-kernel doesn't allow flashing an older kernel? I.e in the flash-kernel main function, it usees linux-version to obtain the latest kernel version, and will ignore the version given on the command-line if its not the newest... | 03:02 |
---|---|---|
TheMuso | No biggy, I can hack around locally for a quick way to flash an older kernel, but stil... | 03:03 |
=== doko_ is now known as doko | ||
=== jan is now known as Guest8607 | ||
janimo | ogra_, did you test the quantal ac100 image recently? I just installed yestsrday's image and have no wifi. Had the same issue previously too | 10:47 |
janimo | so maybe hw issue | 10:47 |
ogra_ | my install yesterday worked fine | 10:49 |
janimo | ogra_, means my ac100's antenna or something is getting old | 11:25 |
ogra_ | heh | 11:25 |
zenx | I am trying to compile u-boot with the ubuntu arm toolchain and get the error arm-linux-gnueabi-ld: BFD (GNU Binutils for Ubuntu) 2.22 assertion fail ../../bfd/elf32-arm.c:7498 | 11:30 |
zenx | I guess this is a bug | 11:30 |
marvin24 | janimo: my wifi and my 3g also died out of the blue | 11:36 |
janimo | marvin24, mine used to have weaker signal than other devices in the same location, but now nothing at all | 11:38 |
marvin24 | janimo: did you tried the hw mod? | 11:38 |
janimo | no | 11:38 |
marvin24 | e.g. cutting of some of the alu foil? | 11:38 |
janimo | I don't even know what that is | 11:38 |
marvin24 | ah | 11:38 |
janimo | no, did not tweak the machine in any way | 11:38 |
* marvin24 looks for the link | 11:39 | |
marvin24 | janimo: http://www.lins.me/ac100/fixing_wifi.html | 11:39 |
marvin24 | looks more complicated than it is | 11:39 |
marvin24 | about feeled 10% of ac100s have this problem | 11:39 |
janimo | problems show up in time? | 11:40 |
janimo | marvin24, thanks for the link | 11:40 |
marvin24 | don't know, at least you should try it | 11:40 |
marvin24 | is the wifi device still listed in usb? | 11:40 |
marvin24 | (or lsusb) | 11:40 |
* janimo goes to check | 11:42 | |
janimo | marvin24, I have a realtek entry there | 11:48 |
janimo | 0bda:58f2 | 11:49 |
marvin24 | janimo: yes, that the camera ;-) | 11:49 |
marvin24 | wifi is microstar int. | 11:49 |
marvin24 | (with a realtek chip) | 11:49 |
janimo | mahmoh, then0db0:a871 | 11:50 |
janimo | that's the microstar | 11:50 |
marvin24 | ok, so forward to hw mod | 11:50 |
* janimo shudders | 11:50 | |
marvin24 | don't panic | 11:51 |
ogra_ | the mod itself isnt that hard | 11:51 |
janimo | not today thoug, I needed a tegra quick but if it means so much extra work I'll postpone | 11:51 |
ogra_ | opening the frame without breaking it is though | 11:51 |
janimo | ogra_, marvin24 ok I may try it | 11:51 |
janimo | sometime | 11:51 |
janimo | I use this device very little though | 11:51 |
ogra_ | janimo, dont you have a USB wlan NIC ? | 11:51 |
janimo | no | 11:52 |
ogra_ | might be the quickest way | 11:52 |
ogra_ | ah, k | 11:52 |
janimo | I used to, bu did not use it in 5 years | 11:52 |
janimo | probably lost already | 11:52 |
ogra_ | heh | 11:52 |
fabo | XavB: http://live.debian.net/manual/html/live-manual.en.html#440 | 13:32 |
fabo | XavB: or --apt-secure false | 13:35 |
XavB | fabo: thx, I will check that | 13:43 |
=== NekoXP is now known as Neko | ||
=== Ursinha is now known as Ursinha-afk | ||
=== Ursinha-afk is now known as Ursinha | ||
djszapi | ogra_: hey | 16:23 |
djszapi | I have just seen a boot.script file in /boot/ on a pandaboard having ubuntu on it... | 16:23 |
djszapi | is that fine? I mean people usually use menu.lst. | 16:24 |
ogra_ | menu.lst ? | 16:24 |
djszapi | just wondering because the kernel dump does not seem to come to the debug poirt... | 16:24 |
djszapi | port* | 16:24 |
djszapi | yes, definitely. | 16:24 |
djszapi | for grub, that. | 16:24 |
ogra_ | which panda image uses menu-lst ? | 16:24 |
ogra_ | or which arm image | 16:24 |
ogra_ | show me one | 16:24 |
djszapi | again | 16:25 |
djszapi | the kernel dump goes to the debug port on my own pandaboard with stock ubuntu stuff | 16:25 |
djszapi | it does not seem to work here. | 16:25 |
djszapi | I bet this is due to the boot.script file. | 16:25 |
djszapi | otherwise I just cannot imagine. | 16:25 |
djszapi | I have just tried terraterm and hyperterminal on my host ... | 16:25 |
djszapi | 115200 baudrate, proper COM port etc.. | 16:25 |
djszapi | ogra_: ^ | 16:27 |
ogra_ | did you google for "serial port panda ubuntu" yet ? | 16:28 |
GrueMaster | djszapi: Not sure what you are trying to do, but first off, no arm images that I am aware of have ever used grub or menu.lst. | 16:28 |
djszapi | GrueMaster: that is pointless. | 16:29 |
djszapi | I told what I am trying to do. | 16:29 |
GrueMaster | They mostly use uboot, an it uses boot.scr which is a crc signed boot script. | 16:29 |
djszapi | 17:25 < djszapi> the kernel dump goes to the debug port on my own pandaboard with stock ubuntu stuff | 16:29 |
djszapi | 17:25 < djszapi> it does not seem to work here. | 16:29 |
ogra_ | djszapi, seriously, thats a beginner task you are trying to do, that has been documented 100 times out there | 16:30 |
ogra_ | just goodle it | 16:30 |
ogra_ | 16:30 | |
djszapi | and I have used thousand times... | 16:30 |
djszapi | and the same stuff does not work... | 16:30 |
djszapi | not sure what to google about that one. | 16:30 |
djszapi | where I can find any result. | 16:30 |
djszapi | 17:25 < djszapi> I have just tried terraterm and hyperterminal on my host ... | 16:30 |
djszapi | 17:25 < djszapi> 115200 baudrate, proper COM port etc.. | 16:30 |
djszapi | should be the matter of baud rate speed and COM port nothing else... | 16:31 |
djszapi | if it is a beginner task, why does nobody know here? | 16:31 |
GrueMaster | djszapi: You need to enable the serial console in the boot.scr. Try ggogling for that. | 16:32 |
djszapi | GrueMaster: that should be enabled by default. | 16:33 |
djszapi | after flashing. | 16:33 |
ogra_ | no | 16:33 |
ogra_ | it is enabled by default in the server images only | 16:33 |
djszapi | yes, it worked previously by default after flashing. | 16:33 |
ogra_ | as documented | 16:33 |
ogra_ | never in ubuntu | 16:33 |
GrueMaster | No, it shouldn't. Not for desktop. | 16:33 |
djszapi | except that is it not desktop. | 16:33 |
djszapi | it * | 16:33 |
ogra_ | well, did you edit boot.script ? | 16:34 |
djszapi | no | 16:34 |
ogra_ | and does it have a console= entry | 16:34 |
ogra_ | in any case all server images up to 12.04 default to console | 16:35 |
ogra_ | and desktop images never has serial | 16:35 |
ogra_ | *had | 16:35 |
djszapi | ogra_: yes, I have. | 16:45 |
djszapi | console=tty02,115200n8 | 16:45 |
ogra_ | so that should put out kernel images to serial | 16:46 |
djszapi | I tried to modify that a bit | 16:46 |
djszapi | but the kernel does not seem to boot anymore... | 16:46 |
djszapi | it is stuck at the ubuntu and progress stuff screen... | 16:46 |
djszapi | any ways I can get it back to life? | 16:46 |
ogra_ | how did you modify ? | 16:47 |
djszapi | without reflashing? | 16:47 |
djszapi | console had a different value there. | 16:47 |
djszapi | and I modified to that value above. | 16:47 |
djszapi | as that was on the wikipage. | 16:47 |
ogra_ | the proper wy is edit /boot/boot.script and run sudo flash-kernel | 16:47 |
ogra_ | on the running installation | 16:47 |
djszapi | I just edited, and then sudo reboot. | 16:47 |
=== ojn` is now known as ojn | ||
ogra_ | that wouldnt have changed anything | 16:48 |
djszapi | which makes it nonbootable, frank... | 16:48 |
ogra_ | flash-kernel (like update-grub) is the thing that applies the changes to the bootloader | 16:48 |
ogra_ | so if you only edited /boot/boot.script you didnt make any changes at all to the bootloader | 16:48 |
ogra_ | ergo, your breakage is cause ny something else | 16:49 |
djszapi | maybe. | 16:49 |
djszapi | ogra_: does not still work after flash-kernel | 16:52 |
djszapi | still nothing on the debug port. | 16:53 |
djszapi | setenv bootargs rw vram=32M fixrtc mem=1G@0x80000000 root=/dev/mmcblk0p2 console=ttyO2,115200n8 rootwait | 16:53 |
djszapi | the file is using uuid here, and most likely mmcblk0p1 | 16:53 |
djszapi | should the console then be tty01? | 16:53 |
djszapi | is it an 'O' character or '0' number as zero? | 16:54 |
djszapi | I guessed the digit stuff. | 16:54 |
GrueMaster | OHH, not ZERO. | 16:54 |
GrueMaster | You can also add "ealryprintk=ttyO2,115200n8" for kernel boot messages prior to initrd. | 16:55 |
GrueMaster | Are you able to log into the booted system? | 16:55 |
djszapi | I do not need kernel stuff printed. | 16:56 |
djszapi | also, the wiki seems to need some improvement... | 16:56 |
GrueMaster | Which wiki? | 16:56 |
djszapi | to mention it is actually not a digit in there, but the character... | 16:56 |
djszapi | http://www.omappedia.com/wiki/OMAP_Ubuntu_Core | 16:56 |
GrueMaster | Ubuntu does not control that wiki. | 16:57 |
djszapi | not that ttyO2 would work though | 16:57 |
djszapi | like I asked, should it be ttyO1? | 16:57 |
djszapi | since the mmcblk0p2 stuff is also mmcblk0p1 in the reality. | 16:57 |
djszapi | it does not matter who controls that | 16:57 |
djszapi | the wiki has to be improved to avoid frustrations like this. | 16:58 |
GrueMaster | No. Two entirely different things. | 16:58 |
ogra_ | mmcblk0p1 cant be used for a rootfs | 16:58 |
ogra_ | it holds the bootloader data | 16:58 |
GrueMaster | And I had proper instructions on the ubuntu wiki. That is supported by the ubuntu arm team. | 16:58 |
djszapi | which page? | 16:59 |
djszapi | it does not work anyways | 16:59 |
djszapi | even with ttyO2 | 16:59 |
djszapi | further ideas? | 16:59 |
djszapi | can confirm it with hyperterminal and terraterm as well | 16:59 |
djszapi | is it really this hard to get a darn debug port up on a desktop image ?:O | 16:59 |
djszapi | shouldn't there be a ui action for this all | 16:59 |
djszapi | it should not be this painy. | 17:00 |
ogra_ | well, it isnt ... | 17:00 |
ogra_ | use a server image | 17:00 |
djszapi | it is out of my authority to reinstall anything | 17:01 |
djszapi | and to be honest, I would not do that for fun... | 17:01 |
ogra_ | well, then stop complaining | 17:01 |
djszapi | why is this hard to enable the damn kernel dump? | 17:01 |
djszapi | should be a checkbox in the settings, and everything done magically. | 17:01 |
ogra_ | it is enabled by default if you use the right image | 17:01 |
GrueMaster | Wait, are you trying to enable a serial console port for post-boot debugging? | 17:02 |
djszapi | no | 17:02 |
djszapi | I am trying to enable the damn prompt and so forth | 17:02 |
djszapi | to get a reasonable development environment where I do not have to switch the damn keyboard and mouse forth and back. | 17:03 |
djszapi | between the board and my computer since that is just stupid. | 17:03 |
djszapi | aka. to actually develop on the board. | 17:03 |
GrueMaster | Do you need the desktop environment on the panda? If not, then use the server image. If so, hook up a keyboard and mouse and develop on it like a normal desktop. | 17:04 |
djszapi | looks super painy so far... | 17:04 |
djszapi | like I said several times, it is not my scope to change anything in the system. | 17:04 |
GrueMaster | This is not an embeded environment. | 17:04 |
djszapi | and surely, we would not like to get such a risk in a commercial project by any mean before the deadline. | 17:04 |
djszapi | I do not know what you are talking about :D | 17:05 |
djszapi | the world is not black and white. | 17:05 |
djszapi | yes, there are embedded environment with UI without being desktop or server... | 17:05 |
GrueMaster | Not in Ubuntu. | 17:05 |
djszapi | environments* | 17:05 |
GrueMaster | THis is not an embedded distro. | 17:05 |
djszapi | it is not Ubuntu specific | 17:06 |
djszapi | it is a generic requirement. | 17:06 |
djszapi | and no, server install will have other pains with ui... | 17:06 |
djszapi | so it is a quite unreasonable choice it would be. | 17:06 |
djszapi | so ubuntu arm is not recommended for embedded? | 17:06 |
djszapi | shall I take it so? | 17:06 |
GrueMaster | how so? use server image, install ubuntu-desktop, done. | 17:07 |
djszapi | HAHAHA | 17:07 |
djszapi | server and install desktop :D | 17:07 |
hrw | hard to consider pandaboard as embedded | 17:07 |
djszapi | reasonable thingie instead of desktop install directly :D | 17:07 |
GrueMaster | And no, ubuntu-arm was not designed for the embedded environment. | 17:07 |
djszapi | hrw: then your imagination is weak :D | 17:07 |
hrw | djszapi: grab debootstrap, create minimal rootfs. add kernel to it, boot pandaboard | 17:08 |
djszapi | just look around, android, touch screen devices, etc | 17:08 |
GrueMaster | Not entirely unreasonable. When I did QA on ubuntu, I would test this all the time. | 17:08 |
djszapi | full of embedded stuff | 17:08 |
hrw | djszapi: for me arm926 is embedded | 17:08 |
djszapi | to be honest, I do not care about any flamewar what is embedded or not. | 17:08 |
hrw | djszapi: I started using linux on ARM in 2004 on strongarm | 17:08 |
djszapi | and like I said several times by now, why on earth arguing about something I cannot do? | 17:08 |
djszapi | why not just get the damn serial port work? | 17:08 |
djszapi | everything else is hijack and unproductive. | 17:09 |
djszapi | hrw: I started around 2000 | 17:09 |
djszapi | anyway, this does not still work and I ran out of the ideas... | 17:09 |
hrw | djszapi: edit /boot/boot.* to set console=ttyO2, edit /etc/inittab to enable getty - or rather go to /etc/init/ and make copy of tty1.conf as ttyO2.conf and adapt it | 17:10 |
GrueMaster | If you want boot logging for the serial port, you have the boot.script modifications. If you want a serial log in, you need to create an /etc/init/ttyO2.conf with the proper settings. Simple. | 17:10 |
djszapi | GrueMaster: where is that even documented? | 17:10 |
hrw | djszapi: so 12 years in embedded linux and you have such silly problems? | 17:10 |
hrw | djszapi: aren't you from management not development teams? | 17:11 |
djszapi | hrw: please stay civil. | 17:11 |
GrueMaster | djszapi: Please understand, it is very difficult to help when you really haven't stated what you are trying to do. If you are trying to do remote gdb with the serial port, google it (using ttyO2 instead of ttyS0 in the instructions). It isn't rocket science. | 17:13 |
djszapi | I honestly do not know how I can say more clearly I wanna have a development environment instead of switching my keyboard and mouse just like I said above. | 17:14 |
djszapi | what is unclear about this? | 17:14 |
GrueMaster | Panda uses ttyO2 for the 9 pin serial port. YOu don't need a null modem cable, just a 9 pin serial cable from your desktop system. A usb to 9 pin will just plug in and work. | 17:14 |
djszapi | Everybody knows doing that, and editing files directly on a board, is just super painy. | 17:14 |
GrueMaster | Why not use vnc or ssh? Faster than serial port anyways? | 17:14 |
djszapi | yeah and a publicly usable network will be born here off-hand... | 17:15 |
djszapi | out of the thin air... | 17:15 |
GrueMaster | Take a network cable, plug one end into your panda, the other into your desktop/laptop. Simple. | 17:16 |
GrueMaster | Basic network 101. | 17:16 |
djszapi | yeah, how glorius to lose the network on my host PC in the meantime... | 17:16 |
djszapi | genius "Basic network 101" idea... | 17:16 |
GrueMaster | So, plug in a network switch. Duh. | 17:17 |
djszapi | ah yes, getting simpler! | 17:17 |
djszapi | more and more factors, please! | 17:17 |
djszapi | instead of a simple usb-serial dongle... | 17:17 |
GrueMaster | The Ubuntu Desktop image for arm is exactly that, a desktop image. If you want to develop on it, you do it the same as you would an x86 desktop. | 17:18 |
GrueMaster | And I already told you how to use the serial console. | 17:18 |
hrw | djszapi: please. explain 'a development environment' | 17:20 |
hrw | djszapi: you got info how to connect and use serial console | 17:20 |
hrw | djszapi: how to connect ethernet network | 17:20 |
hrw | djszapi: you can even boot panda over nfs, nbd, aoe, iscsi | 17:21 |
djszapi | no, I did not get unvague information so far. | 17:21 |
hrw | djszapi: please. explain 'a development environment' then. in simple 20 words | 17:21 |
djszapi | none that would make sense to me so far. | 17:21 |
djszapi | actually I asked for documentation where it is described and I got ignored for that question. | 17:21 |
hrw | and then we can continue discussion. | 17:21 |
djszapi | and no, there is no /etc/init/ttyO1.conf so nothing to adapt... | 17:21 |
hrw | djszapi: consider most people here as desktop users ok? | 17:21 |
djszapi | so that suggestions was actually incorrect... | 17:21 |
djszapi | suggestion* | 17:22 |
hrw | djszapi: mv /etc/init/tty1.conf /etc/init/ttyO2.conf and edit? | 17:22 |
ogra_ | eeek | 17:22 |
ogra_ | dont mv :) | 17:22 |
hrw | ops, cp ;D | 17:22 |
ogra_ | cp please :) | 17:22 |
hrw | ogra_: for headless it does not matter anyway | 17:23 |
hrw | djszapi: please. explain 'a development environment' then. in simple 20 words. | 17:23 |
djszapi | hrw: read above. | 17:23 |
ogra_ | thats like ten pages :P | 17:23 |
ogra_ | he said 20 words | 17:23 |
hrw | djszapi: your discussion is over 10 pages | 17:23 |
hrw | djszapi: if you are unable to tell what you need in 20 words then it is useless discussion | 17:24 |
hrw | "I want to boot Ubuntu on pandaboard, have serial connection and a way to alter rootfs while it is running" - 20 words for one usecase | 17:24 |
djszapi | honestly, I do not know what makes you doubt. | 17:25 |
hrw | djszapi: I would like to help but reading 10 pages of discussion is waste of time | 17:25 |
djszapi | I would like to develop a software on my host machine while being on the board. | 17:25 |
djszapi | what is so hard to imagine about it? | 17:25 |
djszapi | like I said, switching keyboard and mouse is not fun. | 17:25 |
ogra_ | nwhy would that need serial ? | 17:25 |
djszapi | because I can have a prompt? | 17:26 |
hrw | so install ubuntu on board, use cross compiler on desktop and scp/ftp/nfs/whatever files between them? | 17:26 |
djszapi | *sigh* | 17:26 |
GrueMaster | So, buy another mouse/keyboard. THey're cheap. | 17:26 |
hrw | djszapi: and 'ssh pandaboard.local' is so hard? | 17:26 |
djszapi | I wonder if people kid with me here. | 17:26 |
djszapi | like "So, buy another mouse/keyboard. THey're cheap. | 17:26 |
djszapi | " | 17:26 |
GrueMaster | No. No one is kidding. We're just getting frustrated. | 17:27 |
djszapi | and one would still need to switch the hmi and monitor anyways. | 17:27 |
djszapi | so that is just a big no go by its nature. | 17:27 |
GrueMaster | We have given you all the solutions. | 17:27 |
djszapi | hrw: ssh with thin air? | 17:27 |
djszapi | it can go through? | 17:27 |
ogra_ | sudo apt-get install openssh-server | 17:27 |
djszapi | GrueMaster: no, there was none given | 17:27 |
hrw | djszapi: ethernet is too expensive? | 17:27 |
ogra_ | ssh into your board and be happy | 17:27 |
GrueMaster | Why can't you put it on your network? | 17:27 |
djszapi | I asked for a documentation twice and both were ignored. | 17:27 |
djszapi | hrw: ethernet without a networjk? | 17:27 |
djszapi | network* | 17:27 |
hrw | djszapi: sorry, I did not know that your development costs have to be under 1€ | 17:28 |
GrueMaster | Panda has both wifi and ethernet. | 17:28 |
djszapi | hrw: huh? | 17:28 |
* djszapi thinks people got into kidding | 17:28 | |
hrw | djszapi: ever heard of usbnet? just microusb cable needed and a bit of configuration | 17:28 |
hrw | or miniusb - I do not remember panda connector for otg | 17:28 |
djszapi | hrw: how on earth is that simpler than a proven serial port connection with usb-serial dongle? | 17:29 |
djszapi | especially if that is at hand... | 17:29 |
djszapi | it does not use microusb | 17:29 |
ogra_ | well, or just enable serial | 17:29 |
hrw | djszapi: so connect that FUCKING adapter, edit one FUCKING file and live with it! | 17:29 |
djszapi | and no, the phone cables are not good for this, like N9 | 17:29 |
ogra_ | hrw, ! | 17:29 |
hrw | jesus. | 17:29 |
djszapi | so no, i tis a big no go without a cable right now, especially when I have serial-usb dongle. | 17:29 |
GrueMaster | djszapi: YOu will need to create an /etc/init/ttyO2.conf file then. Sorry for the inconveinience, but this is easily done with a keyboard/mouse/monitor. | 17:30 |
djszapi | fourth time: documentation? | 17:30 |
hrw | my 4.5y daughter would understand how to develop linux kernel drivers in shorter time | 17:30 |
* djszapi will get ignored again most likely | 17:30 | |
ogra_ | yes | 17:30 |
GrueMaster | Fifth time. GOOGLE. | 17:30 |
ogra_ | the way you behave isnt pleasant | 17:30 |
ogra_ | so people arent likely to help you | 17:30 |
* hrw -> moleman 2 movie. demoscene is more interesting | 17:30 | |
djszapi | isn't pleasant to reject ethernet when it is impossible to use? | 17:30 |
djszapi | is pleasant* | 17:30 |
djszapi | yes, that is very unpleasant. | 17:31 |
djszapi | sorry, cannot do anything about it, I am afraid. | 17:31 |
GrueMaster | djszapi: How do you normally do desktop development on a remote system? Apply the same principles here. | 17:31 |
hrw | djszapi: pandaboard has: serial (very easy to get login on it and we told that atleast 3 times), otg usb port (easy to get usb networking over it with simple mini/microusb cable), ethernet (with second network card in pc or switch it works), wifi (with accesspoint or hostap on laptop/desktop it works) - each of them can get running in <10 minutes | 17:32 |
hrw | most of them with information which was on this channel during last hour | 17:32 |
djszapi | to be fair, even this documentation I linked previously had no information: http://www.omappedia.com/wiki/OMAP_Ubuntu_Core | 17:32 |
djszapi | that is about google .... | 17:33 |
djszapi | 1) I did not get documentation, no. | 17:33 |
GrueMaster | On your panda, to enable a serial login prompt, you need to create a /etc/init/ttyO2.conf (easiest is to copy an existing one) and have "exec /sbin/getty -8 115200 ttyO2" in it. Then reboot. | 17:33 |
djszapi | 2) I do not have miniusb cable here now, but I have serial-usb dongle | 17:33 |
djszapi | 3) I do not have hostap at all on the host. | 17:33 |
GrueMaster | See my above instructions. If you don't care to follow them, I CAN"T HELP YOU. | 17:34 |
djszapi | I provided the google result, so then again: what documentation if even the OMAP Ubuntu ARM documentation is untrustworthy regard to this? | 17:34 |
djszapi | Shall I say again, it could have a room for improvement? | 17:34 |
hrw | even http://www.omappedia.com/wiki/OMAP_Ubuntu_Core describes how to get panda running with ubuntu. a bit overworked way but easy one | 17:34 |
djszapi | the task is NOT to get panda running with ubuntu | 17:35 |
hrw | just follow steps. do not think, follow | 17:35 |
djszapi | the task is to get a login prompt over the serial port. | 17:35 |
hrw | djszapi: this page describes that as well | 17:35 |
djszapi | and no, that is not documented there as "suggested" above. | 17:35 |
hrw | http://www.omappedia.com/wiki/OMAP_Ubuntu_Core#Getting_a_Terminal_on_the_same_serial_port_as_for_the_console | 17:35 |
djszapi | 18:35 < djszapi> and no, that is not documented there as "suggested" above. | 17:35 |
djszapi | that writes an entirely different thing | 17:35 |
djszapi | no /etc/init/tty02.conf mentioned there. | 17:36 |
djszapi | but perhaps my ctrl-f lies. | 17:36 |
hrw | djszapi: it uses other way for it ok? more complicated one | 17:36 |
djszapi | that is what I was saying... | 17:36 |
djszapi | from the beginning... | 17:36 |
* hrw -> movie | 17:36 | |
djszapi | and that is why I asked the damn documentation about the "not so complicated one"... | 17:36 |
hrw | have a nice weekend djszapi | 17:36 |
djszapi | it is not any close to weekend yet :D | 17:37 |
* GrueMaster goes back to day job. | 17:37 | |
djszapi | http://omappedia.org/wiki/PandaBoard_Ubuntu_How-tos#How_to:_set_up_a_console -> this should have linked an hour ago | 17:38 |
djszapi | and not still convincing do the "more complicated one". | 17:38 |
djszapi | this is not really helpful for novices. | 17:39 |
GrueMaster | What is wrong with the instructions I just gave you? If you are a developer, surely you know how to edit a text file. | 17:39 |
djszapi | edit to what? | 17:41 |
djszapi | I am a mind reader how it works on ubuntu arm for pandaboard? | 17:41 |
djszapi | am I a wrong person if I would like to ask for a documentation that novices have to go through? | 17:42 |
djszapi | perhaps in this channel, yes. | 17:42 |
GrueMaster | [10:33:35] <GrueMaster> On your panda, to enable a serial login prompt, you need to create a /etc/init/ttyO2.conf (easiest is to copy an existing one) and have "exec /sbin/getty -8 115200 ttyO2" in it. Then reboot. | 17:42 |
GrueMaster | Do I need to do a presentation with slides? | 17:43 |
djszapi | is this the ubuntu arm way for user feedback? | 17:44 |
djszapi | if something is unclear I should not tell that? | 17:45 |
djszapi | and then you have to ask questions like "huh, n00b, do I have to make a presentation with slides"? | 17:45 |
GrueMaster | what is unclear from my instructions? | 17:45 |
djszapi | the whole | 17:45 |
djszapi | I would like to see a documentation what a person can check about the /full content/ of the file without coming to IRC. | 17:45 |
djszapi | but I posted that anyway | 17:45 |
djszapi | it may just have been more time for me than an experienced person here. | 17:45 |
ogra_ | feel free to write documentation if you are missing any | 17:46 |
djszapi | not to mention, it does not still work anyways. | 17:46 |
djszapi | empty hyperterminal and terraterm in the end | 17:47 |
ogra_ | works fine here | 17:47 |
ogra_ | using a server image | 17:47 |
djszapi | so I would still need help as I have no more clue... | 17:47 |
GrueMaster | And on my 5 pandas I have running at home. I can remotely log into my home network, and see every single one one from my serial console server. | 17:47 |
ogra_ | and guess what, it also works on the desktop image where i enabled it manually | 17:47 |
GrueMaster | I think the problem you are having is that you don't have your Windows system setup correctly. | 17:48 |
djszapi | means? | 17:48 |
GrueMaster | (since you are using hypertermial). | 17:48 |
djszapi | do nto know what you mean. | 17:49 |
GrueMaster | Try installing putty for Windows. It has better serial console support. | 17:49 |
ogra_ | GrueMaster, well, i guess his problem is that he doesnt use a proper ubuntu image | 17:49 |
GrueMaster | What are you running on your desktop image? | 17:49 |
ogra_ | better: how did that get installed ? | 17:49 |
djszapi | GrueMaster: UI applications, but that is pointless now. | 17:50 |
djszapi | I mean I have to get it work | 17:50 |
djszapi | so far it is more than an hour to get it work with help. | 17:50 |
GrueMaster | Or what OS is on your desktop (better question). | 17:50 |
djszapi | any other ideas why it does not work _now_? | 17:50 |
djszapi | Windows XP Professional 2002. | 17:50 |
ogra_ | if we knew how exactly you did set that system up probably | 17:51 |
ogra_ | (the panda not the win) | 17:51 |
GrueMaster | AHA! Finally progress. | 17:51 |
GrueMaster | Now, Download putty and install it on your XP system. | 17:51 |
djszapi | why? | 17:51 |
GrueMaster | ogra_: Problem is on Windows. | 17:51 |
djszapi | I would like to use hyperterminal or terraterm. | 17:51 |
ogra_ | GrueMaster, ah, k | 17:51 |
GrueMaster | Ok, fine. | 17:51 |
ogra_ | GrueMaster, but he doesnt want to get help | 17:52 |
GrueMaster | Make sure you have hyperterminal configured for the usb serial port then. | 17:52 |
* ogra_ guesses djszapi just wants to troll and goes back to do actual work | 17:52 | |
* GrueMaster ignores ogra for the moment. | 17:52 | |
djszapi | GrueMaster: heh, do you seriously think I did not? :D | 17:52 |
djszapi | I have even checked in the device manager in the very beginning. | 17:52 |
djszapi | ogra_: yeah, sure I would not like to solve it ... | 17:52 |
djszapi | friendly guess... | 17:53 |
ogra_ | GrueMaster, liek djszapi is ignoring my questions you mean ? :P | 17:53 |
GrueMaster | djszapi: Do you see anything in hyperterminal when you boot your panda? | 17:53 |
ogra_ | anyway, back to work | 17:53 |
djszapi | GrueMaster: nope | 17:53 |
GrueMaster | THen you don't have it configured properly. | 17:53 |
GrueMaster | PLain and simple. | 17:53 |
djszapi | how do you *really* know it is not a panda issue? | 17:53 |
GrueMaster | YOu should at least see uboot messages when you power on the panda. | 17:53 |
djszapi | I can verify this at least with two different terminal programs: hyperterminal and terraterm. | 17:54 |
djszapi | so I think it is rather a panda issue than windows terminals. | 17:54 |
djszapi | because it happens in both applications. | 17:54 |
GrueMaster | Because I used to do the QA for Ubuntu since '09 on arm systems. I also have 5 panda platforms, 2 Beagles, and a box of other systems. | 17:54 |
djszapi | which kinda makes me think, it is not the fault of one or the other. | 17:54 |
GrueMaster | And I now work at Intel and have setup multiple serial consoles to Intel server platforms. | 17:55 |
GrueMaster | So, I have plenty of experience in this. | 17:55 |
djszapi | so...? | 17:55 |
djszapi | you know everything? | 17:55 |
djszapi | every esoteric use cases? | 17:55 |
djszapi | either way, usb-serial port is COM3 | 17:55 |
djszapi | adn that is what I have setup up in the beginning as well anyways | 17:56 |
GrueMaster | No, only the realistic ones. | 17:56 |
djszapi | along with baud 115200 | 17:56 |
djszapi | I do nto think I should set up more than that. | 17:56 |
djszapi | I do not even know what can go wrong with those two setups. | 17:56 |
djszapi | I mean I set those, and done. | 17:56 |
GrueMaster | Do you have anything plugged in between the usb serial cable and the panda? | 17:56 |
djszapi | that should be done on the Windows side. | 17:56 |
djszapi | nope | 17:56 |
GrueMaster | Do you have anything else you can plug into the serial port to verify it works? | 17:57 |
djszapi | nope | 17:57 |
djszapi | but presumably I can make a short circuit for the TX/RX on the panda side.. | 17:57 |
GrueMaster | Note that I have seen a few bad serial cables in my time. | 17:57 |
GrueMaster | Why? THat won't solve anything. | 17:58 |
djszapi | it will | 17:58 |
djszapi | I will see if the cable works in the terminal | 17:59 |
djszapi | so IMHO it is a good verification for the cable. | 17:59 |
djszapi | 2-3 pins. | 17:59 |
GrueMaster | With the possibility of blowing out the serial controller on the panda. | 17:59 |
djszapi | huh? | 18:00 |
djszapi | it would not be connected to the panda that is the whole point... | 18:00 |
GrueMaster | Which Ubuntu image are you using on the panda? | 18:00 |
djszapi | to just test the cable... | 18:00 |
GrueMaster | Oh, then that may work. | 18:00 |
djszapi | weird nothing. | 18:02 |
djszapi | I should see what I type. | 18:02 |
GrueMaster | So...maybe bad cable? | 18:02 |
djszapi | it is a usb-serial dongle, but with two serials on that end. | 18:02 |
djszapi | and then there is a Reset A and Reset B button. | 18:03 |
djszapi | have not used such a cable so far. | 18:03 |
GrueMaster | What is the make/model of that cable? | 18:03 |
djszapi | but presumably it should just work if one serial is plugged. | 18:03 |
djszapi | no clue | 18:03 |
djszapi | according to the device manager it uses FTDI at least. | 18:03 |
GrueMaster | 2 9-pin connectors on one end? THen it should show up as two serial ports in device manager. | 18:04 |
djszapi | usb to dual serial converter | 18:04 |
djszapi | that is what is on the box. | 18:04 |
GrueMaster | right. I have a 4-port usb-serial cable at home. | 18:04 |
djszapi | Multi-Serial Station. | 18:05 |
GrueMaster | So try the other port, or change the port in hyperterminal. | 18:05 |
djszapi | I will take a screenshot :D | 18:06 |
djszapi | sorry, picture with my phone. | 18:06 |
djszapi | http://imagebin.org/232295 | 18:08 |
djszapi | http://imagebin.org/232296 | 18:08 |
GrueMaster | Like I said, it should show up as two ports in Windows (com3 & com4 likely). | 18:11 |
djszapi | that is not the problem | 18:11 |
djszapi | the problem is that it does not seem to work. | 18:11 |
GrueMaster | So if one doesn't work, try the other. | 18:11 |
djszapi | even for short circuit with my house key. | 18:11 |
GrueMaster | Are you sure? | 18:11 |
djszapi | yes | 18:11 |
GrueMaster | Can't help with that. | 18:11 |
djszapi | I should see what I type, but I do not. | 18:11 |
djszapi | ok now it works. | 18:12 |
GrueMaster | Good, now plug it into the panda and reboot the panda. | 18:12 |
djszapi | one of the ports seems to be broken... | 18:13 |
GrueMaster | If you don't see uboot messages, then something else is wrong. | 18:13 |
djszapi | I do not understand. | 18:14 |
djszapi | it works randomly :D | 18:14 |
GrueMaster | I would suggest getting a different serial-usb cable. | 18:14 |
djszapi | everybody knows that is the last thing one does in a company. | 18:15 |
GrueMaster | Not everyone. I always check everything before blindly blaming (and flaming) one group. | 18:16 |
GrueMaster | Eliminate all variables. Basic developer skill. | 18:16 |
djszapi | cable is the last thing to blame... | 18:16 |
GrueMaster | (and not just software/hardware development). | 18:17 |
djszapi | especially when it is a hassle to get a new one like here and at other many places... | 18:17 |
GrueMaster | Well, I don't know where "here" is for you, but amazon has good cables and fast delivery. | 18:17 |
djszapi | yeah, the panda is still broken | 18:18 |
djszapi | short circuit works just fine. | 18:18 |
djszapi | we do not have time for delivery. | 18:18 |
djszapi | that is the point. | 18:18 |
djszapi | not that poor devs would manage the ordering at a big company anyways | 18:19 |
djszapi | it has a bunch of communication chain anyways | 18:19 |
djszapi | which you really wanna avoid in a big company | 18:19 |
djszapi | lot of communication | 18:19 |
djszapi | either way: short circuit works, panda does not. | 18:19 |
GrueMaster | I work at Intel. It doesn't get much bigger. | 18:19 |
djszapi | it does, a supervisor has to escalate. | 18:20 |
djszapi | and someone has to approve that | 18:20 |
GrueMaster | And unless you can hook that serial cable up to another device and get it working, I am not rulling out the panda. | 18:20 |
djszapi | so it is at least a communication between three. | 18:20 |
GrueMaster | For a $10 cable? | 18:20 |
djszapi | anyways, the cable is not the artefact just like I thought. | 18:20 |
djszapi | for any cost, yes. | 18:20 |
djszapi | it is not the kindergarden :D | 18:20 |
djszapi | people do random stuff around as they wish. | 18:20 |
GrueMaster | You can rule it out because it works with your house key? | 18:21 |
djszapi | it has proper organization and unified processes to follow. | 18:21 |
djszapi | yes, I can rule out of course because it works fine for short circuit. | 18:21 |
djszapi | I can very confidentally rule that out. | 18:21 |
GrueMaster | I can very confidently not rule it out. | 18:22 |
djszapi | blaming a cable is easy even it poor cable has nothing to do with buggy software, os, etc. | 18:22 |
GrueMaster | You know what, I have tried to be more than patient here. I can't help you any more. | 18:23 |
djszapi | I think I got work finally. | 18:26 |
djszapi | it* | 18:27 |
djszapi | thank you for the help | 18:27 |
hrw | djszapi: but you have sd card with MLO and u-boot.bin on it in pandaboard's slot? | 18:29 |
hrw | cause pandaboard lacks any flash on board so without SD it is just dead on serial | 18:30 |
djszapi | I have sd card, yes. | 18:32 |
=== Ursinha is now known as Ursinha-afk |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!