00:00:40 | *** | Saving seen data "./dancer.seen" |
00:08:20 | | Quit (Ping timeout: 258 seconds) |
00:10:10 | | Join [0] (~quassel@unaffiliated/holgersson) |
00:13:26 | | Quit ender` (Quit: The greatest enemy of knowledge is not ignorance, it is the illusion of knowledge. — Stephen Hawking) |
00:24:27 | __builtin | hmm, there's an issue here |
00:25:09 | __builtin | S3C6400 has USB HID disabled |
00:27:53 | pamaury | __builtin: well then, even less use of modifying it |
00:30:08 | * | __builtin will try enabling it and see what happens |
00:41:15 | | Quit xorly (Ping timeout: 244 seconds) |
00:43:32 | | Join CrashBash-Kun [0] (~CrashBash@unaffiliated/crashbash-kun) |
01:00 |
01:01:42 | | Join paulk-nyan-big [0] (paulk@nat/google/x-cxqmeiwqrfzvluuz) |
01:04:41 | | Quit dfkt (Read error: Connection reset by peer) |
01:05:59 | | Join dfkt [0] (~dfkt@unaffiliated/dfkt) |
01:22:25 | | Quit ZincAlloy (Quit: Leaving.) |
01:31:22 | | Quit pamaury (Ping timeout: 272 seconds) |
01:57:37 | | Quit nlogex (Quit: WeeChat 1.5) |
02:00 |
02:00:43 | *** | Saving seen data "./dancer.seen" |
02:20:48 | | Quit paulk-nyan-big (Quit: Leaving) |
02:22:52 | | Join advcomp2019 [0] (~advcomp20@65-131-148-108.sxct.qwest.net) |
02:22:52 | | Quit advcomp2019 (Changing host) |
02:22:52 | | Join advcomp2019 [0] (~advcomp20@unaffiliated/advcomp2019) |
02:24:37 | | Join nlogex [0] (~filip@dhcp-108-168-15-53.cable.user.start.ca) |
02:25:02 | | Quit advcomp2019_ (Ping timeout: 250 seconds) |
02:40:48 | __builtin | well, the classic builds properly with HID enabled |
02:43:05 | | Join smoke_fumus [0] (~smoke_fum@188.35.176.90) |
02:46:07 | __builtin | but it's unstable |
03:00 |
03:04:06 | | Quit smoke_fumus (Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/) |
03:06:24 | __builtin | foolsh: I'm considering pushing a patch to make xworld start with the same random seed each time |
03:06:24 | | Quit dfkt (Read error: Connection reset by peer) |
03:06:35 | __builtin | that way the code wheel position it asks for is always the same |
03:07:21 | foolsh | thats a pretty good idea, remind me to give you a raise =] |
03:07:47 | __builtin | triple my salary! |
03:08:09 | __builtin | but I'm concerned it might make the game too boring if it's the same each time |
03:08:41 | foolsh | not sure it uses it during game play |
03:08:52 | foolsh | the scenes are all script I think |
03:08:54 | __builtin | well, it does for things like where the slugs spawn |
03:09:02 | foolsh | ah yeah |
03:10:01 | __builtin | hmm, maybe I could set the seed to a random value after it gets past the screen |
03:10:11 | foolsh | could it perhaps be reseeded.. you read my mind |
03:10:25 | __builtin | or even just skip it automatically |
03:11:46 | __builtin | there's code in there that's supposed to do that, but it doesn't seem to work |
03:13:42 | foolsh | yeah I remember that not working |
03:13:53 | | Nick JanC is now known as Guest42926 (~janc@lugwv/member/JanC) |
03:13:57 | | Join JanC [0] (~janc@lugwv/member/JanC) |
03:14:15 | * | __builtin can't believe he ported this whole thing without understanding how it worked at all |
03:14:36 | foolsh | welcome to C |
03:16:10 | | Quit Guest42926 (Ping timeout: 250 seconds) |
03:16:24 | * | __builtin will try and get that working |
03:17:44 | | Quit Moarc (Quit: i znowu NADMUCHAŁ BALONA) |
03:19:14 | __builtin | the game never triggers the case the patching code wants |
03:22:44 | __builtin | maybe I have a slightly different version than what it expects |
04:00 |
04:00:45 | *** | Saving seen data "./dancer.seen" |
04:23:02 | | Join Strife89|Quassel [0] (~quassel@adsl-98-67-61-19.mcn.bellsouth.net) |
04:23:27 | | Quit Strife89 (Ping timeout: 244 seconds) |
04:38:26 | prof_wolfff | __builtin: you can get a build of the bootloader and the RockboxUtility at user890104/bootloader-ipodclassic.html">https://files.freemyipod.org/~user890104/bootloader-ipodclassic.html |
04:49:11 | prof_wolfff | __builtin: i have not tried too much the HID on new USB driver g#1324, but in my small tests it worked well on Linux and Windows VM |
04:49:12 | fs-bluebot_ | Gerrit review #1324 at http://gerrit.rockbox.org/r/1324 : usb-designware: New USB driver for Synopsys DesignWare USB OTG core. by Cástor Muñoz |
04:59:21 | | Join JdGordon_ [0] (~jonno@rockbox/developer/JdGordon) |
05:00 |
05:01:59 | | Quit JdGordon (Ping timeout: 258 seconds) |
05:54:20 | | Join Strobokopp [0] (~Strobokop@x5f768e78.dyn.telefonica.de) |
05:57:08 | | Quit Stroboko1p (Ping timeout: 244 seconds) |
06:00 |
06:00:46 | *** | Saving seen data "./dancer.seen" |
06:39:00 | | Quit Bray90820 () |
06:39:24 | | Join Bray90820 [0] (~bray90820@50-81-116-153.client.mchsi.com) |
06:55:15 | | Quit TheSeven (Disconnected by services) |
06:55:26 | | Join [7] [0] (~quassel@rockbox/developer/TheSeven) |
07:00 |
07:14:48 | | Join Moarc [0] (~chujko@2002:551c:8069:1:cc73:aeb8:2b17:990b) |
07:38:16 | | Join ender` [0] (krneki@foo.eternallybored.org) |
08:00 |
08:00:48 | *** | Saving seen data "./dancer.seen" |
08:10:40 | | Quit CrashBash-Kun (Ping timeout: 260 seconds) |
08:12:00 | | Quit girafe (Read error: Connection reset by peer) |
08:16:45 | | Join wodz [0] (~wodz@iwl138.internetdsl.tpnet.pl) |
08:36:20 | | Quit nlogex (Ping timeout: 260 seconds) |
08:53:25 | | Join petur [0] (~petur@rockbox/developer/petur) |
09:00 |
09:03:51 | | Join pamaury [0] (~pamaury@rockbox/developer/pamaury) |
09:13:02 | | Join xorly [0] (~xorly@ip-89-176-117-132.net.upcbroadband.cz) |
09:19:54 | | Join PurlingNayuki1 [0] (~Thunderbi@v163-44-154-238.a00f.g.sin1.static.cnode.io) |
09:21:31 | | Quit PurlingNayuki (Ping timeout: 252 seconds) |
09:21:31 | | Nick PurlingNayuki1 is now known as PurlingNayuki (~Thunderbi@v163-44-154-238.a00f.g.sin1.static.cnode.io) |
09:22:37 | | Quit pamaury (Ping timeout: 252 seconds) |
09:40:28 | | Join pamaury [0] (~pamaury@rockbox/developer/pamaury) |
09:50:59 | | Quit pamaury (Ping timeout: 260 seconds) |
09:56:44 | | Join ZincAlloy [0] (~Adium@2a02:8108:8b80:1700:c838:2eb5:a9c1:ede6) |
10:00 |
10:00:49 | *** | Saving seen data "./dancer.seen" |
10:10:15 | | Quit ZincAlloy (Quit: Leaving.) |
10:35:01 | | Join pamaury [0] (~pamaury@rockbox/developer/pamaury) |
10:37:55 | | Quit pamaury (Remote host closed the connection) |
10:39:00 | | Join pamaury [0] (~pamaury@rockbox/developer/pamaury) |
10:46:46 | | Quit pamaury (Ping timeout: 252 seconds) |
11:00 |
11:01:16 | | Join elensil [0] (~edhelas@2001:1c02:1903:d800:1117:5002:eaa3:a624) |
11:39:12 | | Quit bluebrother (Disconnected by services) |
11:39:17 | | Join bluebrother^ [0] (~dom@rockbox/developer/bluebrother) |
11:39:36 | | Join fs-bluebot [0] (~fs-bluebo@xd9befb94.dyn.telefonica.de) |
11:41:34 | | Quit fs-bluebot_ (Ping timeout: 244 seconds) |
12:00 |
12:00:52 | *** | Saving seen data "./dancer.seen" |
12:01:30 | | Quit (Remote host closed the connection) |
12:04:15 | | Join ZincAlloy [0] (~Adium@2a02:8108:8b80:1700:fdb8:72d7:2195:6ad8) |
12:59:07 | | Join pamaury [0] (~pamaury@rockbox/developer/pamaury) |
13:00 |
13:04:36 | | Quit elensil (Ping timeout: 258 seconds) |
13:18:53 | | Quit pamaury (Ping timeout: 246 seconds) |
13:37:21 | | Join pamaury [0] (~pamaury@rockbox/developer/pamaury) |
13:42:56 | | Quit pamaury (Ping timeout: 258 seconds) |
13:45:57 | | Join elensil [0] (~edhelas@2001:1c02:1903:d800:1117:5002:eaa3:a624) |
14:00 |
14:00:56 | *** | Saving seen data "./dancer.seen" |
14:04:09 | | Join pamaury [0] (~pamaury@rockbox/developer/pamaury) |
14:36:27 | | Quit pamaury (Ping timeout: 264 seconds) |
14:40:39 | | Quit [7] (Remote host closed the connection) |
14:48:29 | | Quit elensil (Ping timeout: 258 seconds) |
14:55:15 | | Join TheSeven [0] (~quassel@rockbox/developer/TheSeven) |
14:57:40 | | Join bzed_ [0] (~bzed@shell.bzed.at) |
14:58:00 | | Quit bzed (Ping timeout: 240 seconds) |
14:58:04 | | Nick bzed_ is now known as bzed (~bzed@shell.bzed.at) |
15:00 |
15:00:06 | | Join elensil [0] (~edhelas@2001:1c02:1903:d800:1117:5002:eaa3:a624) |
15:07:10 | TheSeven | wodz: pong |
15:08:49 | TheSeven | pamaury (for the logs): I only vaguely remember how I did it, but I had to work around several issues - which particular error are you stuck at? |
15:09:08 | | Quit bzed (Ping timeout: 246 seconds) |
15:10:16 | wodz | TheSeven: is there a way to rebuild FTL? My nano started to throw i/o errors after many unclean unplugs while testing usb |
15:10:44 | wodz | TheSeven: I cannot reformat data partition |
15:11:37 | | Join bzed [0] (~bzed@shell.bzed.at) |
15:12:25 | wodz | TheSeven: gtg. I'll read backlog later |
15:12:29 | | Quit wodz (Quit: Leaving) |
15:12:52 | TheSeven | pamaury: I think I just patched away to make version check to allow 4.x |
15:13:30 | TheSeven | I got away with using xenial system make |
15:14:12 | TheSeven | sadly getting the ypr0 toolchain to compile isn't just a matter of patching rockboxdev.sh, it requires messing with crosstool-generated intermediate files |
15:14:25 | TheSeven | I don't fully remember what I did, but I should be able to reconstruct it |
15:15:00 | TheSeven | it's nothing that could be automated easily though - we really need a newer crosstool version here I'd guess |
15:17:15 | TheSeven | for MIPS I'm running a 4.6.3 toolchain |
15:18:18 | TheSeven | that doens't work with the buildclient of course, which enforces using the old version |
15:19:13 | TheSeven | the makeinfo error is just some problem with generating docs which we don't need, I vaguely remember removing some optional dependency to make the build process just skip that altogether |
15:20:22 | TheSeven | wodz: just erase the flash (or some critical section of it) and run the OF bootloader, it will completely recreate the FTL if anything fails while attempting to mount it |
15:21:03 | TheSeven | I'd be curious where the I/O errors are coming from though - the code is supposed to be 100% unclean reboot proof |
15:25:46 | TheSeven | what the hell is my buildclient doing with the manual |
15:42:04 | TheSeven | can someone please explain to me what this is supposed to do? |
15:42:06 | TheSeven | cat /cache/rockbox/rb-buildclient/test/manual/html/*.html | sed -e '/\.js/!d;s/.*\"\(.*\.js\)\".*/\1/g;/</d' | uniq |
15:42:13 | TheSeven | it somehow returns nothing on my system |
15:46:37 | TheSeven | hm, I guess the root cause is somewhere earlier |
15:47:10 | TheSeven | the only file matching that pattern is rockbox-build.html, and that doesn't contain the string 'js' at all |
15:47:43 | gevaerts | Hmmm |
15:47:53 | gevaerts | I have the same issue on my laptop |
15:48:10 | gevaerts | And probably that's also why www.rockbox.org doesn't have html manuals |
15:49:26 | TheSeven | and I have no idea where to look, because I have even less of an idea what this is even supposed to be doing/look like |
15:53:45 | gevaerts | hmm |
15:54:20 | TheSeven | possibly related to versions of some tex-related packages? |
15:56:40 | TheSeven | gevaerts: if you want to compare, that's what's on my box that has the problem: http://paste.ubuntu.com/17324436/ |
16:00 |
16:00:58 | *** | Saving seen data "./dancer.seen" |
16:17:51 | | Quit ender` (Ping timeout: 264 seconds) |
16:17:51 | | Quit ender| (Ping timeout: 264 seconds) |
16:30:09 | | Join ender| [0] (krneki@2a01:260:4094:1:42:42:42:42) |
16:38:59 | | Join girafe [0] (~girafe@LFbn-1-8020-64.w90-112.abo.wanadoo.fr) |
16:49:39 | | Quit cc___ (Ping timeout: 264 seconds) |
16:54:16 | | Quit ZincAlloy (Quit: Leaving.) |
16:55:05 | | Quit duo8 (Ping timeout: 276 seconds) |
17:00 |
17:01:36 | | Join nlogex [0] (~filip@dhcp-108-168-15-53.cable.user.start.ca) |
17:12:09 | __builtin | "Rapid insert/disconnect and large file transfers do not cause problems." |
17:12:11 | __builtin | lol |
17:22:50 | | Join Jinx [0] (Dojo@unaffiliated/jinx) |
17:26:35 | | Quit rela (Quit: Leaving) |
17:26:51 | | Join rela [0] (~x@pdpc/supporter/active/rela) |
17:34:28 | | Join cc___ [0] (~ac@2001:910:113f:1:6a05:caff:fe1c:1627) |
17:35:56 | | Quit petur (Read error: Connection reset by peer) |
17:37:04 | | Quit krnlyng (Ping timeout: 260 seconds) |
17:46:27 | __builtin | prof_wolfff: the new USB driver is great |
17:46:35 | __builtin | no crashes, HID works too |
17:50:23 | | Join krnlyng [0] (~liar@178.114.93.119.wireless.dyn.drei.com) |
18:00 |
18:01:00 | *** | Saving seen data "./dancer.seen" |
18:26:04 | | Quit cc___ (Ping timeout: 260 seconds) |
18:26:59 | | Join paulk-nyan-big [0] (paulk@nat/google/x-bddhomvpkowwvuom) |
18:28:52 | fs-bluebot | Build Server message: New build round started. Revision c7a561e, 255 builds, 13 clients. |
18:29:09 | gevaerts | TheSeven: these commits might fix the html manual |
18:29:17 | gevaerts | Don't ask how, or why they were broken |
18:32:06 | * | TheSeven builds a ton of checkwps |
18:32:31 | TheSeven | now some bootloaders |
18:34:19 | TheSeven | now a sim |
18:35:20 | * | pixelma is tempted to ask |
18:37:22 | fs-bluebot | Build Server message: Build round completed after 509 seconds. |
18:37:22 | fs-bluebot | Build Server message: Revision c7a561e result: All green |
18:37:32 | TheSeven | and why on earth it only happened on some systems anyway |
18:38:20 | gevaerts | Things change over time :) |
18:40:17 | TheSeven | getting way more \bf warning spam in the output now, looks good |
18:58:23 | | Join wodz [0] (~wodz@89-77-223-98.dynamic.chello.pl) |
18:58:57 | wodz | TheSeven: Do I need windows + itunes to do that or I can somehow do it from linux? |
18:59:08 | TheSeven | you can do it from linux |
18:59:20 | TheSeven | I guess you're using emcore? |
19:00 |
19:01:03 | | Quit ender| (Ping timeout: 264 seconds) |
19:01:20 | wodz | TheSeven: it is device from iLoader days :-) |
19:02:51 | TheSeven | hmmm... I'd kinda recommend uninstalling iloader, then nuking the flash, then reinstalling either emcore or the rockbox bootloader |
19:04:01 | wodz | TheSeven: ok, no problem. Is there step-by-step instruction how to do that? |
19:04:24 | TheSeven | that kinda depends on what kind of iloader build you have |
19:04:35 | TheSeven | does it have an uninstall feature in its menu already? |
19:05:26 | wodz | I need to check |
19:06:11 | wodz | yes it has uninstall |
19:06:40 | wodz | TheSeven: ^ |
19:07:00 | TheSeven | then try that |
19:07:11 | TheSeven | see if it asks you to restore the ipod or if it can do it on its own |
19:07:31 | wodz | it asks for itunes restore |
19:07:54 | TheSeven | try going into disk mode and using the ipodscsi tool to restore |
19:08:32 | wodz | TheSeven: where I can find this tool? |
19:08:42 | TheSeven | should be somewhere in freemyipod svn |
19:10:40 | __builtin | TheSeven: I'm trying to implement a blocking usb_drv_recv for the designware core |
19:10:50 | __builtin | can you give me an idea of how it should look? |
19:11:07 | TheSeven | I guess prof_wolfff has worked on that more recently |
19:11:22 | TheSeven | I haven't really done much with that in the last couple of years |
19:16:41 | wodz | TheSeven: eee, ipodscsi seems to be windows tool |
19:17:04 | TheSeven | hmmm, I thought there was a linux port of that, or it ran on both |
19:17:13 | TheSeven | we definitely have a linux-only restore option |
19:18:33 | | Join cc___ [0] (~ac@2001:910:113f:1:6a05:caff:fe1c:1627) |
19:21:30 | wodz | TheSeven: I'll appreciate if you find the linux tool + instructions |
19:22:02 | | Join ZincAlloy [0] (~Adium@2a02:8108:8b80:1700:dd64:8fcb:17e0:8158) |
19:22:49 | __builtin | foolsh: I looked into seeding the RNG with a constant, but that's not enough |
19:22:53 | TheSeven | user890104: ping |
19:23:34 | * | __builtin thinks the game uses user input to add further entropy to the RNG |
19:24:41 | TheSeven | seeding it with a constant isn't a good idea, maybe try not seeding it at all |
19:25:26 | * | __builtin is talking about the xworld plugin |
19:25:40 | __builtin | it implements a virtual machine for a game with in-game copy protection |
19:31:56 | user890104 | TheSeven: pong |
19:32:18 | TheSeven | user890104: we do have ipodscsi for linux, don't we? |
19:32:33 | user890104 | TheSeven: yes |
19:32:40 | TheSeven | can you walk wodz through using it to kick iloader of a nano2g? |
19:32:47 | TheSeven | just do an OF restore then iloader uninstallation |
19:33:08 | TheSeven | (hoping that the FTL will still survive that) |
19:33:17 | user890104 | i need to find the tool source code first :) |
19:34:43 | user890104 | wodz: user890104/ipodscsi_linux.zip">https://files.freemyipod.org/~user890104/ipodscsi_linux.zip |
19:35:30 | user890104 | it was ported to linux by a visually impaired ipod user, and honestly i haven't ever tested it |
19:35:52 | wodz | lets try |
19:36:08 | user890104 | v2 is the more recent one, obviously |
19:37:32 | wodz | any special way to compile or compiling main-v2.c only is enough? |
19:39:08 | user890104 | only main-v2.c |
19:39:29 | user890104 | i don't think it needs to link to any libs on linux (besides libc) |
19:40:38 | wodz | it looks for build/version.h |
19:40:52 | | Join ender| [0] (krneki@2a01:260:4094:1:42:42:42:42) |
19:42:12 | user890104 | ok, can you download the whole freemyipod svn tree |
19:42:25 | user890104 | svn co svn://svn.freemyipod.org/ freemyipod |
19:42:45 | user890104 | then replace tools/ipodscsi/main.c with main-v2.c |
19:42:52 | user890104 | and try to build it again |
19:43:47 | user890104 | uhm, it should be svn://svn.freemyipod.org/trunk |
19:44:06 | * | user890104 haven't used svn in ages, in favor of git |
19:46:57 | foolsh | __builtin: I hope it doesn't rely on undefined behavour to work right =] |
19:48:26 | foolsh | might be time to hit the old 2600 archives and look up some old school copy-protection schemes |
19:48:27 | | Quit ender| (Ping timeout: 264 seconds) |
19:49:37 | | Join ender` [0] (krneki@foo.eternallybored.org) |
19:51:33 | wodz | user890104: unfortunately real life exception :-/ I'll try later. |
19:51:53 | * | __builtin thinks it's possible to patch the VM, the question is how |
19:52:40 | __builtin | or maybe, I could patch the bytecode itself |
19:53:47 | wodz | user890104: http://pastie.org/10876673 |
19:57:57 | | Join Link8 [0] (~me@546AC6B1.cm-12-3d.dynamic.ziggo.nl) |
19:58:29 | wodz | user890104: got it to compile |
20:00 |
20:00:17 | user890104 | wodz: but does it run? |
20:00:56 | | Join ender| [0] (krneki@2a01:260:4094:1:42:42:42:42) |
20:01:04 | *** | Saving seen data "./dancer.seen" |
20:01:21 | wodz | user890104: ok, now how do I restore with ipodscsi? writefirmware <firmware.mse> ? Where do I get this file from? |
20:01:32 | wodz | user890104: well i displays help at least |
20:04:50 | user890104 | wodz: https://www.freemyipod.org/wiki/Restore_iPod_without_iTunes#Steps_to_restore |
20:05:09 | user890104 | uhm, is this a nano 2g? |
20:05:52 | user890104 | these instructions are written with classics in mind |
20:06:47 | user890104 | wodz: which mode is the ipod in? |
20:13:36 | wodz | user890104: disk mode |
20:15:44 | user890104 | ok, just proceed with this: https://www.freemyipod.org/wiki/Restore_iPod_without_iTunes#Final_step:_Install_Apple.27s_firmware |
20:16:10 | wodz | user890104: what is the difference between nano2g 19/1.1.3 and nano2g 29/1.1.3 ? |
20:16:40 | user890104 | no idea, i only used 19/* |
20:34:13 | wodz | user890104: how do I know which /dev/sgN should I use? I have /dev/sg0 and /dev/sg1. I'd prefer not to destroy main hdd :-) |
20:35:14 | user890104 | wodz: have a look at dmesg |
20:35:50 | wodz | ah, right its just that ipod disconnects just after entering disk mode |
20:35:58 | funman | wodz: cat /sys/class/scsi_generic/sg0/device/model ? |
20:36:28 | user890104 | and no, you won't destroy it, as it only sends vendor-specific SCSI commands |
20:36:52 | user890104 | so unless you're using an ipod for your main hdd, sending these commands should cause no harm :) |
20:36:58 | wodz | cool |
20:37:17 | user890104 | it does not format the ipod |
20:37:34 | user890104 | you'll need to do it manually, after reinstallation of apple's firmware |
20:37:48 | user890104 | you should be presented with a 2-partition mass storage drive |
20:38:11 | user890104 | don't touch the first one, and run mkfs.vfat on the second one (the larger) |
20:38:22 | user890104 | then you should have an almost-stock ipod |
20:39:27 | wodz | user890104: MSE file size must be a multiple of 4096 |
20:39:41 | user890104 | uhm... |
20:40:13 | user890104 | TheSeven: is it safe to zero-pad the MSE? |
20:40:38 | TheSeven | should be |
20:40:54 | TheSeven | we only care about aupd being intact anyway |
20:42:16 | TheSeven | then do iloader uninstall, wipe flash (using emcore or something), let the OF bootloader rebuild it, then format it properly and install the RB bootloader or emcore |
20:47:43 | | Join feoafka [0] (~afoakf@d23-16-72-85.bchsia.telus.net) |
20:49:44 | wodz | TheSeven: how long does it take to 'Write firmware' with ipodscsi? |
20:49:55 | | Quit athidhep (Ping timeout: 244 seconds) |
20:54:34 | user890104 | wodz: about a minute or two on a classic |
20:55:26 | wodz | user890104: thanks |
21:00 |
21:02:13 | wodz | hmm, it definitely takes more then minute or two. Still writing... |
21:02:16 | | Join lebellium [0] (~chatzilla@89-93-179-187.hfc.dyn.abo.bbox.fr) |
21:07:18 | TheSeven | hm, how big is the MSE file? |
21:07:54 | TheSeven | I'd expect a throughput of 1-4MB/s |
21:08:07 | TheSeven | so shouldn't really be more than 5 minutes |
21:08:31 | TheSeven | even if it doens't finish, you might be lucky enough that it managed to write the relevant parts |
21:08:50 | wodz | TheSeven: it finished flashing. How do I uninstall iLoader? |
21:09:02 | TheSeven | just run that uninstall option again |
21:09:07 | TheSeven | it should find the restore image now |
21:10:00 | wodz | nop, it still asks to restore with itunes |
21:10:10 | TheSeven | hm, not good |
21:10:26 | TheSeven | maybe ipodscsi doesn't work on the nano2g after all |
21:10:40 | TheSeven | but I think the nano exposes the firmware partition through the mass storage device anyway (unlike the classic) |
21:12:44 | wodz | in disk mode it is single ~4GB drive |
21:13:08 | TheSeven | http://www.rockbox.org/wiki/IpodManualRestore should apply IIUC |
21:14:34 | wodz | TheSeven: no this instructions are for PP ipods |
21:14:58 | TheSeven | the firmware partition layout on the nano2g is very similar, just different contents in the image file |
21:15:15 | TheSeven | this one still has an exposed firmware partition, unlike the later ones (including the classic) |
21:17:01 | wodz | TheSeven: but at least this ipod is/was formated as super floppy (aka /dev/sdX not /dev/sdX1) |
21:17:45 | TheSeven | that's an iloader thing |
21:18:07 | | Quit paulk-nyan-big (Remote host closed the connection) |
21:18:08 | TheSeven | ipodscsi should have reverted that, but apparently nano2g disk mode behaves a bit different to the newer ones |
21:19:56 | wodz | ipodscsi claims it did repartition device but looks like it not |
21:20:40 | TheSeven | yes, it just sends commands to disk mode, the actual partitioning is done by that |
21:22:48 | wodz | TheSeven: So is there really other option then iTunes for me? |
21:23:03 | TheSeven | wodz: I'll send you an image of a freshly restored nano2g 8GB |
21:23:19 | TheSeven | i.e. filesystem will be trash, but the firmware partition should be fine and allow you to uninstall iloader |
21:23:39 | wodz | this one is 4GB |
21:23:47 | TheSeven | I know |
21:24:17 | TheSeven | https://www.datafilehost.com/d/c970ce04 |
21:24:36 | TheSeven | just unzip that and dd it to the ipod in disk mode |
21:24:43 | TheSeven | then reattempt iloader uninstallation |
21:25:09 | wodz | TheSeven: to /dev/sdb or whatever it is? |
21:25:14 | TheSeven | yes |
21:26:49 | | Quit Bray90820 () |
21:31:56 | | Join Bray90820 [0] (~bray90820@50-81-116-153.client.mchsi.com) |
21:34:05 | wodz | TheSeven: it worked (despite the fact that ipod thinks it is 8GB) |
21:34:57 | wodz | TheSeven: Should I install emcore now to whip flash? |
21:36:02 | TheSeven | hm... |
21:36:06 | wodz | haha, OF thinks it has 3276GB 79.5GB free |
21:36:18 | TheSeven | I'd like the keep the OF bootloader in place for now |
21:36:26 | TheSeven | because that's what will later recreate the FTL for us |
21:37:10 | TheSeven | we now need to erase the flash somehow |
21:37:38 | TheSeven | might be easiest to do that with a patched rockbox build, launched through the rockbox bootloader (which keeps the OF bootloader intact) |
21:37:53 | TheSeven | or maybe by launching an emcore installer, but not actually installing it |
21:38:05 | TheSeven | does emcore have a write raw flash USB api call? |
21:38:18 | TheSeven | user890104: ^ |
21:39:03 | TheSeven | doesn't look like it |
21:39:38 | TheSeven | wodz: can you hack up a rockbox build so that it just completely erases the flash? |
21:40:18 | wodz | yes, I can compile rockbox here |
21:41:06 | wodz | TheSeven: or do you mean to dive into guts of nand driver to hack something? |
21:41:36 | user890104 | TheSeven: can resetftl.bin be of any help here? |
21:41:45 | TheSeven | possibly, no idea what it is |
21:41:57 | TheSeven | some emcore-based wiper? |
21:42:03 | user890104 | me too, found it on the old freemyipod server and decided to keep it :) |
21:42:24 | TheSeven | well, can't hurt trying to run that - assuming we know how to do that |
21:42:37 | TheSeven | I guess it's just a 0x08000000 firmware image? |
21:43:09 | TheSeven | so it's probably easiest to fire up an emcore installer and then upload that via USB |
21:43:45 | TheSeven | if that fails, the easiest way will probably be to call nand_block_erase on every block somewhere in ftl_init |
21:43:45 | user890104 | it has the magic string diskmodehotstuff in it |
21:44:15 | TheSeven | hmmmm... doesn't really tell us anything |
21:44:33 | TheSeven | size? any "emcore" strings? |
21:44:35 | user890104 | and the only 3 strings are Error getting directory entry, File %s not found and Error while reading file %s |
21:44:54 | user890104 | 13236 bytes |
21:45:02 | TheSeven | too small for an emcore kernel |
21:45:07 | user890104 | File %s is not a bitmap |
21:45:10 | user890104 | uhm... |
21:45:17 | TheSeven | this looks like libboot/libui stuff |
21:45:43 | user890104 | more like iloader |
21:45:52 | TheSeven | or that |
21:46:08 | TheSeven | anyway, quite likely that it's an 0x08000000 firmware image if it's just called .bin |
21:46:25 | user890104 | http://i.imgur.com/K7meUq4.png |
21:46:58 | user890104 | also at the bottom: ROCKBOX BIN and IBUGGER BIN |
21:47:05 | TheSeven | hmmm |
21:47:21 | TheSeven | I think going for rockbox is the better way here |
21:47:31 | user890104 | looks like there's a nand driver inside |
21:48:04 | user890104 | what's the final goal? rewriting the nor flash? |
21:48:19 | user890104 | i have one of my factory nor dumps around, if that can help |
21:49:30 | TheSeven | user890104: just wiping out the nand |
21:49:37 | user890104 | ah, nand |
21:49:39 | TheSeven | the OF bootloader will rebuild it after that |
21:49:40 | wodz | no, the goal is to whip nand and let OF bootloader rebuild it |
21:49:47 | TheSeven | int i, b; for (i = 0; i < ftl_nand_type->blocks; i++) for (b = 0; b < ftl_banks; b++) nand_block_erase(b, i * ftl_nand_type->pagesperblock); |
21:50:30 | TheSeven | something like that in http://git.rockbox.org/?p=rockbox.git;a=blob;f=firmware/target/arm/s5l8700/ipodnano2g/ftl-nano2g.c#l2164 line 2164 |
21:51:18 | TheSeven | then wait for the FTL: No DEVICEINFO found error and reboot |
21:51:50 | TheSeven | the ipod should go to disk mode during that reboot, and it might take a bit longer than usual |
21:52:10 | user890104 | TheSeven: found the source code of resetftl |
21:52:22 | user890104 | looks like it does exactly what you're trying to do |
21:52:31 | TheSeven | yup, the question is just how to run that thing |
21:53:01 | user890104 | http://pastebin.com/euGw61p9 |
21:53:32 | user890104 | runfirmware? |
21:53:48 | TheSeven | yes, from an emcore installer |
21:53:53 | TheSeven | feel free to try that with wodz |
21:54:04 | TheSeven | this would have the advantage of having a nice progress display |
21:55:08 | wodz | so... |
21:55:39 | user890104 | so wodz, launch an emcore installer and see if a ffff:e000 usb device shows up |
21:56:59 | user890104 | i'll be back in 15 mins |
21:58:49 | wodz | TheSeven: emcore installation instruction points to iLoader install instruction which gives 404 |
21:59:00 | TheSeven | huh? |
21:59:38 | wodz | https://www.freemyipod.org/wiki/EmCORE_Installation/iPodNano2G |
22:00 |
22:00:03 | TheSeven | what you basically just do is run ipodpatcher with this: http://files.freemyipod.org/releases/20120102/installer-ipodnano2g-r859-20120102.ipodx |
22:00:24 | * | user890104 never migrated that theseven.freemyipod.org subdomain, because it wasn't hosted on the old freemyipod server... |
22:00:47 | user890104 | TheSeven: do you happen to keep a copy of it? |
22:00:51 | TheSeven | it used to - it just seemingly wasn't migrated during the migration before that |
22:00:59 | * | TheSeven has a look |
22:01:05 | *** | Saving seen data "./dancer.seen" |
22:03:35 | TheSeven | https://www.datafilehost.com/d/2e6327b2 |
22:03:39 | TheSeven | no idea how old that is though |
22:04:14 | wodz | TheSeven: which action shoul I choose in ipodpatcher? -add-bootloader ? |
22:04:40 | TheSeven | probably |
22:06:15 | wodz | TheSeven: [INFO] Bootloader installer-ipodnano2g-r859-20120102.ipodx written to device. |
22:06:20 | wodz | what now? |
22:06:25 | TheSeven | reboot it |
22:06:43 | TheSeven | should fire up an emcore installer, which you can talk to via usb to launch that other file |
22:07:25 | wodz | Bus 002 Device 047: ID ffff:e000 so it looks like it worked |
22:07:47 | user890104 | yes |
22:07:47 | TheSeven | ok, now you need emcore.py from freemyipod svn (/emcore/trunk/tools) |
22:09:07 | wodz | yes, I have all freemyipod svn |
22:12:36 | TheSeven | try running emcore.py getinfo or something like that and see if it can talk to the ipod |
22:13:06 | TheSeven | then we need that resetftl.bin from user890104 |
22:14:58 | wodz | hmm, I am lacking usb.core lib |
22:15:14 | TheSeven | libusb 1.x |
22:15:18 | TheSeven | er, pyusb 1.x I mean |
22:15:26 | TheSeven | 0.4.2 won't work |
22:16:04 | TheSeven | just grab the pyusb package and copy the usb directory from that into the tools directory from emcore, if you don't want to install it system-wide |
22:20:28 | wodz | TheSeven: ERROR: No emCORE device found! |
22:21:41 | TheSeven | might need root permissions unless you have adequate udev rules set up |
22:21:53 | wodz | I run it as root |
22:22:02 | TheSeven | hmm |
22:22:14 | TheSeven | so you see it in lsusb but emcore.py can't seem to find it? |
22:22:36 | wodz | ipod displays emCORE v0.2.3 r859 and lsusb lists it |
22:24:13 | wodz | dmesg says [230488.885304] usb 2-1.2: Product: emCORE Debugger |
22:24:23 | | Join girafe2 [0] (~girafe@LFbn-1-8020-64.w90-112.abo.wanadoo.fr) |
22:27:32 | | Quit girafe (Ping timeout: 240 seconds) |
22:30:56 | wodz | TheSeven: any hint? |
22:35:02 | TheSeven | user890104: ^ |
22:35:12 | TheSeven | I can't really think of a cause for that |
22:37:48 | user890104 | uhm, me neither |
22:52:28 | wodz | ok, enough for today |
22:53:36 | | Quit lebellium (Quit: ChatZilla 0.9.92 [Firefox 47.0/20160604131506]) |
23:00 |
23:00:18 | | Join paulk-nyan-big [0] (paulk@nat/google/x-bbixnfrtetotddwa) |
23:00:53 | | Quit neersighted (Remote host closed the connection) |
23:01:24 | | Quit funman (Ping timeout: 260 seconds) |
23:01:33 | | Quit Strife89|Quassel (Ping timeout: 252 seconds) |
23:01:45 | | Join funman [0] (~fun@chui-pas.net) |
23:02:07 | | Join pamaury [0] (~pamaury@rockbox/developer/pamaury) |
23:02:09 | | Join neersighted [0] (~neer@firebrand.neer.io) |
23:03:36 | pamaury | TheSeven: (about ypr0) if I use the system make, I get really weird errors, apparently some complicated bash related commands are not properly (or expectedly) expanded. And If I force crosstool to use an old make, I get the same problem but at another place |
23:04:09 | pamaury | (and I believe I tried with a very recent version of crosstool to no avail) |
23:04:24 | user890104 | TheSeven: it's alive! :) theseven.freemyipod.org/iloader/">https://theseven.freemyipod.org/iloader/ |
23:04:57 | TheSeven | hm, I didn't run into any issues with my system make |
23:05:04 | TheSeven | what kind of errors are you getting? |
23:06:02 | pamaury | I don't remembe (I can retry tomorrow), but in one case, there was a very ugly sed command to modify a linker file, and obviously something was not expanded properly/the sed command was broken and the result linker file was plain wrong |
23:06:48 | pamaury | and in the other case I don't remember |
23:07:26 | TheSeven | hm, never had anything like that |
23:08:00 | | Join [0] (~quassel@unaffiliated/holgersson) |
23:08:32 | | Quit zu_ (Ping timeout: 260 seconds) |
23:10:15 | | Join zu [0] (~zu@ks387228.kimsufi.com) |
23:10:39 | | Nick is now known as holgersson (~quassel@unaffiliated/holgersson) |
23:15:20 | | Quit wodz (Ping timeout: 276 seconds) |
23:29:57 | | Quit Moarc (Ping timeout: 250 seconds) |
23:35:10 | | Join Moarc [0] (~chujko@a105.net128.okay.pl) |
23:53:09 | prof_wolfff | __builtin: added usb_drv_recv_blocking() to g#1324, but it is not tested |
23:53:10 | fs-bluebot | Gerrit review #1324 at http://gerrit.rockbox.org/r/1324 : usb-designware: New USB driver for Synopsys DesignWare USB OTG core. by Cástor Muñoz |
23:55:44 | | Join JdGordon [0] (~jonno@124-148-150-154.dyn.iinet.net.au) |
23:55:45 | | Quit JdGordon (Changing host) |
23:55:45 | | Join JdGordon [0] (~jonno@rockbox/developer/JdGordon) |
23:56:08 | | Quit ender` (Quit: You do not need a parachute to skydive. You only need a parachute to skydive twice.) |