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).

#rockbox log for 2016-03-14

00:24:56 Quit PurlingNayuki (Remote host closed the connection)
00:25:16 Join PurlingNayuki [0] (~Thunderbi@
00:34:01***Saving seen data "./dancer.seen"
00:44:27 Quit bertrik (Remote host closed the connection)
01:08:32 Nick suYin is now known as suYin`OFF (
01:10:47 Quit ender` (Quit: Punch a psychic today: ask them if they saw it coming.)
01:16:31 Quit girafe (Read error: Connection reset by peer)
01:31:59 Join nlogex [0] (
01:38:57 Join CrashBash-Kun [0] (~CrashBash@unaffiliated/crashbash-kun)
01:49:35 Quit nlogex (Quit: WeeChat 1.4)
01:49:54 Join nlogex [0] (
01:58:02 Quit prof_wolfff (Ping timeout: 264 seconds)
02:34:03***Saving seen data "./dancer.seen"
02:48:16 Join Totalled [0] (
02:50:46 Join FSanches [0] (~felipe@2804:14c:37:268b:fc38:196:d605:a2d7)
02:56:31 Quit TheSeven (Ping timeout: 250 seconds)
02:58:04 Join TheSeven [0] (~quassel@rockbox/developer/TheSeven)
03:22:10 Quit dfkt (Read error: Connection reset by peer)
03:23:18 Join dfkt [0] (~dfkt@unaffiliated/dfkt)
03:27:50 Quit pamaury (Ping timeout: 276 seconds)
03:28:53 Join rela [0] (~x@pdpc/supporter/active/rela)
03:30:35 Join Rower [0] (
03:35:25 Quit ZincAlloy (Quit: Leaving.)
03:35:57 Quit Rower (Ping timeout: 244 seconds)
03:43:02 Quit FSanches (Quit: Leaving.)
03:46:32 Join JdGordon [0] (~jonno@rockbox/developer/JdGordon)
03:49:02 Quit JdGordon_ (Ping timeout: 240 seconds)
03:56:41 Quit krabador (Quit: Take The Time)
04:34:05***Saving seen data "./dancer.seen"
04:43:53 Quit preglow (Ping timeout: 260 seconds)
04:58:03 Join JdGordon_ [0] (~jonno@rockbox/developer/JdGordon)
05:00:28 Quit JdGordon (Ping timeout: 248 seconds)
05:19:15 Join preglow [0] (~thomj@2001:840:4243:3::101)
05:31:12 Quit puckipedia (Ping timeout: 240 seconds)
05:35:44 Join puckipedia [0] (
06:22:55 Join JdGordon [0] (~jonno@rockbox/developer/JdGordon)
06:25:56 Quit JdGordon_ (Ping timeout: 276 seconds)
06:34:06***Saving seen data "./dancer.seen"
07:23:10 Nick suYin`OFF is now known as suYin (
07:42:43 Nick suYin is now known as suYin`OFF (
08:05:26 Join utrack_ [0] (~u@unaffiliated/utrack)
08:12:19 Quit nlogex (Ping timeout: 244 seconds)
08:14:47 Join K1773R_ [0] (~K1773R@unaffiliated/k1773r)
08:15:28 Quit Totalled (*.net *.split)
08:15:30 Quit bray90820 (*.net *.split)
08:15:34 Quit funman (*.net *.split)
08:15:34 Quit thum (*.net *.split)
08:15:34 Quit K1773R (*.net *.split)
08:15:37 Quit utrack (*.net *.split)
08:15:38 Quit suYin`OFF (*.net *.split)
08:15:41 Nick K1773R_ is now known as K1773R (~K1773R@unaffiliated/k1773r)
08:15:45 Join Totalled [0] (
08:16:08 Join bray90820 [0] (
08:16:08 Join funman [0] (~fun@rockbox/developer/funman)
08:16:08 Join suYin`OFF [0] (
08:16:56 Quit bray90820 (Max SendQ exceeded)
08:20:31 Quit froggyman (Ping timeout: 260 seconds)
08:20:41 Join thum [0] (
08:20:53 Join bray90820 [0] (
08:23:32 Quit pixelma (Remote host closed the connection)
08:23:32 Quit amiconn (Read error: Connection reset by peer)
08:24:26 Join wodz [0] (
08:25:19 Join froggyman [0] (~frogs@unaffiliated/froggyman)
08:25:54 Join pixelma [0] (~pixelma@rockbox/staff/pixelma)
08:25:54 Join amiconn [0] (~amiconn@rockbox/developer/amiconn)
08:25:57 Join ender` [0] (
08:34:10***Saving seen data "./dancer.seen"
09:20:59 Join Strife89|Quassel [0] (
09:24:42 Quit Strife89 (Ping timeout: 244 seconds)
10:05:10 Join einhirn [0] (
10:34:13***Saving seen data "./dancer.seen"
10:42:24 Join petur [0] (~petur@rockbox/developer/petur)
10:51:45 Quit Staphylo` (Quit: /quit)
10:51:50 Join Staphylo [0] (~Staphylo@2a01:4f8:190:126a:d70a:378:c354:a3a3)
11:27:13 Join Link8 [0] (
11:35:24 Join prof_wolfff [0] (
11:59:08 Quit prof_wolfff (Ping timeout: 244 seconds)
12:13:08 Join JdGordon_ [0] (~jonno@rockbox/developer/JdGordon)
12:16:14 Quit JdGordon (Ping timeout: 244 seconds)
12:22:10 Join pamaury [0] (~pamaury@rockbox/developer/pamaury)
12:30:48 Quit __builtin (Ping timeout: 268 seconds)
12:34:16***Saving seen data "./dancer.seen"
12:45:51 Quit pamaury (Ping timeout: 250 seconds)
12:55:16 Quit JanC (Ping timeout: 276 seconds)
13:01:49 Join FSanches [0] (~felipe@2804:14c:37:268b:fc38:196:d605:a2d7)
13:09:35 Join JanC [0] (~janc@lugwv/member/JanC)
13:53:13fs-bluebotBuild Server message: New build round started. Revision bb48fa0, 255 builds, 24 clients.
13:57:02 Join pamaury [0] (~quassel@rockbox/developer/pamaury)
13:58:44 Join edhelas [0] (
14:01:58 Join krabador [0] (~krabador@unaffiliated/krabador)
14:05:53fs-bluebotBuild Server message: Build round completed after 760 seconds.
14:05:54fs-bluebotBuild Server message: Revision bb48fa0 result: 0 errors 3 warnings
14:07:03 Join ZincAlloy [0] (
14:27:15 Quit dfkt (Read error: Connection reset by peer)
14:34:08 Quit alexbobp (Ping timeout: 244 seconds)
14:34:20***Saving seen data "./dancer.seen"
14:45:33 Join alexbobp [0] (
14:45:55 Nick alexbobp is now known as Guest36608 (
14:58:21 Join PurlingNayuki1 [0] (~Thunderbi@
15:00:02 Quit PurlingNayuki (Ping timeout: 248 seconds)
15:00:02 Nick PurlingNayuki1 is now known as PurlingNayuki (~Thunderbi@
15:01:03 Join amayer [0] (
15:03:20 Quit edhelas (Quit: Leaving.)
15:03:39 Join edhelas [0] (
15:09:17 Quit edhelas (Quit: Leaving.)
15:09:34 Join edhelas [0] (
15:21:50 Quit FSanches (Quit: Leaving.)
15:58:54 Quit krabador (Quit: Take The Time)
16:34:21***Saving seen data "./dancer.seen"
16:36:55 Quit PurlingNayuki (Ping timeout: 276 seconds)
16:38:46pamaurywodz: ping
16:40:12 Quit wodz (Ping timeout: 260 seconds)
16:52:17 Join girafe [0] (
17:11:40 Join nlogex [0] (
17:26:27 Join krabador [0] (~krabador@unaffiliated/krabador)
17:33:59 Quit petur (Read error: Connection reset by peer)
17:38:06 Quit krnlyng (Quit: krnlyng)
17:39:35 Join krnlyng [0] (
17:42:07 Quit edhelas (Remote host closed the connection)
17:44:14 Quit maraz (Read error: Connection reset by peer)
17:49:56 Quit einhirn (Quit: Miranda IM! Smaller, Faster, Easier.
17:52:44 Quit krnlyng (Ping timeout: 248 seconds)
17:53:10 Join maraz [0] (
18:17:43 Nick suYin`OFF is now known as suYin (
18:23:17 Quit nlogex (Quit: WeeChat 1.4)
18:24:31 Join krnlyng [0] (
18:34:25***Saving seen data "./dancer.seen"
18:37:50 Quit bzed (Read error: Connection reset by peer)
18:38:05 Join bzed [0] (
18:41:14 Quit krnlyng (Read error: Connection reset by peer)
18:48:26 Join krnlyng [0] (
18:48:52 Quit Link8 (Ping timeout: 244 seconds)
18:50:37 Quit bluebrother (Read error: Connection reset by peer)
18:50:37 Quit fs-bluebot (Read error: Connection reset by peer)
18:50:52 Join bluebrother [0] (~dom@rockbox/developer/bluebrother)
18:51:53 Join fs-bluebot [0] (
18:56:42 Quit froggyman (Ping timeout: 260 seconds)
18:58:44 Join froggyman [0] (~frogs@unaffiliated/froggyman)
19:12:27 Quit yosafbridge (Ping timeout: 260 seconds)
19:19:29 Join yosafbridge [0] (~yosafbrid@2607:5300:100:200::160d)
19:38:13 Join lebellium [0] (
19:41:39 Join prof_wolfff [0] (
19:57:14 Join petur [0] (~petur@rockbox/developer/petur)
19:58:32 Quit foolsh (Ping timeout: 240 seconds)
20:03:12 Nick ruhans is now known as lolol (uid76353@gateway/web/
20:03:15 Nick lolol is now known as ruhans (uid76353@gateway/web/
20:13:26 Join nlogex [0] (
20:21:17 Quit CrashBash-Kun (Ping timeout: 252 seconds)
20:34:29***Saving seen data "./dancer.seen"
20:39:07 Quit pamaury (Remote host closed the connection)
21:11:56 Join bertrik [0] (~quassel@rockbox/developer/bertrik)
21:37:58 Join pamaury [0] (~pamaury@rockbox/developer/pamaury)
21:43:31 Join Venty [0] (~kahuna@2001:1620:f00:8250:24f3:9aa4:3c16:d948)
21:45:14pamauryVenty: just ask a question if you have a one
21:48:10Ventypamaury: Thanks, but I don't have a question at the moment. Just read the thread about the Fiio X1 in the forum and would also love to see Rockbox on this device.
21:55:05 Part Venty ("Bad Wolf")
22:05:47pamaurywodz (logs): I found a horrible bug in hwstub !! Apparently I forgot to implement register width so read/writes are always 32-bit...
22:05:54pamaurythat may explain bugs you have had in the past
22:16:19 Join wodz [0] (
22:18:15wodzpamaury: ha, that explains unaligned address read/write failures. I can't remember where I hit this though.
22:18:35 Join Atomic_UgcB5 [0] (~atomic@2a02:8108:4640:5f4c:40c8:9a5:ff62:81af)
22:18:42pamauryyeah I'm sorry, I was so sure I implemented it, but I ran into a very strange bug and after some debugging well...
22:18:55pamauryso I'm implementing this right now, I'll push it to gerrit as soon as it's done
22:19:08pamauryon jz4760, the read
22:19:22pamauryor write width makes a huge difference
22:20:11 Quit Atomic_UgcB5 (Client Quit)
22:21:11wodzpamaury: About BCH - see utils/rk27utils/nandextract
22:21:21pamauryI think this explains the bug
22:21:24wodzpamaury: You need to know parameters though
22:21:41pamauryI was doing write to an 8-bit data register for bch data and in fact it was turned into a 32-bit one
22:21:58pamaurythe manual is vague, it says "24-bit ecc", whatever that means
22:22:27pamauryI'm trying to dump the bootloader to disassemble it
22:22:56wodzIs it stored on nand?
22:23:34wodzIf so I'd expect some bootloader image for recover available somewhere
22:23:36pamauryand it's not part of the firmware image
22:24:05wodzIt is probably part of recovery tool
22:25:10pamauryI'm not aware of any recovery tool from Fiio
22:25:39wodzpamaury: what is the kernel of X1's OF?
22:26:00pamauryit's based on uCOS-II, but everything else seem to be custom
22:26:30pamauryit also uses some kind of weird object-like code, but obviously written in C I would say
22:27:39pamauryyes \o/ bch is working now
22:29:34pamauryinteresting, the flash *does* contain some errors
22:29:49wodzyou mean the raw dump?
22:30:13pamauryyes, I gave the data + ecc to bch and it indicates there are errors, all recoverable
22:31:34wodzIn rk27xx first 16kB of nand I got dozen of recoverable errors or so. Thats why I wrote simple tool which uses libbch to recover this.
22:32:46pamaurythe BCH is JZ4760B is incredibly unsophisticated
22:33:08pamauryit's not tied to the flash interface and instead of correcting errors, it gives you the list of errors
22:33:41pamauryI'll have a look at your code for libbch, might be faster than using this crap
22:33:52pamauryalthough it's also useful to know how it works !
22:34:31***Saving seen data "./dancer.seen"
22:36:51pamaurywodz: how did you find the parameters for bch ?
22:37:57wodzpamaury: in some sdk was extremely crapy tool for testing nand. I corresponded with the author of libbch and he quickly figured out parameters based on this.
22:39:24pamauryI see, the manual doesn't say anything about the parameters except error level, so I'll just use the hardware
22:40:53pamauryhum, I'm confused, in fact the hardware indicates a lot of uncorrectable errors, I must provide the data incorrectly
22:43:27wodzThe easiest test is to disassemble the dump. You will easily spot if it makes sense or not (considering it is not scrambled of course)
22:45:31pamauryyeah good idea
22:54:14pamauryit seems to make sense
22:55:20pamaurywodz: do you have any idea what flash "randomization" is ?
22:55:41pamauryit is mentioned in the manual and "used" by the ROM but I have _no_ idea of what it does
22:56:33wodzpamaury: could be anything - I'd suspect some FTL to spread data across some area
22:57:27 Join __builtin [0] (~franklin@unaffiliated/franklin)
22:57:42 Join PurlingNayuki [0] (~Thunderbi@
22:58:33pamauryor maybe this is a scrambler ,
22:59:42wodzlooking at jz4760 PM it looks like scrambler indeed
23:02:38wodzpamaury: I guess you should know proper PNDR value to recover the content BUT if it is so it should be in rom
23:03:06pamauryno, the ROM just hit the reset bit, so I guess it uses some sort of default value
23:05:33pamauryah better, now I only get one unrecorrable error, maybe the first block is not even supposed to be ECC protected because it contains some flags
23:06:50pamauryhum, but now the code doesn't make *any* sense
23:09:51pamauryweird, the code makes a lot of sense without the scrambler, but the ROM definitely uses the scrambler
23:12:22 Quit wodz (Quit: Leaving)
23:24:48 Quit lebellium (Quit: ChatZilla 0.9.92 [Firefox 45.0/20160303134406])
23:26:57pamaurywodz (logs): found this in the datasheet: " PN is short for pseudorandom noise which is used for supporting TLC ( three-level cell ) NAND"
23:29:15pamauryhum, obviously PN should not be used on the first block, but then the code of the ROM seems to re-read the first block with PN
23:34:34pamauryhaha ! I found the code, it disables PN specifically for the first block of the first page
23:40:48pamauryah, now it makes perfect sense, cool
23:44:07 Join CrashBash-Kun [0] (~CrashBash@unaffiliated/crashbash-kun)
23:49:48 Quit petur (Quit: Leaving)
23:50:03 Join FSanches [0] (~felipe@2804:14c:37:268b:fc38:196:d605:a2d7)
23:50:04 Quit Strife89|Quassel (Ping timeout: 244 seconds)
23:50:45 Join Strife89 [0] (

Previous day | Next day