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 2025-02-19

00:31:37***Saving seen data "./dancer.seen"
01:00
01:39:41 Quit pixelma (Quit: .)
01:39:41 Quit amiconn (Quit: http://quassel-irc.org - Chat comfortably. Anywhere.)
01:40:34 Join pixelma [0] (marianne@p4fd7fa89.dip0.t-ipconnect.de)
01:40:34 Join amiconn [0] (jens@p4fd7fa89.dip0.t-ipconnect.de)
01:46:00 Quit othello7 (Ping timeout: 252 seconds)
02:00
02:00:12 Quit berber_l517 (Ping timeout: 265 seconds)
02:02:58 Join berber_l517 [0] (~berber@2a03:4000:7:4e0::)
02:16:38 Quit berber_l517 (Ping timeout: 245 seconds)
02:26:31 Quit thanosengine (Quit: WeeChat 4.5.1)
02:31:38***Saving seen data "./dancer.seen"
02:46:49 Quit Ckat (Ping timeout: 268 seconds)
03:00
03:04:57 Join thanosengine [0] (~thanos@user/thanosengine)
04:00
04:04:09 Quit PheralSparky (Read error: Connection reset by peer)
04:04:18 Quit jacobk (Ping timeout: 248 seconds)
04:04:59 Join jacobk [0] (~quassel@47-186-65-73.dlls.tx.frontiernet.net)
04:31:41***Saving seen data "./dancer.seen"
05:00
05:09:19 Quit Galois (Ping timeout: 260 seconds)
06:00
06:31:43***Saving seen data "./dancer.seen"
07:00
07:01:36 Quit michaelni (Ping timeout: 276 seconds)
07:01:54 Join michaelni [0] (~michael@41.66.67.113)
07:05:35 Join Nyaa1 [0] (Nyaaori@cyberia.club/meow/nyaaori)
07:05:52 Quit Nyaa (Quit: Ping timeout (120 seconds))
07:05:52 Nick Nyaa1 is now known as Nyaa (Nyaaori@cyberia.club/meow/nyaaori)
07:08:32 Join Galois [0] (djao@efnet.math.uwaterloo.ca)
07:17:57 Quit Moriar (Ping timeout: 244 seconds)
07:47:17 Quit thanosengine (Quit: WeeChat 4.5.1)
07:48:03 Join thanosengine [0] (~thanos@user/thanosengine)
08:00
08:03:26 Join sebagala [0] (~Burak@185.25.123.34)
08:06:15 Quit Burak__ (Ping timeout: 260 seconds)
08:19:45speachyon an unrelated note, on a whim I picked up an STM32H747-DISCO board with a goal of doing a rockbox port for it.
08:29:45speachy480MHz Cortex M7 (+240MHz CM4), 1MB on-chip SRAM, 32MB off-chip SDRAM, SD card, WM8994 audio codec (4ch, 96KHz@24-bit), 4" 480x800 touchscreen, 6 buttons, SD card slot, etc.
08:31:46***Saving seen data "./dancer.seen"
08:32:54speachyit'll be a lot of work but ultimately the low-level Cortex-M stuff will be reusable, and the STM32 family as a whole is pretty similar.
09:00
09:54:50_bilgus_it sounds excellent
09:55:03_bilgus_likey why you picked it eh?
09:55:40_bilgus_doing runtime tests I did test the right thing as its literally 2x faster I just screwed up implementing it
10:00
10:05:16speachyyeah, I had intended to pick up a 3rd party board for a while now but when ST makes a full on reference board that does everything we'd need, why not?
10:05:47speachyI have a pile of other STM32 boards for other projects over the years, but nothing with external RAM
10:15:27_bilgus_https://www.st.com/en/evaluation-tools/stm32h747i-disco.html their pic hides the thickness a bit what is it without the ethernet and composite ports?
10:16:28speachyeh, it's big.
10:17:17speachybut with the display attached it's a wash
10:19:34Xogiumstm32 is awesome
10:19:37Xogium;)
10:19:46_bilgus_thing is you could probably get it down to about 1" thick nd get a case printed it would at the very least be a great home theatre player
10:20:03Xogiumthe entire memory map is the same across the whole line
10:20:13_bilgus_ethernet and composite probably make sense to leave
10:21:17Xogiumand I have a feeling the integrated memory protection unit can come in handy for rockbox, very handy indeed
10:23:38speachyThe MPU is not likely to be of much practical use unless we get less efficient with memory use.
10:24:06Xogiumoh ? I'd have thought it could be of some use
10:24:17speachy(and make our "OS" considerably more capable)
10:24:38Xogiumwell, maybe one day ? ;)
10:25:29speachyeven on "Real" operating systems we do everything in a single process.
10:25:43Xogiumah. That makes sense
10:26:05_bilgus_winamp and vlc have plugins..
10:26:36_bilgus_they would eat your lunch so might as well just customize those in that case
10:26:48_bilgus_we target small
10:28:21speachyI've wanted to replace our core "OS" with something like FreeRTOS.
10:28:55XogiumI thought that is what you used, actually :D
10:29:44speachyrockbox has been around longer than freertos
10:29:45_bilgus_Youve probably got enough skills to do it.. time OTOH
10:30:04_bilgus_but that core is also special
10:30:09_bilgus_our current
10:30:40_bilgus_how long after porting till you get to feature/stability parity would be
10:30:41speachywe're more of a cooperative system
10:30:44_bilgus_the question
10:30:52speachyversus full preemption
10:31:49***No seen item changed, no save performed.
10:32:05_bilgus_itd make some things easier and some vry much harder
10:32:53speachyfrom a core task scheduling + mutex/semaphores perspective, it's about the same
10:33:29speachywouldn't use all that much of the rest.
10:34:09speachywe built a lot of our own bespoke infra because we had to, and those design choices are tightly woven into how we do things
10:34:35_bilgus_yeah I run into them on occasion
10:35:01_bilgus_tis the nature of constrained systems though too
10:35:23speachyI also want to see how well pthreads will work for our hosted targets.
10:36:00speachyit would remove a lot of the warts but at the expense of more memory usage.
10:36:48speachy(that's also necessary should we ever want to do bluetooth on the hosted targets..)
10:37:30speachy(we can't really mix our sigalstack threading with the native threading we need for that)
10:37:39speachylots of ambitions, no real time
10:39:18speachyone downside to FreeRTOS is that MIPS and m68k were dropped by mainline some time ago.
10:45:34 Join Ckat [0] (~Ckat@xn--z7x.xn--6frz82g)
11:00
11:10:58 Quit jacobk (Ping timeout: 248 seconds)
11:41:03 Join sonne [0] (~vmlinuz@user/sonne)
12:00
12:09:56 Join jacobk [0] (~quassel@utdpat242060.utdallas.edu)
12:31:51***Saving seen data "./dancer.seen"
12:42:33sonne hello there! i just got an ipod 6g, installed a flash mod + 1TB sd and tried to rockbox it. i managed to install the bootloader and i *thought* i installed rockbox, but when i boot it goes into USB mode. i plug it, format as fat32, unzip rockbox and eject, but then it goes *panic*. any hints?
12:43:10sonne*PANIC* mount: 0 <−− this is the error
12:43:36sonnei can't use the automated installer as the dfu mode detection is borked for some reason
12:45:50speachyhappens in reboot too?
12:46:53sonnespeachy: not sure - how do i try a simple reboot? i'm doing centre+menu
12:46:59sonnebut that's dfu mode isn't it
12:47:02speachywhen in USB mode (rockbox? or apple?) what is the reported sector size and partition type? tbh I suggest you do an itunes restore to get the thing set up, and then do an itunes restore, then resize the partition after that.
12:47:16sonne> rockbox or apple <−− rockbox
12:47:26speachypartition table type, I mean.
12:47:54sonneit's what i did with parted
12:48:18sonnemklabel msdos > mkpart primary from 1 to -1 > mkfs.vfat -F 32
12:48:36speachywhat's the sector size? fdisk will tell you.
12:48:37sonnespeachy: i tried doing the restore on a mac, it says that it can't find software for this ipod and errors out
12:48:40sonnesec
12:49:31speachyselect+menu is supposed to restart the 6g. hold until the apple logo shows.
12:49:32sonnesector size is 4k
12:49:59sonnespeachy: if i do that rockbox bootloader says no partition found and goes in usb mode
12:51:21sonnespeachy: https://paste.debian.net/hidden/247caf98/
12:52:56speachyokay, that's progress.
12:53:07speachyso it is usable as a USB drive from the bootloader usb mode?
12:53:10sonneyes
12:53:20sonnei can mount it and .rockbox is there
12:55:32speachyrename .rockbox to something else, curious to see how it acts.
12:56:06sonnesame thing
12:56:28sonne*PANIC* / mount:0 / pc: 22021CAC sp:08800B38 / bt end
12:56:34sonne / = newline
12:57:36sonneif i do the select+menu long press it loads rockbox bootloader, then says "No partition found" and goes in USB mode
13:00
13:01:36speachysonne: re-do the bootloader installation with this binary: https://www.shaftnet.org/~pizza/bootloader-ipod6g.ipod
13:02:13speachyif we're going to have to debug something, I want it to be the current code, not a fairly ancient bootloader build.
13:02:47sonnehmm not sure how to send it back to dfu mode now
13:03:32speachyhttps://files.freemyipod.org/~user890104/bootloader-ipodclassic-outdated.html#dfu
13:04:24sonneace
13:04:41sonneok flashed, what now?
13:05:11sonnebehaviour is exactly the same, give or take a few numbers in the errors
13:05:32speachyshould show the build info in the panic
13:05:35sonneyes
13:06:02sonne*PANIC* (7897cded2d-250219)
13:06:57sonnefwiw i was trying to install the nightly build, as the docs say versions up to 3.15 (latest stable) included have troubles with sd cards
13:08:33sonneoh now the partition layout is all wonky. there is a 128GB partition with junk data on it and 850GB free space
13:09:20sonnesomething to do with ipod 6g not being able to map storage addresses higher than 128G? though that should only be a problem with stock firmware
13:09:52speachythere's something about the partition table and/or filesystem that the bootloader doesn't like.
13:10:12sonneit's weird that the partition table got changed.
13:10:26sonnei tried with parted and cfdisk before, any better suggestion?
13:11:06sonnealso, should i just redo the partitioning and undo whatever some goblin did to my SD after i reflashed the bootloader?
13:11:33sonnei'm a bit baffled if i'm honest
13:12:28speachyany interaction with apple's firmware will bust the storage
13:12:36sonneah alright
13:12:57sonnei'll repartition then. any particularly kosher way to do it?
13:13:38sonneactually first i'll try to format the partition that it did itself and see what happens
13:13:50speachyseems reasonable
13:14:46sonnewell i'll be
13:14:52sonnerockbox is loading
13:15:10sonneso now the big question is - was it my partitioning or was it the partition size?
13:15:18speachyafter you hook up usb next, see what fdisk reports
13:16:11sonnespeachy: https://paste.debian.net/hidden/7810c610/
13:16:45sonne512b sectors, could that be it?
13:16:48speachyuh... 512b sector size? wtf?
13:16:55sonne¯\_(ツ)_/¯
13:17:06sonnei'll fire up cfdisk and resize that partition
13:18:09speachyI did a lot of reworking of the storage subsystem to allow various sector sizes at runtime; apple's firmware infamously uses a 4K sector size for its partition/filesystems.
13:19:19speachy...a 512B sector size won't even boot with the last "released" bootloader binary.
13:21:21sonnei can't resize it past 128G o_O
13:21:27sonnelimit of the sector size?
13:22:11sonnei mean of course the partition itself is resized, but then i do fatresize -s max /dev/sdb1, it goes all thumbs up but nothing happens
13:22:12speachyno, should be workable up to 2TB. Unless.. we're only using the first 512B of each 4K sector?
13:23:30sonnewhy do i even bother with fatresize anyway? i can just reformat it
13:23:48speachyreformat yeah
13:24:10sonneso now it's 1TB and rockbox loads
13:25:32sonnenot that i'm complaining...
13:28:25speachyok, so fatresize broke it.
13:28:37sonnei didn't fatresize before though
13:28:57speachyI don't know why this was failing to begin with, but I'm glad it's operational in its current form. validates a lot of the storage work that's gone in.
13:28:58sonneinstead of resizing the partition, i was redoing the partition table from scratch
13:30:13sonnespeachy: i'm happy to have it operational, i'll never touch the partition table again :D
13:30:18sonnei do have a followup question though
13:30:51sonnesince the automated installer wasn't working i had to do the manual install. the auto tool has a nice shortcut to download all themes and copy them over, do you know how i can do that by myself programmatically?
13:31:03sonnethat is, without having to individually download themes from the browser
13:34:28speachyanything other than the bootloader install just acts as a simple USB device.
13:34:37speachyso rbutil will work.
13:35:05sonneso as long as i exclude the bootloader/os from the checklist i'm good?
13:36:17sonnelooks like it :D amazing
13:36:21sonnespeachy++ you're the best
13:36:41speachynah, I'm just the current bear wrangler
13:37:40sonnethanks fr :)
13:37:57sonnei'll let themes download and install now for the rest of the evening probably, have a great day!
13:38:07speachyenjoy
14:00
14:10:10 Quit jacobk (Ping timeout: 248 seconds)
14:31:54***Saving seen data "./dancer.seen"
15:00
15:20:10 Join jacobk [0] (~quassel@utdpat241106.utdallas.edu)
16:00
16:01:38 Quit jacobk (Ping timeout: 248 seconds)
16:05:16 Join JanC_ [0] (~janc@user/janc)
16:05:16 Nick JanC is now known as Guest5538 (~janc@user/janc)
16:05:16 Quit Guest5538 (Killed (zinc.libera.chat (Nickname regained by services)))
16:05:16 Nick JanC_ is now known as JanC (~janc@user/janc)
16:31:58***Saving seen data "./dancer.seen"
16:39:24 Join PheralSparky [0] (~S|h|a|w|n@user/shawn/x-4432647)
16:40:37 Quit Natch (Ping timeout: 248 seconds)
16:42:48 Join Natch [0] (~natch@c-92-34-7-158.bbcust.telenor.se)
17:00
17:21:25 Quit Natch (Ping timeout: 244 seconds)
17:26:10 Join Natch [0] (~natch@c-92-34-7-158.bbcust.telenor.se)
17:28:46 Join Moriar [0] (~moriar@107-200-193-159.lightspeed.stlsmo.sbcglobal.net)
17:58:48 Join othello7 [0] (~Thunderbi@pool-100-36-176-164.washdc.fios.verizon.net)
18:00
18:31:59***Saving seen data "./dancer.seen"
18:54:15 Join Mudb0y [0] (~Mudb0y@178.43.178.81.ipv4.supernova.orange.pl)
19:00
19:40:41 Quit Mudb0y (Quit: I've apparently had enough of IRC for today.)
19:40:58 Join Mudb0y [0] (~Mudb0y@178.43.178.81.ipv4.supernova.orange.pl)
19:44:40 Quit Mudb0y (Client Quit)
19:56:27 Join massiveH [0] (~massiveH@2600:4040:a982:5400:9ca7:ea75:e015:234a)
20:00
20:27:41 Quit braewoods (Remote host closed the connection)
20:27:55 Join braewoods [0] (~braewoods@user/braewoods)
20:32:04***Saving seen data "./dancer.seen"
21:00
21:16:20 Quit baltazar (Ping timeout: 265 seconds)
21:18:03 Join baltazar [0] (~baltazar@user/baltazar)
22:00
22:01:30 Quit thanosengine (Ping timeout: 252 seconds)
22:03:37 Join thanosengine [0] (~thanos@user/thanosengine)
22:32:06***Saving seen data "./dancer.seen"
22:54:43 Join jacobk [0] (~quassel@47-186-65-73.dlls.tx.frontiernet.net)
23:00
23:15:58 Quit massiveH (Quit: Leaving)

Previous day | Next day