2010-05-28 00:13 wolfspraul: wow crap sorry guys 2010-05-28 00:13 anyway 2010-05-28 00:14 here's mine 2010-05-28 00:14 http://imgur.com/NopHn.jpg 2010-05-28 00:15 http://www.openmobilefree.net/?p=367 2010-05-28 00:16 and there's his 2010-05-28 00:16 note 2010-05-28 00:16 silver power button on his 2010-05-28 00:20 the blues are brighter on his, caps lock arrow is a different direction, silver separator between f keys and qwerty 2010-05-28 00:20 etc 2010-05-28 00:28 just thought it was interesting 2010-05-28 00:32 xakh: ok so which one do you think looks better? 2010-05-28 00:34 I like mine. :) 2010-05-28 00:34 ok good 2010-05-28 00:34 :-) 2010-05-28 00:34 zear has a really early one, from one of our small runs 2010-05-28 00:34 ahh. 2010-05-28 00:34 so mine's just newer. 2010-05-28 00:34 later we changed the power button to black, and the divider between F keys and other keys to black 2010-05-28 00:35 and we made the red print on the keys brighter I think 2010-05-28 00:35 I don't think we changed anything with the blue, but there were several changes on the keyboard so I'm not sure 2010-05-28 00:36 so bottom line, yes, yours is 'newer' from the mass production run 2010-05-28 00:38 I'm still one of the original 500, right? 2010-05-28 00:39 you mean first 500? 2010-05-28 00:39 yeah 2010-05-28 00:39 probably, don't know 2010-05-28 00:39 we have sold around 700 by now, I think 2010-05-28 00:39 have to remove that banner on the wiki, it gets annoying... :-) 2010-05-28 00:40 I felt all warm and fuzzy being in such an elite club ;) 2010-05-28 00:40 well it's a start 2010-05-28 00:40 of course we need to sell many more 2010-05-28 00:40 but the most important right now is to sell to a crowd that really gets the idea, and supports us in the long run 2010-05-28 00:41 as you see on the list we still have a few people that buy it and it immediately starts collecting dust. which is sad but well it's another sale. 2010-05-28 00:41 xakh: if you have ideas how we can reach more people that can really enjoy the device where it is today, please spread the wor.d 2010-05-28 00:41 actually I get tons of compliments on this thing 2010-05-28 00:41 great 2010-05-28 00:43 biggest problem for adoption is a lack of a windows client, since that's what a lot of people I know use 2010-05-28 00:43 what should that client do? 2010-05-28 00:43 be able to reflash it 2010-05-28 00:43 also, an easier way to reflash 2010-05-28 00:43 though I really like the current system 2010-05-28 00:43 it'd take quite a bit of explaining to a normal user 2010-05-28 00:44 sure 2010-05-28 00:46 like a switch would work well 2010-05-28 00:46 oh, and of course wi-fi 2010-05-28 00:46 even just b 2010-05-28 00:46 I'm actually going to try to cross compile netsurf 2010-05-28 00:47 which is a tiny browser 2010-05-28 00:47 I should have all the kinks worked out in time for the Ya image. 2010-05-28 00:47 yes! :-) that's the right attitude 2010-05-28 00:47 oh! 2010-05-28 00:48 speaking of. 2010-05-28 00:48 I've been trying to compile leafpad. 2010-05-28 00:48 I'm using this guide 2010-05-28 00:49 http://www.tuxbrain.com/en/content/my-first-port-ben-nanonote-gnuchess-howto 2010-05-28 00:52 so 2010-05-28 00:53 it says I need a modified makefile 2010-05-28 00:53 and that confuses me 2010-05-28 00:54 can't help you, need to wait until David (tuxbrain) gets up 2010-05-28 00:55 ok 2010-05-28 00:55 how long will that be? 2010-05-28 01:02 hours 2010-05-28 01:02 well who knows, I shouldn't speak too soon... But it's early in Spain... 2010-05-28 01:04 ah 2010-05-28 01:04 so that's where he lives 2010-05-28 01:06 Barcelona, Spain, yes 2010-05-28 01:06 Cool. 2010-05-28 01:08 I live in Huntington West Virginia, out in the stinkin' states. 2010-05-28 01:08 kinda sucks 2010-05-28 02:13 hoi zear 2010-05-28 02:13 hey there xakh 2010-05-28 02:13 I found out our nanonotes are different 2010-05-28 02:13 http://i.imgur.com/NopHn.jpg 2010-05-28 02:14 I thought it was interesting 2010-05-28 02:14 and I like showing off my wallpaper 2010-05-28 02:14 :D 2010-05-28 02:14 it fits really good 2010-05-28 02:15 so, you got any ideas on how to port this software? 2010-05-28 02:16 http://www.tuxbrain.com/en/content/my-first-port-ben-nanonote-gnuchess-howto I'm following this guide 2010-05-28 02:16 is waiting for his NN to arrive to join the geek talking 2010-05-28 02:16 in the meantime 2010-05-28 02:17 bask in the glory of a shark and a gorilla high fiving 2010-05-28 02:17 http://www.tuxbrain.com/en/content/my-first-port-ben-nanonote-gnuchess-howto 2010-05-28 02:17 mirko: I connected the Atheros SD25 I have to my NanoNote, and it did show up as an SDIO device 2010-05-28 02:17 http://www.cardaccess-inc.com/services/products/index.php?a=details&i=CA-SD25 2010-05-28 02:18 of course now the actual Wi-Fi driver is missing and I got a flashback from all the Openmoko pain 2010-05-28 02:18 :-) 2010-05-28 02:18 arghhhh 2010-05-28 02:18 hahahaha 2010-05-28 02:19 xakh, well, i didn't really master openwrt yet 2010-05-28 02:19 all my ports were done using dingux toolchain 2010-05-28 02:19 dang 2010-05-28 02:19 which isn't a proper way of doing it 2010-05-28 02:19 by the way 2010-05-28 02:19 if anyone wants my wallpaper 2010-05-28 02:19 http://i.imgur.com/rzSGr.png 2010-05-28 02:20 it's a little long 2010-05-28 02:20 but it only cuts out the "nice" part 2010-05-28 02:22 by the way 2010-05-28 02:22 one of your ports has a bunch of bugs, zear 2010-05-28 02:22 your port of powder 2010-05-28 02:22 all of them have :) 2010-05-28 02:22 yeah 2010-05-28 02:22 what are the bugs in powder? 2010-05-28 02:22 but this one registers all non letter keys as B 2010-05-28 02:23 ah, i know 2010-05-28 02:23 for key combos it works fine 2010-05-28 02:23 but I can't rename my guy 2010-05-28 02:23 red arrow + backspace for deleting the name 2010-05-28 02:23 Thanks man 2010-05-28 02:24 there's also a random name creator if you click on one of the icons in the name changing dialog 2010-05-28 02:24 yeah, it's also f3 2010-05-28 02:24 I'd named my dude Cage, best I could get 2010-05-28 02:24 but now 2010-05-28 02:24 :D 2010-05-28 02:24 I have my sn back 2010-05-28 02:24 \woot! 2010-05-28 02:24 also, Tlosh ftw. 2010-05-28 02:25 I always choose necromancer. 2010-05-28 02:25 I love me some zombies. 2010-05-28 02:25 playing xom (><0|V|) is a bit risque, but you can get a lot of benefits 2010-05-28 02:25 lol 2010-05-28 02:25 that's what it says. 2010-05-28 02:25 btw, do you mean risky? 2010-05-28 02:25 risky i mean :) 2010-05-28 02:25 risque usually means... 2010-05-28 02:26 well I wanna play xom is all I'll say 2010-05-28 02:26 ;) 2010-05-28 02:26 btw have you played that game before? I'm wondering, as usually new players are like "meh, this game is hard and boring" :) 2010-05-28 02:26 well 2010-05-28 02:26 I've played Nethack, and about six other roguelikes 2010-05-28 02:27 ah, then you know what you're doing :) 2010-05-28 02:27 I always love me some nethack, but the keybinds are always a pain 2010-05-28 02:27 yea 2010-05-28 02:27 not to mention the tiles are way cooler 2010-05-28 02:27 but anyway, powder is more like a game of chess 2010-05-28 02:27 you have to plan your every move 2010-05-28 02:28 or you'll die, especially on the later levels 2010-05-28 02:28 yeah 2010-05-28 02:28 I rarely make it past lvl 3 2010-05-28 02:28 but I love sending my horde of zombies to do my bidding 2010-05-28 02:28 one time I found a wand of transmogrification 2010-05-28 02:28 when the labirynth levels start (hmm.. about lvl 5 i think) the game gets harder 2010-05-28 02:28 and turned into a fire demon 2010-05-28 02:28 one time I turned into an iron golem. 2010-05-28 02:29 wand of polymorth you mean? 2010-05-28 02:29 thas the one 2010-05-28 02:29 iron golem = ownage 2010-05-28 02:29 too bad the effects aren't permanent 2010-05-28 02:29 true 2010-05-28 02:29 but I morphed all my zombies 2010-05-28 02:29 well, they are if you put on you an amulet of unchanging 2010-05-28 02:29 but you can't give your pets items 2010-05-28 02:29 unless they turn into monsters that can pick up items. ;) 2010-05-28 02:30 like Trolls. 2010-05-28 02:30 yes, but they are also stupid sometimes :) 2010-05-28 02:30 true 2010-05-28 02:30 but I had one with two rapiers 2010-05-28 02:30 it may have been temporary 2010-05-28 02:30 but an iron golem 2010-05-28 02:30 drop an amulet of strangulation and a monster will pick it up and put on himself ;) 2010-05-28 02:30 hahahaha seriously? 2010-05-28 02:30 yep 2010-05-28 02:31 fantastic. 2010-05-28 02:31 and probably if you dropped a poisoned weapon (dipped in poison potion) they'd do the same 2010-05-28 02:31 oh, and you might want try to dip items in potions, some give quite interesting results 2010-05-28 02:31 nice. 2010-05-28 02:32 btw 2010-05-28 02:32 but i won't spoil the fun ;) 2010-05-28 02:32 is there an armor above crystal plate? 2010-05-28 02:32 i think not 2010-05-28 02:32 spawned with it. 2010-05-28 02:32 unless it's to be found on latter levels 2010-05-28 02:33 also how do I jump? 2010-05-28 02:33 i like the randomly generated artifacts (items that have ! on them) 2010-05-28 02:33 it says I can 2010-05-28 02:33 I love those too 2010-05-28 02:33 you need to have an ability to jump 2010-05-28 02:33 it says I have it 2010-05-28 02:33 i once found a sword that was granting "dig" 2010-05-28 02:34 so i could dig through the map without wasting my mana 2010-05-28 02:34 then you need to choose it from the menu 2010-05-28 02:34 getting to the menu is a little complicated 2010-05-28 02:34 i think it was shift + V 2010-05-28 02:34 heh 2010-05-28 02:35 yup 2010-05-28 02:35 is that a menu with a list of actions to choose from, or is it rather a main menu? 2010-05-28 02:36 just checked, it's the right one 2010-05-28 02:36 you have a list of actions to choose from 2010-05-28 02:36 i find it more handy than pressing keys on the keyboard 2010-05-28 02:36 me too. 2010-05-28 02:36 I don't like random named animals 2010-05-28 02:36 hehe, they're like bosses 2010-05-28 02:37 usually carry a special item 2010-05-28 02:37 really? 2010-05-28 02:37 yep 2010-05-28 02:37 crap, should stop running from this named spider. 2010-05-28 02:37 and have more hp (probably a higher level) 2010-05-28 02:37 be careful, they are stronger than normal monsters of its kind 2010-05-28 02:37 yeah, bigass spider 2010-05-28 02:38 you can distinguish them as they have ! on their tile 2010-05-28 02:38 yup 2010-05-28 02:39 oh, and if you have potions of greek fire, acid or poison, and you find a room filled with sleeping monsters, trow the potion in 2010-05-28 02:40 usually you kill so many of them at a time that you get a level :) 2010-05-28 02:40 I did that 2010-05-28 02:40 it was awesome 2010-05-28 02:40 first time 2010-05-28 02:40 I set myself on fire 2010-05-28 02:40 empty potions also work that way 2010-05-28 02:40 :D 2010-05-28 02:40 empty 2010-05-28 02:40 like bottles? 2010-05-28 02:40 yeah :D 2010-05-28 02:40 so you hit them with glass or something? 2010-05-28 02:41 yep 2010-05-28 02:41 heh 2010-05-28 02:41 chucked a potion at him 2010-05-28 02:41 had no idea what was in it 2010-05-28 02:41 now spider is dead 2010-05-28 02:41 gave me a copper wand, and a silver dagger 2010-05-28 02:41 *iron wand 2010-05-28 02:41 mormal potion works on 3x3 tile range when shattered 2010-05-28 02:42 blessed on 4x4 2010-05-28 02:42 nice! 2010-05-28 02:42 and artifacts i think have even a greater range 2010-05-28 02:42 so you must watch if you throw blessed potions, as you might accidently kill yourself :D 2010-05-28 02:43 nice 2010-05-28 02:44 aww 2010-05-28 02:44 friggin grid bug 2010-05-28 02:45 new game. 2010-05-28 02:48 btw, book of h'ruth + book of necromancy 2010-05-28 02:48 = necromancer's delight 2010-05-28 02:49 learn clean kill, and raise dead 2010-05-28 02:49 everything leaves corpses 2010-05-28 02:57 oh, that's good 2010-05-28 02:57 i usually just feed on the corpses 2010-05-28 02:58 oh, but you don't want to eat slugs, they lower your health permanently 2010-05-28 02:58 really? 2010-05-28 02:58 yep 2010-05-28 02:59 that's weird. 2010-05-28 02:59 the message is "You feel more basic" 2010-05-28 02:59 same if you have a pet (non-zombie) and it dies 2010-05-28 02:59 hm. 2010-05-28 02:59 by the way 2010-05-28 03:00 does a zombie retain any stats from what it was before you raised it? 2010-05-28 03:00 not sure, but mice zombies usually die first for me :) 2010-05-28 03:00 heh 2010-05-28 03:02 oh dang it I set myself on fire. 2010-05-28 03:03 hey 2010-05-28 03:03 how do I get out of a dungeon if it has no door? 2010-05-28 03:10 xakh, you need to *search* 2010-05-28 03:10 oops. I just restarted 2010-05-28 03:14 also 2010-05-28 03:14 wand of nothing 2010-05-28 03:14 can you make it do something? 2010-05-28 03:15 or is it just a stick? 2010-05-28 03:16 just a stick i think 2010-05-28 03:16 you can waste your turn with it :) 2010-05-28 03:16 heh 2010-05-28 03:16 also 2010-05-28 03:16 can I quiver a knife? 2010-05-28 03:16 like, will it fire from my bow? 2010-05-28 03:17 it won't fire from your bow, but it will be under the *throw* action 2010-05-28 03:17 ooh 2010-05-28 03:17 ok 2010-05-28 03:17 so that you don't need to open your inventory, select it and then throw it 2010-05-28 03:18 err.. i mean it will be under the *fire* option 2010-05-28 03:19 but your character will just throw it, ignoring the bow you wield 2010-05-28 03:21 heh 2010-05-28 03:22 man 2010-05-28 03:22 I'm tired 2010-05-28 03:22 i'd like to talk more, but i have to go, uni awaits :) 2010-05-28 03:23 okay 2010-05-28 03:23 hey 2010-05-28 03:23 talk to you later 2010-05-28 03:23 yea? 2010-05-28 03:23 yea man 2010-05-28 03:23 no, i mean what's with the "hey" 2010-05-28 03:23 unless it's the "bye" hey ;) 2010-05-28 03:24 yeah, anyway, cya 2010-05-28 06:56   /names 2010-05-28 06:56 (sorry) 2010-05-28 08:24 Lars-Peter Clausen: jz4740-timer: Mask timer irqs at startup http://qi-hw.com/p/qi-kernel/d7808b8 2010-05-28 08:37 mth: ok did some tests and the irqs are self clearing and writing to pending indeed does nothing 2010-05-28 09:39 Lars-Peter Clausen: jz4740: intc: Do not ack pending irqs http://qi-hw.com/p/qi-kernel/3036ab5 2010-05-28 10:40 larsc: I see you created a 2.6.34 branch, but the commits on that have a date from 1 month back, while they contain more recent changes...? 2010-05-28 10:41 do they? 2010-05-28 10:41 http://projects.qi-hardware.com/index.php/p/qi-kernel/source/tree/f35b0e449b9d37aa6a5dd5722036a400acb3e433/arch/mips/jz4740/timer.c 2010-05-28 10:42 this contains the mask init you committed today, but at the bottom of the page it says "created 1 month 3 days ago" 2010-05-28 10:43 hm. must be git. I sqashed the timer fix into the original commit 2010-05-28 10:43 and it kept the original date? 2010-05-28 10:43 i guess 2010-05-28 10:45 hm. i'm currently looking at the sound dma issue and playback only works if i set the source width to 16bit and dest width to 8bit. which is a bit strange imo 2010-05-28 10:45 and i'm playing 16bit samples 2010-05-28 10:45 is it using the fixed dma.h? 2010-05-28 10:46 yes 2010-05-28 10:46 I have tested with source set to 16 and 32 and dest always set to 16 and both configurations work 2010-05-28 10:48 ok. forget it i'm apperently to dump to read the specs... 2010-05-28 10:48 got the width encoding wrong again 2010-05-28 11:00 speaking of DMA, do you have any plans for scatter/gather list support? 2010-05-28 11:00 if not, I could have a look at it 2010-05-28 11:00 it would make an efficient deferred I/O implementation of SLCD possible, I think 2010-05-28 11:04 i implemented it once but deleted it accicentally :/ 2010-05-28 11:35 hm. the dma engine gets an irq when there are at least 16 free slots in the fifo. with 16bits sample size shouldn't it be safe to transfer 32bytes per irq? 2010-05-28 11:40 if source size is 32 bits, does that also mean the data must be aligned to 32 bits? 2010-05-28 11:41 for 16 bit stereo that would not be a problem, but I don't know if it can be guaranteed for 8 bit or 16 bit mono 2010-05-28 11:43 i guess it need to aligned 2010-05-28 11:49 Carlos Camargo: Fixing analog and digital ground on LCD's SAKC circuit http://qi-hw.com/p/nn-usb-fpga/c8b70e5 2010-05-28 12:11 larsc: ping 2010-05-28 12:13 methril_work: pong 2010-05-28 12:16 larsc: i was taking a look to the kernel organization 2010-05-28 12:16 it`s possible to organize the jz chips inside ingenic folder or something like that? 2010-05-28 12:16 i see som SoC manufacturers does like that and keeps the mips folder cleaner 2010-05-28 12:18 methril_work: yes, sure. but currently there is only one jz chip supported in the qi tree 2010-05-28 12:18 i see 2010-05-28 12:19 but if we do frequent updates with the ingenic repos. it`s better if we adopt this structure (with them) :) 2010-05-28 12:20 are there any schedule for mainline inclussion? 2010-05-28 12:20 soon 2010-05-28 12:21 (tm) 2010-05-28 12:21 :) 2010-05-28 12:21 i was talking with carlos almagro about a jz patch to support RTAI or RT_PREEMPT 2010-05-28 12:26 we need a roadmap for kernel too :) 2010-05-28 12:26 i'm not sure what it takes these days to be linux-rt compliant, but given that most of it is already included in upstream linux it shouldn't be to hard 2010-05-28 12:26 roadmap is: get as much done as soon as possible... 2010-05-28 12:26 i'm planning to send patches in for review when the merge window for 2.6.35 has closed 2010-05-28 12:27 ok 2010-05-28 12:27 i`ll try to get hands on next week 2010-05-28 12:28 if i could help... 2010-05-28 12:28 sure 2010-05-28 12:28 let me know 2010-05-28 12:30 time to back to work 2010-05-28 12:30 we stay tunned 2010-05-28 12:31 thank you larsc (2.6.35 inclussion is a plan) ;) 2010-05-28 12:47 2.6.36 2010-05-28 12:48 2.6.35 will be the next upstream release for which the merge window will close soon. 2010-05-28 13:12 mth: it is possible to set a minimum period byte size, so i guess it's safe to always use  a dma_width of 32 for the buffer 2010-05-28 13:14 I don't know how much difference it makes in practice, but it sounds more efficient 2010-05-28 13:15 it might halve the number of reads 2010-05-28 13:15 or quarter for 8bit samples 2010-05-28 13:16 by the way, do you know whether it's useful to clock down the JZ CPU when the load is low? or is it just as efficient to run it at max freq for a shorter time and then let it be idle? 2010-05-28 13:17 as far as I know, the gain from lower clocking comes from being able to lower the voltage supplied to the CPU 2010-05-28 13:17 but I don't think that embedded devices do those kind of things 2010-05-28 13:17 downclocking to 100 Mhz saves approx 5mA 2010-05-28 13:18 even when doing the same amount of work per second? 2010-05-28 13:18 when idle 2010-05-28 13:18 ah 2010-05-28 13:19 I thought it might stop its clock when idle 2010-05-28 13:19 (the clock to the CPU part, not the SoC part) 2010-05-28 13:50 Lars-Peter Clausen: jz4740: jzcodec: Add S8 as supported format http://qi-hw.com/p/qi-kernel/a6d81b5 2010-05-28 13:50 Lars-Peter Clausen: jz4740: ASoC: Fix and cleanup DMA config http://qi-hw.com/p/qi-kernel/57f43ae 2010-05-28 13:50 Lars-Peter Clausen: jz4740: dma: Fix dma width constants http://qi-hw.com/p/qi-kernel/51a5b8c 2010-05-28 15:10 would it be possible to use a common usb cable for serial ? http://en.qi-hardware.com/wiki/File:Ben_nanonote_serial1.jpg 2010-05-28 15:14 yes 2010-05-28 15:14 that could be an addon for Ya 2010-05-28 15:22 kristianpaul: you mean the usb cable? or was you talking about another things? :) 2010-05-28 15:23 rafa: cable 2010-05-28 15:23 it is required 2010-05-28 15:23 DIY cables are not always the best option if you want something strong 2010-05-28 15:24 DIY? - DO it together 2010-05-28 15:24 hehe 2010-05-28 15:24 kristianpaul: I do not know about kind of usb cables.. For example : 2010-05-28 15:25 actually a usb cable could work 2010-05-28 15:25 but the same connector for both usb and serial, is not safe 2010-05-28 15:26 kristianpaul: http://www.sadoun.com/Sat/Products/SatHawk/USB-cable.jpg 2010-05-28 15:26 I would use a usb cable like that and I would test 2010-05-28 15:27 too big? 2010-05-28 15:27 wher are you hpoing place it? 2010-05-28 15:29 rafa: i want follow what you made 2010-05-28 15:29 well, I would disassemble the right connector (I would remove it) and then I would try to realize out which internals tiny wires should I use 2010-05-28 15:29 i have same cable here 2010-05-28 15:29 and my nano fully disassemlbed 2010-05-28 15:29 ok 2010-05-28 15:29 I am not at home yet, I am just trying to think if I could use any usb cable (using the tiny wires inside ) 2010-05-28 15:30 I would not dissasemble my nn.. I just would like to solder the tiny wires of any usb cable like this 2010-05-28 15:30 http://en.qi-hardware.com/wiki/File:Ben_nanonote_serial1.jpg 2010-05-28 15:31 But you say that any usb cable should work right? So I will try with some usb cable at home (removing one connector and soldering the tiny wires inside) 2010-05-28 15:32 kristianpaul: I am asking because I do not have knowledge about those cables. 2010-05-28 15:33 rafa: yes is a 4 wire cable 2010-05-28 15:33 serial need 3 2010-05-28 15:34 so it should work 2010-05-28 15:34 but 2010-05-28 15:34 hmm 2010-05-28 15:34 wait 2010-05-28 15:34 rafa: what are you thinkign to plug the usb cable? 2010-05-28 15:35 I need serial output to debug 2010-05-28 15:35 I would usbserial and minicom perhaps. 2010-05-28 15:35 I would use* 2010-05-28 15:37 tuxbrain: ping 2010-05-28 15:37 kristianpaul: I need serial output like it is explained here : http://en.qi-hardware.com/wiki/Serial_console 2010-05-28 15:38 xakh:pong 2010-05-28 15:38 boosh, you're on! 2010-05-28 15:38 I need to make a package for the nano 2010-05-28 15:38 and I know you're the master. 2010-05-28 15:38 heheeheh you have missunderstod the word... is the lammer the lammer.... 2010-05-28 15:39 heh, still. 2010-05-28 15:39 I'm taking a small text editor 2010-05-28 15:39 leafpad, as my first project 2010-05-28 15:39 and I'm a bit stuck. 2010-05-28 15:39 what happens 2010-05-28 15:39 I set up my build environment for xburst 2010-05-28 15:39 but I'm not sure what I need for the makefile 2010-05-28 15:40 you can use the one of the tutorial as template 2010-05-28 15:40 okay, I see that, but I'm sort of new to compiling my own packaged 2010-05-28 15:40 *packages 2010-05-28 15:41 I've been spoiled with precompiled repos 2010-05-28 15:41 so after I copy the makefile from the site you recommend 2010-05-28 15:42 where do I go? 2010-05-28 15:42 :) I understand in fact that tutorial was my first experience on making my own packages 2010-05-28 15:42 let me review, 2010-05-28 15:43 ok 2010-05-28 15:47 read from the part of "Creating a Package with OpenWRT" from the same tutorial, it descrive that you have to create a folder , then put the Makefile there in it's own folder inside, and then add that folder to the feeds.conf etc etc... after you have done all this you should be able to see your package  in the make menuconfig under the section you have defined and be able to select and compile it as other OpenWrt package 2010-05-28 15:51 ... 2010-05-28 15:51 I'm still quite confused. 2010-05-28 15:52 so I make a folder 2010-05-28 15:53 then I put the makefile in its own folder 2010-05-28 15:53 then... 2010-05-28 15:57 waves 2010-05-28 15:57 haldo 2010-05-28 15:57 I'm learning how to compile 2010-05-28 15:57 and probably frustrating tuxbrain 2010-05-28 15:58 now, the leafpad compiler already has a makefile. 2010-05-28 15:58 you're telling me I need to make another? 2010-05-28 16:00 xakh: leafpad itself of course already has a makefile.. but you need to add a makefile for the openwrt buildsystem to know from the package 2010-05-28 16:01 ohhh 2010-05-28 16:01 something like https://dev.openwrt.org/browser/packages/Xorg/app/gtkperf/Makefile 2010-05-28 16:01 ok 2010-05-28 16:01 Wait is that xorg for the nano? 2010-05-28 16:01 or just for openwrt? 2010-05-28 16:02 xakh: I have no idea which explicit version your're using (haven't a nanonote myself), but I've been playing around with openwrt a few years back 2010-05-28 16:02 the makefiles are all structured the same way 2010-05-28 16:02 mine's for xburst 2010-05-28 16:02 ok 2010-05-28 16:03 so what do I need to do from here to make this package? 2010-05-28 16:05 after you have the makefile, you should see your package in the menuconfig menu 2010-05-28 16:06 have you changed the key variables on the,lets call it,"OpenWrt Makefile", then name of the package, sections... etc etc? 2010-05-28 16:06 xakh: http://wiki.openwrt.org/doc/howto/creatingpackages 2010-05-28 16:06 yes that was one of the sources to make my howto 2010-05-28 16:07 alright, I have the newest version, so I don't need the patches 2010-05-28 16:07 I don't think. 2010-05-28 16:07 so I have /home/xakh/openwrt 2010-05-28 16:07 have /openwrt-xburst inside 2010-05-28 16:07 and have /leafpad inside 2010-05-28 16:09 so 2010-05-28 16:09 I need a /makefile inside which? 2010-05-28 16:12 sorry if I sound like a total noob 2010-05-28 16:13 I'm really new to this whole system of actually building stuff 2010-05-28 16:13 been spoiled by Ubuntu and to a lesser extent arch 2010-05-28 16:13 PKG_NAME:=leafpad 2010-05-28 16:13 PKG_VERSION:=0.8.17 2010-05-28 16:13 PKG_RELEASE:=1 2010-05-28 16:14 and so on.. 2010-05-28 16:14 ah 2010-05-28 16:15 and I put it in the leafpad folder, the makefile folder, or the openwrt-xburst folder? 2010-05-28 16:16 I'm trying not to sound like a moron, but it's tough, since it tends to take a couple whacks for stuff to stick to my brain 2010-05-28 16:19 hm. 2010-05-28 16:19 seems like inside the package/leafpad folder 2010-05-28 16:19 where do I go for the checksum? 2010-05-28 16:20 $ md5sum leafpad-0.8.17.tar.gz 2010-05-28 16:20 d39acdf4d31de309d484511bdc9f5924  leafpad-0.8.17.tar.gz 2010-05-28 16:20 and the rest of the info, actually? 2010-05-28 16:23 is there a place in the leafpad folder I look to get the rest of the pieces for the makefile? 2010-05-28 16:23 oh, and do I need to have the tar.gz in there 2010-05-28 16:23 or can it just be an extracted folder? 2010-05-28 16:24 does OpenWRT on the nanonote have X and GTK running btw? 2010-05-28 16:24 GTK: Yes. 2010-05-28 16:24 it runs through framebuffer 2010-05-28 16:26 rafa: thats a solution that works, the one showed in the pic 2010-05-28 16:26 i just tought wire serial pins will be usefull with a usb connector 2010-05-28 16:26 ah okay.. since I've just taken a quick look on the packages directory, but those are only the packages which aren't upstream already 2010-05-28 16:26 rafa: i recomend you as tuxbrain pointed use TP4/TP5 2010-05-28 16:26 if you want full serial capabillities 2010-05-28 16:30 well, still, anyone know where I can find the rest of the info to pad out this makefile? 2010-05-28 16:30 and again, can I do it straight from an extracted folder, or does it have to be a tar.gz? 2010-05-28 16:38 it has to be tar.gz and if posible directly downloaded form his original url 2010-05-28 16:38 form->from 2010-05-28 16:38 ok, it is 2010-05-28 16:38 so I make a folder, /package/leafpad then? 2010-05-28 16:39 because I just have leafpad extracted in there 2010-05-28 16:39 no, no need to do so just put the Makefile there 2010-05-28 16:39 OpenWrt will do the magic of download decompress compile 2010-05-28 16:39 ohhhh 2010-05-28 16:39 ok 2010-05-28 16:40 oh. 2010-05-28 16:40 so then what do I fill the makefile with? 2010-05-28 16:41 in the folder "package" there was more directories? 2010-05-28 16:41 I just trying to know if you use an already set up feed 2010-05-28 16:42 nope 2010-05-28 16:42 I'm throwing it together from scratch 2010-05-28 16:42 and reasonably confused 2010-05-28 16:51 I have a tar.gz, and your instructions 2010-05-28 16:57 you no need the tar.gz :) 2010-05-28 17:00 well now in the feed.conf you must put the full path of the new feed "package" you have created (the folder) like this 2010-05-28 17:00 src-link myfeed /path/where/you/created/folder/package 2010-05-28 17:00 ??? 2010-05-28 17:00 feed.conf? 2010-05-28 17:01 if there is no feed.conf  there sould be a feed.conf.default or somethingl like that in the root folder of the openwrt 2010-05-28 17:02 copy it to feed.conf and add that line 2010-05-28 17:02 oh ok 2010-05-28 17:03 okay, I still don't know what to fill my makefile with 2010-05-28 17:03 I sound really stupid, and I'm sorry about that 2010-05-28 17:04 don't worry every body is a newbie some time 2010-05-28 17:04 okay 2010-05-28 17:05 so I point it to package, or to the subfolder containing leafpad? 2010-05-28 17:05 and don't offend please but seems you have not read the  http://wiki.openwrt.org/doc/howto/creatingpackages , isn't it? 2010-05-28 17:06 I didn't know it existed before someone linked it just now 2010-05-28 17:06 I was just going on your tut 2010-05-28 17:06 no just to "package", 2010-05-28 17:07 okay sweet 2010-05-28 17:07 after that you should run 2010-05-28 17:07 ./scripts/feeds update 2010-05-28 17:08 ./scripts/feeds install -p myfeed 2010-05-28 17:08 sorry not running yet! 2010-05-28 17:08 hehe ok 2010-05-28 17:08 we must be a little sure what is in the Make file, can you send me a an email with it? 2010-05-28 17:09 sure 2010-05-28 17:09 david@tuxbrain.com 2010-05-28 17:12 alright, sent 2010-05-28 17:16 you have wrong package definition, I suppouse you have based it on gtkperf, basically you have to substitute "gtkperf" by leafpad in any appearance 2010-05-28 17:17 I should also remove the Xorg in the PKG_BUILD_DIR 2010-05-28 17:18 PKG_BUILD_DIR=$(BUILD_DIR)/$(_CATEGORY)/$(PKG_NAME) should be enough 2010-05-28 17:18 ok 2010-05-28 17:19 does that folder have to exist, or will it create it? 2010-05-28 17:21 also, what am I going to need to do to show it in /card on the nano, so I can easily put it in gmenu2x 2010-05-28 17:22 no is part of the OpenWrt magic 2010-05-28 17:22 mmm after you finis the proccess you will end with a ipkg file 2010-05-28 17:23 oh ok 2010-05-28 17:24 you copy that ipkg file and put it some where (the sd card or the internal flash) where you can run "opkg  install thecreated.ipkg" 2010-05-28 17:24 what else do I need to remove from the makefile to make this go? 2010-05-28 17:24 and then it will be installed directly on the rootfs of the nano 2010-05-28 17:24 mmm send me it again :) 2010-05-28 17:24 ok 2010-05-28 17:26 should be there now 2010-05-28 17:28 ok, at first sight and with my knowledge seems ok now, let's try and see what happens 2010-05-28 17:28 ./scripts/feeds update 23:07 2010-05-28 17:28 just like that? 2010-05-28 17:28 ./scripts/feeds install -p myfeed 2010-05-28 17:28 yes 2010-05-28 17:28 oops, wait 2010-05-28 17:28 I guess 2010-05-28 17:28 what? 2010-05-28 17:28 still in category xorg 2010-05-28 17:28 oops. ;) 2010-05-28 17:29 well it just means that when you search for it in the menuconfig will appear under that categorie, nothing else 2010-05-28 17:29 I know, under neatness, changed it 2010-05-28 17:31 once you run the avobe instrucctions the real fun will beguin :P 2010-05-28 17:32 kristianpaul: where did tuxbrain point that? 2010-05-28 17:32 rafa: it was time ago 2010-05-28 17:32 i was bugging here about serial port and bn 2010-05-28 17:33 s/bn/Ben nanonote 2010-05-28 17:33 oops 2010-05-28 17:33 rafa: and in honor to true was Carlos Camargo + Xiang Fu I'm just an verbose executor 2010-05-28 17:33 http://pastebin.com/veTXq99n 2010-05-28 17:34 errorrr 2010-05-28 17:34 mmm have you setup the xburst architecture in make menuconfig (step 1 of the howto) 2010-05-28 17:35 ? 2010-05-28 17:35 yeah 2010-05-28 17:35 I did 2010-05-28 17:35 mmm strange 2010-05-28 17:35 am I supposed to be running that inside the menuconfig? 2010-05-28 17:36 nop the scripts to update feeds not 2010-05-28 17:36 hmm 2010-05-28 17:39 mmm have you already run "make" to complile the toolchain, kernel, etc? 2010-05-28 17:39 o.o 2010-05-28 17:39 tuxbrain: a verbose executor is always a good proof ;) 2010-05-28 17:41 xakh: what computer you have due this step can take a while (on Quad core about 30 mins) 2010-05-28 17:41 it's a decent, but aging laptop 2010-05-28 17:42 then, if you don't mind, I will go to sleep :P 2010-05-28 17:42 haha 2010-05-28 17:42 alrighty 2010-05-28 17:42 well, when you think you'll be back? 2010-05-28 17:42 so where do I go to run make? 2010-05-28 17:43 in the root of openwrt 2010-05-28 17:43 okay 2010-05-28 17:43 so /openwrt/openwrt-xburst in my case? 2010-05-28 17:43 weekend is for family, so expect I can't do another tutorial session until monday 2010-05-28 17:44 that's fine. 2010-05-28 17:44 thanks for all your help 2010-05-28 17:44 yes that's the folder 2010-05-28 17:44 I'll just run that other command after this thing makes 2010-05-28 17:44 give me that thanks when we finish to compile that package, i also want it on the Nano :) 2010-05-28 17:44 alrighty! 2010-05-28 17:44 I'm glad I'm not the only fan of leafpad. 2010-05-28 17:45 after this, maybe something a bit tougher, like a browser? 2010-05-28 17:45 too bad 2010-05-28 17:45 ? 2010-05-28 17:45 ...leafpad uses the same icon as gedit in ubuntu lucid 2010-05-28 17:46 yes when those commands finish correctly, enter in make menuconfig search for the package leafpad, mark it as   exit and run make again 2010-05-28 17:46 (sorry, accidentially hit enter) ;) 2010-05-28 17:46 ok 2010-05-28 17:46 yeah it does 2010-05-28 17:46 but I took their old one with the pencil and the leaf 2010-05-28 17:47 why it's bad? I think the text editor icon is some what standard of freedesktop.org, isn't it? 2010-05-28 17:47 should look good in gmenu2x 2010-05-28 17:48 yeah, but I think the leaf + pencil looks way cooler 2010-05-28 17:48 well, once you get used to something.. I use gnome-panel for launching the most important applications 2010-05-28 17:48 http://tarot.freeshell.org/leafpad/leafpadle.png 2010-05-28 17:48 if you want the old icon 2010-05-28 17:49 well guys, good night from spain. Buenas Noches :* :* 2010-05-28 17:50 xakh: or, better: https://lliurex.net/projects/valencia/gaia/export/7407/ubuntu-mods/trunk/leafpad/data/icons/scalable/leafpad.svg :) 2010-05-28 17:50 tuxbrain: gn8 2010-05-28 17:50 night bud 2010-05-28 17:50 xakh: there is still some some stuff that bugs me, like a decent gtk-based hex-editor.. I currently use Okteta 2010-05-28 17:51 that svg's nice, but since gmenu2x requires pngs at 32x32, they're pretty cool for me 2010-05-28 18:15 yo zear 2010-05-28 18:15 wand of polymorph 2010-05-28 18:15 turned into one of those nearly invincible ghosts 2010-05-28 18:16 yeah, the only times i got deeper into the dungeon was when i was polymorphed :) 2010-05-28 18:17 the trick is to polymorph yourself and put a ring of unchanging (or was it an amulet?) on you 2010-05-28 18:17 ghostie things can't wear anything 2010-05-28 18:20 yeah, but they're powerful 2010-05-28 18:20 and you still can use magic/wands 2010-05-28 18:20 yup 2010-05-28 18:20 it 2010-05-28 18:20 is awesome 2010-05-28 18:20 the game is really fun 2010-05-28 18:21 and I have noclip on 2010-05-28 18:21 i just wish it had larger levels and more monsters/items 2010-05-28 18:21 as it feels like chess ;) 2010-05-28 18:22 eek. 2010-05-28 18:22 transformed back into my old self on level 6 2010-05-28 18:22 and I'm still level 1 2010-05-28 18:22 and I read the wrong scroll and set myself on fire 2010-05-28 18:22 hey, what's a scroll of magic mapping do? 2010-05-28 18:23 discover the nearby map 2010-05-28 18:23 useless except some rare situations 2010-05-28 18:23 ah 2010-05-28 18:24 I am not understanding the compilation error I'm seeing 2010-05-28 18:25 it keeps saying missing seperator on a line that is blank... 2010-05-28 18:26 Makefile:49: ***missing separator. Stop. 2010-05-28 18:27 does it contain a tab? 2010-05-28 18:27 No... should it? 2010-05-28 18:27 probably not 2010-05-28 18:27 can you post some context? (here or pastebin) 2010-05-28 18:28 welp, off to shower time. See you dudes in a sec 2010-05-28 18:28 lemme change to a regular irc client, halfasec. 2010-05-28 18:29 kk 2010-05-28 18:29 lets see 2010-05-28 18:30 http://pastebin.com/e3iN0dEV 2010-05-28 18:32 line 49 is not blank though, it contains the eval 2010-05-28 18:32 Right... 2010-05-28 18:33 It was complaining about 47 before, my math was off after adding some whitespace. 2010-05-28 18:33 you could change $(eval into $(info to make it print the expansion 2010-05-28 18:35 kk 2010-05-28 18:35 Saved, trying make again. 2010-05-28 18:37 Hrm... now I got this: http://pastebin.com/W2XcAMSW 2010-05-28 18:38 The target/mx2 line is baffling... 2010-05-28 18:39 I don't see anything that looks like the output of $(info 2010-05-28 18:39 maybe use $(error instead? 2010-05-28 18:40 that will force Make to stop there 2010-05-28 18:40 Wait wait wait... I have to compile the kernel and toolchain first, yes? 2010-05-28 18:43 Flargh. 2010-05-28 18:45 I'm not familiar with OpenWRT yet; I know Make, but not in this context 2010-05-28 18:50 ... 2010-05-28 18:50 Thanks for the help, it's time for me to leave work... I'll tinker with this later. 2010-05-28 18:50 oh shit dudes 2010-05-28 18:51 my compile's finished! 2010-05-28 20:24 wolfspraul: larsc : do you know some way to build nn kernel without to use openwrt? I mean, 1- get just the kernel source code 2- build it 2010-05-28 20:28 rafa: make ARCH=mips 2010-05-28 20:28 larsc: thanks, using vanilla right? 2010-05-28 20:31 rafa: no. http://projects.qi-hardware.com/index.php/p/qi-kernel/source/tree/master/ 2010-05-28 20:33 Lars-Peter Clausen: Add qi_lb60 defconfig http://qi-hw.com/p/qi-kernel/4d7a0d7 2010-05-28 20:41 larsc: ah.. okey. Let me try then 2010-05-28 22:42 larsc: it builds.. I have another question: do you know which kernel config option to set so I can get debug kernel messages on console?.. 2010-05-28 22:43 larsc: to the current .config I added the option : "Map the console to the primary display device" but without luck.. 2010-05-28 22:43 I just see the logo 2010-05-28 22:43 EARLY_PRINTK + "console=tty0" on the kernel command line, I think 2010-05-28 22:43 I have changed the openwrt logo, I put tux which is tinier 2010-05-28 22:44 mth: how can I set command line? I am booting from micro sd 2010-05-28 22:44 Early printk is set 2010-05-28 22:44 in kernel .config 2010-05-28 22:45 command line can be set in the boot loader or in the "kernel hacking" section of menuconfig 2010-05-28 22:46 I know, but I do not know how to edit the boot loader comman line in nanonote 2010-05-28 22:46 I don't know either, but if it's only for testing it's fine to do it via the kernel config 2010-05-28 22:47 perhaps.. because I do not see kernel messages with the current .config options I am guessing that something is avoiding that 2010-05-28 22:47 CONFIG_FRAMEBUFFER_CONSOLE is enabled? 2010-05-28 22:48 all the options for kernel messages are set 2010-05-28 22:48 and yes, CONFIG_FRAMEBUFFER_CONSOLE=y is set 2010-05-28 22:48 try "cat /proc/cmdline" to see if "console=" is used there 2010-05-28 22:50 he.. I can not boot.. that is why I am asking how to see kernel messages ;) 2010-05-28 22:50 well it does (boots), but I can not see where it stucks 2010-05-28 22:50 but it does not reach the rootfs mount + init scripts 2010-05-28 22:53 afaik, the default cmd line does not include console=tty0 2010-05-28 22:53 rafa: and you should switch to the jz-2.6.34 branch in case you haven't 2010-05-28 22:58 the openwrt logo should be removed in the official image as well or at least replaced with small tux or qi logo 2010-05-28 23:00 urandom_: you mean the openwrt logo should be removed in the openwrt image? 2010-05-28 23:01 uhm yeah 2010-05-28 23:02 it can co-exist with other logos i think 2010-05-28 23:02 but.. to many logos an start up... 2010-05-28 23:02 i dont like to see i think 2010-05-28 23:02 not co-exits, remove it, takes too much space and is ugly 2010-05-28 23:03 also qi brand is labeled in the nano case 2010-05-28 23:03 seems we need a poll :) 2010-05-28 23:06 urandom_: makes no sense to me. if you don't like the logo you can remove it yourself or replace it. 2010-05-28 23:06 indeed 2010-05-28 23:06 but 2010-05-28 23:07 but if we are using openwrt, of course I think there should be an openwrt splash screen at bootup 2010-05-28 23:07 Debian renamed Firefox to Iceweasel, but OK they had some licensing issues over the artwork. 2010-05-28 23:07 urandom_: http://en.qi-hardware.com/wiki/Customizing_OpenWrt_Boot_Logo 2010-05-28 23:08 but there is a contest http://en.qi-hardware.com/wiki/Splash_logo_contest 2010-05-28 23:08 but other than that I would never rename free software.I think we should credit the people and projects that we are using more, not less :-) 2010-05-28 23:08 oh this is nice http://en.qi-hardware.com/w/images/e/ea/Logo.gif 2010-05-28 23:09 kristianpaul: yes sure, all for choice. It's already easy to build a new image, or change the splash screen. 2010-05-28 23:09 anyway, speaking for myself I like the OpenWrt splash screen 2010-05-28 23:09 i think we need a more refined OpenwrtLogo 2010-05-28 23:09 myself too, i just a bit poor in quality 2010-05-28 23:10 I'm not following the logo/splash discussion upstream, I'm sure OpenWrt would be happy if people helped with artwork. 2010-05-28 23:11 taking the openwrt logo out it not renaming or not crediting openwrt 2010-05-28 23:11 credit 2010-05-28 23:12 but with a refined logo 2010-05-28 23:12 any way, every people taste diferent 2010-05-28 23:12 well if someone makes a nice logo i would be happy too 2010-05-28 23:12 what about this http://en.qi-hardware.com/wiki/File:Logo.gif ? 2010-05-28 23:13 or http://en.qi-hardware.com/w/images/4/46/Openwrt_logo.jpg 2010-05-28 23:13 and so on 2010-05-28 23:13 urandom_: you can submit improved artwork to the openwrt folks I'm sure 2010-05-28 23:13 everybody loves better artwork 2010-05-28 23:13 but my point is - if anything then we help openwrt 'look better' 2010-05-28 23:14 i like the the first one the http://en.qi-hardware.com/wiki/File:Logo.gif 2010-05-28 23:14 and if they don't agree, well we can keep submitting stuff but I will happily use whatever logo/artwork they currently think is best 2010-05-28 23:16 well i cant do any art myself, i just can criticize it ;) 2010-05-28 23:16 he - fair enough! :-) 2010-05-28 23:45 urandom_: well, the distribution is openwrt so the logo is okey perhaps. Perhaps an openwrt logo with a little Qi logo mix? :) 2010-05-28 23:53 rafa well i dont really care if it says openwrt or something different as long as the logo looks good :P but yeah yeah mix would make sense