--- Log opened Sat Jul 23 00:38:04 2011 02:14 -!- TheSeven [~TheSeven@rockbox/developer/TheSeven] has quit [Disconnected by services] 02:14 -!- [7] [~TheSeven@rockbox/developer/TheSeven] has joined #freemyipod 06:28 -!- posixninja [~textual@74-137-103-115.dhcp.insightbb.com] has joined #freemyipod 07:27 -!- n1s [~quassel@rockbox/developer/n1s] has joined #freemyipod 07:53 < user890104> [7]: could you have a look at libboot/main.c line 114 07:54 < user890104> you're passing maxsize as the sixth parameter 07:54 < user890104> but the function expects a boolean ("compressed") 07:54 < user890104> i don't get this :) 08:32 -!- MSaki [~william@pool-71-173-56-39.sctnpa.east.verizon.net] has joined #freemyipod 08:33 -!- MSaki [~william@pool-71-173-56-39.sctnpa.east.verizon.net] has left #freemyipod 08:35 -!- kyle6513 [~kyle6513@CPE-58-174-132-180.mjcz1.woo.bigpond.net.au] has joined #freemyipod 08:35 -!- kyle6513 [~kyle6513@CPE-58-174-132-180.mjcz1.woo.bigpond.net.au] has quit [Client Quit] 08:48 -!- n1s [~quassel@rockbox/developer/n1s] has quit [Remote host closed the connection] 08:58 -!- [Saint] [~st.lasciv@124-197-58-10.callplus.net.nz] has quit [Quit: Imagination is for turbo-nerds who can't handle how kick-butt reality is. I'm a kick-butt reality master! I would rather die, than be imaginative. I mean that.] 09:00 -!- [Saint] [~Saint]@124-197-58-10.callplus.net.nz] has joined #freemyipod 09:02 < [7]> user890104: maxsize is only needed if the file is compressed 09:02 < [7]> if you pass maxsize = 0, this tells it to only accept uncompressed files 09:03 < [7]> this is actually a flaw of our raw ucl file format 09:03 < [7]> we have no way to know in advance how big the uncompressed data will be 09:05 < user890104> but it still doesn't make sense why do you pass an integer to a function that expects a boolean 09:05 < user890104> void check_firmware(void** firmware, int* size, bool verify, 09:05 < user890104> void* buf, int maxsize, bool compressed) 09:05 < user890104> and then: check_firmware(firmware, size, verify, buf, maxsize, maxsize); 09:05 < [7]> there is no such thing as a boolean in C 09:05 < [7]> we define bool to be int, true to be 1, false to be 0 09:06 < [7]> actually everything that's nonzero will be interpreted as true 09:06 < user890104> ah.. 09:09 -!- posixninja [~textual@74-137-103-115.dhcp.insightbb.com] has quit [Quit: Computer has gone to sleep.] 09:10 < user890104> so if i pass 0 to maxsize in load_from_file, it won't try to uncompress it and just load it? 09:13 < user890104> btw did you see my latest serial number patch, i think i posted it here yesterday or so 09:14 < user890104> and about the list chooser bug, the function goes into an infinite loop if the viewport's height is not a multiple of the item height 09:14 < user890104> Farthen suggested to add a panicf with a message that explains it 09:15 < user890104> but we could simply break from the loop if we don't have enough pixels to draw another item in the menu 10:44 < [7]> so if i pass 0 to maxsize in load_from_file, it won't try to uncompress it and just load it? << yes 10:44 < [7]> btw did you see my latest serial number patch, i think i posted it here yesterday or so << yes, I did see it, but didn't have time to look at it in detail 10:44 < [7]> but we could simply break from the loop if we don't have enough pixels to draw another item in the menu << sounds like an easy and sensible fix 10:45 < [7]> no idea why this didn't ever turn up so far 11:22 -!- posixninja [~textual@74-137-103-115.dhcp.insightbb.com] has joined #freemyipod 11:48 -!- posixninja [~textual@74-137-103-115.dhcp.insightbb.com] has quit [Quit: Computer has gone to sleep.] 12:18 < user890104> and about the usb issue on nano 4g, is there any specific reason to change the alignment, and does it work on your ipod with the new settings? 14:01 -!- rrDNA [4dba70f3@gateway/web/freenode/ip.77.186.112.243] has joined #freemyipod 14:09 < rrDNA> hi 14:10 < user890104> hello, if you have a question feel free to ask it 14:10 -!- Dgby714 [~Dgby714@128-105.187-72.tampabay.res.rr.com] has joined #freemyipod 14:13 < rrDNA> yeah, great ;) first: ive installed emcore + rb successfully on my ipod classic 1g 80gb, i wonder why do you need the emCore console in the bootloader? There is always the same message, when i run the console like "dropped into emcore console." 14:14 < Dgby714> =( Logs don't go back far enough >..> 14:18 < user890104> the console is meant to show the output of commands that you run via the usb interface 14:18 < user890104> or to see messages from the FTL check on nano 2g 14:18 < user890104> so if you don't need it, just don't enter there 14:20 < user890104> the boot menu is actually an emcore application, choosing "emcore console" just closes this application 14:20 < rrDNA> ah, ok. thanks. and another question: is there a possibility to customize the icons and the bg in the boot menu? i saw the .psd files somewhere but to be honest, i dont have any idea how to do this. 14:20 < user890104> this one is a bit diffucult 14:20 < user890104> the short answer is: yes 14:21 < Dgby714> Seems noone I knew is still here... 14:21 < user890104> the long answer is that you need to recompile the boot menu application, and then compile an installer which has this new app inside it, then reinstall emcore using this new installer 14:21 < user890104> Dgby714: if you have a question, just ask it 14:22 < Dgby714> When did the name change to freemyipod? 14:22 < user890104> you mean from linux4nano to freemyipod? 14:22 < Dgby714> yes 14:22 < user890104> let me check 14:22 < Dgby714> I was last here some time in '09 14:23 < user890104> around July/August 2010 14:23 < user890104> so, last year 14:23 < Dgby714> =O 14:23 < user890104> http://www.freemyipod.org/wiki/Linux4nano 14:24 < Dgby714> ah 14:24 < user890104> rrDNA: if you change the psd to include images that you choose, i can compile a custom installer for you 14:25 < user890104> unless you want to install an ARM cross-compiler and compile it yourself 14:26 < Dgby714> =O I remember Farthen 14:27 < Farthen> what did i do? :-P 14:27 < user890104> rrDNA: the images are here: http://svn.freemyipod.org/apps/bootmenu-ipodclassic/images/ 14:27 < user890104> yeah, everyone remebers Farthen :) 14:27 < Dgby714> Farthen: Guessing you don't me? 14:27 < Farthen> maybe, i'm not completely sure 14:28 < Dgby714> Farthen: The logs get purged after awhile don't they? 14:28 < rrDNA> that would be great ;) but, i think at least i could try unless its not to difficult to obtain these compilers 14:28 < Farthen> Dgby714: well, i don't know if there are any linux4nano logs anywhere 14:29 < Dgby714> http://logs.freemyipod.org/%23linux4nano/ 14:29 < Dgby714> tho they start in 6/10 14:29 < Farthen> because that's when i started that logbot 14:29 < Farthen> there was another one back thewn 14:30 < Dgby714> Yeah I remember there being logs =) Just assumed it was the same 14:30 < user890104> logs.clustur.com IIRC 14:30 < Farthen> yep, it's down now 14:30 < user890104> but it's not available now 14:30 < Dgby714> that was it 14:30 < Farthen> i could ask cmwslw if he still has the logfiles somewhere 14:30 < Dgby714> nah I don't really need them just thought it would be cool to look back 14:31 < Farthen> well, nevermind. what did you want back then? 14:40 < rrDNA> Would this be a big deal if i would make the icons for the "rockbox" and for the "console" menu entries about as large as the outer two icons? but it seems, that every icon has a fixed width and length size, right? 14:46 < user890104> every icon is fixed size, it is possible to change it but that would involve recalculating the dimensions of the whole menu 14:46 < user890104> i don't have an ipod classic, so i haven't seen how they look like on a real device 14:47 < user890104> if you can make .png files out of the provided .psds, i can swap them and build an installer 14:48 < user890104> i just had a look at the files, it would be fine if you make all four of them the same size 14:49 < user890104> for example as large as the power and tools options' icons 14:50 < user890104> and if the images you use are not copyrighted, we can provide the resulting build as a second theme for emcore's boot menu 14:51 < user890104> i forgot to say that if you don't want the console item for example, it can be removed from your build 14:51 < user890104> but it's recommended to have it just in case 14:51 -!- powell14ski_ [~powell14s@c-174-51-194-6.hsd1.co.comcast.net] has joined #freemyipod 14:52 < rrDNA> yeah, thats what i thought ;) would be great. but i need at least one or two hours, to make them look a little bit better. therefore i have to switch to windows first, so i can work with photoshop. ill be back in a few minutes. nah, the console item is ok. 14:56 < user890104> ok then, message me when you're done 14:57 < rrDNA> ok 14:57 -!- rrDNA [4dba70f3@gateway/web/freenode/ip.77.186.112.243] has left #freemyipod 15:01 -!- rrDNA [4dba70f3@gateway/web/freenode/ip.77.186.112.243] has joined #freemyipod 15:31 -!- powell14ski_ [~powell14s@c-174-51-194-6.hsd1.co.comcast.net] has quit [Quit: powell14ski_] 15:49 -!- kleemajo [~kleemajo@host168-169.resnet.ubc.ca] has joined #freemyipod 15:55 -!- Dgby714 [~Dgby714@128-105.187-72.tampabay.res.rr.com] has quit [Ping timeout: 240 seconds] 16:18 -!- posixninja [~textual@74-137-103-115.dhcp.insightbb.com] has joined #freemyipod 16:19 -!- posixninja [~textual@74-137-103-115.dhcp.insightbb.com] has quit [Client Quit] 16:21 -!- posixninja [~textual@74-137-103-115.dhcp.insightbb.com] has joined #freemyipod 16:45 -!- [Saint] [~Saint]@124-197-58-10.callplus.net.nz] has quit [Remote host closed the connection] 16:46 -!- [Saint] [~st.lasciv@124-197-58-10.callplus.net.nz] has joined #freemyipod 17:03 -!- posixninja [~textual@74-137-103-115.dhcp.insightbb.com] has quit [Quit: Computer has gone to sleep.] 18:08 -!- posixninja [~textual@h95.145.90.75.dynamic.ip.windstream.net] has joined #freemyipod 19:11 < [7]> [14:18:14] and about the usb issue on nano 4g, is there any specific reason to change the alignment, and does it work on your ipod with the new settings? << yes and yes 19:12 < [7]> the old setting was plain wrong and it was pure luck that it somewhat worked 19:12 < [7]> this kind of thing usually causes very rare, hardly reproducible, and even harder to track down bugs 19:12 < [7]> i haven't yet tried how it behaves if booted through the OF though 19:13 < user890104> for me it's the same via OF and DFU 19:14 < user890104> 5 -> config descriptor not sent (at least the first time, windows seems to require it, linux assumes that there's some error, and on the next requests for it for ex. lsusb it manages to get it at some point) 19:14 < user890104> 4 -> no problems in both windows and linux 19:14 < [7]> rrDNA, user890104: no need for an installer to change the graphics. you can just compile a boot menu that looks for them on the HDD, allowing for them to be changed easily, and install that as /.boot/init.emcoreapp 19:15 < [7]> Would this be a big deal if i would make the icons for the "rockbox" and for the "console" menu entries about as large as the outer two icons? but it seems, that every icon has a fixed width and length size, right? 19:15 < user890104> [7]: thanks, didn't think of that 19:15 < [7]> yes, they have a fixed width currently, but I'm not sure if that is technically neccessary 19:16 < [7]> user890104: it's a bit dangerous though for people who don't have the tools 19:17 < [7]> if a boot menu is installed that way and we bump the API or some of the images get messed up in a way that crashes the decoder, they could get into trouble 19:17 < [7]> that's why I didn't make the boot menu look at the HDD by default 19:24 < user890104> [7]: dangerous, unless the person has a full backup of his ipod's hdd? 19:25 < [7]> user890104: dangerous unless the person knows how to remove a broken /.boot/init.emcoreapp 19:25 < [7]> which requires a working emcore.py 19:35 < user890104> or reinstall 19:36 < [7]> that wouldn't help 19:36 < user890104> ah ... 19:36 < user890104> restore + reinstall? :) 19:45 < user890104> [7]: but to change the png files you need to run an installer, right? 21:37 -!- vitorpamplona [~vitor@201.47.213.60.dynamic.adsl.gvt.net.br] has joined #freemyipod 21:41 < [7]> user890104: you could make the boot menu look for them on the hdd 21:43 < Farthen> and have a fallback to the default ones if it can't find any 21:44 < user890104> of course, but there's a bigger chance to break something 21:44 < user890104> [7]: if you want to see the new theme, let me know 21:44 < Farthen> i don't think so. replacing the boot.emcoreapp is more dangerous IMHO 21:45 < user890104> yeah, that's why i made it as an installer 21:45 < user890104> and it hopefully worked from the first try 21:46 -!- vitorpamplona [~vitor@201.47.213.60.dynamic.adsl.gvt.net.br] has left #freemyipod 21:46 < Farthen> but upgrading to a newer version of emcore would break this, wouldn't it? 21:48 < user890104> of course, it won't have the custom files 21:48 < user890104> it will replace them with the default ones 21:48 < user890104> while i was having dinner, i came with the idea to make a web page that asks for a background image and a icons sprite 21:49 < user890104> then it generates a custom installer build :P 21:49 < Farthen> we should rather have theme packages that you can put on thew flash ;) 21:50 < [7]> [23:44:42] [7]: if you want to see the new theme, let me know << of course :) 21:50 < user890104> yeah, but theseven doesn't like the boot menu to be dependent on the flash/hdd 21:50 < user890104> [7]: http://www.datafilehost.com/download-d2b25473.html 21:51 < Farthen> user890104: did you read this?? "[23:41] <[7]> user890104: you could make the boot menu look for them on the hdd" 21:51 < [7]> user890104: if it looks for anything on the hdd, it must do that in a bullet-proof way 21:51 < user890104> [7]: yeah, exactly 21:51 < Farthen> what does boot.emcoreapp do with the hdd atm? 21:52 < user890104> Farthen: that's why i think i can't make it that way 21:52 < [7]> this can either be very thorough error handling, or an override button combination that makes it fall back to its default config and bootflash resources 21:53 < user890104> isn't init.emcoreapp run even before the bootmenu is run at all? 21:54 < [7]> yeah, and that's why i don't like to use init.emcoreapp for such a thing 21:55 < [7]> i'm still not sure what the perfect solution would be 21:55 < [7]> nice theme btw :) 21:56 < rrDNA> thx ;) 21:56 < [7]> on one hand, i'd like to allow the themers to control as much as possible of the boot menu's behavior 21:57 < [7]> on the other hand, i don't like to duplicate code, leading to a maintenance desaster 21:57 < [7]> i'd like to add some complexity to the boot menu, e.g. allowing to set default boot options/timeouts/whatever, but we need to do this in a way that themers don't need to care about this if they don't want to 21:58 < user890104> i remember how themes for iloader were made 21:58 < [7]> and if there are "themes" (not only in terms of graphics, but also behavior) that have incompatible configuration options, that needs to be taken care of as well 21:59 < [7]> user890104: well, this was pretty unflexible 21:59 < user890104> but allowed non-programmers to make ones 22:00 < user890104> and about code duplication, now the nano2g and classic bootmenu have much code in common 22:00 < user890104> i'm thinking about making an unified boot menu 22:01 < [7]> but allowed non-programmers to make ones << nah, that language was worses than C 22:01 < [7]> it was more like ASM :P 22:01 < user890104> but you didn't need an ARM cross-compiler, only a python interpreter :) 22:01 < [7]> i don't think the compiler is the biggest problem here 22:02 -!- posixninja [~textual@h95.145.90.75.dynamic.ip.windstream.net] has quit [Quit: Computer has gone to sleep.] 22:02 < [7]> actually I'd like to get rid of the code duplication while keeping the nano2g/classic boot menus separated 22:03 < user890104> and why do you want them separated? 22:03 < user890104> if you have looked into my launcher's code, you will see that i tried to make it compatible with any resolution 22:04 < [7]> because they have a different set of options etc. 22:04 < user890104> and i think that's the point of emcore app - "one app to rule them all" 22:04 < user890104> can we decide at runtime which of them do we want? 22:04 < [7]> i'd like to share as much as possible, but there are some things that just need to be different 22:05 < [7]> we can, but that means overhead 22:05 < [7]> and the nano2g flash is pretty full already 22:05 < user890104> ah yes, i forgot that we're so size-limited 22:05 < [7]> directory, syscfg, emcore loader, emcore, boot menu, libboot, libpng, libui, libmkfat32, the graphics, disk mode, diagmode and the fallback rockbox image 22:05 < [7]> all in 1MB of flash 22:06 < [7]> oh, i forgot umsboot :) 22:06 < user890104> fitting ftl+fat32 in a note was even better :) 22:07 < [7]> definitely :) 22:07 < [7]> i think there's still two bytes free in that one :) 22:08 < user890104> haha 22:10 < user890104> when you have some time, i suggest updating wiki's todo page with things that are already done, things (bugs?) that are known but still not fixed, and any future plans 22:10 < user890104> for example many people ask for dual boot on the classics 22:11 < user890104> a nice explanation to the problem would be useful to them 22:11 < [7]> there is no nice explanation to this problem 22:12 < [7]> it's a "nail down that damn bug" matter 22:12 < user890104> i found one in a deleted page from the wiki 22:13 < user890104> but i don't know how many out of that four reasons are solved ATM 22:13 < [7]> the two main reasons currently are incompatibilities with our code and hdd layout 22:14 < [7]> i'm fairly sure that we can patch the OF to accept our hdd layout 22:14 < [7]> so the biggest remaining problem is the I2C incompatiblity one 22:14 < [7]> for some reason apple's i2c driver locks up if we have touched the controller before 22:14 < [7]> mr. someone needs to debug that :) 22:16 < user890104> my solution to the nano 4g issue: http://pastebin.com/2xyX6Nxx 22:17 < [7]> that's not a solution 22:17 < [7]> actually this is asking for trouble 22:17 < user890104> okay, workaroud then 22:17 < [7]> this *will* break at some point 22:17 < user890104> so how do we fix it for real? 22:18 < [7]> by figuring out what's going wrong in the first placwe 22:18 < [7]> place* 22:18 < [7]> i bet that you can reproduce the same bug by performing totally different changes 22:18 < [7]> actually it might be a leftover align(16) that's causing it, which gets triggered by removing this one 22:20 * user890104 puts grep in action 22:21 < user890104> well ... 22:21 < user890104> we seem to have some of these 22:22 < user890104> but only in noteboot 22:22 < [7]> well, i replaced them by putting grep into action 22:22 < [7]> so that's bound to fail :) 22:22 < [7]> it might possibly be a section alignment problem 22:23 < user890104> i don't find any aligned(16) (except the one i put) 22:25 < user890104> i'm going to load my nano 4g with the "faulty" build and sniff the whole usb hub 22:25 < user890104> and i hope that the program will catch config descriptor requests/responses 22:28 < user890104> ah, my mobile broadband modem is conncted to the same hub :\ 22:30 -!- user890104 [~Venci@213.226.63.153] has quit [] 22:32 < rrDNA> ok. i've fixed the lowercase issue and finished the nano theme. please compile and check if everything is looking alright ;) CLASSIC: http://www.banfai.de/phpbb3/emcore/emCORE_classic_theme.rar NANO: http://www.banfai.de/phpbb3/emcore/emCORE_nano_theme.rar (also attached the .psd files, so feel free to use, modify and distribute this theme)) 22:34 < [7]> rrDNA: do you own the copyright of all contents of these files? 22:37 < rrDNA> yeah. partially from my bought content from my istock account, and the other part free and my own elements. 22:38 < Farthen> obviously you don't own the copyrights of the apple logo 22:38 < Farthen> this is crying for trouble IMHO... 22:50 < [7]> rrDNA: the istock content would probably also be an issue 22:51 < [7]> as you probably aren't allowed to relicense it to others 22:51 < [7]> so this is the typical GPL vs. nonfree content dilemma 22:53 -!- user890104 [~Venci@213.226.63.136] has joined #freemyipod 22:53 -!- Keripo [~t-phpeng@c-76-28-198-27.hsd1.wa.comcast.net] has joined #freemyipod 23:07 -!- powell14ski_ [~powell14s@c-174-51-194-6.hsd1.co.comcast.net] has joined #freemyipod 23:07 -!- Keripo [~t-phpeng@c-76-28-198-27.hsd1.wa.comcast.net] has quit [Read error: Connection reset by peer] 23:08 -!- Keripo [~Keripo@c-76-28-198-27.hsd1.wa.comcast.net] has joined #freemyipod 23:08 -!- powell14ski_ [~powell14s@c-174-51-194-6.hsd1.co.comcast.net] has quit [Client Quit] 23:17 -!- soap [~soap@rockbox/staff/soap] has quit [Ping timeout: 240 seconds] 23:31 -!- soap [~soap@rockbox/staff/soap] has joined #freemyipod 23:37 -!- rrDNA [4dba70f3@gateway/web/freenode/ip.77.186.112.243] has quit [Quit: Page closed] --- Log closed Sun Jul 24 00:30:33 2011