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 2017-11-30

00:03:50 Quit tchan (Quit: WeeChat 1.6)
00:15:07 Join tchan [0] (~tchan@lunar-linux/developer/tchan)
00:15:41 Quit dandels_ (Ping timeout: 248 seconds)
00:17:58 Quit ZincAlloy (Quit: Leaving.)
00:23:33 Join advcomp2019_ [0] (
00:23:33 Quit advcomp2019_ (Changing host)
00:23:33 Join advcomp2019_ [0] (~advcomp20@unaffiliated/advcomp2019)
00:25:33 Quit advcomp2019 (Ping timeout: 240 seconds)
00:43:59 Quit tchan (Ping timeout: 268 seconds)
00:47:20 Join tchan [0] (
00:47:20 Quit tchan (Changing host)
00:47:20 Join tchan [0] (~tchan@lunar-linux/developer/tchan)
00:47:54 Join dandels_ [0] (~dandels@unaffiliated/dandels)
00:48:06 Quit p3tur (Quit: Leaving)
00:55:31 Quit petur (Quit: Leaving)
01:09:29 Join mendelmunkis [0] (
01:09:29 Quit mendelmunkis (Remote host closed the connection)
01:09:37 Join mendelmunkis [0] (
01:12:52***Saving seen data "./dancer.seen"
02:07:03 Quit dandels_ (Ping timeout: 240 seconds)
02:08:59 Quit mendelmunkis (Ping timeout: 240 seconds)
02:09:29 Quit duncan^ (Quit: WeeChat 1.9.1)
02:09:30 Quit asaba (Quit: #fedora-unregistered)
02:16:15 Join duncan^ [0] (UNKNOWN@
02:16:15 Quit duncan^ (Changing host)
02:16:15 Join duncan^ [0] (UNKNOWN@unaffiliated/yulax)
02:26:30 Quit MrZeus (Ping timeout: 255 seconds)
02:39:37 Join dandels_ [0] (~dandels@unaffiliated/dandels)
02:45:25 Quit smoke_fumus (Quit: KVIrc 4.2.0 Equilibrium
03:02:57 Quit dandels_ (Ping timeout: 255 seconds)
03:06:20 Quit diox (Ping timeout: 264 seconds)
03:12:56***Saving seen data "./dancer.seen"
03:15:59 Join diox [0] (
03:35:40*[Saint] wonders why people wouldn't use FAT-safe file naming.
03:38:24chrisbtoo much time in unixland
03:39:25[Saint]I'm not really sure that's a valid excuse. It's one of the very few naming schema that'll work _everywhere_.
03:46:51[Saint]I've just got an automated rule that periodically checks my downloads folder for my totally legitimately aquired audio that I definitely paid for and have the rights to and runs MusicBrainz Picard over it.
03:47:08[Saint]Tags it FAT-safes it in one go.
03:55:03chrisbyou can use picard without the UI?
04:06:32[Saint]Bah. Sorry. Brainfart. Not sure why I called it that. I use beets, which uses MusicBrainz.
04:07:49chrisbyes, beets
04:52:33 Quit jhMikeS (Ping timeout: 248 seconds)
04:52:46 Join skinkitten [0] (~skinkitte@2601:583:c201:7520::8)
04:53:07skinkittenhey i got a 5th gen ipod is this the right place for me to get a guide?
04:57:12[Saint]Note: Only Windows formatted iPods are supported, if you have a Mac formatted iPod (HFS), you need:
04:57:37[Saint]The /best/ way to do a restore is using iTunes, but I noticed you said you use
05:12:57***Saving seen data "./dancer.seen"
06:00:40 Join jhMikeS [0] (
06:00:46 Join mendelmunkis [0] (
06:05:46 Quit jhMikeS (Ping timeout: 276 seconds)
06:07:46skinkittendidn't work
06:08:24skinkittenit's already a fat32 format.
06:08:33skinkittenBut i can't get it mounted.
06:10:38[Saint]You don't actually /need/ to mount it to get the bootloader installed.
06:10:50[Saint]I suspect this device has some critical issues.
06:11:02[Saint]At the very least the bootloader installation should succeed.
06:11:57 Quit JdGordon (Ping timeout: 240 seconds)
06:19:16 Join JdGordon [0] (~jonno@rockbox/developer/JdGordon)
06:19:26skinkittenhow is the bootloader installed?
06:20:39[Saint]raw write, it doesn't require the storage partition to be mounted at all.
06:20:58[Saint]hell, it doesn't even require the device to have an HDD _in_ it.
06:21:17skinkittenit sounds like you know what you're doing
06:21:34skinkittenI on the other hand can't manage it so dexterously
06:21:49[Saint]Does the device actually present itself to the OS? Have you checked dmesg?
06:22:09[Saint]The usual error here is people using "sharge only" USB cables.
06:23:10skinkittenI put it to reformat to fat32 using GParted. brb.
06:25:07[Saint]That's not going to give you a functional device. Now you're going to have to run through the ipodmanualrestore flow.
06:31:10[Saint]gparted likes to wipe out the hidden partition and set the wrong partition type.
06:31:42[Saint]"just format it" isn't something that's worked in electronics since the late 80s.
06:35:08skinkittenit was here :
06:36:15[Saint]I see nothing wrong with that.
06:36:47[Saint]first one errored because you passed it a partition instead of the block device. That's expected.
06:37:02[Saint]second one is absolutely fine.
06:40:00skinkitteni can't get the ipod firmware
06:40:14skinkittenits a 5th gen 80gb classic ipod
06:42:22[Saint]Ooooohhhh, ouch. Yeah, that's not fun. Looks like our they dropped support for all the ipods.
06:42:31[Saint]Well, that's interesting.
06:43:19[Saint]Well, the good news is it's preactically impossible to screw up an ipod without a lot of very deliberate effort. The bad news is you're going to have to do it with iTunes unless you can locate the .ipsw elsewhere.
06:43:47[Saint]Rockbox doesn't host them for obvious legal reasons.
06:44:39[Saint]Oh, no. I'm an idiot. They just moved things around. I probably did the same thing you did.
06:44:41[Saint]One sec.
06:45:27[Saint]I'm guessing you did exactly what I did and just looked at the first list of firmware.
06:45:53[Saint]You want "Firmware for classic iPods", "5G (20/1.3)
06:47:10[Saint]That is of course if you're confident it's a 5G and not the 5.5G or some frankenpod someone's rebuilt. You'll want to check the USB PID to confirm that.
06:48:00skinkittenhow to check the USB PID
06:49:15skinkittentysm : Bus 002 Device 009: ID 05ac:1261 Apple, Inc. iPod Classic
06:51:03[Saint]Aha, so not a 5th gen of any description.
06:51:17[Saint]That explains a lot.
06:52:09[Saint]et viola:
06:52:53[Saint]This is my fault. I really need to stop taking people at face value when they say they have iPod X, Y or Z. I should get them to confirm it.
06:54:01 Quit mendelmunkis (Ping timeout: 240 seconds)
06:56:06skinkittentysm : rockbox says it doesn't detech a mount point
06:57:20[Saint]come again? What is saying what exactly?
06:57:24skinkitten"ipod classic (6th gen)" returns "mountpoint does not exist"
06:58:00[Saint]WHere in the process are you exactly, and what is producing that output?
06:58:29skinkittenstep 3 :
06:59:57[Saint]Errr, one sec. Things are kinda screwed up on this device so we need to juggle things around a bit. Lets forget Rockbox Utility even exists for now.
07:00:06[Saint]Jump to step 6.
07:01:45[Saint](and ignore step 11)
07:05:14[Saint]When the bootloader is installed, we can jump into DIsk Mode and finish the installation manually.
07:07:03skinkitteni keep getting jsoto.machinecode is not in the sudoers file. This incident will be reported.
07:08:20[Saint]You're not running this as root?
07:08:43[Saint]also - I'm an idiot, don't ignore step 11.
07:09:29[Saint]That error would indicate that you're trying to run this as a normal user. This assumes you have root permission.
07:09:40[Saint]either prefix with sudo or do "sudo su -"
07:10:51[Saint]note that step 8 is vitally important and you absolutely require libusb-1.0.0 on the host.
07:11:36[Saint]I have no idea what fedora does for package management, that's an excercise for the reader. Presumably they use apt? I honestly have no idea.
07:12:59***Saving seen data "./dancer.seen"
07:13:01[Saint]try libusb-1.0.0-dev
07:14:17skinkittenhow do i use apt-get?
07:14:39[Saint]It seems that on Fedora, you don't.
07:15:11[Saint]Not by default apparently. Aren't these niche distors fun?
07:16:21[Saint]Some poking around seems to indicate that libusb is provided by the libusbx-devel package in fedora.
07:16:22skinkittendebian uses apt-get, fedora uses yum or dnf
07:16:36skinkittenpowerful thank you
07:16:46[Saint]'sudo dnf install libusbx-devel' seems to be what you want.
07:17:02skinkittenthe root or user is confusing
07:17:41skinkittenoddly my user is not working anymore even with sudo
07:17:55[Saint]It's not a popular opinion but from my point of view most end users have no business using the vast majority of linux distributions.
07:18:19[Saint]Joe User should probably be using Ubuntu or Mint.
07:19:21[Saint]looks good.
07:20:06[Saint]Now to steps 6~13.
07:21:10[Saint]DFU mode can be a right pain in the ass to hit for some people, as for all intents and purposes it looks like the device is powered off.
07:21:20[Saint]There's a video included in the page to help you with this.
07:21:46 Quit _meg (Ping timeout: 268 seconds)
07:24:42skinkittentysm :
07:24:50 Join _meg [0] (~notsure@
07:24:57skinkittenit ain't findint
07:25:03skinkittenfinding* it
07:25:24[Saint]lsusb please
07:26:10[Saint]There's a good chance it's actually right and the device is powered of.
07:26:20[Saint]the DFU combo is a real bitch.
07:26:21skinkittenwait i just DFU
07:27:59skinkittentysm : how do i get the path?
07:28:10[Saint]for what?
07:28:30[Saint]Oh, ~/Downloads presumably?
07:28:35skinkittenin step 12
07:28:40skinkitten−−bl-inst path/to/bootloader-ipod6g.ipod
07:29:08[Saint]I have no idea where fedore would save that to, presumably they follow some degree of narmalcy but I've been wrong before.
07:29:51[Saint]An educated guess would be ~/Downloads
07:30:01skinkittenit worked! tysm
07:30:39skinkittenif i could take a pic it would say "Entering USB mode...\nBootloader USB mode"
07:31:17[Saint]Do you have a mountpoint for the device now?
07:31:19skinkittenwhat now?
07:31:31skinkittenhow do I detect?
07:31:36 Quit JdGordon (Ping timeout: 260 seconds)
07:31:58[Saint]'mount' should list it
07:34:30skinkittendid you see this ?
07:35:24skinkittenstill therE?
07:36:19[Saint]Sorry, bathroom.
07:36:19[Saint]OK, unplug the device, hold menu+select until the device reboots, and then hold select+play immediately.
07:36:37[Saint]This should enter Apple Disk Mode, assuming all went to plan.
07:36:55[Saint]Then replug the device and give the the output from dmesg please.
07:38:37skinkittennever entered apply disk mode
07:41:39[Saint]Could you force a reboot please with menu+select and then force rockbox USB mode by immediately holding select+right please.
07:41:51[Saint]then repeat the dmesg output.
07:44:10skinkittenty :
07:45:16[Saint]wow, that is not a happy disk.
07:47:04[Saint]does it have a valid parititon table? would you be able to screenshot gparted on sdb for me?
07:47:39skinkittendamn I might have erased the ipod partition table you provided earlier..
07:47:45skinkittenfrom rockbox is that link around?
07:47:56[Saint]we don't need that now.
07:48:59skinkittenactually i got the video 80gb partition table..from here
07:49:06skinkittenisn't that the wrong ipod generation?
07:49:22[Saint]We don't need it anyway. It's OK.
07:49:48[Saint]The original firmware got hosed after its first meeting with gparted.
07:50:27skinkittenthere's the gparted screenie as requested
07:51:16[Saint]OK, so now that we don't have to worry about the original firmware that's already gone we can remove the unknown partition and replace it with a FAT32 partition.
07:51:26[Saint]This should give us disk access for Rockbox.
07:51:45skinkittenok its converting on gparted
07:51:57skinkittenis that a roger / 10-4
07:53:01skinkittenhow do i do that? is it as simple as "format to fat32" on GParted?
07:53:25[Saint]right click the unknown partition, select delete, right click the unallocated partition, select new, then create a primary FAT32 partition of the entire disk surface.
07:56:42skinkittengot it done. tysm
07:56:46skinkittenwhat next?
07:57:32[Saint]Unplug, force a reboot, replug, and then lets see what dmesg thinks.
07:59:22skinkittenhold on...after the formating succeeded ... gparted showed me the disk was again as a "unknown partition"
08:00:26skinkitten [Saint]
08:00:35skinkittenit looks like there is 2 partitions
08:01:23skinkittenpartition1 must be the rockbox while partition2 being?
08:03:59skinkitteni'm going to format the partition2 to FAT and not using the overwrite data with zeroes (slow) but the (fast) mode
08:05:34skinkittennow it's doing that...but it look like it errroed :
08:06:09[Saint]you selected vfat anyway, we want FAT32
08:09:54skinkittenthat disks program doesn't provide FAT32 option, only a generic FAT which prompted that error
08:10:39[Saint]you need dosfstools
08:11:27[Saint]sudo dnf dosfstools
08:11:51[Saint]you'll need to restart gparted after that for it to detect it.
08:12:19skinkitteni already have it installed
08:13:08skinkittenwell lets see what GParted says next
08:13:18skinkittenright now it completed a FAT32 formatting
08:13:41skinkittenbut i'm afraid it'll repeat the error of last time
08:14:01[Saint]Ok, unplug, force a reboot (menu+select), replug, then lets see what dmesg thinks this time.
08:16:40[Saint]did this ipod function at all before we started this journey? I'm willing to bet that it had some very serious issues, right?
08:16:50skinkittenmaybe we should do :
08:16:54[Saint]because that disk is in really bad shape.
08:17:11[Saint]and no, there's no path to that for the ipod6g.
08:17:39skinkittenit worked but as I was adding stuff using rhythmbox it just got wiped clean oddly
08:17:49skinkittenmeaning all the tracks disappeared
08:18:03[Saint]Right. That's not surprising. Your disk is absolutely trashed.
08:18:04skinkittenand then it wasn't able to be detected by rhythmbox
08:18:32skinkittenis there anything that could be saved with the "rockbox bootloader"?
08:19:41skinkittencould a "ext4" formatting work?
08:20:28[Saint]Rockbox and the Apple firmware only function with FAT32, but formatting it alone isn't going to magically fix all the bad sectors in the dick.
08:20:52[Saint]I need to do a little research on my end to see if I still have a disk recovery tool that /might/ work.
08:21:36[Saint]errr, disk
08:22:09skinkittendamn sorry
08:23:16skinkittenhere [Saint] success ?? :
08:24:26[Saint]"sudo fdisk -l" please
08:27:44[Saint]No harm in trying to mount it and proceed...I guess. "mkdir ~/ipod; sudo mount /dev/sdb1 ~/ipod"
08:28:32[Saint]then download
08:29:29skinkitteni don't think it mounted
08:29:41[Saint]what makes you say that
08:30:54skinkitteni don't see it in my nautilus
08:31:53skinkittenbut i do see it if i type mount..ok tysm. Where do i place that download?
08:33:05[Saint]"unzip ~/Downloads/ -d ~/ipod
08:33:35[Saint]then "sync"
08:34:43[Saint]Assuming that completes without error, unplug the device and force a reboot. Hopefully it /should/ boot into Rockbox.
08:35:12skinkittenno error! proceeding.
08:35:20 Join ender` [0] (
08:35:31[Saint]menu+select to force reboot, it should boot into Rockbox. Hopefully.
08:36:03skinkittennope. it showed PANIC after the reboot
08:36:18skinkittenand it is now back in "rockbox bootloader"
08:37:19[Saint]That's interesting. It's trying to run.
08:38:26[Saint]You might find that if you reboot one or two times it works, this disk is in seriously bad shape.
08:39:34[Saint]There's something we can try but it is quite an involved process with no real guarantee.
08:39:39[Saint]brb - bathroom
08:40:05skinkittendo you know what this second partition is in the ipod? :
08:41:42[Saint]That actually mad me wondering, it seems too large to be the original firmware partition.
08:42:23[Saint]I mean, we can check if the original firmware is still there but I sincerely doubt it is.
08:42:37[Saint]reboot the ipod using menu+select and then hold menu while it rebots.
08:42:42skinkittenthe partition showed up on my nautilus
08:42:49skinkittenSHINYMETAL2 is mounted!
08:43:59skinkittenwoah! should I hit install? :
08:44:34[Saint]that's just an automated way of doing what we just did to achieve the panic result.
08:44:54[Saint]all the installer does is basically unzip an archive to the disk. We already did that.
08:45:20skinkittenoh tysm
08:45:57skinkittenshould I get rid of the unknown partition with GParted?
08:46:26skinkittenwhat next?
08:46:29[Saint]I am curious if the original firmware is intact.
08:46:33[Saint]reboot the ipod using menu+select and then hold menu while it rebots.
08:46:41skinkittendo i unplug?
08:47:42[Saint]Does the original firmware start? My hunch is it will not.
08:47:45skinkittenapple logo, language setup
08:48:25skinkittenits the original firmware
08:48:37[Saint]That's a stroke of luck. It's not really good or bad, it's just...odd.
08:49:20[Saint]What you were showing me before indicated it was indeed _not_ present. I would guess now in hindsight that that's related to the disk being trashed.
08:50:31[Saint]There is a path forward here if we want to try and remap all the bad sectors on the disk that the disk firmware is notoriously famous for, but I'm unsure if I'm entirely willing to go down that road.
08:51:21[Saint]IF you do, and that's a big if, we would start at
08:51:55[Saint]The process to remap the bad sectors can take anywhere from hours to a week or longer, and the iPod must remain powered the entire time.
08:54:17[Saint]It involves following the directions on that page until we get to the "next step" at the bottom and then supplying a specific hddscan .ubi file instead of the emCORE firmware
08:55:36skinkittenuhm its plugged in? can you walk me through the commands please?
08:55:53 Join petur [0] (~petur@rockbox/developer/petur)
08:55:58skinkitteni can keep the ipod powered through the week
08:56:43[Saint]first thing to do would be to download the pyusb 1.0.0 from the link atop that page.
08:58:06[Saint]then extract the .zip and run (as root)
08:58:35skinkitteni did "pip install pyusb" successful
08:59:14[Saint]try running it with python2
08:59:37[Saint]the device should be in DFU mode at this point.
08:59:53skinkittenoh..its in rockbox bootloader mode
09:00:00[Saint]AH, that'll be why.
09:01:51[Saint]Does the iPod display "UMSboot" on the screen?
09:02:12[Saint]please download
09:02:53[Saint]Has the system mounted a 64MB volume?
09:03:15skinkittenUMSboot you mean?
09:03:40[Saint]Yes, it should be ~64MB this is actually the RAM of the iPod
09:03:49 Join JdGordon [0] (~jonno@rockbox/developer/JdGordon)
09:03:56[Saint]save the .ubi file to this volume.
09:04:26[Saint]then eject the volume.
09:04:56[Saint]scandisk should run at this point.
09:05:28[Saint]the ipod will make some terrifying noises as the heads crash repeatedly, this is expected. you should see a counter that may or may not progress linearly.
09:05:46skinkittenits quiet
09:06:14skinkittenit has a lot to process
09:06:30[Saint]yes, every single sector on the disk. several times over.
09:07:17skinkittenthis is what will take up to a week?
09:07:27skinkittendo I need to monitor?
09:07:51[Saint]It could be minutes, hours, days or weeks. There's no easy way to tell.
09:08:20skinkittenit does the remapping and repair?
09:08:26skinkitten*crosses fingers*
09:08:54[Saint]If or when it does complete you would follow the directions at verbatim.
09:09:15[Saint]we took a detour from that to supply the hddscan firmware instead of emCORE.
09:09:27[Saint]emCORE is the grandfather of the current Rockbox bootloader.
09:10:17[Saint]it is less user friendly, but it gets the job done, and it has the smarts embeded in it to use the map file to avoid the bad sectors.
09:10:35[Saint]you will lose some disk space because of this remapping, I can't say how much.
09:12:11skinkitteni'm going to crash on my bed. when it does finish i hope we could continue and thank you.
09:12:11[Saint]it's important that you know that you can exit this at any time you want to safely, and that the ipod can be recovered to a factory state - albeit with a still broken disk.
09:12:30[Saint]iTunes will automatically offer to restore an iPod presented to it in disk mode.
09:12:35[Saint]errr, DFU mode.
09:13:01***Saving seen data "./dancer.seen"
09:13:26[Saint]If you do not have access to iTunes or do not want to use iTunes, you can use
09:13:34[Saint]but that process is quite involved.
09:14:42[Saint](it assumes a Windows computer anyway, may as well use iTunes)
09:14:49[Saint]AFAIK there is no recovery path for linux.
09:15:41[Saint]Oh, maybe. Hmmm. I'm tired too. Well, we'll cross that bridge if or when we come to it.
09:16:34 Quit chrisb (Ping timeout: 240 seconds)
09:20:25 Join mendelmunkis [0] (
09:22:19 Quit mendelmunkis (Remote host closed the connection)
09:22:44 Join mendelmunkis [0] (
09:26:44_Bilgus[Saint], that was herioc man 4 hours of apple foo :P
09:27:15_Bilgusheroic even
09:31:55[Saint]As always, the length of time was entirely my own fault.
09:32:19[Saint]I could've avoided a lot of that by asking simple questions about what the user experiences.
09:32:52[Saint]I figure now I should never start with the assumption that the user knows the device model or has a currently functional device.
09:33:20[Saint]the device model thing I cast no blame for, Apple makes it absurdly diffcult for Joe USer to identify the correct model.
09:33:53[Saint]They're all the "Classic" moniker now, but as far as we're concerned the Classic is only ipod6g.
09:34:14_Bilgusmaybe there needs to be a little checklist or something, Hey Its an IPOD!
09:35:05[Saint]I've been bitten by refurbished ipods before, I should learn my lesson.
09:35:09[Saint]USB PID or bust.
09:35:17[Saint]That won't lie to me or be mistaken.
09:35:26[Saint]tl;dr: am idiot.
09:35:59[Saint]The important thing I suppose is that that disk is on its slow and head crash ridden path towards a sector map.
09:36:46coppernoobish mistake!
09:36:51[Saint]I have an iPod here that was so toasted when I got hold of it that there's only 13.5GB of usable disk out of 120GB.
09:37:13copperalways, always, always make sure they understand what a Classic really is
09:37:53_Bilguswell its to be expected that a harddrive in a handheld device is just asking for a good jolt
09:38:17[Saint]Eh, kinda. The firmware in the 80 and 120GB disks for the Classic is just garbage.
09:38:57_Bilguslots of spinning eh?
09:39:02[Saint]I remember being shown a visual map of bad sectors once and you could basically see the head slams.
09:39:47[Saint]My basic understanding is they beat themselves to death.
09:40:07_Bilgusjust buy a new one (TM)
09:40:30[Saint]They still go for absolutely obscene prices on eBay et al.
09:40:40_Bilgusits like the APPLE version of the NIKE slogan
09:41:00[Saint]The opportunists got in early when it was announced that iPod platform was depricated.
09:41:14[Saint]They sell for $400~$500 new in my locale.
09:41:21[Saint]IFF you can find one.
09:41:23_Bilgussame with all this old hardware AFAICT
09:41:57[Saint]That's NZD though, so...that's about $0.003 USD
09:43:11[Saint]I kid, I kid, it's about .75 NZD/USD
09:43:25[Saint]I'm entirely bitter about my investment porfolio right now.
10:07:03 Quit mendelmunkis (Remote host closed the connection)
10:13:22copper[Saint]: what?
10:13:29copperare you talking about iPod Classics on eBay?
10:13:38copperthey sell for about 150 euros here
10:15:38[Saint]that's still $300 NZD
10:15:41[Saint]is that _new_?
10:22:59 Join jhMikeS [0] (
10:24:38copper150 euros is 260 NZD, says Google
10:25:26 Join dandels_ [0] (~dandels@unaffiliated/dandels)
10:25:35 Join wodz [0] (
10:26:25copper(I meant no, not new: used)
10:31:40copper[Saint]: let me know if you ever want to buy one of those things, I can buy it for you and ship it to you
10:32:39wodzInteresting. ATJ213x bootrom has mode in which it tries to load 1stage loader from SD. The curious thing is that I can't spot sd card initialization. So it looks like it expect card in initialized beforehand.
10:36:20_Bilgusmaybe it gets init'd then you do reset? that seems odd..
10:39:32wodzThe code is in bootrom. It is run from cold boot. It first tries to get 1stage loader from raw nand if it failed it tries to load it off SD and if that failed as well it enters usb recovery mode.
10:39:38 Quit St0neHead (Ping timeout: 240 seconds)
10:39:56 Quit minus (Ping timeout: 240 seconds)
10:39:56 Join St0neHead- [0] (stonehead@2a01:7e00:e001:3700:6667::2)
10:40:13wodzI need to study this more
10:42:45 Join minus [0] (
10:42:56 Quit munch (Ping timeout: 260 seconds)
10:42:56 Quit Moarc (Ping timeout: 240 seconds)
10:44:47 Join Moarc [0] (
10:49:37 Join munch [0] (pls@gateway/shell/elitebnc/x-xumgjorodkcnrcsc)
10:53:49 Join RBNB [0] (d58706fe@gateway/web/freenode/ip.
10:54:20RBNBHi guys! lebellium, not sure if you're there right now. Maybe you remember, you modified an iBasso DX50 theme for me some weeks ago.
10:54:33RBNBI'm using it every day and it is just a blast.
10:55:29RBNBThere's one more thing, maybe you have an idea: Can we add an area to the WPS, so when I touch it, it will open the dialog "Playback settings - Shuffle Yes/No" immediately?
10:58:19 Join pamaury [0] (~pamaury@rockbox/developer/pamaury)
11:02:31 Quit snw (Ping timeout: 240 seconds)
11:02:38 Join Kohlrabi_ [0] (
11:03:24 Join fs-bluebot_ [0] (
11:05:01 Join snow_bckspc [0] (
11:05:35 Nick snow_bckspc is now known as snw (
11:05:37 Quit JanC (Remote host closed the connection)
11:05:57 Join JanC [0] (~janc@lugwv/member/JanC)
11:09:26 Quit atsampson (Ping timeout: 255 seconds)
11:09:58 Quit Galois (*.net *.split)
11:09:58 Quit fs-bluebot (*.net *.split)
11:10:01 Quit C-Keen (*.net *.split)
11:10:01 Quit Kohlrabi (*.net *.split)
11:10:01 Quit ParkerR (*.net *.split)
11:10:16 Join atsampson [0] (
11:11:42 Quit MrZeus_ (Read error: No route to host)
11:12:00 Join MrZeus_ [0] (~MrZeus@
11:12:26 Quit munch (Ping timeout: 265 seconds)
11:13:05***Saving seen data "./dancer.seen"
11:14:41 Join munch [0] (pls@gateway/shell/elitebnc/x-darrpcugznxysxao)
11:15:23 Join C-Keen [0] (~ckeen@k4cg/C-Keen)
11:15:23 Join Galois [0] (
11:15:23 Join ParkerR [0] (ParkerR@unaffiliated/parkerr)
11:35:36pamaurywodz: nice, it is likely there is some SD code init somewhere, otherwise it would strange to include that feature
12:03:17 Join PimpiN8 [0] (~textual@2a02:a454:38ea:1:1db7:b3de:95e5:6083)
12:05:15wodzpamaury: I'll dig deeper. The process is painful as each stage loads code to the same buffer so I can't disasm all in one pass
12:05:27wodzpamaury: how is x1 work going?
12:06:37 Quit walle303 (Ping timeout: 255 seconds)
12:07:11 Quit Jack87 (Ping timeout: 240 seconds)
12:08:35 Join MrZeus__ [0] (~MrZeus@
12:10:00 Quit ParkerR (Ping timeout: 250 seconds)
12:10:02pamaurywodz: I can't work on it this week, I'm at a workshop abroad and have no free time, I will resume this weekend. But I am annoyed by this MMU problem, it would be very useful to map the DRAM in kuseg but if I can't use big pages this is not possible.
12:10:50wodzpamaury: ah, I understood that initializing from entry 0 solved the problem
12:11:05 Quit mmint (Ping timeout: 255 seconds)
12:11:14 Join Jack87 [0] (Jack87@nasadmin/admin/jack87)
12:11:31 Quit MrZeus_ (Ping timeout: 240 seconds)
12:11:31 Quit miqlas (Ping timeout: 240 seconds)
12:13:05 Join miqlas [0] (~Haiku@
12:14:00 Join mmint [0] (~mmint@unaffiliated/mmint)
12:14:09 Quit nialv7 (Ping timeout: 240 seconds)
12:14:20 Quit EmanueleSorce[m4 (Ping timeout: 252 seconds)
12:14:27 Join ParkerR [0] (
12:16:35 Quit ParkerR (Changing host)
12:16:35 Join ParkerR [0] (~ParkerR@unaffiliated/parkerr)
12:17:51 Quit pamaury (Ping timeout: 248 seconds)
12:21:34 Quit dandels_ (Ping timeout: 240 seconds)
12:46:59 Quit saratoga (Ping timeout: 260 seconds)
13:01:48_BilgusCan I check the value of a flag when making a manual entry or is it limited to exists or !exists?
13:13:09***Saving seen data "./dancer.seen"
13:26:12 Quit wodz (Ping timeout: 268 seconds)
13:26:37 Quit duncan^ (Quit: WeeChat 1.9.1)
13:29:38 Join walle303 [0] (walle303ke@pisg/dev/walle303)
13:32:23 Join BFSDBFYSDB [0] (
13:32:40BFSDBFYSDBhello, anywhere online?
13:34:59BFSDBFYSDBwhich DESTINATION Code for NW-A35 i must use for USA: U, U2 or U3 ?
13:37:26 Quit PimpiN8 (Quit: My MacBook has gone to sleep. ZZZzzz…)
13:43:46 Quit mmint (Ping timeout: 255 seconds)
13:44:01 Quit yosafbridge (Quit: Leaving)
13:47:24 Join lukeoftheaura [0] (~lukeofthe@
13:47:50 Join mmint [0] (~mmint@unaffiliated/mmint)
13:47:55lukeoftheauraon my sansa fuze+ on the latest rockbox version, the peak meter on the recording screen doesn't work, nor does the oscilloscope demo
13:48:00lukeoftheaurayet recording works fine
13:51:07lukeoftheaurais this a bug or just some setting I'm missing?
13:54:00 Join yosafbridge [0] (
13:55:45_BilgusId say a bug Whats wrong with the oscilloscope though?
13:55:54 Join duncan^ [0] (UNKNOWN@unaffiliated/yulax)
13:55:54lukeoftheaurawait nvm about the oscilloscope
13:56:04lukeoftheaurathat works I was just using it wron
13:56:10lukeoftheaurathe peakmeter doesn't work though
13:56:54 Quit duncan^ (Client Quit)
13:57:47lukeoftheaurawait no, the scope crashes the player
13:58:35lukeoftheaurathe oscilloscope seems to crash the player once it's drawn a screenfull of stuff
13:59:30_Bilgusmight be related might not is this 3.14 or the latest dev version?
13:59:42lukeoftheauradev version
13:59:52lukeoftheauraI couldn't see the non-dev one in rockbox utility
13:59:56lukeoftheaurawasn't listed
14:00:24_Bilgusok give me a few let me see if its something recent
14:02:23 Join pamaury [0] (~pamaury@rockbox/developer/pamaury)
14:07:31 Join nialv7 [0] (m7nialmatr@gateway/shell/
14:07:42 Join EmanueleSorce[m4 [0] (emanueleso@gateway/shell/
14:07:44_Bilguslukeoftheaura, yes it happens with 3.14 as well peak meter and oscilloscope crashing after a screenfull still not sure if they are related but I'm kinda surprised it was never found before..
14:12:44pamaurywodz: yes, but stil I'm stuck with 4K pages, despite what the datasheet suggests :-/
14:13:54pamauryBFSDBFYSDB: you will have to experiment, the destination codes may be documented in the A35 service manual, see
14:16:33BFSDBFYSDBhave anybody the sony nw-a35 walkman?
14:17:54 Join PimpiN8 [0] (~textual@2a02:a454:38ea:1:1db7:b3de:95e5:6083)
14:18:44 Join chrisb [0] (~chrisb@
14:18:56lukeoftheaurathe scope crashes the player but the peakmeter just doesn't display
14:20:00 Quit BFSDBFYSDB (Quit: Leaving)
14:20:44_Bilgusyes, although the oscilloscope works in vertical mode but it doesn't scroll properly Thank you for the report I'll try to figure out whats going on in the oscilloscope first since it crashes the fuze+
14:25:09_BilgusOh I guess vertical works as expected so the issue is in horizontal mode
14:31:32lukeoftheauraI've not tried vertical but horizontal crashes
14:33:03 Nick lukeoftheaura is now known as lukeoftheaura-af (~lukeofthe@
14:33:11 Nick lukeoftheaura-af is now known as lukeoftheaura (~lukeofthe@
14:33:43 Quit _meg (Ping timeout: 255 seconds)
14:34:50 Join _meg [0] (~notsure@
14:38:01 Nick Kohlrabi_ is now known as Kohlrabi (
14:39:09 Join xorly [0] (~xorly@
14:49:13 Join amayer [0] (
15:02:58 Quit pamaury (Ping timeout: 255 seconds)
15:05:40jhMikeSThe Fuze+ lcd driver doesn't properly clip. It won't keep x and y from going negative nor going 1 pixel past the screen width
15:06:10 Quit xorly (Ping timeout: 240 seconds)
15:06:40_Bilgusshouldn't result in a crash only in horiz though should it?
15:07:51jhMikeSit could depending on where it's drawing off screen and how much overdraw
15:08:02_BilgusIf so thats an awfully terrible assumption
15:08:34_Bilgusit looks to be bounded within the plugin so maybe off by 1 but I doubt it
15:08:38jhMikeSIt works fine on other targets, so I first suspect the target
15:10:54_Bilgusbut it could also be something other than the drawing routine but they seem to share all the code between horiz and vert so you might be on to something
15:12:47jhMikeSI think I've seen it crash before from improper clipping in the lcd but hell if I can recall what it was or when
15:13:11***Saving seen data "./dancer.seen"
15:15:42 Join duncan^ [0] (
15:15:42 Quit duncan^ (Changing host)
15:15:42 Join duncan^ [0] (UNKNOWN@unaffiliated/yulax)
15:18:19lukeoftheauraI'll try on vertical, will that help?
15:18:27lukeoftheauraoh wait nvm
15:18:30lukeoftheauraI read the log
15:22:47jhMikeS_Bilgus: plop this in lcd-fuzeplus.c / lcd_update_rect() instead of the MIN/MAX stuff
15:25:22 Join xorly [0] (~xorly@
15:25:26 Quit amayer (Quit: Leaving)
15:29:12_Bilgusclipping the w/h didn't help
15:32:51jhMikeSwhat about the x/y?
15:35:20_BilgusI assume your code did both?
15:36:06jhMikeSit's clip code from other lcd drivers, so yeah
15:37:45 Quit St0neHead- (Quit: ZNC -
15:37:52 Join St0neHead [0] (stonehead@2a01:7e00:e001:3700:6667::2)
15:38:21jhMikeSlast_pos can be -1 at times so it seemed reasonable to check
15:48:11_Bilguswell its for sure something funky could still be something to do with clipping in the drawing routines I suppose but x seems to be within 240-260 when it happens so i'll keep trying to narrow it down
15:50:30 Join amayer [0] (
15:50:37jhMikeSwell, that _is_ outside the display :)
15:56:44_Bilgusstrangely adding HZ/10 with splashf makes it work fine :/
16:24:37 Join pamaury [0] (~pamaury@rockbox/developer/pamaury)
16:31:23 Quit lukeoftheaura (Remote host closed the connection)
16:42:19 Quit nlogex (Remote host closed the connection)
16:52:36 Join krabador_ [0] (~krabador@unaffiliated/krabador)
16:53:24 Quit krabador_ (Remote host closed the connection)
16:53:58 Quit petur (Quit: Connection reset by beer)
16:54:31 Join krabador [0] (~krabador@unaffiliated/krabador)
17:05:34 Quit chrisb (Ping timeout: 240 seconds)
17:13:13***Saving seen data "./dancer.seen"
17:16:36 Nick MrZeus__ is now known as MrZeus (~MrZeus@
17:17:02 Quit pamaury (Ping timeout: 248 seconds)
17:18:17 Quit RBNB (Quit: Page closed)
17:24:58 Join nlogex [0] (
17:30:34 Quit pixelma (Ping timeout: 240 seconds)
17:30:53 Join pixelma [0] (pixelma@rockbox/staff/pixelma)
17:31:30 Quit amiconn (Ping timeout: 276 seconds)
17:31:40 Join amiconn [0] (~amiconn@rockbox/developer/amiconn)
17:34:33 Quit xorly (Ping timeout: 264 seconds)
18:09:07 Quit krabador (Quit: Leaving)
18:55:52 Join mendelmunkis [0] (
19:08:18 Join johnb2 [0] (
19:13:14***Saving seen data "./dancer.seen"
19:31:06 Quit PimpiN8 (Quit: My MacBook has gone to sleep. ZZZzzz…)
19:32:26 Join MrZeus_ [0] (~MrZeus@2a02:c7f:7066:fb00:8d16:7a86:9bac:52d2)
19:32:39 Quit johnb2 (Ping timeout: 252 seconds)
19:41:22_BilgusJhMikeS, I've narrowed it down to an overflow of lcd_update_rect() but the current code handles there bounds it properly?
19:42:49_Bilgusit comes in as x = 238 w = 3 which is an overflow of the screen bounds but it is handled by code equivalent to what you pastebinned and is bounded to x = 238 and w = 2
19:47:47 Quit amayer (Quit: Leaving)
19:53:39 Join amayer [0] (
20:04:07 Quit MrZeus_ (Ping timeout: 240 seconds)
20:08:10 Quit mendelmunkis (Ping timeout: 260 seconds)
20:15:34[Saint]Good morning.
20:21:41skinkittenGood morning (UGT or actual?)
20:22:55skinkittenit's still going
20:23:16skinkittenthat was pass 1397 and now its on pass 1410
20:23:59[Saint]Actual. 0823 here.
20:24:12[Saint]I live in the future.
20:24:41skinkittenhaha :)
20:24:49[Saint]Fri Dec 1 08:24:37 NZDT 2017
20:25:58[Saint]And, yes. As I stated yesterday, this can take a very long time.
20:26:23[Saint]Its comparing each sector with that of its neighbours several times over.
20:26:58[Saint]slowly walking the disk marking bad blocks.
20:27:22[Saint]has it marked any so far? it should say.
20:38:59 Join ZincAlloy [0] (~Adium@2a02:8108:8b80:1700:791c:b49a:b731:d78c)
20:40:38 Join almog1006 [0] (4d8bf186@gateway/web/freenode/ip.
20:45:09_Bilgus@skinkitten ^
20:51:19skinkittenthere are some read errors and a lot more write errors
20:51:31skinkittenwrite errors : 1061248
20:51:36skinkittenread errors: 3713
21:06:04_BilgusJhMikeS, Pamaury (logs) g#1751 I guess since 2 is not a multiple of 4 that was giving the lcd controller fits?
21:06:08fs-bluebot_Gerrit review #1751 at : Fuze PLUS Fix lcd_update_rect() by William Wilgus
21:13:16***Saving seen data "./dancer.seen"
21:14:52 Join chrisb [0] (~chrisb@
21:23:19 Join dovber_ [0] (~dovber@2600:8801:3180:19:beee:7bff:fee3:335f)
21:23:35 Quit dovber (Ping timeout: 258 seconds)
21:42:34 Join advcomp2019 [0] (
21:42:34 Quit advcomp2019 (Changing host)
21:42:34 Join advcomp2019 [0] (~advcomp20@unaffiliated/advcomp2019)
21:43:26skinkittenhow do I check which blocks have been marked as bad blocks?
21:43:42 Quit _meg (Ping timeout: 248 seconds)
21:44:14 Join lebellium [0] (
21:44:49 Join _meg [0] (~notsure@
21:45:13jhMikeS_Bilgus: 2 is a multiple of 4: 4*2^(-1)
21:45:18 Quit advcomp2019_ (Ping timeout: 248 seconds)
21:47:04_BilgusMultiples of 4 would be 4, 8, 12, 16, 20, 24, 28, 32, 36
21:47:30*jhMikeS was being snarky
21:48:35jhMikeSprobaby should still fix that clipping code too even if it's not knowingly causing an issue.
21:50:25_Bilgusthe clipping code is just fine it is functionally equivalent except it doesn't bail on w or h == 0
21:52:35jhMikeShow? if x or y don't get clipped to a minimum of 0?
21:54:41jhMikeSperhaps I'm missing something
21:56:55_Bilgusno you are right I was thinking if x was negative it woult become screen_w - (-x) but the w=MIN(w, screen_w - x) makes that not work
21:57:25_Bilgusso yeah probably a good idea to bound the clipping code
22:03:12jhMikeSx any y go out of range positve too
22:04:12_Bilgusno they would be bounded by MIN(x, screen_w)..
22:11:58 Quit GeekShadow (Ping timeout: 248 seconds)
22:40:20 Join dandels_ [0] (~dandels@unaffiliated/dandels)
22:40:44jhMikeSbut the max should LCD_WIDTH-1 and LCD_HEIGHT-1
22:59:37_Bilgusyeah you are right hmm I better double check that it wasn't just a overflow although i'm not sure how making w a multiple of 4 would have fixed that
23:03:37_Bilgusno it definitely still crashes if its mod 2 vs mod 4 what a weird error, The manula clearly states it needs to be a multiple of 2 with 16 bit packed pixels and a multiple of 4 with 18 bit pp. Its either actually in 18 bit mode or its so rare that it hasn't made it to the chip errata
23:06:39 Quit ZincAlloy (Quit: Leaving.)
23:13:17***Saving seen data "./dancer.seen"
23:17:53jhMikeSactually, LCD_WIDTH/HEIGHT would leave w and h at 0
23:20:22jhMikeSit looks like a renesas display
23:21:51_Bilgussounds like greek to me lol whats a renesas display?
23:24:29 Quit lebellium (Quit: Leaving)
23:28:38_BilgusI guess V_COUNT has no limitations only H_COUNT
23:34:00jhMikeSthis looks like the sort of lcd that should be in a continuous DMA transfer and writes just copy to the framebuffer, like gigabeat-f/s and e200v1 (with lcd-memframe)
23:36:17 Quit amayer (Quit: Leaving)
23:38:30_Bilgusit mentioned in the file that it was extremely slow to do so 10MB/s versus 100MB/s
23:41:14_Bilgusoh nm I read that wrong its doing copies to FB its just sending duplicate data ehrn the rect is smaller than the whole screen
23:41:50jhMikeSthat's isn't what I"m talking about
23:42:43jhMikeSwhatw I mean is that the dma just runs continually as a screen refresh. the copy is done to the in-ram buffer that the controller is reading
23:43:04 Quit ender` (Quit: Anyone who thinks people lack originality should watch them folding maps.)
23:44:07_Bilguslike in circular mode and you get interrputs on half full etc?
23:45:21jhMikeSsomething like that. It auto reloads like a raster. this just looks like it should be set up that way.
23:45:37jhMikeSno interrupts unless you want them
23:47:06jhMikeS10 MB/s would give about 68 Hz refresh. there might be blanking intervals involved.
23:47:21jhMikeScould be meant to go at 60
23:49:23_Bilgusit sounds like it kinda does this already If for some
23:49:23_Bilgusreason, the HW_LCDIF_NEXT_BUF_ADDR register was not updated within a frame, the LCDIF will
23:49:23_Bilguscontinue transmitting the last frame until a new value is programmed into that register.
23:50:25_BilgusI'm sure you have a better handle on it than I Low level isn't really my forte

Previous day | Next day