Previous day | Jump to hour: 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 21 22 23 | Next day

Seconds: Show Hide | Joins: Show Hide | View raw
Font: Serif Sans-Serif Monospace | Size: Small Medium Large

Click in the nick column to highlight everything a person has said.
The Logo icon identifies that the person is a core developer (has commit access).

Notice: Only Gecko based browsers prior to FF4 support the multipart/mixed "server push" method used by this log reader to auto-update. Since you do not appear to use such a browser, this page will simply show the current log, and not automatically update.

#rockbox log for 2016-06-14

00:00:40***Saving seen data "./dancer.seen"
00:08:20 Quit holgersson (Ping timeout: 258 seconds)
00:10:10 Join holgersson [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__builtinhmm, there's an issue here
00:25:09__builtinS3C6400 has USB HID disabled
00:27:53pamaury__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: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:43***Saving seen data "./dancer.seen"
02:20:48 Quit paulk-nyan-big (Quit: Leaving)
02:22:52 Join advcomp2019 [0] (
02:22:52 Quit advcomp2019 (Changing host)
02:22:52 Join advcomp2019 [0] (~advcomp20@unaffiliated/advcomp2019)
02:24:37 Join nlogex [0] (
02:25:02 Quit advcomp2019_ (Ping timeout: 250 seconds)
02:40:48__builtinwell, the classic builds properly with HID enabled
02:43:05 Join smoke_fumus [0] (~smoke_fum@
02:46:07__builtinbut it's unstable
03:04:06 Quit smoke_fumus (Quit: KVIrc 4.2.0 Equilibrium
03:06:24__builtinfoolsh: 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__builtinthat way the code wheel position it asks for is always the same
03:07:21foolshthats a pretty good idea, remind me to give you a raise =]
03:07:47__builtintriple my salary!
03:08:09__builtinbut I'm concerned it might make the game too boring if it's the same each time
03:08:41foolshnot sure it uses it during game play
03:08:52foolshthe scenes are all script I think
03:08:54__builtinwell, it does for things like where the slugs spawn
03:09:02foolshah yeah
03:10:01__builtinhmm, maybe I could set the seed to a random value after it gets past the screen
03:10:11foolshcould it perhaps be reseeded.. you read my mind
03:10:25__builtinor even just skip it automatically
03:11:46__builtinthere's code in there that's supposed to do that, but it doesn't seem to work
03:13:42foolshyeah 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:36foolshwelcome 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__builtinthe game never triggers the case the patching code wants
03:22:44__builtinmaybe I have a slightly different version than what it expects
04:00:45***Saving seen data "./dancer.seen"
04:23:02 Join Strife89|Quassel [0] (
04:23:27 Quit Strife89 (Ping timeout: 244 seconds)
04:38:26prof_wolfff__builtin: you can get a build of the bootloader and the RockboxUtility at user890104/bootloader-ipodclassic.html">
04:49:11prof_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:12fs-bluebot_3Gerrit review #1324 at : 3usb-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:01:59 Quit JdGordon (Ping timeout: 258 seconds)
05:54:20 Join Strobokopp [0] (
05:57:08 Quit Stroboko1p (Ping timeout: 244 seconds)
06:00:46***Saving seen data "./dancer.seen"
06:39:00 Quit Bray90820 ()
06:39:24 Join Bray90820 [0] (
06:55:15 Quit TheSeven (Disconnected by services)
06:55:26 Join [7] [0] (~quassel@rockbox/developer/TheSeven)
07:14:48 Join Moarc [0] (~chujko@2002:551c:8069:1:cc73:aeb8:2b17:990b)
07:38:16 Join ender` [0] (
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] (
08:36:20 Quit nlogex (Ping timeout: 260 seconds)
08:53:25 Join petur [0] (~petur@rockbox/developer/petur)
09:03:51 Join pamaury [0] (~pamaury@rockbox/developer/pamaury)
09:13:02 Join xorly [0] (
09:19:54 Join PurlingNayuki1 [0] (
09:21:31 Quit PurlingNayuki (Ping timeout: 252 seconds)
09:21:31 Nick PurlingNayuki1 is now known as PurlingNayuki (
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: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: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] (
11:41:34 Quit fs-bluebot_ (Ping timeout: 244 seconds)
12:00:52***Saving seen data "./dancer.seen"
12:01:30 Quit holgersson (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: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: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] (
14:58:00 Quit bzed (Ping timeout: 240 seconds)
14:58:04 Nick bzed_ is now known as bzed (
15:00:06 Join elensil [0] (~edhelas@2001:1c02:1903:d800:1117:5002:eaa3:a624)
15:07:10TheSevenwodz: pong
15:08:49TheSevenpamaury (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:16wodzTheSeven: is there a way to rebuild FTL? My nano started to throw i/o errors after many unclean unplugs while testing usb
15:10:44wodzTheSeven: I cannot reformat data partition
15:11:37 Join bzed [0] (
15:12:25wodzTheSeven: gtg. I'll read backlog later
15:12:29 Quit wodz (Quit: Leaving)
15:12:52TheSevenpamaury: I think I just patched away to make version check to allow 4.x
15:13:30TheSevenI got away with using xenial system make
15:14:12TheSevensadly getting the ypr0 toolchain to compile isn't just a matter of patching, it requires messing with crosstool-generated intermediate files
15:14:25TheSevenI don't fully remember what I did, but I should be able to reconstruct it
15:15:00TheSevenit's nothing that could be automated easily though - we really need a newer crosstool version here I'd guess
15:17:15TheSevenfor MIPS I'm running a 4.6.3 toolchain
15:18:18TheSeventhat doens't work with the buildclient of course, which enforces using the old version
15:19:13TheSeventhe 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:22TheSevenwodz: 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:03TheSevenI'd be curious where the I/O errors are coming from though - the code is supposed to be 100% unclean reboot proof
15:25:46TheSevenwhat the hell is my buildclient doing with the manual
15:42:04TheSevencan someone please explain to me what this is supposed to do?
15:42:06TheSevencat /cache/rockbox/rb-buildclient/test/manual/html/*.html | sed -e '/\.js/!d;s/.*\"\(.*\.js\)\".*/\1/g;/</d' | uniq
15:42:13TheSevenit somehow returns nothing on my system
15:46:37TheSevenhm, I guess the root cause is somewhere earlier
15:47:10TheSeventhe only file matching that pattern is rockbox-build.html, and that doesn't contain the string 'js' at all
15:47:53gevaertsI have the same issue on my laptop
15:48:10gevaertsAnd probably that's also why doesn't have html manuals
15:49:26TheSevenand 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:54:20TheSevenpossibly related to versions of some tex-related packages?
15:56:40TheSevengevaerts: if you want to compare, that's what's on my box that has the problem:
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] (
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:01:36 Join nlogex [0] (
17:12:09__builtin"Rapid insert/disconnect and large file transfers do not cause problems."
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__builtinprof_wolfff: the new USB driver is great
17:46:35__builtinno crashes, HID works too
17:50:23 Join krnlyng [0] (
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:52fs-bluebotBuild Server message: 3New build round started. Revision c7a561e, 255 builds, 13 clients.
18:29:09gevaertsTheSeven: these commits might fix the html manual
18:29:17gevaertsDon't ask how, or why they were broken
18:32:06*TheSeven builds a ton of checkwps
18:32:31TheSevennow some bootloaders
18:34:19TheSevennow a sim
18:35:20*pixelma is tempted to ask
18:37:22fs-bluebotBuild Server message: 3Build round completed after 509 seconds.
18:37:22fs-bluebotBuild Server message: 3Revision c7a561e result: All green
18:37:32TheSevenand why on earth it only happened on some systems anyway
18:38:20gevaertsThings change over time :)
18:40:17TheSevengetting way more \bf warning spam in the output now, looks good
18:58:23 Join wodz [0] (
18:58:57wodzTheSeven: Do I need windows + itunes to do that or I can somehow do it from linux?
18:59:08TheSevenyou can do it from linux
18:59:20TheSevenI guess you're using emcore?
19:01:03 Quit ender| (Ping timeout: 264 seconds)
19:01:20wodzTheSeven: it is device from iLoader days :-)
19:02:51TheSevenhmmm... I'd kinda recommend uninstalling iloader, then nuking the flash, then reinstalling either emcore or the rockbox bootloader
19:04:01wodzTheSeven: ok, no problem. Is there step-by-step instruction how to do that?
19:04:24TheSeventhat kinda depends on what kind of iloader build you have
19:04:35TheSevendoes it have an uninstall feature in its menu already?
19:05:26wodzI need to check
19:06:11wodzyes it has uninstall
19:06:40wodzTheSeven: ^
19:07:00TheSeventhen try that
19:07:11TheSevensee if it asks you to restore the ipod or if it can do it on its own
19:07:31wodzit asks for itunes restore
19:07:54TheSeventry going into disk mode and using the ipodscsi tool to restore
19:08:32wodzTheSeven: where I can find this tool?
19:08:42TheSevenshould be somewhere in freemyipod svn
19:10:40__builtinTheSeven: I'm trying to implement a blocking usb_drv_recv for the designware core
19:10:50__builtincan you give me an idea of how it should look?
19:11:07TheSevenI guess prof_wolfff has worked on that more recently
19:11:22TheSevenI haven't really done much with that in the last couple of years
19:16:41wodzTheSeven: eee, ipodscsi seems to be windows tool
19:17:04TheSevenhmmm, I thought there was a linux port of that, or it ran on both
19:17:13TheSevenwe definitely have a linux-only restore option
19:18:33 Join cc___ [0] (~ac@2001:910:113f:1:6a05:caff:fe1c:1627)
19:21:30wodzTheSeven: 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__builtinfoolsh: I looked into seeding the RNG with a constant, but that's not enough
19:22:53TheSevenuser890104: ping
19:23:34*__builtin thinks the game uses user input to add further entropy to the RNG
19:24:41TheSevenseeding 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__builtinit implements a virtual machine for a game with in-game copy protection
19:31:56user890104TheSeven: pong
19:32:18TheSevenuser890104: we do have ipodscsi for linux, don't we?
19:32:33user890104TheSeven: yes
19:32:40TheSevencan you walk wodz through using it to kick iloader of a nano2g?
19:32:47TheSevenjust do an OF restore then iloader uninstallation
19:33:08TheSeven(hoping that the FTL will still survive that)
19:33:17user890104i need to find the tool source code first :)
19:34:43user890104wodz: user890104/">
19:35:30user890104it was ported to linux by a visually impaired ipod user, and honestly i haven't ever tested it
19:35:52wodzlets try
19:36:08user890104v2 is the more recent one, obviously
19:37:32wodzany special way to compile or compiling main-v2.c only is enough?
19:39:08user890104only main-v2.c
19:39:29user890104i don't think it needs to link to any libs on linux (besides libc)
19:40:38wodzit looks for build/version.h
19:40:52 Join ender| [0] (krneki@2a01:260:4094:1:42:42:42:42)
19:42:12user890104ok, can you download the whole freemyipod svn tree
19:42:25user890104svn co svn:// freemyipod
19:42:45user890104then replace tools/ipodscsi/main.c with main-v2.c
19:42:52user890104and try to build it again
19:43:47user890104uhm, it should be svn://
19:44:06*user890104 haven't used svn in ages, in favor of git
19:46:57foolsh__builtin: I hope it doesn't rely on undefined behavour to work right =]
19:48:26foolshmight 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] (
19:51:33wodzuser890104: 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__builtinor maybe, I could patch the bytecode itself
19:57:57 Join Link8 [0] (
19:58:29wodzuser890104: got it to compile
20:00:17user890104wodz: 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:21wodzuser890104: ok, now how do I restore with ipodscsi? writefirmware <firmware.mse> ? Where do I get this file from?
20:01:32wodzuser890104: well i displays help at least
20:05:09user890104uhm, is this a nano 2g?
20:05:52user890104these instructions are written with classics in mind
20:06:47user890104wodz: which mode is the ipod in?
20:13:36wodzuser890104: disk mode
20:15:44user890104ok, just proceed with this:
20:16:10wodzuser890104: what is the difference between nano2g 19/1.1.3 and nano2g 29/1.1.3 ?
20:16:40user890104no idea, i only used 19/*
20:34:13wodzuser890104: 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:14user890104wodz: have a look at dmesg
20:35:50wodzah, right its just that ipod disconnects just after entering disk mode
20:35:58funmanwodz: cat /sys/class/scsi_generic/sg0/device/model ?
20:36:28user890104and no, you won't destroy it, as it only sends vendor-specific SCSI commands
20:36:52user890104so unless you're using an ipod for your main hdd, sending these commands should cause no harm :)
20:37:17user890104it does not format the ipod
20:37:34user890104you'll need to do it manually, after reinstallation of apple's firmware
20:37:48user890104you should be presented with a 2-partition mass storage drive
20:38:11user890104don't touch the first one, and run mkfs.vfat on the second one (the larger)
20:38:22user890104then you should have an almost-stock ipod
20:39:27wodzuser890104: MSE file size must be a multiple of 4096
20:40:13user890104TheSeven: is it safe to zero-pad the MSE?
20:40:38TheSevenshould be
20:40:54TheSevenwe only care about aupd being intact anyway
20:42:16TheSeventhen 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] (
20:49:44wodzTheSeven: how long does it take to 'Write firmware' with ipodscsi?
20:49:55 Quit athidhep (Ping timeout: 244 seconds)
20:54:34user890104wodz: about a minute or two on a classic
20:55:26wodzuser890104: thanks
21:02:13wodzhmm, it definitely takes more then minute or two. Still writing...
21:02:16 Join lebellium [0] (
21:07:18TheSevenhm, how big is the MSE file?
21:07:54TheSevenI'd expect a throughput of 1-4MB/s
21:08:07TheSevenso shouldn't really be more than 5 minutes
21:08:31TheSeveneven if it doens't finish, you might be lucky enough that it managed to write the relevant parts
21:08:50wodzTheSeven: it finished flashing. How do I uninstall iLoader?
21:09:02TheSevenjust run that uninstall option again
21:09:07TheSevenit should find the restore image now
21:10:00wodznop, it still asks to restore with itunes
21:10:10TheSevenhm, not good
21:10:26TheSevenmaybe ipodscsi doesn't work on the nano2g after all
21:10:40TheSevenbut I think the nano exposes the firmware partition through the mass storage device anyway (unlike the classic)
21:12:44wodzin disk mode it is single ~4GB drive
21:13:08TheSeven should apply IIUC
21:14:34wodzTheSeven: no this instructions are for PP ipods
21:14:58TheSeventhe firmware partition layout on the nano2g is very similar, just different contents in the image file
21:15:15TheSeventhis one still has an exposed firmware partition, unlike the later ones (including the classic)
21:17:01wodzTheSeven: but at least this ipod is/was formated as super floppy (aka /dev/sdX not /dev/sdX1)
21:17:45TheSeventhat's an iloader thing
21:18:07 Quit paulk-nyan-big (Remote host closed the connection)
21:18:08TheSevenipodscsi should have reverted that, but apparently nano2g disk mode behaves a bit different to the newer ones
21:19:56wodzipodscsi claims it did repartition device but looks like it not
21:20:40TheSevenyes, it just sends commands to disk mode, the actual partitioning is done by that
21:22:48wodzTheSeven: So is there really other option then iTunes for me?
21:23:03TheSevenwodz: I'll send you an image of a freshly restored nano2g 8GB
21:23:19TheSeveni.e. filesystem will be trash, but the firmware partition should be fine and allow you to uninstall iloader
21:23:39wodzthis one is 4GB
21:23:47TheSevenI know
21:24:36TheSevenjust unzip that and dd it to the ipod in disk mode
21:24:43TheSeventhen reattempt iloader uninstallation
21:25:09wodzTheSeven: to /dev/sdb or whatever it is?
21:26:49 Quit Bray90820 ()
21:31:56 Join Bray90820 [0] (
21:34:05wodzTheSeven: it worked (despite the fact that ipod thinks it is 8GB)
21:34:57wodzTheSeven: Should I install emcore now to whip flash?
21:36:06wodzhaha, OF thinks it has 3276GB 79.5GB free
21:36:18TheSevenI'd like the keep the OF bootloader in place for now
21:36:26TheSevenbecause that's what will later recreate the FTL for us
21:37:10TheSevenwe now need to erase the flash somehow
21:37:38TheSevenmight be easiest to do that with a patched rockbox build, launched through the rockbox bootloader (which keeps the OF bootloader intact)
21:37:53TheSevenor maybe by launching an emcore installer, but not actually installing it
21:38:05TheSevendoes emcore have a write raw flash USB api call?
21:38:18TheSevenuser890104: ^
21:39:03TheSevendoesn't look like it
21:39:38TheSevenwodz: can you hack up a rockbox build so that it just completely erases the flash?
21:40:18wodzyes, I can compile rockbox here
21:41:06wodzTheSeven: or do you mean to dive into guts of nand driver to hack something?
21:41:36user890104TheSeven: can resetftl.bin be of any help here?
21:41:45TheSevenpossibly, no idea what it is
21:41:57TheSevensome emcore-based wiper?
21:42:03user890104me too, found it on the old freemyipod server and decided to keep it :)
21:42:24TheSevenwell, can't hurt trying to run that - assuming we know how to do that
21:42:37TheSevenI guess it's just a 0x08000000 firmware image?
21:43:09TheSevenso it's probably easiest to fire up an emcore installer and then upload that via USB
21:43:45TheSevenif that fails, the easiest way will probably be to call nand_block_erase on every block somewhere in ftl_init
21:43:45user890104it has the magic string diskmodehotstuff in it
21:44:15TheSevenhmmmm... doesn't really tell us anything
21:44:33TheSevensize? any "emcore" strings?
21:44:35user890104and the only 3 strings are Error getting directory entry, File %s not found and Error while reading file %s
21:44:54user89010413236 bytes
21:45:02TheSeventoo small for an emcore kernel
21:45:07user890104File %s is not a bitmap
21:45:17TheSeventhis looks like libboot/libui stuff
21:45:43user890104more like iloader
21:45:52TheSevenor that
21:46:08TheSevenanyway, quite likely that it's an 0x08000000 firmware image if it's just called .bin
21:46:58user890104also at the bottom: ROCKBOX BIN and IBUGGER BIN
21:47:21TheSevenI think going for rockbox is the better way here
21:47:31user890104looks like there's a nand driver inside
21:48:04user890104what's the final goal? rewriting the nor flash?
21:48:19user890104i have one of my factory nor dumps around, if that can help
21:49:30TheSevenuser890104: just wiping out the nand
21:49:37user890104ah, nand
21:49:39TheSeventhe OF bootloader will rebuild it after that
21:49:40wodzno, the goal is to whip nand and let OF bootloader rebuild it
21:49:47TheSevenint 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:30TheSevensomething like that in;a=blob;f=firmware/target/arm/s5l8700/ipodnano2g/ftl-nano2g.c#l2164 line 2164
21:51:18TheSeventhen wait for the FTL: No DEVICEINFO found error and reboot
21:51:50TheSeventhe ipod should go to disk mode during that reboot, and it might take a bit longer than usual
21:52:10user890104TheSeven: found the source code of resetftl
21:52:22user890104looks like it does exactly what you're trying to do
21:52:31TheSevenyup, the question is just how to run that thing
21:53:48TheSevenyes, from an emcore installer
21:53:53TheSevenfeel free to try that with wodz
21:54:04TheSeventhis would have the advantage of having a nice progress display
21:55:39user890104so wodz, launch an emcore installer and see if a ffff:e000 usb device shows up
21:56:59user890104i'll be back in 15 mins
21:58:49wodzTheSeven: emcore installation instruction points to iLoader install instruction which gives 404
22:00:03TheSevenwhat you basically just do is run ipodpatcher with this:
22:00:24*user890104 never migrated that subdomain, because it wasn't hosted on the old freemyipod server...
22:00:47user890104TheSeven: do you happen to keep a copy of it?
22:00:51TheSevenit 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:39TheSevenno idea how old that is though
22:04:14wodzTheSeven: which action shoul I choose in ipodpatcher? -add-bootloader ?
22:06:15wodzTheSeven: [INFO] Bootloader installer-ipodnano2g-r859-20120102.ipodx written to device.
22:06:20wodzwhat now?
22:06:25TheSevenreboot it
22:06:43TheSevenshould fire up an emcore installer, which you can talk to via usb to launch that other file
22:07:25wodzBus 002 Device 047: ID ffff:e000 so it looks like it worked
22:07:47TheSevenok, now you need from freemyipod svn (/emcore/trunk/tools)
22:09:07wodzyes, I have all freemyipod svn
22:12:36TheSeventry running getinfo or something like that and see if it can talk to the ipod
22:13:06TheSeventhen we need that resetftl.bin from user890104
22:14:58wodzhmm, I am lacking usb.core lib
22:15:14TheSevenlibusb 1.x
22:15:18TheSevener, pyusb 1.x I mean
22:15:26TheSeven0.4.2 won't work
22:16:04TheSevenjust 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:28wodzTheSeven: ERROR: No emCORE device found!
22:21:41TheSevenmight need root permissions unless you have adequate udev rules set up
22:21:53wodzI run it as root
22:22:14TheSevenso you see it in lsusb but can't seem to find it?
22:22:36wodzipod displays emCORE v0.2.3 r859 and lsusb lists it
22:24:13wodzdmesg says [230488.885304] usb 2-1.2: Product: emCORE Debugger
22:24:23 Join girafe2 [0] (
22:27:32 Quit girafe (Ping timeout: 240 seconds)
22:30:56wodzTheSeven: any hint?
22:35:02TheSevenuser890104: ^
22:35:12TheSevenI can't really think of a cause for that
22:37:48user890104uhm, me neither
22:52:28wodzok, enough for today
22:53:36 Quit lebellium (Quit: ChatZilla 0.9.92 [Firefox 47.0/20160604131506])
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] (
23:02:07 Join pamaury [0] (~pamaury@rockbox/developer/pamaury)
23:02:09 Join neersighted [0] (
23:03:36pamauryTheSeven: (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:09pamaury(and I believe I tried with a very recent version of crosstool to no avail)
23:04:24user890104TheSeven: it's alive! :)">
23:04:57TheSevenhm, I didn't run into any issues with my system make
23:05:04TheSevenwhat kind of errors are you getting?
23:06:02pamauryI 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:48pamauryand in the other case I don't remember
23:07:26TheSevenhm, never had anything like that
23:08:00 Join holgersson_ [0] (~quassel@unaffiliated/holgersson)
23:08:32 Quit zu_ (Ping timeout: 260 seconds)
23:10:15 Join zu [0] (
23:10:39 Nick holgersson_ 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] (
23:53:09prof_wolfff__builtin: added usb_drv_recv_blocking() to g#1324, but it is not tested
23:53:10fs-bluebot3Gerrit review #1324 at : 3usb-designware: New USB driver for Synopsys DesignWare USB OTG core. by Cástor Muñoz
23:55:44 Join JdGordon [0] (
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.)

Previous day | Next day