[00:22:07] looks like the 4g is mostly working [00:22:16] except for one memcpy call getting screwed up [00:22:22] but that just trashes the volume label [00:22:35] it can boot files regardless [00:37:54] how on earth can "UMSboot \x08" become "UMS\0ootb " with several different memcpy implementations!? [00:42:40] *** Quits: n1s (~n1s@rockbox/developer/n1s) (Ping timeout: 276 seconds) [01:18:23] *** Joins: bobbarker2000 (627d79e1@gateway/web/freenode/ip.98.125.121.225) [01:23:25] just so I do understand things right... [01:23:25] if I have a C file with a function declared as __attribute__((weak)) [01:23:25] and if I have an ASM file with a label declared as .global [01:23:25] and I link the objects of both together, which function wins if they have the same name? [01:23:25] my naive understanding would assume that the ASM one would win, but apparently I'm wrong... [01:23:27] nm lists the symbols with the same name, as type "W" on the object of the C file, and as type "T" on the object of the ASM file [01:23:29] the (autogenerated) linker command lists the C object before the ASM object, but IIUC that shouldn't make a difference? [01:23:31] all objects (the C one, the ASM one and the caller of the function) are linked in one step with -flto [01:39:27] *** Joins: n1s (~n1s@rockbox/developer/n1s) [02:03:18] *** Joins: clustur (~logger@c-68-53-250-91.hsd1.tn.comcast.net) [02:03:18] *** Quits: clustur (~logger@c-68-53-250-91.hsd1.tn.comcast.net) (Read error: Connection reset by peer) [02:12:42] http://codepad.org/O6nXCpWp [02:12:46] who spots the bug? [02:43:54] *** Quits: n1s (~n1s@rockbox/developer/n1s) (Quit: Ex-Chat) [06:43:14] *** Quits: TheSeven (~quassel@rockbox/developer/TheSeven) (Disconnected by services) [06:43:15] *** Joins: [7] (~quassel@rockbox/developer/TheSeven) [08:03:18] *** Joins: clustur (~logger@c-68-53-250-91.hsd1.tn.comcast.net) [08:03:18] *** Quits: clustur (~logger@c-68-53-250-91.hsd1.tn.comcast.net) (Remote host closed the connection) [08:07:03] *** Quits: bobbarker2000 (627d79e1@gateway/web/freenode/ip.98.125.121.225) (Ping timeout: 250 seconds) [10:00:21] *** Quits: STeeF (~STeeF@office.hostnetbv.nl) (Remote host closed the connection) [10:14:11] *** Joins: STeeF (~STeeF@office.hostnetbv.nl) [10:16:12] *** Quits: [Saint] (~saint@rockbox/user/saint) (Remote host closed the connection) [10:32:26] *** Joins: [Saint] (~saint@rockbox/user/saint) [10:53:16] *** Quits: Farthen (~Farthen@cassiopeia.uberspace.de) (Ping timeout: 264 seconds) [10:53:49] *** Joins: Farthen (~Farthen@cassiopeia.uberspace.de) [11:50:31] *** Joins: n1s (~n1s@nl118-168-30.student.uu.se) [11:50:31] *** Quits: n1s (~n1s@nl118-168-30.student.uu.se) (Changing host) [11:50:31] *** Joins: n1s (~n1s@rockbox/developer/n1s) [12:18:42] *** Quits: STeeF (~STeeF@office.hostnetbv.nl) (Remote host closed the connection) [12:30:22] *** Joins: STeeF (~STeeF@office.hostnetbv.nl) [13:44:22] *** Quits: [Saint] (~saint@rockbox/user/saint) (Remote host closed the connection) [13:45:29] *** Joins: [Saint] (~saint@rockbox/user/saint) [14:03:20] *** Joins: clustur (~logger@c-68-53-250-91.hsd1.tn.comcast.net) [14:03:20] *** Quits: clustur (~logger@c-68-53-250-91.hsd1.tn.comcast.net) (Remote host closed the connection) [16:53:59] *** Quits: [Saint] (~saint@rockbox/user/saint) (Ping timeout: 268 seconds) [17:00:11] *** Joins: [Saint] (~saint@rockbox/user/saint) [18:38:40] *** Quits: STeeF (~STeeF@office.hostnetbv.nl) (Remote host closed the connection) [20:03:21] *** Joins: clustur (~logger@c-68-53-250-91.hsd1.tn.comcast.net) [20:03:21] *** Quits: clustur (~logger@c-68-53-250-91.hsd1.tn.comcast.net) (Read error: Connection reset by peer) [21:51:20] [7]: i have mingw, how can i help? [21:57:30] "hello world" builds fine [22:20:38] booting umsboot 0.2 using umsboot 0.1 doesn't seem to work for me [22:24:30] <[7]> which device? [22:24:33] classic [22:24:42] works fine on n2g, booted the same way [22:24:45] <[7]> can you try to embed the new classic umsboot into a windows itunes bootstrapper? [22:25:24] well, i'm trying to boot it somehow first [22:25:46] <[7]> I tested it using emcore runfirmware 0x08000000 umsboot.bin [22:26:34] uhm, it seems to have locked up on my n2g [22:28:48] what should happen if i unplug usb after booting it? (no files copied to the ramdisk) [22:31:14] <[7]> nothing [22:31:27] <[7]> it only reacts to properly ejecting, not to just unplugging [22:31:41] <[7]> and if it doesn't find something bootable it will just reconnect [22:31:58] <[7]> (and complain with an on-screen message) [22:32:48] well, it crashes on disconnect (or maybe on reconnecting - can't confirm that) [22:33:37] also crashes if i attempt to boot osos [22:34:17] the old umsboot boots it just fine [22:36:58] actually, it reboots after trying to boot osos, and locks up if i disconnect or reconnect it, without any files on the ramdisk [22:38:25] "crashes" sounds too ambiguous in this case [22:41:01] also, after booting itself twice, it also locks up [22:41:27] i'm going to check if it's reproducible [22:43:02] no, it was probably random [22:45:14] ah, it's smart enough to re-establish usb connection after being ejected with no valid file on the ramdisk :) [22:49:22] also, it is able to boot diagflsh [22:49:34] but locked up on my attempt to boot diskflsh [22:52:18] the old umsboot can boot it just fine [23:01:08] umsboot 0.2 runs on my classic2g using runfirmware