#qi-hardware IRC log for Wednesday, 2011-05-25

vladkorotnevhello everyone :P02:57
vladkorotnevWhy do I get as: can't load library 'libopcodes-2.19.1.so' when trying to compile a C program with GCC?02:57
xiangfuvladkorotnev, you better update your gcc, the old gcc have small issue.03:09
vladkorotnevxiangfu: how? I used the instructions from the wiki03:10
xiangfuthe libopcodes not install correct. 03:10
xiangfuvladkorotnev, which wiki page?03:10
xiangfuvladkorotnev, then we maybe need update it :)03:11
vladkorotnevxiangfu: http://en.qi-hardware.com/wiki/Developing_on_the_NanoNote_in_C03:11
xiangfuvladkorotnev, just download, and run 'opkg install gc-mips_4.3.3-3_xburst.ipk'03:11
xiangfuin the wiki page, it's gcc-mips_4.3.3-2. try 4.3.3-3 and give some feedback, thanks.03:12
vladkorotnevI used 4.3.3-3 :/03:12
vladkorotnevI'll try anyway03:13
vladkorotnevbut how do I get out of centerIM?03:14
xiangfu /quit maybe03:14
xiangfucenterIM, just choose the 'done' twice will exit it03:15
xiangfu[mcabber] is /quit03:16
vladkorotnevI don't see done' :P03:16
xiangfuvladkorotnev, which screen you are in. I am in the 'IM account manager' there is 'change' and 'done'03:18
vladkorotnevkillall centerim over ssh helped :03:18
vladkorotnevStill doesn't work :(03:25
vladkorotnevroot@BenNanoNote:/card/tmp# gcc /tmp/hello.c -o hi03:25
vladkorotnevas: can't load library 'libopcodes-2.19.1.so'03:25
vladkorotnevxiangfu: still not working :(03:32
larscwhitequark: did you ever got mmc working on your board?03:54
xiangfuvladkorotnev, I am installing the gcc-mips and testing.04:06
vladkorotnevxiangfu: i tried installing it using opkg, but ran out of memory and the NN crashed04:06
xiangfustill instaling here.04:06
xiangfuvladkorotnev, works just fine. which version you using, (cat /etc/VERSION)04:08
vladkorotnevxiangfu: 2011-02-2304:10
qi-botThe build was successfull, see images here: http://fidelio.qi-hardware.com/~xiangfu/compile-log//home/xiangfu/compile-log//openwrt-xburst.full_system-05242011-0710/\nclose04:11
xiangfuvladkorotnev: you needs 'binutils' packages.04:16
xiangfuvladkorotnev, install that one. and try again.04:17
vladkorotnevxiangfu: already installed :P04:17
xiangfuthe libcodes. is belong ot 'binutils' package.04:17
qi-bot[commit] Benson Leung: gpio-charger: Add gpio_charger_resume http://qi-hw.com/p/qi-kernel/8e7191d04:17
qi-bot[commit] Lars-Peter Clausen: udc http://qi-hw.com/p/qi-kernel/6960c4504:17
qi-bot[commit] Peter Zotov: Add IRQ workaround for JZ4750 errata. http://qi-hw.com/p/qi-kernel/6edec9504:17
qi-bot[commit] Peter Zotov: Add RTC platform device support for JZ4750. http://qi-hw.com/p/qi-kernel/df1752a04:17
qi-bot[commit] Peter Zotov: MIPS: JZ47xx: Set up jz_gpio_chips in jz47xx_gpio_init. http://qi-hw.com/p/qi-kernel/277c69c04:17
qi-bot[commit] Lars-Peter Clausen: Use UART1 as the low level debug port on the JZ4760 http://qi-hw.com/p/qi-kernel/23b221104:17
qi-bot[commit] Peter Zotov: MIPS: JZ47xx: Generalize clock framework. http://qi-hw.com/p/qi-kernel/fc705e704:17
qi-bot[commit] Peter Zotov: Update JZ4740 UDC driver to use new JZ47xx clock system. http://qi-hw.com/p/qi-kernel/d8c91da04:17
qi-bot[commit] Peter Zotov: MIPS: JZ4750: Add support for UDC controller. http://qi-hw.com/p/qi-kernel/23d094904:17
qi-bot[commit] Peter Zotov: Add JZ4750 NAND driver. http://qi-hw.com/p/qi-kernel/8786de504:17
qi-bot[commit] Peter Zotov: Added MTD configuration for XZ0032 board. http://qi-hw.com/p/qi-kernel/0c2fd9f04:17
qi-bot[commit] Peter Zotov: Update JZ4740 framebuffer driver to support new header layout. http://qi-hw.com/p/qi-kernel/982290d04:17
qi-bot[commit] Peter Zotov: Add LCD support to JZ4750. http://qi-hw.com/p/qi-kernel/8e02a1104:17
qi-bot[commit] Lars-Peter Clausen: Merge remote branch 'remotes/whitequark/xz0032-wip' into jz47xx http://qi-hw.com/p/qi-kernel/4127a6004:17
qi-bot[commit] Lars-Peter Clausen: stash http://qi-hw.com/p/qi-kernel/9a83f4804:17
qi-bot[commit] Ignacio Garcia Perez: FIXED hideous bug in the special function pin configuration that pretty much broke it completely. http://qi-hw.com/p/qi-kernel/57230db04:17
vladkorotnevxiangfu: libcodes not found04:17
xiangfuvladkorotnev, you can check if there is any libopcodes under /usr/lib/?04:20
xiangfuvladkorotnev, are you intall this one ? : http://downloads.qi-hardware.com/software/packages/NanoNote/Ben/latest/binutils_2.19.1-3_xburst.ipk04:20
vladkorotnevxiangfu: libopcodes not present in /usr/lib. installed binutils is 2.19.1-304:21
xiangfuvladkorotnev,  this is strange. please try to download the link I give you. try again.04:22
xiangfuvladkorotnev, this problem is fixed by Jow. at 2011-03-07 23:56:0104:22
vladkorotnevxiangfu: now reinstalling binutils, then reinstalling gcc-mips.04:23
xiangfuvladkorotnev, so it's included by http://downloads.qi-hardware.com/software/packages/NanoNote/Ben/2011-05-22/ packages.04:23
xiangfuvladkorotnev, just bintuils is enough I think04:23
xiangfuvladkorotnev, back online later. see you.04:23
xiangfuvladkorotnev: is the last binutiles fix your problem?05:25
vladkorotnevxiangfu: it didn't05:25
vladkorotnevxiangfu: I untar'd the ipk of binutils and it didn't have any libs in there at all :P05:26
xiangfuoh. vladkorotnev is offline. I make a mistake, it's objdump package. :( http://downloads.qi-hardware.com/software/packages/NanoNote/Ben/2011-05-22/objdump_2.19.1-3_xburst.ipk05:33
qi-bot[commit] Xiangfu Liu: nanonote-files: config.full_system: include new packages http://qi-hw.com/p/openwrt-packages/05d74e105:52
qi-botThe build was successfull, see images here: http://fidelio.qi-hardware.com/~xiangfu/compile-log/05:53
whitequarklarsc: you may want to know that my jz47xx branch is now rebased on .39 and contains working i2c code (I've added a patch from one of our russian developers)06:35
whitequarklarsc: http://git.whitequark.org/xz0032-linux.git/log/?h=xz0032-2.6.39-dev06:47
lunavorax_frizzlHum, I'm having some troubles installing the gcc packages, it tells me it misses the binutils packages which can't be installed because it would overwrites some files from busybox which can't be updated because it would overwrite some files from hwclock... what ?10:11
xiangfulunavorax_frizzl: --force may help? before the 2011-05-22, there is some conflicts between busybox.10:20
lunavorax_frizzlOh a new image came out recently ?10:21
jow_laptopopkg -force-overwrite install ...10:21
lunavorax_frizzlOk jow_laptop just a moment10:22
xiangfulunavorax_frizzl: test, not stable yet, dvdk have give some feedsback. we needs fix those before release :)10:25
qi-bot[commit] Xiangfu Liu: [new package] dega: a emulator for sega master system and game gear which uses SDL http://qi-hw.com/p/openwrt-packages/938af2c10:27
lunavorax_frizzlOk xiangfu :) I was finding this weird since I flashed my nn on the 23rd10:27
lunavorax_frizzljow_laptop, ok it worked apparently, thank you very much !10:28
qi-bot[commit] Xiangfu Liu: nanonote-files: config.full_system: include new packages http://qi-hw.com/p/openwrt-packages/3f8b21c10:28
kyakxiangfu: seems that kinyin is not in the image :)10:42
xiangfukyak: yes. I think for now only me use it :)10:44
kyaknot at all10:44
kyaki use it for fun10:44
kyakanyway, you mentioned it in release note, so i wanted to have a look :)10:45
kyak08:11:47 <@qi-bot> The build was successfull, see images here:10:58
kyakxiangfu: did it actually close the connection? --10:58
kyakah i see you've fixed that already by adding -e :)11:00
kyakxiangfu: btw, fix-plplot-not-compile-in-buildhost.patch is not needed anymore in buildhost after this change: https://dev.openwrt.org/changeset/2627711:19
kyakhowever, there is another problem (not related to perl) with plplot..11:19
xiangfukyak: oh. I will remove that patch from buildhost.11:37
qi-bot[commit] Xiangfu Liu: climm: disable xmpp, make it compile http://qi-hw.com/p/openwrt-packages/c0d17b112:00
qi-bot[commit] Xiangfu Liu: climm: disable xmpp, make it compile http://qi-hw.com/p/openwrt-packages/4379b2c12:00
kristianpaulwhat do i need jikes?14:53
lunavorax_minihi again all15:46
vladkorotnevhello everyone :P15:59
vladkorotnevcould anyone please drop me their /usr/lib from ben nano note so I could set up gcc? It complains about libopcodes not present16:00
kyakvladkorotnev: it's a known bug that had been solved16:01
kyakupdate to the latest image16:02
vladkorotnevkyak: Yes, the wiki page has been updated today. I followed the guide on the wiki and it still doesn't work :(16:02
kyakwhat page?16:02
vladkorotnevOS image?16:02
kyakyo umean updating instructions?16:02
vladkorotnevI mean GCC instructions16:02
kyakgcc instructions in wiki - this one http://en.qi-hardware.com/wiki/Gccmips ? Looks pretty outdated and not relevant now that gcc-mips is packaged16:05
kyaki wonder what is your cat /etc/VERSION... it can't be very old16:06
kyakyeah, working fine in 2011-05-2216:13
kyakjust need to wget and opkg install gcc-mips manually (otherwise opkg hits the oom)16:14
kyaksmaller dependecies like mpfr are pulled automatically16:14
kyakbinutils and objdump (the one providing /usr/lib/libopcodes-2.19.1.so) are already part of the image16:15
vladkorotnevkyak: i'm back there16:20
kyakvladkorotnev: advice: update this thing16:20
vladkorotnevkyak: I used http://en.qi-hardware.com/wiki/Developing_on_the_NanoNote_in_C guide16:20
kyaknot relevant anymore, too16:21
vladkorotnevkyak: updated today :P16:21
kyaki might correct these instructions then..16:21
kyakvladkorotnev: cat /etc/VERSION16:21
vladkorotnevoh shi*...16:21
vladkorotnevgonna get to my debian pc and update16:22
vladkorotnevwhich method would you recommend?16:22
vladkorotnevBetter the one that won't erase my 2gb data partition:P16:23
kyak./reflash_ben.sh is the first method to try16:23
kyakyou don't have 2gb data partition, it's 1.5 Gb :)16:24
vladkorotnevkyak: won't it erase the data partition?16:24
kyakand it won't erase it16:24
vladkorotnevkyak: yes :P16:24
kyakbe sure to use ./reflash_ben.sh with "-d" key16:24
vladkorotnev-d is for what?16:24
kyaksee the update e-mail from xiangfu16:24
kyakvladkorotnev: http://lists.en.qi-hardware.com/pipermail/discussion/2011-May/008060.html16:25
kyakyou may as well update to 2011-05-24 :)16:25
kyakbe the first one to try16:26
vladkorotnevoh, it's yesterdays image :) fresh :)16:26
vladkorotnevwhere do I get the todays image? I wanna try :D16:26
kyakmeanwhile, i updated the wiki page.. no need to jump around string/binutils/objdump now16:26
kyakvladkorotnev: are you reading the e-mail?16:27
vladkorotnevoh, I need to use ./reflash_ben.sh -d 2011-05-24 right?16:27
kyakah, not quite16:27
kyakthe script will try to pull it from another place16:27
vladkorotnevthen how do I install todays image?16:28
kyakok, let's do it step by step16:28
vladkorotnevkyak: ok16:28
kyakgo to http://fidelio.qi-hardware.com/~xiangfu/compile-log/openwrt-xburst.full_system-05242011-0710/16:28
kyakget openwrt-xburst-qi_lb60-uImage.bin, openwrt-xburst-qi_lb60-u-boot.bin, openwrt-xburst-qi_lb60-root.ubi.bz216:29
kyakyou need three files16:29
kyaki'll be doing it in parallel to be sure :)16:29
vladkorotnevwhetting the ubi.bz2 now16:30
vladkorotneveta 4m16:30
kyak40 s :)16:30
vladkorotnev372K/s :( IDK why, I usually have around 5MB/s16:31
kyakput these three files in one directory, e.g. ~/ben/2011-05-2416:31
vladkorotnevI put them into /nanonote, along with the reflash_ben.sh16:31
kyakbtw, you do have usbboot installed?16:31
vladkorotnevyes of course16:32
kristianpaulhi 16:33
vladkorotnevkyak: btw, I am walking away to my pc from my mac to do the commands, that's why my replies may take a bit long16:33
vladkorotnevkristianpaul: hi16:33
kristianpaulany one with experience setting up the spi or bitbang driver for ENC28J60 in linux?16:33
vladkorotnevkyak: images finished dl'ing :P16:34
vladkorotnevkyak: what next?16:35
kyakvladkorotnev: nice, now see how i modified the reflash_ben.sh:16:35
vladkorotnevkyak: where?16:36
kyakoh, before, bzip2 -d openwrt-xburst-qi_lb60-root.ubi.bz216:36
kyakone sec...16:36
kristianpaul"you may need patch the upstream packages for compile fine. please read the README-**. for example: " what?16:36
kristianpaulthis information still valid?16:37
kyakvladkorotnev: http://dpaste.com/546447/16:38
kyaknote that PROTOCOL, VERSION and WORKING_DIR are changed16:38
kyakafter you unbzip2'ed the openwrt-xburst-qi_lb60-root.ubi.bz2, you can just run ./reflash_ben.sh :)16:39
kyaki'm seeing the progress now16:39
vladkorotnevWORKING_DIR needs to point to where?16:39
kyakto directory where you put these three files16:39
kyakit's ~/ben/2011-05-24 in my case16:39
kristianpaulnah, better compile kernel alone.. :-)16:39
vladkorotnevkyak: done16:40
vladkorotnevkyak: now plug in and run?16:40
kyakpower Ben on while holding "U" key16:41
vladkorotnevkyak: yeah I know16:41
kyakok, then just run16:41
vladkorotnevkyak: ok, it's processing16:44
vladkorotnevkyak: flashing rootfs16:44
kyaknice :)16:44
vladkorotnevkyak: If i'll want to flash Jlime, will modding the .sh work?16:45
kyakvladkorotnev: could you paste the bootloader flashing output? i'm wondering if it was Done:  1/2 or Done:  2/2?16:45
vladkorotnevboot loader was Done: 1/216:46
kyakheh, just like me.. that's not good16:46
vladkorotnevkyak: what?16:46
kyakyou will have problems when trying to boot from other partitions, like uSD card16:47
vladkorotnevkyak: I don't care, I don't use them16:48
kyakit's usbboot bug16:48
vladkorotnevbtw, why doesn't mmcblk0 appear in /dev if TF card is inserted when the NN is off?16:49
kyakvladkorotnev: here's that bug http://lists.en.qi-hardware.com/pipermail/discussion/2011-March/007539.html16:49
kyakso i just reflash the bootloader afterwards using older usbboot16:49
vladkorotnevkyak: if it only affects booting from TF cards, then I don't need it ;)16:50
kyakvladkorotnev: though i heard about this problem with mmcblk0, i never faced it16:50
kyaki have 256 Mb card working as swap and a small partition16:50
kyakand no problems when it was already inserted before Ben boots16:51
kyakguess it could be card-specific problem16:51
vladkorotnevkyak: I just wrote a shell script "mountall" that asks for reinserting SD and then mounts it and the data 1.5gb partition 16:51
vladkorotnevkyak: I use a 256mb nokia card16:51
vladkorotnevNO NO PC DONT SLEEP!!! FFFFFUUUUU16:51
kyakvladkorotnev: heh, exactly like me :)16:51
kyakit's weird, i dont have this problem.. let's see your dmesg right after boot16:52
vladkorotnevkyak: dmesg on the NN or wit?16:53
kyakyeah, on Ben16:53
kyakDone:  556/75116:56
vladkorotnevkyak: 384/75116:57
vladkorotnevkyak: the pc is old :(16:57
kyakthe flashing progress is limited by something else, not pc.. Or is yours that old? :)16:58
vladkorotnevkyak: not that much. ICH7 chipset, GMA950 video, Centrino Duo 1.5GHz CPU, 1.5GB RAM, Debian Linux. No LCD because it was cracked and I removed it, turning it into a ZX-Spectrum-alike desktop PC (I call it Halfbook -- because it's a half of a notebook :P)17:01
kyakyou can call it a keyboard as well ;)17:01
vladkorotnevkyak: when it was running Mac OS X 10.6.7 I posted a photo of it on twitter with title "The prototype of the successor of the Mac mini& The Mac Keyboard!" :D17:02
kyaknice :)17:07
kyakvladkorotnev: give it a minute or so at first boot, it will finish some first-boot tasks17:07
vladkorotnevkyak: here it is, on my desk (photo's a little blurry) http://www.cl.ly/2j3n2B1G2M01340k0D3W :D17:07
vladkorotnevkyak: it didn't finish flashing yet17:08
kyaklooking good :) and your record book, too :)17:09
vladkorotnevkyak: lol17:09
vladkorotnevkyak: btw it's the chemistry paper in the middle of the desk, lol17:09
vladkorotnevkyak: it says reboot device&done, and the NN screen is black17:10
kyakstill black?17:10
vladkorotnevkyak: yes17:10
kyakshouldn't be..17:11
vladkorotnevkyak: reboot manually?17:11
vladkorotnevkyak: pulling out the battery or how?17:11
kyakpress the small reset switch at the back17:11
vladkorotnevkyak: i did the battery trick, now it's booted to the gmenu2x17:12
vladkorotnevI wonder if it's possible to have dmenu17:12
vladkorotnevI like it's PSP style :P17:12
kyakso.. you can ssh into it now and check if it's the latest vesion and install gcc-mips :)17:13
whitequarkvladkorotnev: do you know another similar tools? gmenu2x is, ahem, a bit specific17:13
vladkorotnevwhitequark: only menu. it's photo was somewhere on the wiki17:14
whitequarkdmenu requires X, and my device does not have a touchscreen nor a keyboard17:15
vladkorotnevwhitequark: what's the device you're using?17:16
kyakvladkorotnev: you need to edit /etc/opkg.conf to point to the http://fidelio.qi-hardware.com/~xiangfu/compile-log/openwrt-xburst.full_system-05242011-0710/packages/ instead of http://downloads...latest17:17
vladkorotnevkyak: why?17:17
kyakbecause it's older versions of packages in the latest now17:17
kyakit's not been moved yet17:18
vladkorotnevkyak: done, setting up internet and testing in a moment17:20
kristianpaul!top 2017:25
whitequarkvladkorotnev: Americhip Video-in-Print device, it's jz4725B/32M/1G with 480x272 screen17:32
whitequarkand it is almost free17:32
vladkorotnevwhitequark: lol, I know these. From Vogue or Playboy magazine? :P17:33
vladkorotnevwhitequark: you can solder buttons to the pcb and have the same controls as dingo has AFAIR17:34
kristianpaulwhitequark: usb host?17:34
whitequarkkristianpaul: sadly, no17:34
kristianpauljust client?17:34
whitequarkyeah, 2.017:34
kristianpaulfor usbbot17:34
whitequarkwell, I use jzboot which was recently merged with xburst-tools17:35
whitequarkkristianpaul: one UART and there is 1-bit SD/MMC free17:35
vladkorotnevdoes anybody know where to get menu for the Ben NN?17:35
whitequarkkristianpaul: other, 4-bit one is multiplexed (i.e. unaccessible) with NAND17:35
kristianpaulvladkorotnev: gmenu2x?17:36
whitequarkkristianpaul: or maybe there is some magic which allows to use them simultaneously, but I don't know and it is not in kernel sources17:36
vladkorotnevkristianpaul: dmenu. Stupid MacOS autocorrect !17:36
kristianpauldmenu is still included? you mean the one from digux rigth?17:37
vladkorotnevI think yes17:37
kristianpaulthat was included time ago, dunno if currently still on repo..17:38
vladkorotnevkristianpaul: it isn't :(17:41
kyakvladkorotnev: if dmenu is running in X, no chance it will work in openwrt (at least right now)17:41
kristianpauldont you like gmenu2x?17:41
vladkorotnevkristianpaul: not that much. I think i'll turn itoff17:42
kristianpaulwhat you dont like from gmenu2x?17:43
kristianpauland like from dmenu instead?17:43
vladkorotnevkristianpaul: lack of good design. dmenu looks like PSP menu and has animations AFAIR17:43
vladkorotnevbtw, is NN with todays image supposed to turn off the LCD after a certain period of inactivity?17:44
vladkorotnevroot@BenNanoNote:/data/tmp# gcc test.c -o test17:47
vladkorotnevroot@BenNanoNote:/data/tmp# ./test17:47
vladkorotnevOh hai!17:47
vladkorotnevYAY! :D17:47
kristianpaulnow, whats next? ;-)17:48
vladkorotnevbtw, I got HElliZER demo running on my NN17:48
vladkorotnevNow, I'll start porting FIDOIP over to the Ben, I got an idea of using the Ben as a FIDO-Pager from FIDONet area RU.FIDONET.TODAY. I think that would be great :P17:49
vladkorotnevdoes anyone remember FIDONet these days? :)17:50
kristianpauli discover irc just 2 years ago ;)17:50
kristianpauli do remenber pagers, yes17:51
kristianpauloh fido !Z!!17:51
vladkorotnevI discovered FIDONet this winter, though the peak of its popularity in Russia was in 1995-199717:51
kristianpaulyeah i read about that 17:51
kristianpaulabout passing/realying data trought humans?17:51
kristianpaulor sort of that?17:51
vladkorotnevwhat??? I can't understand that: "about passing/realying data trought humans?" :/17:52
kristianpaulsorry, i first calm down17:52
kristianpaulbetter :-)17:52
vladkorotnevBtw, if anyone from here is still on FidoNet -- Netmail me :D 2:5020/12000.64 :)17:53
vladkorotnevIs the NN serial connection available from software?17:55
kristianpaulbut not enterelly by hardware17:56
kristianpaulby default17:56
vladkorotnevFFFUUUUUUUUUU sat on my MacBook Pro. Getting kicked in the a$$ with a 17-inch piece of aluminum hurts :(17:57
vladkorotnevkristianpaul: it needs a TTL-RS232 adapter right?17:58
kristianpaulbefore that some wires need to be routed, but yes17:58
kyakvladkorotnev: when you have a Makefile for your port, feel free to post it in mailing list to include in next release :)17:58
vladkorotnevthen it'd be a good idea to also make a dock for modem connection for OldSchool FIDO-users :D17:59
vladkorotnevkyak: it uses shell scripts instead of makefiles17:59
kristianpaulin openwert you should disable a getty in /etc/inita17:59
kristianpaulin openwrt also, you should disable something /etc/inittab so you can use /dev/ttyS017:59
kristianpaulserial thing is for fido right?17:59
kyakvladkorotnev: that wouldn't be reproducable then for users of openwrt toolchain/SDK18:00
vladkorotnevkristianpaul: for modem18:00
vladkorotnevkyak: it's compiled on the NN itself18:00
kristianpauland the tranceiver part?18:00
vladkorotnevkyak: and it's not my idea to use shell scripts ;)18:00
kyakvladkorotnev: compiling on Ben is fine, but it wouldn't be a package for others to use :)18:01
vladkorotnevkristianpaul: what transceiver? I am talking about the usual old school phone modems18:01
kristianpauloh sorry..18:01
vladkorotnevkristianpaul: btw, where can I get schematics for all those neat adapters like VGA, TTL-RS232, etc? 18:02
vladkorotnevroot@BenNanoNote:/data/fidoip# ./fido_linux.sh root18:03
vladkorotnevHome directory of user root doesn't exist. If your login is root then your home directory should be in /home/root.  OH WTF? Why does it need that in this particular location...18:03
vladkorotnevwhoami: not found -- why?18:04
kristianpaulyou are not :-)18:05
kristianpaulwellcome to openwrt ;-)18:05
vladkorotnevcoreutils to the rescue :)18:05
kristianpaulare you going to compile all that?18:06
vladkorotnevno, using opkg :)18:06
vladkorotnevfidoip -- yes :)18:06
kristianpaulah, dint knew it gnu coreutils was in openwrt repos..18:06
vladkorotnevmake: not found -- Why I always forget something& *sigh*18:06
kristianpaulhttp://projects.qi-hardware.com/index.php/p/ben-blinkenlights/source/tree/master/ubb-vga (VGA)18:07
kristianpaulabout TTL-RS232 dont know, well i just bought the board onces..18:07
kristianpauland latelly the popular ftdi adapter18:07
kristianpaulbtw ben serial port is not TTL as works with 3.3V18:09
kyakkristianpaul: you thought there was no coreutils in openwrt? That's more than underestimation :)18:10
vladkorotnevok thanks18:10
kristianpaulkyak: well, i tought in keep things simple with openwrt..18:10
kristianpaulbut good too gnu "familly" is there :-)18:10
kristianpauls/too/too see18:10
vladkorotnevkristianpaul: I was also amazed by this, but in iPhoneOS instead of OpenWRT :)18:11
vladkorotnevroot@BenNanoNote:/data/tmp# opkg install *18:11
vladkorotnevInstalling make (3.81-1) to root...18:11
vladkorotnevConfiguring make.18:11
vladkorotnevCollected errors:18:11
vladkorotnev * gz_close: Unzip process killed by signal 9.18:11
vladkorotnev * pkg_get_installed_files: Error extracting file list from make_3.81-1_xburst.ipk.18:11
vladkorotnev * opkg_install_pkg: check_data_file_clashes_change() failed for for files belonging to make.18:11
vladkorotnevOh wtf...18:11
kristianpaulour of memory perhaps?18:12
vladkorotnevisn't there ncurses-devel in openwrt?18:14
kristianpaulyeah, i wanted to said store and forward18:14
vladkorotnevFilesystem           1K-blocks      Used Available Use% Mounted on18:15
vladkorotnevubi0:rootfs             471192    387876     83316  82% /    Oh f--k&18:15
kyakdvdk: hi! i don't want to bother you, but plplot fails to build in trunk -\ So, when you feel like it, could you have a look? I'm totally lost in plplot's Makefile :)18:18
vladkorotnevI ran out of memory on root& great..18:23
vladkorotnevany files I can delete safely from the / ?18:23
kyakhow did you do that? :)18:25
kyakinstalled what?18:26
vladkorotnevI store _my_files on /data and /card18:26
kyakrm the downloaded gcc-mips package18:26
vladkorotnevInstalled gcc18:26
vladkorotnevwhere is it located18:26
kyaki mean the ipk - where you downloaded it18:26
vladkorotnevI dl'd it to /card18:26
kyaknah, it's 82% in your rootfs18:27
kyakwhy are you saying you ran out of space?18:27
vladkorotnevbecause opkg doesn't work18:27
vladkorotnevroot@BenNanoNote:/# find *.ipk18:28
vladkorotnevfind: *.ipk: No such file or directory18:28
vladkorotnevI can't find any ipk's on /18:28
kyakthat's not correct usage of find, whatever you are trying to achieve..18:28
kyakyou dl'ed it to card, so don't bother18:29
kyakdunno what's your problem18:30
vladkorotnevshow me your df output pls18:30
kyakubi0:rootfs             471192    401004     70188  85% /18:31
kyakwhat's your exact command?18:31
kyaki see "opkg install *"18:31
kyakit's clearly oom18:32
kyakif the package is too big, first wget it, then install18:33
kyakalso quit gmenu2x18:33
kyakthis thing eats 6-7 Mb18:33
kyakor setup swap18:33
vladkorotnevkillall gmenu2x ok?18:33
vladkorotnevor how..?18:33
kyakno, it wouldn't work..18:34
kyakrun ash from gmenu2x18:34
kyakthere is a shortcut18:34
kyaki prefer doing it via ssh.. still gmenu2x is off18:36
vladkorotnevthanks, worked!18:36
vladkorotnevi'm using ssh too18:37
vladkorotnevhow to set up swap?18:41
kyakmkswap /dev/mmcblk*; swapon /dev/mmcblk*18:42
kyakwhatever partitions you have on mmcblk18:43
kyakyou may not have any partitions at all, then just mmcblk018:43
vladkorotnevwhat if I want to use the same device for swap and storage?18:43
kyaki have mmcblk0p1 for jlime and mmcblk0p0 for some swap18:43
kyak*mmcblk0p2 for swap :)18:44
kyakso you can18:44
kyakfdisk /dev/mmcblk0 :)18:45
vladkorotnevI want to use /data :P the ubi device18:45
kyaki wouldn't do that18:45
kyakseems that NAND is slower than uSD18:45
kyakand.. you will have to peek into ubi world18:45
vladkorotnevthen I'll move my music to /data first...18:45
vladkorotnevwill I need to do this mkswap/swapon thing every boot?18:57
kyakswapon - yeah18:57
vladkorotnevkyak: any way to make it automated?18:58
kyakshould do it automatically after you have correct line in /etc/fstab18:58
kyaki guess there is swapon -a somewhere in boot scripts..18:58
kyakhandled by /etc/init.d/fstab, yeah18:59
vladkorotnevhow should I edit it?19:00
vladkorotnevhah :)19:01
kyakah, you need to use uci for that.. /etc/fstab would be overwritten19:01
vladkorotnevI mean which lines to add :P19:01
kyaksee /etc/config/fstab, it's self-exlanatory19:01
kyakcheck openwrt wiki for some config options19:01
vladkorotnevconfig swap19:02
vladkorotnevoption device/dev/sda219:02
vladkorotnevoption enabled019:02
vladkorotnevgot it19:02
vladkorotnevmay I use wildcard in there?19:02
kyakdunno, try if it would work like swapon /dev/mmcblk* :) don't you know the exact partition?19:03
vladkorotnevi use the whole card :)19:04
kyakthat would be mmcblk0 then19:04
vladkorotnevI'll try19:05
kyakcat /proc/partitions to see19:05
vladkorotnevok, then if card won't fail at boot, it should work19:07
vladkorotnevfinally it started compiling...19:09
kyaknow just wait for .. ages :) i'd suggest doing cross-compiling on host19:09
kyakok, going to sleep now.. see you19:10
vladkorotnevbye, kyak19:11
larscwhitequark: yes, i've already seen it19:44
--- Thu May 26 201100:00

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