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:45 | speachy | on 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:45 | speachy | 480MHz 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:54 | speachy | it'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:16 | speachy | yeah, 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:47 | speachy | I 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:28 | speachy | eh, it's big. |
10:17:17 | speachy | but with the display attached it's a wash |
10:19:34 | Xogium | stm32 is awesome |
10:19:37 | Xogium | ;) |
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:03 | Xogium | the entire memory map is the same across the whole line |
10:20:13 | _bilgus_ | ethernet and composite probably make sense to leave |
10:21:17 | Xogium | and I have a feeling the integrated memory protection unit can come in handy for rockbox, very handy indeed |
10:23:38 | speachy | The MPU is not likely to be of much practical use unless we get less efficient with memory use. |
10:24:06 | Xogium | oh ? I'd have thought it could be of some use |
10:24:17 | speachy | (and make our "OS" considerably more capable) |
10:24:38 | Xogium | well, maybe one day ? ;) |
10:25:29 | speachy | even on "Real" operating systems we do everything in a single process. |
10:25:43 | Xogium | ah. 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:21 | speachy | I've wanted to replace our core "OS" with something like FreeRTOS. |
10:28:55 | Xogium | I thought that is what you used, actually :D |
10:29:44 | speachy | rockbox 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:41 | speachy | we're more of a cooperative system |
10:30:44 | _bilgus_ | the question |
10:30:52 | speachy | versus 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:53 | speachy | from a core task scheduling + mutex/semaphores perspective, it's about the same |
10:33:29 | speachy | wouldn't use all that much of the rest. |
10:34:09 | speachy | we 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:23 | speachy | I also want to see how well pthreads will work for our hosted targets. |
10:36:00 | speachy | it would remove a lot of the warts but at the expense of more memory usage. |
10:36:48 | speachy | (that's also necessary should we ever want to do bluetooth on the hosted targets..) |
10:37:30 | speachy | (we can't really mix our sigalstack threading with the native threading we need for that) |
10:37:39 | speachy | lots of ambitions, no real time |
10:39:18 | speachy | one 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:33 | sonne | 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:10 | sonne | *PANIC* mount: 0 <−− this is the error |
12:43:36 | sonne | i can't use the automated installer as the dfu mode detection is borked for some reason |
12:45:50 | speachy | happens in reboot too? |
12:46:53 | sonne | speachy: not sure - how do i try a simple reboot? i'm doing centre+menu |
12:46:59 | sonne | but that's dfu mode isn't it |
12:47:02 | speachy | when 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:16 | sonne | > rockbox or apple <−− rockbox |
12:47:26 | speachy | partition table type, I mean. |
12:47:54 | sonne | it's what i did with parted |
12:48:18 | sonne | mklabel msdos > mkpart primary from 1 to -1 > mkfs.vfat -F 32 |
12:48:36 | speachy | what's the sector size? fdisk will tell you. |
12:48:37 | sonne | speachy: i tried doing the restore on a mac, it says that it can't find software for this ipod and errors out |
12:48:40 | sonne | sec |
12:49:31 | speachy | select+menu is supposed to restart the 6g. hold until the apple logo shows. |
12:49:32 | sonne | sector size is 4k |
12:49:59 | sonne | speachy: if i do that rockbox bootloader says no partition found and goes in usb mode |
12:51:21 | sonne | speachy: https://paste.debian.net/hidden/247caf98/ |
12:52:56 | speachy | okay, that's progress. |
12:53:07 | speachy | so it is usable as a USB drive from the bootloader usb mode? |
12:53:10 | sonne | yes |
12:53:20 | sonne | i can mount it and .rockbox is there |
12:55:32 | speachy | rename .rockbox to something else, curious to see how it acts. |
12:56:06 | sonne | same thing |
12:56:28 | sonne | *PANIC* / mount:0 / pc: 22021CAC sp:08800B38 / bt end |
12:56:34 | sonne | / = newline |
12:57:36 | sonne | if 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:36 | speachy | sonne: re-do the bootloader installation with this binary: https://www.shaftnet.org/~pizza/bootloader-ipod6g.ipod |
13:02:13 | speachy | if we're going to have to debug something, I want it to be the current code, not a fairly ancient bootloader build. |
13:02:47 | sonne | hmm not sure how to send it back to dfu mode now |
13:03:32 | speachy | https://files.freemyipod.org/~user890104/bootloader-ipodclassic-outdated.html#dfu |
13:04:24 | sonne | ace |
13:04:41 | sonne | ok flashed, what now? |
13:05:11 | sonne | behaviour is exactly the same, give or take a few numbers in the errors |
13:05:32 | speachy | should show the build info in the panic |
13:05:35 | sonne | yes |
13:06:02 | sonne | *PANIC* (7897cded2d-250219) |
13:06:57 | sonne | fwiw 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:33 | sonne | oh now the partition layout is all wonky. there is a 128GB partition with junk data on it and 850GB free space |
13:09:20 | sonne | something 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:52 | speachy | there's something about the partition table and/or filesystem that the bootloader doesn't like. |
13:10:12 | sonne | it's weird that the partition table got changed. |
13:10:26 | sonne | i tried with parted and cfdisk before, any better suggestion? |
13:11:06 | sonne | also, should i just redo the partitioning and undo whatever some goblin did to my SD after i reflashed the bootloader? |
13:11:33 | sonne | i'm a bit baffled if i'm honest |
13:12:28 | speachy | any interaction with apple's firmware will bust the storage |
13:12:36 | sonne | ah alright |
13:12:57 | sonne | i'll repartition then. any particularly kosher way to do it? |
13:13:38 | sonne | actually first i'll try to format the partition that it did itself and see what happens |
13:13:50 | speachy | seems reasonable |
13:14:46 | sonne | well i'll be |
13:14:52 | sonne | rockbox is loading |
13:15:10 | sonne | so now the big question is - was it my partitioning or was it the partition size? |
13:15:18 | speachy | after you hook up usb next, see what fdisk reports |
13:16:11 | sonne | speachy: https://paste.debian.net/hidden/7810c610/ |
13:16:45 | sonne | 512b sectors, could that be it? |
13:16:48 | speachy | uh... 512b sector size? wtf? |
13:16:55 | sonne | ¯\_(ツ)_/¯ |
13:17:06 | sonne | i'll fire up cfdisk and resize that partition |
13:18:09 | speachy | I 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:19 | speachy | ...a 512B sector size won't even boot with the last "released" bootloader binary. |
13:21:21 | sonne | i can't resize it past 128G o_O |
13:21:27 | sonne | limit of the sector size? |
13:22:11 | sonne | i 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:12 | speachy | no, should be workable up to 2TB. Unless.. we're only using the first 512B of each 4K sector? |
13:23:30 | sonne | why do i even bother with fatresize anyway? i can just reformat it |
13:23:48 | speachy | reformat yeah |
13:24:10 | sonne | so now it's 1TB and rockbox loads |
13:25:32 | sonne | not that i'm complaining... |
13:28:25 | speachy | ok, so fatresize broke it. |
13:28:37 | sonne | i didn't fatresize before though |
13:28:57 | speachy | I 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:58 | sonne | instead of resizing the partition, i was redoing the partition table from scratch |
13:30:13 | sonne | speachy: i'm happy to have it operational, i'll never touch the partition table again :D |
13:30:18 | sonne | i do have a followup question though |
13:30:51 | sonne | since 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:03 | sonne | that is, without having to individually download themes from the browser |
13:34:28 | speachy | anything other than the bootloader install just acts as a simple USB device. |
13:34:37 | speachy | so rbutil will work. |
13:35:05 | sonne | so as long as i exclude the bootloader/os from the checklist i'm good? |
13:36:17 | sonne | looks like it :D amazing |
13:36:21 | sonne | speachy++ you're the best |
13:36:41 | speachy | nah, I'm just the current bear wrangler |
13:37:40 | sonne | thanks fr :) |
13:37:57 | sonne | i'll let themes download and install now for the rest of the evening probably, have a great day! |
13:38:07 | speachy | enjoy |
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) |